diff --git a/AUTHORS b/Authors.md similarity index 100% rename from AUTHORS rename to Authors.md diff --git a/THANKS b/Thanks.md similarity index 100% rename from THANKS rename to Thanks.md diff --git a/cmake/FindGit.cmake b/cmake/FindGit.cmake new file mode 100644 index 000000000..2d8214287 --- /dev/null +++ b/cmake/FindGit.cmake @@ -0,0 +1,46 @@ +# The module defines the following variables: +# GIT_EXECUTABLE - path to git command line client +# GIT_FOUND - true if the command line client was found +# Example usage: +# find_package(Git) +# if(GIT_FOUND) +# message("git found: ${GIT_EXECUTABLE}") +# endif() + +#============================================================================= +# Copyright 2010 Kitware, Inc. +# +# Distributed under the OSI-approved BSD License (the "License"); +# see accompanying file Copyright.txt for details. +# +# This software is distributed WITHOUT ANY WARRANTY; without even the +# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +# See the License for more information. +#============================================================================= +# (To distributed this file outside of CMake, substitute the full +# License text for the above reference.) + +# Look for 'git' or 'eg' (easy git) +# +set(git_names git eg) + +# Prefer .cmd variants on Windows unless running in a Makefile +# in the MSYS shell. +# +if(WIN32) + if(NOT CMAKE_GENERATOR MATCHES "MSYS") + set(git_names git.cmd git eg.cmd eg) + endif() +endif() + +find_program(GIT_EXECUTABLE + NAMES ${git_names} + DOC "git command line client" + ) +mark_as_advanced(GIT_EXECUTABLE) + +# Handle the QUIETLY and REQUIRED arguments and set GIT_FOUND to TRUE if +# all listed variables are TRUE + +include(FindPackageHandleStandardArgs) +find_package_handle_standard_args(Git DEFAULT_MSG GIT_EXECUTABLE) diff --git a/cmake/FindOpenSSL.cmake b/cmake/FindOpenSSL.cmake new file mode 100644 index 000000000..d15f8a13d --- /dev/null +++ b/cmake/FindOpenSSL.cmake @@ -0,0 +1,107 @@ +# +# Find the OpenSSL client includes and library +# + +# This module defines +# OPENSSL_INCLUDE_DIR, where to find openssl.h +# OPENSSL_LIBRARIES, the libraries to link against to connect to MySQL +# OPENSSL_FOUND, if false, you cannot build anything that requires MySQL. + +# also defined, but not for general use are +# OPENSSL_LIBRARY, where to find the MySQL library. + +if( OPENSSL_INCLUDE_DIR AND OPENSSL_LIBRARIES ) + # in cache already + set(OPENSSL_FOUND 1) +else( OPENSSL_INCLUDE_DIR AND OPENSSL_LIBRARIES ) + set(OPENSSL_FOUND 0) + + if(WIN32) + if(PLATFORM MATCHES X64) + set(TMP_OPENSSL_INCLUDE_DIR + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (64-bit)_is1;InstallLocation]/include/openssl" + ) + set(TMP_OPENSSL_LIBRARIES + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (64-bit)_is1;InstallLocation]/lib" + ) + else() + set(TMP_OPENSSL_INCLUDE_DIR + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (32-bit)_is1;InstallLocation]/include/openssl" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (32-bit)_is1;InstallLocation]/include/openssl" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (32-bit)_is1;InstallLocation]/include/openssl" + ) + set(TMP_OPENSSL_LIBRARIES + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (32-bit)_is1;InstallLocation]/lib" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (32-bit)_is1;InstallLocation]/lib" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (32-bit)_is1;InstallLocation]/lib" + ) + endif() + endif() + + find_path(OPENSSL_INCLUDE_DIR + NAMES + ssl.h + PATHS + /usr/include + /usr/include/openssl + /usr/local/include + /usr/local/include/openssl + /usr/local/openssl/include + ${TMP_OPENSSL_INCLUDE_DIR} + DOC + "Specify the directory containing openssl.h." + ) + + find_library(OPENSSL_LIBRARIES + NAMES + ssleay32 + ssl + PATHS + /usr/lib + /usr/lib/ssl + /usr/local/lib + /usr/local/lib/ssl + /usr/local/ssl/lib + ${TMP_OPENSSL_LIBRARIES} + DOC "Specify the OpenSSL library here." + ) + + if( WIN32 ) + find_library(OPENSSL_EXTRA_LIBRARIES + NAMES + libeay32 + PATHS + ${TMP_OPENSSL_LIBRARIES} + DOC + "if more libraries are necessary to link in a OpenSSL client, specify them here." + ) + endif( WIN32 ) + + if( UNIX ) + find_library(OPENSSL_EXTRA_LIBRARIES + NAMES + crypto + PATHS + /usr/lib + /usr/lib/ssl + /usr/local/lib + /usr/local/lib/ssl + /usr/local/ssl/lib + ${TMP_OPENSSL_LIBRARIES} + DOC "if more libraries are necessary to link in a OpenSSL client, specify them here." + ) + endif() + + if( OPENSSL_LIBRARIES ) + if( OPENSSL_INCLUDE_DIR ) + set( OPENSSL_FOUND 1 ) + message(STATUS "Found OpenSSL library: ${OPENSSL_LIBRARIES}") + message(STATUS "Found OpenSSL headers: ${OPENSSL_INCLUDE_DIR}") + else ( OPENSSL_INCLUDE_DIR ) + message(FATAL_ERROR "Could not find OpenSSL headers! Please install the development-headers") + endif( OPENSSL_INCLUDE_DIR ) + else( OPENSSL_LIBRARIES ) + message(FATAL_ERROR "Could not find OpenSSL libraries! Please install the library before continuing") + endif( OPENSSL_LIBRARIES ) + mark_as_advanced( OPENSSL_FOUND OPENSSL_LIBRARIES OPENSSL_EXTRA_LIBRARIES OPENSSL_INCLUDE_DIR ) +endif( OPENSSL_INCLUDE_DIR AND OPENSSL_LIBRARIES ) diff --git a/cmake/FindPCHSupport.cmake b/cmake/FindPCHSupport.cmake index a75940eb4..b068b69c2 100644 --- a/cmake/FindPCHSupport.cmake +++ b/cmake/FindPCHSupport.cmake @@ -1,325 +1,104 @@ -# - Try to find precompiled headers support for GCC 3.4 and 4.x -# Once done this will define: -# -# Variable: -# PCHSupport_FOUND -# -# Macro: -# ADD_PRECOMPILED_HEADER _targetName _input _dowarn -# ADD_PRECOMPILED_HEADER_TO_TARGET _targetName _input _pch_output_to_use _dowarn -# ADD_NATIVE_PRECOMPILED_HEADER _targetName _input _dowarn -# GET_NATIVE_PRECOMPILED_HEADER _targetName _input +FUNCTION(GET_COMMON_PCH_PARAMS PCH_HEADER PCH_FE INCLUDE_PREFIX) + GET_FILENAME_COMPONENT(PCH_HEADER_N ${PCH_HEADER} NAME) + GET_DIRECTORY_PROPERTY(TARGET_INCLUDES INCLUDE_DIRECTORIES) -IF(CMAKE_COMPILER_IS_GNUCXX) + FOREACH(ITEM ${TARGET_INCLUDES}) + LIST(APPEND INCLUDE_FLAGS_LIST "${INCLUDE_PREFIX}\"${ITEM}\" ") + ENDFOREACH(ITEM) - EXEC_PROGRAM( - ${CMAKE_CXX_COMPILER} - ARGS ${CMAKE_CXX_COMPILER_ARG1} -dumpversion - OUTPUT_VARIABLE gcc_compiler_version) - #MESSAGE("GCC Version: ${gcc_compiler_version}") - IF(gcc_compiler_version MATCHES "4\\.[0-9]\\.[0-9]") - SET(PCHSupport_FOUND TRUE) - ELSE(gcc_compiler_version MATCHES "4\\.[0-9]\\.[0-9]") - IF(gcc_compiler_version MATCHES "3\\.4\\.[0-9]") - SET(PCHSupport_FOUND TRUE) - ENDIF(gcc_compiler_version MATCHES "3\\.4\\.[0-9]") - ENDIF(gcc_compiler_version MATCHES "4\\.[0-9]\\.[0-9]") + SET(PCH_HEADER_NAME ${PCH_HEADER_N} PARENT_SCOPE) + SET(PCH_HEADER_OUT ${CMAKE_CURRENT_BINARY_DIR}/${PCH_HEADER_N}.${PCH_FE} PARENT_SCOPE) + SET(INCLUDE_FLAGS ${INCLUDE_FLAGS_LIST} PARENT_SCOPE) +ENDFUNCTION(GET_COMMON_PCH_PARAMS) - SET(_PCH_include_prefix "-I") +FUNCTION(GENERATE_CXX_PCH_COMMAND TARGET_NAME INCLUDE_FLAGS IN PCH_SRC OUT) + IF (CMAKE_BUILD_TYPE) + STRING(TOUPPER _${CMAKE_BUILD_TYPE} CURRENT_BUILD_TYPE) + ENDIF () -ELSE(CMAKE_COMPILER_IS_GNUCXX) - IF(WIN32) - SET(PCHSupport_FOUND TRUE) # for experimental msvc support - SET(_PCH_include_prefix "/I") - ELSE(WIN32) - SET(PCHSupport_FOUND FALSE) - ENDIF(WIN32) -ENDIF(CMAKE_COMPILER_IS_GNUCXX) + SET(COMPILE_FLAGS ${CMAKE_CXX_FLAGS${CURRENT_BUILD_TYPE}}) + LIST(APPEND COMPILE_FLAGS ${CMAKE_CXX_FLAGS}) + IF ("${CMAKE_SYSTEM_NAME}" MATCHES "Darwin") + IF (NOT "${CMAKE_OSX_ARCHITECTURES}" STREQUAL "") + LIST(APPEND COMPILE_FLAGS "-arch ${CMAKE_OSX_ARCHITECTURES}") + ENDIF () + IF (NOT "${CMAKE_OSX_SYSROOT}" STREQUAL "") + LIST(APPEND COMPILE_FLAGS "-isysroot ${CMAKE_OSX_SYSROOT}") + ENDIF () + IF (NOT "${CMAKE_OSX_DEPLOYMENT_TARGET}" STREQUAL "") + LIST(APPEND COMPILE_FLAGS "-mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET}") + ENDIF () + ENDIF () -MACRO(_PCH_GET_COMPILE_FLAGS _out_compile_flags) + GET_DIRECTORY_PROPERTY(TARGET_DEFINITIONS COMPILE_DEFINITIONS) + FOREACH(ITEM ${TARGET_DEFINITIONS}) + LIST(APPEND DEFINITION_FLAGS "-D${ITEM} ") + ENDFOREACH(ITEM) - STRING(TOUPPER ${CMAKE_BUILD_TYPE} _build_type) - STRING(TOUPPER "CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE}" _flags_var_name) - SET(${_out_compile_flags} ${${_flags_var_name}} ) + SEPARATE_ARGUMENTS(COMPILE_FLAGS) + SEPARATE_ARGUMENTS(INCLUDE_FLAGS) + SEPARATE_ARGUMENTS(DEFINITION_FLAGS) - IF(CMAKE_COMPILER_IS_GNUCXX) + GET_FILENAME_COMPONENT(PCH_SRC_N ${PCH_SRC} NAME) + ADD_LIBRARY(${PCH_SRC_N}_dephelp MODULE ${PCH_SRC}) - GET_TARGET_PROPERTY(_targetType ${_PCH_current_target} TYPE) - IF(${_targetType} STREQUAL SHARED_LIBRARY) - LIST(APPEND ${_out_compile_flags} "${${_out_compile_flags}} -fPIC") - ENDIF(${_targetType} STREQUAL SHARED_LIBRARY) - - ELSE(CMAKE_COMPILER_IS_GNUCXX) - ## TODO ... ? or does it work out of the box - ENDIF(CMAKE_COMPILER_IS_GNUCXX) - - GET_DIRECTORY_PROPERTY(DIRINC INCLUDE_DIRECTORIES) - FOREACH(item ${DIRINC}) - LIST(APPEND ${_out_compile_flags} "${_PCH_include_prefix}${item}") - ENDFOREACH(item) - - GET_DIRECTORY_PROPERTY(_directory_flags COMPILE_DEFINITIONS) - GET_DIRECTORY_PROPERTY(_directory_flags_type COMPILE_DEFINITIONS_${_build_type}) - LIST(APPEND _directory_flags ${_directory_flags_type}) - # MESSAGE("_directory_flags ${_directory_flags}" ) - - FOREACH(define ${_directory_flags}) - STRING(REPLACE "\"" "\\\"" escaped_define ${define}) - LIST(APPEND ${_out_compile_flags} -D${escaped_define}) - ENDFOREACH(define) - LIST(APPEND ${_out_compile_flags} ${CMAKE_CXX_FLAGS} ) - - SEPARATE_ARGUMENTS(${_out_compile_flags}) - -ENDMACRO(_PCH_GET_COMPILE_FLAGS) - - -MACRO(_PCH_WRITE_PCHDEP_CXX _targetName _include_file _dephelp) - - SET(${_dephelp} ${CMAKE_CURRENT_BINARY_DIR}/${_targetName}_pch_dephelp.cxx) - FILE(WRITE ${${_dephelp}} -"#include \"${_include_file}\" -int testfunction() -{ - return 0; -} -" - ) - -ENDMACRO(_PCH_WRITE_PCHDEP_CXX ) - -MACRO(_PCH_GET_COMPILE_COMMAND out_command _input _output) - - FILE(TO_NATIVE_PATH ${_input} _native_input) - FILE(TO_NATIVE_PATH ${_output} _native_output) - - - IF(CMAKE_COMPILER_IS_GNUCXX) - IF(CMAKE_CXX_COMPILER_ARG1) - # remove leading space in compiler argument - STRING(REGEX REPLACE "^ +" "" pchsupport_compiler_cxx_arg1 ${CMAKE_CXX_COMPILER_ARG1}) - - SET(${out_command} - ${CMAKE_CXX_COMPILER} ${pchsupport_compiler_cxx_arg1} ${_compile_FLAGS} -x c++-header -o ${_output} ${_input} - ) - ELSE(CMAKE_CXX_COMPILER_ARG1) - SET(${out_command} - ${CMAKE_CXX_COMPILER} ${_compile_FLAGS} -x c++-header -o ${_output} ${_input} - ) - ENDIF(CMAKE_CXX_COMPILER_ARG1) - ELSE(CMAKE_COMPILER_IS_GNUCXX) - - SET(_dummy_str "#include <${_input}>") - FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/pch_dummy.cpp ${_dummy_str}) - - SET(${out_command} - ${CMAKE_CXX_COMPILER} ${_compile_FLAGS} /c /Fp${_native_output} /Yc${_native_input} pch_dummy.cpp - ) - #/out:${_output} - - ENDIF(CMAKE_COMPILER_IS_GNUCXX) - -ENDMACRO(_PCH_GET_COMPILE_COMMAND ) - - - -MACRO(_PCH_GET_TARGET_COMPILE_FLAGS _cflags _header_name _pch_path _dowarn ) - - FILE(TO_NATIVE_PATH ${_pch_path} _native_pch_path) - - IF(CMAKE_COMPILER_IS_GNUCXX) - # for use with distcc and gcc >4.0.1 if preprocessed files are accessible - # on all remote machines set - # PCH_ADDITIONAL_COMPILER_FLAGS to -fpch-preprocess - # if you want warnings for invalid header files (which is very inconvenient - # if you have different versions of the headers for different build types - # you may set _pch_dowarn - IF (_dowarn) - SET(${_cflags} "${PCH_ADDITIONAL_COMPILER_FLAGS} -include ${CMAKE_CURRENT_BINARY_DIR}/${_header_name} -Winvalid-pch " ) - ELSE (_dowarn) - SET(${_cflags} "${PCH_ADDITIONAL_COMPILER_FLAGS} -include ${CMAKE_CURRENT_BINARY_DIR}/${_header_name} " ) - ENDIF (_dowarn) - ELSE(CMAKE_COMPILER_IS_GNUCXX) - - set(${_cflags} "/Fp${_native_pch_path} /Yu${_header_name}" ) - - ENDIF(CMAKE_COMPILER_IS_GNUCXX) - -ENDMACRO(_PCH_GET_TARGET_COMPILE_FLAGS ) - -MACRO(GET_PRECOMPILED_HEADER_OUTPUT _targetName _input _output) - GET_FILENAME_COMPONENT(_name ${_input} NAME) - GET_FILENAME_COMPONENT(_path ${_input} PATH) - SET(_output "${CMAKE_CURRENT_BINARY_DIR}/${_name}.gch/${_targetName}_${CMAKE_BUILD_TYPE}.h++") -ENDMACRO(GET_PRECOMPILED_HEADER_OUTPUT _targetName _input) - - -MACRO(ADD_PRECOMPILED_HEADER_TO_TARGET _targetName _input _pch_output_to_use ) - - # to do: test whether compiler flags match between target _targetName - # and _pch_output_to_use - GET_FILENAME_COMPONENT(_name ${_input} NAME) - - IF( "${ARGN}" STREQUAL "0") - SET(_dowarn 0) - ELSE( "${ARGN}" STREQUAL "0") - SET(_dowarn 1) - ENDIF("${ARGN}" STREQUAL "0") - - - _PCH_GET_TARGET_COMPILE_FLAGS(_target_cflags ${_name} ${_pch_output_to_use} ${_dowarn}) - # MESSAGE("Add flags ${_target_cflags} to ${_targetName} " ) - SET_TARGET_PROPERTIES(${_targetName} - PROPERTIES - COMPILE_FLAGS ${_target_cflags} - ) - - ADD_CUSTOM_TARGET(pch_Generate_${_targetName} - DEPENDS ${_pch_output_to_use} - ) - - ADD_DEPENDENCIES(${_targetName} pch_Generate_${_targetName} ) - -ENDMACRO(ADD_PRECOMPILED_HEADER_TO_TARGET) - -MACRO(ADD_PRECOMPILED_HEADER _targetName _input) - - SET(_PCH_current_target ${_targetName}) - - IF(NOT CMAKE_BUILD_TYPE) - MESSAGE(FATAL_ERROR - "This is the ADD_PRECOMPILED_HEADER macro. " - "You must set CMAKE_BUILD_TYPE!" - ) - ENDIF(NOT CMAKE_BUILD_TYPE) - - IF( "${ARGN}" STREQUAL "0") - SET(_dowarn 0) - ELSE( "${ARGN}" STREQUAL "0") - SET(_dowarn 1) - ENDIF("${ARGN}" STREQUAL "0") - - - GET_FILENAME_COMPONENT(_name ${_input} NAME) - GET_FILENAME_COMPONENT(_path ${_input} PATH) - GET_PRECOMPILED_HEADER_OUTPUT( ${_targetName} ${_input} _output) - - GET_FILENAME_COMPONENT(_outdir ${_output} PATH ) - - GET_TARGET_PROPERTY(_targetType ${_PCH_current_target} TYPE) - _PCH_WRITE_PCHDEP_CXX(${_targetName} ${_input} _pch_dephelp_cxx) - - IF(${_targetType} STREQUAL SHARED_LIBRARY) - ADD_LIBRARY(${_targetName}_pch_dephelp SHARED ${_pch_dephelp_cxx} ) - ELSE(${_targetType} STREQUAL SHARED_LIBRARY) - ADD_LIBRARY(${_targetName}_pch_dephelp STATIC ${_pch_dephelp_cxx}) - ENDIF(${_targetType} STREQUAL SHARED_LIBRARY) - - FILE(MAKE_DIRECTORY ${_outdir}) - - - _PCH_GET_COMPILE_FLAGS(_compile_FLAGS) - - #MESSAGE("_compile_FLAGS: ${_compile_FLAGS}") - #message("COMMAND ${CMAKE_CXX_COMPILER} ${_compile_FLAGS} -x c++-header -o ${_output} ${_input}") - SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_BINARY_DIR}/${_name} PROPERTIES GENERATED 1) ADD_CUSTOM_COMMAND( - OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_name} - COMMAND ${CMAKE_COMMAND} -E copy ${_input} ${CMAKE_CURRENT_BINARY_DIR}/${_name} # ensure same directory! Required by gcc - DEPENDS ${_input} + OUTPUT ${OUT} + COMMAND ${CMAKE_CXX_COMPILER} + ARGS ${DEFINITION_FLAGS} ${COMPILE_FLAGS} ${INCLUDE_FLAGS} -x c++-header ${IN} -o ${OUT} + DEPENDS ${IN} ${PCH_SRC_N}_dephelp + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} ) - #message("_command ${_input} ${_output}") - _PCH_GET_COMPILE_COMMAND(_command ${CMAKE_CURRENT_BINARY_DIR}/${_name} ${_output} ) + ADD_CUSTOM_TARGET(generate_${PCH_SRC_N} + DEPENDS ${OUT} + ) - #message(${_input} ) - #message("_output ${_output}") + ADD_DEPENDENCIES(${TARGET_NAME} generate_${PCH_SRC_N}) +ENDFUNCTION(GENERATE_CXX_PCH_COMMAND) - ADD_CUSTOM_COMMAND( - OUTPUT ${_output} - COMMAND ${_command} - DEPENDS ${_input} ${CMAKE_CURRENT_BINARY_DIR}/${_name} ${_targetName}_pch_dephelp - ) +FUNCTION(ADD_CXX_PCH_GCC TARGET_NAME PCH_HEADER PCH_SOURCE) + GET_COMMON_PCH_PARAMS(${PCH_HEADER} "gch" "-I") + GENERATE_CXX_PCH_COMMAND(${TARGET_NAME} "${INCLUDE_FLAGS}" ${PCH_HEADER} ${PCH_SOURCE} ${PCH_HEADER_OUT}) + SET_TARGET_PROPERTIES( + ${TARGET_NAME} PROPERTIES + COMPILE_FLAGS "-include ${CMAKE_CURRENT_BINARY_DIR}/${PCH_HEADER_NAME}" + ) +ENDFUNCTION(ADD_CXX_PCH_GCC) +FUNCTION(ADD_CXX_PCH_CLANG TARGET_NAME PCH_HEADER PCH_SOURCE) + GET_COMMON_PCH_PARAMS(${PCH_HEADER} "pch" "-I") + GENERATE_CXX_PCH_COMMAND(${TARGET_NAME} "${INCLUDE_FLAGS}" ${PCH_HEADER} ${PCH_SOURCE} ${PCH_HEADER_OUT}) + SET_TARGET_PROPERTIES( + ${TARGET_NAME} PROPERTIES + COMPILE_FLAGS "-include-pch ${PCH_HEADER_OUT}" + ) +ENDFUNCTION(ADD_CXX_PCH_CLANG) - ADD_PRECOMPILED_HEADER_TO_TARGET(${_targetName} ${_input} ${_output} ${_dowarn}) -ENDMACRO(ADD_PRECOMPILED_HEADER) +FUNCTION(ADD_CXX_PCH_MSVC TARGET_NAME PCH_HEADER PCH_SOURCE) + GET_COMMON_PCH_PARAMS(${PCH_HEADER} "pch" "/I") + SET_TARGET_PROPERTIES( + ${TARGET_NAME} PROPERTIES + COMPILE_FLAGS "/FI${PCH_HEADER_NAME} /Yu${PCH_HEADER_NAME}" + ) + SET_SOURCE_FILES_PROPERTIES( + ${PCH_SOURCE} PROPERTIES + COMPILE_FLAGS "/Yc${PCH_HEADER_NAME}" + ) +ENDFUNCTION(ADD_CXX_PCH_MSVC) - -# Generates the use of precompiled in a target, -# without using depency targets (2 extra for each target) -# Using Visual, must also add ${_targetName}_pch to sources -# Not needed by Xcode - -MACRO(GET_NATIVE_PRECOMPILED_HEADER _targetName _input) - - if(CMAKE_GENERATOR MATCHES Visual*) - - SET(_dummy_str "#include \"${_input}\"\n" - "// This is required to suppress LNK4221. Very annoying.\n" - "void *g_${_targetName}Dummy = 0\;\n") - - # Use of cxx extension for generated files (as Qt does) - SET(${_targetName}_pch ${CMAKE_CURRENT_BINARY_DIR}/${_targetName}_pch.cxx) - if(EXISTS ${${_targetName}_pch}) - # Check if contents is the same, if not rewrite - # todo - else(EXISTS ${${_targetName}_pch}) - FILE(WRITE ${${_targetName}_pch} ${_dummy_str}) - endif(EXISTS ${${_targetName}_pch}) - endif(CMAKE_GENERATOR MATCHES Visual*) - -ENDMACRO(GET_NATIVE_PRECOMPILED_HEADER) - - -MACRO(ADD_NATIVE_PRECOMPILED_HEADER _targetName _input) - - IF( "${ARGN}" STREQUAL "0") - SET(_dowarn 0) - ELSE( "${ARGN}" STREQUAL "0") - SET(_dowarn 1) - ENDIF("${ARGN}" STREQUAL "0") - - if(CMAKE_GENERATOR MATCHES Visual*) - # Auto include the precompile (useful for moc processing, since the use of - # precompiled is specified at the target level - # and I don't want to specifiy /F- for each moc/res/ui generated files (using Qt) - - GET_TARGET_PROPERTY(oldProps ${_targetName} COMPILE_FLAGS) - if (${oldProps} MATCHES NOTFOUND) - SET(oldProps "") - endif(${oldProps} MATCHES NOTFOUND) - - SET(newProperties "${oldProps} /Yu\"${_input}\" /FI\"${_input}\"") - SET_TARGET_PROPERTIES(${_targetName} PROPERTIES COMPILE_FLAGS "${newProperties}") - - #also inlude ${oldProps} to have the same compile options - SET_SOURCE_FILES_PROPERTIES(${${_targetName}_pch} PROPERTIES COMPILE_FLAGS "${oldProps} /Yc\"${_input}\"") - - else(CMAKE_GENERATOR MATCHES Visual*) - - if (CMAKE_GENERATOR MATCHES Xcode) - # For Xcode, cmake needs my patch to process - # GCC_PREFIX_HEADER and GCC_PRECOMPILE_PREFIX_HEADER as target properties - - GET_TARGET_PROPERTY(oldProps ${_targetName} COMPILE_FLAGS) - if (${oldProps} MATCHES NOTFOUND) - SET(oldProps "") - endif(${oldProps} MATCHES NOTFOUND) - - # When buiding out of the tree, precompiled may not be located - # Use full path instead. - GET_FILENAME_COMPONENT(fullPath ${_input} ABSOLUTE) - - SET_TARGET_PROPERTIES(${_targetName} PROPERTIES XCODE_ATTRIBUTE_GCC_PREFIX_HEADER "${fullPath}") - SET_TARGET_PROPERTIES(${_targetName} PROPERTIES XCODE_ATTRIBUTE_GCC_PRECOMPILE_PREFIX_HEADER "YES") - - else (CMAKE_GENERATOR MATCHES Xcode) - - #Fallback to the "old" precompiled suppport - #ADD_PRECOMPILED_HEADER(${_targetName} ${_input} ${_dowarn}) - endif(CMAKE_GENERATOR MATCHES Xcode) - endif(CMAKE_GENERATOR MATCHES Visual*) - -ENDMACRO(ADD_NATIVE_PRECOMPILED_HEADER) +FUNCTION(ADD_CXX_PCH TARGET_NAME PCH_HEADER PCH_SOURCE) + IF (MSVC) + ADD_CXX_PCH_MSVC(${TARGET_NAME} ${PCH_HEADER} ${PCH_SOURCE}) + ELSEIF ("${CMAKE_GENERATOR}" MATCHES "Xcode") + SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES + XCODE_ATTRIBUTE_GCC_PRECOMPILE_PREFIX_HEADER YES + XCODE_ATTRIBUTE_GCC_PREFIX_HEADER "${CMAKE_CURRENT_SOURCE_DIR}/${PCH_HEADER}" + ) + ELSEIF ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") + ADD_CXX_PCH_CLANG(${TARGET_NAME} ${PCH_HEADER} ${PCH_SOURCE}) + ELSEIF ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") + ADD_CXX_PCH_GCC(${TARGET_NAME} ${PCH_HEADER} ${PCH_SOURCE}) + ENDIF () +ENDFUNCTION(ADD_CXX_PCH) diff --git a/cmake/FindTBB.cmake b/cmake/FindTBB.cmake deleted file mode 100644 index 95708f02d..000000000 --- a/cmake/FindTBB.cmake +++ /dev/null @@ -1,90 +0,0 @@ -# Locate Intel Threading Building Blocks include paths and libraries -# CPPunit can be found at http://cppunit.sourceforge.net -# Written by Michael Hammer, michael _at_ derhammer.net - -# This module defines -# TBB_INCLUDE_DIR, where to find ptlib.h, etc. -# TBB_LIBRARIES, the libraries to link against to use pwlib. -# TBB_FOUND, If false, don't try to use pwlib. - -FIND_PATH(TBB_INCLUDE_DIR tbb/task_scheduler_init.h - /usr/local/include - /usr/include - ${TBB_ROOT} - ${TBB_ROOT}/include - $ENV{TBB_ROOT} - $ENV{TBB_ROOT}/include - # ${CMAKE_SOURCE_DIR}/dep/tbb/include -) - -FIND_LIBRARY(TBB_LIBRARIES - NAMES - tbb - PATHS - /usr/local/lib - /usr/lib - ${TBB_ROOT} - ${TBB_ROOT}/lib - $ENV{TBB_ROOT} - $ENV{TBB_ROOT}/lib - # ${CMAKE_SOURCE_DIR}/dep/tbb/build/vsproject/ia32/Release -) - -FIND_LIBRARY(TBB_EXTRA_LIBRARIES - NAMES - tbbmalloc - PATHS - /usr/local/lib - /usr/lib - ${TBB_ROOT} - ${TBB_ROOT}/lib - $ENV{TBB_ROOT} - $ENV{TBB_ROOT}/lib - # ${CMAKE_SOURCE_DIR}/dep/tbb/build/vsproject/ia32/Release -) - -FIND_LIBRARY(TBB_LIBRARIES_DEBUG - NAMES - tbb_debug - PATHS - /usr/local/lib - /usr/lib - ${TBB_ROOT} - ${TBB_ROOT}/lib - $ENV{TBB_ROOT} - $ENV{TBB_ROOT}/lib - # ${CMAKE_SOURCE_DIR}/dep/tbb/build/vsproject/ia32/Debug -) - -FIND_LIBRARY(TBB_EXTRA_LIBRARIES_DEBUG - NAMES - tbbmalloc_debug - PATHS - /usr/local/lib - /usr/lib - ${TBB_ROOT} - ${TBB_ROOT}/lib - $ENV{TBB_ROOT} - $ENV{TBB_ROOT}/lib - # ${CMAKE_SOURCE_DIR}/dep/tbb/build/vsproject/ia32/Debug -) - -SET(TBB_FOUND 0) -IF(TBB_INCLUDE_DIR) - IF(TBB_LIBRARIES) - SET(TBB_FOUND 1) - MESSAGE(STATUS "Found Intel TBB") - SET(TBB_LIBRARIES - ${TBB_LIBRARIES} - ${TBB_EXTRA_LIBRARIES} - ) - ENDIF(TBB_LIBRARIES) -ENDIF(TBB_INCLUDE_DIR) - -MARK_AS_ADVANCED( - TBB_INCLUDE_DIR - TBB_LIBRARIES - TBB_EXTRA_LIBRARIES - TBB_LIBRARIES_DEBUG - TBB_EXTRA_LIBRARIES_DEBUG -) diff --git a/cmake/ImportACE.cmake b/cmake/ImportACE.cmake index 3364808b1..14ab44546 100644 --- a/cmake/ImportACE.cmake +++ b/cmake/ImportACE.cmake @@ -20,24 +20,18 @@ # add_dependencies(ace ACE_Project) # set_target_properties(ace PROPERTIES DEPENDS ACE_Project) -if(WIN32) - set(ACE_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/dep/ACE_wrappers) - set(ACE_LIBRARIES_DIR ${CMAKE_SOURCE_DIR}/dep/ACE_wrappers/lib) - set(ACE_LIBRARIES optimized ACE debug ACEd) -else() - set(ACE_INCLUDE_DIR ${CMAKE_INSTALL_PREFIX}/include) - set(ACE_LIBRARIES_DIR ${CMAKE_INSTALL_PREFIX}/lib) - set(ACE_LIBRARIES ACE) -endif() +set(ACE_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/dep/acelite) +set(ACE_LIBRARIES_DIR ${CMAKE_BINARY_DIR}/dep/acelite/ace) +set(ACE_LIBRARIES optimized ACE debug ACE) # Little Hack to remove the link warnings because of not found directories -if(XCODE) - foreach(DIR ${ACE_LIBRARIES_DIR}) - foreach(CONF ${CMAKE_CONFIGURATION_TYPES}) - file(MAKE_DIRECTORY ${DIR}/${CONF}) - endforeach(CONF) - endforeach(DIR) -endif() +#if(XCODE) +# foreach(DIR ${ACE_LIBRARIES_DIR}) +# foreach(CONF ${CMAKE_CONFIGURATION_TYPES}) +# file(MAKE_DIRECTORY ${DIR}/${CONF}) +# endforeach(CONF) +# endforeach(DIR) +#endif() link_directories( ${ACE_LIBRARIES_DIR} @@ -45,12 +39,12 @@ link_directories( set(HAVE_ACE_STACK_TRACE_H ON) # config.h.cmake -if(WIN32) - foreach(DIR ${ACE_LIBRARIES_DIR}) - install( - DIRECTORY ${DIR}/ DESTINATION ${LIBS_DIR} - FILES_MATCHING PATTERN "*.dll*" #"*.${LIB_SUFFIX}*" - PATTERN "pkgconfig" EXCLUDE - ) - endforeach(DIR) -endif() +#if(WIN32) +# foreach(DIR ${ACE_LIBRARIES_DIR}) +# install( +# DIRECTORY ${DIR}/ DESTINATION ${LIBS_DIR} +# FILES_MATCHING PATTERN "*.dll*" #"*.${LIB_SUFFIX}*" +# PATTERN "pkgconfig" EXCLUDE +# ) +# endforeach(DIR) +#endif() diff --git a/cmake/MacroMangosSourceGroup.cmake b/cmake/MacroMangosSourceGroup.cmake new file mode 100644 index 000000000..bf12bbb70 --- /dev/null +++ b/cmake/MacroMangosSourceGroup.cmake @@ -0,0 +1,39 @@ +macro(mangos_source_group + sources) + + # Group by location on disk + source_group("Source Files" FILES CMakeLists.txt) + + foreach(_SRC ${sources}) + get_filename_component(_SRC_EXT ${_SRC} EXT) + if((${_SRC_EXT} MATCHES ".h") OR + (${_SRC_EXT} MATCHES ".hpp") OR + (${_SRC_EXT} MATCHES ".hh")) + source_group("Header Files" FILES ${_SRC}) + else() + source_group("Source Files" FILES ${_SRC}) + endif() + endforeach() + + unset(_SRC) + unset(_SRC_EXT) +endmacro() + +macro(mangos_source_group_topic + sources + topic) + + foreach(_SRC ${sources}) + get_filename_component(_SRC_EXT ${_SRC} EXT) + if((${_SRC_EXT} MATCHES ".h") OR + (${_SRC_EXT} MATCHES ".hpp") OR + (${_SRC_EXT} MATCHES ".hh")) + source_group("Header Files\\${topic}" FILES ${_SRC}) + else() + source_group("Source Files\\${topic}" FILES ${_SRC}) + endif() + endforeach() + + unset(_SRC) + unset(_SRC_EXT) +endmacro() diff --git a/contrib/extractor/README.linux b/contrib/extractor/README.linux deleted file mode 100644 index 1986831e7..000000000 --- a/contrib/extractor/README.linux +++ /dev/null @@ -1,7 +0,0 @@ -Linux instructions ------------------- - -1. install cmake -2. cmake -i -3. make -4. ./ad diff --git a/contrib/extractor_binary/MoveMapGen.exe b/contrib/extractor_binary/MoveMapGen.exe deleted file mode 100644 index 8e7ad514b..000000000 Binary files a/contrib/extractor_binary/MoveMapGen.exe and /dev/null differ diff --git a/contrib/extractor_binary/README.txt b/contrib/extractor_binary/README.txt deleted file mode 100644 index d75cd032b..000000000 --- a/contrib/extractor_binary/README.txt +++ /dev/null @@ -1,36 +0,0 @@ -# This code is part of MaNGOS. Contributor & Copyright details are in AUTHORS/THANKS. -# -# This file is free software; as a special exception the author gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the -# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -Copy the content of this directory into your client directory. - -Then just run ExtractResources.sh -On Windows, you can run the file within the "Git bash" (which should be shipped with your Git software) -by invoking "sh ExtractResources.sh" - -This file will ask you what you want to extract. - -You can chose from the following: -* Extract DBCs/ maps (required for MaNGOS to work) -* Extract vmaps (expected for MaNGOS to work) -* Extract mmaps (optional, and will require very long time to create) -* Update mmaps with data from offmesh.txt (suggested after updates of this file) - -In case you want to extract mmaps you will be asked how many processes should be used for mmap-extraction; -Recommanded is to use the number of CPUs - -By default the scripts will create log files -MaNGOSExtractor.log for overall progress of the extraction, and -MaNGOSExtractor_detailed.log which includes all the information about the extraction. - -If you want to toggle some parts in the extraction process, there are a few internal variables in the extraction scripts, that can be modified. - -Consider the Readme's in the directories extractor, vmap_assembler, vmap_extractor and mmap for further information about detail. - -Also especially related to mmaps updating you might be interested in using the MoveMapGen.sh script. diff --git a/contrib/extractor_binary/ad.exe b/contrib/extractor_binary/ad.exe deleted file mode 100644 index f370fa4c3..000000000 Binary files a/contrib/extractor_binary/ad.exe and /dev/null differ diff --git a/contrib/extractor_binary/make_vmaps.bat b/contrib/extractor_binary/make_vmaps.bat deleted file mode 100644 index aca4c651b..000000000 --- a/contrib/extractor_binary/make_vmaps.bat +++ /dev/null @@ -1,46 +0,0 @@ -@echo off -cls -echo. -echo Welcome to the vmaps extractor and assembler -echo. -echo You need 2GB of free space in disk, CTRL+C to stop process -echo Hit Enter to start . . . -pause>nul -cls -echo. -echo. -echo. -IF EXIST buildings\dir (ECHO The buildings folder already exist do you want to delete it? -echo If YES hit Enter to continue if no CLOSE the program now! . . . -pause>nul -DEL /S /Q buildings) -vmapExtractor.exe -cls -echo. -echo. -echo. -IF NOT %ERRORLEVEL% LEQ 1 (echo The vmap extract tool finalized with errors. -echo Hit Enter to continue . . . -pause>nul) -cls -echo. -echo. -echo. -echo Vmaps extracted check log.txt for errors, now it's time to assemble the vmaps press any key to continue . . . -pause>nul -md vmaps -vmap_assembler.exe buildings vmaps -cls -echo. -echo. -echo. -IF NOT %ERRORLEVEL% LEQ 1 (echo The vmap assembler tool finalized with errors. -echo Hit Enter to continue . . . -pause>nul) -cls -echo. -echo. -echo. -echo Process done! copy vmaps folder to the MaNGOS main directory -echo Press any key to exit . . . -pause>nul diff --git a/contrib/extractor_binary/vmapExtractor.exe b/contrib/extractor_binary/vmapExtractor.exe deleted file mode 100644 index c0a3d37bd..000000000 Binary files a/contrib/extractor_binary/vmapExtractor.exe and /dev/null differ diff --git a/contrib/extractor_binary/vmap_assembler.exe b/contrib/extractor_binary/vmap_assembler.exe deleted file mode 100644 index cbeee9bf9..000000000 Binary files a/contrib/extractor_binary/vmap_assembler.exe and /dev/null differ diff --git a/contrib/mmap/CMakeLists.txt b/contrib/mmap/CMakeLists.txt deleted file mode 100644 index 18464221c..000000000 --- a/contrib/mmap/CMakeLists.txt +++ /dev/null @@ -1,178 +0,0 @@ -# This code is part of MaNGOS. Contributor & Copyright details are in AUTHORS/THANKS. -# -# This file is free software; as a special exception the author gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the -# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -cmake_minimum_required (VERSION 2.8) - -project( MoveMapGen ) - -ADD_DEFINITIONS(-DMMAP_GENERATOR -DNO_CORE_FUNCS -DDEBUG) - -# zlib -ADD_DEFINITIONS( -DNO_vsnprintf ) - -ADD_DEFINITIONS("-ggdb") -ADD_DEFINITIONS("-O3") - -include_directories( - ../../src - ../../src/shared - ../../src/game - ../../src/game/vmap - ../../dep/include/g3dlite - ../../dep/ACE_wrappers - ../../objdir/dep/ACE_wrappers - ../../src/framework - ../../dep/recastnavigation/Detour/Include - ../../dep/recastnavigation/Recast/Include - ../../dep/src/zlib -) - -add_library(zlib - ../../dep/src/zlib/adler32.c - ../../dep/src/zlib/compress.c - ../../dep/src/zlib/crc32.c - ../../dep/src/zlib/deflate.c - ../../dep/src/zlib/example.c - ../../dep/src/zlib/gzio.c - ../../dep/src/zlib/infback.c - ../../dep/src/zlib/inffast.c - ../../dep/src/zlib/inflate.c - ../../dep/src/zlib/inftrees.c - ../../dep/src/zlib/trees.c - ../../dep/src/zlib/uncompr.c - ../../dep/src/zlib/zutil.c -) - -add_library(g3dlite - ../../dep/src/g3dlite/AABox.cpp - ../../dep/src/g3dlite/Any.cpp - ../../dep/src/g3dlite/AnyVal.cpp - ../../dep/src/g3dlite/AreaMemoryManager.cpp - ../../dep/src/g3dlite/BinaryFormat.cpp - ../../dep/src/g3dlite/BinaryInput.cpp - ../../dep/src/g3dlite/BinaryOutput.cpp - ../../dep/src/g3dlite/Box.cpp - ../../dep/src/g3dlite/Box2D.cpp - ../../dep/src/g3dlite/BumpMapPreprocess.cpp - ../../dep/src/g3dlite/Capsule.cpp - ../../dep/src/g3dlite/CollisionDetection.cpp - ../../dep/src/g3dlite/Color1.cpp - ../../dep/src/g3dlite/Color1uint8.cpp - ../../dep/src/g3dlite/Color3.cpp - ../../dep/src/g3dlite/Color3uint8.cpp - ../../dep/src/g3dlite/Color4.cpp - ../../dep/src/g3dlite/Color4uint8.cpp - ../../dep/src/g3dlite/Cone.cpp - ../../dep/src/g3dlite/constants.cpp - ../../dep/src/g3dlite/ConvexPolyhedron.cpp - ../../dep/src/g3dlite/CoordinateFrame.cpp - ../../dep/src/g3dlite/Crypto.cpp - ../../dep/src/g3dlite/Crypto_md5.cpp - ../../dep/src/g3dlite/Cylinder.cpp - ../../dep/src/g3dlite/debugAssert.cpp - ../../dep/src/g3dlite/FileSystem.cpp - ../../dep/src/g3dlite/fileutils.cpp - ../../dep/src/g3dlite/filter.cpp - ../../dep/src/g3dlite/format.cpp - ../../dep/src/g3dlite/g3dfnmatch.cpp - ../../dep/src/g3dlite/g3dmath.cpp - ../../dep/src/g3dlite/GCamera.cpp - ../../dep/src/g3dlite/GLight.cpp - ../../dep/src/g3dlite/GThread.cpp - ../../dep/src/g3dlite/GUniqueID.cpp - ../../dep/src/g3dlite/Intersect.cpp - ../../dep/src/g3dlite/license.cpp - ../../dep/src/g3dlite/Line.cpp - ../../dep/src/g3dlite/LineSegment.cpp - ../../dep/src/g3dlite/Log.cpp - ../../dep/src/g3dlite/Matrix.cpp - ../../dep/src/g3dlite/Matrix3.cpp - ../../dep/src/g3dlite/Matrix4.cpp - ../../dep/src/g3dlite/MemoryManager.cpp - ../../dep/src/g3dlite/MeshAlg.cpp - ../../dep/src/g3dlite/MeshAlgAdjacency.cpp - ../../dep/src/g3dlite/MeshAlgWeld.cpp - ../../dep/src/g3dlite/MeshBuilder.cpp - ../../dep/src/g3dlite/NetAddress.cpp - ../../dep/src/g3dlite/NetworkDevice.cpp - ../../dep/src/g3dlite/PhysicsFrame.cpp - ../../dep/src/g3dlite/Plane.cpp - ../../dep/src/g3dlite/PrecomputedRandom.cpp - ../../dep/src/g3dlite/prompt.cpp - ../../dep/src/g3dlite/Quat.cpp - ../../dep/src/g3dlite/Random.cpp - ../../dep/src/g3dlite/Ray.cpp - ../../dep/src/g3dlite/Rect2D.cpp - ../../dep/src/g3dlite/ReferenceCount.cpp - ../../dep/src/g3dlite/RegistryUtil.cpp - ../../dep/src/g3dlite/Sphere.cpp - ../../dep/src/g3dlite/SplineBase.cpp - ../../dep/src/g3dlite/stringutils.cpp - ../../dep/src/g3dlite/System.cpp - ../../dep/src/g3dlite/TextInput.cpp - ../../dep/src/g3dlite/TextOutput.cpp - ../../dep/src/g3dlite/ThreadSet.cpp - ../../dep/src/g3dlite/Triangle.cpp - ../../dep/src/g3dlite/uint128.cpp - ../../dep/src/g3dlite/UprightFrame.cpp - ../../dep/src/g3dlite/Vector2.cpp - ../../dep/src/g3dlite/Vector2int16.cpp - ../../dep/src/g3dlite/Vector3.cpp - ../../dep/src/g3dlite/Vector3int16.cpp - ../../dep/src/g3dlite/Vector3int32.cpp - ../../dep/src/g3dlite/Vector4.cpp - ../../dep/src/g3dlite/Vector4int8.cpp - ../../dep/src/g3dlite/Welder.cpp - ../../dep/src/g3dlite/WinMain.cpp -) - -add_library(vmap - ../../src/game/vmap/BIH.cpp - ../../src/game/vmap/VMapManager2.cpp - ../../src/game/vmap/MapTree.cpp - ../../src/game/vmap/TileAssembler.cpp - ../../src/game/vmap/WorldModel.cpp - ../../src/game/vmap/ModelInstance.cpp -) - -target_link_libraries(vmap g3dlite zlib) - -add_library(Detour - ../../dep/recastnavigation/Detour/Source/DetourAlloc.cpp - ../../dep/recastnavigation/Detour/Source/DetourCommon.cpp - ../../dep/recastnavigation/Detour/Source/DetourNavMesh.cpp - ../../dep/recastnavigation/Detour/Source/DetourNavMeshBuilder.cpp - ../../dep/recastnavigation/Detour/Source/DetourNavMeshQuery.cpp - ../../dep/recastnavigation/Detour/Source/DetourNode.cpp -) - -add_library(Recast - ../../dep/recastnavigation/Recast/Source/Recast.cpp - ../../dep/recastnavigation/Recast/Source/RecastAlloc.cpp - ../../dep/recastnavigation/Recast/Source/RecastArea.cpp - ../../dep/recastnavigation/Recast/Source/RecastContour.cpp - ../../dep/recastnavigation/Recast/Source/RecastFilter.cpp - ../../dep/recastnavigation/Recast/Source/RecastMesh.cpp - ../../dep/recastnavigation/Recast/Source/RecastMeshDetail.cpp - ../../dep/recastnavigation/Recast/Source/RecastRasterization.cpp - ../../dep/recastnavigation/Recast/Source/RecastRegion.cpp -) - -set(SOURCES - ./src/IntermediateValues.cpp - ./src/generator.cpp - ./src/MapBuilder.cpp - ./src/TerrainBuilder.cpp - ./src/VMapExtensions.cpp -) - -add_executable( MoveMapGen ${SOURCES} ) - -target_link_libraries( MoveMapGen g3dlite vmap Detour Recast zlib ) diff --git a/contrib/mmap/readme b/contrib/mmap/readme deleted file mode 100644 index 94907b19a..000000000 --- a/contrib/mmap/readme +++ /dev/null @@ -1,66 +0,0 @@ -Generator command line args - ---offMeshInput [file.*] Path to file containing off mesh connections data. - Format must be: (see offmesh_example.txt) - "map_id tile_x,tile_y (start_x start_y start_z) (end_x end_y end_z) size //optional comments" - Single mesh connection per line. - ---silent Make us script friendly. Do not wait for user input - on error or completion. - ---bigBaseUnit [true|false] Generate tile/map using bigger basic unit. - Use this option only if you have unexpected gaps. - - false: use normal metrics (default) - ---maxAngle [#] Max walkable inclination angle - - float between 45 and 90 degrees (default 60) - ---skipLiquid liquid data for maps - - false: include liquid data (default) - ---skipContinents [true|false] continents are maps 0 (Eastern Kingdoms), - 1 (Kalimdor), 530 (Outlands), 571 (Northrend) - - false: build continents (default) - ---skipJunkMaps [true|false] junk maps include some unused - maps, transport maps, and some other - - true: skip junk maps (default) - ---skipBattlegrounds [true|false] does not include PVP arenas - - false: skip battlegrounds (default) - ---debugOutput [true|false] create debugging files for use with RecastDemo - if you are only creating mmaps for use with MaNGOS, - you don't want debugging files - - false: don't create debugging files (default) - ---tile [#,#] Build the specified tile - seperate number with a comma ',' - must specify a map number (see below) - if this option is not used, all tiles are built - - [#] Build only the map specified by # - this command will build the map regardless of --skip* option settings - if you do not specify a map number, builds all maps that pass the filters specified by --skip* options - - -examples: - -movemapgen -builds maps using the default settings (see above for defaults) - -movemapgen --skipContinents true -builds the default maps, except continents - -movemapgen 0 -builds all tiles of map 0 - -movemapgen 0 --tile 34,46 -builds only tile 34,46 of map 0 (this is the southern face of blackrock mountain) diff --git a/contrib/vmap_assembler/CMakeLists.txt b/contrib/vmap_assembler/CMakeLists.txt deleted file mode 100644 index 22a7ada0d..000000000 --- a/contrib/vmap_assembler/CMakeLists.txt +++ /dev/null @@ -1,89 +0,0 @@ -# This code is part of MaNGOS. Contributor & Copyright details are in AUTHORS/THANKS. -# -# This file is free software; as a special exception the author gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the -# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -cmake_minimum_required (VERSION 2.8) - -project (MANGOS_VMAP_ASSEMB_IO) - -# uncomment next line to disable debug mode -ADD_DEFINITIONS("-DIOMAP_DEBUG") -ADD_DEFINITIONS("-DNO_CORE_FUNCS") - -ADD_DEFINITIONS("-Wall") -ADD_DEFINITIONS("-ggdb") -ADD_DEFINITIONS("-O3") - -include_directories(../../src/shared) -include_directories(../../src/game/vmap/) -include_directories(../../dep/include/g3dlite/) -include_directories(../../dep/ACE_wrappers/) -include_directories(../../objdir/dep/ACE_wrappers) -include_directories(../../src/framework/) - -add_library(g3dlite - ../../dep/src/g3dlite/AABox.cpp - ../../dep/src/g3dlite/Box.cpp - ../../dep/src/g3dlite/Crypto.cpp - ../../dep/src/g3dlite/FileSystem.cpp - ../../dep/src/g3dlite/format.cpp - ../../dep/src/g3dlite/Matrix3.cpp - ../../dep/src/g3dlite/Plane.cpp - ../../dep/src/g3dlite/System.cpp - ../../dep/src/g3dlite/Triangle.cpp - ../../dep/src/g3dlite/Vector3.cpp - ../../dep/src/g3dlite/Vector4.cpp - ../../dep/src/g3dlite/debugAssert.cpp - ../../dep/src/g3dlite/fileutils.cpp - ../../dep/src/g3dlite/g3dmath.cpp - ../../dep/src/g3dlite/g3dfnmatch.cpp - ../../dep/src/g3dlite/prompt.cpp - ../../dep/src/g3dlite/stringutils.cpp - ../../dep/src/g3dlite/Any.cpp - ../../dep/src/g3dlite/BinaryFormat.cpp - ../../dep/src/g3dlite/BinaryInput.cpp - ../../dep/src/g3dlite/BinaryOutput.cpp - ../../dep/src/g3dlite/Capsule.cpp - ../../dep/src/g3dlite/CollisionDetection.cpp - ../../dep/src/g3dlite/CoordinateFrame.cpp - ../../dep/src/g3dlite/Cylinder.cpp - ../../dep/src/g3dlite/Line.cpp - ../../dep/src/g3dlite/LineSegment.cpp - ../../dep/src/g3dlite/Log.cpp - ../../dep/src/g3dlite/Matrix4.cpp - ../../dep/src/g3dlite/MemoryManager.cpp - ../../dep/src/g3dlite/Quat.cpp - ../../dep/src/g3dlite/PhysicsFrame.cpp - ../../dep/src/g3dlite/Random.cpp - ../../dep/src/g3dlite/Ray.cpp - ../../dep/src/g3dlite/ReferenceCount.cpp - ../../dep/src/g3dlite/Sphere.cpp - ../../dep/src/g3dlite/TextInput.cpp - ../../dep/src/g3dlite/TextOutput.cpp - ../../dep/src/g3dlite/uint128.cpp - ../../dep/src/g3dlite/UprightFrame.cpp - ../../dep/src/g3dlite/Vector2.cpp - ) - -add_library(vmap - ../../src/game/vmap/BIH.cpp - ../../src/game/vmap/VMapManager2.cpp - ../../src/game/vmap/MapTree.cpp - ../../src/game/vmap/TileAssembler.cpp - ../../src/game/vmap/WorldModel.cpp - ../../src/game/vmap/ModelInstance.cpp - ) - -target_link_libraries(vmap g3dlite z) - -add_executable(vmap_assembler vmap_assembler.cpp) -target_link_libraries(vmap_assembler vmap) - -# add_executable(vmap_test coordinate_test.cpp) -# target_link_libraries(vmap_test vmap) diff --git a/contrib/vmap_assembler/README b/contrib/vmap_assembler/README deleted file mode 100644 index 0fc5373a4..000000000 --- a/contrib/vmap_assembler/README +++ /dev/null @@ -1,46 +0,0 @@ -Linux: - -1. Building - - cd to contrib/vmap_assembler/ and execute: - - $ cmake . - $ make - - You should now have an executable file vmap_assembler - -2. Assembling vmaps - - Use the created executable to create the vmap files for MaNGOS. - The executable takes two arguments: - - vmap_assembler - - Example: - $ ./vmap_assembler Buildings vmaps - - has to exist already and shall be empty. - The resulting files in are expected to be found in ${DataDir}/vmaps - by mangos-worldd (DataDir is set in mangosd.conf). - -########################### -Windows: - -1. Building - - Build the solution in contrib\vmap_assembler\ - Resulting binaries will be in contrib\vmap_assembler\bin\$(PlatformName)_$(ConfigurationName)\ - -2. Assembling vmaps - - Use the created executable (from command prompt) to create the vmap files for MaNGOS. - The executable takes two arguments: - - vmap_assembler.exe - - Example: - C:\my_data_dir\> vmap_assembler.exe Buildings vmaps - - has to exist already and shall be empty. - The resulting files in are expected to be found in ${DataDir}\vmaps - by mangos-worldd (DataDir is set in mangosd.conf). diff --git a/contrib/vmap_extractor/README b/contrib/vmap_extractor/README deleted file mode 100644 index a7bc945c6..000000000 --- a/contrib/vmap_extractor/README +++ /dev/null @@ -1,42 +0,0 @@ -Linux: - -1. Building - - Because vmap_extractor depends on libmpq for reading mpq files, you will have - to build libmpq prior to vmap_extractor. Therefore cd to dep/StormLib and execute: - - $ ./autogen.sh - $ ./configure - $ make - - After that, cd to contrib/vmap_extractor/ and execute: - - $ cmake . - $ make - - You should now have an executable file at vmapextract/vmapextractor - -2. Extracting - - Use the created executable to extract model information. Change the data path if - needed. - - $ vmapextract/vmapextractor -d /mnt/windows/games/wow/Data/ - - Resulting files will be in ./Buildings - -########################### -Windows: - -1. Building - - Just build the solution in contrib\vmap_extractor\win - Resulting binaries will be in contrib\vmap_extractor\bin\$(PlatformName)_$(ConfigurationName) - -2. Extracting - - Use the created executable (from command prompt) to extract model information. - It should find the data path for your client installation through the windows registry, - but the data path can be specified with the -d option. - - Resulting files will be in .\Buildings diff --git a/dep/ACE_wrappers/ACE-INSTALL.html b/dep/ACE_wrappers/ACE-INSTALL.html deleted file mode 100644 index 6ac91442f..000000000 --- a/dep/ACE_wrappers/ACE-INSTALL.html +++ /dev/null @@ -1,3048 +0,0 @@ - - - Building and Installing ACE and Its Auxiliary Libraries and Services - - - - - -
-

Building and Installing ACE and Its Auxiliary Libraries and Services

- -

Synopsis

- -The file explains how to build and install ACE, its Network Services, -test suite and examples on the various OS platforms and compilers that -it has been ported to. Please consult the NEWS and -ChangeLog files to see whether any recent changes -to the release will affect your code. In addition, you should check -out our development -process. As you start working with ACE, we suggest you get copies -of the C++NPv1, C++NPv2, and -APG books to help -guide you after you've built and installed ACE. You should also -consult the ACE -Frequently Made Mistakes page. If you encounter any problems or -would like to request an enhancement, then use our bug -tracking system to submit a report in accordance with our bug -report process.

- -

Document Index

- - - - -


-

Platforms, C++ Compilers, and Support

- -

ACE has been ported to a large number of platforms using many different -compilers over the years. -The DOC group, -Riverace, -OCI, -Remedy IT, and members of the ACE -user community have all contributed ports to make ACE the successful -and far-reaching toolkit it is today. Any UNIX/POSIX/Windows -variation is probably an easy target platform for ACE. If you have -porting questions or have a problem -compiling the ACE source distribution, please contact one of the -commercial support companies, or send a copy of the -PROBLEM-REPORT-FORM, located in the -ACE_wrappers directory, to either the ACE -Newsgroup or the ace-users -mailing list. -The DOC groups at Washington University, UC Irvine, and Vanderbilt -University provide only "best effort" support for non-sponsors for the -latest release, as described in -docs/ACE-bug-process.html. -Thus, if you need more "predictable" help, or help with earlier versions of -ACE, it's recommend that you check out the -list of -commercial support companies for additional assistance. -

-

The responsibility for maintaining ACE across the wide range of -supported platforms is divided among a few different groups: -

    -
  • The DOC group maintains platforms used in the course of their research -and sponsored work
  • -
  • Companies that provide support (Riverace, OCI, and Remedy IT), maintain -platforms they support in the course of their various service offerings
  • -
  • The ACE user community maintains any other desired platforms.
  • -
-The -build scoreboard -records the current status of build and regression testing during -development by all of the above groups. It is available to all users wishing -to provide build results. Members of the ACE community that maintain ACE on -platforms not maintained by the DOC group, Riverace, OCI, or Remedy IT are -encouraged to provide build and regression test results for the scoreboard -to ensure that all in-use platforms are represented. -See the autobuild README for more information about -how to set up a build; contact one of the above groups to inquire about how -to get your build results recorded on the scoreboard.

-

Because older -platforms that are not maintained tend to fall into a broken state and -clutter the ACE sources with code that is no longer used, the development -team reserves the right to remove ACE configuration files and source code -specific to inactive platform configurations that are not -listed on the scoreboard.

-

The table below summarizes each group's role and where you can get more -detailed information. For information on TAO's platform coverage and -support, please also see TAO's install -document.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Groups Involved in ACE Development and Support
GroupPlatformsFor more information
DOC GroupWindows 2000, XP (MSVC++ 7.1, 8, 9, and 10); - many versions of Linux/Intel (many compilers). - DOC sites at ISIS, - UCI and - Washington University -
RiveraceOffers ACE - training, - support and - consulting services - for many platforms including AIX, HP-UX, Linux, Solaris, and Windows. - Riverace's ACE - Support page.
OCIMaintains ACE on certain platforms required for their TAO - software and service offerings. - OCI's web site and - the TAO install document
Remedy ITMaintains ACE on many platforms required for their ACE and - TAO service offerings. We support AIX, - CodeGear C++ Builder 2007/2009, CodeGear RAD Studio 2007, Embarcadero C++ Builder 2010, - CBuilderX 1.0, Windows CE, MinGW, Microsoft Visual C++ 7.1/8/9/10, GCC, - Cygwin, VxWorks 5.5.x - 6.x (kernel and rtp), OpenVMS 8.2-1 & 8.3 on Alpha and IA64, - BlueCAT Linux, RedHat Linux, Fedora, MacOSX, Solaris, - Tru64, SuSE Linux on Alpha/IA32/EM64T/IA64, RTEMS, QNX, LynxOS 4.0/4.2, - HPUX 11i v1/v2 32/64 bit on PA-RISC, and - HPUX 11i v2/v3 on IA64. The Intel C++ compiler is supported on - Windows 32/64bit, Linux IA32/EM64T/IA64, MacOSX. - Remedy IT web site and - the TAO install document -
PrismTechMaintains ACE on certain platforms required for their TAO - software and service offerings, including LynxOS. - PrismTech's web site
ACE user communityResponsible for continued maintenance and testing of platforms - to which ACE has been ported, but aren't supported by the - above groups. These include - Digital UNIX (Compaq Tru64) 4.0 and 5.0; - IRIX 6.x; UnixWare 7.1.0; - Linux on PPC; OpenMVS; - Tandem; SCO; FreeBSD; NetBSD; OpenBSD; - Macintosh OS X; OS/9; PharLap ETS 13; - QNX RTP and Neutrino 2.0; Interix (Windows Services for Unix) -
Not maintainedThe following platforms have been ported to in the past but are - no longer maintained and may be removed from ACE at any time. - If you want to have support for these environments contact one - of the commercial support organisations. The platforms include: - Chorus; DG/UX; HP-UX 9, 10 and 11.00; pSOS; - SunOS 4.x and Solaris with SunC++ 4.x; VxWorks 5.4 and earlier; - Microsoft Visual C++ 5, 6, and 7.0; Borland C++ Builder 4, 5, 6, and 2006. - For up-to-date listings on platform that are deprecated and pending - removal from ACE, please see the NEWS file. -

- -

Although the DOC group has provided outstanding support for ACE -over the years, ACE's success has greatly increased the amount of -effort required to keep up with its maintenance, answer users' -questions, and give design guidance. Riverace offers world-class -commercial services to support ACE users. OCI, PrismTech, and Remedy -offer similar services for TAO, allowing the DOC group's primary focus -to shift back to their main goal: research. The DOC group is -fundamentally focused on (and funded -by) advanced R&D projects. The group continues to be -intimately involved in ACE+TAO development and maintenance, but with -revised priorities for maintenance. The bug -fixing policies followed by the DOC group are designed to strike a -balance between their many research -projects and their commitment to the ACE+TAO user -community. Naturally, we will be happy to accept well-tested -patches from the ACE+TAO user community for any platforms that aren't -supported by the DOC group, Riverace, OCI or Remedy IT.

- -


-

Installation prerequisites

- -

ACE (as well as TAO and CIAO) use MPC -(MakeProjectCreator) to generate files used by all supported build -tools (such as GNUmakefiles for UNIX based platforms, sln and vcproj -files for VC71/VC8 and Embarcadero makefiles) on various platforms. To -help new users to bootstrap quickly the release bundles of ACE (as -well as TAO and CIAO) include all needed files to use the build -instructions in this document. - -

-

-If it is necessary to generate -files for build tools for other compilers, one must -run MPC to generate the -appropriate files. Please see USAGE, README, and README for ACE files for -details. The options that have been used to generate the above build -files can be found in -global.features file. -

- -
-

Building and Installing ACE

- -The following sections explain how to build ACE on: - - -

General Rules

-
    -
  • Many features in ACE can be modified by defining some macros in - $ACE_ROOT/ace/config.h. These macros should - always appear before including - your platform specific config file.

    -
  • However, if you want to undefine/redefine macros defined in the - platform specific config file, these #undef should - come after the config file.

    -
  • If you're planning to build ACE on multiple platforms, you may - want to consider cloning the source tree - before you start.

    -

- -
-

Building and Installing ACE on UNIX

- -As of ACE 5.4, you can choose between two methods of building ACE on -UNIX: -
    -
  1. GNU Autoconf
  2. -
  3. Traditional ACE/GNU Make Configuration
  4. -
-The build process for Windows is different from both of -the UNIX methods. - -

Building ACE with GNU Autoconf

-

-GNU Autoconf support is available in the ACE and ACE+TAO distributions -in the DOC group website. Support for Autoconf is not included in -distributions that contain CIAO. -

-

-GNU Autoconf support has been partially present in a number of ACE -versions. However, ACE 5.4 was the first version that supported it in -earnest. The range of platforms on which GNU autoconf support is regularly -tested is not as broad as for the traditional configuration method, so you -should be careful to test the resulting ACE library before using it in -your applications. You can review the - -build scoreboard to check the currently tested set of autoconfigured -platforms (look for autoconf in the platform name). -Any help you can lend to improve the ACE build process using GNU Autoconf -would be very much appreciated. Please send any fixes to the -ACE users mailing list -using the standard PROBLEM-REPORT-FORM. -

-

-The kit has been bootstrapped so you do not need to install the GNU -Autotools (autoconf, automake, libtool) unless you want to participate -in testing and developing this -process further or if you are working directly off of sources in the -ACE subversion repository. To simply configure and build ACE, do: -

    -
  1. cd to the top-level ACE_wrappers directory.
  2. -
  3. Create a subdirectory to hold your build's configuration and built - ACE version, and then change to the new directory: -
           mkdir build
    -       cd build
    - Note that you do not run the create_ace_build.pl utility - mentioned in the Cloning the Source Tree - section. The configure script takes care of creating all files - and links that are needed.
  4. -
  5. Configure ACE for your platform by issuing the following command: -
           ../configure [options]
    - options can be a variable setting (such as setting - CXX to your C++ compiler command) any standard GNU - configure options, or any of the following ACE configure options - (default values are in parentheses): -
      -
    • --enable-alloca (no): Enable alloca() - support.
    • -
    • --enable-debug (yes): Build ACE with debugging - support.
    • -
    • --enable-exceptions (yes): Build ACE with C++ - exception support compiled in.
    • -
    • --enable-fast (no): Use the Sun C++ -fast - option to build. Only used on Solaris.
    • -
    • --enable-ipv4-ipv6 (no): Enable IPv4/IPv6 migration support.
    • -
    • --enable-ipv6 (no): Enable IPv6 support.
    • -
    • --enable-inline (yes): Enable inline functions.
    • -
    • --enable-optimize (yes): Enable building optimized.
    • -
    • --enable-prof (no): Enable profiling support.
    • -
    • --enable-purify (no): Build with support for - IBM Rational Purify.
    • -
    • --enable-quantify (no): Build with support for - IBM Rational Quantify.
    • -
    • --enable-repo (no): Enable the GNU g++ - -frepo option. Only useful for pre-3.0 g++.
    • -
    • --enable-stdcpplib (yes): Build with support for the - standard C++ library, as opposed to the older iostreams library.
    • -
    • --enable-log-msg-prop (yes): Enable - ACE_Log_Msg property propagation to ACE-created - threads.
    • -
    • --enable-logging (yes): Enable the ACE logging - macros.
    • -
    • --enable-malloc-stats (no): Compile in additional code - for collecting memory allocation statistics.
    • -
    • --enable-pi-pointers (yes): Enable - position-independent pointers for shared memory classes.
    • -
    • --enable-probe (no): Enable the - ACE_Timeprobe class.
    • -
    • --enable-reentrant (yes): Enable use of platform's - reentrant functions.
    • -
    • --enable-static-obj-mgr (yes): Enable use of a - static ACE_Object_Manager.
    • -
    • --enable-threads (yes): Enable threading support.
    • -
    • --enable-verb-not-sup (no): Enable verbose ENOTSUP - reports at run time.
    • -
    • --enable-trace (no): Enable ACE execution tracing - support.
    • -
    • --enable-fl-reactor (no): Enable support for the - ACE_FlReactor class.
    • -
    • --enable-qt-reactor (no): Enable support for the - ACE_QtReactor class.
    • -
    • --enable-tk-reactor (no): Enable support for the - ACE_TkReactor class.
    • -
    • --enable-xt-reactor (no): Enable support for the - ACE_XtReactor class.
    • -
    • --enable-gperf (yes): Build the implementation of - gperf that comes with ACE.
    • -
    • --enable-qos (no): Include the ACE_QoS library when - building ACE.
    • -
    • --enable-ssl (yes): Include the ACE_SSL library when - building ACE. Requires the SSL components to be available using the - compiler's and linker's default search directories.
    • -
    • --with-openssl: Specifies the root directory of the - OpenSSL installation; expects the specified directory to have - include and lib subdirectories. To - specify other locations for the header and libraries, use one or - both of the following.
    • -
    • --with-openssl-include: Specify the directory - containing the OpenSSL header files.
    • -
    • --with-openssl-libdir: Specify the directory - containing the OpenSSL libraries.
    • -
    • --with-tli-device (/dev/tcp): Specifies the device - name for opening a TLI device at run time.
    • -
    -
  6. -
  7. Build ACE by typing make. -
  8. (Optional) Install ACE by typing make install. -
- -

Testing and Developing GNU Autotool -Support in ACE

-

-In order to test and develop the GNU Autotool support in ACE or -bootstrap autotool support into ACE when working directly off of ACE -sources in the subversion repository, you must have recent versions of GNU -Autoconf, Automake and Libtool installed on your host. Once -installed, autotool support may be bootstrapped into your workspace by -doing the following: -

- - cd ACE_wrappers
- ./bin/bootstrap
-
-
-After doing so, you will be able to run the configure -script. - -

Using the Traditional ACE/GNU Configuration

-

-Here's what you need to do to build ACE using GNU Make and ACE's traditional -per-platform configuration method:

- -
    -
  1. Install GNU make - 3.79.1 or greater on your system (available via http - anonymous ftp from ftp.gnu.org in the - pub/gnu/make/ directory). - You must use GNU make when using ACE's traditional - per-platform configuration method or ACE won't compile. -
  2. -
  3. Add an environment variable called ACE_ROOT that contains the - name of the root of the directory where you keep the ACE wrapper - source tree. The ACE recursive Makefile scheme needs this information. - There are several ways to set the ACE_ROOT variable. For example: -
    - TSCH/CSH: - setenv ACE_ROOT /home/cs/faculty/schmidt/ACE_wrappers -
    -
    - BASH or Bourne Shell: - ACE_ROOT=/home/cs/faculty/schmidt/ACE_wrappers; export ACE_ROOT - -
    -

    - If you're building a number of versions of ACE, however, (e.g., for - different OS platforms or for different releases of ACE) you might use - the following approach (assuming TCSH/CSH): -

    setenv ACE_ROOT $cwd -
    -
  4. -
  5. Create a configuration file, $ACE_ROOT/ace/config.h, - that includes the appropriate platform/compiler-specific - header configurations from the ACE source directory. For example: -
    -#include "ace/config-linux.h" -
    - The platform/compiler-specific configuration file - contains the #defines that are used throughout ACE to indicate - which features your system supports. See the - $ACE_ROOT/ace/README file for a description of these - macro settings. If you desire to add some site-specific or build-specific - changes, you can add them to your config.h file; place them - before the inclusion of the platform-specific - header file. -

    - There are config files for most versions of UNIX. If there - isn't a version of this file that matches your - platform/compiler, you'll need to make one. Please send email - to the ace-users list - if you get it working so it can be added to the master ACE - release.

    -
  6. - -
  7. Create a build configuration file, - $ACE_ROOT/include/makeinclude/platform_macros.GNU, - that contains the appropriate platform/compiler-specific - Makefile configurations, e.g., -
    -include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU -
    - This file contains the compiler and Makefile directives that are - platform/compiler-specific. If you'd like to add make options, you - can add them before including the platform-specific configuration.

    - NOTE! There really is not a # character before 'include' in the - platform_macros.GNU file. # is a comment character. -

  8. -
  9. If you wish to install ACE (using "make install"), set the - installation prefix in platform_macros.GNU. -
    -INSTALL_PREFIX = /usr/local -
    - Headers will be installed to $INSTALL_PREFIX/include, executables to - $INSTALL_PREFIX/bin, documentation and build system files to - $INSTALL_PREFIX/share and libraries to $INSTALL_PREFIX/lib. The library - directory can be customized by setting INSTALL_LIB (for example, - INSTALL_LIB=lib64). With INSTALL_PREFIX set, RPATH will be enabled for - all executables and shared libraries. To disable RPATH (for example, - if $INSTALL_PREFIX/$INSTALL_LIB is already a system-known location for - shared libraries such as those listed in /etc/ld.so.conf), set the make - macro install_rpath to 0 by adding install_rpath=0 to platform_macros.GNU. -
  10. -
  11. Note that because ACE builds shared libraries, you'll need to set - LD_LIBRARY_PATH (or equivalent for your platform) to the directory - where binary version of the ACE library is built into. For example, - you probably want to do something like the following: -
    - % setenv LD_LIBRARY_PATH $ACE_ROOT/lib:$LD_LIBRARY_PATH
    -
  12. -
  13. When all this is done, hopefully all you'll need to do is type: -
    - % make
    - at the ACE_ROOT directory. This will build the ACE - library, tests, the examples, and the sample applications. - Building the entire ACE release can take a long time and consume - lots of disk space, however. Therefore, you might consider - cd'ing into the $ACE_ROOT/ace directory and - running make there to build just the ACE library. - As a sanity check, you might also want to build and run the - automated "one-button" tests in - $ACE_ROOT/tests. Finally, if you're also - planning on building TAO, you - should build the gperf - perfect hash function generator application in - $ACE_ROOT/apps/gperf. -
  14. -
  15. If you've set the INSTALL_PREFIX before building, now run -
    % make install
    -
  16. -
  17. If you need to regenerate the ace/Svc_Conf_y.cpp file, - you'll need to - get GNU Bison. - However, you should rarely, if ever, need to do this. -
  18. -
- -
- -

Building and Installing ACE on Windows

- -

This section contains instructions for building ACE on Microsoft -Windows with a variety of compilers and development environments.

- -

First, if you are upgrading from an older release, the recommended practice -is to start with a clean directory. Unpacking the newer release over an older -one will not clean up any old files, and trying to use the environment's -"Clean" command will probably not account for all existing files.

- - - -


-

Building and Installing ACE on Windows with -Microsoft Visual Studio

- -

ACE contains project files for Microsoft Visual Studio .NET 2005 (VC8) -, Visual Studio 2009 (VC9), and Visual Studio 2010 (VC10). -Visual Studio 2005 supports building for -desktop/server Windows as well as for Windows CE and Windows Mobile. Since -not all users will be interested in the CE/Mobile capability, these platforms -have separate solution and project files from the desktop/server Windows. -Furthermore, VC7.1, VC8, VC9, and 10 use different file formats but the same file -suffixes (.sln and .vcproj). To support both -environments, ACE supplies files with different names for the different -development and target platforms. The platform/name mapping is shown below. -All solution files have a .sln suffix and all project files have -a .vcproj suffix.

- -

-The free Visual C++ 2008 Express Edition will work in place of the traditional -Visual Studio editions. All the other notes in this document -that are for VC8 / VC9 also apply to the express edition. MFC, 64-bit, and -CE/mobile options are not available with the express edition. 64-bit binaries -can be built with the compiler and linker included in the Windows SDK, using nmake as the build system (generate nmake makefiles with mwc.pl -type nmake).

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Mapping of Platform to Solution/Project File Name
PlatformFile Name
VC7.1name_vc71 -
VC8 for desktop/servername_vc8 -
VC8 for Windows CE/Mobilename_WinCE -
VC9 for desktop/servername_vc9 -
VC10 for desktop/servername_vc10 -
- -

The VC++ compiler and linker can now be invoked from GNU make just like -most UNIX builds. Follow the instructions in the -ACE/GNU Configuration sections and see the additional information in the -comments of -platform_win32_msvc.GNU. -

- -

If you happen to open a VC7.1 file from within VC8, it will offer to convert -the file to the newer format for you. With the stock VC8, do not do this; -Visual Studio will crash while attempting to convert the large -solution and project files to build ACE. Simply refuse the conversion and -open the file with the correct format. Note that Microsoft has fixed this -problem. See - -https://msdn.microsoft.com/visualc/downloads/default.aspx for information. -

- -
    -
  1. Uncompress the ACE distribution into a directory, where it will - create a ACE_wrappers directory containing the distribution. The - ACE_wrappers directory will be referred to as ACE_ROOT in the - following steps -- so ACE_ROOT\ace would be C:\ACE_wrappers\ace if - you uncompressed into the root directory.
    -
    -
  2. Create a file called config.h in the ACE_ROOT\ace - directory that contains:
    -
    - #include "ace/config-win32.h"
    -
    - -
  3. The static, DLL and MFC library builds are kept in - different workspaces. Files with names *_Static contain project - files for static builds. Workspaces for static and DLL builds will be - available through the stock release at DOC group's website. The - workspaces for MFC are not available and have to be generated using - MPC. Please see MPC's README for - details.

    -
  4. Now load the solution file for ACE (ACE_ROOT/ACE.sln).
    -
    -
  5. Make sure you are building the configuration (i.e, Debug/Release) - the one you'll use (for example, the debug tests need the debug - version of ACE, and so on). All these different configurations are - provided for your convenience. You can either adopt the scheme to - build your applications with different configurations, or use - ace/config.h to tweak with the default settings on - NT.
    Note: If you use the dynamic libraries, - make sure you include ACE_ROOT\lib in your PATH whenever you run - programs that uses ACE. Otherwise you may experience problems - finding ace.dll or aced.dll.
    -
    -
  6. To use ACE with MFC libraries, also add the following to - your config.h file. Notice that if you want to - spawn a new thread with CWinThread, make sure you spawn the - thread with THR_USE_AFX flag set.
    -
    - #define ACE_HAS_MFC 1
    -
    - By default, all of the ACE projects use the DLL versions of the - MSVC run-time libraries. You can still choose use the static (LIB) - versions of ACE libraries regardless of run-time libraries. The - reason we chose to link only the dynamic run-time library is that - almost every NT box has these library installed and to save disk - space. If you prefer to link MFC as a static library into ACE, you - can do this by defining ACE_USES_STATIC_MFC in your - config.h file. However, if you would like to link - everything (including the MSVC run-time libraries) statically, - you'll need to modify the project files in ACE yourself.

    -

  7. Static version of ACE libraries are built with - ACE_AS_STATIC_LIBS
    defined. This macro should - also be used in application projects that link to static ACE - libraries
    -
    - Optionally you can also add the line
    -
    - #define ACE_NO_INLINE
    -
    - before the #include statement in ACE_ROOT\ace\config.h to disable - inline function and reduce the size of static libraries (and your - executables.)
    -
    -
  8. ACE DLL and LIB naming scheme:
    -
    - We use the following rules to name the DLL and LIB files in ACE - when using MSVC.
    -
    - "Library/DLL name" + (Is static library ? "s" : - "") + (Is Debugging enable ? "d" : "") - + {".dll"|".lib"}
    -
    -
- -

More information for ACE/TAO on MSVC can be found -here. The doxygen version of this -document is available under Related Topics in the ACE Library.

- -ACE TESTS

- -The tests are located in ACE_ROOT\tests. There is also a solution in -that directory to build all the tests (tests.sln)

- -Once you build all the tests (Batch Build works well for this), you -can run perl script run_test.pl in the -tests directory to try all the tests.

- - - BUILDING ACE ON A WIN32 MACHINE THAT LACKS A NETWORK CARD

- -You may want to run ACE on a non-networked machine. To do so, you must -install TCP/IP and configure it to ignore the absence of a network -card. This is one method: - -

    -
  1. Run Control Panel -
  2. Choose Network from Control Panel -
  3. Add Adapter: MS Loopback Adapter -
  4. Configure MS Loopback Adapter with 802.3 (default) -
  5. Add Protocol: TCP/IP Protocol -
  6. Configure TCP/IP Protocol with a valid IP address and subnet mask. - Leave everything else at the default settings. -
  7. Add Service: Workstation -
  8. Exit and Restart System -
  9. Run Control Panel again -
  10. Choose Services from Control Panel -
  11. The following services are not necessary and may - be set to Disabled Startup:
    - Alerter
    - Computer Browser
    - Net logon
    - Messanger
    -
  12. Choose Network from Control Panel -
  13. Confirm the following setup. This is all you need to run ACE:
    - Installed Software:
    - Computer Browser
    - MS Loopback Adapter Driver
    - TCP/IP Protocol
    - Workstation
    - Installed Adapter Cards:
    - MS Loopback Adapter

    -

- -WIN32 ALPHA CONFIGURATIONS - -

The project files for Visual C++ no longer contain any configurations -targetted to Windows NT on the DEC Alpha. Below are the steps needed to -recreate the Alpha configurations:

- -
    -
  1. Load the project on the Alpha machine. -
  2. Go to the Build menu and then select Configurations. -
  3. Select the project that you want to convert. -
  4. Click on Add. -
  5. Select the x86 configuration to "Copy settings from" - (either Debug or Release versions). -
  6. Prepend "Alpha " to the beginning of the name under - "Configuration". -
  7. Click OK. -
  8. Close the "Configurations" window. -
  9. Now go to the Project settings. -
  10. For the General Settings, change the output directories to standard ACE - output directories. Intermediate Directories are "Debug" and - "Release" in most cases. The Output Directories are blank, - except for Release versions of executables, in which it is also - "Release". -
  11. For the C/C++ Settings, make sure that the Code Generation's runtime - library is set to "Multithreaded DLL" or "Debug Multithreaded - DLL". -
- -

Note: MSVC 6 has a bug where if a .dsp is converted from version 5 to 6 on -x86, the Alpha configuration can get corrupted. This seems to happen when additional -include or library directories are specified using backslashes instead of forward -slashes. If this occurs, the easiest way to fix it is to recreate it.

- -

 

-

Building and Installing ACE on Windows with Embarcadero C++

- -If you are building for a machine without a network card, you may want -to check here first.

- -

    -
  1. Uncompress the ACE distribution into a directory, where it will - create an - ACE_wrappers directory containing the source. The ACE_wrappers - directory will be referred to as ACE_ROOT in the following steps -- so - ACE_ROOT\ace would be C:\ACE_wrappers\ace if you uncompressed into the - root directory.
    -
    -
  2. Create a file called config.h in the ACE_ROOT\ace - directory that contains:
    -
    - #include "ace/config-win32.h"
    -
    -
  3. Open a Command Prompt (DOS Box).
    -
    -
  4. Set the ACE_ROOT environment variable to point to the ACE_wrappers - directory. For example:
    -
    - set ACE_ROOT=C:\ACE_wrappers
    -
    -
  5. Add ACE_wrappers\lib and ACE_wrappers\bin to the PATH environment variable:
    -
    - set PATH=C:\ACE_wrappers\lib;C:\ACE_wrappers\bin;%PATH%
    -
    -
  6. Generate the bmake makefiles using MPC. Use the bmake project type for C++ Builder. -

    -
  7. Change to the ACE_ROOT\ace directory.
    -
    -
  8. Build release DLLs for ACE by going:
    -
    - make -f Makefile.bmak all
    -
    -
  9. You can build several different versions of ACE by setting environment - variables before you run make:
    -
    - Set the environment variable below to build a debug version of ACE
    - set DEBUG=1
    -
    - Set the environment variable below to build a unicode version of ACE
    - set UNICODE=1
    -
    - Set the environment variable below to build a version of ACE with - Codeguard support. Should only be used when DEBUG is also set
    - set CODEGUARD=1
    -
    - Set the environment variable below to build a version of ACE optimized - for a certain CPU. For this there are special compiler flags - (-3/-4/-5/-6), see the Embarcadero help for more info.
    - set CPU_FLAG=-6
    -
    - You can then start the build with the command -
    make -f Makefile.bmak all
    -
    - You may also enable the options by passing them as command line options to make, for example:
    - make -f Makefile.bmak -DDEBUG all
    -
    -
- -

- -Note that when you run make in a sub directory you give make -f Makefile.bmak all. The all is needed to make sure the complete project is build.

- -The Borland/CodeGear/Embarcadero C++ Builder 4.0/5.0/6.0/2006/2007/2009/2010 port has been done by Jody Hagins, Christopher Kohlhoff and Johnny Willemsen.

- -ACE TESTS

- -Before you can build the tests you need to build the protocols directory. -Change the directory to ACE_ROOT\protocols and start the build with:

-

-make -f Makefile.bmak all -

- -The tests are located in ACE_ROOT\tests, change to this directory. -You build then the tests with the following command:

-

-make -f Makefile.bmak all -

- -Once you build all the tests, you can run the automated test script using:

-

perl run_test.pl

in the -tests directory to try all the tests. You need to make -sure the ACE bin and lib directory (in this case -ACE_ROOT\bin and ACE_ROOT\lib) -are on the path before you try to run the tests.

- -


-

Building and Installing ACE on Win32 with MinGW/ MSYS

- -

-If you are building for a machine without a network card, you may want -to check here first. - -

-Building and installing ACE on MinGW -uses a mix of a UNIX building process and -Win32 configuration files. -Also, as MinGW uses GNU g++, you may want to take -a look at the Compiling ACE with GNU g++ section. - -

-You will need the MinGW build tools and libraries, downloable from -http://www.mingw.org. - -
-For our build we require the packages -MinGW and MSYS. - -

    - -
  1. Install the MinGW tools into a common directory, say c:/mingw. -

    - -
  2. Install the MSYS tools into a common directory, say c:/msys. -

    - -
  3. Open a MSYS shell. Set your PATH environment variable so - your MinGW's bin directory is first: - -
           % export PATH=/c/mingw/bin:$PATH
    -       
    - -
  4. Add an ACE_ROOT environment variable pointing to the - root of your ACE wrappers source tree: - -
           % export ACE_ROOT=/c/work/mingw/ACE_wrappers
    -       
    - - From now on, we will refer to the root directory of the ACE - source tree as $ACE_ROOT. -

    - -
  5. Create a file called config.h in the - $ACE_ROOT/ace directory that contains: - -
           #include "ace/config-win32.h"
    -       
    - -
  6. Create a file called platform_macros.GNU in the - $ACE_ROOT/include/makeinclude directory containing: - -
           include $(ACE_ROOT)/include/makeinclude/platform_mingw32.GNU
    -       
    - - In the above text, don't replace $(ACE_ROOT) with the - actual directory, GNU make will take the value from the - environment variable you defined previously. - -

    - If you lack Winsock 2, add the line - -

           winsock2 = 0
    -       
    - - before the previous one. -

    - -
  7. In the MSYS shell, change to the $ACE_ROOT/ace directory and - run make: - -
           % cd $ACE_ROOT/ace
    -       % make
    -       
    - -

    - This should create libACE.dll (the Win32 shared library) and - libACE.dll.a (the Win32 import library for the DLL). - Note that the name for the ACE DLL follows the MinGW convention, which itself - resembles UNIX. - -

    - If you want static libs also, you may run: - -

           % make static_libs=1
    -       
    - -
  8. - The same rules for Win32 search of DLLs apply for MinGW. If you - want to run some ACE programs from the MSYS shell, you may - need to add the directory for libACE.dll to your PATH: - -
           % export PATH=/c/work/mingw/ACE_wrappers/ace:$PATH
    -       
    - -
- -ACE TESTS

- -The tests are located in $ACE_ROOT/tests. -After building the library, you can change to that directory and run -make: - -

       % cd $ACE_ROOT/tests
-       % make
-       
- -

-Once you build all the tests, you can run -run_tests.pl in the -tests directory to try all the tests: - -

       % perl run_test.pl
-       
- -

-If you are using ACE as a DLL, you will need to modify your PATH -variable as explained above. - -

-You may want to check $ACE_ROOT/tests/README for the status -of the various tests on MinGW and the different Windows flavors. - -


-

Building and Installing ACE on Win32 with Cygwin

- -

-If you are building for a machine without a network card, you may want -to check here first. - -

-Building and installing ACE on Cygwin -uses the UNIX building process. -Also, as Cygwin uses GNU g++, you may want to take -a look at the Compiling ACE with GNU g++ section. - -

-You will need the Cygwin build tools and libraries, downloable from -http://www.cygwin.com. -For our build we require the following packages besides the packages the -setup selects by default: - -

-gcc (version 3.3.3), cygserver, make, perl, binutils. -
- -
    - -
  1. Install Cygwin (this can be easy downloading and running - setup.exe - from the Cygwin site). For working with ACE we recommend - to select DOS as default text file type. -

    - -
  2. Open a Cygwin shell. Set your PATH environment variable so - your Cygwin bin directory is first: - -
           % export PATH=//c/cygwin/bin:$PATH
    -       
    - - or - -
           % export PATH=/cygdrive/c/cygwin/bin:$PATH
    -       
    - -

    - Note Cygwin uses ``/'' as directory separator, - and ``//X'' as a notation for Win32 drive X. - Note also that you can't use ``c:/cygwin/bin'' - because, for Cygwin, - ``:'' is path separator character, as in UNIX. -

    - -

  3. Add an ACE_ROOT environment variable pointing to the - root of your ACE wrappers source tree: - -
           % export ACE_ROOT=c:/work/cygwin/ACE_wrappers
    -       
    - -

    - Note here you can't use the ``//X'' Cygwin - notation as this is seen by Cygwin's compiler and it doesn't - support that (it does support ``/'' as directory - separator however). - -

    - From now on, we will refer to the root directory of the ACE - source tree as $ACE_ROOT. -

    - -

  4. Create a file called config.h in the - $ACE_ROOT/ace directory that contains: - -
           #include "ace/config-cygwin32.h"
    -       
    - -
  5. Create a file called platform_macros.GNU in the - $ACE_ROOT/include/makeinclude directory containing: - -
           include $(ACE_ROOT)/include/makeinclude/platform_cygwin32.GNU
    -       
    - - In the above text, don't replace $(ACE_ROOT) with the - actual directory, GNU make will take the value from the - environment variable you defined previously. - -
  6. On the Cygwin shell, change to the $ACE_ROOT/ace directory and - run make: - -
           % cd $ACE_ROOT/ace
    -       % make
    -       
    - -

    - This should create libACE.dll (the Win32 shared library) and - libACE.dll.a (the Win32 import library for the DLL). - Note the name for the ACE DLL on Cygwin follows the UNIX convention. -

    - -

    - If you want static libs also, you may run: - -

           % make static_libs=1
    -       
    - -
  7. - The same rules for Win32 search of DLLs apply for Cygwin. If you - want to run some ACE programs from the Cygwin shell, you may - need to add the directory for libACE.dll to your PATH: - -
           # export PATH=//c/work/cygwin/ACE_wrappers/ace:$PATH
    -       
    - - If you are using MPC-generated Makefiles, then the DLLs have been - placed in the lib directory instead of ace and thus your PATH - addition would need to look like this: - -
           # export PATH=//c/work/mingw/ACE_wrappers/lib:$PATH
    -       
    - - -
- -ACE TESTS

- -The tests are located in $ACE_ROOT/tests. -After building the library, you can change to that directory and run -make: - -

       % cd $ACE_ROOT/tests
-       % make
-       
- -

-Once you build all the tests, you can run -run_tests.pl in the -tests directory to try all the tests: - -

       % perl run_test.pl
-       
- -

-If you are using ACE as a DLL, you will need to modify your PATH -variable as explained above. - -

-You may want to check $ACE_ROOT/tests/README for the status -of the various tests on Cygwin and the different Windows flavors. -

- -

-
- -

-

Building and Installing ACE on Win32 with Interix

-

Interix comes with a BSD style make; you need GNU make. -Make builds easily under Interix or there is a prebuilt -package at:

-

http://www.interopsystems.com/tools/warehouse.htm

-

If you are building for a machine without a network -card, you may want to check here first.

-

This port was built and tested under Interix 3.5. a.k.a. -Windows -Services for UNIX 3.5.

-

To build follow the Traditional ACE/GNU Make -Configuration instructions replacing the following include directives:

-

#include -"ace/config-win32-interix.h"

-

for the config.h header

-

and:

-

include -$(ACE_ROOT)/include/makeinclude/platform_win32_interix.GNU

-

for your platform_macros.GNU file.

-

ACE should build fine with just 'make', the only other option tried thus far is -'make static_libs_only=1' which also works. Any -other options may not work.

-

ACE TESTS

-

The tests are located in $ACE_ROOT/tests. After building the library, you can -change to that directory and run make:

-

% cd $ACE_ROOT/tests
% make -

Once you build all the tests, you can run run_test.pl in the tests directory to try all the tests:

-

% run_test.pl

-

If you are using ACE as a shared library, you will need -to modify your LD_LIBRARY_PATH as explained inTraditional ACE/GNU Make Configuration.

-

- -


-

Building and Installing ACE on VxWorks

-For the most part, you should be able to follow the instructions above -to build ACE and applications that use it. Start with the -Unix instructions above to build ACE and the -applications that use it. Please see below for more information on -building ACE on NT hosts for VxWorks targets.

- -A few notes on VxWorks builds (thanks to -Paul von Behren and -Remedy IT for these notes):

-

-

    -
  • VxWorks builds are done with a cross compiler, i.e., the compiles - are done on a workstation creating object modules which are - downloaded and loaded into the VxWorks target system.

    -

  • C++ object modules must be post-processed by a VxWorks - utility called "munch" to set up calls to static constructors and destructors. - ACE integrates the makefile includes/rules files - distributed with VxWorks to achieve maximum compatibility and reuse the target - specifications and buildcommands defined by Windriver itself. - The original ACE support for VxWorks included a perl script called - $ACE_ROOT/bin/ace_ld, - which was called from the Makefiles, replacing - the traditional ld step. Although this script is currently still - available it is not used anymore.
    - You must have perl installed to use ace_ld. If perl is not on your path, you'll - have to set PERL_PATH to the full path (including - perl.exe), either in your - $(ACE_ROOT)/include/makeinclude/platform_macros.GNU - or in your environment.

    -

  • Wind River provides GCC/G++ cross-compilers for the - supported target platforms. The executables are named cc<target> - and g++<target>; for example, ccppc and g++cpp for PowerPC - targets.

    -

- -You'll have to let ACE know the target type at compile time. There -are several ways to do this; please see the -$ACE_ROOT/include/makeinclude/platform_vxworks5.5.x.GNU -platform file for detailed information.

- -The VxWorks platform_vxworks*.GNU files are set up so that shared -libraries are not built on VxWorks, by default. Only static -libraries, with .a extension, are built. Therefore, it's not -necessary to set the LD_LIBRARY_PATH environment variable on your host -system when building for VxWorks targets. Please note, however, if -you use TAO on VxWorks that you will need to set your LD_LIBRARY_PATH -to find the TAO IDL compiler libraries (installed in the ace -directory) on the host.

- -These non-default VxWorks kernel configuration #defines -are required with ACE:

- -

#define INCLUDE_CPLUS           /* include C++ support */
-#define INCLUDE_CPLUS_IOSTREAMS /* include iostreams classes */
-#define INCLUDE_POSIX_ALL       /* include all available POSIX functions */
-
- -For completeness, here are the non-default #defines that -we used for VxWorks 5.3.1/g++ 2.7.2: - -
#define INCLUDE_CPLUS           /* include C++ support */
-#define INCLUDE_CPLUS_IOSTREAMS /* include iostreams classes */
-#define INCLUDE_CONFIGURATION_5_2 /* pre-tornado tools */
-#define INCLUDE_DEBUG           /* pre-tornado debugging */
-#define INCLUDE_LOADER          /* object module loading */
-#define INCLUDE_NET_SYM_TBL     /* load symbol table from network */
-#define INCLUDE_SYM_TBL_SYNC    /* synchronize host and target symbol tables */
-#define INCLUDE_NFS             /* nfs package */
-#define INCLUDE_PING            /* ping() utility */
-#define INCLUDE_POSIX_ALL       /* include all available POSIX functions */
-#define INCLUDE_RDB             /* remote debugging package */
-#define INCLUDE_RLOGIN          /* remote login */
-#define INCLUDE_RPC             /* rpc package */
-#define INCLUDE_SECURITY        /* shell security for network access */
-#define INCLUDE_SHELL           /* interactive c-expression interpreter */
-#define INCLUDE_SHOW_ROUTINES   /* show routines for system facilities*/
-#define INCLUDE_SPY             /* spyLib for task monitoring */
-#define INCLUDE_STARTUP_SCRIPT  /* execute start-up script */
-#define INCLUDE_STAT_SYM_TBL    /* create user-readable error status */
-#define INCLUDE_SYM_TBL         /* symbol table package */
-#define INCLUDE_UNLOADER        /* object module unloading */
-#define INCLUDE_WINDVIEW        /* WindView command server */
-
- -Also, automatic construction/destruction of static objects -should be enabled.

- -If you use TAO, it's also a good idea to increase the -NUM_FILES parameter from its default of 50 to, -say, 1000.

- -Please note that those VxWorks kernel configuration parameters -are set in the VxWorks configAll.h file. You must rebuild your -VxWorks kernel after modifying that file.

- -If you're first getting started with ACE and/or VxWorks, I recommend -just building the ACE library and tests first. (Some of the ACE -examples, in System_V_IPC, don't build on VxWorks yet.) Then try -running the tests. Please see $ACE_ROOT/tests/README for the latest -status of the ACE tests on VxWorks.

- -Please note that the main entry point is renamed to -ace_main (configurable via ACE_MAIN) on VxWorks with g++, -to comply with its restriction against using main. -In addition, ACE_HAS_NONSTATIC_OBJECT_MANAGER is enabled by default -to cleanly support construction and destruction of static objects. -Please see the Non-static -ACE_Object_Manager discussion for the important implication -of this feature.

- -ACE threads (VxWorks tasks) can be named, for example, by supplying a -non-null argument to the Thread_Manager spawn routines. However, -names beginning with "==ace_t==" are forbidden because -that prefix is used internally by ACE.

- -You can spawn a new task to run ace_main, using either -VxWorks sp, or ACE'S spa. -spa can be used from the VxWorks shell to pass arguments -to ace_main. Its usage is: - -


-spa ace_main, "arg1" [, ...]
-
- -All arguments must be quoted, even numbers. You can start also ace_main -without spawning another thread by using:

- -


-spaef ace_main, "arg1" [, ...]
-
- -ACE also provides the function vx_execae which is capable of running -ace_main in a separate thread, wait for the task to finish and return -the return code from ace_main: - -

-int vx_execae (FUNCPTR acemain,char* arguments, int prio = 0, int opt = 0, int stacksz = 0);
-
-

-You could call this from the VxWorks shell like: -

-

-my_rc = vx_execae ace_main, "-o server.ior -ORBDottedDecimalAddresses 1"
-

- -When prio, opt or stacksz are omitted or specified -as 0 default values will be used. See the VxWorks shell documentation for the -defaults for prio and opt. For stacksz the default is -ACE_NEEDS_HUGE_THREAD_STACKSIZE. -The arguments string will be parsed and passed on to ace_main as -a regular argc and argv.

- -Be aware of the fact that when you execute ace_main directly from the VxWorks -shell argc will be zero and argv* will also be zero. Using argv[0] will not return -the program name, but will result in a crash.
-The ACE helper functions spa, spaef and vx_execae prevent -this problem by building a regular argc and argv which also contain a -valid argv[0] element.

- -

Building Shared Libraries for VxWorks.

- -NOTE: Since VxWorks support is currently being reworked with -an initial focus on static builds the support for shared builds is momentarily -broken. This will be remedied(!) as soon as possible.

- -ACE supports shared libraries for VxWorks, but only with the g++ -compiler. To build shared libraries instead of the default static -libraries, added shared_libs=1 (not -shared_libs_only=1) to either your -ACE_wrappers/include/makeinclude/platform_macros.GNU or -your make invocation. Then, be sure to load the ACE (and -any other) shared library before loading your executable(s).

- -A shared library for VxWorks uses the same code as for a static -(non-shared) library. However, calls to static constructors/ -destructors are added. The code in the shared library must -be reentrant if you shared it between programs (tasks). The -ACE library meets this requirement.

- -Shared libraries reduce build time, executable size, and load -time of the executable. But, you must manually load the shared -library before loading your executable(s) with a command such as: -


--> ld < libACE.so
-
-Shared libraries can be unloaded the same way an executable -(module) is unloaded.

- -NOTE: Shared libraries on VxWorks aren't the same as -shared libraries on other operating systems. In particular, there is -no support for creating copies of writeable global (static) data in -the shared library. This includes the singleton ACE_Object_Manager -instance pointer. If you share global data between separate programs, -they may not work properly. See the discussion of shared code and -reentrancy in the VxWorks' Programmers Guide.

- -Instead of trying to run separate programs onto a VxWorks target, we -recommend creating just one program, and spawning a thread for each -task. The TAO IDL_Cubit test collocation -test is a good example.

- -

Linking ACE and/or TAO Libraries into the VxWorks Kernel.

- -It's easy to link your ACE and/or TAO libraries into the VxWorks kernel. -Just build shared versions, but -disable the munch step. The easiest way to do that is to set the -LD make variable to the name of your linker. For -example, to build a libACE.so for PowerPC that can be linked into -the kernel: -
% cd $ACE_ROOT/ace
-% make LD=ldppc shared_libs=1
-
-After building the shared lib, link it into the kernel by setting -the MACH_EXTRA make variable in the kernel configuration -Makefile. Then, build the kernel using make exe.

- -

Using the one-button ACE tests with VxWorks.

- -It is possible to generate a script to execute all ACE tests. You can do this by executing -

% perl run_test.pl -v -o > run_test.vxworks
-
- -The ACE tests write their output files in a directory named -log/, below the current (tests) directory.
-

-

-To run the tests from the build directory on an NT host where you crossbuild your -VxWorks ACE/TAO you can set up the Target Server File System (TSFS) in your Target Server -configuration. If you f.i. set the root for the TSFS to the root directory of your builddisk -you can set the default directory for the target by issueing the following command -from a Host shell: '@cd "/tgtsvr/{path to ACE}/ACE_wrappers/tests"'. -The '@' addition makes sure this command is executed for the target environment and not the -local host shell environment. -If you also issue the command 'cd {path to ACE}/ACE_wrappers/tests' you can execute the -generated one button testscript like: '< run_test.vxworks'. -

-

-Running the ACE tests automatically from the ACE autobuild tool using Target Server and Host -shell options is also supported. -

-

-If you don't have NFS included in your VxWorks kernel, you can use these steps, provided by -Clarence M. Weaver, -to run the tests and capture their output:

-

    -
  1. What I did was create a log directory on the boot NT host of my VxWorks - target.

    -

  2. I copied all the test applications and the run_test.vxworks script to - the parent of the log directory.

    -

  3. Using the target shell not the host shell, I "cd" to the directory - containing the script and test programs.

    -

  4. Invoked the script using < run_test.vxworks from this target shell.

    -

- -Kirk Davies provided this -approach for running the ACE tests on Tornado II: - -
    -
  • Under Tornado II, I set up the Target Server File System (TSFS), and - the test logs get written to the log subdirectory under that.

    -

  • You have to set an environment variable before running the tests: -
    putenv("ACE_TEST_DIR=/tgtsvr")
    -

    -

- -

Building ACE on Tornado/NT hosts for VxWorks targets.

-The following, very useful information was contributed by -Chris Ryan -and Paul von Behren. -Please submit corrections, additions, or clarifications to the -the ACE mailing list.

- -NOTE:The make (version 3.74) that is provided with -Tornado 2.2 cannot be used to build ACE. A working version is available -from the WindRiver support site, download the - -make3_80.gvk_patches and the - -make3_80.tor2_2.new_dependency_rules package and install them.

- -Using the Cygnus tools, this approach works: -

    -
  • You'll build both your NT and VxWorks executables in the same - workspace (directory hierarchy). This works because the NT - compiler and ACE's Makefiles put their output in different - directories.

    -

  • Set up your - ACE_wrappers/include/makeinclude/platform_macros.GNU - as usual for VxWorks. See - the - g++/VxWorks platform file for more information.

    -

  • Create an ACE_wrappers/ace/config.h file that looks - something like the following. -
    #if defined (_MSC_VER)  ||  defined (__BORLANDC__)
    -# include "ace/config-win32.h"
    -#else
    -# include "ace/config-vxworks5.x.h"
    -#endif
    -

    -

  • Set your ACE_ROOT, CPP_LOCATION, - WIND_BASE, and WIND_HOST_TYPE environment - variables.

    -

  • Build for NT, then build for VxWorks.

    -

- -A few additional Windows Notes, from Paul von Behren:

-

    -
  • Cygnus has created a Win32 API which is compatible with a - "generic" Unix environment. Using this library, they have ported a - large collection of GNU tools to WinNT/95 - including a port of - gcc/g++. See http://www.cygnus.com/misc/gnu-win32/ - A related link is ftp://ftp.cygnus.com/pub/gnu-win32/latest/

    -

  • To set up the command-prompt build environment, run - Tornado\host\x86-win32\bin\TorVars.bat. This is done - implicitly within the Tornado IDE.

    -

  • To run ace_ld, you still need perl installed - - see http://www.activestate.com/software/default.htm - for Windows perl.

    -

  • The Tornado IDE will use a standard Makefile for project - builds, but does not have a GUI interface for managing the - Makefile. By default, it will use rules from Makefile in the current - directory and you can configure it to add certain Makefile - targets to the project. If you have ACE_ROOT defined - before starting Tornado, you can specify an ACE Makefile as a Tornado - target and Tornado will then call make from the menu.

    -

- -And Chris Ryan's instructions for building for VxWorks targets -on Windows NT hosts: - -
    -
  1. Path setting that seems to be working is:

    -

          /tornado/host/x86-win32/bin:
    -      /tornado/host/x86-win32/lib/gcc-lib/i386-wrs-vxworks/cygnus-2.7.2-960126:
    -      /tornado/host/x86-win32/i386-wrs-vxworks/bin:
    -      /ace/ace_wrappers/bin:
    -      /gnuwin32/b18/H-i386-cygwin32/bin:
    -      /gnuwin32/b18/tcl/bin:
    -      /WINNT/system32:
    -      /WINNT:
    -      /WINNT/system32/nls/ENGLISH:
    -      /bin
    -      
    - - Other environment variables:

    -

          WIND_BASE=/tornado
    -      SHELL=/bin/sh.exe
    -      TERM=pcbios
    -      TAO_ROOT=/ace/ACE_wrappers.vxworks/TAO
    -      CPP_LOCATION=/Program Files/DevStudio/VC/bin/CL.EXE
    -      GCC_EXEC_PREFIX=/tornado/host/x86-win32/lib/gcc-lib/
    -      WIND_HOST_TYPE=x86-win32
    -      ACE_ROOT=/ace/ACE_wrappers.vxworks
    -      
    - -
  2. /tornado is the root of the Tornado install - ($WIND_BASE). - -
  3. /gnuwin32 is the root of a Cygnus GNU download and install. - -
  4. /bin content is:

    -

          aced.dll
    -      cygwin.dll
    -      perl.exe
    -      rm.exe
    -      sh.exe
    -      true
    -      
    - - aced.dll is produced in an ACE NT source tree according to - documented procedure for Windows VC++ ACE build. - - cygwin.dll is from the Cygnus GNU software download and install. - -
  5. Basically, follow documented procedure for ACE build/install on UNIX - platform. Create a $ACE_ROOT/ace/config.h that looks - like:

    -

          #include "config-vxworks5.x.h"
    -      
    - - And create a - $ACE_ROOT/include/makeinclude/platform_macros.GNU - that looks like:

    -

    -      WIND_BASE = /tornado
    -      WIND_HOST_TYPE = x86-win32
    -      CPU = I80486
    -      include $(ACE_ROOT)/include/makeinclude/platform_vxworks5.5.x.GNU
    -      
    - -
  6. When using cygnus windows GNUTools on WinNT you have to start - make with "--unix" option, otherwise WinNT shell cmd.exe is responded and - not sh.exe, i.e., -
     make --unix static_libs=1
    - 
    -
- -

TAO on NT Tornado host, VxWorks target.

- -
    -
  1. Build ACE and TAO_IDL in the NT tree as already documented. - Be sure to build ACE's gperf on NT, in - ACE_wrappers/apps/gperf/src.

    - -

  2. Build $TAO_ROOT/tao -
          CPP_LOCATION=/Program Files/DevStudio/VC/bin/CL.exe
    -      cd $TAO_ROOT/tao
    -      /gnuwin32/b18/H-i386-cygwin32/bin/make
    -      
    - -
  3. Build orbsvcs. -
          CPP_LOCATION=/Program Files/DevStudio/VC/bin/CL.exe
    -      cd $TAO_ROOT/orbsvcs/orbsvcs
    -      /gnuwin32/b18/H-i386-cygwin32/bin/make
    -      
    - -
  4. Build $TAO_ROOT/tests

    -

- - -

Jaffar Shaikh's -Notes for Building ACE and TAO for VxWorks on NT host

-

Scenario: I was building the ACE and TAO for VxWorks -on NT. The target system was a PPC860 based chassis and another a NT -host based card.

-

Host System:

-

NT 4.0 workstation with 128 M RAM, 266MHz Pentium.

- -

Software Needed For Building TAO

-

1) Active State's ActivePerl from -http://www.activestate.com/software/default.htm -

- -

2) Tornado 2.2.1 from Windriver.

- -

3) Cygwin GNU to build TAO. It is available for NT as a freeware -from the Cygwin site

-

The Cygwin Make (version 3.75) can only build the TAO not the -Tornado II make (version 3.74)

- -

Environment Variables:

-

On NT the environment Variables are set as follows, (from -Control Panel-> System -> Environment)

-

I added following Environment variable entries to PATH

- -

C:\Perl\bin\;

-

C:\tornado\host\x86-win32\bin;

-

C:\tornado\host\x86-win32\powerpc-wrs-vxworks\bin;

-

C:\tornado\host\x86-win32\lib\gcc-lib\powerpc-wrs-vxworks\cygnus-2.7.2-960126;

-

C:\Corba\Ace_wrappers\bin;

-

C:\Cygwin\bin;

-

C:\Cygwin\usr\bin;

-

C:\bin

- -

Additional Environmental variables and the values,

-

CPU=PPC860

-

LD_LIBRARY_PATH=

-

SHELL=/bin/sh.exe

- -

ACE_ROOT=/Corba/ACE_wrappers

-

WIND_BASE=/tornado

-

SHELL=/bin/sh.exe

-

TERM=pcbios

-

TAO_ROOT=/Corba/ACE_wrapper/Tao

-

CPP_LOCATION=/Program Files/Microsoft Visual Studio/VC98/Bin/CL.exe

-

GCC_EXEC_PREFIX=/tornado/host/x86-win32/lib/gcc-lib/

-

WIND_HOST_TYPE=x86-win32

-

PERL_PATH=/perl/bin/perl.exe

- -

Directories of importance

-

C:\Corba <-- Ace_wrappers (uzipped)

-

C:\tornado <-- Tornado installed

-

C:\Perl <-- Perl installed

-

C:\Cygwin <-- Cygwin installed

-

C:\bin <-- Copy these files,

-

Ace.dll, <-- After you build Ace

-

gperf.exe <-- After you build gperf

-

Cygwin1.dll, <-- After you install Cygwin

-

perl.exe, <-- After you install Perl

-

rm.exe <-- After you install Cygwin

-

sh.exe <-- After you install Cygwin

-

true <-- After you install Cygwin

-

Create Files

-

1) C:\Corba\ACE_Wrappers\ace\config.h

-

with entry

-

#if defined (_MSC_VER) || (__BORLANDC__)

-

#include "ace/config-win32.h"

-

#else

-

#define ACE_HAS_IP_MULTICAST

-

#include "ace/config-vxworks5.x.h"

-

#endif

- -

2) C:\Corba\ACE_wrappers\include\makeinclude\platform_macros.GNU

-

WIND_BASE = /tornado

-

WIND_HOST_TYPE = x86-win32

-

include -$(ACE_ROOT)/include/makeinclude/platform_vxworks5.5.x.GNU

-

ACE_COMPONENTS=FOR_TAO (you may choose this option to build ACE -library that supports TAO)

- -

-

Steps to Build

-

1) Build Ace.dll under NT

-

In MS Visual C++ open C:\Corba\ACE_wrappers\ace.sln And build Ace -DLL

-

Copy Ace.dll in C:\bin

- -

2) Build gperf utility under NT

-

In MS Visual C++ open -C:\Corba\ACE_wrappers\apps\gperf\src\gperf.sln. Build gperf.exe

-

Copy gperf.exe to C:\bin

- -

3) Mount Directries in Cygwin

-

Click on Cygnus Solutions -> Cygwin Bash Shell

-

Mount following directories by using mount command.

-

create respective directories first then use mount command

- -

e.g. Create /Corba directory then use $mount -s "C:\Corba" -/Corba

- -

C:\Corba mount to /Corba

-

C:\tornado mount to /tornado

-

C:\Perl mount to /perl

-

C:\Cygwin mount to /cygwin

-

C:\bin mount to /bin

-

C:\Program Files mount to /Program Files

- -

4) Build ACE in Cygwin

-

$cd /Corba/ACE_wrappers/ace

-

$make static_libs=1

-

This will build your ace library libACE.a for VxWorks. If you use -option shared_libs=1 then the build will be libACE.so. The other -options are same as follows.

- -

5) Build TAO in Cygwin

-

$cd $TAO_ROOT/tao

-

$make debug=0 optimize=1 static_libs_only=1 minimum_orb=1 -

-

for shared libs use shared_libs=1

- -

The minimum Tao does not have following components,

-

Dynamic Skeleton Interface

-

Dynamic Invocation Interface

-

Dynamic Any

-

Interceptors

-

Interface Repository

-

Advanced POA features

-

CORBA/COM interworking

- -

You may play around with above options to find suitable build for -your needs. For example when you give option debug=1 all the debug -symbols will be created and the build will huge in size. The debug -symbols are necessary when you want to debug your code.

- -


-
-

Building and Installing ACE Network Services

- -The following explains how to build the ACE network services on UNIX and Win32. - -


-

Building and Installing ACE Network Services on UNIX

- -Building and installing ACE Network Services on UNIX is relatively -simple (the process for Win32 is different). -Here's what you need to do:

- -

    - -
  1. Build and install ACE on UNIX as described earlier. If ACE is built at the root of the ACE - source tree (and ACE has been ported to your platform, of course) the - netsvcs static and shared object libraries should be built - automatically. In addition, the server driver program - (main) contained in $ACE_ROOT/netsvcs/servers/main.cpp - should also be compiled and ready to run.

    - -

  2. Set your LD_LIBRARY_PATH environment variable to - where the binary version of the ACE netsvcs library. For - example, you probably want to do something like the following

    - -

    
    -      % setenv LD_LIBRARY_PATH $ACE_ROOT/ace:$ACE_ROOT/lib:$LD_LIBRARY_PATH
    -      

    - -

  3. By default, if the shared object library is built, the services - are linked into the main driver program dynamically. - To specify which services should be linked in and executed, edit the - $ACE_ROOT/netsvcs/servers/svc.conf - file. During your editing, you should update information (such as the - default service port numbers) that affects the initialization of - services in this file. Refer to the - Service Configurator - documentation to learn how the configuration file is parsed and - how the services are dynamically linked and executed. In - addition, refer to the Network - Services documentation to learn more about how to configure - each network service.

    - -

  4. If you only want to link the services statically, simply remove - or rename the svc.conf file.

    -

- -


-

Building and Installing ACE Network Services on Win32

- -Once again, there are supplied project for Visual C++ 7.1 or later for -the Network Services.

- -


-

Building and Installing the ACE_SSL Library

- -

The first step for all platforms is to build and install the -OpenSSL distribution. The -ACE_SSL library must then be built according to the instructions -below.

-

Unix

-
    -
  1. Make sure the OpenSSL header file directory is in your compiler's - include path, and that OpenSSL libraries are in your library link/load - path (e.g. LD_LIBRARY_PATH). If you - installed OpenSSL into a set of directories unknown by the compiler, - set the SSL_ROOT environment variable to point to the - top level directory of your OpenSSL distribution, i.e. the one - containing OpenSSL's include and lib - directories.
  2. -
  3. Build ACE as described above. When building ACE, add - ssl=1 - to your make - command line invocation, or add it to your - platform_macros.GNU file.
  4. -
  5. Build the ACE_SSL library in the $ACE_ROOT/ace/SSL - directory. The ACE_ROOT environment variable should be set - prior to this point.
  6. -
-

Microsoft Visual Studio

-
    -
  1. Set the SSL_ROOT environment variable to the location - of the directory containing the OpenSSL inc32 and - out32dll directories. -
  2. Add ssl=1 to your MPC - $ACE_ROOT/bin/MakeProjectCreator/config/default.features - or $ACE_ROOT/local.features file, and re-run MPC to add - support for building the ACE_SSL library to your MSVC++ - workspaces and projects. -
  3. Open the ACE.sln solution, and refer to the ACE build - and installation instructions above for details on creating a - config.h configuration header for this platform. Once - the config.h file has been created, build the - ACE_SSL project.
  4. -
-

CodeGear C++

-

Support for building ACE's ACE_SSL library and TAO's SSLIOP - pluggable protocol with CodeGear C++ does exist. -

    -
  1. Set the SSL_ROOT environment variable to the location - of the directory containing the OpenSSL inc32 and - out32 directories. -
  2. Add ssl=1 to your MPC - $ACE_ROOT/bin/MakeProjectCreator/config/default.features - or $ACE_ROOT/local.features file, and re-run MPC to add - support for building the ACE_SSL library to your CodeGear C++ makefiles. -
  3. Build ACE and TAO. -
-

- -

-

Building and Using GUI Reactors Libraries

-There is a general method for building and using ACE_Reactors for various GUI -libraries. -

Building GUI Reactor Library

-
    -
  1. Try to generate build files using MPC. Inspect the output of MPC to find out which features are - necessary to build given reactor. Add these features to - ACE_wrappers/bin/MakeProjectCreator/*.features file, or pass them directly to MPC - using -features command line option. For example, for FlReactor the procedure - consists of five steps -
      -
    1. In the first pass one gets that x11 (X11 libraries) is missing.
      - $ mwc.pl -type gnuace - Skipping ACE_FlReactor (ace_flreactor.mpc), it requires x11. -
    2. - Ensure that X11 libraries are installed, then pass x11=1 feature to MPC. -
    3. In the second pass one gets that gl (OpenGL library) is missing.
      - $ mwc.pl -type gnuace -features x11=1 ace.mwc - Skipping ACE_FlReactor (ace_flreactor.mpc), it requires gl. -
    4. - Ensure that OpenGL libraries are installed, then pass gl=1 feature to MPC. -
    5. In the third pass one gets that fl (Fast Light Toolkit) is missing.
      - $ mwc.pl -type gnuace -features x11=1,gl=1 ace.mwc - Skipping ACE_FlReactor (ace_flreactor.mpc), it requires fl. -
    6. - Ensure that Fast Light Toolkit libraries are installed, then pass fl=1 - feature to MPC. -
    7. In the fourth pass one gets that ace_flreactor feature is missing
      - $ mwc.pl -type gnuace -features x11=1,gl=1,fl=1 ace.mwc - Skipping ACE_FlReactor (ace_flreactor.mpc), it requires ace_flreactor. -
    8. - Allow MPC to generate makefiles for FlReactor by setting ace_flreactor=1 feature. -
    9. In the last pass one obtains files for building FlReactor.
      - $ mwc.pl -type gnuace -features x11=1,gl=1,fl=1,ace_flreactor=1 ace.mwc -
    10. -
    - Currently to simplify MPC generation some of features are turned on by default in - ACE_wrappers/bin/MakeProjectCreator/global.features. For examples to generate - files related with Fl one has to provide only fl=1 feature. To obtain a more fine grained controll - over MPC generation process one may modify ACE_wrappers/bin/MakeProjectCreator/*.features - files. -
  2. -
  3. Required build files are generated now, it is enough then to invoke build tool. - For example for under MPC::gnuace one has to call - make fl=1. For MPC::vc7 target all features are - encoded in generated project files, thus it is enough to compile ACE using MSVC. -
  4. -
- The build procedure leads to a specific GUI Reactor library. For example, for - Qt and Linux one gets libQtReactor.so, while for - Windows the results are shared QtReactor.dll and import - QtReactor.lib libraries or their variants depending on build options. - When compiling TAO also GUI related libraries are created like libTAO_QtResource.so. -

Using GUI Reactor Library

- Here one has at least three use cases: -
    -
  1. Applications with their own build system. - To use ACE support for GUI one has to include specific GUI headers and - link with specific ACE_[GUI]Reactor library. When using TAO support for GUI one has - also to link with specific TAO_[GUI]Resource library.
  2. -
  3. Applications with build system using MPC. - In general, it is better to create specific base projects for using ACE GUI support in such application. - Base projects provided by ACE ACE_wrappers/bin/MakeProjectCreator/[ace,tao]_[gui][reactor,resource].mpb - may be an examples of how to do this.
  4. -
  5. Internal ACE applications like tests or examples. - MPC project for internal ACE application using GUI support should be derived from - ace_[gui]reactor.mpb base projects. To employ TAO support for GUI one should derive - the project from tao_[gui]resource.mpb These base projects ensure that all necessary libraries - are linked to the application, specifies features necessary to build a project and moreover impose a - build order consistant with ACE. For example, the application project using XtReactor should be - derived from ace_xtreactor.mpb.
  6. -
-

Notes on specific GUI Reactors

-
    -
  • QtReactor
  • - The build is controlled by ace_qtreactor [1 by default] feature. - To build this reactor one has to provide feature qt [0 by default] (Qt library). Moreover, - it is assumed that Qt was installed in a standard way - and QTDIR points to Qt installation folder. To build TAO - support for Qt one should use tao_qtresource [1 by default] feature. -
  • XtReactor
  • - The build is controlled by ace_xtreactor [1 by default] feature. - To build this reactor one has to provide the following features: x11 [1 by default] - (X11 libraries) and xt [1 by default] (X11 Toolkit). - Moreover, some examples and tests related with XtReactor - needs additionall features namely either motif [0 by default] (Motif/Lesstif libraries) or - athena [0 by default] (Athena widgets). To build TAO - support for xt one should use tao_xtresource - [1 by default] feature. -
  • TkReactor
  • - The is controlled by ace_tkreactor [1 by default] feature. To build this reactor one has to provide - tk [0 by default] (Tcl libraries) feature. To build TAO - support for Tk one should use tao_tkresource [1 by default] feature. -
  • FlReactor
  • - The build is controlled by ace_flreactor [1 by default] feature. - To build this reactor one has to provide the following features: x11 - [1 by default] (X11 libraries), - gl [1 by default] (OpenGl) and fl - [0 by default] (Fast Light Toolkit). To build TAO - support for Fl one should use tao_flresource [1 by default] feature. - MS Windows: The paths to fltkdll and - OpenGL32 libraries, as well as fltk header files - should be setup manually for succesfull compilation. Obviosuly, - x11switch is ignored for this platform. -
- -
-

Installation Notes

- -
    -
  • Windows (Windows NT, 2000, XP, 2003, etc., and Windows '9x/ME)

    - - Please see the Non-static - ACE_Object_Manager discussion below.

    - -

  • Windows CE

    - - Take a look at (CE-status.txt) for - up-to-date information about ACE on Windows CE and Windows Mobile. - -

  • Solaris 7, 8, 9, and 10 using Sun ONE Studio 8 (C++ 5.5) - or higher, Centerline C++ 2.x, GNU gcc 2.95 and - later.

    - - All the source code and tests should build and run without any - problems on Solaris 7, 8, and 9 platforms using the above - Sun C++ compilers. - - There are likely to be build problems with older versions or - different patchlevels of Sun C++. Likewise, on - Solaris with g++ you may need to use GNU as instead of - /usr/ccs/bin/as, if you want -gstabs+ and -pipe support. - - Thanks to Susan Liebeskind <shl@janis.gtri.gatech.edu> - for providing the following useful information:

    - - By default, ACE uses both the Solaris and POSIX thread - interface. To disable use of the Solaris thread interface, add - -D_POSIX_PTHREAD_SEMANTICS to the - CFLAGS in your - $(ACE_ROOT)/include/makeinclude/platform_macros.GNU. - See the Solaris Intro (3) man page for more information.

    - - To disable ACE thread support completely, build with the - threads=0 make flag. See the Makefile Flags section below for more - information on make flags.

    - - If you use g++ on Solaris 7, you might need to rebuild - it on a SunOS 5.7 (Solaris 7) host. Some versions of g++ - provide replacements for system header files. The - replacements on older SunOS systems are not compatible with the - SunOS 5.7 system headers.

    - -
  • AIX

    - - ACE is currently supported on AIX 5.2 and higher using IBM's - Visual Age C++ 6 and XL C++ 7 compilers as well as g++ 3.2.

    - - The ace/config-aix-5.x.h file is recommended for all - compilers on all AIX 5L versions. The Asynchronous I/O functionality - is disabled by default because its use requires the system administrator - to explicitly enable it in the kernel using SMIT. If this has been - done and you want to enable asynchronous I/O support in ACE, add: - #define ACE_HAS_AIO_CALLS to your config.h - file before including ace/config-aix-5.x.h.

    - - The Visual Age 6.0.0.3 and 6.0.0.4 do have some bugs that makes - them unusable for building TAO. TAO has been tested with 6.0.0.12 and - had no problems with that version.

    - - For your platform_macros.GNU file, you should use - platform_aix_ibm.GNU when building ACE with any of the - IBM compilers and platform_aix_g++.GNU when building ACE - with g++.

    - - BTW, here's a technique from Rob Jordan <jordan@hursley.ibm.com> - that can reduce the size of the ACE libraries by about one - third, and can also be applied to applications. It works by - optimising the sharing of template functions, which are created - in an "unusual" way under AIX. It also speeds up - compilation.

    - - Here's how to optimise the ACE library generation:

    - - Look at the ace/GNUmakefile.ACE - in $ACE_ROOT/ace. Create a file called - ACE_All_Src.cpp, and add a line to #include - each of the source files - listed under FILES= in the GNUmakefile. Create a - file called ACE_All_Tmp.h - and add a line to #include each of the .h files listed under - TEMPLATE_FILES= in the GNUmakefile. Now update the - GNUmakefile so that - FILES=ACE_All_Src and - TEMPLATE_FILES=ACE_All_Tmp.

    - -

  • Linux

    - - ACE has been ported to Linux on - Intel, Alpha, and PowerPC platforms. If you use a RedHat 5.x - distribution, it's best to use RedHat 5.1 or later. ACE works - without any modifications on RedHat 5.1 and later, and on - Debian 2.1 on both Intel and Alpha. Use the - platform_linux.GNU and ace/config-linux.h - in your platform_macros.GNU and - config.h files, respectively. The same - files can be used on PowerPC, with LinuxPPC - 1999 (R5), with glibc 2.1.1.

    - - If you run out of memory, it's easy to add virtual memory on - Linux. Please see the mkswap man page. You'll - need at least 256 to 300 Mb of virtual memory (RAM + swap) to - compile all of ACE+TAO. The System - Resource Requirements section has some suggestions on how - to reduce the memory requirement.

    - - The glibc 2.0 dynamic loader isn't thread safe. If you want to - use the Invocation API you'll have to set - LD_BIND_NOW=true. If you want to use - dlopen, you should use RTLD_NOW. The - dynamic loader in glibc 2.1 is thread safe.

    - - NOTE: The TAO NameService uses IP multicasting - by default, though it is not required. IP multicast on Linux - requires the following:

    - -

      -
    • Enable IP multicast in the Linux kernel. It is enabled in - the default RedHat 5.1 kernel. In older distributions, you - can enable it by rebuilding your kernel with CONFIG_IP_MULTICAST - enabled.

      -

    • Enable IP multicast in ACE. It is enabled by default in - ace/config-linux-common.h. If you don't use - IP multicast, add #define ACE_HAS_IP_MULTICAST 0 - to your ace/config.h before building ACE.

      -

    • There must be a network interface that is up and supports - multicast. If you have linuxconf, it's easiest to use that - to add a network route for multicast (224.0.0.0) on one of - your network interfaces, such as eth0. If - you don't have or use linuxconf, try adding a multicast - routing table entry using something like this:

      -

                   # route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
      -            

      -

    - - Some of the ACE tests fail on older, pre-glibc2 Linux platforms, - such as RedHat 4.2. The problems are with threads and - thread-specific storage.

    - -

  • SCO UNIX

    - - ACE has been ported to SCO UNIX using the GNU g++ 2.7.2 - compiler. Arturo Montes <mitosys@colomsat.net.co> - maintains this code. In addition, he also maintains a version - of FSU pthreads.

    - -

  • SGI IRIX 5.x and 6.x

    - - ACE used to build fine using the SGI C++ and GNU GCC compilers - for IRIX 5.x. It has been ported to IRIX 6.x using the SGI - MipsPro 7.1 C++ compiler; be aware that in IRIX 6.2 there is a - number of patches that have to be installed and exceptions - appear to fail with the O32 ABI. Please check the config files - for the details.

    - -

  • OSF/1 3.2 and 4.0 (a.k.a. Digital UNIX 4.0)

    - - The Digital UNIX C++ 5.4 through 5.7 compilers have problems - with ACE's templates. They compile the lib and most of the test - programs, although they warn about template usage. Most tests - run, some dump core. If you use a 5.x version of cxx, be sure - to set the CXX_VER variable to CXX_5, either on your make - command line or in an environment variable. The ACE Makefiles - assume by default that the cxx version is 6.x or later.

    - - CXX 6.0 and 6.1 are much improved over 5.x: V6.0-020, V6.1-025, - and later build all of ACE cleanly. All of the tests in - $(ACE_ROOT)/tests run successfully with CXX 6.0 and CXX 6.1. - Please note that problems have been reported with some versions - of CXX 6.1, notably versions -021 and earlier. It's best to use - V6.1-022 or later.

    - - NOTE: if you use Digital UNIX 4.0f or later, you must - use ace/config-tru64.h instead of - ace/config-osf1-4.0.h. ace/config-tru64.h - can be used for all supported compilers on any version of - Digital UNIX after and include 4.0. And, with 4.0f and later when - using Digital CXX, you must use - include/makeinclude/platform_tru64_cxx.GNU instead of - include/makeinclude/platform_osf1_4.0.GNU.

    - -
  • FreeBSD

    - - FreeBSD is a fast evolving platform. However, it has the - advantage of having standard releases. At this moment, ACE is - only perodically tested against -stable (3.1R) and we rely a lot - on FreeBSD users' feedbacks.

    - - Notice that on older FreeBSD, ld.so only looks for - so libraries with version number appended. ACE makefiles - create symlinks for most shared libraries if - versioned_so is defined to 1 in - $ACE_ROOT/ace with appropriate ACE version. - However, this does not work for libACE.so itself so you have to - create it manually (If you figure out how to do this, please let - us know) like this:

    - - ln -sf $ACE_ROOT/ace/libACE.so $ACE_ROOT/ace/libACE.so.4.5

    - - On newer FreeBSD (3.0 or later,) this is no longer necessary.

    - -

  • NetBSD

    - - Like older FreeBSD, NetBSD's ld.so also requires - versioned .so files.

    - -

  • OpenBSD

    - - ACE has been ported to OpenBSD 3.1 and GNU g++ 2.95.3.

    - - As with FreeBSD and NetBSD, OpenBSD requires versioned .so - files. This is currently handled by the build files and no - additional work is needed.

    - - ACE has been ported to OpenBSD with and without pthreads - enabled. When using pthreads, though, C++ exceptions must be - disabled. This is a known problem with the current release of - OpenBSD (see www.openbsd.org, bug #1750). ACE emulated - exceptions work fine.

    - - Compiling TAO may require the user data segment size - restrictions and possibly other options to be increased. This - is done by modifying the default user class in /etc/login.conf - or by adding a new class and modifying the master passwer file - accordingly.

    - -

  • UnixWare

    - - Steve Huston <shuston@riverace.com> - has ported ACE to work with UnixWare 2.01 and g++.

    - - Ganesh Pai <gpai@voicetek.com> - subsequently did the port for version 2.1.2, also with g++.

    - - Phil Mesnier < - mesnier_p@ociweb.com> updated the port to support - UnixWare 7.1.0, with help from Michael Meissnitzer - < - michael.meissnitzer@siemens.at>, Christian Klepp < - christian.klepp@siemens.at - > and Engelbert Staller < - engelbert.staller@siemens.at> - Building ACE (and TAO) on Unixware 7.1.0 requires a very specific - g++ build environment. In particular, you must build and install - g++ 2.95.2, along with binutils 2.9.1. The order (and the declaration - of configuration) is extremely important. Using the gcc compiler - provided on the Skunkware CD on a pentium system, here is the recipe - I used to build a working environment (as root):
    -

      mkdir /usr/local/newgnu
    -< ftp and untar binutils-2.9.1 >
    -< ftp and untar gcc-2.95.2 >
    -  mkdir -p build/binutils build/gcc
    -  cd build/binutils
    -  ../../binutils-2.9.1/configure i386-sco-sysv4
    -  gmake  # takes a long time
    -  gmake install # this creates /usr/local/i386-sco-sysv4/...
    -  mkdir /usr/local/i486-pc-sysv5/bin
    -  cd /usr/local/i486-pc-sysv5/bin
    -  for a in /usr/local/i386-sco-sysv4/bin/*; do ln -s $a .; done
    -  #links all the newly installed utilities
    -
    -  cd /usr/local/newgnu/build/gcc
    -  ../../gcc-2.95.2/configure --with-gnu-as --with-gnu-ld
    -  gmake bootstrap # takes a long time
    -  gmake install
    -  mkdir /usr/local/i586-UnixWare7.1.0-sysv5/bin
    -  for a in /usr/local/i386-sco-sysv4/bin/*; do ln -s $a .; done
    -
    - Once done, ACE and TAO will successfully build and link.

    - -

  • LynxOS

    - - ACE builds and runs properly on LynxOS 4.0 for Intel - and PowerPC targets. LynxOS 2.x and 3.x are no longer supported. - - If you run out of memory on LynxOS, these might help:

    - -

      -
    • Increase the limits in /etc/starttab, - then reboot system. We use these limits: -
      # Data, stack, and core file limits (in Kbytes)
      -80000
      -16000
      -102400

      -

    • Enable or expand virtual memory, with something like: -
      # mkcontig /swap 320
      -# prio 17 vmstart /swap
      - See the mkcontig and vmstart - man pages, and /bin/rc.

      -

    - - Please see the comments in the - ACE - platform_lynxos.GNU file for information on, and an - example of, tailoring for your particular platform.

    - - NOTE: if you want to use IP multicast on LynxOS, be sure to add - this line to your /net/rc.network, and reboot:

    -

    
    -        /bin/route add "224.0.0.0" "$my_name"
    -      
    - -
  • VxWorks

    - - David Levine - <levine@cs.wustl.edu> has - ported ACE to VxWorks 5.2/5.3/5.3.1/5.4 with the GreenHills - 1.8.8/1.8.9, g++ and diab compilers that are distributed with - VxWorks/Tornado. It is not possible to use VxWorks 5.4 - and earlier with ACE anymore because the compilers delivered with - 5.4 and earlier don't support the C++ features ACE needs.

    - - At this moment Remedy IT is upgrading - and stabilizing ACE/TAO support for Tornado 2.2/VxWorks 5.5.1. - Since the existing support for previous VxWorks version has been unsupported - and broken for some time and most (potential) users seem to have upgraded to - VxWorks 5.5.1 no backporting effort is done. See also here. -

    - - Tornado 2.2/VxWorks 5.5.1 support IP multicast. That is not enabled - by default in ACE for VxWorks, because it depends on your - kernel configuration. To enable it, add - #define ACE_HAS_IP_MULTICAST to your - ace/config.h.

    - - NOTE: In order for the ACE Broadcast and Multicast tests to work the VxWorks kernel - should receive the packages it sends out locally. By default this is not supported. - To enable this behaviour you need to include the IFF_SIMPLEX flag for your required - NIC driver. See the following Windriver SPR 4542 - for more information.

    - - In addition to all of the other benefits of ACE, it helps work - around some deficiencies with VxWorks. The problems are:

    - -

    -

      -
    1. The program entry point cannot be called "main" with g++. ACE - renames it to "ace_main" (configurable via ACE_MAIN) on VxWorks. - While this may seem trivial, it is important with legacy code. - ACE itself ran into this problem.

      - -

    2. argc/argv isn't used with VxWorks entry points. ACE provides - a wrapper function that transparently converts shell command - line arguments to argc/argv form. See below - for details.

      - -

    - - Please note that ACE uses one of the spare fields in the Wind - River task control block, spare4, for thread-specific storage. - This field is specified in only one place, in ace/OS_NS_Thread.inl, so it - can easily be changed to one of the other spare fields, if - necessary.

    - - ACE destroys dynamically - allocated singletons in the ACE library. But, they may not - properly destroy some static objects. If you have trouble - running a program multiple times, it may be necessary to unload - the module, using unld, and reload it between runs. - Alternatively, you could try calling cplusDtors and - then cplusCtors between runs.

    - -

  • MVS OpenEdition

    - - All of ACE has been ported to OpenEdition by Chuck Gehr <gehr@sweng.stortek.com>. - The ACE library, all the tests and most of the examples and apps - build clean. There are still some problems that need to be - ironed out:

    - - MVS does not support the dynamic linking dl...() calls that the - Service Configurator uses to dynamically link services at run - time. As a result, all the examples and apps that use a svc.conf - file (for dynamically configuring service objects) do not work, - however, most of these apps can be built/run statically. Also, - the Svc_Conf_l.cpp and Svc_Conf_y.cpp files are generated using - flex and yacc on a ascii (not ebcdic) machine and as a result - they don't work very well with ebcdic svc.conf files. We should - be able to regenerate these files on MVS but MVS doesn't have - flex. This is something that needs to be done.

    - - Some of the tests do not execute properly. This is a minority - and over time the goal is to get to 100%.

    - - The make scheme for some of the apps still doesn't work - perfectly on MVS. This is mainly due to the way shared - libraries are handled on MVS. See additional - build tips for MVS for more on this.

    - -

  • QNX Neutrino

    - - ACE has been ported to QNX Neutrino - 2.0. We cross-compile for Neutrino on a QNX4 host using g++ - 2.8.1, using the ace/config-qnx-neutrino.h - and include/makeinclude/platform_qnx_neutrino.GNU - configuration files. Many of the ACE tests succeed, though some - fail. As the porting effort progresses, we hope to eliminate - these failures. If you know of fixes, please send them to - us.

    -

  • QNX RTP

    - - ACE has been ported to QNX RTP - . We compile for QNX RTP using the GCC compiler shipped with the - distribution, using the ace/config-qnx-rtp.h - and include/makeinclude/platform_qnx_rtp_gcc.GNU - configuration files. - Many of the ACE tests succeed, though some - fail. As the porting effort progresses, we hope to eliminate - these failures. If you know of fixes, please send them to - us.

    - WARNING: - Under the current version of QNX RTP ACE fails if compiled with - inline=0 .

    - -

  • RTEMS

    - - The support for RTEMS has been reviVed from version x.5.4. This version - was the first version that build again out of the box on RTEMS. Compilation - and testing was done for RTEMS with and without networking support. The - ACE GNU makefiles do automatically detect whether networking support - is available or not. - - Besides the standard config.h/platform_macros.GNU file you will need - to set RTEMS_MAKEFILE_PATH to point to the location - of your RTEMS installation, see below for an example.

    -

    export RTEMS_MAKEFILE_PATH=/opt/rtems/CPU-rtems/BSP

    -

    - When building without network support you will need the ace_for_tao - subsetting functionality enabled. For this add ace_for_tao = 1 - to your bin/MakeProjectCreator/config file and regenerate the - GNU makefiles as described here.

    - -

  • PharLap ETS

    - - ACE has been ported to Ardence's - PharLap ETS - version 13. The port was originally done for Pharlap 9.1 and MSVC 6, - but has been updated to Pharlap ETS 13 with Visual Studio .NET 2003 - (VC7.1).

    To build for PharLap, you'll need to use MPC to - generate .sln/.vcproj files with the ETS configurations. For example: -

    -cd \ace\ACE_wrappers
    -perl bin/mwc.pl  -type vc71 -relative ACE_ROOT=C:/ace/ACE_wrappers -relative TAO_ROOT=C:/ace/ACE_wrappers/TAO -value_template configurations='"ETS Debug"' -value_template configurations+='"ETS Release"' -name_modifier *_ETS TAO_ACE.mwc
    -      
    - That command will generate the same .sln and .vproj files as for - regular Windows builds with VC7.1, but they'll have names with an - _ETS suffix and will include the "ETS Debug" and - "ETS Release" configurations.

    - After generating the needed VC7.1 files, use the ace/config-pharlap.h - configuration file, and the instructions - for building on Windows. Building the ACE library is the same as - for regular Windows platforms, except you choose one of the PharLap - ETS configurations to build within Visual Studio. - For an example of how to build binaries, see the tests directory. - The tests_pharlap_msvc.lnk file is a LinkLoc commands file that the - ACE tests are built with. It is likely that local sites may need - to adjust this file for their target environment. -

    - When executing programs on the target system, it is possible that not - all of the VC++ support DLLs are resident on the target. In particular, - the debug-supporting DLLs may not be present. If you require these, be - sure to add those needed. For example, on the standard LabVIEW RT 8.2 - distribution using Pharlap ETS, the following DLLs must be copied to - the target before being able to run Debug programs: -

      -
    • msvcp71d.dll
    • -
    • msvcr71d.dll
    • -
    -

    - To build ACE for National Instruments' LabVIEW RT, use - the Pharlap ETS information above, but add the following line to your - config.h file: -

    -      #define ACE_PHARLAP_LABVIEW_RT
    -      
    - This setting makes the necessary adjustments for LabVIEW's implementation - of Pharlap ETS. - - By default, the ACE tests log their output/results to the - system console on Pharlap ETS. To change this behavior and make the - test output log to a file in the log directory under the - current working directory while executing, add the following line to - your config.h file: -
    -      #define ACE_PHARLAP_TESTLOG_TO_FILE
    -      
    - This setting has no affect on TAO tests which always write test output - to stdout. -
    - -

  • Mac OS X (10.2.x)

    - -

    ACE builds and runs on Mac OS X 10.2.x, but the following are - needed to build it:

    - -

    1. The latest version of the Apple Developer Tools - (December 2002)

    -

    2. The dlcompat library (obtained either through Fink or - SourceForge)

    - -

    When creating $ACE_ROOT/ace/config.h for Mac OS X, you need - to add the following if you obtained dlcompat via Fink:

    - -

    #define ACE_NEEDS_DL_UNDERSCORE

    - -

    You'll also need to do:

    - -

    setenv DYLD_LIBRARY_PATH $ACE_ROOT/ace:$ACE_ROOT/lib

    -

    setenv MACOSX_DEPLOYMENT_TARGET 10.2

    - -

    Currently, all ACE tests pass except Process_Mutex_Test and - MEM_Stream_Test. Also, Mac OS X doesn't yet support *nix - aio_* calls, and ACE does not know anything about Mach.

    - -

    The work to port ACE to Mac OS X was done by several people, - John Zorko - <j.zorko@att.net> is - only one of them.

    - -

  • iPhone/iPod Touch/iPad

    - -

    ACE builds and runs on the iPhone/iPod Touch/iPad Hardware - and Simulator. Keep in mind that ACE/TAO needs to be built - statically since Apple does not allow third party dynamic libraries - to be deployed on the hardware. The following are needed to build ACE:

    - -

    1. The iPhone SDK.

    -

    2. When creating $ACE_ROOT/ace/config.h, include - config-macosx-iphone-hardware.h if you want to deploy on the - hardware, include config-macosx-iphone-simulator.h if you want - to deploy on the simulator. Even though those includes are named - after the iPhone, the includes work for iPhone/iPod Touch, and iPad.

    -

    3. You need to define two environment variables. The first is - IPHONE_TARGET. Set IPHONE_TARGET to SIMULATOR if you want to deploy - on SIMULATOR. Set IPHONE_TARGET to HARDWARE if you want to deploy on - the hardware device.

    -

    4. When creating $ACE_ROOT/include/makeinclude/platform_macros.GNU, - include 'include $(ACE_ROOT)/include/makeinclude/platform_macosx_iphone.GNU' - in the file.

    - - - -
- - -
-

Compiling ACE with GNU g++

- -If you use the GNU GCC g++ compiler please note the following: - -
    -

  • ACE/TAO needs g++ 2.95.x or better. Older versions are not usable anymore

    - -

  • Make sure to update your gcc config.status - file. This file is produced when installing gcc; it specifies - where to install the binary files that gcc uses. For example, - it specifies whether to use Solaris's /usr/ccs/bin - binary utils or GNU binary utils. The - config.status file is an output of the gcc - configure script; it is preferable to use the - --prefix option to configure instead - of hacking its output.

    - -

  • If you are getting weird link errors when building libACE - on Solaris you are probably using the GNU linker. Try using the - Sun linker (/usr/ccs/bin/ld) instead. Note that gcc first looks - for the GNU linker if it is installed along with gcc. The only - way to not use the GNU linker is to delete it from the - installation or to build your own compiler with no linker. Be - aware that you still need the libraries and includes of gcc.

    - - NOTE: if you do use the GNU linker, you might need to change - the -G flag to -shared in - the SOFLAGS definition in your - include/makeinclude/platform_macros.GNU.

    - -

  • Don't get too confused about contradictory statements in - the gcc documentation. It was written by different - people...

    - -

  • Make sure that the linker invoked by gcc produces code - that initializes static objects. Please see gcc's - documentation for using collect2.

    - -

- - -

-

What Do I Need to Build for TAO?

-Toshio Hori <toshi@etl.go.jp> provided these suggestions on building -just what's needed for (a subset of) TAO:

- -I usually make: -

    $ACE_ROOT/ace,
-    $ACE_ROOT/apps/gperf,
-    $TAO_ROOT/tao,
-    $TAO_ROOT/TAO_IDL, and
-    $TAO_ROOT/orbsvcs/orbsvcs
-
-and the whole make takes less than an hour on my Solaris 7 for intel, -Pentium-III/550MHz, 256MB memory, 512MB swap machine. (Top secret: I -renice the 'make' process to the highest priority, -20... ;-) - -To save time and space, I set -
    TAO_ORBSVCS = Naming Time Trader ImplRepo
-
-in $ACE_ROOT/include/makeinclude/platform_macros.GNU also. See -TAO's orbsvcs -library customization instructions for more information.

- - -


System Resource -Requirements

The amount of system resources required to build -ACE and TAO varies greatly. The required system resources are -influenced by OS and compiler platform, build options, and component -configurations. As a rough guide, the typical peak memory requirement -can be well over 512 MB (notably, for TAO's orbsvcs). Depending on -your OS and compiler configuration, an entire build -of ACE and TAO can use well over 4 GB of disk space. It's usually not -necessary to build all of ACE and TAO, though.

- -Much less disk space is required for just the libraries. For example, -see the ACE -library subset sizes.

- -If you run out of memory when building, you might consider trying -some or all of these suggestions:

-

    -
  • Enable or increase virtual memory. If you're on a Linux or LynxOS platform, - please see the appropriate sections above.

    -

  • Disable/enable optimization and/or debugging. See the - Makefile Flags discussion for information - on how to do that via ACE's Makefiles.

    -

  • If you're using g++, try removing -pipe from - CFLAGS in your - include/makeinclude/platform_macros.GNU file.

    -

  • Restrict the components that you build. For ACE and TAO, see the - discussion of ACE_COMPONENTS in the - ACE subsets page. For TAO's - orbsvcs, see the discussion of TAO_ORBSVCS in - orbsvcs Library configuration information.

    - -If disk space is a problem, disabling debugging should greatly -reduce object code, and therefore, library size. This is especially -true with g++.

    - -Toshio Hori <toshi@etl.go.jp> provided these tips for reducing -disk space usage:

    - -To save space on a Unix machine, I usually run - 'find . -name \*.sln -o -name \*.vcproj -o -name \*.bmak | xargs rm -f' -in $ACE_ROOT at first after I untar the distribution. They are -meaningless in my environment (Files named '*.sln' and '*.vcproj' are -used for MSVC++ and files named '*.bmak' are for CodeGear C++ -Builder.)

    - -Finally, to save space, may want to run 'make clean' after 'make'. It -removes generated object files and leaves libraries/executables -intact. If you want to remove any of the libraries/executables, as -well, try 'make realclean'.

    - -

- -


-

General MPC information

- -The USAGE, README for documentation on MPC.

- -A common usage for creating a Windows workspace containing just the -core ACE and TAO libraries and executables is the following: - -


-C:> cd %TAO_ROOT%
-C:> %ACE_ROOT%\bin\mwc.pl -type vc71 TAO_ACE.mwc
-
- -Replace vc71 with whatever project type you want to use. On Linux and -other UNIX platform use the gnuace type:

- -


-% cd $TAO_ROOT
-% $ACE_ROOT/bin/mwc.pl -type gnuace TAO_ACE.mwc
-
- -this creates the appropriate GNUmakefiles. Additional information on -how to obtain, configuration, and build ACE+TAO using MPC appear at -the OCI FAQ.

- -If you are attempting to generate project files using MPC, and you get -the following error message:
- -

ERROR: Unable to find the MPC modules in /builds/ACE_wrappers/MPC.
-You can set the MPC_ROOT environment variable to the location of MPC.
-
- -You need to do one of the following: - -
    -
  1. If you have already obtained MPC, either move it underneath the -ACE_wrappers directory or set your MPC_ROOT environment variable to point -to the full path of MPC.
  2. -
  3. Check out MPC from the DOC Group subversion repository -and set your MPC_ROOT environment variable.
  4. -
- -You can check -out MPC from the doc_group subversion server using the following command. - -
svn co svn://svn.dre.vanderbilt.edu/DOC/MPC/trunk MPC
-
- -The README and USAGE files in the MPC/docs directory are an up-to-date -source of documentation, however it is not a complete set of -documentation. The TAO Developer's Guide from OCI starting with the -1.3a version contains more information about MPC.

- -The MPC chapter from the TAO Developer's Guide is available at -http://downloads.ociweb.com/MPC/. Some of MPC has changed since -this version, but it is largely accurate. An updated version will be -available as newer versions of the TAO Developer's Guide are released. -In the meantime, please see the README and USAGE files in the MPC -directory. - -

-

-

Working with ACE in Eclipse

- - -

-The Eclipse CDT C++ development environment can be used to develop ACE applications. You can configure a new CDT project to build ACE using either a local source distribution or checking out ACE from CVS in Eclipse. These are the steps to create the CDT project to build ACE. -

- -

-

To create an Eclipse project for ACE starting from CVS:

-
    -
  1. In the "CVS Repository Exploring" perspective, navigate to the module containing ACE.
  2. -
  3. Checkout the module using "Check Out As" and select the "project configured using the New Project Wizard" option.
  4. -
  5. Select "Standard Make C++ Project" for the project type.
  6. -
  7. Follow the steps outlined above, up to the point of running make, for building ACE on your platform. Use "path_to_your_eclipse_workspace"/"project_name" as your $ACE_ROOT. -
  8. If you had to regenerate the makefiles using MPC, select the root folder for your poject and use the import wizard to add them to your project.
  9. -
  10. Select the root folder for the project and use the "Create Make Target" wizard to setup the appropriate make command and options.
  11. -
  12. Select the root folder and run "Build Make Target." This will build ACE.
  13. -
-

- - - -

-

To create an Eclipse project for ACE from a local source distribution:

-
    -
  1. Launch the "New Project Wizard" in Eclipse.
  2. -
  3. Select "Standard Make C++ Project" for the project type.
  4. -
  5. On the project name page, uncheck the "use default" location option and replace the default path with the path to your source distribution.
  6. -
  7. Follow the steps, up to the point of running make, for building ACE on your platform. -
  8. If you had to regenerate the makefiles using MPC, select the root folder for your poject and use the import wizard to add them to your project.
  9. -
  10. Select the root folder for the project and use the "Create Make Target" wizard to setup the appropriate make command and options.
  11. -
  12. Select the root folder and run "Build Make Target." This will build ACE.
  13. - - -
-

- -

- -

-

Advanced Topics

- - - -


-

Non-static -ACE_Object_Manager

The ACE_Object_Manager can be instantiated -as a static object, can be instantiated on the stack of the main -program thread, or can be explicitly instantiated and destroyed by the -application with ACE::init () and ACE::fini -(). The comments in the header file, -ace/Object_Manager.h, as well as Section 1.6.3 in -The ACE Programmer's Guide -provide more detail.

- -NOTE: -Special requirements are imposed on applications if the -ACE_Object_Manager is instantiated, by ACE, on the stack of the main -thread. This behavior is selected by defining -ACE_HAS_NONSTATIC_OBJECT_MANAGER in -ace/config.h. Again, see the ACE Object_Manager header file, -ace/Object_Manager.h for more information. One of -these requirements is discussed here, because it is so important. -Please note that ACE_HAS_NONSTATIC_OBJECT_MANAGER is -defined in the distributed ACE config.h headers for -VxWorks and Win32.

- -The important requirement is that the program must -declare its main function with two arguments, even if -they're not used, and with int return type: - -


-int
-main (int, char *[])
-
- -If you don't declare main exactly that -way, then you'll see a link error about ace_main_i being -undefined.

- -Alternatively, this feature can be disabled by commenting out the -#define ACE_HAS_NONSTATIC_OBJECT_MANAGER in the -ace/config.h. But, that will make repeated testing more -difficult on VxWorks. And, you'd either have to call static -constructors and destructors manually or unload/load the program -between runs. On Win32, disabling the feature can possibly lead to -shutdown difficulties.

- -WARNING: -ACE_HAS_NONSTATIC_OBJECT_MANAGER assumes that your -main function is named main. Any violation -of this assumption is at your peril. If you really need to call your -entry point something other than main, you'll need to -construct and destroy the ACE_Object_Manager. The best way to do that -is to call ACE::init () and ACE::fini (). -Or, see the #define of main (int, char *[]) -in ace/OS_main.h to see how ACE does -that for entry points named main. - -


-

Cloning the Source Tree

- -On UNIX platforms, we typically like to support multiple platform -builds using the same ACE source tree. This idiom is supported by ACE -using the $ACE_ROOT/bin/create_ace_build.pl script. - -To clone the source tree, create ./build and ./build/{your build name} -subdirectories under the ACE_wrappers directory. -Then invoke the create_ace_build.pl script to clone the source tree using -soft links from your build directory back to the actual sources. -Here is an example:

- -

% cd ACE_wrappers
-% mkdir build build/build-SunOS5
-% perl bin/create_ace_build.pl -a -v build-SunOS5
-% cd build/build-SunOS5
-% setenv ACE_ROOT $cwd
-% make
-

- -This will establish a complete tree of links. In addition, make sure -you set your LD_LIBRARY_PATH to -$ACE_ROOT/lib:$LD_LIBRARY_PATH on SVR4 UNIX -platforms.

- -When you do a make in the $ACE_ROOT directory you will be producing -object code that is not stored in the same place as the original -source tree. This way, you can easily build another platform in a -parallel tree structure.

- -See the comments at the top of the create_ace_build.pl script for -further usage information. - -


-

Additional Build Tips for MVS

- -For all intents and purpose, MVS OpenEdition (OE) is another flavor of -UNIX, therefore, the instructions under Building -and Installing ACE on Unix can be used along with the following -additional tips:

- -You can get a copy of GNU make that has been ported to MVS OpenEdition from -the IBM OpenEdition web site. -ACE's make scheme generates compile commands that have options and -operands interspersed. By default, the c89/cc/c++ compiler expects all options to -precede all operands. To get around this, you must set a special -compiler environment variable (_CXX_CCMODE) to 1 which tells the compiler -to allow options and operands to be interspersed.

- -Note that the environment variable LD_LIBRARY_PATH is -called LIBPATH on MVS.

- -Shared objects are built a little different on MVS than on -other UNIX implementations. This has been accounted for in the makefiles -that come with ACE When the linker (via the cxx command) builds the -libACE.so file it will also create a file called libACE.x. This is a -side-deck file and it must be included in subsequent link edits with -application code. For more information on this see the C/C++ MVS -Programming Guide. If you want to build your application statically, -i.e., using libACE.a instead of libACE.so, you can set ACELIB to -ACELIB_STATIC in platform_mvs.GNU.

- -When the libACE.so file is built (via the MVS pre-linker and binder), you -will get a rc=4 from the pre-linker. This is ok. This is due to some -warnings about unresolved references which should get resolved during the -link step. Note, however, there shouldn't be any unresolved references -from the binder (linkage editor). You can get pre-link and link maps by -uncommenting the PMAP and LMAP lines in the platform_mvs.GNU file. - -


-

Makefile Flags

- -GNU make provides many options to customize its operation. See its -documentation for more information. One example is that for multi-cpu -UNIX machines you will be able to build faster if you use:

- -


-% make -j n
-

- -which allows parallel compilation. The number n should -typically be the number of CPUs. It is likely that builds will be -faster even on single-CPU UNIX machines with make -j -2.

- -ACE further supports the following flags. They can be enabled either -on the command line, e.g., "make purify=1", or added to your -platform_macros.GNU. To disable the option, -set the flag to null, -e.g., "make debug=". Some flags support setting to 0 disable, e.g., -"make debug=0". debug=1 is enabled in the platform files that are -released with ACE.

- -Please note that the effects of a flag may be platform specific. -Also, combinations of certain flags may or may not be allowed on -specific platforms, e.g., debug=1 opt=1 is supported by g++ but -not all other C++ compilers.

- -If you use Purify or Quantify: purify or quantify must -be on your PATH. By default, ACE puts the Purify/Quantify -caches below /tmp. To override that, set the -PURE_CACHE_BASE_DIR variable, either in your environment -or on the make make command line, to the destination -directory for your instrumented libraries.

- -

Flag             Description
-----             -----------
-debug            Enable debugging; see DCFLAGS and DCCFLAGS.
-exceptions       Enable exception handling (not supported by all platforms).
-include_env      Support old-style ACE_TRY_ENV declarations in methods.
-                 This switch is necessary for compiling TAO applications
-                 in the native exception configuration that were written
-                 for TAO versions before 1.2.2.
-                 In TAO 1.2.2, new macros were introduced that supercede
-                 the direct ACE_TRY_ENV declarations. These are the
-                 ACE_ENV_ARG macros that are defined in ace/CORBA_macros.h
-                 and are documented in docs/exceptions.html.
-                 This switch only affects the exceptions=1 configuration.
-                 It is for backward compatibility only.
-                 There will be warnings about unused _ACE_environment_variable
-                 parameters when using include_env=1.
-                 If possible, do not use it, but instead change your TAO
-                 applications to use the ACE_ENV_ARG macros.
-fast             Enable -fast option, e.g., with Sun C++.
-inline           Enable ACE inlining.  Some platforms enable inlining by
-                   default, others do not.
-optimize         Enable optimization; see OCFLAGS and OCCFLAGS.
-pace             Enable PACE as the underpinnings of ACE_OS.
-probe            Enable ACE_Timeprobes.
-profile          Enable profiling; see PCFLAGS and PCCFLAGS.
-purify           Purify all executables.
-quantify         Quantify all executables.
-repo             Use GNU template repository (g++ with repo patches only).
-rtti             Enable run-time type identification.  On some platforms,
-                   it is enabled by default, so this is ignored.
-shared_libs      Build shared libraries. Ignored if static_libs_only is set.
-static_libs      Build shared libraries. Ignored if shared_libs_only is set.
-shared_libs_only Only build shared libraries.  Ignored if no SHLIBs are
-                   specified by the Makefile, as in performance-tests/Misc.
-static_libs_only Only build static libraries.
-threads          Build with thread support.
-xt               Build with Xt (X11 Toolkit) support.
-fl               Build with FlTk (Fast Light Toolkit) support.
-tk               Build with Tk (Tcl/Tk) support.
-qt               Build with Qt (Trolltech Qt) support.
-ssl              Build with OpenSSL support.
-rapi             Build with RAPI
-split            Build the library by first splitting up the ACE source
-                   to several files, with one object code entity for each
-                   source file. This allows an application that is linked
-                   with ACE to extract _exactly_ what it needs from the
-                   library, resulting in a smaller executable.  Setting this
-                   to 1 overrides debug to 0.
-
-Usually, users do not need to be concerned with make targets.
-Just enter "make" on the command line to build.  A few notable
-targets are listed below.
-
-Target             Description
-------             -----------
-show_statics       Lists all static objects in object files built for
-                     current directory.  Only supported for g++.
-show_uninit        Lists all uninitialized in object files built for
-                     current directory.  Only supported for g++.
-
-
- -


-

Building from Subversion (anonymous access)

-If users are building from our Subversion repository the -GNUmakefiles, and project files for building on various platforms will -not be available. Subversion users are expected to generate them -using MPC before building ACE, TAO or -CIAO. We point out some suggestions below to get bootstrapped -quickly. - -
    -
  • You can checkout different subsets from the Subversion repository. -
      -
    • To checkout ACE with MPC:

      - svn co svn://svn.dre.vanderbilt.edu/DOC/Middleware/sets-anon/ACE . -

    • -
    • To checkout ACE+TAO with MPC:

      - svn co svn://svn.dre.vanderbilt.edu/DOC/Middleware/sets-anon/ACE+TAO . -

    • -
    • To checkout ACE+TAO+CIAO with MPC:

      - svn co svn://svn.dre.vanderbilt.edu/DOC/Middleware/sets-anon/ACE+TAO+CIAO . -

    • -
    -

  • Please make sure that you have - perl installed, preferably perl - 5.8 or higher. Users on Win32 based platforms are recommended to use - Active - State Perl. We use active state perl without problems. We have - ran into problems trying to use the cygwin version of perl on Win32 - based platforms.

    -

  • - -
  • To build ACE and associated tests, examples, - and associated utility libraries with GNUmakefiles, you must - generate GNUmakefiles with MPC:

    - $ACE_ROOT/bin/mwc.pl -type gnuace ACE.mwc

    -

    On Windows, with Visual C++ 8, you must generate solution and project files with MPC:

    - - $ACE_ROOT/bin/mwc.pl -type vc8 ACE.mwc

    - - On Windows, with Visual C++ 7, you must generate solution and project files with MPC:

    - $ACE_ROOT/bin/mwc.pl -type vc71 ACE.mwc

    -
  • If you want to build TAO+CIAO and its associated libraries - please see TAO-INSTALL and - CIAO-INSTALL for details. -
- -

- -Back to the ACE -home page. - - - - -

- - - -Last modified: Wed Jul 5 17:26:22 EST 2006 - - - -

diff --git a/dep/ACE_wrappers/ACE.mwc b/dep/ACE_wrappers/ACE.mwc deleted file mode 100644 index 5b8eada94..000000000 --- a/dep/ACE_wrappers/ACE.mwc +++ /dev/null @@ -1,32 +0,0 @@ -// $Id: ACE.mwc 86476 2009-08-13 03:27:23Z elliott_c $ -workspace { - exclude(automake) { - build - } - exclude { - TAO - } - - // The associate scope does not add directories to the workspace; - // it only associates a name with one or more directories. - associate(examples) { - examples - } - associate(tests) { - performance-tests - tests - } - associate(gperf) { - gperf - } - - // The '--' is a special key that indicates that the associated - // projects should be of the form @NAME@ in the generated Makefile.am. - associate(--) { - ACEXML - ASNMP - protocols - KOKYU - TAO - } -} diff --git a/dep/ACE_wrappers/ACE_vc10.sln b/dep/ACE_wrappers/ACE_vc10.sln deleted file mode 100644 index 27234c788..000000000 --- a/dep/ACE_wrappers/ACE_vc10.sln +++ /dev/null @@ -1,111 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -# $Id: VC10WorkspaceCreator.pm 1890 2010-08-24 19:48:23Z mitza $ -# -# This file was generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -# MPC Command: -# /tmp/DOC_ROOT/stage-1367/ACE_wrappers/bin/mwc.pl -type vc10 -recurse -hierarchy -relative ACE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ACE", "ace\ACE_vc10.vcxproj", "{47BC56ED-FECA-1BAD-6757-8A6300006755}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ACE_ETCL_Parser", "ace\ETCL\ACE_ETCL_Parser_vc10.vcxproj", "{42B1A787-FECA-1BAD-007E-8A67757B007A}" - ProjectSection(ProjectDependencies) = postProject - {47BC56ED-FECA-1BAD-6757-8A6300006755} = {47BC56ED-FECA-1BAD-6757-8A6300006755} - {17692659-FECA-1BAD-007E-8A67757B007A} = {17692659-FECA-1BAD-007E-8A67757B007A} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ACE_ETCL", "ace\ETCL\ACE_ETCL_vc10.vcxproj", "{17692659-FECA-1BAD-007E-8A67757B007A}" - ProjectSection(ProjectDependencies) = postProject - {47BC56ED-FECA-1BAD-6757-8A6300006755} = {47BC56ED-FECA-1BAD-6757-8A6300006755} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Monitor_Control", "ace\Monitor_Control\Monitor_Control_vc10.vcxproj", "{7153B6F4-FECA-1BAD-D619-74620E01B14C}" - ProjectSection(ProjectDependencies) = postProject - {47BC56ED-FECA-1BAD-6757-8A6300006755} = {47BC56ED-FECA-1BAD-6757-8A6300006755} - {17692659-FECA-1BAD-007E-8A67757B007A} = {17692659-FECA-1BAD-007E-8A67757B007A} - {42B1A787-FECA-1BAD-007E-8A67757B007A} = {42B1A787-FECA-1BAD-007E-8A67757B007A} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "QoS", "ace\QoS\QoS_vc10.vcxproj", "{6ADC56EC-FECA-1BAD-7781-8A636757A7A3}" - ProjectSection(ProjectDependencies) = postProject - {47BC56ED-FECA-1BAD-6757-8A6300006755} = {47BC56ED-FECA-1BAD-6757-8A6300006755} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PerlACE", "bin\PerlACE\PerlACE_vc10.vcxproj", "{47B934A1-FECA-1BAD-A757-FC47A624E189}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bin", "bin\bin_vc10.vcxproj", "{5F0C56EF-FECA-1BAD-64FC-8A63000064FE}" - ProjectSection(ProjectDependencies) = postProject - {47BC56ED-FECA-1BAD-6757-8A6300006755} = {47BC56ED-FECA-1BAD-6757-8A6300006755} - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Debug|Win32.ActiveCfg = Debug|Win32 - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Debug|Win32.Build.0 = Debug|Win32 - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Debug|x64.ActiveCfg = Debug|x64 - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Debug|x64.Build.0 = Debug|x64 - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Release|Win32.ActiveCfg = Release|Win32 - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Release|Win32.Build.0 = Release|Win32 - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Release|x64.ActiveCfg = Release|x64 - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Release|x64.Build.0 = Release|x64 - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Debug|Win32.ActiveCfg = Debug|Win32 - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Debug|Win32.Build.0 = Debug|Win32 - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Debug|x64.ActiveCfg = Debug|x64 - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Debug|x64.Build.0 = Debug|x64 - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Release|Win32.ActiveCfg = Release|Win32 - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Release|Win32.Build.0 = Release|Win32 - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Release|x64.ActiveCfg = Release|x64 - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Release|x64.Build.0 = Release|x64 - {17692659-FECA-1BAD-007E-8A67757B007A}.Debug|Win32.ActiveCfg = Debug|Win32 - {17692659-FECA-1BAD-007E-8A67757B007A}.Debug|Win32.Build.0 = Debug|Win32 - {17692659-FECA-1BAD-007E-8A67757B007A}.Debug|x64.ActiveCfg = Debug|x64 - {17692659-FECA-1BAD-007E-8A67757B007A}.Debug|x64.Build.0 = Debug|x64 - {17692659-FECA-1BAD-007E-8A67757B007A}.Release|Win32.ActiveCfg = Release|Win32 - {17692659-FECA-1BAD-007E-8A67757B007A}.Release|Win32.Build.0 = Release|Win32 - {17692659-FECA-1BAD-007E-8A67757B007A}.Release|x64.ActiveCfg = Release|x64 - {17692659-FECA-1BAD-007E-8A67757B007A}.Release|x64.Build.0 = Release|x64 - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Debug|Win32.ActiveCfg = Debug|Win32 - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Debug|Win32.Build.0 = Debug|Win32 - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Debug|x64.ActiveCfg = Debug|x64 - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Debug|x64.Build.0 = Debug|x64 - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Release|Win32.ActiveCfg = Release|Win32 - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Release|Win32.Build.0 = Release|Win32 - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Release|x64.ActiveCfg = Release|x64 - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Release|x64.Build.0 = Release|x64 - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Debug|Win32.ActiveCfg = Debug|Win32 - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Debug|Win32.Build.0 = Debug|Win32 - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Debug|x64.ActiveCfg = Debug|x64 - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Debug|x64.Build.0 = Debug|x64 - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Release|Win32.ActiveCfg = Release|Win32 - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Release|Win32.Build.0 = Release|Win32 - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Release|x64.ActiveCfg = Release|x64 - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Release|x64.Build.0 = Release|x64 - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Debug|Win32.ActiveCfg = Debug|Win32 - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Debug|Win32.Build.0 = Debug|Win32 - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Debug|x64.ActiveCfg = Debug|x64 - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Debug|x64.Build.0 = Debug|x64 - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Release|Win32.ActiveCfg = Release|Win32 - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Release|Win32.Build.0 = Release|Win32 - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Release|x64.ActiveCfg = Release|x64 - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Release|x64.Build.0 = Release|x64 - {5F0C56EF-FECA-1BAD-64FC-8A63000064FE}.Debug|Win32.ActiveCfg = Debug|Win32 - {5F0C56EF-FECA-1BAD-64FC-8A63000064FE}.Debug|Win32.Build.0 = Debug|Win32 - {5F0C56EF-FECA-1BAD-64FC-8A63000064FE}.Debug|x64.ActiveCfg = Debug|x64 - {5F0C56EF-FECA-1BAD-64FC-8A63000064FE}.Debug|x64.Build.0 = Debug|x64 - {5F0C56EF-FECA-1BAD-64FC-8A63000064FE}.Release|Win32.ActiveCfg = Release|Win32 - {5F0C56EF-FECA-1BAD-64FC-8A63000064FE}.Release|Win32.Build.0 = Release|Win32 - {5F0C56EF-FECA-1BAD-64FC-8A63000064FE}.Release|x64.ActiveCfg = Release|x64 - {5F0C56EF-FECA-1BAD-64FC-8A63000064FE}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/dep/ACE_wrappers/ACE_wrappers_vc10.sln b/dep/ACE_wrappers/ACE_wrappers_vc10.sln deleted file mode 100644 index e962b0f2f..000000000 --- a/dep/ACE_wrappers/ACE_wrappers_vc10.sln +++ /dev/null @@ -1,41 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -# $Id: VC10WorkspaceCreator.pm 1890 2010-08-24 19:48:23Z mitza $ -# -# This file was generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -# MPC Command: -# /tmp/DOC_ROOT/stage-1367/ACE_wrappers/bin/mwc.pl -type vc10 -recurse -hierarchy -relative ACE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers -relative TAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO -relative CIAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/CIAO -relative DANCE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/DAnCE -name_modifier "*_vc10" -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ACE", "ace\ACE_vc10.vcxproj", "{47BC56ED-FECA-1BAD-6757-8A6300006755}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Debug|Win32.ActiveCfg = Debug|Win32 - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Debug|Win32.Build.0 = Debug|Win32 - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Debug|x64.ActiveCfg = Debug|x64 - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Debug|x64.Build.0 = Debug|x64 - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Release|Win32.ActiveCfg = Release|Win32 - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Release|Win32.Build.0 = Release|Win32 - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Release|x64.ActiveCfg = Release|x64 - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Release|x64.Build.0 = Release|x64 - {348C50EF-FECA-1BAD-6244-8A036423F5D3}.Debug|Win32.ActiveCfg = Debug|Win32 - {348C50EF-FECA-1BAD-6244-8A036423F5D3}.Debug|Win32.Build.0 = Debug|Win32 - {348C50EF-FECA-1BAD-6244-8A036423F5D3}.Debug|x64.ActiveCfg = Debug|x64 - {348C50EF-FECA-1BAD-6244-8A036423F5D3}.Debug|x64.Build.0 = Debug|x64 - {348C50EF-FECA-1BAD-6244-8A036423F5D3}.Release|Win32.ActiveCfg = Release|Win32 - {348C50EF-FECA-1BAD-6244-8A036423F5D3}.Release|Win32.Build.0 = Release|Win32 - {348C50EF-FECA-1BAD-6244-8A036423F5D3}.Release|x64.ActiveCfg = Release|x64 - {348C50EF-FECA-1BAD-6244-8A036423F5D3}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/dep/ACE_wrappers/CMakeLists.txt b/dep/ACE_wrappers/CMakeLists.txt deleted file mode 100644 index 6bdc24302..000000000 --- a/dep/ACE_wrappers/CMakeLists.txt +++ /dev/null @@ -1,75 +0,0 @@ -# -# This file is part of the MaNGOS Project. See AUTHORS file for Copyright information -# -# This program 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. -# -# This program 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 this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# - -include(ExternalProject) - -if(WIN32) - configure_file(${CMAKE_CURRENT_SOURCE_DIR}/ace/config.h.win ${CMAKE_CURRENT_SOURCE_DIR}/ace/config.h) -endif() - -if(WIN32 AND MSVC) - # VS100 uses MSBuild.exe instead of devenv.com, so force it to use devenv.com - if(VS100_FOUND) - set(ACE_BUILD_TOOL ${VS100_DIR}/devenv.com) - else() - set(ACE_BUILD_TOOL ${CMAKE_BUILD_TOOL}) - endif() - - if(PLATFORM MATCHES X86) - set(ACE_CONFIGURATION Win32) - else() - set(ACE_CONFIGURATION x64) - endif() - - ExternalProject_Add(ACE_Project - SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR} - BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR} - INSTALL_DIR ${CMAKE_INSTALL_PREFIX} - DOWNLOAD_COMMAND "" - CONFIGURE_COMMAND "" - BUILD_COMMAND "" - INSTALL_COMMAND "" - ) - ExternalProject_Add_Step(ACE_Project ACE_Upgrade - COMMAND ${ACE_BUILD_TOOL} \\ace\\ace_vc8.sln /upgrade - ALWAYS 0 - ) - ExternalProject_Add_Step(ACE_Project ACE_Build - DEPENDEES ACE_Upgrade - COMMAND ${ACE_BUILD_TOOL} \\ace\\ace_vc8.sln /project ACE /build ${CMAKE_BUILD_TYPE}|${ACE_CONFIGURATION} - ALWAYS 0 - ) -elseif(UNIX) - if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") - # ACE Won't build on FreeBSD 10 with the exceptions test enabled so we're just turning that test off - set(DISABLE_EXCEPTIONS "--enable-exceptions=no") - else() - set(DISABLE_EXCEPTIONS "") - endif() - ExternalProject_Add(ACE_Project - SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR} - BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR} - INSTALL_DIR ${CMAKE_INSTALL_PREFIX} - DOWNLOAD_COMMAND "" - CONFIGURE_COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/configure --prefix=${CMAKE_INSTALL_PREFIX} --disable-ssl ${DISABLE_EXCEPTIONS} - ) -else() - message(FATAL_ERROR - "This script doesn't support your system configuration to compile/install ACE." - ) -endif() diff --git a/dep/ACE_wrappers/ChangeLog b/dep/ACE_wrappers/ChangeLog deleted file mode 100644 index ec8c3ded3..000000000 --- a/dep/ACE_wrappers/ChangeLog +++ /dev/null @@ -1,3020 +0,0 @@ -Wed Oct 27 12:01:05 CEST 2010 Johnny Willemsen - - * ACE version 5.8.3 released. - -Tue Oct 26 11:21:35 UTC 2010 Johnny Willemsen - - * bin/diff-builds-and-group-fixed-tests-only.sh: - Fixed DANCE_ROOT, could cause problems with the test stats email - -Mon Oct 25 21:01:02 UTC 2010 Olli Savia - - * NEWS: - Updated. - -Mon Oct 25 14:07:15 UTC 2010 Phil Mesnier - - * ace/Service_Gestalt.cpp: - Another fix to error processing behavior. If the result of - process_directives() was > 0, that value was replaced by the - result of process_commandline_directives(), which is contrary to - the expected behavior. Now the result is the sum of these to - return values, unless either returns -1, then the result is just - -1. - -Mon Oct 25 06:30:35 UTC 2010 Johnny Willemsen - - * ace/Atomic_Op_T.h: - * ace/Auto_IncDec_T.h: - Doxygen changes - -Sun Oct 24 12:35:28 UTC 2010 Johnny Willemsen - - * ace/Event_Handler.h: - * ace/Reactor.h: - * ace/Reactor_Notification_Strategy.h: - * ace/Read_Buffer.h: - * ace/Registry_Name_Space.h: - * ace/Remote_Tokens.h: - Doxygen changes - -Fri Oct 22 11:19:33 UTC 2010 Johnny Willemsen - - * ace/Reactor.h: - Doxygen changes - -Thu Oct 21 11:10:56 UTC 2010 Johnny Willemsen - - * ace/ACE.cpp: - * ace/FILE_IO.h: - * ace/Free_List.h: - * ace/Handle_Set.h: - * ace/Log_Msg.h: - * ace/WIN32_Asynch_IO.h: - Doxygen changes - -Wed Oct 20 18:19:51 UTC 2010 Johnny Willemsen - - * bin/fuzz.pl: - If we just see dollarIddollar we trigger an error, svn:keywords is - than lacking - -Wed Oct 20 16:07:09 UTC 2010 Steve Huston - - * ace/Timer_Queue_Adapters.cpp (ACE_Thread_Timer_Queue_Adapter::svc): - * ace/Timer_Queue_T.cpp (expire): - Temporarily release and reacquire the mutex around timer dispatch. - This prevents a deadlock on user code with multiple threads doing - timer-related operations. - -Wed Oct 20 09:22:46 UTC 2010 Johnny Willemsen - - * bin/MakeProjectCreator/config/global.features: - Add nddsmonitor as default to 0 - -Wed Oct 20 09:19:25 UTC 2010 Johnny Willemsen - - * ace/Log_Msg.h: - - * bin/MakeProjectCreator/config/global.features: - - * tests/Time_Value_Test.cpp: - -Tue Oct 19 18:11:57 UTC 2010 Olli Savia - - * ace/Caching_Utility_T.cpp: - Added missing include. - -Tue Oct 19 09:44:45 UTC 2010 Olli Savia - - * ace/Caching_Utility_T.cpp: - Use ACE::is_equal() to compare floating point values. - -Fri Oct 15 10:18:05 UTC 2010 Johnny Willemsen - - * tests/Bug_3911_Regression_Test.cpp: - Fixed warning - -Thu Oct 14 18:29:35 UTC 2010 Johnny Willemsen - - * tests/run_test.lst: - * tests/tests.mpc: - 3911 doesn't work with ace_for_tao - -Thu Oct 14 13:15:00 UTC 2010 Martin Corino - - * ace/Process.h: - * ace/Process.cpp: - Changes to allow to dynamically define the max. number of cmdline args. - The tao_idl compiler was running out of room in certain instances and - the static max was very conservative. - -Thu Oct 14 09:38:00 UTC 2010 Martin Corino - - * tests/Bug_3911_Regression_Test.cpp: - Wchar build fixes. - -Wed Oct 13 08:24:00 UTC 2010 Martin Corino - - * tests/Bug_3911_Regression_Test.cpp: - Wchar build fixes. - -Wed Oct 13 06:15:00 UTC 2010 Johnny Willemsen - - * ace/Framework_Component.h: - * ace/Framework_Component.inl: - * ace/Framework_Component.cpp: - * ace/Framework_Component_T.h: - Use ACE_Copy_Disabled, change c-style cast to const cast, use - sync macros instead of ACE_MT. Thanks to Ranjit Hande - for reporting the c-style cast warnings - - * tests/Framework_Component_Test.h: - Layout change - -Tue Oct 12 21:12:51 UTC 2010 Adam Mitz - - * bin/DependencyGenerator/GNUObjectGenerator.pm: - - Fixed incorrect Perl regex escaping from my previous commit. - -Tue Oct 12 11:41:00 UTC 2010 Martin Corino - - * tests/Bug_3911_Regression_Test.cpp: - Fuzz fixes. - -Tue Oct 12 08:06:00 UTC 2010 Martin Corino - - * tests/Bug_3911_Regression_Test.cpp: - * tests/run_test.lst: - * tests/tests.mpc: - Added reproducer test for Bugzilla #3911. - -Mon Oct 11 16:31:12 UTC 2010 Adam Mitz - - * bin/DependencyGenerator/GNUObjectGenerator.pm: - - If the source file contains '../', remove the directory part from - the name of the object file (see gnu.mpd:383 OBJS make variable). - -Mon Oct 11 11:53:43 UTC 2010 Johnny Willemsen - - * ace/Dev_Poll_Reactor.cpp: - * ace/Select_Reactor_T.cpp: - Fixed problems with threads=0, thanks to Elez - for reporting this and providing a patch - -Fri Oct 8 11:19:44 UTC 2010 Olli Savia - - * protocols/ace/RMCast/Flow.cpp: - Added missing include. - -Fri Oct 8 08:42:37 UTC 2010 Olli Savia - - * ace/config-linux-common.h: - * ace/os_include/os_unistd.h: - * configure.ac: - * m4/config_h.m4: - Removed references to ACE_LACKS_PREAD_PROTOTYPE. It is no - longer used. - -Fri Oct 8 08:20:04 UTC 2010 Olli Savia - - * ace/OS_NS_stdio.inl: - * ace/README: - * tests/OS_Test.cpp: - Removed references to ACE_LACKS_RENAME. It is no - longer used. - -Fri Oct 8 07:51:46 UTC 2010 Olli Savia - - * ace/config-integritySCA.h: - Removed references to ACE_LACKS_IPC_H. It is no - longer used. - -Fri Oct 8 07:48:38 UTC 2010 Olli Savia - - * ace/README: - Removed references to ACE_LACKS_IOSTREAMS_TOTALLY. It is no - longer used. - - * ace/os_include/os_stropts.h: - Fixed typo. - -Fri Oct 8 07:42:26 UTC 2010 Olli Savia - - * ace/OS_NS_stdio.h: - * ace/OS_NS_stdio.inl: - * ace/README: - * ace/Svc_Conf_Lexer.cpp: - Removed references to ACE_LACKS_CLEARERR. It is no - longer used. - -Fri Oct 8 06:58:56 UTC 2010 Olli Savia - - * protocols/ace/RMCast/Flow.cpp: - * tests/CDR_Array_Test.cpp: - * tests/CDR_File_Test.cpp: - * tests/CDR_Test.cpp: - * tests/Upgradable_RW_Test.cpp: - Use ACE::is_equal() to compare floating point values. - -Thu Oct 7 12:34:20 UTC 2010 Olli Savia - - * ASNMP/tests/Counter64_Test.cpp: - * ace/ETCL/ETCL_Constraint.cpp: - * ace/Monitor_Control/CPU_Load_Monitor.cpp: - Use ACE::is_equal() to compare floating point values. - -Tue Oct 5 07:23:19 UTC 2010 Johnny Willemsen - - * ACE-INSTALL.html: - * COPYING: - Small updates - - * docs/ACE-porting.html: - Updated links - - * include/makeinclude/wrapper_macros.GNU: - Added support for valgrind=1 - -Mon Oct 4 19:55:33 UTC 2010 William R. Otte - - * bin/make_release.py: - - Updates. - -Mon Oct 4 12:32:02 UTC 2010 Johnny Willemsen - - * ace/LSOCK_Stream.h: - Doxygen changes - - * ace/Makefile.am: - Removed zapped file - - * include/makeinclude/platform_sunos5_sunc++.GNU: - Removed SUN_CC_HAS_PVFC_BUG, this got added 8 years ago and is - used for any SunCC compiler version. If some old SunCC compiler breaks - we can readd this flag for just that compiler version - -Fri Oct 1 16:00:51 UTC 2010 William Otte - - * COPYING: - - Updated to include DAnCE. - -Fri Oct 1 11:55:23 UTC 2010 Johnny Willemsen - - * ace/config-g++-common.h: - * ace/config-qnx-neutrino.h: - * ace/config-qnx-rtp-common.h: - Fixed redefinition warnings - - * ace/ace_for_tao.mpc: - Zapped some files - - * ace/config-win32-common.h: - * ace/config-win32-msvc.h: - * ace/config-win32.h: - Cleanup - - * ace/config-win32-ghs.h: - Removed this file. - -Thu Sep 30 10:49:38 UTC 2010 Johnny Willemsen - - * debian/mpc-ace.install: - Improved - - * docs/bczar/bczar.html: - Added DAnCE to doxygen instructions - -Thu Sep 30 08:09:34 UTC 2010 Johnny Willemsen - - * ace/IOStream.h: - * ace/config-g++-common.h: - * ace/config-hpux-11.00.h: - * ace/config-linux-common.h: - * ace/config-mvs.h: - * ace/config-sunos5.5.h: - * ace/config-win32-borland.h: - * ace/config-win32-cegcc.h: - * ace/config-win32-dmc.h: - * ace/config-win32-ghs.h: - * ace/config-win32-mingw.h: - * ace/config-win32-msvc.h: - Cleanup, move g++ version defines to config-g++-common.h - -Thu Sep 30 05:45:10 UTC 2010 Marcel Smit - - * NEWS: - * ace/Cache_Map_Manager_T.h: - * ace/Cache_Map_Manager_T.inl: - * ace/Cache_Map_Manager_T.cpp: - * ace/Cached_Connect_Strategy_T.h: - * ace/Cached_Connect_Strategy_T.cpp: - * ace/Caching_Strategies_T.h: - * ace/Caching_Utility_T.cpp: - * ace/Cleanup_Strategies_T.cpp: - * ace/Hash_Cache_Map_Manager_T.h: - * ace/Hash_Cache_Map_Manager_T.cpp: - * ace/Map_T.h: - * ace/Map_T.inl: - * ace/Map_T.cpp: - * ace/Pair_T.h: - * ace/Pair_T.inl: - * examples/Web_Crawler/URL_Visitor.h: - * tests/Cache_Map_Manager_Test.cpp: - * tests/Cached_Accept_Conn_Test.h: - * tests/Cached_Conn_Test.cpp: - * tests/Map_Manager_Test.cpp: - Removed ACE_Pair from the ACE library. - -Wed Sep 29 14:06:40 UTC 2010 Johnny Willemsen - - * ace/Cache_Map_Manager_T.h: - * ace/MEM_SAP.h: - * ace/Metrics_Cache_T.h: - * ace/Metrics_Cache_T.inl: - * ace/Metrics_Cache_T.cpp: - Doxygen changes - -Wed Sep 29 12:19:17 UTC 2010 Johnny Willemsen - - * ace/Caching_Utility_T.h: - * ace/Caching_Utility_T.cpp: - Use bool and ACE_Copy_Disabled - - * ace/Malloc_Base.h: - * ace/Malloc_T.h: - Typo fixes - -Wed Sep 29 12:08:58 UTC 2010 Marijke Hengstmengel - - * bin/MakeProjectCreator/config/global.features: - Add ccm_noevent option, default 0, events in CCM are enabled. - If set, events in CCM are disabled. - -Tue Sep 28 18:48:58 UTC 2010 Johnny Willemsen - - * apps/JAWS3/jaws3-todo: - Removed, todo for years now - -Tue Sep 28 18:16:52 UTC 2010 Adam Mitz - - * performance-tests/TCP/tcp_test.cpp: - - If the 1st char of the host name is a digit, need to set the IP - address and port as network byte order since that is what's - returned from ACE_OS::inet_addr(). - -Tue Sep 28 11:34:05 UTC 2010 Johnny Willemsen - - * ace/Asynch_Connector.cpp: - * ace/Barrier.h: - * ace/Barrier.cpp: - * ace/Condition_Thread_Mutex.h: - * ace/Condition_Thread_Mutex.inl: - * ace/Containers_T.cpp: - * ace/Functor.h: - * ace/Functor.inl: - * ace/IO_Cntl_Msg.cpp: - * ace/Intrusive_List.cpp: - * ace/Local_Tokens.inl: - * ace/MEM_IO.cpp: - * ace/MEM_Stream.h: - * ace/MEM_Stream.inl: - * ace/Malloc_T.inl: - * ace/OS_NS_Thread.inl: - * ace/OS_NS_string.inl: - * ace/Object_Manager_Base.cpp: - * ace/POSIX_Proactor.cpp: - * ace/Ping_Socket.cpp: - * ace/Signal.inl: - * ace/Throughput_Stats.h: - * ace/Throughput_Stats.cpp: - * ace/Time_Value.cpp: - * ace/Timer_Hash_T.cpp: - * ace/Timer_Heap_T.cpp: - * ace/Vector_T.h: - * ace/Vector_T.cpp: - * ace/config-linux-common.h: - Removed code that was ifdefed out for years now - -Tue Sep 28 08:31:37 UTC 2010 Vladimir Zykov - - * performance-tests/Misc/test_guard.cpp: - * tests/ACE_Test.cpp: - * examples/Reactor/TP_Reactor/client.cpp: - Fixed compilation errors with missing includes. - -Mon Sep 27 18:04:34 UTC 2010 Johnny Willemsen - - * ace/ACE.h: - * ace/Thread.h: - * ace/Thread_Adapter.h: - * ace/Thread_Mutex.h: - Doxygen changes - -Mon Sep 27 14:47:47 UTC 2010 Johnny Willemsen - - * ace/String_Base.h: - Doxygen changes - - * ace/Svc_Conf_Lexer.cpp: - Const changes - - * bin/msvc_static_order.lst: - Some updates, but this list is very outdated - -Mon Sep 27 14:27:25 UTC 2010 Jeff Parsons - - * THANKS: - - Added Matthew Waller - -Mon Sep 27 14:08:11 UTC 2010 Vladimir Zykov - - * ace/Log_Msg.h: - * ace/Log_Msg.cpp: - Fixed compilation with ACE_HAS_DUMP. The later happens because - ACE_Log_Msg depends on ACE_Atomic_Op and ACE_Atomic_Op needs - ACE_DEBUG when ACE_HAS_DUMP is defined. This change moves - include of ace/Atomic_Op.h from header to CPP file and adds - forward declaration for ACE_Atomic_Op. - - * ace/Atomic_Op_T.cpp: - * ace/Guard_T.cpp: - Removed unnecessary this paramater when doing ACE_END_DUMP. - - * examples/Misc/test_dump.h: - * examples/Threads/thread_specific.cpp: - Fixed logging in these tests. - -Mon Sep 27 11:24:02 UTC 2010 Vladimir Zykov - - * examples/C++NPv2/AIO_Client_Logging_Daemon.h: - Another attempt to fix compile error. - -Mon Sep 27 09:42:29 UTC 2010 Johnny Willemsen - - * bin/fuzz.pl: - Enable export file check, use TAO_IDL to generate export files or - remove the generated by line from the export file itself. Currently - only for CIAO and DAnCE - -Sat Sep 25 06:41:39 UTC 2010 Olli Savia - - * ace/ACE.h: - Modified ACE::is_equal() comment once again to make fuzz happy. - -Fri Sep 24 14:52:44 UTC 2010 Steve Huston - - * ace/Pipe.{h inl cpp}: Added two new methods, close_read() and - close_write() to close individual pipe handles. Refactored the - original close() method to use these and factored out the actual - closing code to a new inlined close_handle() method. - - Thanks to John Lilley for this - addition. - - * NEWS: Added description of the new methods. - -Fri Sep 24 12:41:13 UTC 2010 Johnny Willemsen - - * ACE-INSTALL.html: - Updated Remedy platforms - - * ACEXML/parser/parser/Parser.h: - * ace/Containers_T.h: - * ace/Containers_T.cpp: - * ace/OS_NS_string.h: - * ace/OS_NS_wchar.h: - * apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/shexp.h: - Fixed typo - -Fri Sep 24 12:32:44 UTC 2010 Johnny Willemsen - - * ace/Containers_T.h: - * ace/Containers_T.cpp: - * ace/OS_NS_string.h: - * ace/OS_NS_wchar.h: - Fixed typo - -Fri Sep 24 12:24:01 UTC 2010 Johnny Willemsen - - * ACE-INSTALL.html: - Documented vc10, thanks to Paul Carter - for reporting this. - -Fri Sep 24 11:44:06 UTC 2010 Olli Savia - - * ace/ACE.h: - Adjusted ACE::is_equal() comment to make fuzz happy. - -Fri Sep 24 09:35:00 UTC 2010 Vladimir Zykov - - * examples/C++NPv2/AIO_Client_Logging_Daemon.h: - Removed code that is problematic for GCC 2.95.3 in a crossbuild - for LynxOS 4.0. - -Fri Sep 24 07:35:27 UTC 2010 Olli Savia - - * ace/ACE.h: - Added a simple helper ACE::is_equal() which compares equality of two - objects without using operator==. This is useful for comparing floating - point values. - - * tests/OS_Test.cpp: - Use ACE::is_equal() instead of local copy. - -Thu Sep 23 16:14:12 UTC 2010 Adam Mitz - - * ace/SSL/ssl.mpc: - * bin/MakeProjectCreator/config/pkgconfig.mpb: - * bin/MakeProjectCreator/templates/gnu.mpd: - * bin/ace_install_pkgconfig.pl: - * include/makeinclude/rules.lib.GNU: - * include/makeinclude/wrapper_macros.GNU: - - Added support for installing pkg-config (.pc) files as part of the - gnuace "make install". This includes a refactoring of how the - shared library version numbers are set internally in the makefiles. - -Thu Sep 23 12:32:05 UTC 2010 Vladimir Zykov - - * ace/Service_Gestalt.cpp: - Fixed memory leak. Previously it could happen that svc_queue_ was - allocated during processing of arguments but was not freed if - application didn't call process_commandline_directives(). - - * tests/Network_Adapters_Test.cpp: - Removed non-ASCII character from the comments. - -Wed Sep 22 18:42:25 UTC 2010 William R. Otte - - * bin/msvc_mpc_auto_compile.pl: - - Updates for DAnCE. - -Wed Sep 22 14:17:11 UTC 2010 Marcel Smit - - * debian/Basic_Logging_Service.sgml: - * debian/Event_Logging_Service.sgml: - * debian/Notify_Logging_Service.sgml: - * debian/RTEvent_Logging_Service.sgml: - Renamed TAO orb services. See $TAO_ROOT/NEWS for details. - -Wed Sep 22 14:06:25 UTC 2010 Marcel Smit - - * debian/libtao-orbsvcs-1.8.2.install: - * debian/libtao-orbsvcs-dev.install: - * debian/tao-imr.install: - * debian/tao-naming.install: - * debian/tao-notify.install: - * debian/tao-rtevent.install: - Renamed TAO orb services. See $TAO_ROOT/NEWS for details. - -Wed Sep 22 13:58:46 UTC 2010 Marcel Smit - - * debian/tao-concurrency.install: - * debian/tao-event.install: - * debian/tao-ft.install: - * debian/tao-ifr.install: - * debian/tao-lifecycle.install: - * debian/tao-load.install: - * debian/tao-log.install: - * debian/tao-scheduling.install: - * debian/tao-time.install: - * debian/tao-trading.install: - Renamed TAO orb services. See $TAO_ROOT/NEWS for details. - -Tue Sep 21 08:27:47 UTC 2010 Johnny Willemsen - - * ASNMP/agent/main.cpp: - Fixed compile error - -Mon Sep 20 13:24:56 UTC 2010 Johnny Willemsen - - * ASNMP/agent/agent.mpc: - * ASNMP/agent/main.cpp: - Enable for wchar, thanks to Christian Freund - for reporting this and providing a patch, fixes bugzilla 3889 - - * ace/String_Base.h: - * apps/JAWS3/http/HTTP_Service_Handler.h: - * apps/JAWS3/small/SS_Service_Handler.h: - Fixed typo in comment - - * ace/config-win32-borland.h: - Some updates based on QC emails - - * debian/libtao-dev.install: - * debian/mpc-ace.install: - Fixed paths - -Fri Sep 17 20:14:33 UTC 2010 Adam Mitz - - * ace/FlReactor/ace_flreactor.mpc: - * ace/FoxReactor/ace_foxreactor.mpc: - * ace/QtReactor/ace_qt3reactor.mpc: - * ace/QtReactor/ace_qt4reactor.mpc: - * ace/TkReactor/ace_tkreactor.mpc: - * ace/XtReactor/ace_xtreactor.mpc: - - Since these have been moved, the default install_dir isn't what we - want. Set the install_dir to ace/*Reactor. - -Fri Sep 17 07:51:06 UTC 2010 Marcel Smit - - * bin/fuzz.pl: - Added Id check for cdp files. - -Fri Sep 17 07:16:16 UTC 2010 Johnny Willemsen - - * ace/Log_Msg.h: - * ace/OS_Errno.cpp: - Layout changes - - * ace/Malloc_T.h: - * ace/Malloc_T.cpp: - * ace/Map_Manager.inl: - * ace/Map_Manager.cpp: - Moved some methods inline - - * ace/OS_NS_signal.cpp: - Fixed problem with versioned macros - -Thu Sep 16 13:36:51 UTC 2010 Martin Corino - - * protocols/ace/INet/ClientRequestHandler.h: - * protocols/ace/INet/URLBase.h: - * protocols/ace/INet/HTTP_ClientRequestHandler.h: - Changes to fix export problems with nested classes with MSVC 9. - -Thu Sep 16 09:25:51 UTC 2010 Johnny Willemsen - - * ace/ace.mpc: - Removed Service_Templates.h - -Thu Sep 16 09:08:39 UTC 2010 Johnny Willemsen - - * protocols/tests/HTBP/Send_Large_Msg/server.cpp: - * protocols/tests/HTBP/ping/client.cpp: - Added missing includes - -Wed Sep 15 12:45:13 UTC 2010 Johnny Willemsen - - * ace/Auto_Event.h: - * ace/OS_NS_arpa_inet.inl: - * ace/OS_NS_arpa_inet.cpp: - * ace/OS_NS_errno.cpp: - * ace/OS_NS_fcntl.cpp: - * ace/OS_NS_math.cpp: - * ace/OS_NS_pwd.inl: - * ace/OS_NS_pwd.cpp: - * ace/OS_NS_regex.inl: - * ace/OS_NS_regex.cpp: - * ace/OS_NS_signal.cpp: - * ace/OS_NS_sys_resource.cpp: - * ace/OS_NS_sys_wait.inl: - * ace/OS_NS_wctype.inl: - * ace/OS_NS_wctype.cpp: - * ace/config-tandem.h: - * ace/os_include/os_pthread.h: - * ace/os_include/os_signal.h: - * ace/os_include/sys/os_resource.h: - * ace/os_include/sys/os_socket.h: - Small cleanup and layout changes - -Wed Sep 15 12:31:07 UTC 2010 Johnny Willemsen - - * protocols/tests/HTBP/Reactor_Tests/server.cpp: - * protocols/tests/HTBP/Send_Recv_Tests/server.cpp: - * protocols/tests/HTBP/ping/server.cpp: - Fixed solaris compile problems - -Wed Sep 15 09:33:38 UTC 2010 Johnny Willemsen - - * ace/ace.mpc: - * ace/ace_for_tao.mpc: - Zapped removed files - - * docs/svn/config: - Added another file type - -Wed Sep 15 07:51:33 UTC 2010 Johnny Willemsen - - * bin/MakeProjectCreator/templates/gnu.mpd: - Removed invalid comma, thanks to Frank Preischl - for reporting this and Olli Savia - for correcting my initial patch - -Tue Sep 14 18:18:36 UTC 2010 Johnny Willemsen - - * ace/ace.mwc: - No need for a workspace with all projects in it - - * ace/ace_ce_dll.cfg: - Removed this file, ancient and not used - -Tue Sep 14 16:42:26 UTC 2010 Adam Mitz - - * bin/make_release.py (update_latest_tag): - - Fixed a bug with the new DAnCE changes and changed the way it does - the svn properties edits. This function is still not called, but - the calls are ready to be un-commented whenever the buildczar or - release manager can re-enable this. - -Tue Sep 14 13:00:44 UTC 2010 Johnny Willemsen - - * ace/Log_Record.h: - * ace/Log_Record.inl: - * ace/Log_Record.cpp: - Removed deprecated encode/decode methods - -Tue Sep 14 12:05:19 UTC 2010 Steve Huston - - * examples/APG/Logging/Callback-3.h: Replaced use of deprecated - ACE_Log_Record::encode() with CDR converter. - -Tue Sep 14 12:01:01 UTC 2010 Johnny Willemsen - - * ace/FlReactor/ace_flreactor.mpc: - * ace/FoxReactor/ace_foxreactor.mpc: - * ace/QtReactor/ace_qt3reactor.mpc: - * ace/QtReactor/ace_qt4reactor.mpc: - * ace/TkReactor/ace_tkreactor.mpc: - * ace/XtReactor/ace_xtreactor.mpc: - * ace/ace_flreactor.mpc: - * ace/ace_foxreactor.mpc: - * ace/ace_qt3reactor.mpc: - * ace/ace_qt4reactor.mpc: - * ace/ace_tkreactor.mpc: - * ace/ace_xtreactor.mpc: - Moved these files to the subdirectory they need to be in - -Tue Sep 14 11:40:39 UTC 2010 Johnny Willemsen - - * bin/Array.pl: - * bin/Array_Helper: - * bin/Hash_Map_Manager.pl: - * bin/Hash_Map_Manager_Helper: - * bin/vxworks_modify.pl: - Removed these files, very old and will not work at all - - * bin/PythonACE: - * bin/PythonACE/__init__.py: - * bin/PythonACE/fuzz: - * bin/PythonACE/fuzz/__init__.py: - * bin/PythonACE/fuzz/_fuzz.py: - * bin/PythonACE/fuzz/_generic_handler.py: - * bin/PythonACE/fuzz/_mailer.py: - * bin/PythonACE/fuzz/_path.py: - * bin/PythonACE/fuzz/_singleton.py: - * bin/PythonACE/fuzz/_types.py: - * bin/PythonACE/fuzz/_warning_handler.py: - * bin/PythonACE/fuzz/check_includes.py: - * bin/PythonACE/fuzz/check_no_tabs.py: - * bin/PythonACE/fuzz/cpp_inline.py: - * bin/PythonACE/fuzz/inline.py: - * bin/PythonACE/fuzz/math_include.py: - * bin/PythonACE/fuzz/max_filename.py: - * bin/PythonACE/fuzz/max_project_len.py: - * bin/PythonACE/fuzz/newline.py: - * bin/PythonACE/fuzz/no_conflict_markers.py: - * bin/PythonACE/fuzz/noncvs.py: - * bin/PythonACE/fuzz/ptr_arith_t.py: - * bin/PythonACE/fuzz/refcountservantbase.py: - * bin/PythonACE/fuzz/streams_include.py: - * bin/PythonACE/fuzz/verify_changelog.py: - * bin/fuzz.py: - Deleted, fuzz is still perl, if we need a PythonACE later we can - easily get this again from svn - -Tue Sep 14 11:31:42 UTC 2010 Johnny Willemsen - - * bin/generate_doxygen.pl: - * html/index.html: - Removed ciao config handlers - -Tue Sep 14 11:30:18 UTC 2010 Johnny Willemsen - - * bin/generate_doxygen.pl: - * html/index.html: - Removed pss - -Tue Sep 14 09:41:06 UTC 2010 Johnny Willemsen - - * debian/mpc-ace.install: - Don't use environment variables - - * protocols/ace/HTBP/HTBP_Filter.h: - Added missing includes - -Tue Sep 14 09:36:06 UTC 2010 Johnny Willemsen - - * bin/make_release.py: - Updated generation of dsc file - - * protocols/examples/RMCast/Send_Msg/Sender.cpp: - * protocols/tests/RMCast/Sender.cpp: - * tests/Based_Pointer_Test.cpp: - * tests/SSL/Bug_2912_Regression_Test.cpp: - Added missing includes - -Mon Sep 13 18:15:27 UTC 2010 Johnny Willemsen - - *: - Zapped trailing whitespaces using - find -name \*.h -o -name \*.cpp -name \*.inl | xargs perl -i -pe's/\s+\n/\n/' - -Mon Sep 13 14:04:48 UTC 2010 Johnny Willemsen - - Reverted change below, not correct given new info from Adam - - Thu Sep 9 11:49:30 UTC 2010 Johnny Willemsen - - * bin/MakeProjectCreator/templates/gnu.mpd: - Removed invalid comma, thanks to Frank Preischl - for reporting this - - * debian/debian.rules: - * debian/mpc-ace.install: - Improved - -Mon Sep 13 09:25:22 UTC 2010 Johnny Willemsen - - * bin/generate_doxygen.pl: - Updated for DAnCE move - - * ace/ETCL/ETCL_Constraint.cpp: - * ace/ETCL/ETCL_l.cpp.diff: - * ace/ETCL/ETCL_l.cpp: - * ace/Makefile.am: - * ace/Thread_Control.inl: - * ace/ace.mpc: - * ace/ace_for_tao.mpc: - * apps/JAWS3/bench/average.cpp: - * apps/JAWS3/bench/mkfiles.cpp: - * apps/JAWS3/bench/rqfiles.cpp: - * apps/JAWS3/http/HTTP_Data.h: - * apps/JAWS3/http/HTTP_Service_Handler.h: - * apps/JAWS3/http/HTTP_Service_Handler.cpp: - * apps/JAWS3/http/HTTP_States.h: - * apps/JAWS3/jaws3-todo/Reactive_Socket.h: - * apps/JAWS3/jaws3-todo/Reactive_Socket_Helpers.h: - * apps/JAWS3/jaws3-todo/Reactive_Socket_Helpers.cpp: - * apps/JAWS3/jaws3-todo/Socket.h: - * apps/JAWS3/jaws3/Concurrency_T.h: - * apps/JAWS3/small/SS_Data.h: - * apps/JAWS3/small/SS_Service_Handler.h: - * apps/JAWS3/small/SS_Service_Handler.cpp: - * apps/JAWS3/small/SS_State_DONE.h: - * apps/JAWS3/small/SS_State_DONE.cpp: - * apps/JAWS3/small/SS_State_ERROR.h: - * apps/JAWS3/small/SS_State_ERROR.cpp: - * apps/JAWS3/small/SS_State_PARSE.h: - * apps/JAWS3/small/SS_State_PARSE.cpp: - * apps/JAWS3/small/SS_State_READ.h: - * apps/JAWS3/small/SS_State_READ.cpp: - * apps/JAWS3/small/SS_State_WRITE.h: - * apps/JAWS3/small/SS_State_WRITE.cpp: - * apps/JAWS3/small/SS_Templates.cpp: - * contrib/FaCE/FaCE.h: - * examples/APG/Svc_Config/HA_Status_Dynamic.h: - * examples/APG/Svc_Config/HA_Status_Static.h: - * examples/Reactor/TP_Reactor/client.cpp: - * examples/Reactor/TP_Reactor/server.cpp: - * protocols/ace/HTBP/HTBP_Channel.cpp: - * protocols/ace/HTBP/HTBP_Filter.h: - * protocols/ace/HTBP/HTBP_Inside_Squid_Filter.cpp: - * protocols/ace/HTBP/HTBP_Session.cpp: - * protocols/ace/TMCast/Group.cpp: - * protocols/examples/RMCast/Send_Msg/Sender.cpp: - * protocols/tests/HTBP/Reactor_Tests/client.cpp: - * protocols/tests/HTBP/Reactor_Tests/server.cpp: - * protocols/tests/HTBP/Reactor_Tests/test_config.h: - * protocols/tests/HTBP/Send_Large_Msg/client.cpp: - * protocols/tests/HTBP/Send_Large_Msg/server.cpp: - * protocols/tests/HTBP/Send_Recv_Tests/client.cpp: - * protocols/tests/HTBP/Send_Recv_Tests/server.cpp: - * protocols/tests/HTBP/ping/client.cpp: - * protocols/tests/HTBP/ping/server.cpp: - * protocols/tests/RMCast/Sender.cpp: - * tests/Based_Pointer_Test.cpp: - * tests/Bug_2980_Regression_Dll.cpp: - * tests/SSL/Bug_2912_Regression_Test.cpp: - Removed include of ace/OS.h, only in a few files we really had - to add an include of OS_NS_*.h - - * ace/OS.h: - * ace/OS.inl: - * ace/OS.cpp: - Removed these files, replaced with OS_NS_* files a long time ago - -Sun Sep 12 19:27:58 UTC 2010 William R. Otte - - * bin/make_release.py: - - Some updates to handle moved DAnCE package. - -Sun Sep 12 19:22:21 UTC 2010 William Otte - - * bin/MakeProjectCreator/modules/GNUACEProjectCreator.pm: - * bin/MakeProjectCreator/templates/: - - Added rules to pullin rules.dance.GNU. - -Fri Sep 10 16:43:39 UTC 2010 Steve Huston - - * ace/Makefile.am: Removed references to files removed at - Thu Sep 9 11:14:45 UTC 2010 Johnny Willemsen - -Fri Sep 10 11:07:56 UTC 2010 Marcel Smit - - * ace/TSS_T.h: - Resolved compile issue regarding ACE_Copy_Disabled class. - -Fri Sep 10 07:36:39 UTC 2010 Marcel Smit - - * ace/Thread_Control.inl: - Include before versioning macros. - -Fri Sep 10 07:05:45 UTC 2010 Marcel Smit - - * ace/Thread_Control.inl: - Resolved compile error (ACE_OS_TRACE could not be found). - -Thu Sep 9 12:53:39 UTC 2010 Johnny Willemsen - - * ace/Asynch_Acceptor.h: - * ace/Asynch_Acceptor.cpp: - * ace/Hash_Multi_Map_Manager_T.h: - * ace/OS_NS_Thread.h: - * ace/OS_NS_Thread.cpp: - * ace/Service_Config.cpp: - * ace/TSS_T.cpp: - * ace/Thread.h: - * ace/Thread.inl: - * ace/config-macosx-snowleopard.h: - * ace/config-macosx-tiger.h: - * ace/config-macosx.h: - * tests/Hash_Multi_Map_Manager_Test.cpp: - Removed deprecated methods and arguments - - * docs/FAQ: - * FAQ: - Moved to docs - -Thu Sep 9 11:54:10 UTC 2010 Johnny Willemsen - - * apps/soreduce/Signature.cpp: - * tests/TkReactor_Test.cpp: - Fixed fuzz - -Thu Sep 9 11:49:30 UTC 2010 Johnny Willemsen - - * bin/MakeProjectCreator/templates/gnu.mpd: - Removed invalid comma, thanks to Frank Preischl - for reporting this - -Thu Sep 9 11:14:45 UTC 2010 Johnny Willemsen - - * Kokyu/Dispatch_Deferrer.h: - - * ace/Atomic_Op_T.h: - * ace/Atomic_Op_T.inl: - * ace/Configuration.h: - * ace/Configuration.cpp: - * ace/Default_Constants.h: - * ace/Hash_Multi_Map_Manager_T.h: - * ace/Hash_Multi_Map_Manager_T.cpp: - * ace/Intrusive_List.h: - * ace/Intrusive_List.inl: - * ace/Local_Name_Space_T.h: - * ace/Log_Msg.h: - * ace/Log_Msg.cpp: - * ace/MEM_Acceptor.h: - * ace/MEM_Acceptor.inl: - * ace/MEM_Connector.h: - * ace/MEM_Connector.inl: - * ace/Message_Queue.h: - * ace/OS.h: - * ace/OS_Memory.h: - * ace/OS_TLI.h: - * ace/Obstack_T.h: - * ace/Obstack_T.inl: - * ace/POSIX_Asynch_IO.h: - * ace/Process_Manager.h: - * ace/Process_Manager.cpp: - * ace/Recursive_Thread_Mutex.h: - * ace/Recursive_Thread_Mutex.cpp: - * ace/Refcountable_T.h: - * ace/Strategies_T.h: - * ace/Strategies_T.inl: - * ace/Synch.h: - * ace/Task.h: - * ace/Task_Ex_T.h: - * ace/Task_Ex_T.inl: - * ace/Task_T.h: - * ace/Task_T.inl: - * ace/Thread_Control.cpp: - * ace/Token_Collection.h: - * ace/Token_Invariants.h: - * ace/Token_Manager.h: - * ace/ace_wchar.h: - * ace/config-macosx-leopard.h: - * ace/os_include/net/os_if.h: - * ace/os_include/sys/os_mman.h: - * apps/Gateway/Gateway/Concrete_Connection_Handlers.cpp: - * netsvcs/lib/Time_Request_Reply.h: - * netsvcs/lib/Time_Request_Reply.cpp: - * tests/Conn_Test.cpp: - * tests/Dirent_Test.cpp: - * tests/Svc_Handler_Test.cpp: - Removed several methods, files, and macros that are marked deprecated - for several years now. - - * ace/Map.h: - * ace/Method_Object.h: - * ace/OS_Dirent.h: - * ace/OS_String.h: - * ace/Pair.h: - * ace/Refcountable.h: - * ace/Service_Templates.h: - Removed these files. - -Thu Sep 9 09:37:22 UTC 2010 Johnny Willemsen - - * bin/generate_doxygen.pl: - Fixed errors - - * debian/debian.rules: - Moving forward with OBS - -Thu Sep 9 09:29:30 UTC 2010 Johnny Willemsen - - * ace/CDR_Base.h: - * ace/CDR_Base.cpp: - * ace/DEV.h: - * ace/FILE.h: - * ace/Global_Macros.h: - * ace/INET_Addr.inl: - * ace/Malloc_T.h: - * ace/Malloc_T.inl: - * ace/Malloc_T.cpp: - * ace/SOCK_Dgram_Bcast.cpp: - * ace/SSL/SSL_SOCK.h: - * ace/Shared_Memory_Pool.cpp: - * ace/Sock_Connect.cpp: - * ace/config-aix-5.x.h: - * ace/config-doxygen.h: - * ace/config-g++-common.h: - * ace/config-hpux-11.00.h: - * ace/config-icc-common.h: - * ace/config-integritySCA.h: - * ace/config-linux-common.h: - * ace/config-macros.h: - * ace/config-mvs.h: - * ace/config-openvms.h: - * ace/config-suncc-common.h: - * ace/config-sunos5.5.h: - * ace/config-sunos5.6.h: - * ace/config-tandem-nsk-mips-v2.h: - * ace/config-tandem-nsk-mips-v3.h: - * ace/config-win32-borland.h: - * ace/config-win32-dmc.h: - * ace/config-win32-ghs.h: - * ace/config-win32-msvc-10.h: - * ace/config-win32-msvc-7.h: - * ace/config-win32-msvc-8.h: - * ace/config-win32-msvc-9.h: - * examples/IOStream/server/iostream_server.h: - * examples/IPC_SAP/SOCK_SAP/C-inserver.cpp: - * examples/IPC_SAP/SSL_SAP/SSL-server-fancy.cpp: - * examples/Reactor/Misc/test_event_handler_t.cpp: - * tests/Basic_Types_Test.cpp: - * tests/Conn_Test.cpp: - * tests/Message_Queue_Test.cpp: - * tests/SSL/Thread_Pool_Reactor_SSL_Test.h: - * tests/SSL/Thread_Pool_Reactor_SSL_Test.cpp: - Cleanup, all compilers support templated typedefs - - * ace/config-cray.h: - * ace/config-cxx-common.h: - Removed these files, obsolete - -Thu Sep 9 09:01:10 UTC 2010 Johnny Willemsen - - * ace/ACE.cpp: - * ace/ACE_export.h: - * ace/ETCL/ETCL_y.cpp: - * ace/INET_Addr.cpp: - * ace/Log_Msg.cpp: - * ace/OS.inl: - * ace/OS_NS_Thread.h: - * ace/OS_NS_Thread.inl: - * ace/OS_NS_Thread.cpp: - * ace/OS_NS_ctype.cpp: - * ace/OS_NS_netdb.inl: - * ace/OS_NS_pwd.inl: - * ace/OS_NS_stdlib.inl: - * ace/OS_NS_time.inl: - * ace/OS_NS_time.cpp: - * ace/POSIX_CB_Proactor.cpp: - * ace/POSIX_Proactor.cpp: - * ace/config-cxx-common.h: - * ace/config-doxygen.h: - * ace/config-integritySCA.h: - * ace/config-lynxos.h: - * ace/config-macros.h: - * ace/config-openvms.h: - * ace/config-tandem-nsk-mips-v2.h: - * ace/config-tandem-nsk-mips-v3.h: - * ace/config-vxworks6.4.h: - * ace/config-win32-common.h: - * ace/os_include/os_pthread.h: - * ace/os_include/os_pwd.h: - * ace/os_include/os_signal.h: - * ace/os_include/os_stdlib.h: - * ace/os_include/os_time.h: - * ace/os_include/sys/os_types.h: - Removed Tru64, Irix, Unixware, and SCO support - - * debian/debian.rules: - Improved - - * examples/QOS/Change_Receiver_FlowSpec/Receiver_QoS_Event_Handler.h: - * examples/QOS/Change_Receiver_FlowSpec/Sender_QoS_Event_Handler.h: - * examples/QOS/Change_Sender_TSpec/Receiver_QoS_Event_Handler.h: - * examples/QOS/Change_Sender_TSpec/Sender_QoS_Event_Handler.h: - * examples/QOS/Simple/Receiver_QoS_Event_Handler.h: - * examples/QOS/Simple/Sender_QoS_Event_Handler.h: - Zapped ACE_RCSID - - * ace/config-irix6.5.x-sgic++.h: - * ace/config-irix6.x-common.h: - * ace/config-irix6.x-g++.h: - * ace/config-irix6.x-sgic++.h: - * ace/config-sco-5.0.0-nothread.h: - * ace/config-sco-5.0.0.h: - * ace/config-unixware-7.1.0.h: - * ace/config-unixware-7.1.0.udk.h: - * include/makeinclude/platform_irix6.x_common.GNU: - * include/makeinclude/platform_irix6.x_g++.GNU: - * include/makeinclude/platform_irix6.x_sgic++.GNU: - * include/makeinclude/platform_tru64_cxx.GNU: - * include/makeinclude/platform_tru64_g++.GNU: - * include/makeinclude/platform_tru64_post.GNU: - * include/makeinclude/platform_tru64_pre.GNU: - * include/makeinclude/platform_unixware_g++.GNU: - Removed the files because Tru64, Irix, Unixware, and SCO support are - removed now - -Wed Sep 8 14:54:45 UTC 2010 William Otte - - * docs/bczar/bczar.html: - - Updated documentation for removal of Release makefile. - -Wed Sep 8 14:40:57 UTC 2010 William Otte - - * Release: - - Removing obsolete release makefile. - -Wed Sep 8 10:57:12 UTC 2010 Johnny Willemsen - - * debian/ace.dsc: - * debian/debian.changelog: - * debian/debian.control: - * debian/debian.rules: - * debian/changelog: - * debian/control: - * debian/dsc: - * debian/rules: - Renamed to the names we use on OBS - -Wed Sep 8 09:11:03 UTC 2010 Johnny Willemsen - - * tests/SSL/Bug_2912_Regression_Test.cpp: - Fixed compile error - -Wed Sep 8 05:53:24 UTC 2010 Johnny Willemsen - - * examples/APG/ThreadPools/Futures.cpp: - Added missing include - -Tue Sep 7 17:07:58 UTC 2010 Steve Huston - - * ace/Process.h: Noted the affects of handle_inheritance() on Windows. - -Tue Sep 7 14:23:13 UTC 2010 Johnny Willemsen - - * ace/Message_Queue_T.cpp: - * examples/APG/ThreadPools/LF_ThreadPool.cpp: - * examples/APG/ThreadPools/ThreadPool.cpp: - * examples/APG/ThreadSafety/Mutex.cpp: - * examples/APG/Threads/Condition_Variables.cpp: - * protocols/ace/HTBP/HTBP_ID_Requestor.h: - * protocols/ace/TMCast/Group.cpp: - * protocols/ace/TMCast/MTQueue.hpp: - * tests/Bug_3878_Regression_Test.cpp: - * tests/Upgradable_RW_Test.cpp: - Fixed compile problems - -Tue Sep 7 11:35:04 UTC 2010 Johnny Willemsen - - * bin/fuzz.pl: - Fix fuzz problem - -Tue Sep 7 10:52:59 UTC 2010 Johnny Willemsen - - * Kokyu/DSRT_Direct_Dispatcher_Impl_T.cpp: - Use ACE_GUARD - - * Kokyu/Dispatcher_Task.cpp: - Initialise pointer with 0 - - * PROBLEM-REPORT-FORM: - * VERSION: - Updated support email addresses - - * ace/ACE.inl: - Layout changes - - * ace/ACE.cpp: - Layout changes, simplified some ifdef checks - - * ace/Auto_IncDec_T.h: - * ace/Env_Value_T.h: - Use ACE_Copy_Disabled - - * ace/Bound_Ptr.inl: - Documentation updates - - * ace/CORBA_macros.h: - Removed all deprecated macros - - * ace/Dynamic_Service_Base.cpp: - Use ACE_GUARD_RETURN - - * ace/Event_Handler_T.h: - * ace/Event_Handler_T.inl: - * ace/Event_Handler_T.cpp: - Removed checks for ACE_HAS_TEMPLATE_TYPEDEFS, I think all compilers - have this now, let us see if nothing breaks - - * ace/FILE.h: - Doxygen updates - - * ace/Future.h: - * ace/Future.cpp: - Use mutex defines - - * ace/Future_Set.h: - Use ACE_Copy_Disabled - - * ace/Future_Set.cpp: - Initialise pointer with 0 - - * ace/Global_Macros.h: - Removed checks for ACE_HAS_TEMPLATE_TYPEDEFS, doxygen changes, make it - possible for users to redefine ACE_GUARD macros - - * ace/Guard_T.h: - * ace/Guard_T.inl: - * ace/Guard_T.cpp: - Doxygen changes, disable ACE_Guard checks for this file - - * ace/Hash_Map_Manager_T.h: - * ace/Hash_Multi_Map_Manager_T.h: - * ace/Map_Manager.h: - Update to indicate the usage of ACE_GUARD - - * ace/INET_Addr.h: - Doxygen changes - - * ace/Local_Tokens.h: - Disable part of this file for ACE_Guard fuzz check - - * ace/Log_Msg.cpp: - Use ACE_OS::thr_self - - * ace/Malloc_T.h: - Disable part of this file for ACE_Guard fuzz check, doxygen changes - - * ace/Message_Queue_T.h: - * ace/Message_Queue_T.cpp: - * ace/Message_Queue_Vx.h: - * ace/Message_Queue_Vx.cpp: - Removed ACE_Guard argument to some methods, not used and now cause - fuzz to fail - - * ace/Mutex.h: - * ace/Mutex.inl: - Added non const lock(), this fixes bugzilla 3878. Thanks to - Susan Finster for reporting this - - * ace/Null_Barrier.h: - * ace/Null_Condition.h: - * ace/Null_Mutex.h: - * ace/Null_Semaphore.h: - Removed old comments, disable part for ACE_Guard, removed - ACE_Null_Mutex_Guard - - * ace/OS_NS_Thread.cpp: - Layout changes, use ACE_Guard - - * ace/OS_NS_poll.cpp: - * ace/OS_NS_sys_select.cpp: - Layout changes - - * ace/OS_NS_sys_socket.inl: - Comment change - - * ace/Read_Buffer.h: - * ace/Remote_Tokens.h: - * ace/SOCK.h: - Doxygen changes - - * ace/SOCK_Connector.h: - * ace/SOCK_Dgram_Mcast.h: - Doxygen changes - - * ace/SOCK_Connector.cpp: - Layout and const changes - - * ace/Select_Reactor.h: - Disable part of this file for ACE_Guard fuzz check - - * ace/Service_Gestalt.h: - Use ACE_Copy_Disabled - - * ace/Sig_Handler.cpp: - Use ACE_GUARD macros - - * ace/Synch_Traits.h: - Removed ACE_HAS_TEMPLATE_TYPEDEFS checks - - * ace/TSS_T.h: - * ace/TSS_T.cpp: - Use ACE_Copy_Disabled, reworked some code to fix ACE_Guard fuzz - checks - - * ace/Task_Ex_T.h: - Use ACE_Copy_Disabled - - * apps/Gateway/Peer/Peer.cpp: - * apps/JAWS/server/HTTP_Server.cpp: - * apps/JAWS/server/JAWS_IO.cpp: - Initialise pointers with 0 - - * apps/JAWS/server/HTTP_Helpers.cpp: - Use ACE_GUARD macros - - * apps/JAWS2/JAWS/Cache_Hash_T.cpp: - * apps/JAWS2/JAWS/Cache_Manager_T.cpp: - * apps/JAWS2/JAWS/Cache_Object.cpp: - * apps/JAWS2/JAWS/Concurrency.cpp: - * apps/JAWS2/JAWS/FILE.cpp: - * apps/JAWS2/JAWS/Jaws_IO.cpp: - * apps/JAWS2/JAWS/Reaper.cpp: - * apps/JAWS3/jaws3/FILE.cpp: - Use ACE_GUARD macros - - * apps/gperf/src/Options.cpp: - Rename of local variable so that we don't need to disable ACE_OS - fuzz check - - * bin/fuzz.pl: - Improved ACE_Guard checks and enable this one by default - - * bin/generate_doxygen.pl: - Let DANCE use the CIAO version file for the moment - - * bin/make_release.py: - Don't create static and wince solutions as part of the release anymore, - if you use these, generate them by hand in the future. Added vc10 - project files - - * examples/APG/Proactor/HA_Proactive_Status.cpp: - * examples/APG/Reactor/Client.cpp: - * examples/APG/Reactor/HAStatus.cpp: - * examples/APG/Streams/Answerer.cpp: - * examples/APG/Streams/CommandStream.cpp: - * examples/APG/ThreadManagement/Pool.cpp: - * examples/APG/ThreadPools/LF_ThreadPool.cpp: - * examples/APG/ThreadPools/Task_ThreadPool.cpp: - * examples/APG/ThreadSafety/Semaphore.cpp: - * examples/APG/Threads/Message_Blocks.cpp: - * examples/APG/Threads/Message_Queue.cpp: - * examples/ASX/Message_Queue/bounded_buffer.cpp: - * examples/ASX/Message_Queue/priority_buffer.cpp: - * examples/Bounded_Packet_Relay/Thread_Bounded_Packet_Relay.cpp: - * examples/C++NPv2/AIO_Client_Logging_Daemon.cpp: - * examples/C++NPv2/display_logfile.cpp: - * examples/IPC_SAP/UPIPE_SAP/ex1.cpp: - * examples/Reactor/Misc/test_demuxing.cpp: - * examples/Reactor/WFMO_Reactor/Talker.cpp: - * examples/Threads/barrier2.cpp: - * examples/Threads/thread_pool.cpp: - Initialise pointers with 0 - - * examples/APG/ThreadPools/ThreadPool.cpp: - Use ACE_Thread_ID to store a print a thread id using ACE_DEBUG, that - is the only way that is 100% portable - - * examples/APG/Threads/Guards.cpp: - Disable ACE_Guard fuzz - - * examples/Threads/reader_writer.cpp: - * examples/Threads/recursive_mutex.cpp: - Use ACE_GUARD macros - - * examples/Threads/thread_specific.cpp: - * examples/Threads/tss1.cpp: - Removed code not used - - * include/makeinclude/platform_g++_common.GNU: - Added CROSS_COMPILE support to this file - - * include/makeinclude/platform_linux.GNU: - * include/makeinclude/platform_linux_common.GNU: - Moved some bits to platform_g++_common.GNU, works with G++ in - general - - * include/makeinclude/platform_qnx_neutrino.GNU: - * include/makeinclude/platform_qnx_rtp_gcc.GNU: - Cleanup - - * netsvcs/lib/Log_Message_Receiver.h: - * netsvcs/lib/Log_Message_Receiver.cpp: - Use ACE_GUARD macros - - * performance-tests/Misc/Misc.mpc: - Enable test_guard - - * performance-tests/Misc/test_guard.cpp: - Made this compiling again - - * performance-tests/Synch-Benchmarks/Base_Test/Baseline_Test.cpp: - * performance-tests/TCP/tcp_test.cpp: - Renamed variable to not need ACE_OS fuzz disable code - - * protocols/ace/HTBP/HTBP_ID_Requestor.cpp: - * protocols/ace/HTBP/HTBP_Session.cpp: - Use ACE_GUARD macros - - * protocols/ace/RMCast/Acknowledge.h: - * protocols/ace/RMCast/Acknowledge.cpp: - * protocols/ace/RMCast/Bits.h: - * protocols/ace/RMCast/Flow.h: - * protocols/ace/RMCast/Flow.cpp: - * protocols/ace/RMCast/Fragment.h: - * protocols/ace/RMCast/Fragment.cpp: - * protocols/ace/RMCast/Link.h: - * protocols/ace/RMCast/Link.cpp: - * protocols/ace/RMCast/Parameters.h: - * protocols/ace/RMCast/Protocol.h: - * protocols/ace/RMCast/Protocol.cpp: - * protocols/ace/RMCast/Reassemble.h: - * protocols/ace/RMCast/Reassemble.cpp: - * protocols/ace/RMCast/Retransmit.h: - * protocols/ace/RMCast/Retransmit.cpp: - * protocols/ace/RMCast/Simulator.h: - * protocols/ace/RMCast/Simulator.cpp: - * protocols/ace/RMCast/Socket.h: - * protocols/ace/RMCast/Socket.cpp: - * protocols/ace/RMCast/Stack.h: - * protocols/ace/RMCast/Stack.cpp: - * protocols/ace/TMCast/FaultDetector.hpp: - * protocols/ace/TMCast/Group.cpp: - * protocols/ace/TMCast/Group.hpp: - * protocols/ace/TMCast/GroupFwd.hpp: - * protocols/ace/TMCast/LinkListener.hpp: - * protocols/ace/TMCast/MTQueue.hpp: - * protocols/ace/TMCast/MTQueue.cpp: - * protocols/ace/TMCast/Messaging.hpp: - * protocols/ace/TMCast/Protocol.hpp: - * protocols/ace/TMCast/Protocol.cpp: - * protocols/ace/TMCast/TransactionController.hpp: - Removed commented out code, Id changes, disable ACE_Guard check - for this project - - * rpmbuild/ace-tao.spec: - Fixed some problems in this spec file - - * tests/Aio_Platform_Test.cpp: - * tests/Basic_Types_Test.cpp: - * tests/Bug_1576_Regression_Test.cpp: - * tests/Bug_3532_Regression_Test.cpp: - * tests/Bug_3673_Regression_Test.cpp: - * tests/Bug_3709_Regression_Test.cpp: - * tests/Bug_3744_Regression_Test.cpp: - * tests/Compiler_Features_03_Test.cpp: - * tests/Compiler_Features_09_Test.cpp: - * tests/Compiler_Features_13_Test.cpp: - * tests/Compiler_Features_14_Test.cpp: - * tests/Env_Value_Test.cpp: - * tests/Hash_Map_Bucket_Iterator_Test.cpp: - * tests/Logging_Strategy_Test.cpp: - * tests/MT_SOCK_Test.cpp: - * tests/Pipe_Test.cpp: - * tests/Priority_Task_Test.cpp: - * tests/Proactor_UDP_Test.cpp: - * tests/QtReactor_Test.cpp: - * tests/Reactor_Notification_Queue_Test.cpp: - * tests/Reactor_Registration_Test.cpp: - * tests/Reference_Counted_Event_Handler_Test.cpp: - * tests/Time_Service_Test.cpp: - Zapped ACE_RCSID - - * tests/Message_Block_Test.cpp: - * tests/Multicast_Test_IPV6.cpp: - Initialise pointer with 0 - - * tests/Reader_Writer_Test.cpp: - Use ACE_GUARD - - * tests/Recursive_Mutex_Test.cpp: - Disable ACE_Guard fuzz for part of this file - - * tests/Bug_3878_Regression_Test.cpp: - New test for bugzilla 3878 - - * tests/SSL/Bug_2912_Regression_Test.cpp: - * tests/TP_Reactor_Test.cpp: - Use ACE_GUARD - - * tests/Simple_Message_Block_Test.cpp: - * tests/Svc_Handler_Test.cpp: - * tests/Thread_Pool_Test.cpp: - * tests/UPIPE_SAP_Test.cpp: - Initialise pointers with 0 - - * tests/Thread_Mutex_Test.cpp: - Disable ACE_Guard fuzz - - * tests/Upgradable_RW_Test.cpp: - Use ACE_GUARD - - * tests/run_test.lst: - * tests/tests.mpc: - Added 3878 - -Mon Sep 6 09:30:00 UTC 2010 Simon Massey - - * ace/Acceptor.cpp: - Due to the way the code was formatted, I mistook a do {} while loop for - a while loop with my change. I have corrected this. - -Mon Sep 6 08:10:00 UTC 2010 Simon Massey - - * ace/ACE.cpp: - * ace/Acceptor.cpp: - * ace/SOCK_IO.cpp: - * ace/SOCK_Dgram.cpp: - * tests/SOCK_Test.cpp: - * tests/MT_SOCK_Test.cpp: - * NEWS: - Now that release x.8.3. is out, we are attempting to provide the correct - fix to the original commit by Steve Huston related to handle_ready() - (Fri Aug 27 19:17:11 UTC 2010 Steve Huston ) - and added back the corresponding NEWS entry. - -Sat Sep 04 18:08:03 UTC 2010 Johnny Willemsen - - * NEWS: - * bin/diff-builds-and-group-fixed-tests-only.sh: - * bin/make_release.py: - * docs/Download.html: - * etc/index.html: - Updated because of release - -Sat Sep 04 11:30:18 CEST 2010 Johnny Willemsen - - * ACE version 5.8.2 released. - -Thu Sep 2 14:46:56 UTC 2010 Vladimir Zykov - - * ace/Acceptor.cpp: - * ace/SOCK_IO.cpp: - * ace/SOCK_Dgram.cpp: - * ace/ACE.cpp: - * tests/SOCK_Test.cpp: - * tests/MT_SOCK_Test.cpp: - * NEWS: - Reverted both commits by Steve Huston related to handle_ready() - and a NEWS entry. - Wed Sep 1 19:31:24 UTC 2010 Steve Huston - Fri Aug 27 19:17:11 UTC 2010 Steve Huston - This is necessary for a quick release of 1.8.2. - -Wed Sep 1 19:31:24 UTC 2010 Steve Huston - - * ace/ACE.cpp (handle_ready): Changed the timeout behavior to just - return 0, no errno, as ACE_OS::poll() and ACE_OS::select() both do. - This restores historic behavior changed inadvertently at - Fri Aug 27 19:17:11 UTC 2010 Steve Huston - - * ace/SOCK_Dgram.cpp: - * ace/SOCK_IO.cpp: - * tests/MT_SOCK_Test.cpp: - * tests/SOCK_Test.cpp: Re-added the if/switch on return value from - ACE::handle_read|write_ready() to detect timeout and set errno - here. - - These changes were necessary to fix the TAO faults test. Thanks - to Johnny and Simon for narrowing down the cause and testing - the fix. - -Wed Sep 1 15:58:47 UTC 2010 Adam Mitz - - * bin/MakeProjectCreator/templates/gnu.mpd: - - Changed the short-circuit logic for the .NOTPARALLEL checks to || - instead of &&. If any one file is newer, we will have to rebuild. - Also added a missing foreach for the output files with dependent libs. - -Wed Sep 1 09:59:42 UTC 2010 Vladimir Zykov - - * tests/Time_Value_Test.cpp: - Fixed compile warning on QNX. time_t on QNX is defined as unsigned - int. - -Tue Aug 31 16:53:07 UTC 2010 Jeff Parsons - - * THANKS: - - Added Catherine L. Paquin . - -Tue Aug 31 14:40:17 UTC 2010 Adam Mitz - - * NEWS: - - Updated to proper name of Visual Studio 2010, which may assist - those searching for it in the NEWS file. - -Tue Aug 31 12:56:36 UTC 2010 Steve Huston - - * NEWS: Added an entry for the change at - Fri Aug 27 19:17:11 UTC 2010 Steve Huston - - * ace/README: - * ace/config-sunos5.6.h: - * ace/config-sunos5.7.h: Removed all mention of ACE_HAS_LIMITED_SELECT. - -Mon Aug 30 18:41:24 UTC 2010 Johnny Willemsen - - * ace/ace.mpc: - Added Obstack.h - -Mon Aug 30 16:48:34 UTC 2010 Steve Huston - - * ace/FIFO.h: - * ace/FIFO_Recv.h: - * ace/FIFO_Send.h: Clarified initialization and open behavior. - -Mon Aug 30 15:33:57 UTC 2010 Steve Huston - - * ace/Process.h (set_handles): Add a note that passing a socket handle - with this mechanism does not work on Windows. - -Mon Aug 30 10:06:24 UTC 2010 Johnny Willemsen - - * examples/Reactor/Proactor/test_proactor2.cpp: - * examples/Reactor/Proactor/test_proactor3.cpp: - * tests/Proactor_Test.cpp: - * tests/Proactor_Test_IPV6.cpp: - * tests/Proactor_UDP_Test.cpp: - ACE_Guard changes - -Fri Aug 27 19:17:11 UTC 2010 Steve Huston - - * ace/ACE.cpp (handle_ready, handle_timed_complete, - handle_timed_accept): On platforms where poll() is - available, prefer that to using select() for checking a single - handle's state and/or waiting for a condition. This preference - was previously only used if ACE_HAS_LIMITED_SELECT was set. The - ACE_HAS_LIMITED_SELECT choice is removed, making ACE_HAS_POLL the - setting that switches this preference. The driving reason for this - is that if select() is called to detect changes on a handle whose - values falls outside that which can safely be stored in an fdset, - the handle-setting macros/functions will set/clear bits outside - of the fdset. This results in very weird memory changes, often in - the stack, which are very hard to diagnose. poll()'s operation - does not suffer from this affect. With the growing use of large - numbers of handles and use of ACE_Dev_Poll_Reactor on Linux, - the rate at which this problem was cropping up was increasing. - Thanks to Olivier Langlois for diagnosing this problem and - proposing the patch. - - (handle_ready): Properly set the poll condition for read and/or - write. Thanks to kumaran.prem@gmail.com for this fix. - - * ace/Acceptor.cpp: - * ace/SOCK_IO.cpp: - * ace/SOCK_Dgram.cpp: - * tests/MT_SOCK_Test.cpp: - * tests/SOCK_Test.cpp: Replaced use of ACE_OS::select() with - ACE::handle_ready() and friends. - - This all resolves Bugzilla #3606. - -Fri Aug 27 19:10:16 UTC 2010 Brian Johnson - - * bin/MakeProjectCreator/templates/gnu.mpd: - - Merging dependent_libs support for gnuace from TAO 1.5a. - (Bugzilla #3281) - -Fri Aug 27 18:36:37 UTC 2010 Johnny Willemsen - - * ace/OS_NS_Thread.h: - * ace/OS_NS_Thread.inl: - Added assignment operator for ACE_Thread_Id - -Fri Aug 27 15:01:41 UTC 2010 Steve Huston - - * Connector.{h cpp} (ACE_NonBlocking_Connect_Handler): Add a - handle_close() which calls handle_input() if called by the - ACE_Dev_Poll_Reactor to remove a failed connect. Apparently, - Linux epoll, at least sometimes, signals EPOLLERR on a failed - nonblocking connect, unlike the select() case which selects the - failed fd for read. Thanks to Kannan Ramaswamy for this information and fix. - - * THANKS: Added Kannan to the Hall of Fame. - -Fri Aug 27 14:17:56 UTC 2010 Johnny Willemsen - - * ace/Atomic_Op.h: - Doxygen changes - - * ace/OS_NS_Thread.cpp: - Use ACE_GUARD - - * bin/fuzz.pl: - Added check for ACE_Guard - -Fri Aug 27 06:56:11 UTC 2010 Johnny Willemsen - - * etc/ace.doxygen: - * etc/acexml.doxygen: - Fuzz fixes - -Thu Aug 26 13:20:48 UTC 2010 Johnny Willemsen - - * bin/diff-builds-and-group-fixed-tests-only.sh: - Added DANCE_ROOT - -Thu Aug 26 13:08:56 UTC 2010 Johnny Willemsen - - * netsvcs/servers/servers.mpc: - Use ace_netsvcs as executable name, this makes more sense when - we install this file in a target directory - -Thu Aug 26 13:04:06 UTC 2010 Johnny Willemsen - - * bin/fuzz.pl: - Check doxygen files for tabs - - * etc/ace.doxygen: - * etc/ace_inet.doxygen: - * etc/ace_qos.doxygen: - * etc/ace_rmcast.doxygen: - * etc/ace_ssl.doxygen: - * etc/acexml.doxygen: - * html/index.html: - Changed documentation subdirectories to make debian packaging easier - -Thu Aug 26 12:30:33 UTC 2010 Johnny Willemsen - - * debian/control: - Made some fixes for x.8.1 - -Thu Aug 26 11:54:15 UTC 2010 Johnny Willemsen - - * bin/auto_run_tests.pl: - Extended script to also check for $DANCE_ROOT/bin/dance_tests.lst - -Thu Aug 26 10:20:41 UTC 2010 Martin Corino - - * ace/OS_NS_Thread.cpp: - Changes implementing the patches from Bugzilla #3653 (with - changes and some rejects; *no* asserts allowed in ACE). - -Wed Aug 25 19:58:19 UTC 2010 Steve Huston - - * ace/Dev_Poll_Reactor.{h cpp}: Regarding change number 2 at - Fri Mar 26 14:07:55 UTC 2010 Steve Huston - dispatching notifies in only one thread at a time was 1) wrong - (TP_Reactor doesn't do this), 2) broke important existing - applications at a customer site. This has been fixed so that the - notify dispatch behavior is like ACE_TP_Reactor: when the - notify handle is signaled, extract one notification, release - the token, dispatch the notification. Thus, each thread will - dispatch one notification, and multiple threads can dispatch - them at the same time if there are multiples. - - Also fixed an error where it was possible to lose notice of a - notification. Resolves Bugzilla #3328. - -Wed Aug 25 09:49:41 UTC 2010 Martin Corino - - * ace/Arg_Shifter.h: - * ace/config-macosx-leopard.h: - * ace/Guard_T.h: - * ace/Global_Macros.h: - Selected changes from patches in Bugzilla 3652. - -Tue Aug 24 14:21:01 UTC 2010 Johnny Willemsen - - * ace/OS_NS_Thread.h: - Layout changes - - * ace/config-win32-common.h: - Improved MinGW GCC 4.4 support. Thanks to - Jani Hakala for creating the - patch - -Tue Aug 24 14:15:45 UTC 2010 Marijke Hengstmengel - - * ace/Log_Msg.cpp - * ace/Log_Msg.h - * tests/Log_Msg_Test.cpp - Revert changes for logging thread id as argument. - -Tue Aug 24 12:59:30 UTC 2010 Martin Corino - - * protocols/ace/INet/ClientRequestHandler.h: - * protocols/ace/INet/URLBase.h: - * protocols/ace/INet/HTTP_ClientRequestHandler.h: - Changes to fix export problems with nested classes with MSVC 7/8. - -Tue Aug 24 11:29:45 UTC 2010 Marijke Hengstmengel - - * ace/Log_Msg.h: - * ace/Log_Msg.cpp: - * tests/Log_Msg_Test.cpp: - * ChangeLog: - Add %#t to log a thread id that is coming from user code, as argument . - -Mon Aug 23 19:51:59 UTC 2010 Phil Mesnier - - * tests/Missing_Svc_Conf_Test.cpp: - - Fix some scoreboard problems. - -Mon Aug 23 15:05:56 UTC 2010 Adam Mitz - - * ace/Select_Reactor.h: - - vc10 needs an "ACE_Export" declaration on the explicit template - instantiation of ACE_Select_Reactor. - -Mon Aug 23 13:23:03 UTC 2010 Johnny Willemsen - - * ace/config-kfreebsd.h: - New config file for kfreebsd - - * ace/config-win32-common.h: - Removed commented out defines - -Mon Aug 23 11:57:30 UTC 2010 Martin Corino - - * protocols/ace/INet/INet_SSL_Export.h: - * protocols/ace/INet/HTTPS_Context.h: - * protocols/ace/INet/HTTPS_SessionFactory.h: - * protocols/ace/INet/HTTPS_URL.h: - * protocols/ace/INet/SSL_CallbackManager.h: - * protocols/ace/INet/SSL_CertificateCallback.h: - * protocols/ace/INet/SSL_PasswordCallback.h: - * protocols/ace/INet/SSL_X509Cert.h: - * protocols/ace/INet/inet_ssl.mpc: - Changes to fix MSVC 7/8 link errors. - -Mon Aug 23 11:34:30 UTC 2010 Martin Corino - - * protocols/ace/INet/HTTPS_URL.h: - Fixed GCC41 error concerning comma at end of enum list. - -Sat Aug 21 12:53:05 UTC 2010 Phil Mesnier - - * tests/Missing_Svc_Conf_Test.cpp: - - Added a descriptive comment block to the source. - -Fri Aug 20 13:29:22 UTC 2010 Phil Mesnier - - * ace/Service_Gestalt.cpp: - - One more shot at fixing the behavior of the service configurator - in the face of missing defaulted svc.conf file. - - * tests/Missing_Svc_Conf_Test.cpp: - * tests/run_test.lst: - * tests/tests.mpc: - - Added a proper test to ensure changes to this behavior are caught - in the future. - -Fri Aug 20 11:58:20 UTC 2010 Johnny Willemsen - - * ace/TSS_T.cpp: - Updated comment - - * include/makeinclude/platform_g++_common.GNU: - If minimaltoc is set to 1, add -mminimal-toc to compiler flags - - * include/makeinclude/platform_linux.GNU: - Removed check for ppc64, if you build for ppc64 and need -mminimal-toc - add minimaltoc=1 to your platform_macros.GNU file - -Fri Aug 20 09:52:30 UTC 2010 Martin Corino - - * protocols/ace/INet/inet_ssl.mpb: - Removed feature subproject config. - - * protocols/ace/INet/inet_ssl.mpc: - Added sublibrary project I forgot yesterday. - -Thu Aug 19 12:37:14 UTC 2010 Johnny Willemsen - - * ace/Functor_T.h: - Doxygen changes - - * include/makeinclude/platform_linux.GNU: - Make it possible to control -mminimal-toc through the - platform_macros.GNU file using minimaltoc - -Thu Aug 19 12:09:30 UTC 2010 Martin Corino - - * bin/MakeProjectCreator/config/inet.mpb: - * bin/MakeProjectCreator/config/inetssl.mpb: - * protocols/ace/INet/inet.mpc: - * protocols/ace/INet/inet_ssl.mpb: - Changes to split INet into 2 libraries; regular and SSL. - Fixes dependencies of DAnCE tools on SSL. - -Wed Aug 18 09:26:04 UTC 2010 Vladimir Zykov - - * netsvcs/lib/Client_Logging_Handler.cpp: - Fixed a compile warning. - -Tue Aug 17 07:34:31 UTC 2010 Marijke Hengstmengel - - * ace/CDR_Stream.cpp - Add Id - -Mon Aug 16 22:00:06 UTC 2010 Adam Mitz - - * examples/Reactor/Misc/Reactor_Misc.mpc: - - Explicitly list an empty Template_Files so that the *_t.cpp doesn't - get added to Template_Files. - -Mon Aug 16 12:58:31 UTC 2010 Marijke Hengstmengel - - * ace/Auto_Event.cpp: - * ace/CDR_Stream.cpp: - * ace/Cleanup.cpp: - * ace/Codecs.cpp: - * ace/DEV_Addr.cpp: - * ace/Dynamic_Service_Base.cpp: - * ace/Filecache.cpp: - * ace/Flag_Manip.cpp: - * ace/FlReactor/FlReactor.cpp: - * ace/FoxReactor/FoxReactor.cpp: - * ace/Handle_Ops.cpp: - * ace/Hashable.cpp: - * ace/INET_Addr.cpp: - * ace/Init_ACE.cpp: - * ace/Local_Tokens.cpp: - * ace/Logging_Strategy.cpp: - * ace/Malloc.cpp: - * ace/MEM_Addr.cpp: - * ace/Message_Block.cpp: - * ace/Method_Request.cpp: - * ace/Multihomed_INET_Addr.cpp: - * ace/Name_Request_Reply.cpp: - * ace/OS_NS_string.cpp: - * ace/OS_Thread_Adapter.cpp: - * ace/Parse_Node.cpp: - * ace/Ping_Socket.cpp: - * ace/POSIX_Asynch_IO.cpp: - * ace/POSIX_CB_Proactor.cpp: - * ace/Proactor.cpp: - * ace/Proactor_Impl.cpp: - * ace/Process_Manager.cpp: - * ace/QoS/QoS_Decorator.cpp: - * ace/QoS/QoS_Manager.cpp: - * ace/QoS/QoS_Session_Factory.cpp: - * ace/QoS/QoS_Session_Impl.cpp: - * ace/QoS/SOCK_Dgram_Mcast_QoS.cpp: - * ace/Reactor.cpp: - * ace/Refcountable_T.cpp: - * ace/Remote_Name_Space.cpp: - * ace/Select_Reactor_Base.cpp: - * ace/Service_Config.cpp: - * ace/Service_Gestalt.cpp: - * ace/Shared_Memory_SV.cpp: - * ace/Singleton.cpp: - * ace/Sock_Connect.cpp: - * ace/SSL/SSL_Asynch_BIO.cpp: - * ace/SSL/SSL_Asynch_Stream.cpp: - * ace/SSL/SSL_Context.cpp: - * ace/SSL/SSL_SOCK.cpp: - * ace/SSL/SSL_SOCK_Acceptor.cpp: - * ace/SSL/SSL_SOCK_Connector.cpp: - * ace/SSL/SSL_SOCK_Stream.cpp: - * ace/SString.cpp: - * ace/Svc_Conf.y - * ace/Svc_Conf_y.cpp: - * ace/Task.cpp: - * ace/Thread_Manager.cpp: - * ace/Timer_Hash_T.cpp: - * ace/TkReactor/TkReactor.cpp: - * ace/Token_Collection.cpp: - * ace/WIN32_Asynch_IO.cpp: - * ace/XtReactor/XtReactor.cpp: - Removed ACE_RCSID - -Thu Aug 12 16:07:55 UTC 2010 Steve Huston - - * configure.ac: Added feature test for ACE_LACKS_STRUCT_LIFNUM. - -Thu Aug 12 08:39:31 UTC 2010 Johnny Willemsen - - * rpmbuild/ace-tao.spec: - Fixed problem compiling FC packages on OSB - -Wed Aug 11 20:50:37 UTC 2010 Adam Mitz - - * bin/MakeProjectCreator/templates/gnu.mpd: - - With ARCH set, we need to create the local ARCH directory for the - executable in case there are no object files that would otherwise - have required it. - -Wed Aug 11 13:45:52 UTC 2010 Johnny Willemsen - - * ace/config-g++-common.h: - Only enable GCC builtin atomic op when threads are enabled. Thanks to - Rafi for reporting this - -Tue Aug 10 17:24:05 UTC 2010 Johnny Willemsen - - * ACEXML/apps/svcconf/Svcconf.cpp: - Fixed compile problem - -Tue Aug 10 08:55:17 UTC 2010 Johnny Willemsen - - * ace/Makefile.am: - Removed zapped file - -Mon Aug 9 17:14:27 UTC 2010 Jeff Parsons - - * THANKS: - - Added Robert Shectman - -Mon Aug 9 16:02:08 UTC 2010 Adam Mitz - - * include/makeinclude/platform_vxworks6.3.GNU: - * include/makeinclude/platform_vxworks6.8.GNU: - - The location of user-mode (RTP) libraries has changed in 6.8. - -Mon Aug 9 15:14:43 UTC 2010 Johnny Willemsen - - * ACEXML/apps/svcconf/Svcconf_Handler.cpp: - Zap emulated exception macros - - * ace/config-macros.h: - Only define ACE_HAS_EXCEPTIONS when it is not defined yet - -Mon Aug 9 06:38:34 UTC 2010 Johnny Willemsen - - * ace/config-sunos5.5.h: - Fixed compile error - -Mon Aug 9 06:35:14 UTC 2010 Johnny Willemsen - - * ace/ace.mpc: - Removed zapped file - -Sun Aug 8 23:31:32 UTC 2010 William R. Otte - - * ace/config-macosx-snowleopard.h: - - Clang uses ACE_ANY_OPS_USE_NAMESPACE. - -Fri Aug 6 17:36:45 UTC 2010 Adam Mitz - - * bin/fuzz.pl: - - Added a "trailing whitespace" check (not enabled by default). - Added the ability to pass multiple test names on the command line. - Extend the "too long file name" check to some additional file types. - -Fri Aug 6 08:39:38 UTC 2010 Johnny Willemsen - - * protocols/ace/TMCast/TMCast.mpc: - Removed exceptions as base project - -Thu Aug 5 16:56:01 UTC 2010 Johnny Willemsen - - * bin/MakeProjectCreator/config/tmcast.mpb: - * protocols/tests/RMCast/RMCast.mpc: - Removed exceptions as base project - -Thu Aug 5 09:00:49 UTC 2010 Johnny Willemsen - - * ace/ACE.cpp: - * ace/ACE_crc32.cpp: - * ace/ACE_crc_ccitt.cpp: - * ace/ARGV.cpp: - * ace/ATM_Acceptor.cpp: - * ace/ATM_Addr.cpp: - * ace/ATM_Connector.cpp: - * ace/ATM_Params.cpp: - * ace/ATM_QoS.cpp: - * ace/ATM_Stream.cpp: - * ace/Acceptor.cpp: - * ace/Activation_Queue.cpp: - * ace/Active_Map_Manager.cpp: - * ace/Addr.cpp: - * ace/Arg_Shifter.cpp: - * ace/Argv_Type_Converter.cpp: - * ace/Assert.cpp: - * ace/Asynch_Acceptor.cpp: - * ace/Asynch_IO.cpp: - * ace/Asynch_Pseudo_Task.cpp: - * ace/Atomic_Op.cpp: - * ace/Atomic_Op_GCC_T.cpp: - * ace/Atomic_Op_T.cpp: - * ace/Auto_Ptr.cpp: - * ace/Barrier.cpp: - * ace/Base_Thread_Adapter.cpp: - * ace/Basic_Stats.cpp: - * ace/CDR_Base.cpp: - * ace/Capabilities.cpp: - * ace/Codeset_IBM1047.cpp: - * ace/Codeset_Registry.cpp: - * ace/Condition_Thread_Mutex.cpp: - * ace/Connection_Recycling_Strategy.cpp: - * ace/Containers.cpp: - * ace/Copy_Disabled.cpp: - * ace/Countdown_Time.cpp: - * ace/DEV.cpp: - * ace/DEV_Connector.cpp: - * ace/DEV_IO.cpp: - * ace/DLL.cpp: - * ace/DLL_Manager.cpp: - * ace/Date_Time.cpp: - * ace/Dev_Poll_Reactor.cpp: - * ace/Dirent_Selector.cpp: - * ace/Dump.cpp: - * ace/Dynamic.cpp: - * ace/Dynamic_Message_Strategy.cpp: - * ace/Dynamic_Service_Dependency.cpp: - * ace/Event.cpp: - * ace/Event_Handler.cpp: - * ace/FIFO.cpp: - * ace/FIFO_Recv.cpp: - * ace/FIFO_Recv_Msg.cpp: - * ace/FIFO_Send.cpp: - * ace/FIFO_Send_Msg.cpp: - * ace/FILE.cpp: - * ace/FILE_Addr.cpp: - * ace/FILE_Connector.cpp: - * ace/FILE_IO.cpp: - * ace/File_Lock.cpp: - * ace/Framework_Component.cpp: - * ace/Functor.cpp: - * ace/Functor_String.cpp: - * ace/Future.cpp: - * ace/Get_Opt.cpp: - * ace/Handle_Set.cpp: - * ace/High_Res_Timer.cpp: - * ace/ICMP_Socket.cpp: - * ace/IOStream.cpp: - * ace/IO_Cntl_Msg.cpp: - * ace/IO_SAP.cpp: - * ace/IPC_SAP.cpp: - * ace/LSOCK.cpp: - * ace/LSOCK_Acceptor.cpp: - * ace/LSOCK_CODgram.cpp: - * ace/LSOCK_Connector.cpp: - * ace/LSOCK_Dgram.cpp: - * ace/LSOCK_Stream.cpp: - * ace/Lib_Find.cpp: - * ace/Local_Memory_Pool.cpp: - * ace/Local_Name_Space.cpp: - * ace/Lock.cpp: - * ace/Log_Msg.cpp: - * ace/Log_Msg_Backend.cpp: - * ace/Log_Msg_Callback.cpp: - * ace/Log_Msg_IPC.cpp: - * ace/Log_Msg_NT_Event_Log.cpp: - * ace/Log_Record.cpp: - * ace/MEM_Acceptor.cpp: - * ace/MEM_Connector.cpp: - * ace/MEM_IO.cpp: - * ace/MEM_SAP.cpp: - * ace/MEM_Stream.cpp: - * ace/MMAP_Memory_Pool.cpp: - * ace/Malloc_Allocator.cpp: - * ace/Manual_Event.cpp: - * ace/Mem_Map.cpp: - * ace/Message_Queue.cpp: - * ace/Message_Queue_NT.cpp: - * ace/Message_Queue_Vx.cpp: - * ace/Msg_WFMO_Reactor.cpp: - * ace/Mutex.cpp: - * ace/Name_Proxy.cpp: - * ace/Name_Space.cpp: - * ace/Naming_Context.cpp: - * ace/Notification_Strategy.cpp: - * ace/OS.cpp: - * ace/OS_Errno.cpp: - * ace/OS_Log_Msg_Attributes.cpp: - * ace/OS_NS_Thread.cpp: - * ace/OS_NS_arpa_inet.cpp: - * ace/OS_NS_ctype.cpp: - * ace/OS_NS_dirent.cpp: - * ace/OS_NS_dlfcn.cpp: - * ace/OS_NS_errno.cpp: - * ace/OS_NS_fcntl.cpp: - * ace/OS_NS_math.cpp: - * ace/OS_NS_netdb.cpp: - * ace/OS_NS_poll.cpp: - * ace/OS_NS_pwd.cpp: - * ace/OS_NS_regex.cpp: - * ace/OS_NS_signal.cpp: - * ace/OS_NS_stdio.cpp: - * ace/OS_NS_stdlib.cpp: - * ace/OS_NS_strings.cpp: - * ace/OS_NS_stropts.cpp: - * ace/OS_NS_sys_mman.cpp: - * ace/OS_NS_sys_msg.cpp: - * ace/OS_NS_sys_resource.cpp: - * ace/OS_NS_sys_select.cpp: - * ace/OS_NS_sys_shm.cpp: - * ace/OS_NS_sys_socket.cpp: - * ace/OS_NS_sys_stat.cpp: - * ace/OS_NS_sys_time.cpp: - * ace/OS_NS_sys_uio.cpp: - * ace/OS_NS_sys_utsname.cpp: - * ace/OS_NS_sys_wait.cpp: - * ace/OS_NS_time.cpp: - * ace/OS_NS_unistd.cpp: - * ace/OS_NS_wchar.cpp: - * ace/OS_NS_wctype.cpp: - * ace/OS_TLI.cpp: - * ace/OS_main.cpp: - * ace/Obchunk.cpp: - * ace/Object_Manager.cpp: - * ace/Object_Manager_Base.cpp: - * ace/PI_Malloc.cpp: - * ace/Pagefile_Memory_Pool.cpp: - * ace/Pipe.cpp: - * ace/Priority_Reactor.cpp: - * ace/Process.cpp: - * ace/Process_Mutex.cpp: - * ace/Process_Semaphore.cpp: - * ace/Profile_Timer.cpp: - * ace/RW_Mutex.cpp: - * ace/RW_Process_Mutex.cpp: - * ace/RW_Thread_Mutex.cpp: - * ace/Reactor_Impl.cpp: - * ace/Reactor_Notification_Strategy.cpp: - * ace/Reactor_Timer_Interface.cpp: - * ace/Read_Buffer.cpp: - * ace/Recursive_Thread_Mutex.cpp: - * ace/Recyclable.cpp: - * ace/Registry.cpp: - * ace/Registry_Name_Space.cpp: - * ace/Remote_Tokens.cpp: - * ace/SOCK.cpp: - * ace/SOCK_Acceptor.cpp: - * ace/SOCK_CODgram.cpp: - * ace/SOCK_Connector.cpp: - * ace/SOCK_Dgram.cpp: - * ace/SOCK_Dgram_Bcast.cpp: - * ace/SOCK_Dgram_Mcast.cpp: - * ace/SOCK_IO.cpp: - * ace/SOCK_SEQPACK_Acceptor.cpp: - * ace/SOCK_SEQPACK_Association.cpp: - * ace/SOCK_SEQPACK_Connector.cpp: - * ace/SOCK_Stream.cpp: - * ace/SPIPE.cpp: - * ace/SPIPE_Acceptor.cpp: - * ace/SPIPE_Addr.cpp: - * ace/SPIPE_Connector.cpp: - * ace/SPIPE_Stream.cpp: - * ace/SUN_Proactor.cpp: - * ace/SV_Message.cpp: - * ace/SV_Message_Queue.cpp: - * ace/SV_Semaphore_Complex.cpp: - * ace/SV_Semaphore_Simple.cpp: - * ace/SV_Shared_Memory.cpp: - * ace/Sample_History.cpp: - * ace/Sbrk_Memory_Pool.cpp: - * ace/Sched_Params.cpp: - * ace/Select_Reactor_T.cpp: - * ace/Semaphore.cpp: - * ace/Service_Manager.cpp: - * ace/Service_Object.cpp: - * ace/Service_Repository.cpp: - * ace/Service_Types.cpp: - * ace/Shared_Memory.cpp: - * ace/Shared_Memory_MM.cpp: - * ace/Shared_Memory_Pool.cpp: - * ace/Shared_Object.cpp: - * ace/Sig_Adapter.cpp: - * ace/Sig_Handler.cpp: - * ace/Signal.cpp: - * ace/Stack_Trace.cpp: - * ace/Stats.cpp: - * ace/Synch_Options.cpp: - * ace/System_Time.cpp: - * ace/TLI.cpp: - * ace/TLI_Acceptor.cpp: - * ace/TLI_Connector.cpp: - * ace/TLI_Stream.cpp: - * ace/TP_Reactor.cpp: - * ace/TSS_Adapter.cpp: - * ace/TTY_IO.cpp: - * ace/Thread.cpp: - * ace/Thread_Adapter.cpp: - * ace/Thread_Control.cpp: - * ace/Thread_Exit.cpp: - * ace/Thread_Hook.cpp: - * ace/Thread_Mutex.cpp: - * ace/Thread_Semaphore.cpp: - * ace/Throughput_Stats.cpp: - * ace/Time_Value.cpp: - * ace/Timeprobe.cpp: - * ace/Timer_List_T.cpp: - * ace/Token.cpp: - * ace/Token_Invariants.cpp: - * ace/Token_Manager.cpp: - * ace/Token_Request_Reply.cpp: - * ace/Trace.cpp: - * ace/UNIX_Addr.cpp: - * ace/UPIPE_Acceptor.cpp: - * ace/UPIPE_Connector.cpp: - * ace/UPIPE_Stream.cpp: - * ace/UUID.cpp: - * ace/WFMO_Reactor.cpp: - * ace/WIN32_Proactor.cpp: - * ace/XTI_ATM_Mcast.cpp: - * ace/ace_wchar.cpp: - * ace/gethrtime.cpp: - Removed ACE_RCSID - -Thu Aug 5 08:13:51 UTC 2010 Johnny Willemsen - - * ace/CORBA_macros.h: - * ace/Global_Macros.h: - * ace/Vector_T.h: - * ace/ace_wchar.h: - * ace/config-cxx-common.h: - * ace/config-doxygen.h: - * ace/config-g++-common.h: - * ace/config-hpux-11.00.h: - * ace/config-icc-common.h: - * ace/config-integritySCA.h: - * ace/config-macros.h: - * ace/config-netbsd.h: - * ace/config-openvms.h: - * ace/config-suncc-common.h: - * ace/config-sunos5.4-sunc++-4.x.h: - * ace/config-sunos5.5.h: - * ace/config-tandem-nsk-mips-v2.h: - * ace/config-tandem-nsk-mips-v3.h: - * ace/config-unixware-7.1.0.h: - * ace/config-unixware-7.1.0.udk.h: - * ace/config-win32-borland.h: - * ace/config-win32-dmc.h: - * ace/config-win32-ghs.h: - * ace/config-win32-interix.h: - * ace/config-win32-msvc-10.h: - * ace/config-win32-msvc-7.h: - * ace/config-win32-msvc-8.h: - * ace/config-win32-msvc-9.h: - * include/makeinclude/platform_aix.GNU: - * include/makeinclude/platform_aix_g++.GNU: - * include/makeinclude/platform_aix_ibm.GNU: - * include/makeinclude/platform_cray.GNU: - * include/makeinclude/platform_freebsd.GNU: - * include/makeinclude/platform_gnuwin32_common.GNU: - * include/makeinclude/platform_hpux_aCC.GNU: - * include/makeinclude/platform_hpux_gcc.GNU: - * include/makeinclude/platform_integrity_ghs.GNU: - * include/makeinclude/platform_irix6.x_common.GNU: - * include/makeinclude/platform_linux_common.GNU: - * include/makeinclude/platform_lynxos.GNU: - * include/makeinclude/platform_macosx.GNU: - * include/makeinclude/platform_macosx_common.GNU: - * include/makeinclude/platform_macosx_icc.GNU: - * include/makeinclude/platform_macosx_panther.GNU: - * include/makeinclude/platform_netbsd.GNU: - * include/makeinclude/platform_openbsd.GNU: - * include/makeinclude/platform_openvms.GNU: - * include/makeinclude/platform_qnx_rtp_gcc.GNU: - * include/makeinclude/platform_rtems.x_g++.GNU: - * include/makeinclude/platform_sunos5_g++.GNU: - * include/makeinclude/platform_sunos5_sunc++.GNU: - * include/makeinclude/platform_tandem.GNU: - * include/makeinclude/platform_tru64_cxx.GNU: - * include/makeinclude/platform_tru64_g++.GNU: - * include/makeinclude/platform_unixware_g++.GNU: - * include/makeinclude/platform_vxworks5.5.x.GNU: - * include/makeinclude/platform_vxworks6.2.GNU: - * include/makeinclude/platform_vxworks6.3.GNU: - * include/makeinclude/platform_win32_dmc.GNU: - * include/makeinclude/platform_win32_icc.GNU: - * include/makeinclude/platform_win32_interix.GNU: - * include/makeinclude/wrapper_macros.GNU: - * tests/Bug_3673_Regression_Test.cpp: - * tests/Reactor_Exceptions_Test.cpp: - * tests/tests.mpc: - Removed support for non exception builds, ACE_HAS_EXCEPTIONS is - now always defined - - * rpmbuild/ace-tao.spec: - Small updates - - * ace/Exception_Macros.h: - * bin/MakeProjectCreator/config/exceptions.mpb: - Removed these files. - -Thu Aug 5 07:40:00 UTC 2010 Build CZar - - * ace/OS_NS_Thread.cpp: - Add the missing ; to the lines added by the fix below. - Wed Aug 4 14:16:46 UTC 2010 Johnny Willemsen - -Wed Aug 4 17:21:17 UTC 2010 Chris Cleeland - - * bin/MakeProjectCreator/config/crosscompile.mpb: - Added specific clause for cdt6. - -Wed Aug 4 14:16:46 UTC 2010 Johnny Willemsen - - * ace/OS_NS_Thread.cpp: - Check more internal return values - - * rpmbuild/ace-tao.spec-bugfixonly.patch: - Removed this file, not needed - -Tue Aug 3 12:14:51 UTC 2010 Johnny Willemsen - - * bin/generate_doxygen.pl: - * html/index.html: - DAnCE has its own file now and also some documentation got moved - out of the tao directory - -Sun Aug 1 18:14:03 UTC 2010 Johnny Willemsen - - * NEWS: - * bin/diff-builds-and-group-fixed-tests-only.sh: - * bin/make_release.py: - * docs/Download.html: - * etc/index.html: - Updated because of release - - * debian/*: - Did rename actions the release script didn't do, have to sort this - out later - -Sun Aug 01 11:30:54 CEST 2010 Johnny Willemsen - - * ACE version 5.8.1 released. - -Thu Jul 29 14:41:32 UTC 2010 Steve Huston - - * ace/Process.h (set_handles): Clarify that passing ACE_INVALID_HANDLE - for any of the handle values will cause a duplicate of the - corresponding ACE_STDIN/OUT/ERR to be used in the options. - -Thu Jul 29 10:43:32 UTC 2010 Marcel Smit - - * bin/MakeProjectCreator/config/global.features: - * bin/MakeProjectCreator/config/inetssl.mpb: - * protocols/ace/INet/inet_ssl.mpb: - Created a new feature, inet_ssl. When set, the INet libary - builds, using SSL. To let the INet libary use SSL, one should - enable the inet_ssl feature in default.features and add ssl=1 to - the platform_macos.GNU. - -Mon Jul 26 20:26:53 UTC 2010 Steve Huston - - * ace/OS_NS_Thread.h: Note that the cpu_set_size to the get/set - affinity methods is a byte count. - -Mon Jul 26 07:02:30 UTC 2010 Martin Corino - - * bin/MakeProjectCreator/config/inet.mpb: - * protocols/ace/INet/inet.mpc: - Added avoids += corba_e_compact. - -Thu Jul 22 04:35:30 UTC 2010 Martin Corino - - * bin/MakeProjectCreator/config/inet.mpb: - * protocols/ace/INet/inet.mpc: - Added avoids += ace_for_tao. - -Wed Jul 21 18:23:32 UTC 2010 Douglas C. Schmidt - - * ace/Basic_Types.h (ACE_INT8_FORMAT_SPECIFIER): Added the missing - "_ASCII" to the ACE_INT8_FORMAT_SPECIFIER macro usage. Thanks - to Andre Kostur for reporting - this. - -Wed Jul 21 15:52:32 UTC 2010 Phil Mesnier - - * ace/Service_Gestalt.h: - * ace/Service_Gestalt.inl: - * ace/Service_Gestalt.cpp: - - Reverted for_TAO specific change, revised the processing to - ensure default first, then files, then cmdline directives. - -Wed Jul 21 03:07:28 UTC 2010 Phil Mesnier - - * ace/Service_Gestalt.h: - * ace/Service_Gestalt.cpp: - - Fix errors in premature committal. - -Wed Jul 21 02:30:45 UTC 2010 Phil Mesnier - - * ace/Service_Gestalt.h: - * ace/Service_Gestalt.inl: - * ace/Service_Gestalt.cpp: - - Add a specialized open method to be called by TAO. TAO depends - on a modified order of directive evaluation. - -Tue Jul 20 18:02:03 UTC 2010 Johnny Willemsen - - * docs/Download.html: - Fixed some typos, thanks to Thomas Lockhart - for reporting this - -Tue Jul 20 15:08:49 UTC 2010 Phil Mesnier - - * tests/Bug_3319_Regression_Test.cpp: - - Fix the test to be consistent with revised service config - behavior. The test had assumed that ACE_Service_Config::open() - would return 0 even if svc.conf were not present, but since it - was setting the ignore_default_svc_conf_file to 0, the restore - behavior of the service configurator is to fail with ENOENT in - that case. - -Tue Jul 20 08:48:00 UTC 2010 Vladimir Zykov - - * ace/TSS_T.cpp: - Fixed a bug in ACE_TSS::ts_get() that only exhibited on - SunOS/Studio builds. The later configutsyion uses ACE_HAS_THR_C_DEST - and with that define ts_get() behaved differently. In particular it - didn't create a ts_obj if tss_adapter was not 0. - -Tue Jul 20 07:38:30 UTC 2010 Martin Corino - - * protocols/ace/INet/SSL_CallbackManager.h: - Fixed comment typo. - -Tue Jul 20 05:25:30 UTC 2010 Martin Corino - - * protocols/ace/INet/HTTP_BasicAuthentication.cpp: - * protocols/ace/INet/HTTP_BasicAuthentication.h: - * protocols/ace/INet/HTTP_BasicAuthentication.inl: - * protocols/ace/INet/inet.mpc: - Added basic support for HTTP Basic Authentication scheme. - -Tue Jul 20 03:56:30 UTC 2010 Martin Corino - - * protocols/ace/INet/HTTP_SessionBase.cpp: - Fixed MSVC 7.1 compile problems. - - * protocols/ace/INet/HTTP_Simple_exec.cpp: - Fixed compile problems for non-SSL builds. - -Tue Jul 20 03:25:30 UTC 2010 Martin Corino - - * bin/MakeProjectCreator/config/inetssl.mpb: - * protocols/ace/INet/inet_ssl.mpb: - Fuzz fixes. - -Mon Jul 19 11:50:59 UTC 2010 Vladimir Zykov - - * ace/TSS_T.inl: - * ace/TSS_T.h: - * ace/TSS_T.cpp: - Mostly fixed bug 3539. It doesn't fix a case when main thread - doesn't own ACE_TSS but still uses it. Fixing the later is not - straight forward and will require a lot more efforts. - Also rearranged the code so that it has less duplicates. - - * tests/run_test.lst: - Marked the test as fixed. - -Mon Jul 19 09:15:30 UTC 2010 Martin Corino - - * bin/MakeProjectCreator/config/inet.mpb: - * bin/MakeProjectCreator/config/global.features: - * protocols/ace/INet/inet.mpc: - Added new feature 'exclude_inet' to allow builds to - explicitly exclude building INet. - -Mon Jul 19 08:49:30 UTC 2010 Martin Corino - - * protocols/ace/INet/HTTPS_Session.cpp: - * protocols/ace/INet/HTTPS_Session.h: - Fixed compile errors byadding version check to disable - 'relatively' new OpenSSL functionality for builds using - outdated OpenSSL installations (OpenSSL <= 0.9.8e). - -Sat Jul 17 14:06:30 UTC 2010 Martin Corino - - * protocols/ace/INet/ClientRequestHandler.h: - * protocols/ace/INet/URLBase.h: - Some include shuffling to fix an incomplete type warning - with MSVC. - -Sat Jul 17 11:39:30 UTC 2010 Martin Corino - - * protocols/ace/INet/inet_ssl.mpb: - Replaced ace_openssl base project by ssl. Fixes missing - ACE_SSL lib link errors. - - * protocols/ace/INet/SSL_CallbackManager.cpp: - Fixed MSVC compile errors. - -Sat Jul 17 10:26:30 UTC 2010 Martin Corino - - * bin/MakeProjectCreator/config/inetssl.mpb: - * bin/MakeProjectCreator/config/inet.mpb: - Added feature project for SSL based parts of INet. - Setting feature ssl=1 will automatically cause correct - dependencies for SSL to be generated in INet based projects. - - * protocols/ace/INet/HTTPS_Context.cpp: - * protocols/ace/INet/HTTPS_Context.h: - * protocols/ace/INet/HTTPS_Context.inl: - * protocols/ace/INet/HTTP_SessionBase.cpp: - * protocols/ace/INet/HTTP_SessionBase.h: - * protocols/ace/INet/HTTP_SessionBase.inl: - * protocols/ace/INet/HTTPS_Session.cpp: - * protocols/ace/INet/HTTPS_SessionFactory.cpp: - * protocols/ace/INet/HTTPS_SessionFactory.h: - * protocols/ace/INet/HTTPS_Session.h: - * protocols/ace/INet/HTTPS_URL.cpp: - * protocols/ace/INet/HTTPS_URL.h: - * protocols/ace/INet/HTTPS_URL.inl: - * protocols/ace/INet/SSL_CallbackManager.cpp: - * protocols/ace/INet/SSL_CallbackManager.h: - * protocols/ace/INet/SSL_CallbackManager.inl: - * protocols/ace/INet/SSL_CertificateCallback.cpp: - * protocols/ace/INet/SSL_CertificateCallback.h: - * protocols/ace/INet/SSL_CertificateCallback.inl: - * protocols/ace/INet/SSL_PasswordCallback.cpp: - * protocols/ace/INet/SSL_PasswordCallback.h: - * protocols/ace/INet/SSL_Proxy_Connector.cpp: - * protocols/ace/INet/SSL_Proxy_Connector.h: - * protocols/ace/INet/SSLSock_IOStream.cpp: - * protocols/ace/INet/SSLSock_IOStream.h: - * protocols/ace/INet/SSL_X509Cert.cpp: - * protocols/ace/INet/SSL_X509Cert.h: - * protocols/ace/INet/SSL_X509Cert.inl: - New files implementing SSL/HTTPS support. - Includes support for proxy CONNECT tunneling. - - * protocols/ace/INet/inet_ssl.mpb: - Feature project which will include SSL/HTTPS support - into INet when MPC feature ssl=1 is set. - - * protocols/ace/INet/ClientRequestHandler.cpp: - * protocols/ace/INet/ClientRequestHandler.h: - * protocols/ace/INet/ConnectionCache.cpp: - * protocols/ace/INet/ConnectionCache.h: - * protocols/ace/INet/FTP_ClientRequestHandler.cpp: - * protocols/ace/INet/FTP_URL.cpp: - * protocols/ace/INet/FTP_URL.h: - * protocols/ace/INet/FTP_URL.inl: - * protocols/ace/INet/HeaderBase.h: - * protocols/ace/INet/HTTP_ClientRequestHandler.cpp: - * protocols/ace/INet/HTTP_ClientRequestHandler.h: - * protocols/ace/INet/HTTP_ClientRequestHandler.inl: - * protocols/ace/INet/HTTP_Session.cpp: - * protocols/ace/INet/HTTP_Session.h: - * protocols/ace/INet/HTTP_StreamPolicyBase.h: - * protocols/ace/INet/HTTP_StreamPolicy.h: - * protocols/ace/INet/HTTP_URL.cpp: - * protocols/ace/INet/HTTP_URL.h: - * protocols/ace/INet/HTTP_URL.inl: - * protocols/ace/INet/inet.mpc: - * protocols/ace/INet/RequestHandler.h: - * protocols/ace/INet/StreamHandler.cpp: - * protocols/ace/INet/StreamInterceptor.h: - * protocols/ace/INet/URLBase.h: - Some redesign to accomodate addition of HTTPS. - Some additional logging. - Some additional documentation. - - * protocols/ace/INet/HTTP_Simple_exec.cpp: - Extended to include HTTPS support. - - * protocols/tests/INet/MT_Get/Main.cpp: - Added some traces. - -Fri Jul 16 22:08:05 UTC 2010 Phil Mesnier - - * ace/Service_Gestalt.h: - * ace/Service_Gestalt.cpp: - - Further refinement of service initialization process. This - restores the order of processing, and is more explicit about - handling a defaulted svc.conf. - -Thu Jul 15 17:53:47 UTC 2010 Phil Mesnier - - * ace/Service_Gestalt.cpp: - * THANKS: - - Restore pre-gestalt behavior of returning -1 if svc.conf does - not exist and an ACE_Service_Config::open() is expecting to use - the default file. - - Thanks to Daynesh Mangal (daynesh@gmail.com) for reporting the - errant behavior. - -Thu Jul 15 12:53:53 UTC 2010 Johnny Willemsen - - * etc/ace.doxygen: - * etc/ace_inet.doxygen: - * etc/ace_man.doxygen: - * etc/ace_qos.doxygen: - * etc/ace_rmcast.doxygen: - * etc/ace_ssl.doxygen: - * etc/acexml.doxygen: - Generate deprecated/todo pages - -Thu Jul 15 12:35:30 UTC 2010 Martin Corino - - * ace/SSL/SSL_SOCK_Stream.h: - * ace/SSL/SSL_SOCK_Stream.inl: - Added two method overloads available in ACE_SOCK_Stream but - missing from ACE_SSL_SOCK_Stream. - -Thu Jul 15 09:49:28 UTC 2010 Johnny Willemsen - - * ace/config-doxygen.h: - Added ACE_HAS_POSITION_INDEPENDENT_POINTERS - -Thu Jul 15 09:29:58 UTC 2010 Johnny Willemsen - - * bin/generate_doxygen.pl: - * etc/ace_inet.doxygen: - * html/index.html: - Added ACE INet library - -Thu Jul 15 09:11:51 UTC 2010 William R. Otte - - * ace/config-macosx-snowleopard.h: - * include/makeinclude/platform_clang_common.GNU: - * include/makeinclude/platform_macosx_common.GNU: - - Preliminary support for clang compiler. - -Tue Jul 13 14:39:55 UTC 2010 Johnny Willemsen - - * NEWS: - Updated - -Tue Jul 13 14:33:23 UTC 2010 Johnny Willemsen - - * ace/Cached_Connect_Strategy_T.h: - * ace/Capabilities.h: - Doxygen fixes - -Tue Jul 13 14:20:09 UTC 2010 Johnny Willemsen - - * ace/os_include/os_errno.h: - Fixed problems with msvc 10, , thanks to Max Zhou - for supplying these changes, this fixes - bugzilla 3873 - -Tue Jul 13 11:08:38 UTC 2010 Johnny Willemsen - - * bin/MakeProjectCreator/config/vc10nmake.mpb: - * netsvcs/lib/lib.mpc: - vc10 support, thanks to Max Zhou for - supplying these changes - -Mon Jul 12 11:04:58 UTC 2010 Johnny Willemsen - - * ace/ACE.cpp: - * ace/Activation_Queue.h: - * ace/Active_Map_Manager.h: - * ace/Dev_Poll_Reactor.h: - * ace/Dev_Poll_Reactor.inl: - * ace/Event_Handler.h: - * ace/Filecache.h: - * ace/Manual_Event.h: - * ace/Map_Manager.h: - * ace/Mem_Map.h: - * ace/Message_Block.h: - * ace/OS_Log_Msg_Attributes.h: - * ace/OS_NS_unistd.h: - * ace/Object_Manager.h: - * ace/Recursive_Thread_Mutex.h: - Layout, const, and doxygen fixes - -Mon Jul 12 10:11:24 UTC 2010 Johnny Willemsen - - * ace/DLL.h: - * ace/DLL_Manager.h: - * ace/Dirent.h: - * ace/Dump_T.h: - * ace/Event_Handler.h: - * ace/File_Lock.h: - * ace/INET_Addr.h: - * ace/Log_Msg_Callback.h: - * ace/Log_Record.h: - * ace/Logging_Strategy.h: - Fixed set of doxygen warnings - -Mon Jul 12 08:19:58 UTC 2010 Johnny Willemsen - - * ace/Connector.h: - * ace/Malloc_Base.h: - * ace/SString.h: - * ace/Stream.h: - * ace/Task.h: - Fixed set of doxygen warnings - -Fri Jul 09 09:35:30 UTC 2010 Martin Corino - - * bin/PerlACE/Process_Unix.pm: - Fix killall() valgrind handling. - -Thu Jul 08 14:41:30 UTC 2010 Martin Corino - - * bin/PerlACE/Process_Unix.pm: - Fix killall() valgrind handling. - -Thu Jul 08 07:56:30 UTC 2010 Martin Corino - - * bin/PerlACE/Process_Unix.pm: - Make killall() recognize and handle valgrind runs correctly. - -Wed Jul 7 14:53:12 UTC 2010 Vladimir Zykov - - * tests/run_test.lst: - * tests/Bug_3539_Regression_Test.cpp: - * tests/tests.mpc: - Added a test for bug 3539 as non-fixed. - -Wed Jul 7 11:43:16 UTC 2010 Johnny Willemsen - - * docs/bczar/bczar.html: - Extended instructions - -Tue Jul 6 12:28:43 UTC 2010 Johnny Willemsen - - * docs/Download.html: - CIAO is also online available - -Tue Jul 6 11:29:41 UTC 2010 Johnny Willemsen - - * ace/Message_Queue_T.cpp: - * ace/Service_Repository.h: - * ace/Task_T.h: - Fixed doxygen warnings - -Tue Jul 6 11:22:08 UTC 2010 Johnny Willemsen - - * etc/ace.doxygen: - Improved doxygen configuration - -Tue Jul 6 11:11:06 UTC 2010 Johnny Willemsen - - * etc/ace.doxygen: - * etc/ace_man.doxygen: - * etc/ace_qos.doxygen: - * etc/ace_rmcast.doxygen: - * etc/ace_ssl.doxygen: - * etc/acexml.doxygen: - Reduced the size of the colloboration graphs - -Mon Jul 5 15:20:14 UTC 2010 Johnny Willemsen - - * rpmbuild/ace-tao.spec: - Removed some test code - -Mon Jul 5 14:59:25 UTC 2010 Johnny Willemsen - - * rpmbuild/ace-tao.spec: - Added missing file, thanks to Anatoli Sakhnik - for reporting this, this should fix - bugzilla 3870 - -Mon Jul 05 14:32:30 UTC 2010 Martin Corino - - * bin/PerlACE/Process_Unix.pm: - Fixes problem with killall() function being not selective enough. - -Mon Jul 5 13:56:57 UTC 2010 Johnny Willemsen - - * etc/ace.doxygen: - * etc/ace_qos.doxygen: - * etc/ace_rmcast.doxygen: - * etc/ace_ssl.doxygen: - * etc/acexml.doxygen: - Disable include and included graphs, this should reduce the size - of the documentation a lot - -Mon Jul 5 13:29:23 UTC 2010 Johnny Willemsen - - * bin/generate_doxygen.pl: - Some preparations to move the DAnCE doxygen files to DAnCE - - * docs/bczar/bczar.html: - Updated release notes, made it possible to generate doxygen on - a regular system instead of on naboo, the side effect is that the - doxygen packages on naboo are 350Mb, on FC13 with all latest tools - they are 1.4GB - -Mon Jul 5 11:22:09 UTC 2010 Johnny Willemsen - - * ace/Select_Reactor_Base.cpp: - Fixed doxygen warning - - * etc/ace.doxygen: - * etc/ace_man.doxygen: - * etc/ace_qos.doxygen: - * etc/ace_rmcast.doxygen: - * etc/ace_ssl.doxygen: - * etc/acexml.doxygen: - Define ACE_INLINE as inline and not as 1 - -Mon Jul 5 10:56:15 UTC 2010 Johnny Willemsen - - * rpmbuild/ace-tao.spec-release.patch: - Removed this file. - -Mon Jul 5 09:11:21 UTC 2010 Johnny Willemsen - - * docs/Download.html: - Removed link to very old patches and fixed typo - -Mon Jul 5 09:05:43 UTC 2010 Johnny Willemsen - - * docs/Download.html: - Updated filenames in text - -Mon Jul 5 08:57:09 UTC 2010 Johnny Willemsen - - * docs/Download.html: - Update latest minor release to x.8.0 - -Mon Jul 5 08:19:17 UTC 2010 Johnny Willemsen - - * bin/diff-builds-and-group-fixed-tests-only.sh: - Updated for x.8.0 - - * bin/generate_rel_manpages: - Remove restriction to run on naboo, removed doxygen check, updated - error message - - * docs/Download.html: - Updated to x.8.0 - - * etc/ace.doxygen: - Layout changes - - * etc/index.html: - Added 5.8 - - * rpmbuild/ace-tao.spec: - Changed version numbers to x.8.0 and added new ACE INet library - -Sun Jul 04 18:57:33 CEST 2010 Johnny Willemsen - - * ACE version 5.8 released. - -Local Variables: -mode: change-log -add-log-time-format: (lambda () (progn (setq tz (getenv "TZ")) (set-time-zone-rule "UTC") (setq time (format-time-string "%a %b %e %H:%M:%S %Z %Y" (current-time))) (set-time-zone-rule tz) time)) -indent-tabs-mode: nil -End: diff --git a/dep/ACE_wrappers/GNUmakefile b/dep/ACE_wrappers/GNUmakefile deleted file mode 100644 index a4fd901fd..000000000 --- a/dep/ACE_wrappers/GNUmakefile +++ /dev/null @@ -1,101 +0,0 @@ -# -*- makefile -*- -#---------------------------------------------------------------------------- -# GNU ACE Workspace -# -# $Id: GNUACEWorkspaceCreator.pm 91813 2010-09-17 07:52:52Z johnnyw $ -# -# This file was generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -# MPC Command: -# /tmp/DOC_ROOT/stage-1367/ACE_wrappers/bin/mwc.pl -type gnuace -exclude "TAO/TAO_*.mwc,TAO/CIAO/CIAO_*.mwc" -recurse -hierarchy -relative ACE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers -relative TAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO -relative CIAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/CIAO -relative DANCE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/DAnCE -# -#---------------------------------------------------------------------------- - -MAKEFILE = GNUmakefile - -ifeq ($(findstring k,$(MAKEFLAGS)),k) - KEEP_GOING = - -endif - -include $(ACE_ROOT)/include/makeinclude/macros.GNU - -all: ACE ACE_ETCL ACE_ETCL_Parser ACE_FlReactor Monitor_Control ACE_Qt3Reactor_moc ACE_Qt3Reactor SSL ACE_TkReactor ACE_XtReactor bin-target PerlACE - -REMAINING_TARGETS := $(filter-out all,$(TARGETS_NESTED:.nested=)) $(CUSTOM_TARGETS) - -$(REMAINING_TARGETS): - $(KEEP_GOING)@cd ace && $(MAKE) -f GNUmakefile.ACE $(@) - $(KEEP_GOING)@cd ace/ETCL && $(MAKE) -f GNUmakefile.ACE_ETCL $(@) - $(KEEP_GOING)@cd ace/ETCL && $(MAKE) -f GNUmakefile.ACE_ETCL_Parser $(@) - $(KEEP_GOING)@cd ace/FlReactor && $(MAKE) -f GNUmakefile.ACE_FlReactor $(@) - $(KEEP_GOING)@cd ace/Monitor_Control && $(MAKE) -f GNUmakefile.Monitor_Control $(@) - $(KEEP_GOING)@cd ace/QtReactor && $(MAKE) -f GNUmakefile.ACE_Qt3Reactor_moc $(@) - $(KEEP_GOING)@cd ace/QtReactor && $(MAKE) -f GNUmakefile.ACE_Qt3Reactor $(@) - $(KEEP_GOING)@cd ace/SSL && $(MAKE) -f GNUmakefile.SSL $(@) - $(KEEP_GOING)@cd ace/TkReactor && $(MAKE) -f GNUmakefile.ACE_TkReactor $(@) - $(KEEP_GOING)@cd ace/XtReactor && $(MAKE) -f GNUmakefile.ACE_XtReactor $(@) - $(KEEP_GOING)@cd bin && $(MAKE) -f GNUmakefile.bin $(@) - $(KEEP_GOING)@cd bin/PerlACE && $(MAKE) -f GNUmakefile.PerlACE $(@) - -.PHONY: ACE -ACE: - $(KEEP_GOING)@cd ace && $(MAKE) -f GNUmakefile.ACE all - -.PHONY: ACE_ETCL -ACE_ETCL: ACE - $(KEEP_GOING)@cd ace/ETCL && $(MAKE) -f GNUmakefile.ACE_ETCL all - -.PHONY: ACE_ETCL_Parser -ACE_ETCL_Parser: ACE ACE_ETCL - $(KEEP_GOING)@cd ace/ETCL && $(MAKE) -f GNUmakefile.ACE_ETCL_Parser all - -.PHONY: ACE_FlReactor -ACE_FlReactor: ACE - $(KEEP_GOING)@cd ace/FlReactor && $(MAKE) -f GNUmakefile.ACE_FlReactor all - -.PHONY: Monitor_Control -Monitor_Control: ACE ACE_ETCL ACE_ETCL_Parser - $(KEEP_GOING)@cd ace/Monitor_Control && $(MAKE) -f GNUmakefile.Monitor_Control all - -.PHONY: ACE_Qt3Reactor_moc -ACE_Qt3Reactor_moc: - $(KEEP_GOING)@cd ace/QtReactor && $(MAKE) -f GNUmakefile.ACE_Qt3Reactor_moc all - -.PHONY: ACE_Qt3Reactor -ACE_Qt3Reactor: ACE ACE_Qt3Reactor_moc - $(KEEP_GOING)@cd ace/QtReactor && $(MAKE) -f GNUmakefile.ACE_Qt3Reactor all - -.PHONY: SSL -SSL: ACE - $(KEEP_GOING)@cd ace/SSL && $(MAKE) -f GNUmakefile.SSL all - -.PHONY: ACE_TkReactor -ACE_TkReactor: ACE - $(KEEP_GOING)@cd ace/TkReactor && $(MAKE) -f GNUmakefile.ACE_TkReactor all - -.PHONY: ACE_XtReactor -ACE_XtReactor: ACE - $(KEEP_GOING)@cd ace/XtReactor && $(MAKE) -f GNUmakefile.ACE_XtReactor all - -.PHONY: bin-target -bin-target: ACE - $(KEEP_GOING)@cd bin && $(MAKE) -f GNUmakefile.bin all - -.PHONY: PerlACE -PerlACE: - $(KEEP_GOING)@cd bin/PerlACE && $(MAKE) -f GNUmakefile.PerlACE all - -project_name_list: - @echo ACE_ETCL - @echo ACE_ETCL_Parser - @echo ACE_FlReactor - @echo ACE - @echo Monitor_Control - @echo ACE_Qt3Reactor - @echo ACE_Qt3Reactor_moc - @echo SSL - @echo ACE_TkReactor - @echo ACE_XtReactor - @echo bin-target - @echo PerlACE diff --git a/dep/ACE_wrappers/Makefile.am b/dep/ACE_wrappers/Makefile.am deleted file mode 100644 index 29022c47d..000000000 --- a/dep/ACE_wrappers/Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ -## Process this file with automake to create Makefile.in -## -## $Id: Makefile.am 80826 2008-03-04 14:51:23Z wotte $ -## -## This file was generated by MPC. Any changes made directly to -## this file will be lost the next time it is generated. -## -## MPC Command: -## /acebuilds/ACE_wrappers-repository/bin/mwc.pl -include /acebuilds/MPC/config -include /acebuilds/MPC/templates -feature_file /acebuilds/ACE_wrappers-repository/local.features -noreldefs -type automake -exclude build,Kokyu - -SUBDIRS = \ - ace \ - bin - -ACLOCAL = @ACLOCAL@ -ACLOCAL_AMFLAGS = -I m4 -AUTOMAKE_OPTIONS = foreign diff --git a/dep/ACE_wrappers/Makefile.in b/dep/ACE_wrappers/Makefile.in deleted file mode 100644 index 7ab78632d..000000000 --- a/dep/ACE_wrappers/Makefile.in +++ /dev/null @@ -1,781 +0,0 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -target_triplet = @target@ -subdir = . -DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \ - ChangeLog NEWS THANKS aux_config/config.guess \ - aux_config/config.sub aux_config/depcomp aux_config/install-sh \ - aux_config/ltmain.sh aux_config/missing -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ace.m4 \ - $(top_srcdir)/m4/ace_defines.m4 $(top_srcdir)/m4/ace_func.m4 \ - $(top_srcdir)/m4/ace_functions.m4 \ - $(top_srcdir)/m4/ace_headers.m4 $(top_srcdir)/m4/acinclude.m4 \ - $(top_srcdir)/m4/aio.m4 $(top_srcdir)/m4/compiler.m4 \ - $(top_srcdir)/m4/config_h.m4 $(top_srcdir)/m4/libtool.m4 \ - $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ - $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ - $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/platform.m4 \ - $(top_srcdir)/m4/subsets.m4 $(top_srcdir)/m4/threads.m4 \ - $(top_srcdir)/m4/tls.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ - configure.lineno config.status.lineno -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/ace/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -SOURCES = -DIST_SOURCES = -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ - install-html-recursive install-info-recursive \ - install-pdf-recursive install-ps-recursive install-recursive \ - installcheck-recursive installdirs-recursive pdf-recursive \ - ps-recursive uninstall-recursive -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ - distclean-recursive maintainer-clean-recursive -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ - distdir dist dist-all distcheck -ETAGS = etags -CTAGS = ctags -DIST_SUBDIRS = ace bin -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -distdir = $(PACKAGE)-$(VERSION) -top_distdir = $(distdir) -am__remove_distdir = \ - { test ! -d "$(distdir)" \ - || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ - && rm -fr "$(distdir)"; }; } -am__relativize = \ - dir0=`pwd`; \ - sed_first='s,^\([^/]*\)/.*$$,\1,'; \ - sed_rest='s,^[^/]*/*,,'; \ - sed_last='s,^.*/\([^/]*\)$$,\1,'; \ - sed_butlast='s,/*[^/]*$$,,'; \ - while test -n "$$dir1"; do \ - first=`echo "$$dir1" | sed -e "$$sed_first"`; \ - if test "$$first" != "."; then \ - if test "$$first" = ".."; then \ - dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ - dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ - else \ - first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ - if test "$$first2" = "$$first"; then \ - dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ - else \ - dir2="../$$dir2"; \ - fi; \ - dir0="$$dir0"/"$$first"; \ - fi; \ - fi; \ - dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ - done; \ - reldir="$$dir2" -DIST_ARCHIVES = $(distdir).tar.gz -GZIP_ENV = --best -distuninstallcheck_listfiles = find . -type f -print -distcleancheck_listfiles = find . -type f -print -ACEXML = @ACEXML@ -ACE_BETA = @ACE_BETA@ -ACE_BZIP2_CPPFLAGS = @ACE_BZIP2_CPPFLAGS@ -ACE_BZIP2_LDFLAGS = @ACE_BZIP2_LDFLAGS@ -ACE_BZIP2_LIBS = @ACE_BZIP2_LIBS@ -ACE_FLTK_CPPFLAGS = @ACE_FLTK_CPPFLAGS@ -ACE_FLTK_LIBS = @ACE_FLTK_LIBS@ -ACE_FOX_CPPFLAGS = @ACE_FOX_CPPFLAGS@ -ACE_FOX_LIBS = @ACE_FOX_LIBS@ -ACE_KERBEROS_INCLUDES = @ACE_KERBEROS_INCLUDES@ -ACE_MAJOR = @ACE_MAJOR@ -ACE_MINOR = @ACE_MINOR@ -ACE_QT_CPPFLAGS = @ACE_QT_CPPFLAGS@ -ACE_QT_LIBS = @ACE_QT_LIBS@ -ACE_TCL_CPPFLAGS = @ACE_TCL_CPPFLAGS@ -ACE_TCL_LIBS = @ACE_TCL_LIBS@ -ACE_TESTS_DIR = @ACE_TESTS_DIR@ -ACE_TK_CPPFLAGS = @ACE_TK_CPPFLAGS@ -ACE_TK_LIBS = @ACE_TK_LIBS@ -ACE_TLS_CPPFLAGS = @ACE_TLS_CPPFLAGS@ -ACE_TLS_LDFLAGS = @ACE_TLS_LDFLAGS@ -ACE_TLS_LIBS = @ACE_TLS_LIBS@ -ACE_VERSION_NAME = @ACE_VERSION_NAME@ -ACE_X11_CPPFLAGS = @ACE_X11_CPPFLAGS@ -ACE_X11_LDFLAGS = @ACE_X11_LDFLAGS@ -ACE_X11_LIBS = @ACE_X11_LIBS@ -ACE_XLIBS = @ACE_XLIBS@ -ACE_XT_CPPFLAGS = @ACE_XT_CPPFLAGS@ -ACE_XT_LDFLAGS = @ACE_XT_LDFLAGS@ -ACE_XT_LIBS = @ACE_XT_LIBS@ -ACE_ZLIB_CPPFLAGS = @ACE_ZLIB_CPPFLAGS@ -ACE_ZLIB_LDFLAGS = @ACE_ZLIB_LDFLAGS@ -ACE_ZLIB_LIBS = @ACE_ZLIB_LIBS@ -ACE_ZZIP_CPPFLAGS = @ACE_ZZIP_CPPFLAGS@ -ACE_ZZIP_LDFLAGS = @ACE_ZZIP_LDFLAGS@ -ACE_ZZIP_LIBS = @ACE_ZZIP_LIBS@ -ACLOCAL = @ACLOCAL@ -ALLOCA = @ALLOCA@ -AMTAR = @AMTAR@ -AR = @AR@ -ASNMP = @ASNMP@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FGREP = @FGREP@ -FLTKCONFIG = @FLTKCONFIG@ -FOXCONFIG = @FOXCONFIG@ -GPERF = @GPERF@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -KOKYU = @KOKYU@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LEX = @LEX@ -LEXLIB = @LEXLIB@ -LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PROF = @PROF@ -PURIFY = @PURIFY@ -QTDIR = @QTDIR@ -QUANTIFY = @QUANTIFY@ -Qt_CFLAGS = @Qt_CFLAGS@ -Qt_LIBS = @Qt_LIBS@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -TAO = @TAO@ -VERSION = @VERSION@ -XMKMF = @XMKMF@ -XTREACTOR_TEST_XLIBS = @XTREACTOR_TEST_XLIBS@ -X_CFLAGS = @X_CFLAGS@ -X_EXTRA_LIBS = @X_EXTRA_LIBS@ -X_LIBS = @X_LIBS@ -X_PRE_LIBS = @X_PRE_LIBS@ -YACC = @YACC@ -YFLAGS = @YFLAGS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -protocols = @protocols@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -subdirs = @subdirs@ -sysconfdir = @sysconfdir@ -target = @target@ -target_alias = @target_alias@ -target_cpu = @target_cpu@ -target_os = @target_os@ -target_vendor = @target_vendor@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -SUBDIRS = ace bin $(am__append_1) $(am__append_2) -ACLOCAL_AMFLAGS = -I m4 -AUTOMAKE_OPTIONS = foreign -all: all-recursive - -.SUFFIXES: -am--refresh: - @: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ - $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - echo ' $(SHELL) ./config.status'; \ - $(SHELL) ./config.status;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - $(SHELL) ./config.status --recheck - -$(top_srcdir)/configure: $(am__configure_deps) - $(am__cd) $(srcdir) && $(AUTOCONF) -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) -$(am__aclocal_m4_deps): - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool config.lt - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -$(RECURSIVE_CLEAN_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - set x; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - $(am__remove_distdir) - test -d "$(distdir)" || mkdir "$(distdir)" - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ - $(am__relativize); \ - new_distdir=$$reldir; \ - dir1=$$subdir; dir2="$(top_distdir)"; \ - $(am__relativize); \ - new_top_distdir=$$reldir; \ - echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ - echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ - ($(am__cd) $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$new_top_distdir" \ - distdir="$$new_distdir" \ - am__remove_distdir=: \ - am__skip_length_check=: \ - am__skip_mode_fix=: \ - distdir) \ - || exit 1; \ - fi; \ - done - -test -n "$(am__skip_mode_fix)" \ - || find "$(distdir)" -type d ! -perm -755 \ - -exec chmod u+rwx,go+rx {} \; -o \ - ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ - || chmod -R a+r "$(distdir)" -dist-gzip: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - $(am__remove_distdir) - -dist-bzip2: distdir - tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 - $(am__remove_distdir) - -dist-lzma: distdir - tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma - $(am__remove_distdir) - -dist-xz: distdir - tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz - $(am__remove_distdir) - -dist-tarZ: distdir - tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z - $(am__remove_distdir) - -dist-shar: distdir - shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz - $(am__remove_distdir) - -dist-zip: distdir - -rm -f $(distdir).zip - zip -rq $(distdir).zip $(distdir) - $(am__remove_distdir) - -dist dist-all: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - $(am__remove_distdir) - -# This target untars the dist file and tries a VPATH configuration. Then -# it guarantees that the distribution is self-contained by making another -# tarfile. -distcheck: dist - case '$(DIST_ARCHIVES)' in \ - *.tar.gz*) \ - GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ - *.tar.bz2*) \ - bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ - *.tar.lzma*) \ - lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ - *.tar.xz*) \ - xz -dc $(distdir).tar.xz | $(am__untar) ;;\ - *.tar.Z*) \ - uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ - *.shar.gz*) \ - GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ - *.zip*) \ - unzip $(distdir).zip ;;\ - esac - chmod -R a-w $(distdir); chmod a+w $(distdir) - mkdir $(distdir)/_build - mkdir $(distdir)/_inst - chmod a-w $(distdir) - test -d $(distdir)/_build || exit 0; \ - dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ - && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ - && am__cwd=`pwd` \ - && $(am__cd) $(distdir)/_build \ - && ../configure --srcdir=.. --prefix="$$dc_install_base" \ - $(DISTCHECK_CONFIGURE_FLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) dvi \ - && $(MAKE) $(AM_MAKEFLAGS) check \ - && $(MAKE) $(AM_MAKEFLAGS) install \ - && $(MAKE) $(AM_MAKEFLAGS) installcheck \ - && $(MAKE) $(AM_MAKEFLAGS) uninstall \ - && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ - distuninstallcheck \ - && chmod -R a-w "$$dc_install_base" \ - && ({ \ - (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ - distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ - } || { rm -rf "$$dc_destdir"; exit 1; }) \ - && rm -rf "$$dc_destdir" \ - && $(MAKE) $(AM_MAKEFLAGS) dist \ - && rm -rf $(DIST_ARCHIVES) \ - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ - && cd "$$am__cwd" \ - || exit 1 - $(am__remove_distdir) - @(echo "$(distdir) archives ready for distribution: "; \ - list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ - sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' -distuninstallcheck: - @$(am__cd) '$(distuninstallcheck_dir)' \ - && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ - || { echo "ERROR: files left after uninstall:" ; \ - if test -n "$(DESTDIR)"; then \ - echo " (check DESTDIR support)"; \ - fi ; \ - $(distuninstallcheck_listfiles) ; \ - exit 1; } >&2 -distcleancheck: distclean - @if test '$(srcdir)' = . ; then \ - echo "ERROR: distcleancheck can only run from a VPATH build" ; \ - exit 1 ; \ - fi - @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ - || { echo "ERROR: files left in build directory after distclean:" ; \ - $(distcleancheck_listfiles) ; \ - exit 1; } >&2 -check-am: all-am -check: check-recursive -all-am: Makefile -installdirs: installdirs-recursive -installdirs-am: -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-recursive - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-recursive - -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-libtool \ - distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -html-am: - -info: info-recursive - -info-am: - -install-data-am: - -install-dvi: install-dvi-recursive - -install-dvi-am: - -install-exec-am: - -install-html: install-html-recursive - -install-html-am: - -install-info: install-info-recursive - -install-info-am: - -install-man: - -install-pdf: install-pdf-recursive - -install-pdf-am: - -install-ps: install-ps-recursive - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -rf $(top_srcdir)/autom4te.cache - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: - -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ - install-am install-strip tags-recursive - -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ - all all-am am--refresh check check-am clean clean-generic \ - clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ - dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \ - distcheck distclean distclean-generic distclean-libtool \ - distclean-tags distcleancheck distdir distuninstallcheck dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-html install-html-am \ - install-info install-info-am install-man install-pdf \ - install-pdf-am install-ps install-ps-am install-strip \ - installcheck installcheck-am installdirs installdirs-am \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags tags-recursive uninstall uninstall-am - - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/dep/ACE_wrappers/PROBLEM-REPORT-FORM b/dep/ACE_wrappers/PROBLEM-REPORT-FORM deleted file mode 100644 index c1f90fae2..000000000 --- a/dep/ACE_wrappers/PROBLEM-REPORT-FORM +++ /dev/null @@ -1,90 +0,0 @@ -[Please use the PRF form below to submit bug reports, problem reports, - etc., to the ACE developers and interested users. Send it to - ace-bugs@list.isis.vanderbilt.edu, you must be subscribed to the list - in order to be able to post to it. If you are using OCI, PrismTech, or - Riverace's versions of ACE do not send bugs to this mailing list, but - instead contact those companies for support. Please also send your - PRF as plain ASCII text, _not_ uuencoded or as an attachment. - - We prefer that all bug reports be submitted through our bug tracking - system. See $ACE_ROOT/docs/usage-bugzilla.html for more information - about how to do this. If you are unsure as to whether your problem - is a real bug or not then please submit your question to the mailing - list using the following form. Not using the problem report form - will make it harder or impossible to identify the problem, and in - many cases we will be unable to help at all. Also please try to - browse bugzilla and the ChangeLog files to find out if your problem - has been solved in a more recent version of ACE. - - To subscribe to the list see - http://www.cs.wustl.edu/~schmidt/ACE-mail.html - - Replace/remove all the explanatory text in brackets before mailing. - - Please send this form as ASCII text only. Do _not_ send it as an - attachment, or as tar'ed, compressed and/or uuencoded text. And - limit line lengths to less than 80 characters. - - PLEASE make your Subject: line as descriptive as possible. - Subjects like "ACE bug" or "bug report" are not helpful! - Also, do _not_ include the word "help" in the Subject!] - - When including your config.h and platform_macros.GNU files as requested - below, only include the contents if you use the recommended method of - including the platform-specific file in your file. If you use a link - to the platform-specific file, simply state which one - DO NOT - include an entire platform-specific configuration file in the form. - -8<----------8<----------8<----------8<----------8<----------8<----------8<---- - -To: ace-bugs@list.isis.vanderbilt.edu -Subject: [area]: [synopsis] - - ACE VERSION: 5.8.3 - - HOST MACHINE and OPERATING SYSTEM: - If on Windows based OS's, which version of WINSOCK do you - use?: - - TARGET MACHINE and OPERATING SYSTEM, if different from HOST: - COMPILER NAME AND VERSION (AND PATCHLEVEL): - - THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform- - specific file, simply state which one]: - - THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you - use a link to a platform-specific file, simply state which one - (unless this isn't used in this case, e.g., with Microsoft Visual - C++)]: - - BUILD METHOD USED: -[Experimental ./configure or traditional makefile/project file?] - - CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features - (used by MPC when you generate your own makefiles): - - AREA/CLASS/EXAMPLE AFFECTED: -[What example failed? What module failed to compile?] - - DOES THE PROBLEM AFFECT: - COMPILATION? - LINKING? - On Unix systems, did you run make realclean first? - EXECUTION? - OTHER (please specify)? -[Please indicate whether ACE, your application, or both are affected.] - - SYNOPSIS: -[Brief description of the problem] - - DESCRIPTION: -[Detailed description of problem. Don't just say " -doesn't work, here's a fix," explain what your program does -to get to the state. ] - - REPEAT BY: -[What you did to get the error; include test program or session -transcript if at all possible. ] - - SAMPLE FIX/WORKAROUND: -[If available ] diff --git a/dep/ACE_wrappers/ace/ACE.pc.in b/dep/ACE_wrappers/ace/ACE.pc.in deleted file mode 100644 index 90b2a9eeb..000000000 --- a/dep/ACE_wrappers/ace/ACE.pc.in +++ /dev/null @@ -1,10 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: ACE -Description: ADAPTIVE Communication Environment -Version: @VERSION@ -Libs: -L${libdir} -lACE @LIBS@ -Cflags: -I${includedir} diff --git a/dep/ACE_wrappers/ace/ACE_vc10.vcxproj b/dep/ACE_wrappers/ace/ACE_vc10.vcxproj deleted file mode 100644 index 14b728e99..000000000 --- a/dep/ACE_wrappers/ace/ACE_vc10.vcxproj +++ /dev/null @@ -1,2455 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - - - ACE - {47BC56ED-FECA-1BAD-6757-8A6300006755} - ACE - Win32Proj - - - - DynamicLibrary - true - NotSet - - - DynamicLibrary - false - NotSet - true - - - DynamicLibrary - true - NotSet - - - DynamicLibrary - false - NotSet - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - ..\lib\ - Debug\ACE_vc10\I386\ - true - ACEd - AllRules.ruleset - - - ..\lib\ - Release\ACE_vc10\I386\ - false - ACE - AllRules.ruleset - - - ..\lib\ - Debug\ACE_vc10\AMD64\ - true - ACEd - AllRules.ruleset - - - ..\lib\ - Release\ACE_vc10\AMD64\ - false - ACE - AllRules.ruleset - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - Win32 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - Disabled - ..;%(AdditionalIncludeDirectories) - ACE_BUILD_DLL;_DEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;MPC_LIB_MODIFIER="d";%(PreprocessorDefinitions) - false - MultiThreadedDebugDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - _DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) - 1033 - ..;%(AdditionalIncludeDirectories) - - - true - %(AdditionalDependencies) - $(OutDir)ACEd.dll - .;..\lib;%(AdditionalLibraryDirectories) - ..\lib\ACEd.lib - - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - Win32 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - MaxSpeed - true - ..;%(AdditionalIncludeDirectories) - ACE_BUILD_DLL;NDEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) - MultiThreadedDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - NDEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) - 1033 - ..;%(AdditionalIncludeDirectories) - - - true - %(AdditionalDependencies) - $(OutDir)ACE.dll - .;..\lib;%(AdditionalLibraryDirectories) - true - true - ..\lib\ACE.lib - - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - x64 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - Disabled - ..;%(AdditionalIncludeDirectories) - ACE_BUILD_DLL;_DEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;_AMD64_;_WIN64;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;MPC_LIB_MODIFIER="d";%(PreprocessorDefinitions) - false - MultiThreadedDebugDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - _DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_WIN64;%(PreprocessorDefinitions) - 1033 - ..;%(AdditionalIncludeDirectories) - - - true - %(AdditionalDependencies) - $(OutDir)ACEd.dll - .;..\lib;%(AdditionalLibraryDirectories) - ..\lib\ACEd.lib - - - /machine:AMD64 %(AdditionalOptions) - - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - x64 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - MaxSpeed - true - ..;%(AdditionalIncludeDirectories) - ACE_BUILD_DLL;NDEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;_AMD64_;_WIN64;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) - MultiThreadedDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - NDEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_WIN64;%(PreprocessorDefinitions) - 1033 - ..;%(AdditionalIncludeDirectories) - - - true - %(AdditionalDependencies) - $(OutDir)ACE.dll - .;..\lib;%(AdditionalLibraryDirectories) - true - true - ..\lib\ACE.lib - - - /machine:AMD64 %(AdditionalOptions) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - - - true - true - true - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Document - true - true - true - true - - - Document - true - true - true - true - - - - - - - - - diff --git a/dep/ACE_wrappers/ace/ACE_vc10.vcxproj.filters b/dep/ACE_wrappers/ace/ACE_vc10.vcxproj.filters deleted file mode 100644 index fa85e12c2..000000000 --- a/dep/ACE_wrappers/ace/ACE_vc10.vcxproj.filters +++ /dev/null @@ -1,3944 +0,0 @@ - - - - - {B1F27843-FECA-1BAD-6757-8A6300006755} - cpp;cxx;cc;c;C - - - {06319535-FECA-1BAD-6757-8A6300006755} - h;hpp;hxx;hh - - - {A1909F1C-FECA-1BAD-6757-8A6300006755} - mpc;mpb;mwc - - - {B0B7506A-FECA-1BAD-6757-8A6300006755} - - - {8441A3A3-FECA-1BAD-6757-8A6300006755} - pcin - - - {763028EF-FECA-1BAD-6757-8A6300006755} - i;ipp;inl - - - {5635C877-FECA-1BAD-6757-8A6300006755} - - - {B14BBA74-FECA-1BAD-6757-8A6300006755} - - - {502A2050-FECA-1BAD-6757-8A6300006755} - rc;ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Build Files - - - Build Files - - - Build Files - - - Build Files - - - Build Files - - - Build Files - - - Build Files - - - Build Files - - - Build Files - - - Build Files - - - - - Installdata Files - - - Installdata Files - - - Installdata Files - - - Installdata Files - - - Installdata Files - - - Installdata Files - - - Installdata Files - - - Installdata Files - - - Installdata Files - - - Installdata Files - - - Installdata Files - - - Installdata Files - - - Installdata Files - - - Installdata Files - - - Installdata Files - - - - - Pkgconfig Files - - - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - Inline Files - - - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - Template Files - - - - - Documentation - - - Documentation - - - - - Resource Files - - - diff --git a/dep/ACE_wrappers/ace/Basic_Types.cpp b/dep/ACE_wrappers/ace/Basic_Types.cpp deleted file mode 100644 index 6c161098f..000000000 --- a/dep/ACE_wrappers/ace/Basic_Types.cpp +++ /dev/null @@ -1,136 +0,0 @@ -// $Id: Basic_Types.cpp 91366 2010-08-16 12:42:35Z mhengstmengel $ - -#include "ace/Basic_Types.h" - -#if !defined (__ACE_INLINE__) -# include "ace/Basic_Types.inl" -#endif /* ! __ACE_INLINE__ */ - - -#if defined (ACE_LACKS_LONGLONG_T) && !defined (ACE_LACKS_UNSIGNEDLONGLONG_T) -# include "ace/Log_Msg.h" -# include "ace/OS_NS_stdio.h" -# include "ace/OS_NS_string.h" -# if !defined (ACE_LACKS_IOSTREAM_TOTALLY) -// FUZZ: disable check_for_streams_include -# include "ace/streams.h" -# endif /* ! ACE_LACKS_IOSTREAM_TOTALLY */ - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -void -ACE_U_LongLong::output (FILE *file) const -{ - if (h_ () > 0) - ACE_OS::fprintf (file, "0x%lx%0*lx", h_ (), 2 * sizeof l_ (), l_ ()); - else - ACE_OS::fprintf (file, "0x%lx", l_ ()); -} - - -ACE_TCHAR * -ACE_U_LongLong::as_string (ACE_TCHAR *output, - unsigned int base, - unsigned int uppercase) const -{ - if (*this == 0) - { - ACE_OS::strcpy(output, "0"); - } - else - { - switch(base) - { - case 8: - { - unsigned int index = 0; - int bshift = 31; - while(bshift >= 1) - { - unsigned int sval = (this->h_ () >> bshift) & 7; - if (sval > 0 || index != 0) - { - output[index] = sval + '0'; - ++index; - } - bshift -= 3; - } - bshift = 30; - while(bshift >= 0) - { - unsigned int sval = (this->l_ () >> bshift) & 7; - // Combine the last bit of hi with the first 3-bit digit - if (bshift == 30) - { - sval |= (this->h_ () & 1) << 2; - } - if (sval > 0 || index != 0) - { - output[index] = sval + '0'; - ++index; - } - bshift -= 3; - } - output[index] = '\0'; - break; - } - case 10: - { - ACE_OS::sprintf(output, "%.0f", *this / 1.0); - break; - } - case 16: - { - if (this->h_ () != 0) - { - ACE_OS::sprintf(output, - (uppercase ? "%lX%0*lX" : "%lx%0*lx"), - this->h_ (), 2 * sizeof this->l_ (), - this->l_ ()); - } - else - { - ACE_OS::sprintf(output, - (uppercase ? "%lX" : "%lx"), this->l_ ()); - - } - break; - } - default: - { - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT ("Unsupported base = %u\n"), base)); - output[0] = '\0'; - } - } - } - - return output; -} - - -# if !defined (ACE_LACKS_IOSTREAM_TOTALLY) -ostream& -operator<< (ostream& os, const ACE_U_LongLong& ll) -{ -#ifdef __TANDEM && (__CPLUSPLUS_VERSION >= 3) - unsigned long flags = os.flags(); -#else - unsigned long flags = os.setf(0); -#endif - char buffer[32]; - - if ((flags & ios::oct) != 0) - os << ll.as_string (buffer, 8); - else if ((flags & ios::hex) != 0) - os << ll.as_string (buffer, 16, (flags & ios::uppercase)); - else - os << ll.as_string (buffer); - return os; -} -# endif - -ACE_END_VERSIONED_NAMESPACE_DECL - -#endif /* ACE_LACKS_LONGLONG_T */ - diff --git a/dep/ACE_wrappers/ace/Basic_Types.inl b/dep/ACE_wrappers/ace/Basic_Types.inl deleted file mode 100644 index c6f0013d4..000000000 --- a/dep/ACE_wrappers/ace/Basic_Types.inl +++ /dev/null @@ -1,954 +0,0 @@ -// -*- C++ -*- -// -// $Id: Basic_Types.inl 80826 2008-03-04 14:51:23Z wotte $ - -# if !defined (ACE_LACKS_LONGLONG_T) && defined (ACE_LACKS_UNSIGNEDLONGLONG_T) - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -// Implementation for ACE_U_LongLong when we have signed long long -// but no unsigned long long. - -ACE_INLINE -ACE_U_LongLong::ACE_U_LongLong (const long long value) - : data_ (value) -{ -} - -ACE_INLINE ACE_UINT32 -ACE_U_LongLong::hi (void) const -{ - return (data_ >> 32) & 0xFFFFFFFF; -} - -ACE_INLINE ACE_UINT32 -ACE_U_LongLong::lo (void) const -{ - return data_ & 0xFFFFFFFF; -} - -ACE_INLINE void -ACE_U_LongLong::hi (const ACE_UINT32 hi) -{ - data_ = hi; - data_ <<= 32; -} - -ACE_INLINE void -ACE_U_LongLong::lo (const ACE_UINT32 lo) -{ - data_ = lo; -} - -ACE_INLINE long long -ACE_U_LongLong::to_int64 (void) const -{ - return data_; -} - -ACE_INLINE -ACE_U_LongLong::~ACE_U_LongLong (void) -{ -} - -ACE_INLINE bool -ACE_U_LongLong::operator== (const ACE_U_LongLong &n) const -{ - return data_ == n.data_; -} - -ACE_INLINE bool -ACE_U_LongLong::operator== (const ACE_UINT32 n) const -{ - return data_ == n; -} - -ACE_INLINE bool -ACE_U_LongLong::operator!= (const ACE_U_LongLong &n) const -{ - return ! (*this == n); -} - -ACE_INLINE bool -ACE_U_LongLong::operator!= (const ACE_UINT32 n) const -{ - return ! (*this == n); -} - -ACE_INLINE bool -ACE_U_LongLong::operator< (const ACE_U_LongLong &n) const -{ - if (data_ > 0) - if (n.data_ > 0) - return data_ < n.data_; - else - return true; - else - if (n.data_ > 0) - return false; - else - return data_ < n.data_; -} - -ACE_INLINE bool -ACE_U_LongLong::operator< (const ACE_UINT32 n) const -{ - return operator< (static_cast (n)); -} - -ACE_INLINE bool -ACE_U_LongLong::operator<= (const ACE_U_LongLong &n) const -{ - if (data_ == n.data_) return true; - - return data_ < n.data_; -} - -ACE_INLINE bool -ACE_U_LongLong::operator<= (const ACE_UINT32 n) const -{ - return operator<= (static_cast (n)); -} - -ACE_INLINE bool -ACE_U_LongLong::operator> (const ACE_U_LongLong &n) const -{ - if (data_ > 0) - if (n.data_ > 0) - return data_ > n.data_; - else - return false; - else - if (n.data_ > 0) - return true; - else - return data_ > n.data_; -} - -ACE_INLINE bool -ACE_U_LongLong::operator> (const ACE_UINT32 n) const -{ - return operator> (static_cast (n)); -} - -ACE_INLINE bool -ACE_U_LongLong::operator>= (const ACE_U_LongLong &n) const -{ - if (data_ == n.data_) return true; - - return data_ > n.data_; -} - -ACE_INLINE bool -ACE_U_LongLong::operator>= (const ACE_UINT32 n) const -{ - return operator>= (static_cast (n)); -} - -ACE_INLINE -ACE_U_LongLong::ACE_U_LongLong (const ACE_U_LongLong &n) - : data_ (n.data_) -{ -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator= (const ACE_U_LongLong &n) -{ - data_ = n.data_; - - return *this; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator= (const ACE_INT32 &rhs) -{ - if (rhs >= 0) - { - data_ = rhs; - data_ &= 0xFFFFFFFF; - } - else - { - // We do not handle the case where a negative 32 bit integer is - // assigned to this representation of a 64 bit unsigned integer. - // The "undefined behavior" behavior performed by this - // implementation is to simply set all bits to zero. - data_ = 0; - } - - return *this; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator= (const ACE_UINT32 &rhs) -{ - data_ = rhs; - - return *this; -} - - -ACE_INLINE ACE_U_LongLong -ACE_U_LongLong::operator+ (const ACE_U_LongLong &n) const -{ - return data_ + n.data_; -} - -ACE_INLINE ACE_U_LongLong -ACE_U_LongLong::operator+ (const ACE_UINT32 n) const -{ - return operator+ (static_cast (n)); -} - -ACE_INLINE ACE_U_LongLong -ACE_U_LongLong::operator- (const ACE_U_LongLong &n) const -{ - return data_ - n.data_; -} - -ACE_INLINE ACE_U_LongLong -ACE_U_LongLong::operator- (const ACE_UINT32 n) const -{ - return operator- (static_cast (n)); -} - -ACE_INLINE ACE_U_LongLong -ACE_U_LongLong::operator<< (const u_int n) const -{ - return data_ << n; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator<<= (const u_int n) -{ - data_ <<= n; - - return *this; -} - -ACE_INLINE ACE_U_LongLong -ACE_U_LongLong::operator>> (const u_int n) const -{ - return data_ >> n; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator>>= (const u_int n) -{ - data_ >>= n; - - return *this; -} - -ACE_INLINE double -ACE_U_LongLong::operator/ (const double n) const -{ - return data_ / n; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator+= (const ACE_U_LongLong &n) -{ - data_ += n.data_; - - return *this; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator+= (const ACE_UINT32 n) -{ - return operator+= (static_cast (n)); -} - -ACE_INLINE ACE_U_LongLong -ACE_U_LongLong::operator* (const ACE_UINT32 n) const -{ - return data_ * n; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator*= (const ACE_UINT32 n) -{ - data_ *= n; - - return *this; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator-= (const ACE_U_LongLong &n) -{ - data_ -= n.data_; - - return *this; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator-= (const ACE_UINT32 n) -{ - return operator-= (static_cast (n)); -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator++ () -{ - ++data_; - - return *this; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator-- () -{ - --data_; - - return *this; -} - -ACE_INLINE const ACE_U_LongLong -ACE_U_LongLong::operator++ (int) -{ - // Post-increment operator should always be implemented in terms of - // the pre-increment operator to enforce consistent semantics. - ACE_U_LongLong temp (*this); - ++*this; - return temp; -} - -ACE_INLINE const ACE_U_LongLong -ACE_U_LongLong::operator-- (int) -{ - // Post-decrement operator should always be implemented in terms of - // the pre-decrement operator to enforce consistent semantics. - ACE_U_LongLong temp (*this); - --*this; - return temp; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator|= (const ACE_U_LongLong n) -{ - data_ |= n.data_; - - return *this; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator|= (const ACE_UINT32 n) -{ - return operator|= (static_cast (n)); -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator&= (const ACE_U_LongLong n) -{ - data_ &= n.data_; - - return *this; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator&= (const ACE_UINT32 n) -{ - return operator&= (static_cast (n)); -} - -ACE_INLINE ACE_UINT32 -ACE_U_LongLong::operator/ (const ACE_UINT32 n) const -{ - return data_ / n; -} - -ACE_INLINE ACE_UINT32 -ACE_U_LongLong::operator% (const ACE_UINT32 n) const -{ - return data_ % n; -} - -ACE_INLINE ACE_UINT32 -ACE_U_LongLong::operator| (const ACE_INT32 n) const -{ - return data_ | n; -} - -ACE_INLINE ACE_UINT32 -ACE_U_LongLong::operator& (const ACE_INT32 n) const -{ - return data_ & n; -} - -ACE_INLINE ACE_U_LongLong -ACE_U_LongLong::operator* (const ACE_INT32 n) const -{ - return operator* ((ACE_UINT32) n); -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator*= (const ACE_INT32 n) -{ - return operator*= ((ACE_UINT32) n); -} - -ACE_INLINE ACE_UINT32 -ACE_U_LongLong::operator/ (const ACE_INT32 n) const -{ - return operator/ ((ACE_UINT32) n); -} - -#if ACE_SIZEOF_INT == 4 -ACE_INLINE ACE_UINT32 -ACE_U_LongLong::operator/ (const u_long n) const -{ - return operator/ ((ACE_UINT32) n); -} - -ACE_INLINE ACE_UINT32 -ACE_U_LongLong::operator/ (const long n) const -{ - return operator/ ((ACE_UINT32) n); -} - -#else /* ACE_SIZEOF_INT != 4 */ -ACE_INLINE ACE_UINT32 -ACE_U_LongLong::operator/ (const u_int n) const -{ - return operator/ ((ACE_UINT32) n); -} - -ACE_INLINE ACE_UINT32 -ACE_U_LongLong::operator/ (const int n) const -{ - return operator/ ((ACE_UINT32) n); -} -#endif - -ACE_END_VERSIONED_NAMESPACE_DECL - -#elif defined (ACE_LACKS_LONGLONG_T) - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -ACE_INLINE -ACE_U_LongLong::ACE_U_LongLong (const ACE_UINT32 lo, const ACE_UINT32 hi) -{ - h_ () = hi; - l_ () = lo; -} - -ACE_INLINE ACE_UINT32 -ACE_U_LongLong::hi (void) const -{ - return h_ (); -} - -ACE_INLINE ACE_UINT32 -ACE_U_LongLong::lo (void) const -{ - return l_ (); -} - -ACE_INLINE void -ACE_U_LongLong::hi (const ACE_UINT32 hi) -{ - h_ () = hi; -} - -ACE_INLINE void -ACE_U_LongLong::lo (const ACE_UINT32 lo) -{ - l_ () = lo; -} - -ACE_INLINE -ACE_U_LongLong::~ACE_U_LongLong (void) -{ -} - -ACE_INLINE bool -ACE_U_LongLong::operator== (const ACE_U_LongLong &n) const -{ - return h_ () == n.h_ () && l_ () == n.l_ (); -} - -ACE_INLINE bool -ACE_U_LongLong::operator== (const ACE_UINT32 n) const -{ - return h_ () == 0 && l_ () == n; -} - -ACE_INLINE bool -ACE_U_LongLong::operator!= (const ACE_U_LongLong &n) const -{ - return ! (*this == n); -} - -ACE_INLINE bool -ACE_U_LongLong::operator!= (const ACE_UINT32 n) const -{ - return ! (*this == n); -} - -ACE_INLINE bool -ACE_U_LongLong::operator< (const ACE_U_LongLong &n) const -{ - return h_ () < n.h_ () ? 1 - : h_ () > n.h_ () ? 0 - : l_ () < n.l_ (); -} - -ACE_INLINE bool -ACE_U_LongLong::operator< (const ACE_UINT32 n) const -{ - return operator< (static_cast (n)); -} - -ACE_INLINE bool -ACE_U_LongLong::operator<= (const ACE_U_LongLong &n) const -{ - return h_ () < n.h_ () ? 1 - : h_ () > n.h_ () ? 0 - : l_ () <= n.l_ (); -} - -ACE_INLINE bool -ACE_U_LongLong::operator<= (const ACE_UINT32 n) const -{ - return operator<= (static_cast (n)); -} - -ACE_INLINE bool -ACE_U_LongLong::operator> (const ACE_U_LongLong &n) const -{ - return h_ () > n.h_ () ? 1 - : h_ () < n.h_ () ? 0 - : l_ () > n.l_ (); -} - -ACE_INLINE bool -ACE_U_LongLong::operator> (const ACE_UINT32 n) const -{ - return operator> (static_cast (n)); -} - -ACE_INLINE bool -ACE_U_LongLong::operator>= (const ACE_U_LongLong &n) const -{ - return h_ () > n.h_ () ? 1 - : h_ () < n.h_ () ? 0 - : l_ () >= n.l_ (); -} - -ACE_INLINE bool -ACE_U_LongLong::operator>= (const ACE_UINT32 n) const -{ - return operator>= (static_cast (n)); -} - -ACE_INLINE -ACE_U_LongLong::ACE_U_LongLong (const ACE_U_LongLong &n) -{ - h_ () = n.h_ (); - l_ () = n.l_ (); -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator= (const ACE_U_LongLong &n) -{ - h_ () = n.h_ (); - l_ () = n.l_ (); - - return *this; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator= (const ACE_INT32 &rhs) -{ - if (rhs >= 0) - { - l_ () = static_cast (rhs); - h_ () = 0; - } - else - { - // We do not handle the case where a negative 32 bit integer is - // assigned to this representation of a 64 bit unsigned integer. - // The "undefined behavior" behavior performed by this - // implementation is to simply set all bits to zero. - l_ () = 0; - h_ () = 0; - } - - return *this; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator= (const ACE_UINT32 &rhs) -{ - l_ () = rhs; - h_ () = 0; - - return *this; -} - - -ACE_INLINE ACE_U_LongLong -ACE_U_LongLong::operator+ (const ACE_U_LongLong &n) const -{ - ACE_U_LongLong ret (l_ () + n.l_ (), h_ () + n.h_ ()); - if (ret.l_ () < n.l_ ()) /* carry */ ++ret.h_ (); - - return ret; -} - -ACE_INLINE ACE_U_LongLong -ACE_U_LongLong::operator+ (const ACE_UINT32 n) const -{ - return operator+ (static_cast (n)); -} - -ACE_INLINE ACE_U_LongLong -ACE_U_LongLong::operator- (const ACE_U_LongLong &n) const -{ - ACE_U_LongLong ret (l_ () - n.l_ (), h_ () - n.h_ ()); - if (l_ () < n.l_ ()) /* borrow */ --ret.h_ (); - - return ret; -} - -ACE_INLINE ACE_U_LongLong -ACE_U_LongLong::operator- (const ACE_UINT32 n) const -{ - return operator- (static_cast (n)); -} - -ACE_INLINE ACE_U_LongLong -ACE_U_LongLong::operator<< (const u_int n) const -{ - const ACE_UINT32 carry_mask = l_ () >> (32 - n); - ACE_U_LongLong ret (n < 32 ? l_ () << n : 0, - n < 32 ? (h_ () << n) | carry_mask : carry_mask); - - return ret; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator<<= (const u_int n) -{ - const ACE_UINT32 carry_mask = l_ () >> (32 - n); - h_ () = n < 32 ? (h_ () << n) | carry_mask : carry_mask; - - // g++ 2.7.2.3/Solaris 2.5.1 doesn't modify l_ () if shifted by 32. - l_ () = n < 32 ? l_ () << n : 0; - - return *this; -} - -ACE_INLINE ACE_U_LongLong -ACE_U_LongLong::operator>> (const u_int n) const -{ - const ACE_UINT32 carry_mask = h_ () << (32 - n); - ACE_U_LongLong ret (n < 32 ? (l_ () >> n) | carry_mask : 0, - n < 32 ? h_ () >> n : 0); - - return ret; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator>>= (const u_int n) -{ - const ACE_UINT32 carry_mask = h_ () << (32 - n); - l_ () = n < 32 ? (l_ () >> n) | carry_mask : carry_mask; - h_ () = n < 32 ? h_ () >> n : 0; - - return *this; -} - -ACE_INLINE double -ACE_U_LongLong::operator/ (const double n) const -{ - // See the derivation above in operator/ (const ACE_UINT32). - - return ((double) 0xffffffffu - n + 1.0) / n * h_ () + - (double) h_ () + (double) l_ () / n; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator+= (const ACE_U_LongLong &n) -{ - h_ () += n.h_ (); - l_ () += n.l_ (); - if (l_ () < n.l_ ()) /* carry */ ++h_ (); - - return *this; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator+= (const ACE_UINT32 n) -{ - return operator+= (static_cast (n)); -} - -#define ACE_HIGHBIT (~(~0UL >> 1)) - -ACE_INLINE ACE_UINT32 -ACE_U_LongLong::ul_shift (ACE_UINT32 a, ACE_UINT32 c_in, ACE_UINT32 *c_out) const -{ - const ACE_UINT32 b = (a << 1) | c_in; - *c_out = (*c_out << 1) + ((a & ACE_HIGHBIT) > 0); - - return b; -} - -ACE_INLINE ACE_U_LongLong -ACE_U_LongLong::ull_shift (ACE_U_LongLong a, - ACE_UINT32 c_in, - ACE_UINT32 *c_out) const -{ - ACE_U_LongLong b; - - b.l_ () = (a.l_ () << 1) | c_in; - c_in = ((a.l_ () & ACE_HIGHBIT) > 0); - b.h_ () = (a.h_ () << 1) | c_in; - *c_out = (*c_out << 1) + ((a.h_ () & ACE_HIGHBIT) > 0); - - return b; -} - -ACE_INLINE ACE_U_LongLong -ACE_U_LongLong::ull_add (ACE_U_LongLong a, ACE_U_LongLong b, ACE_UINT32 *carry) const -{ - ACE_U_LongLong r (0, 0); - ACE_UINT32 c1, c2, c3, c4; - - c1 = a.l_ () % 2; - c2 = b.l_ () % 2; - c3 = 0; - - r.l_ () = a.l_ ()/2 + b.l_ ()/2 + (c1+c2)/2; - r.l_ () = ul_shift (r.l_ (), (c1+c2)%2, &c3); - - c1 = a.h_ () % 2; - c2 = b.h_ () % 2; - c4 = 0; - - r.h_ () = a.h_ ()/2 + b.h_ ()/2 + (c1+c2+c3)/2; - r.h_ () = ul_shift (r.h_ (), (c1+c2+c3)%2, &c4); - - *carry = c4; - - return r; -} - -ACE_INLINE ACE_U_LongLong -ACE_U_LongLong::ull_mult (ACE_U_LongLong a, ACE_UINT32 b, ACE_UINT32 *carry) const -{ - register ACE_UINT32 mask = ACE_HIGHBIT; - const ACE_U_LongLong zero (0, 0); - ACE_U_LongLong accum (0, 0); - ACE_UINT32 c; - - *carry = 0; - if (b > 0) - do - { - accum = ull_shift (accum, 0U, carry); - if (b & mask) - accum = ull_add (accum, a, &c); - else - accum = ull_add (accum, zero, &c); - *carry += c; - mask >>= 1; - } - while (mask > 0); - - return accum; -} - -ACE_INLINE ACE_U_LongLong -ACE_U_LongLong::operator* (const ACE_UINT32 n) const -{ - ACE_UINT32 carry; // will throw the carry away - - return ull_mult (*this, n, &carry); -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator*= (const ACE_UINT32 n) -{ - ACE_UINT32 carry; // will throw the carry away - - return *this = ull_mult (*this, n, &carry); -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator-= (const ACE_U_LongLong &n) -{ - h_ () -= n.h_ (); - if (l_ () < n.l_ ()) /* borrow */ --h_ (); - l_ () -= n.l_ (); - - return *this; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator-= (const ACE_UINT32 n) -{ - return operator-= (static_cast (n)); -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator++ () -{ - ++l_ (); - if (l_ () == 0) /* carry */ ++h_ (); - - return *this; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator-- () -{ - if (l_ () == 0) /* borrow */ --h_ (); - --l_ (); - - return *this; -} - -ACE_INLINE const ACE_U_LongLong -ACE_U_LongLong::operator++ (int) -{ - // Post-increment operator should always be implemented in terms of - // the pre-increment operator to enforce consistent semantics. - ACE_U_LongLong temp (*this); - ++*this; - return temp; -} - -ACE_INLINE const ACE_U_LongLong -ACE_U_LongLong::operator-- (int) -{ - // Post-decrement operator should always be implemented in terms of - // the pre-decrement operator to enforce consistent semantics. - ACE_U_LongLong temp (*this); - --*this; - return temp; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator|= (const ACE_U_LongLong n) -{ - l_ () |= n.l_ (); - h_ () |= n.h_ (); - - return *this; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator|= (const ACE_UINT32 n) -{ - return operator|= (static_cast (n)); -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator&= (const ACE_U_LongLong n) -{ - l_ () &= n.l_ (); - h_ () &= n.h_ (); - - return *this; -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator&= (const ACE_UINT32 n) -{ - return operator&= (static_cast (n)); -} - -ACE_INLINE ACE_UINT32 -ACE_U_LongLong::operator/ (const ACE_UINT32 n) const -{ - // This takes advantage of the fact that the return type has only 32 - // bits. Replace 0x100000000 with 0xffffffff + 1 because the former - // has 33 bits. - // Quotient = (0x100000000u * hi_ + lo_) / n - // = ((0x100000000u - n + n) * hi_ + lo_) / n - // = ((0x100000000u - n) / n * hi_ + hi_ * n / n + lo_ / n - // = (0x100000000u - n) / n * hi_ + hi_ + lo_ / n - // = (0xffffffffu - n + 1) / n * hi_ + hi_ + lo_ / n - - return (0xffffffffu - n + 1) / n * h_ () + h_ () + l_ () / n; -} - -ACE_INLINE ACE_UINT32 -ACE_U_LongLong::operator% (const ACE_UINT32 n) const -{ - // Because the argument is an ACE_UINT32, the result can never be - // bigger than 32 bits. Replace 0x100000000 with 0xffffffff + 1 - // because the former has 33 bits. - // Mod = (0x100000000u * hi_ + lo_) % n - // = (0x100000000u % n * hi_ + lo_ % n) % n - // = ((0x100000000u - n) % n * hi_ + lo_ % n) % n - // = ((0xffffffffu - n + 1) % n * hi_ + lo_ % n) % n - - return ((0xffffffff - n + 1) % n * h_ () + l_ () % n) % n; -} - -ACE_INLINE ACE_UINT32 -ACE_U_LongLong::operator| (const ACE_INT32 n) const -{ - return l_ () | n; -} - -ACE_INLINE ACE_UINT32 -ACE_U_LongLong::operator& (const ACE_INT32 n) const -{ - return l_ () & n; -} - -ACE_INLINE ACE_U_LongLong -ACE_U_LongLong::operator* (const ACE_INT32 n) const -{ - return operator* ((ACE_UINT32) n); -} - -ACE_INLINE ACE_U_LongLong & -ACE_U_LongLong::operator*= (const ACE_INT32 n) -{ - return operator*= ((ACE_UINT32) n); -} - -ACE_INLINE ACE_UINT32 -ACE_U_LongLong::operator/ (const ACE_INT32 n) const -{ - return operator/ ((ACE_UINT32) n); -} - -#if ACE_SIZEOF_INT == 4 -ACE_INLINE ACE_UINT32 -ACE_U_LongLong::operator/ (const u_long n) const -{ - return operator/ ((ACE_UINT32) n); -} - -ACE_INLINE ACE_UINT32 -ACE_U_LongLong::operator/ (const long n) const -{ - return operator/ ((ACE_UINT32) n); -} - -#else /* ACE_SIZEOF_INT != 4 */ -ACE_INLINE ACE_UINT32 -ACE_U_LongLong::operator/ (const u_int n) const -{ - return operator/ ((ACE_UINT32) n); -} - -ACE_INLINE ACE_UINT32 -ACE_U_LongLong::operator/ (const int n) const -{ - return operator/ ((ACE_UINT32) n); -} -#endif /* ACE_SIZEOF_INT != 4 */ - -ACE_END_VERSIONED_NAMESPACE_DECL - -#endif /* ACE_LACKS_LONGLONG_T || ACE_LACKS_UNSIGNEDLONGLONG_T */ diff --git a/dep/ACE_wrappers/ace/Condition_Thread_Mutex.cpp b/dep/ACE_wrappers/ace/Condition_Thread_Mutex.cpp deleted file mode 100644 index 88e99702d..000000000 --- a/dep/ACE_wrappers/ace/Condition_Thread_Mutex.cpp +++ /dev/null @@ -1,126 +0,0 @@ -/* -*- C++ -*- */ -/** - * @file Condition_Thread_Mutex.cpp - * - * $Id: Condition_Thread_Mutex.cpp 91286 2010-08-05 09:04:31Z johnnyw $ - * - * Originally in Synch.cpp - * - * @author Douglas C. Schmidt - */ - -#include "ace/Condition_Thread_Mutex.h" - -#if defined (ACE_HAS_THREADS) - -#if !defined (__ACE_INLINE__) -#include "ace/Condition_Thread_Mutex.inl" -#endif /* __ACE_INLINE__ */ - -#include "ace/Log_Msg.h" - - - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -ACE_ALLOC_HOOK_DEFINE(ACE_Condition_Thread_Mutex) - -void -ACE_Condition_Thread_Mutex::dump (void) const -{ -#if defined (ACE_HAS_DUMP) -// ACE_TRACE ("ACE_Condition_Thread_Mutex::dump"); - - ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this)); - ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("\n"))); -#if defined (ACE_WIN32) - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT ("waiters = %d\n"), - this->cond_.waiters ())); -#endif /* ACE_WIN32 */ - ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP)); -#endif /* ACE_HAS_DUMP */ -} - -ACE_Condition_Thread_Mutex::ACE_Condition_Thread_Mutex (ACE_Thread_Mutex &m, - const ACE_TCHAR *name, - void *arg) - : mutex_ (m), - removed_ (false) -{ -// ACE_TRACE ("ACE_Condition_Thread_Mutex::ACE_Condition_Thread_Mutex"); - if (ACE_OS::cond_init (&this->cond_, - (short) USYNC_THREAD, - name, - arg) != 0) - ACE_ERROR ((LM_ERROR, - ACE_TEXT ("%p\n"), - ACE_TEXT ("ACE_Condition_Thread_Mutex::ACE_Condition_Thread_Mutex"))); -} - -ACE_Condition_Thread_Mutex:: -ACE_Condition_Thread_Mutex (ACE_Thread_Mutex &m, - ACE_Condition_Attributes &attributes, - const ACE_TCHAR *name, - void *arg) - : mutex_ (m), - removed_ (false) -{ -// ACE_TRACE ("ACE_Condition_Thread_Mutex::ACE_Condition_Thread_Mutex"); - if (ACE_OS::cond_init (&this->cond_, attributes.attributes_, - name, arg) != 0) - ACE_ERROR ((LM_ERROR, ACE_TEXT ("%p\n"), - ACE_TEXT ("ACE_Condition_Thread_Mutex::ACE_Condition_Thread_Mutex"))); -} - -ACE_Condition_Thread_Mutex::~ACE_Condition_Thread_Mutex (void) -{ -// ACE_TRACE ("ACE_Condition_Thread_Mutex::~ACE_Condition_Thread_Mutex"); - this->remove (); -} - -// Peform an "alertable" timed wait. If the argument == 0 -// then we do a regular , else we do a timed wait for up to -// using the function. - -int -ACE_Condition_Thread_Mutex::wait (void) -{ -// ACE_TRACE ("ACE_Condition_Thread_Mutex::wait"); - return ACE_OS::cond_wait (&this->cond_, &this->mutex_.lock_); -} - -int -ACE_Condition_Thread_Mutex::wait (ACE_Thread_Mutex &mutex, - const ACE_Time_Value *abstime) -{ -// ACE_TRACE ("ACE_Condition_Thread_Mutex::wait"); - return ACE_OS::cond_timedwait (&this->cond_, - &mutex.lock_, - const_cast (abstime)); -} - -int -ACE_Condition_Thread_Mutex::wait (const ACE_Time_Value *abstime) -{ -// ACE_TRACE ("ACE_Condition_Thread_Mutex::wait"); - return this->wait (this->mutex_, abstime); -} - -int -ACE_Condition_Thread_Mutex::signal (void) -{ -// ACE_TRACE ("ACE_Condition_Thread_Mutex::signal"); - return ACE_OS::cond_signal (&this->cond_); -} - -int -ACE_Condition_Thread_Mutex::broadcast (void) -{ -// ACE_TRACE ("ACE_Condition_Thread_Mutex::broadcast"); - return ACE_OS::cond_broadcast (&this->cond_); -} - -ACE_END_VERSIONED_NAMESPACE_DECL - -#endif /* ACE_HAS_THREADS */ diff --git a/dep/ACE_wrappers/ace/Countdown_Time.cpp b/dep/ACE_wrappers/ace/Countdown_Time.cpp deleted file mode 100644 index c964ab113..000000000 --- a/dep/ACE_wrappers/ace/Countdown_Time.cpp +++ /dev/null @@ -1,57 +0,0 @@ -// $Id: Countdown_Time.cpp 91287 2010-08-05 10:30:49Z johnnyw $ - -#include "ace/Countdown_Time.h" -#include "ace/OS_NS_sys_time.h" - -#if !defined (__ACE_INLINE__) -#include "ace/Countdown_Time.inl" -#endif /* __ACE_INLINE__ */ - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -ACE_Countdown_Time::ACE_Countdown_Time (ACE_Time_Value *max_wait_time) - : max_wait_time_ (max_wait_time), - stopped_ (false) -{ - this->start (); -} - -ACE_Countdown_Time::~ACE_Countdown_Time (void) -{ - this->stop (); -} - -void -ACE_Countdown_Time::start (void) -{ - if (this->max_wait_time_ != 0) - { - this->start_time_ = ACE_OS::gettimeofday (); - this->stopped_ = false; - } -} - -void -ACE_Countdown_Time::stop (void) -{ - if (this->max_wait_time_ != 0 && !this->stopped_) - { - ACE_Time_Value const elapsed_time = - ACE_OS::gettimeofday () - this->start_time_; - - if (elapsed_time >= ACE_Time_Value::zero && - *this->max_wait_time_ > elapsed_time) - { - *this->max_wait_time_ -= elapsed_time; - } - else - { - // Used all of timeout. - *this->max_wait_time_ = ACE_Time_Value::zero; - // errno = ETIME; - } - this->stopped_ = true; - } -} - -ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/ACE_wrappers/ace/Countdown_Time.inl b/dep/ACE_wrappers/ace/Countdown_Time.inl deleted file mode 100644 index 4a9eb8e0e..000000000 --- a/dep/ACE_wrappers/ace/Countdown_Time.inl +++ /dev/null @@ -1,20 +0,0 @@ -// -*- C++ -*- -// -// $Id: Countdown_Time.inl 85368 2009-05-18 10:23:19Z johnnyw $ - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -ACE_INLINE bool -ACE_Countdown_Time::stopped (void) const -{ - return stopped_; -} - -ACE_INLINE void -ACE_Countdown_Time::update (void) -{ - this->stop (); - this->start (); -} - -ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/ACE_wrappers/ace/ETCL/ACE_ETCL.pc.in b/dep/ACE_wrappers/ace/ETCL/ACE_ETCL.pc.in deleted file mode 100644 index 89e090707..000000000 --- a/dep/ACE_wrappers/ace/ETCL/ACE_ETCL.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: ACE_ETCL -Description: ACE Extended Trading Constraint Language Library -Requires: ACE -Version: @VERSION@ -Libs: -L${libdir} -lACE_ETCL -Cflags: -I${includedir} diff --git a/dep/ACE_wrappers/ace/ETCL/ACE_ETCL_Parser.pc.in b/dep/ACE_wrappers/ace/ETCL/ACE_ETCL_Parser.pc.in deleted file mode 100644 index 80ece055d..000000000 --- a/dep/ACE_wrappers/ace/ETCL/ACE_ETCL_Parser.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: ACE_ETCL_Parser -Description: ACE Extended Trading Constraint Language Parser Library -Requires: ACE_ETCL -Version: @VERSION@ -Libs: -L${libdir} -lACE_ETCL_Parser -Cflags: -I${includedir} diff --git a/dep/ACE_wrappers/ace/ETCL/ACE_ETCL_Parser_vc10.vcxproj b/dep/ACE_wrappers/ace/ETCL/ACE_ETCL_Parser_vc10.vcxproj deleted file mode 100644 index 05947d96d..000000000 --- a/dep/ACE_wrappers/ace/ETCL/ACE_ETCL_Parser_vc10.vcxproj +++ /dev/null @@ -1,301 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - - - ACE_ETCL_Parser - {42B1A787-FECA-1BAD-007E-8A67757B007A} - ACE_ETCL_Parser - Win32Proj - - - - DynamicLibrary - true - NotSet - - - DynamicLibrary - false - NotSet - true - - - DynamicLibrary - true - NotSet - - - DynamicLibrary - false - NotSet - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - ..\..\lib\ - Debug\ACE_ETCL_Parser_vc10\I386\ - true - ACE_ETCL_Parserd - AllRules.ruleset - - - ..\..\lib\ - Release\ACE_ETCL_Parser_vc10\I386\ - false - ACE_ETCL_Parser - AllRules.ruleset - - - ..\..\lib\ - Debug\ACE_ETCL_Parser_vc10\AMD64\ - true - ACE_ETCL_Parserd - AllRules.ruleset - - - ..\..\lib\ - Release\ACE_ETCL_Parser_vc10\AMD64\ - false - ACE_ETCL_Parser - AllRules.ruleset - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - Win32 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - Disabled - ..\..;%(AdditionalIncludeDirectories) - ETCL_PARSER_BUILD_DLL;_DEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;MPC_LIB_MODIFIER="d";%(PreprocessorDefinitions) - false - MultiThreadedDebugDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - _DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) - 1033 - ..\..;%(AdditionalIncludeDirectories) - - - true - ACEd.lib;ACE_ETCLd.lib;%(AdditionalDependencies) - $(OutDir)ACE_ETCL_Parserd.dll - .;..\..\lib;%(AdditionalLibraryDirectories) - ..\..\lib\ACE_ETCL_Parserd.lib - - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - Win32 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - MaxSpeed - true - ..\..;%(AdditionalIncludeDirectories) - ETCL_PARSER_BUILD_DLL;NDEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) - MultiThreadedDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - NDEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) - 1033 - ..\..;%(AdditionalIncludeDirectories) - - - true - ACE.lib;ACE_ETCL.lib;%(AdditionalDependencies) - $(OutDir)ACE_ETCL_Parser.dll - .;..\..\lib;%(AdditionalLibraryDirectories) - true - true - ..\..\lib\ACE_ETCL_Parser.lib - - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - x64 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - Disabled - ..\..;%(AdditionalIncludeDirectories) - ETCL_PARSER_BUILD_DLL;_DEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;_AMD64_;_WIN64;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;MPC_LIB_MODIFIER="d";%(PreprocessorDefinitions) - false - MultiThreadedDebugDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - _DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_WIN64;%(PreprocessorDefinitions) - 1033 - ..\..;%(AdditionalIncludeDirectories) - - - true - ACEd.lib;ACE_ETCLd.lib;%(AdditionalDependencies) - $(OutDir)ACE_ETCL_Parserd.dll - .;..\..\lib;%(AdditionalLibraryDirectories) - ..\..\lib\ACE_ETCL_Parserd.lib - - - /machine:AMD64 %(AdditionalOptions) - - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - x64 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - MaxSpeed - true - ..\..;%(AdditionalIncludeDirectories) - ETCL_PARSER_BUILD_DLL;NDEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;_AMD64_;_WIN64;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) - MultiThreadedDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - NDEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_WIN64;%(PreprocessorDefinitions) - 1033 - ..\..;%(AdditionalIncludeDirectories) - - - true - ACE.lib;ACE_ETCL.lib;%(AdditionalDependencies) - $(OutDir)ACE_ETCL_Parser.dll - .;..\..\lib;%(AdditionalLibraryDirectories) - true - true - ..\..\lib\ACE_ETCL_Parser.lib - - - /machine:AMD64 %(AdditionalOptions) - - - - - - - - - - - - - - - - - - - - - - true - true - true - true - - - - - true - true - true - true - - - - - - diff --git a/dep/ACE_wrappers/ace/ETCL/ACE_ETCL_Parser_vc10.vcxproj.filters b/dep/ACE_wrappers/ace/ETCL/ACE_ETCL_Parser_vc10.vcxproj.filters deleted file mode 100644 index b57554692..000000000 --- a/dep/ACE_wrappers/ace/ETCL/ACE_ETCL_Parser_vc10.vcxproj.filters +++ /dev/null @@ -1,53 +0,0 @@ - - - - - {B1F27843-FECA-1BAD-007E-8A67757B007A} - cpp;cxx;cc;c;C - - - {06319535-FECA-1BAD-007E-8A67757B007A} - h;hpp;hxx;hh - - - {A1909F1C-FECA-1BAD-007E-8A67757B007A} - mpc;mpb;mwc - - - {8441A3A3-FECA-1BAD-007E-8A67757B007A} - pcin - - - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Build Files - - - - - Pkgconfig Files - - - diff --git a/dep/ACE_wrappers/ace/ETCL/ACE_ETCL_vc10.vcxproj b/dep/ACE_wrappers/ace/ETCL/ACE_ETCL_vc10.vcxproj deleted file mode 100644 index 5130a6063..000000000 --- a/dep/ACE_wrappers/ace/ETCL/ACE_ETCL_vc10.vcxproj +++ /dev/null @@ -1,302 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - - - ACE_ETCL - {17692659-FECA-1BAD-007E-8A67757B007A} - ACE_ETCL - Win32Proj - - - - DynamicLibrary - true - NotSet - - - DynamicLibrary - false - NotSet - true - - - DynamicLibrary - true - NotSet - - - DynamicLibrary - false - NotSet - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - ..\..\lib\ - Debug\ACE_ETCL_vc10\I386\ - true - ACE_ETCLd - AllRules.ruleset - - - ..\..\lib\ - Release\ACE_ETCL_vc10\I386\ - false - ACE_ETCL - AllRules.ruleset - - - ..\..\lib\ - Debug\ACE_ETCL_vc10\AMD64\ - true - ACE_ETCLd - AllRules.ruleset - - - ..\..\lib\ - Release\ACE_ETCL_vc10\AMD64\ - false - ACE_ETCL - AllRules.ruleset - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - Win32 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - Disabled - ..\..;%(AdditionalIncludeDirectories) - ACE_ETCL_BUILD_DLL;_DEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;MPC_LIB_MODIFIER="d";%(PreprocessorDefinitions) - false - MultiThreadedDebugDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - _DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) - 1033 - ..\..;%(AdditionalIncludeDirectories) - - - true - ACEd.lib;%(AdditionalDependencies) - $(OutDir)ACE_ETCLd.dll - .;..\..\lib;%(AdditionalLibraryDirectories) - ..\..\lib\ACE_ETCLd.lib - - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - Win32 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - MaxSpeed - true - ..\..;%(AdditionalIncludeDirectories) - ACE_ETCL_BUILD_DLL;NDEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) - MultiThreadedDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - NDEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) - 1033 - ..\..;%(AdditionalIncludeDirectories) - - - true - ACE.lib;%(AdditionalDependencies) - $(OutDir)ACE_ETCL.dll - .;..\..\lib;%(AdditionalLibraryDirectories) - true - true - ..\..\lib\ACE_ETCL.lib - - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - x64 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - Disabled - ..\..;%(AdditionalIncludeDirectories) - ACE_ETCL_BUILD_DLL;_DEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;_AMD64_;_WIN64;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;MPC_LIB_MODIFIER="d";%(PreprocessorDefinitions) - false - MultiThreadedDebugDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - _DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_WIN64;%(PreprocessorDefinitions) - 1033 - ..\..;%(AdditionalIncludeDirectories) - - - true - ACEd.lib;%(AdditionalDependencies) - $(OutDir)ACE_ETCLd.dll - .;..\..\lib;%(AdditionalLibraryDirectories) - ..\..\lib\ACE_ETCLd.lib - - - /machine:AMD64 %(AdditionalOptions) - - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - x64 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - MaxSpeed - true - ..\..;%(AdditionalIncludeDirectories) - ACE_ETCL_BUILD_DLL;NDEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;_AMD64_;_WIN64;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) - MultiThreadedDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - NDEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_WIN64;%(PreprocessorDefinitions) - 1033 - ..\..;%(AdditionalIncludeDirectories) - - - true - ACE.lib;%(AdditionalDependencies) - $(OutDir)ACE_ETCL.dll - .;..\..\lib;%(AdditionalLibraryDirectories) - true - true - ..\..\lib\ACE_ETCL.lib - - - /machine:AMD64 %(AdditionalOptions) - - - - - - - - - - - - - - - - - - - - true - true - true - true - - - - - true - true - true - true - - - - - - - - - diff --git a/dep/ACE_wrappers/ace/ETCL/ACE_ETCL_vc10.vcxproj.filters b/dep/ACE_wrappers/ace/ETCL/ACE_ETCL_vc10.vcxproj.filters deleted file mode 100644 index 556b24677..000000000 --- a/dep/ACE_wrappers/ace/ETCL/ACE_ETCL_vc10.vcxproj.filters +++ /dev/null @@ -1,59 +0,0 @@ - - - - - {B1F27843-FECA-1BAD-007E-8A67757B007A} - cpp;cxx;cc;c;C - - - {06319535-FECA-1BAD-007E-8A67757B007A} - h;hpp;hxx;hh - - - {A1909F1C-FECA-1BAD-007E-8A67757B007A} - mpc;mpb;mwc - - - {8441A3A3-FECA-1BAD-007E-8A67757B007A} - pcin - - - {763028EF-FECA-1BAD-007E-8A67757B007A} - i;ipp;inl - - - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Build Files - - - - - Pkgconfig Files - - - - - Inline Files - - - diff --git a/dep/ACE_wrappers/ace/ETCL/ETCL.ll b/dep/ACE_wrappers/ace/ETCL/ETCL.ll deleted file mode 100644 index 7cbc0c478..000000000 --- a/dep/ACE_wrappers/ace/ETCL/ETCL.ll +++ /dev/null @@ -1,159 +0,0 @@ -%option noyywrap - -%{ -// ETCL.ll,v 1.5 2005/11/16 07:53:24 ossama Exp -// ======================================================================== -// -// = LIBRARY -// orbsvcs/ECTL -// -// = FILENAME -// ETCL.ll -// -// = AUTHOR -// Carlos O'Ryan based on previous work by -// Seth Widoff -// -// ======================================================================== - -#include "ace/ETCL/ETCL_Interpreter.h" -#include "ace/ETCL/ETCL_y.h" - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -static const char * extract_string(char*); - -#define YY_LEX_DEBUG - -#ifdef CONSTRAINT_DEBUG -#define YY_LEX_DEBUG OS::fprintf(stderr, "%s\n", yytext) -#endif /* CONSTRAINT_DEBUG */ - -#define YY_DECL int ETCL_yylex (ETCL_YYSTYPE *lvalp, void* state) - -#define YY_BREAK -#define YY_NO_UNPUT - -%} - -white_space [ \t] -letter [a-zA-Z] -digit [0-9] -alpha_num ({letter}|{digit}) -integer {digit}+ -float ({digit}*\.{digit}+)([eE][-+]?{digit}+)? -string '(([^'\\]*)|([^'\\]*\\')|([^'\\]*\\\\))*' -base {letter}({alpha_num}|[_])* -ident {base}|\\{base} -newline \n - -%% - -min { YY_LEX_DEBUG; return ETCL_MIN; } -max { YY_LEX_DEBUG; return ETCL_MAX; } -first { YY_LEX_DEBUG; return ETCL_FIRST; } -random { YY_LEX_DEBUG; return ETCL_RANDOM; } -with { YY_LEX_DEBUG; return ETCL_WITH; } -exist { YY_LEX_DEBUG; return ETCL_EXIST; } -not { YY_LEX_DEBUG; return ETCL_NOT; } -and { YY_LEX_DEBUG; return ETCL_AND; } -or { YY_LEX_DEBUG; return ETCL_OR; } -in { YY_LEX_DEBUG; return ETCL_IN; } -"~" { YY_LEX_DEBUG; return ETCL_TWIDDLE; } -"+" { YY_LEX_DEBUG; return ETCL_PLUS; } -"-" { YY_LEX_DEBUG; return ETCL_MINUS; } -"*" { YY_LEX_DEBUG; return ETCL_MULT; } -"/" { YY_LEX_DEBUG; return ETCL_DIV; } -"<" { YY_LEX_DEBUG; return ETCL_LT; } -"<=" { YY_LEX_DEBUG; return ETCL_LE; } -">" { YY_LEX_DEBUG; return ETCL_GT; } -">=" { YY_LEX_DEBUG; return ETCL_GE; } -"==" { YY_LEX_DEBUG; return ETCL_EQ; } -"!=" { YY_LEX_DEBUG; return ETCL_NE; } -"(" { YY_LEX_DEBUG; return ETCL_LPAREN; } -")" { YY_LEX_DEBUG; return ETCL_RPAREN; } -"$" { YY_LEX_DEBUG; return ETCL_DOLLAR; } -"." { YY_LEX_DEBUG; return ETCL_DOT; } -"default" { YY_LEX_DEBUG; return ETCL_DEFAULT; } -"_d" { YY_LEX_DEBUG; return ETCL_DISCRIMINANT; } -"_type_id" { YY_LEX_DEBUG; return ETCL_TYPE_ID; } -"_repos_id" { YY_LEX_DEBUG; return ETCL_REPOS_ID; } -"_length" { YY_LEX_DEBUG; return ETCL_LENGTH; } -"[" { YY_LEX_DEBUG; return ETCL_LBRA; } -"]" { YY_LEX_DEBUG; return ETCL_RBRA; } -TRUE { - lvalp->constraint = - new ETCL_Literal_Constraint ((CORBA::Boolean) 1); - YY_LEX_DEBUG; return ETCL_BOOLEAN; - } -FALSE { - lvalp->constraint = - new ETCL_Literal_Constraint ((CORBA::Boolean) 0); - YY_LEX_DEBUG; return ETCL_BOOLEAN; - } -{integer} { - lvalp->constraint = - new ETCL_Literal_Constraint (ACE_OS::atoi (yytext)); - YY_LEX_DEBUG; return ETCL_INTEGER; - } -{float} { - double v; - sscanf (yytext, "%lf", &v); - lvalp->constraint = - new ETCL_Literal_Constraint (v); - YY_LEX_DEBUG; return ETCL_FLOAT; - } -{string} { - lvalp->constraint = - new ETCL_Literal_Constraint (extract_string (yytext)); - YY_LEX_DEBUG; return ETCL_STRING; - } -{ident} { - lvalp->constraint = - new ETCL_Identifier (yytext); - YY_LEX_DEBUG; return ETCL_IDENT; - } -{white_space} { - YY_LEX_DEBUG; break; // Ignore - } -. { - YY_LEX_DEBUG; break; // @@ TODO - } -%% - -const char* -extract_string(char* str) -{ - char *t = str; - for (char * i = str + 1; *i != '\''; ++i, ++t) - { - if (*i == '\\') - { - ++i; - if (*i == 0) - return 0; - else if (*i == 't') - *t = '\t'; - else if (*i == 'n') - *t = '\n'; - else if (*i == '\\') - *t = '\\'; - else - *t = *i; - continue; - } - - *t = *i; - } - - *t = '\0'; - return str; -} - -int -yywrap (void) -{ - return 1; -} - -ACE_END_VERSIONED_NAMESPACE_DECL \ No newline at end of file diff --git a/dep/ACE_wrappers/ace/ETCL/ETCL.mpc b/dep/ACE_wrappers/ace/ETCL/ETCL.mpc deleted file mode 100644 index e109a60b5..000000000 --- a/dep/ACE_wrappers/ace/ETCL/ETCL.mpc +++ /dev/null @@ -1,64 +0,0 @@ -// -*- MPC -*- -// $Id: ETCL.mpc 90826 2010-06-24 09:07:33Z johnnyw $ - -project(ACE_ETCL) : acelib, install, ace_output { - sharedname = ACE_ETCL - dynamicflags += ACE_ETCL_BUILD_DLL - - Source_Files { - ETCL_Constraint.cpp - ETCL_Constraint_Visitor.cpp - } - - Header_Files { - ETCL_Constraint.h - ETCL_Constraint_Visitor.h - ace_etcl_export.h - } - - Inline_Files { - ETCL_Constraint.inl - } - - Template_Files { - } - - Pkgconfig_Files { - ACE_ETCL.pc.in - } - - specific { - install_dir = ace/ETCL - } -} - -project(ACE_ETCL_Parser) : acelib, ace_etcl, install, ace_output { - sharedname = ACE_ETCL_Parser - dynamicflags += ETCL_PARSER_BUILD_DLL - - Source_Files { - ETCL_Interpreter.cpp - ETCL_l.cpp - ETCL_y.cpp - } - - Header_Files { - ETCL_Interpreter.h - ETCL_y.h - etcl_parser_export.h - } - - Inline_Files { - } - - Template_Files { - } - - Pkgconfig_Files { - ACE_ETCL_Parser.pc.in - } - - specific { - install_dir = ace/ETCL - } -} diff --git a/dep/ACE_wrappers/ace/ETCL/ETCL.yy b/dep/ACE_wrappers/ace/ETCL/ETCL.yy deleted file mode 100644 index 77b42169a..000000000 --- a/dep/ACE_wrappers/ace/ETCL/ETCL.yy +++ /dev/null @@ -1,269 +0,0 @@ -%{ -// $Id: ETCL.yy 81640 2008-05-07 19:04:11Z parsons $ -// ======================================================================== -// -// = LIBRARY -// orbsvcs / Extended Trader Constraint Language parser. -// -// = FILENAME -// ETCL.yy -// -// = AUTHOR -// Carlos O'Ryan based on previous work by -// Seth Widoff -// Jeff Parsons -// -// ======================================================================== - -#include "ace/ETCL/ETCL_y.h" -#include "ace/ETCL/ETCL_constraint.h" -#include "ace/ETCL/ETCL_Interpreter.h" - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -extern int yylex (void); -extern void yyflush_current_buffer (void); - -static void yyerror (const char *) -{ - // @@ TODO - // Ignore error messages -} - -ACE_END_VERSIONED_NAMESPACE_DECL - -#include - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -%} - -%token ETCL_GT -%token ETCL_GE -%token ETCL_LT -%token ETCL_LE -%token ETCL_EQ -%token ETCL_NE -%token ETCL_EXIST -%token ETCL_DEFAULT -%token ETCL_AND -%token ETCL_OR -%token ETCL_NOT -%token ETCL_IN -%token ETCL_TWIDDLE -%token ETCL_BOOLEAN -%token ETCL_PLUS -%token ETCL_MINUS -%token ETCL_MULT -%token ETCL_DIV -%token ETCL_UMINUS -%token ETCL_INTEGER -%token ETCL_FLOAT -%token ETCL_STRING -%token ETCL_RPAREN -%token ETCL_LPAREN -%token ETCL_RBRA -%token ETCL_LBRA -%token ETCL_IDENT -%token ETCL_UNSIGNED -%token ETCL_SIGNED -%token ETCL_DOUBLE -%token ETCL_CONSTRAINT -%token ETCL_COMPONENT -%token ETCL_WITH -%token ETCL_MAX -%token ETCL_MIN -%token ETCL_FIRST -%token ETCL_RANDOM -%token ETCL_DOLLAR -%token ETCL_DOT -%token ETCL_DISCRIMINANT -%token ETCL_LENGTH -%token ETCL_TYPE_ID -%token ETCL_REPOS_ID - - -%type ETCL_IDENT -%type ETCL_BOOLEAN -%type ETCL_STRING -%type ETCL_FLOAT -%type ETCL_INTEGER -%type expr_in -%type constraint preference bool_or bool_and bool_compare -%type expr_in expr_twiddle expr term factor_not factor -%type union_pos union_val component_array -%type component_array component_assoc component_pos -%type component_dot component_ext component - -%start constraint - -%% - -constraint: bool_or - | preference - ; - -preference: ETCL_MIN bool_or - { $$ = new ETCL_PREFERENCE_CLASS (ETCL_MIN, $2); } - | ETCL_MAX bool_or - { $$ = new ETCL_PREFERENCE_CLASS (ETCL_MAX, $2); } - | ETCL_WITH bool_or - { $$ = new ETCL_PREFERENCE_CLASS (ETCL_WITH, $2); } - | ETCL_FIRST - { $$ = new ETCL_PREFERENCE_CLASS (ETCL_FIRST); } - | ETCL_RANDOM - { $$ = new ETCL_PREFERENCE_CLASS (ETCL_RANDOM); } - ; - -bool_or: bool_or ETCL_OR bool_and - { $$ = new ETCL_BINARY_EXPR_CLASS (ETCL_OR, $1, $3); } - | bool_and - ; - -bool_and: bool_and ETCL_AND bool_compare - { $$ = new ETCL_BINARY_EXPR_CLASS (ETCL_AND, $1, $3); } - | bool_compare - ; - -bool_compare: expr_in ETCL_EQ expr_in - { $$ = new ETCL_BINARY_EXPR_CLASS (ETCL_EQ, $1, $3); } - | expr_in ETCL_NE expr_in - { $$ = new ETCL_BINARY_EXPR_CLASS (ETCL_NE, $1, $3); } - | expr_in ETCL_GT expr_in - { $$ = new ETCL_BINARY_EXPR_CLASS (ETCL_GT, $1, $3); } - | expr_in ETCL_GE expr_in - { $$ = new ETCL_BINARY_EXPR_CLASS (ETCL_GE, $1, $3); } - | expr_in ETCL_LT expr_in - { $$ = new ETCL_BINARY_EXPR_CLASS (ETCL_LT, $1, $3); } - | expr_in ETCL_LE expr_in - { $$ = new ETCL_BINARY_EXPR_CLASS (ETCL_LE, $1, $3); } - | expr_in - ; - -expr_in: expr_twiddle ETCL_IN component - { $$ = new ETCL_BINARY_EXPR_CLASS (ETCL_IN, $1, $3); } - | expr_twiddle ETCL_IN ETCL_DOLLAR component - { $$ = new ETCL_BINARY_EXPR_CLASS (ETCL_IN, $1, $4); } - | expr_twiddle - ; - -expr_twiddle: expr ETCL_TWIDDLE expr - { $$ = new ETCL_BINARY_EXPR_CLASS (ETCL_TWIDDLE, $1, $3); } - | expr - ; - -expr: expr ETCL_PLUS term - { $$ = new ETCL_BINARY_EXPR_CLASS (ETCL_PLUS, $1, $3); } - | expr ETCL_MINUS term - { $$ = new ETCL_BINARY_EXPR_CLASS (ETCL_MINUS, $1, $3); } - | term - ; - -term: term ETCL_MULT factor_not - { $$ = new ETCL_BINARY_EXPR_CLASS (ETCL_MULT, $1, $3); } - | term ETCL_DIV factor_not - { $$ = new ETCL_BINARY_EXPR_CLASS (ETCL_DIV, $1, $3); } - | factor_not - ; - -factor_not: ETCL_NOT factor - { $$ = new ETCL_UNARY_EXPR_CLASS (ETCL_NOT, $2); } - | factor - ; - -factor: ETCL_LPAREN bool_or ETCL_RPAREN - { $$ = $2; } - | ETCL_INTEGER - { $$ = $1; } - | ETCL_PLUS ETCL_INTEGER - { $$ = new ETCL_UNARY_EXPR_CLASS (ETCL_PLUS, $2); } - | ETCL_MINUS ETCL_INTEGER - { $$ = new ETCL_UNARY_EXPR_CLASS (ETCL_MINUS, $2); } - | ETCL_FLOAT - { $$ = $1; } - | ETCL_PLUS ETCL_FLOAT - { $$ = new ETCL_UNARY_EXPR_CLASS (ETCL_PLUS, $2); } - | ETCL_MINUS ETCL_FLOAT - { $$ = new ETCL_UNARY_EXPR_CLASS (ETCL_MINUS, $2); } - | ETCL_STRING - { $$ = $1; } - | ETCL_BOOLEAN - { $$ = $1; } - | ETCL_EXIST ETCL_IDENT - { $$ = new ETCL_EXIST_CLASS ($2); } - | ETCL_EXIST ETCL_DOLLAR component - { $$ = new ETCL_EXIST_CLASS ($3); } - | ETCL_DEFAULT ETCL_DOLLAR component - { $$ = new ETCL_DEFAULT_CLASS ($3); } - | ETCL_DOLLAR component - { $$ = new ETCL_EVAL_CLASS ($2); } - | ETCL_IDENT - { $$ = $1; } - ; - -component: /* empty */ - { $$ = 0; } - | ETCL_DOT component_dot - { $$ = new ETCL_DOT_CLASS ($2); } - - | ETCL_IDENT component_ext - { $$ = new ETCL_COMPONENT_CLASS ($1, $2); } - - | component_array - | component_assoc - ; - -component_ext: /* empty */ - { $$ = 0; } - | ETCL_DOT component_dot - { $$ = new ETCL_Dot ($2); } - - | component_array - | component_assoc - ; - -component_dot: ETCL_IDENT component_ext - { $$ = new ETCL_COMPONENT_CLASS ($1, $2); } - | ETCL_LENGTH - { $$ = new ETCL_SPECIAL_CLASS (ETCL_LENGTH); } - | ETCL_DISCRIMINANT - { $$ = new ETCL_SPECIAL_CLASS (ETCL_DISCRIMINANT); } - | ETCL_TYPE_ID - { $$ = new ETCL_SPECIAL_CLASS (ETCL_TYPE_ID); } - | ETCL_REPOS_ID - { $$ = new ETCL_SPECIAL_CLASS (ETCL_REPOS_ID); } - | component_pos - | union_pos - ; - -component_array: ETCL_LBRA ETCL_INTEGER ETCL_RBRA component_ext - { $$ = new ETCL_COMPONENT_ARRAY_CLASS ($2, $4); } - ; - -component_assoc: ETCL_LPAREN ETCL_IDENT ETCL_RPAREN component_ext - { $$ = new ETCL_COMPONENT_ASSOC_CLASS ($2, $4); } - ; - -component_pos: ETCL_INTEGER component_ext - { $$ = new ETCL_COMPONENT_POS_CLASS ($1, $2); } - ; - -union_pos: ETCL_LPAREN union_val ETCL_RPAREN component_ext - { $$ = new ETCL_UNION_POS_CLASS ($2, $4); } - ; - -union_val: /* empty */ - { $$ = 0; } - | ETCL_INTEGER - { $$ = new ETCL_UNION_VALUE_CLASS (+1, $1); } - | ETCL_PLUS ETCL_INTEGER - { $$ = new ETCL_UNION_VALUE_CLASS (+1, $2); } - | ETCL_MINUS ETCL_INTEGER - { $$ = new ETCL_UNION_VALUE_CLASS (-1, $2); } - | ETCL_STRING - { $$ = new ETCL_UNION_VALUE_CLASS ($1); } - ; - -%% - -ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/ACE_wrappers/ace/ETCL/ETCL_l.cpp.diff b/dep/ACE_wrappers/ace/ETCL/ETCL_l.cpp.diff deleted file mode 100644 index 21f2f6015..000000000 --- a/dep/ACE_wrappers/ace/ETCL/ETCL_l.cpp.diff +++ /dev/null @@ -1,512 +0,0 @@ ---- bison_gen\ETCL_l.cpp 2005-07-19 10:09:28.523824100 -0700 -+++ ETCL_l.cpp 2005-07-19 09:47:22.138585300 -0700 -@@ -1,15 +1,14 @@ -+ - /* A lexical scanner generated by flex */ - - /* Scanner skeleton version: -- * $Header$ -+ * $Id: ETCL_l.cpp.diff 91730 2010-09-13 09:31:11Z johnnyw $ - */ - - #define FLEX_SCANNER - #define YY_FLEX_MAJOR_VERSION 2 - #define YY_FLEX_MINOR_VERSION 5 - --#include -- - - /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ - #ifdef c_plusplus -@@ -21,8 +20,7 @@ - - #ifdef __cplusplus - --#include --#include -+#include "ace/OS_NS_unistd.h" -+#include "ace/OS_NS_stdio.h" - - /* Use prototypes in function declarations. */ - #define YY_USE_PROTOS -@@ -262,8 +260,8 @@ - #define YY_AT_BOL() (yy_current_buffer->yy_at_bol) - - --#define yywrap() 1 --#define YY_SKIP_YYWRAP -+//#define yywrap() 1 -+//#define YY_SKIP_YYWRAP - typedef unsigned char YY_CHAR; - FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; - typedef int yy_state_type; -@@ -444,15 +442,15 @@ - #define YY_MORE_ADJ 0 - #define YY_RESTORE_YY_MORE_OFFSET - char *yytext; --#line 1 "ETCL.ll" -+//#line 1 "ETCL/ETCL.ll" - #define INITIAL 0 --#line 4 "ETCL.ll" -+//#line 4 "ETCL/ETCL.ll" - // $Id: ETCL_l.cpp.diff 91730 2010-09-13 09:31:11Z johnnyw $ - // ======================================================================== - // - // = LIBRARY - // orbsvcs/ECTL --// -+// - // = FILENAME - // ETCL.ll - // -@@ -462,12 +460,12 @@ - // - // ======================================================================== - --#include "ace/OS.h" -- -+#include "ETCL_Interpreter.h" - #include "ETCL_Constraint.h" - #include "ETCL_y.h" - --static const char * extract_string(char*); -+static const char* extract_string(char*); -+//static const char * extract_string(char*); - - #define TAO_YY_LEX_DEBUG - -@@ -475,12 +473,11 @@ - #define TAO_YY_LEX_DEBUG TAO_OS::fprintf(stderr, "%s\n", yytext) - #endif /* TAO_CONSTRAINT_DEBUG */ - --#define YY_DECL int TAO_ETCL_yylex (TAO_ETCL_YYSTYPE *lvalp, void* state) -+//#define YY_DECL int TAO_ETCL_yylex (TAO_ETCL_YYSTYPE *lvalp, void* state) - - #define YY_BREAK - #define YY_NO_UNPUT - --#line 484 "lex.yy.c" - - /* Macros after this point can all be overridden by user definitions in - * section 1. -@@ -494,10 +491,6 @@ - #endif - #endif - --#ifndef YY_NO_UNPUT --static void yyunput YY_PROTO(( int c, char *buf_ptr )); --#endif -- - #ifndef yytext_ptr - static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int )); - #endif -@@ -556,11 +549,11 @@ - - /* Copy whatever the last rule matched to the standard output. */ - --#ifndef ECHO -+#ifndef TAO_ETCL_ECHO - /* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ --#define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) -+#define TAO_ETCL_ECHO (void) fwrite( yytext, yyleng, 1, yyout ) - #endif - - /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, -@@ -628,13 +621,11 @@ - YY_DECL - { - register yy_state_type yy_current_state; -- register char *yy_cp, *yy_bp; -+ register char *yy_cp = 0; -+ register char *yy_bp = 0; - register int yy_act; - --#line 50 "ETCL.ll" -- -- --#line 638 "lex.yy.c" -+//#line 50 "ETCL/ETCL.ll" - - if ( yy_init ) - { -@@ -719,240 +710,239 @@ - - case 1: - YY_RULE_SETUP --#line 52 "ETCL.ll" -+//#line 52 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_MIN; } - YY_BREAK - case 2: - YY_RULE_SETUP --#line 53 "ETCL.ll" -+//#line 53 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_MAX; } - YY_BREAK - case 3: - YY_RULE_SETUP --#line 54 "ETCL.ll" -+//#line 54 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_FIRST; } - YY_BREAK - case 4: - YY_RULE_SETUP --#line 55 "ETCL.ll" -+//#line 55 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_RANDOM; } - YY_BREAK - case 5: - YY_RULE_SETUP --#line 56 "ETCL.ll" -+//#line 56 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_WITH; } - YY_BREAK - case 6: - YY_RULE_SETUP --#line 57 "ETCL.ll" -+//#line 57 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_EXIST; } - YY_BREAK - case 7: - YY_RULE_SETUP --#line 58 "ETCL.ll" -+//#line 58 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_NOT; } - YY_BREAK - case 8: - YY_RULE_SETUP --#line 59 "ETCL.ll" -+//#line 59 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_AND; } - YY_BREAK - case 9: - YY_RULE_SETUP --#line 60 "ETCL.ll" -+//#line 60 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_OR; } - YY_BREAK - case 10: - YY_RULE_SETUP --#line 61 "ETCL.ll" -+//#line 61 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_IN; } - YY_BREAK - case 11: - YY_RULE_SETUP --#line 62 "ETCL.ll" -+//#line 62 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_TWIDDLE; } - YY_BREAK - case 12: - YY_RULE_SETUP --#line 63 "ETCL.ll" -+//#line 63 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_PLUS; } - YY_BREAK - case 13: - YY_RULE_SETUP --#line 64 "ETCL.ll" -+//#line 64 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_MINUS; } - YY_BREAK - case 14: - YY_RULE_SETUP --#line 65 "ETCL.ll" -+//#line 65 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_MULT; } - YY_BREAK - case 15: - YY_RULE_SETUP --#line 66 "ETCL.ll" -+//#line 66 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_DIV; } - YY_BREAK - case 16: - YY_RULE_SETUP --#line 67 "ETCL.ll" -+//#line 67 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_LT; } - YY_BREAK - case 17: - YY_RULE_SETUP --#line 68 "ETCL.ll" -+//#line 68 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_LE; } - YY_BREAK - case 18: - YY_RULE_SETUP --#line 69 "ETCL.ll" -+//#line 69 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_GT; } - YY_BREAK - case 19: - YY_RULE_SETUP --#line 70 "ETCL.ll" -+//#line 70 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_GE; } - YY_BREAK - case 20: - YY_RULE_SETUP --#line 71 "ETCL.ll" -+//#line 71 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_EQ; } - YY_BREAK - case 21: - YY_RULE_SETUP --#line 72 "ETCL.ll" -+//#line 72 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_NE; } - YY_BREAK - case 22: - YY_RULE_SETUP --#line 73 "ETCL.ll" -+//#line 73 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_LPAREN; } - YY_BREAK - case 23: - YY_RULE_SETUP --#line 74 "ETCL.ll" -+//#line 74 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_RPAREN; } - YY_BREAK - case 24: - YY_RULE_SETUP --#line 75 "ETCL.ll" -+//#line 75 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_DOLLAR; } - YY_BREAK - case 25: - YY_RULE_SETUP --#line 76 "ETCL.ll" -+//#line 76 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_DOT; } - YY_BREAK - case 26: - YY_RULE_SETUP --#line 77 "ETCL.ll" -+//#line 77 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_DEFAULT; } - YY_BREAK - case 27: - YY_RULE_SETUP --#line 78 "ETCL.ll" -+//#line 78 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_DISCRIMINANT; } - YY_BREAK - case 28: - YY_RULE_SETUP --#line 79 "ETCL.ll" -+//#line 79 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_TYPE_ID; } - YY_BREAK - case 29: - YY_RULE_SETUP --#line 80 "ETCL.ll" -+//#line 80 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_REPOS_ID; } - YY_BREAK - case 30: - YY_RULE_SETUP --#line 81 "ETCL.ll" -+//#line 81 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_LENGTH; } - YY_BREAK - case 31: - YY_RULE_SETUP --#line 82 "ETCL.ll" -+//#line 82 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_LBRA; } - YY_BREAK - case 32: - YY_RULE_SETUP --#line 83 "ETCL.ll" -+//#line 83 "ETCL/ETCL.ll" - { TAO_YY_LEX_DEBUG; return TAO_ETCL_RBRA; } - YY_BREAK - case 33: - YY_RULE_SETUP --#line 84 "ETCL.ll" --{ -- lvalp->constraint = -+//#line 84 "ETCL/ETCL.ll" -+{ -+ yylval.constraint = - new TAO_ETCL_Literal_Constraint ((CORBA::Boolean) 1); - TAO_YY_LEX_DEBUG; return TAO_ETCL_BOOLEAN; - } - YY_BREAK - case 34: - YY_RULE_SETUP --#line 89 "ETCL.ll" --{ -- lvalp->constraint = -+//#line 89 "ETCL/ETCL.ll" -+{ -+ yylval.constraint = - new TAO_ETCL_Literal_Constraint ((CORBA::Boolean) 0); - TAO_YY_LEX_DEBUG; return TAO_ETCL_BOOLEAN; - } - YY_BREAK - case 35: - YY_RULE_SETUP --#line 94 "ETCL.ll" --{ -- lvalp->constraint = -+//#line 94 "ETCL/ETCL.ll" -+{ -+ yylval.constraint = - new TAO_ETCL_Literal_Constraint (ACE_OS::atoi (yytext)); -- TAO_YY_LEX_DEBUG; return TAO_ETCL_INTEGER; -+ TAO_YY_LEX_DEBUG; return TAO_ETCL_INTEGER; - } - YY_BREAK - case 36: - YY_RULE_SETUP --#line 99 "ETCL.ll" -+//#line 99 "ETCL/ETCL.ll" - { - double v; -- sscanf (yytext, "%lf", &v); -- lvalp->constraint = -+ sscanf (yytext, "%lf", &v); -+ yylval.constraint = - new TAO_ETCL_Literal_Constraint (v); -- TAO_YY_LEX_DEBUG; return TAO_ETCL_FLOAT; -+ TAO_YY_LEX_DEBUG; return TAO_ETCL_FLOAT; - } - YY_BREAK - case 37: - YY_RULE_SETUP --#line 106 "ETCL.ll" --{ -- lvalp->constraint = -- new TAO_ETCL_Literal_Constraint (extract_string (yytext)); -- TAO_YY_LEX_DEBUG; return TAO_ETCL_STRING; -+//#line 106 "ETCL/ETCL.ll" -+{ -+ yylval.constraint = -+ new TAO_ETCL_Literal_Constraint (extract_string(yytext)); -+ TAO_YY_LEX_DEBUG; return TAO_ETCL_STRING; - } - YY_BREAK - case 38: - YY_RULE_SETUP --#line 111 "ETCL.ll" --{ -- lvalp->constraint = -+//#line 111 "ETCL/ETCL.ll" -+{ -+ yylval.constraint = - new TAO_ETCL_Identifier (yytext); -- TAO_YY_LEX_DEBUG; return TAO_ETCL_IDENT; -+ TAO_YY_LEX_DEBUG; return TAO_ETCL_IDENT; - } - YY_BREAK - case 39: - YY_RULE_SETUP --#line 116 "ETCL.ll" --{ -+//#line 116 "ETCL/ETCL.ll" -+{ - TAO_YY_LEX_DEBUG; break; // Ignore - } - YY_BREAK - case 40: - YY_RULE_SETUP --#line 119 "ETCL.ll" --{ -+//#line 119 "ETCL/ETCL.ll" -+{ - TAO_YY_LEX_DEBUG; break; // @@ TODO - } - YY_BREAK - case 41: - YY_RULE_SETUP --#line 122 "ETCL.ll" --ECHO; -+//#line 122 "ETCL/ETCL.ll" -+TAO_ETCL_ECHO; - YY_BREAK --#line 956 "lex.yy.c" - case YY_STATE_EOF(INITIAL): - yyterminate(); - -@@ -1288,7 +1278,7 @@ - return yy_is_jam ? 0 : yy_current_state; - } - -- -+#if 0 - #ifndef YY_NO_UNPUT - #ifdef YY_USE_PROTOS - static void yyunput( int c, register char *yy_bp ) -@@ -1332,7 +1322,7 @@ - yy_c_buf_p = yy_cp; - } - #endif /* ifndef YY_NO_UNPUT */ -- -+#endif /* 0 */ - - #ifdef __cplusplus - static int yyinput() -@@ -1406,6 +1396,11 @@ - return c; - } - -+void yyflush_current_buffer (void) -+{ -+ YY_FLUSH_BUFFER; -+} -+ - - #ifdef YY_USE_PROTOS - void yyrestart( FILE *input_file ) -@@ -1516,11 +1511,6 @@ - } - - --#ifndef YY_ALWAYS_INTERACTIVE --#ifndef YY_NEVER_INTERACTIVE --extern int isatty YY_PROTO(( int )); --#endif --#endif - - #ifdef YY_USE_PROTOS - void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) -@@ -1537,15 +1527,18 @@ - b->yy_input_file = file; - b->yy_fill_buffer = 1; - --#if YY_ALWAYS_INTERACTIVE -- b->yy_is_interactive = 1; --#else --#if YY_NEVER_INTERACTIVE -- b->yy_is_interactive = 0; -+#if defined (ACE_HAS_WINCE) -+ // Mimic the behavior as WinCE does not have isatty(). -+ if ((file != 0) && (file == ACE_OS::fileno(file))) { -+ b->yy_is_interactive = 1; -+ } -+ else { -+ b->yy_is_interactive = 0; -+ } - #else - b->yy_is_interactive = file ? (ACE_OS::isatty( ACE_OS::fileno(file) ) > 0) : 0; --#endif --#endif -+#endif // ACE_HAS_WINCE -+ - } - - -@@ -1838,7 +1831,7 @@ - return 0; - } - #endif --#line 122 "ETCL.ll" -+//#line 122 "ETCL/ETCL.ll" - - - const char* diff --git a/dep/ACE_wrappers/ace/ETCL/ETCL_vc10.sln b/dep/ACE_wrappers/ace/ETCL/ETCL_vc10.sln deleted file mode 100644 index db153b910..000000000 --- a/dep/ACE_wrappers/ace/ETCL/ETCL_vc10.sln +++ /dev/null @@ -1,46 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -# $Id: VC10WorkspaceCreator.pm 1890 2010-08-24 19:48:23Z mitza $ -# -# This file was generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -# MPC Command: -# /tmp/DOC_ROOT/stage-1367/ACE_wrappers/bin/mwc.pl -type vc10 -recurse -hierarchy -relative ACE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers -relative TAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO -relative CIAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/CIAO -relative DANCE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/DAnCE -name_modifier "*_vc10" -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ACE_ETCL_Parser", "ACE_ETCL_Parser_vc10.vcxproj", "{42B1A787-FECA-1BAD-007E-8A67757B007A}" - ProjectSection(ProjectDependencies) = postProject - {17692659-FECA-1BAD-007E-8A67757B007A} = {17692659-FECA-1BAD-007E-8A67757B007A} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ACE_ETCL", "ACE_ETCL_vc10.vcxproj", "{17692659-FECA-1BAD-007E-8A67757B007A}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Debug|Win32.ActiveCfg = Debug|Win32 - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Debug|Win32.Build.0 = Debug|Win32 - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Debug|x64.ActiveCfg = Debug|x64 - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Debug|x64.Build.0 = Debug|x64 - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Release|Win32.ActiveCfg = Release|Win32 - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Release|Win32.Build.0 = Release|Win32 - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Release|x64.ActiveCfg = Release|x64 - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Release|x64.Build.0 = Release|x64 - {17692659-FECA-1BAD-007E-8A67757B007A}.Debug|Win32.ActiveCfg = Debug|Win32 - {17692659-FECA-1BAD-007E-8A67757B007A}.Debug|Win32.Build.0 = Debug|Win32 - {17692659-FECA-1BAD-007E-8A67757B007A}.Debug|x64.ActiveCfg = Debug|x64 - {17692659-FECA-1BAD-007E-8A67757B007A}.Debug|x64.Build.0 = Debug|x64 - {17692659-FECA-1BAD-007E-8A67757B007A}.Release|Win32.ActiveCfg = Release|Win32 - {17692659-FECA-1BAD-007E-8A67757B007A}.Release|Win32.Build.0 = Release|Win32 - {17692659-FECA-1BAD-007E-8A67757B007A}.Release|x64.ActiveCfg = Release|x64 - {17692659-FECA-1BAD-007E-8A67757B007A}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/dep/ACE_wrappers/ace/ETCL/ETCL_y.cpp.diff b/dep/ACE_wrappers/ace/ETCL/ETCL_y.cpp.diff deleted file mode 100644 index c27e66916..000000000 --- a/dep/ACE_wrappers/ace/ETCL/ETCL_y.cpp.diff +++ /dev/null @@ -1,607 +0,0 @@ ---- bison_gen\ETCL_y.cpp 2005-07-19 09:56:06.368807400 -0700 -+++ ETCL_y.cpp 2005-07-19 09:45:00.160274900 -0700 -@@ -1,5 +1,6 @@ -+// $Id: ETCL_y.cpp.diff 81528 2008-04-29 18:21:43Z parsons $ - --/* A Bison parser, made from ETCL.yy -+/* A Bison parser, made from ETCL/ETCL.yy - by GNU Bison version 1.28 */ - - #define YYBISON 1 /* Identify Bison output. */ -@@ -48,9 +49,9 @@ - #define TAO_ETCL_TYPE_ID 298 - #define TAO_ETCL_REPOS_ID 299 - --#line 1 "ETCL.yy" -+//#line 1 "ETCL/ETCL.yy" - --// ETCL.yy,v 1.3 2002/01/14 19:52:28 parsons Exp -+// $Id: ETCL_y.cpp.diff 81528 2008-04-29 18:21:43Z parsons $ - // ======================================================================== - // - // = LIBRARY -@@ -70,6 +71,7 @@ - #include "ETCL_Interpreter.h" - - extern int yylex (void); -+extern void yyflush_current_buffer (void); - - static void yyerror (const char *) - { -@@ -77,9 +79,6 @@ - // Ignore error messages - } - --#ifndef YYSTYPE --#define YYSTYPE int --#endif - #include - - #ifndef __cplusplus -@@ -293,8 +292,9 @@ - -1, -1, 29, 3, 4, 5, 6, 7, 8, -1, - -1, -1, -1, 40, 49, 50, 51, 52, 53, 54 - }; --/* -*-C-*- Note some compilers choke on comments on `#line' lines. */ --#line 3 "/usr/local/share/bison.simple" -+/* -*-C-*- Note some compilers choke on comments on `//#line' lines. */ -+//#line 3 "/pkg/gnu/share/bison.simple" -+/* This file comes from bison-1.28. */ - - /* Skeleton output parser for bison, - Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc. -@@ -311,46 +311,66 @@ - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software -- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -+ Foundation, Inc., 59 Temple Place - Suite 330, -+ Boston, MA 02111-1307, USA. */ - - /* As a special exception, when this file is copied by Bison into a - Bison output file, you may use that output file without restriction. - This special exception was added by the Free Software Foundation - in version 1.24 of Bison. */ - --#ifndef alloca -+/* This is the parser code that is written into each bison parser -+ when the %semantic_parser declaration is not specified in the grammar. -+ It was written by Richard Stallman by simplifying the hairy parser -+ used when %semantic_parser is specified. */ -+ -+#ifndef YYSTACK_USE_ALLOCA -+#ifdef alloca -+#define YYSTACK_USE_ALLOCA -+#else /* alloca not defined */ - #ifdef __GNUC__ -+#define YYSTACK_USE_ALLOCA - #define alloca __builtin_alloca - #else /* not GNU C. */ --#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) -+#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) || (defined (__sun) && defined (__i386)) -+#define YYSTACK_USE_ALLOCA - #include - #else /* not sparc */ --#if defined (MSDOS) && !defined (__TURBOC__) -+/* We think this test detects Watcom and Microsoft C. */ -+/* This used to test MSDOS, but that is a bad idea -+ since that symbol is in the user namespace. */ -+#if (defined (_MSDOS) || defined (_MSDOS_)) && !defined (__TURBOC__) -+#if 0 /* No need for malloc.h, which pollutes the namespace; -+ instead, just don't use alloca. */ - #include -+#endif - #else /* not MSDOS, or __TURBOC__ */ - #if defined(_AIX) --#include -+/* I don't know what this was needed for, but it pollutes the namespace. -+ So I turned it off. rms, 2 May 1997. */ -+/* #include */ - #pragma alloca --#else /* not MSDOS, __TURBOC__, or _AIX */ --#ifdef __hpux --#ifdef __cplusplus --extern "C" { --void *alloca (unsigned int); --}; --#else /* not __cplusplus */ --void *alloca (); --#endif /* not __cplusplus */ -+#define YYSTACK_USE_ALLOCA -+#else /* not MSDOS, or __TURBOC__, or _AIX */ -+#if 0 -+#ifdef __hpux /* haible@ilog.fr says this works for HPUX 9.05 and up, -+ and on HPUX 10. Eventually we can turn this on. */ -+#define YYSTACK_USE_ALLOCA -+#define alloca __builtin_alloca - #endif /* __hpux */ -+#endif - #endif /* not _AIX */ - #endif /* not MSDOS, or __TURBOC__ */ --#endif /* not sparc. */ --#endif /* not GNU C. */ --#endif /* alloca not defined. */ -+#endif /* not sparc */ -+#endif /* not GNU C */ -+#endif /* alloca not defined */ -+#endif /* YYSTACK_USE_ALLOCA not defined */ - --/* This is the parser code that is written into each bison parser -- when the %semantic_parser declaration is not specified in the grammar. -- It was written by Richard Stallman by simplifying the hairy parser -- used when %semantic_parser is specified. */ -+#ifdef YYSTACK_USE_ALLOCA -+#define YYSTACK_ALLOC alloca -+#else -+#define YYSTACK_ALLOC malloc -+#endif - - /* Note: there must be only one dollar sign in this file. - It is replaced by the list of actions, each action -@@ -360,8 +380,8 @@ - #define yyclearin (yychar = YYEMPTY) - #define YYEMPTY -2 - #define YYEOF 0 --#define YYACCEPT return(0) --#define YYABORT return(1) -+#define YYACCEPT goto yyacceptlab -+#define YYABORT goto yyabortlab - #define YYERROR goto yyerrlab1 - /* Like YYERROR except do call yyerror. - This remains here temporarily to ease the -@@ -411,6 +431,10 @@ - int yychar; /* the lookahead symbol */ - YYSTYPE yylval; /* the semantic value of the */ - /* lookahead symbol */ -+YYSTYPE yyval; /* the variable used to return */ -+ /* semantic values from the action */ -+ /* routines */ -+ - - #ifdef YYLSP_NEEDED - YYLTYPE yylloc; /* location data for the lookahead */ -@@ -443,11 +467,11 @@ - #define YYMAXDEPTH 10000 - #endif - --/* Prevent warning if -Wstrict-prototypes. */ --#ifdef __GNUC__ --int yyparse (void); --#endif -- -+/* Define __yy_memcpy. Note that the size argument -+ should be passed with type unsigned int, because that is what the non-GCC -+ definitions require. With GCC, __builtin_memcpy takes an arg -+ of type size_t, but it can handle unsigned int. */ -+ - #if __GNUC__ > 1 /* GNU C and GNU C++ define this. */ - #define __yy_memcpy(TO,FROM,COUNT) __builtin_memcpy(TO,FROM,COUNT) - #else /* not GNU C or C++ */ -@@ -459,7 +483,7 @@ - __yy_memcpy (to, from, count) - char *to; - char *from; -- int count; -+ unsigned int count; - { - register char *f = from; - register char *t = to; -@@ -474,10 +498,10 @@ - /* This is the most reliable way to avoid incompatibilities - in available built-in functions on various systems. */ - static void --__yy_memcpy (char *to, char *from, int count) -+__yy_memcpy (char *to, char *from, unsigned int count) - { -- register char *f = from; - register char *t = to; -+ register char *f = from; - register int i = count; - - while (i-- > 0) -@@ -486,8 +510,8 @@ - - #endif - #endif -- --#line 196 "/usr/local/share/bison.simple" -+ -+//#line 217 "/pkg/gnu/share/bison.simple" - - /* The user can define YYPARSE_PARAM as the name of an argument to be passed - into yyparse. The argument should have type void *. -@@ -508,6 +532,15 @@ - #define YYPARSE_PARAM_DECL - #endif /* not YYPARSE_PARAM */ - -+/* Prevent warning if -Wstrict-prototypes. */ -+#ifdef __GNUC__ -+#ifdef YYPARSE_PARAM -+int yyparse (void *); -+#else -+int yyparse (void); -+#endif -+#endif -+ - int - yyparse(YYPARSE_PARAM_ARG) - YYPARSE_PARAM_DECL -@@ -536,6 +569,7 @@ - #endif - - int yystacksize = YYINITDEPTH; -+ int yyfree_stacks = 0; - - #ifdef YYPURE - int yychar; -@@ -546,10 +580,6 @@ - #endif - #endif - -- YYSTYPE yyval; /* the variable used to return */ -- /* semantic values from the action */ -- /* routines */ -- - int yylen; - - #if YYDEBUG != 0 -@@ -620,18 +650,32 @@ - if (yystacksize >= YYMAXDEPTH) - { - yyerror("parser stack overflow"); -+ if (yyfree_stacks) -+ { -+ free (yyss); -+ free (yyvs); -+#ifdef YYLSP_NEEDED -+ free (yyls); -+#endif -+ } - return 2; - } - yystacksize *= 2; - if (yystacksize > YYMAXDEPTH) - yystacksize = YYMAXDEPTH; -- yyss = (short *) alloca (yystacksize * sizeof (*yyssp)); -- __yy_memcpy ((char *)yyss, (char *)yyss1, size * sizeof (*yyssp)); -- yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp)); -- __yy_memcpy ((char *)yyvs, (char *)yyvs1, size * sizeof (*yyvsp)); -+#ifndef YYSTACK_USE_ALLOCA -+ yyfree_stacks = 1; -+#endif -+ yyss = (short *) YYSTACK_ALLOC (yystacksize * sizeof (*yyssp)); -+ __yy_memcpy ((char *)yyss, (char *)yyss1, -+ size * (unsigned int) sizeof (*yyssp)); -+ yyvs = (YYSTYPE *) YYSTACK_ALLOC (yystacksize * sizeof (*yyvsp)); -+ __yy_memcpy ((char *)yyvs, (char *)yyvs1, -+ size * (unsigned int) sizeof (*yyvsp)); - #ifdef YYLSP_NEEDED -- yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp)); -- __yy_memcpy ((char *)yyls, (char *)yyls1, size * sizeof (*yylsp)); -+ yyls = (YYLTYPE *) YYSTACK_ALLOC (yystacksize * sizeof (*yylsp)); -+ __yy_memcpy ((char *)yyls, (char *)yyls1, -+ size * (unsigned int) sizeof (*yylsp)); - #endif - #endif /* no yyoverflow */ - -@@ -792,225 +836,225 @@ - switch (yyn) { - - case 3: --#line 97 "ETCL.yy" -+//#line 97 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Preference (TAO_ETCL_MIN, yyvsp[0].constraint); ; - break;} - case 4: --#line 99 "ETCL.yy" -+//#line 99 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Preference (TAO_ETCL_MAX, yyvsp[0].constraint); ; - break;} - case 5: --#line 101 "ETCL.yy" -+//#line 101 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Preference (TAO_ETCL_WITH, yyvsp[0].constraint); ; - break;} - case 6: --#line 103 "ETCL.yy" -+//#line 103 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Preference (TAO_ETCL_FIRST); ; - break;} - case 7: --#line 105 "ETCL.yy" -+//#line 105 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Preference (TAO_ETCL_RANDOM); ; - break;} - case 8: --#line 109 "ETCL.yy" -+//#line 109 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Binary_Expr (TAO_ETCL_OR, yyvsp[-2].constraint, yyvsp[0].constraint); ; - break;} - case 10: --#line 114 "ETCL.yy" -+//#line 114 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Binary_Expr (TAO_ETCL_AND, yyvsp[-2].constraint, yyvsp[0].constraint); ; - break;} - case 12: --#line 119 "ETCL.yy" -+//#line 119 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Binary_Expr (TAO_ETCL_EQ, yyvsp[-2].constraint, yyvsp[0].constraint); ; - break;} - case 13: --#line 121 "ETCL.yy" -+//#line 121 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Binary_Expr (TAO_ETCL_NE, yyvsp[-2].constraint, yyvsp[0].constraint); ; - break;} - case 14: --#line 123 "ETCL.yy" -+//#line 123 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Binary_Expr (TAO_ETCL_GT, yyvsp[-2].constraint, yyvsp[0].constraint); ; - break;} - case 15: --#line 125 "ETCL.yy" -+//#line 125 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Binary_Expr (TAO_ETCL_GE, yyvsp[-2].constraint, yyvsp[0].constraint); ; - break;} - case 16: --#line 127 "ETCL.yy" -+//#line 127 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Binary_Expr (TAO_ETCL_LT, yyvsp[-2].constraint, yyvsp[0].constraint); ; - break;} - case 17: --#line 129 "ETCL.yy" -+//#line 129 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Binary_Expr (TAO_ETCL_LE, yyvsp[-2].constraint, yyvsp[0].constraint); ; - break;} - case 19: --#line 134 "ETCL.yy" -+//#line 134 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Binary_Expr (TAO_ETCL_IN, yyvsp[-2].constraint, yyvsp[0].constraint); ; - break;} - case 20: --#line 136 "ETCL.yy" -+//#line 136 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Binary_Expr (TAO_ETCL_IN, yyvsp[-3].constraint, yyvsp[0].constraint); ; - break;} - case 22: --#line 141 "ETCL.yy" -+//#line 141 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Binary_Expr (TAO_ETCL_TWIDDLE, yyvsp[-2].constraint, yyvsp[0].constraint); ; - break;} - case 24: --#line 146 "ETCL.yy" -+//#line 146 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Binary_Expr (TAO_ETCL_PLUS, yyvsp[-2].constraint, yyvsp[0].constraint); ; - break;} - case 25: --#line 148 "ETCL.yy" -+//#line 148 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Binary_Expr (TAO_ETCL_MINUS, yyvsp[-2].constraint, yyvsp[0].constraint); ; - break;} - case 27: --#line 153 "ETCL.yy" -+//#line 153 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Binary_Expr (TAO_ETCL_MULT, yyvsp[-2].constraint, yyvsp[0].constraint); ; - break;} - case 28: --#line 155 "ETCL.yy" -+//#line 155 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Binary_Expr (TAO_ETCL_DIV, yyvsp[-2].constraint, yyvsp[0].constraint); ; - break;} - case 30: --#line 160 "ETCL.yy" -+//#line 160 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Unary_Expr (TAO_ETCL_NOT, yyvsp[0].constraint); ; - break;} - case 32: --#line 165 "ETCL.yy" -+//#line 165 "ETCL/ETCL.yy" - { yyval.constraint = yyvsp[-1].constraint; ; - break;} - case 33: --#line 167 "ETCL.yy" -+//#line 167 "ETCL/ETCL.yy" - { yyval.constraint = yyvsp[0].constraint; ; - break;} - case 34: --#line 169 "ETCL.yy" -+//#line 169 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Unary_Expr (TAO_ETCL_PLUS, yyvsp[0].constraint); ; - break;} - case 35: --#line 171 "ETCL.yy" -+//#line 171 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Unary_Expr (TAO_ETCL_MINUS, yyvsp[0].constraint); ; - break;} - case 36: --#line 173 "ETCL.yy" -+//#line 173 "ETCL/ETCL.yy" - { yyval.constraint = yyvsp[0].constraint; ; - break;} - case 37: --#line 175 "ETCL.yy" -+//#line 175 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Unary_Expr (TAO_ETCL_PLUS, yyvsp[0].constraint); ; - break;} - case 38: --#line 177 "ETCL.yy" -+//#line 177 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Unary_Expr (TAO_ETCL_MINUS, yyvsp[0].constraint); ; - break;} - case 39: --#line 179 "ETCL.yy" -+//#line 179 "ETCL/ETCL.yy" - { yyval.constraint = yyvsp[0].constraint; ; - break;} - case 40: --#line 181 "ETCL.yy" -+//#line 181 "ETCL/ETCL.yy" - { yyval.constraint = yyvsp[0].constraint; ; - break;} - case 41: --#line 183 "ETCL.yy" -+//#line 183 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Exist (yyvsp[0].constraint); ; - break;} - case 42: --#line 185 "ETCL.yy" -+//#line 185 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Exist (yyvsp[0].constraint); ; - break;} - case 43: --#line 187 "ETCL.yy" -+//#line 187 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Default (yyvsp[0].constraint); ; - break;} - case 44: --#line 189 "ETCL.yy" -+//#line 189 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Eval (yyvsp[0].constraint); ; - break;} - case 45: --#line 191 "ETCL.yy" -+//#line 191 "ETCL/ETCL.yy" - { yyval.constraint = yyvsp[0].constraint; ; - break;} - case 46: --#line 195 "ETCL.yy" -+//#line 195 "ETCL/ETCL.yy" - { yyval.constraint = 0; ; - break;} - case 47: --#line 197 "ETCL.yy" -+//#line 197 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Dot (yyvsp[0].constraint); ; - break;} - case 48: --#line 200 "ETCL.yy" -+//#line 200 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Component (yyvsp[-1].constraint, yyvsp[0].constraint); ; - break;} - case 51: --#line 207 "ETCL.yy" -+//#line 207 "ETCL/ETCL.yy" - { yyval.constraint = 0; ; - break;} - case 52: --#line 209 "ETCL.yy" -+//#line 209 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Dot (yyvsp[0].constraint); ; - break;} - case 55: --#line 216 "ETCL.yy" -+//#line 216 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Component (yyvsp[-1].constraint, yyvsp[0].constraint); ; - break;} - case 56: --#line 218 "ETCL.yy" -+//#line 218 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Special (TAO_ETCL_LENGTH); ; - break;} - case 57: --#line 220 "ETCL.yy" -+//#line 220 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Special (TAO_ETCL_DISCRIMINANT); ; - break;} - case 58: --#line 222 "ETCL.yy" -+//#line 222 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Special (TAO_ETCL_TYPE_ID); ; - break;} - case 59: --#line 224 "ETCL.yy" -+//#line 224 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Special (TAO_ETCL_REPOS_ID); ; - break;} - case 62: --#line 230 "ETCL.yy" -+//#line 230 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Component_Array (yyvsp[-2].constraint, yyvsp[0].constraint); ; - break;} - case 63: --#line 234 "ETCL.yy" -+//#line 234 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Component_Assoc (yyvsp[-2].constraint, yyvsp[0].constraint); ; - break;} - case 64: --#line 238 "ETCL.yy" -+//#line 238 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Component_Pos (yyvsp[-1].constraint, yyvsp[0].constraint); ; - break;} - case 65: --#line 242 "ETCL.yy" -+//#line 242 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Union_Pos (yyvsp[-2].constraint, yyvsp[0].constraint); ; - break;} - case 66: --#line 246 "ETCL.yy" -+//#line 246 "ETCL/ETCL.yy" - { yyval.constraint = 0; ; - break;} - case 67: --#line 248 "ETCL.yy" -+//#line 248 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Union_Value (+1, yyvsp[0].constraint); ; - break;} - case 68: --#line 250 "ETCL.yy" -+//#line 250 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Union_Value (+1, yyvsp[0].constraint); ; - break;} - case 69: --#line 252 "ETCL.yy" -+//#line 252 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Union_Value (-1, yyvsp[0].constraint); ; - break;} - case 70: --#line 254 "ETCL.yy" -+//#line 254 "ETCL/ETCL.yy" - { yyval.constraint = new TAO_ETCL_Union_Value (yyvsp[0].constraint); ; - break;} - } - /* the action file gets copied in in place of this dollarsign */ --#line 498 "/usr/local/share/bison.simple" -- -+//#line 543 "/pkg/gnu/share/bison.simple" -+ - yyvsp -= yylen; - yyssp -= yylen; - #ifdef YYLSP_NEEDED -@@ -1204,7 +1248,37 @@ - - yystate = yyn; - goto yynewstate; -+ -+ yyacceptlab: -+ /* YYACCEPT comes here. */ -+ if (yyfree_stacks) -+ { -+ free (yyss); -+ free (yyvs); -+#ifdef YYLSP_NEEDED -+ free (yyls); -+#endif -+ } -+ return 0; -+ -+ yyabortlab: -+ /* YYABORT comes here. */ -+ -+ /* Flush out yy_current_buffer before next parse. Since there is -+ no error recovery, the buffer could still contain tokens from this -+ parse. */ -+ yyflush_current_buffer(); -+ -+ if (yyfree_stacks) -+ { -+ free (yyss); -+ free (yyvs); -+#ifdef YYLSP_NEEDED -+ free (yyls); -+#endif -+ } -+ return 1; - } --#line 257 "ETCL.yy" -+//#line 257 "ETCL/ETCL.yy" - - diff --git a/dep/ACE_wrappers/ace/ETCL/ETCL_y.h.diff b/dep/ACE_wrappers/ace/ETCL/ETCL_y.h.diff deleted file mode 100644 index f2789ab8d..000000000 --- a/dep/ACE_wrappers/ace/ETCL/ETCL_y.h.diff +++ /dev/null @@ -1,25 +0,0 @@ ---- ETCL_y.h Mon Nov 12 16:07:25 2001 -+++ ETCL_y.h.safe Thu Oct 11 20:53:13 2001 -@@ -1,7 +1,4 @@ - // $Id: ETCL_y.h.diff 81528 2008-04-29 18:21:43Z parsons $ --#ifndef YYSTYPE --#define YYSTYPE int --#endif - #define TAO_ETCL_GT 257 - #define TAO_ETCL_GE 258 - #define TAO_ETCL_LT 259 -@@ -33,7 +30,7 @@ - #define TAO_ETCL_SIGNED 285 - #define TAO_ETCL_DOUBLE 286 - #define TAO_ETCL_CONSTRAINT 287 --#define TAO_ETCL_SEQUENCE 288 -+#define TAO_ETCL_COMPONENT 288 - #define TAO_ETCL_WITH 289 - #define TAO_ETCL_MAX 290 - #define TAO_ETCL_MIN 291 -@@ -46,5 +43,3 @@ - #define TAO_ETCL_TYPE_ID 298 - #define TAO_ETCL_REPOS_ID 299 - -- --extern YYSTYPE yylval; diff --git a/dep/ACE_wrappers/ace/ETCL/GNUmakefile b/dep/ACE_wrappers/ace/ETCL/GNUmakefile deleted file mode 100644 index fc8ea4401..000000000 --- a/dep/ACE_wrappers/ace/ETCL/GNUmakefile +++ /dev/null @@ -1,41 +0,0 @@ -# -*- makefile -*- -#---------------------------------------------------------------------------- -# GNU ACE Workspace -# -# $Id: GNUACEWorkspaceCreator.pm 91813 2010-09-17 07:52:52Z johnnyw $ -# -# This file was generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -# MPC Command: -# /tmp/DOC_ROOT/stage-1367/ACE_wrappers/bin/mwc.pl -type gnuace -exclude "TAO/TAO_*.mwc,TAO/CIAO/CIAO_*.mwc" -recurse -hierarchy -relative ACE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers -relative TAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO -relative CIAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/CIAO -relative DANCE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/DAnCE -# -#---------------------------------------------------------------------------- - -MAKEFILE = GNUmakefile - -ifeq ($(findstring k,$(MAKEFLAGS)),k) - KEEP_GOING = - -endif - -include $(ACE_ROOT)/include/makeinclude/macros.GNU - -all: ACE_ETCL ACE_ETCL_Parser - -REMAINING_TARGETS := $(filter-out all,$(TARGETS_NESTED:.nested=)) $(CUSTOM_TARGETS) - -$(REMAINING_TARGETS): - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.ACE_ETCL $(@) - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.ACE_ETCL_Parser $(@) - -.PHONY: ACE_ETCL -ACE_ETCL: - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.ACE_ETCL all - -.PHONY: ACE_ETCL_Parser -ACE_ETCL_Parser: ACE_ETCL - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.ACE_ETCL_Parser all - -project_name_list: - @echo ACE_ETCL - @echo ACE_ETCL_Parser diff --git a/dep/ACE_wrappers/ace/ETCL/GNUmakefile.ACE_ETCL b/dep/ACE_wrappers/ace/ETCL/GNUmakefile.ACE_ETCL deleted file mode 100644 index 4505fcc77..000000000 --- a/dep/ACE_wrappers/ace/ETCL/GNUmakefile.ACE_ETCL +++ /dev/null @@ -1,230 +0,0 @@ -# -*- Makefile -*- -#---------------------------------------------------------------------------- -# GNU Makefile -# -# @file GNUmakefile.ACE_ETCL -# -# $Id: gnu.mpd 91974 2010-09-23 16:17:42Z mitza $ -# -# This file was automatically generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -#---------------------------------------------------------------------------- -MAKEFILE = GNUmakefile.ACE_ETCL -DEPENDENCY_FILE = .depend.ACE_ETCL - -LIB_PREFIX ?= lib - -## LIB_CHECKED may be set to empty later on in this file -LIB_UNCHECKED = $(LIB_PREFIX)ACE_ETCL.$(LIBEXT) -LIB_CHECKED = $(LIB_UNCHECKED) -LIB_NAME = $(LIB_PREFIX)ACE_ETCL - -## SHLIB may be set to empty later on in this file -SHLIB_UNCHECKED = $(LIB_PREFIX)ACE_ETCL.$(SOEXT) -SHLIB = $(SHLIB_UNCHECKED) - -FILES = \ - ETCL_Constraint.cpp \ - ETCL_Constraint_Visitor.cpp - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- -ACE_SHLIBS = -lACE - -PRJ_TYPE = library - -COLLAPSE_SLASHES = $(if $(findstring //,$(1)),$(call COLLAPSE_SLASHES,$(subst //,/,$(1))),$(1)) -INSLIB ?= $(call COLLAPSE_SLASHES,../../lib) -ifeq ($(INSLIB),.) - ifeq ($(CURDIR),) - ifeq ($(PWD),) - PWD=$(shell pwd) - endif - else - PWD=$(CURDIR) - endif - INSLIB = $(PWD) -endif -OUTPUT_DIRECTORY = $(INSLIB) - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU - - -GNUACE_PROJECT_VERSION ?= $(ACE_VERSION) - -# To build multiple targets in the same directory on AIX, it works -# best to have a template directory per project. -# The compiler/linker isn't too smart about instantiating templates... -ifdef TEMPINCDIR -TEMPINCDIR := $(TEMPINCDIR)/ACE_ETCL -all: $(TEMPINCDIR) -endif - -ifneq ($(OUTPUT_DIRECTORY),) -.PHONY: create_output_directory.local -all: create_output_directory.local -create_output_directory.local: - -@$(MKDIR) "$(OUTPUT_DIRECTORY)" $(ACE_NUL_STDERR) -endif - -# turn off libcheck if doing a dry run -ifeq ($(findstring n, $(MAKEFLAGS)),n) - LIBCHECK = 1 -else - # turn off libcheck if keep going was passed too - ifeq ($(findstring k, $(MAKEFLAGS)),k) - LIBCHECK = 1 - else - LIBCHECK ?= $(filter-out $(foreach lib,ACE,$(findstring $(lib),$(foreach libpath,. $(if $(ARCH),./$(ARCH)) ../../lib $(if $(ARCH),../../lib/$(ARCH)) /usr/lib /usr/lib64 $(INSLIB),$(wildcard $(libpath)/$(LIB_PREFIX)$(lib).* $(libpath)/$(lib).lib)))),ACE) - ifeq ($(LIBCHECK),) - LIBCHECK = 1 - endif - endif -endif -ifneq ($(LIBCHECK), 1) - LIB_CHECKED = - SHLIB = - all: lib_warning -endif - -LSRC = $(FILES) - -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -ifeq ($(VXWORKSLINK),1) -include $(TGT_DIR)/h/make/rules.$(PRJ_TYPE) -endif - -ifeq ($(VXWORKSLINK),1) -LDLIBPATH = -L. -L../../lib -else -LDFLAGS += -L. $(if $(ARCH),-L./$(ARCH)) -L../../lib $(if $(ARCH),-L../../lib/$(ARCH)) -endif -CPPFLAGS += -I../.. -ifeq ($(shared_libs),1) - ifneq ($(SHLIB),) - CPPFLAGS += -DACE_ETCL_BUILD_DLL - endif -endif -ifeq ($(static_libs),1) - CPPFLAGS += -DACE_AS_STATIC_LIBS -endif - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- -lib_warning: - @echo ACE_ETCL will not be built due to the following missing library: $(LIBCHECK) >&2 - -## Some OS's have /bin/test others only have /usr/bin/test -ifeq ($(wildcard /bin/test), /bin/test) - TEST_EXE = /bin/test -else -ifeq ($(wildcard /usr/bin/test), /usr/bin/test) - TEST_EXE = /usr/bin/test -endif -endif - -SPACE = $(should_be_unset) $(should_be_unset) -ifneq ($(GENERATED_DIRTY),) -.PRECIOUS: $(GENERATED_DIRTY) -## If the generated files are anything but source files, we need to -## ensure that those files are generated before we attempt to build anything -## else. -ifeq ($(OBJS_DEPEND_ON_GENERATED),1) -$(VDIR)$(ACE_PCH_FILE) $(addprefix $(VDIR), $(OBJS)): $(GENERATED_DIRTY) -$(VSHDIR)$(ACE_PCH_FILE) $(VSHOBJS): $(GENERATED_DIRTY) -endif -endif - - -realclean: clean -ifneq ($(GENERATED_DIRTY),) - -$(RM) -r $(GENERATED_DIRTY) -endif - -__prebuild__: - @-: - - -.PHONY: install -install: all -INSTALL_LIB ?= lib -ifneq ($(INSTALL_PREFIX),) -ifneq ($(install_rpath),0) -LDFLAGS += -Wl,-R$(INSTALL_PREFIX)/$(INSTALL_LIB) -endif -endif - -PRJINST_OPTIONS ?= -INST_DIR ?= /ace/ETCL -COMMA = , -SPACE = $(should_be_unset) $(should_be_unset) -INSTALLER ?= $(MPC_ROOT)/prj_install.pl -CUSTOM_INST_TAGS = $(sort ) - -LIB_INST_TAGS = header_files template_files$(if $(findstring 1,$(inline)), inline_files)$(if $(CUSTOM_INST_TAGS), $(CUSTOM_INST_TAGS)) -LIB_INST_LOCATIONS = $(foreach tag,$(LIB_INST_TAGS),-b $(tag)=include$(INST_DIR)) - -INST_TAGS = lib_output$(if $(LIB_INST_TAGS), $(LIB_INST_TAGS)) -INST_LOCATIONS = $(LIB_INST_LOCATIONS) -o lib_output=$(INSTALL_LIB) - -DATA_INST_TAGS = -INST_LOCATIONS += $(if $(DATA_INST_TAGS),-x installdata_files -b installdata_files=share$(INST_DIR)) -INST_TAGS := $(INST_TAGS)$(if $(DATA_INST_TAGS), $(DATA_INST_TAGS)) - -ifeq ($(INSTALLER),/prj_install.pl) -INSTALLER = $(ACE_ROOT)/MPC/prj_install.pl -endif - -ifeq ($(LIBCHECK),1) -install: -ifeq ($(INST_TAGS),) - @echo Nothing to install. -else -ifeq ($(INSTALL_PREFIX),) - @echo The variable INSTALL_PREFIX must be set to install. - @echo If binaries are already built and you want to use RPATH, - @echo they must be rebuilt after changing INSTALL_PREFIX. - @false -else - perl -ne'if (/^#END MPC-Generated Install Info/) {exit 0}' \ - -e'elsif (/^#BEGIN MPC-Generated Install Info/) {$$ok=1}' \ - -e'elsif ($$ok && s/^#//) {print}' $(MAKEFILE) | \ - $(INSTALLER) -i -s $(subst $(SPACE),$(COMMA),$(INST_TAGS)) \ - $(INST_LOCATIONS) $(if $(ARCH),-d $(ARCH)) $(PRJINST_OPTIONS) \ - $(INSTALL_PREFIX) - $(ACE_ROOT)/bin/ace_install_pkgconfig.pl ACE_ETCL.pc.in --prefix $(INSTALL_PREFIX) --libdir $(INSTALL_LIB) --libs "$(LIBS)" --version $(GNUACE_PROJECT_VERSION) -endif -endif -endif - -#BEGIN MPC-Generated Install Info -#build_files: -#ETCL.mpc -# -#inline_files: -#ETCL_Constraint.inl -# -#header_files: -#ETCL_Constraint.h -#ETCL_Constraint_Visitor.h -#ace_etcl_export.h -# -#pkgconfig_files: -#ACE_ETCL.pc.in -# -#source_files: -#ETCL_Constraint.cpp -#ETCL_Constraint_Visitor.cpp -# -#lib_output: -#../../lib ACE_ETCL - -#END MPC-Generated Install Info - diff --git a/dep/ACE_wrappers/ace/ETCL/GNUmakefile.ACE_ETCL_Parser b/dep/ACE_wrappers/ace/ETCL/GNUmakefile.ACE_ETCL_Parser deleted file mode 100644 index 34581c060..000000000 --- a/dep/ACE_wrappers/ace/ETCL/GNUmakefile.ACE_ETCL_Parser +++ /dev/null @@ -1,229 +0,0 @@ -# -*- Makefile -*- -#---------------------------------------------------------------------------- -# GNU Makefile -# -# @file GNUmakefile.ACE_ETCL_Parser -# -# $Id: gnu.mpd 91974 2010-09-23 16:17:42Z mitza $ -# -# This file was automatically generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -#---------------------------------------------------------------------------- -MAKEFILE = GNUmakefile.ACE_ETCL_Parser -DEPENDENCY_FILE = .depend.ACE_ETCL_Parser - -LIB_PREFIX ?= lib - -## LIB_CHECKED may be set to empty later on in this file -LIB_UNCHECKED = $(LIB_PREFIX)ACE_ETCL_Parser.$(LIBEXT) -LIB_CHECKED = $(LIB_UNCHECKED) -LIB_NAME = $(LIB_PREFIX)ACE_ETCL_Parser - -## SHLIB may be set to empty later on in this file -SHLIB_UNCHECKED = $(LIB_PREFIX)ACE_ETCL_Parser.$(SOEXT) -SHLIB = $(SHLIB_UNCHECKED) - -FILES = \ - ETCL_Interpreter.cpp \ - ETCL_l.cpp \ - ETCL_y.cpp - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- -ACE_SHLIBS = -lACE_ETCL -lACE - -PRJ_TYPE = library - -COLLAPSE_SLASHES = $(if $(findstring //,$(1)),$(call COLLAPSE_SLASHES,$(subst //,/,$(1))),$(1)) -INSLIB ?= $(call COLLAPSE_SLASHES,../../lib) -ifeq ($(INSLIB),.) - ifeq ($(CURDIR),) - ifeq ($(PWD),) - PWD=$(shell pwd) - endif - else - PWD=$(CURDIR) - endif - INSLIB = $(PWD) -endif -OUTPUT_DIRECTORY = $(INSLIB) - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU - - -GNUACE_PROJECT_VERSION ?= $(ACE_VERSION) - -# To build multiple targets in the same directory on AIX, it works -# best to have a template directory per project. -# The compiler/linker isn't too smart about instantiating templates... -ifdef TEMPINCDIR -TEMPINCDIR := $(TEMPINCDIR)/ACE_ETCL_Parser -all: $(TEMPINCDIR) -endif - -ifneq ($(OUTPUT_DIRECTORY),) -.PHONY: create_output_directory.local -all: create_output_directory.local -create_output_directory.local: - -@$(MKDIR) "$(OUTPUT_DIRECTORY)" $(ACE_NUL_STDERR) -endif - -# turn off libcheck if doing a dry run -ifeq ($(findstring n, $(MAKEFLAGS)),n) - LIBCHECK = 1 -else - # turn off libcheck if keep going was passed too - ifeq ($(findstring k, $(MAKEFLAGS)),k) - LIBCHECK = 1 - else - LIBCHECK ?= $(filter-out $(foreach lib,ACE_ETCL ACE,$(findstring $(lib),$(foreach libpath,. $(if $(ARCH),./$(ARCH)) ../../lib $(if $(ARCH),../../lib/$(ARCH)) /usr/lib /usr/lib64 $(INSLIB),$(wildcard $(libpath)/$(LIB_PREFIX)$(lib).* $(libpath)/$(lib).lib)))),ACE_ETCL ACE) - ifeq ($(LIBCHECK),) - LIBCHECK = 1 - endif - endif -endif -ifneq ($(LIBCHECK), 1) - LIB_CHECKED = - SHLIB = - all: lib_warning -endif - -LSRC = $(FILES) - -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -ifeq ($(VXWORKSLINK),1) -include $(TGT_DIR)/h/make/rules.$(PRJ_TYPE) -endif - -ifeq ($(VXWORKSLINK),1) -LDLIBPATH = -L. -L../../lib -else -LDFLAGS += -L. $(if $(ARCH),-L./$(ARCH)) -L../../lib $(if $(ARCH),-L../../lib/$(ARCH)) -endif -CPPFLAGS += -I../.. -ifeq ($(shared_libs),1) - ifneq ($(SHLIB),) - CPPFLAGS += -DETCL_PARSER_BUILD_DLL - endif -endif -ifeq ($(static_libs),1) - CPPFLAGS += -DACE_AS_STATIC_LIBS -endif - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- -lib_warning: - @echo ACE_ETCL_Parser will not be built due to the following missing library: $(LIBCHECK) >&2 - -## Some OS's have /bin/test others only have /usr/bin/test -ifeq ($(wildcard /bin/test), /bin/test) - TEST_EXE = /bin/test -else -ifeq ($(wildcard /usr/bin/test), /usr/bin/test) - TEST_EXE = /usr/bin/test -endif -endif - -SPACE = $(should_be_unset) $(should_be_unset) -ifneq ($(GENERATED_DIRTY),) -.PRECIOUS: $(GENERATED_DIRTY) -## If the generated files are anything but source files, we need to -## ensure that those files are generated before we attempt to build anything -## else. -ifeq ($(OBJS_DEPEND_ON_GENERATED),1) -$(VDIR)$(ACE_PCH_FILE) $(addprefix $(VDIR), $(OBJS)): $(GENERATED_DIRTY) -$(VSHDIR)$(ACE_PCH_FILE) $(VSHOBJS): $(GENERATED_DIRTY) -endif -endif - - -realclean: clean -ifneq ($(GENERATED_DIRTY),) - -$(RM) -r $(GENERATED_DIRTY) -endif - -__prebuild__: - @-: - - -.PHONY: install -install: all -INSTALL_LIB ?= lib -ifneq ($(INSTALL_PREFIX),) -ifneq ($(install_rpath),0) -LDFLAGS += -Wl,-R$(INSTALL_PREFIX)/$(INSTALL_LIB) -endif -endif - -PRJINST_OPTIONS ?= -INST_DIR ?= /ace/ETCL -COMMA = , -SPACE = $(should_be_unset) $(should_be_unset) -INSTALLER ?= $(MPC_ROOT)/prj_install.pl -CUSTOM_INST_TAGS = $(sort ) - -LIB_INST_TAGS = header_files template_files$(if $(findstring 1,$(inline)), inline_files)$(if $(CUSTOM_INST_TAGS), $(CUSTOM_INST_TAGS)) -LIB_INST_LOCATIONS = $(foreach tag,$(LIB_INST_TAGS),-b $(tag)=include$(INST_DIR)) - -INST_TAGS = lib_output$(if $(LIB_INST_TAGS), $(LIB_INST_TAGS)) -INST_LOCATIONS = $(LIB_INST_LOCATIONS) -o lib_output=$(INSTALL_LIB) - -DATA_INST_TAGS = -INST_LOCATIONS += $(if $(DATA_INST_TAGS),-x installdata_files -b installdata_files=share$(INST_DIR)) -INST_TAGS := $(INST_TAGS)$(if $(DATA_INST_TAGS), $(DATA_INST_TAGS)) - -ifeq ($(INSTALLER),/prj_install.pl) -INSTALLER = $(ACE_ROOT)/MPC/prj_install.pl -endif - -ifeq ($(LIBCHECK),1) -install: -ifeq ($(INST_TAGS),) - @echo Nothing to install. -else -ifeq ($(INSTALL_PREFIX),) - @echo The variable INSTALL_PREFIX must be set to install. - @echo If binaries are already built and you want to use RPATH, - @echo they must be rebuilt after changing INSTALL_PREFIX. - @false -else - perl -ne'if (/^#END MPC-Generated Install Info/) {exit 0}' \ - -e'elsif (/^#BEGIN MPC-Generated Install Info/) {$$ok=1}' \ - -e'elsif ($$ok && s/^#//) {print}' $(MAKEFILE) | \ - $(INSTALLER) -i -s $(subst $(SPACE),$(COMMA),$(INST_TAGS)) \ - $(INST_LOCATIONS) $(if $(ARCH),-d $(ARCH)) $(PRJINST_OPTIONS) \ - $(INSTALL_PREFIX) - $(ACE_ROOT)/bin/ace_install_pkgconfig.pl ACE_ETCL_Parser.pc.in --prefix $(INSTALL_PREFIX) --libdir $(INSTALL_LIB) --libs "$(LIBS)" --version $(GNUACE_PROJECT_VERSION) -endif -endif -endif - -#BEGIN MPC-Generated Install Info -#build_files: -#ETCL.mpc -# -#header_files: -#ETCL_Interpreter.h -#ETCL_y.h -#etcl_parser_export.h -# -#pkgconfig_files: -#ACE_ETCL_Parser.pc.in -# -#source_files: -#ETCL_Interpreter.cpp -#ETCL_l.cpp -#ETCL_y.cpp -# -#lib_output: -#../../lib ACE_ETCL_Parser - -#END MPC-Generated Install Info - diff --git a/dep/ACE_wrappers/ace/ETCL/Makefile.am b/dep/ACE_wrappers/ace/ETCL/Makefile.am deleted file mode 100644 index ffc28ea6f..000000000 --- a/dep/ACE_wrappers/ace/ETCL/Makefile.am +++ /dev/null @@ -1,100 +0,0 @@ -## Process this file with automake to create Makefile.in -## -## $Id: Makefile.am 81667 2008-05-09 17:58:12Z jtc $ -## -## This file was generated by MPC. Any changes made directly to -## this file will be lost the next time it is generated. -## -## MPC Command: -## ./bin/mwc.pl -type automake -noreldefs ACE.mwc - -includedir = @includedir@/ace/ETCL -pkgconfigdir = @libdir@/pkgconfig - -ACE_BUILDDIR = $(top_builddir) -ACE_ROOT = $(top_srcdir) - -## Makefile.ACE_ETCL.am - -lib_LTLIBRARIES = libACE_ETCL.la - -libACE_ETCL_la_CPPFLAGS = \ - -I$(ACE_ROOT) \ - -I$(ACE_BUILDDIR) \ - -DACE_ETCL_BUILD_DLL - -libACE_ETCL_la_SOURCES = \ - ETCL_Constraint.cpp \ - ETCL_Constraint_Visitor.cpp - -libACE_ETCL_la_LDFLAGS = \ - -release @ACE_VERSION_NAME@ - -libACE_ETCL_la_LIBADD = \ - $(ACE_BUILDDIR)/ace/libACE.la - -nobase_include_HEADERS = \ - ETCL_Constraint.h \ - ETCL_Constraint.inl \ - ETCL_Constraint_Visitor.h \ - ace_etcl_export.h - -pkgconfig_DATA = \ - ACE_ETCL.pc - -CLEANFILES = \ - ACE_ETCL.pc - -ACE_ETCL.pc: ${top_builddir}/config.status ${srcdir}/ACE_ETCL.pc.in - ${top_builddir}/config.status --file "$@":${srcdir}/ACE_ETCL.pc.in - -EXTRA_DIST = \ - ACE_ETCL.pc.in - - -## Makefile.ACE_ETCL_Parser.am - -lib_LTLIBRARIES += libACE_ETCL_Parser.la - -libACE_ETCL_Parser_la_CPPFLAGS = \ - -I$(ACE_ROOT) \ - -I$(ACE_BUILDDIR) \ - -DETCL_PARSER_BUILD_DLL - -libACE_ETCL_Parser_la_SOURCES = \ - ETCL_Interpreter.cpp \ - ETCL_l.cpp \ - ETCL_y.cpp - -libACE_ETCL_Parser_la_LDFLAGS = \ - -release @ACE_VERSION_NAME@ - -libACE_ETCL_Parser_la_LIBADD = \ - libACE_ETCL.la \ - $(ACE_BUILDDIR)/ace/libACE.la - -nobase_include_HEADERS += \ - ETCL_Interpreter.h \ - ETCL_y.h \ - etcl_parser_export.h - -pkgconfig_DATA += \ - ACE_ETCL_Parser.pc - -CLEANFILES += \ - ACE_ETCL_Parser.pc - -ACE_ETCL_Parser.pc: ${top_builddir}/config.status ${srcdir}/ACE_ETCL_Parser.pc.in - ${top_builddir}/config.status --file "$@":${srcdir}/ACE_ETCL_Parser.pc.in - -EXTRA_DIST += \ - ACE_ETCL_Parser.pc.in - - -## Clean up template repositories, etc. -clean-local: - -rm -f *~ *.bak *.rpo *.sym lib*.*_pure_* core core.* - -rm -f gcctemp.c gcctemp so_locations *.ics - -rm -rf cxx_repository ptrepository ti_files - -rm -rf templateregistry ir.out - -rm -rf ptrepository SunWS_cache Templates.DB diff --git a/dep/ACE_wrappers/ace/ETCL/Makefile.in b/dep/ACE_wrappers/ace/ETCL/Makefile.in deleted file mode 100644 index 463bdd98f..000000000 --- a/dep/ACE_wrappers/ace/ETCL/Makefile.in +++ /dev/null @@ -1,756 +0,0 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - - - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -target_triplet = @target@ -subdir = ace/ETCL -DIST_COMMON = $(nobase_include_HEADERS) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ace.m4 \ - $(top_srcdir)/m4/ace_defines.m4 $(top_srcdir)/m4/ace_func.m4 \ - $(top_srcdir)/m4/ace_functions.m4 \ - $(top_srcdir)/m4/ace_headers.m4 $(top_srcdir)/m4/acinclude.m4 \ - $(top_srcdir)/m4/aio.m4 $(top_srcdir)/m4/compiler.m4 \ - $(top_srcdir)/m4/config_h.m4 $(top_srcdir)/m4/libtool.m4 \ - $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ - $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ - $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/platform.m4 \ - $(top_srcdir)/m4/subsets.m4 $(top_srcdir)/m4/threads.m4 \ - $(top_srcdir)/m4/tls.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/ace/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ - if (++n[$$2] == $(am__install_max)) \ - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ - END { for (dir in files) print dir, files[dir] }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)" \ - "$(DESTDIR)$(includedir)" -LTLIBRARIES = $(lib_LTLIBRARIES) -libACE_ETCL_la_DEPENDENCIES = $(ACE_BUILDDIR)/ace/libACE.la -am_libACE_ETCL_la_OBJECTS = libACE_ETCL_la-ETCL_Constraint.lo \ - libACE_ETCL_la-ETCL_Constraint_Visitor.lo -libACE_ETCL_la_OBJECTS = $(am_libACE_ETCL_la_OBJECTS) -libACE_ETCL_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ - $(CXXFLAGS) $(libACE_ETCL_la_LDFLAGS) $(LDFLAGS) -o $@ -libACE_ETCL_Parser_la_DEPENDENCIES = libACE_ETCL.la \ - $(ACE_BUILDDIR)/ace/libACE.la -am_libACE_ETCL_Parser_la_OBJECTS = \ - libACE_ETCL_Parser_la-ETCL_Interpreter.lo \ - libACE_ETCL_Parser_la-ETCL_l.lo \ - libACE_ETCL_Parser_la-ETCL_y.lo -libACE_ETCL_Parser_la_OBJECTS = $(am_libACE_ETCL_Parser_la_OBJECTS) -libACE_ETCL_Parser_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ - $(CXXFLAGS) $(libACE_ETCL_Parser_la_LDFLAGS) $(LDFLAGS) -o $@ -DEFAULT_INCLUDES = -depcomp = $(SHELL) $(top_srcdir)/aux_config/depcomp -am__depfiles_maybe = depfiles -am__mv = mv -f -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -CXXLD = $(CXX) -CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ -SOURCES = $(libACE_ETCL_la_SOURCES) $(libACE_ETCL_Parser_la_SOURCES) -DIST_SOURCES = $(libACE_ETCL_la_SOURCES) \ - $(libACE_ETCL_Parser_la_SOURCES) -DATA = $(pkgconfig_DATA) -HEADERS = $(nobase_include_HEADERS) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACEXML = @ACEXML@ -ACE_BETA = @ACE_BETA@ -ACE_BZIP2_CPPFLAGS = @ACE_BZIP2_CPPFLAGS@ -ACE_BZIP2_LDFLAGS = @ACE_BZIP2_LDFLAGS@ -ACE_BZIP2_LIBS = @ACE_BZIP2_LIBS@ -ACE_FLTK_CPPFLAGS = @ACE_FLTK_CPPFLAGS@ -ACE_FLTK_LIBS = @ACE_FLTK_LIBS@ -ACE_FOX_CPPFLAGS = @ACE_FOX_CPPFLAGS@ -ACE_FOX_LIBS = @ACE_FOX_LIBS@ -ACE_KERBEROS_INCLUDES = @ACE_KERBEROS_INCLUDES@ -ACE_MAJOR = @ACE_MAJOR@ -ACE_MINOR = @ACE_MINOR@ -ACE_QT_CPPFLAGS = @ACE_QT_CPPFLAGS@ -ACE_QT_LIBS = @ACE_QT_LIBS@ -ACE_TCL_CPPFLAGS = @ACE_TCL_CPPFLAGS@ -ACE_TCL_LIBS = @ACE_TCL_LIBS@ -ACE_TESTS_DIR = @ACE_TESTS_DIR@ -ACE_TK_CPPFLAGS = @ACE_TK_CPPFLAGS@ -ACE_TK_LIBS = @ACE_TK_LIBS@ -ACE_TLS_CPPFLAGS = @ACE_TLS_CPPFLAGS@ -ACE_TLS_LDFLAGS = @ACE_TLS_LDFLAGS@ -ACE_TLS_LIBS = @ACE_TLS_LIBS@ -ACE_VERSION_NAME = @ACE_VERSION_NAME@ -ACE_X11_CPPFLAGS = @ACE_X11_CPPFLAGS@ -ACE_X11_LDFLAGS = @ACE_X11_LDFLAGS@ -ACE_X11_LIBS = @ACE_X11_LIBS@ -ACE_XLIBS = @ACE_XLIBS@ -ACE_XT_CPPFLAGS = @ACE_XT_CPPFLAGS@ -ACE_XT_LDFLAGS = @ACE_XT_LDFLAGS@ -ACE_XT_LIBS = @ACE_XT_LIBS@ -ACE_ZLIB_CPPFLAGS = @ACE_ZLIB_CPPFLAGS@ -ACE_ZLIB_LDFLAGS = @ACE_ZLIB_LDFLAGS@ -ACE_ZLIB_LIBS = @ACE_ZLIB_LIBS@ -ACE_ZZIP_CPPFLAGS = @ACE_ZZIP_CPPFLAGS@ -ACE_ZZIP_LDFLAGS = @ACE_ZZIP_LDFLAGS@ -ACE_ZZIP_LIBS = @ACE_ZZIP_LIBS@ -ACLOCAL = @ACLOCAL@ -ALLOCA = @ALLOCA@ -AMTAR = @AMTAR@ -AR = @AR@ -ASNMP = @ASNMP@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FGREP = @FGREP@ -FLTKCONFIG = @FLTKCONFIG@ -FOXCONFIG = @FOXCONFIG@ -GPERF = @GPERF@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -KOKYU = @KOKYU@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LEX = @LEX@ -LEXLIB = @LEXLIB@ -LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PROF = @PROF@ -PURIFY = @PURIFY@ -QTDIR = @QTDIR@ -QUANTIFY = @QUANTIFY@ -Qt_CFLAGS = @Qt_CFLAGS@ -Qt_LIBS = @Qt_LIBS@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -TAO = @TAO@ -VERSION = @VERSION@ -XMKMF = @XMKMF@ -XTREACTOR_TEST_XLIBS = @XTREACTOR_TEST_XLIBS@ -X_CFLAGS = @X_CFLAGS@ -X_EXTRA_LIBS = @X_EXTRA_LIBS@ -X_LIBS = @X_LIBS@ -X_PRE_LIBS = @X_PRE_LIBS@ -YACC = @YACC@ -YFLAGS = @YFLAGS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@/ace/ETCL -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -protocols = @protocols@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -subdirs = @subdirs@ -sysconfdir = @sysconfdir@ -target = @target@ -target_alias = @target_alias@ -target_cpu = @target_cpu@ -target_os = @target_os@ -target_vendor = @target_vendor@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -pkgconfigdir = @libdir@/pkgconfig -ACE_BUILDDIR = $(top_builddir) -ACE_ROOT = $(top_srcdir) -lib_LTLIBRARIES = libACE_ETCL.la libACE_ETCL_Parser.la -libACE_ETCL_la_CPPFLAGS = \ - -I$(ACE_ROOT) \ - -I$(ACE_BUILDDIR) \ - -DACE_ETCL_BUILD_DLL - -libACE_ETCL_la_SOURCES = \ - ETCL_Constraint.cpp \ - ETCL_Constraint_Visitor.cpp - -libACE_ETCL_la_LDFLAGS = \ - -release @ACE_VERSION_NAME@ - -libACE_ETCL_la_LIBADD = \ - $(ACE_BUILDDIR)/ace/libACE.la - -nobase_include_HEADERS = ETCL_Constraint.h ETCL_Constraint.inl \ - ETCL_Constraint_Visitor.h ace_etcl_export.h ETCL_Interpreter.h \ - ETCL_y.h etcl_parser_export.h -pkgconfig_DATA = ACE_ETCL.pc ACE_ETCL_Parser.pc -CLEANFILES = ACE_ETCL.pc ACE_ETCL_Parser.pc -EXTRA_DIST = ACE_ETCL.pc.in ACE_ETCL_Parser.pc.in -libACE_ETCL_Parser_la_CPPFLAGS = \ - -I$(ACE_ROOT) \ - -I$(ACE_BUILDDIR) \ - -DETCL_PARSER_BUILD_DLL - -libACE_ETCL_Parser_la_SOURCES = \ - ETCL_Interpreter.cpp \ - ETCL_l.cpp \ - ETCL_y.cpp - -libACE_ETCL_Parser_la_LDFLAGS = \ - -release @ACE_VERSION_NAME@ - -libACE_ETCL_Parser_la_LIBADD = \ - libACE_ETCL.la \ - $(ACE_BUILDDIR)/ace/libACE.la - -all: all-am - -.SUFFIXES: -.SUFFIXES: .cpp .lo .o .obj -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign ace/ETCL/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign ace/ETCL/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): -install-libLTLIBRARIES: $(lib_LTLIBRARIES) - @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" - @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ - list2=; for p in $$list; do \ - if test -f $$p; then \ - list2="$$list2 $$p"; \ - else :; fi; \ - done; \ - test -z "$$list2" || { \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ - } - -uninstall-libLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ - for p in $$list; do \ - $(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ - done - -clean-libLTLIBRARIES: - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ - test "$$dir" != "$$p" || dir=.; \ - echo "rm -f \"$${dir}/so_locations\""; \ - rm -f "$${dir}/so_locations"; \ - done -libACE_ETCL.la: $(libACE_ETCL_la_OBJECTS) $(libACE_ETCL_la_DEPENDENCIES) - $(libACE_ETCL_la_LINK) -rpath $(libdir) $(libACE_ETCL_la_OBJECTS) $(libACE_ETCL_la_LIBADD) $(LIBS) -libACE_ETCL_Parser.la: $(libACE_ETCL_Parser_la_OBJECTS) $(libACE_ETCL_Parser_la_DEPENDENCIES) - $(libACE_ETCL_Parser_la_LINK) -rpath $(libdir) $(libACE_ETCL_Parser_la_OBJECTS) $(libACE_ETCL_Parser_la_LIBADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_ETCL_Parser_la-ETCL_Interpreter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_ETCL_Parser_la-ETCL_l.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_ETCL_Parser_la-ETCL_y.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_ETCL_la-ETCL_Constraint.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_ETCL_la-ETCL_Constraint_Visitor.Plo@am__quote@ - -.cpp.o: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< - -.cpp.obj: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.cpp.lo: -@am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< - -libACE_ETCL_la-ETCL_Constraint.lo: ETCL_Constraint.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_ETCL_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_ETCL_la-ETCL_Constraint.lo -MD -MP -MF $(DEPDIR)/libACE_ETCL_la-ETCL_Constraint.Tpo -c -o libACE_ETCL_la-ETCL_Constraint.lo `test -f 'ETCL_Constraint.cpp' || echo '$(srcdir)/'`ETCL_Constraint.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_ETCL_la-ETCL_Constraint.Tpo $(DEPDIR)/libACE_ETCL_la-ETCL_Constraint.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ETCL_Constraint.cpp' object='libACE_ETCL_la-ETCL_Constraint.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_ETCL_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_ETCL_la-ETCL_Constraint.lo `test -f 'ETCL_Constraint.cpp' || echo '$(srcdir)/'`ETCL_Constraint.cpp - -libACE_ETCL_la-ETCL_Constraint_Visitor.lo: ETCL_Constraint_Visitor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_ETCL_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_ETCL_la-ETCL_Constraint_Visitor.lo -MD -MP -MF $(DEPDIR)/libACE_ETCL_la-ETCL_Constraint_Visitor.Tpo -c -o libACE_ETCL_la-ETCL_Constraint_Visitor.lo `test -f 'ETCL_Constraint_Visitor.cpp' || echo '$(srcdir)/'`ETCL_Constraint_Visitor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_ETCL_la-ETCL_Constraint_Visitor.Tpo $(DEPDIR)/libACE_ETCL_la-ETCL_Constraint_Visitor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ETCL_Constraint_Visitor.cpp' object='libACE_ETCL_la-ETCL_Constraint_Visitor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_ETCL_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_ETCL_la-ETCL_Constraint_Visitor.lo `test -f 'ETCL_Constraint_Visitor.cpp' || echo '$(srcdir)/'`ETCL_Constraint_Visitor.cpp - -libACE_ETCL_Parser_la-ETCL_Interpreter.lo: ETCL_Interpreter.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_ETCL_Parser_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_ETCL_Parser_la-ETCL_Interpreter.lo -MD -MP -MF $(DEPDIR)/libACE_ETCL_Parser_la-ETCL_Interpreter.Tpo -c -o libACE_ETCL_Parser_la-ETCL_Interpreter.lo `test -f 'ETCL_Interpreter.cpp' || echo '$(srcdir)/'`ETCL_Interpreter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_ETCL_Parser_la-ETCL_Interpreter.Tpo $(DEPDIR)/libACE_ETCL_Parser_la-ETCL_Interpreter.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ETCL_Interpreter.cpp' object='libACE_ETCL_Parser_la-ETCL_Interpreter.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_ETCL_Parser_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_ETCL_Parser_la-ETCL_Interpreter.lo `test -f 'ETCL_Interpreter.cpp' || echo '$(srcdir)/'`ETCL_Interpreter.cpp - -libACE_ETCL_Parser_la-ETCL_l.lo: ETCL_l.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_ETCL_Parser_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_ETCL_Parser_la-ETCL_l.lo -MD -MP -MF $(DEPDIR)/libACE_ETCL_Parser_la-ETCL_l.Tpo -c -o libACE_ETCL_Parser_la-ETCL_l.lo `test -f 'ETCL_l.cpp' || echo '$(srcdir)/'`ETCL_l.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_ETCL_Parser_la-ETCL_l.Tpo $(DEPDIR)/libACE_ETCL_Parser_la-ETCL_l.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ETCL_l.cpp' object='libACE_ETCL_Parser_la-ETCL_l.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_ETCL_Parser_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_ETCL_Parser_la-ETCL_l.lo `test -f 'ETCL_l.cpp' || echo '$(srcdir)/'`ETCL_l.cpp - -libACE_ETCL_Parser_la-ETCL_y.lo: ETCL_y.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_ETCL_Parser_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_ETCL_Parser_la-ETCL_y.lo -MD -MP -MF $(DEPDIR)/libACE_ETCL_Parser_la-ETCL_y.Tpo -c -o libACE_ETCL_Parser_la-ETCL_y.lo `test -f 'ETCL_y.cpp' || echo '$(srcdir)/'`ETCL_y.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_ETCL_Parser_la-ETCL_y.Tpo $(DEPDIR)/libACE_ETCL_Parser_la-ETCL_y.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ETCL_y.cpp' object='libACE_ETCL_Parser_la-ETCL_y.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_ETCL_Parser_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_ETCL_Parser_la-ETCL_y.lo `test -f 'ETCL_y.cpp' || echo '$(srcdir)/'`ETCL_y.cpp - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-pkgconfigDATA: $(pkgconfig_DATA) - @$(NORMAL_INSTALL) - test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" - @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ - done - -uninstall-pkgconfigDATA: - @$(NORMAL_UNINSTALL) - @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files -install-nobase_includeHEADERS: $(nobase_include_HEADERS) - @$(NORMAL_INSTALL) - test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)" - @list='$(nobase_include_HEADERS)'; test -n "$(includedir)" || list=; \ - $(am__nobase_list) | while read dir files; do \ - xfiles=; for file in $$files; do \ - if test -f "$$file"; then xfiles="$$xfiles $$file"; \ - else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \ - test -z "$$xfiles" || { \ - test "x$$dir" = x. || { \ - echo "$(MKDIR_P) '$(DESTDIR)$(includedir)/$$dir'"; \ - $(MKDIR_P) "$(DESTDIR)$(includedir)/$$dir"; }; \ - echo " $(INSTALL_HEADER) $$xfiles '$(DESTDIR)$(includedir)/$$dir'"; \ - $(INSTALL_HEADER) $$xfiles "$(DESTDIR)$(includedir)/$$dir" || exit $$?; }; \ - done - -uninstall-nobase_includeHEADERS: - @$(NORMAL_UNINSTALL) - @list='$(nobase_include_HEADERS)'; test -n "$(includedir)" || list=; \ - $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(includedir)" && rm -f $$files - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - set x; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) -installdirs: - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libLTLIBRARIES clean-libtool clean-local \ - mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: install-nobase_includeHEADERS install-pkgconfigDATA - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: install-libLTLIBRARIES - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-libLTLIBRARIES uninstall-nobase_includeHEADERS \ - uninstall-pkgconfigDATA - -.MAKE: install-am install-strip - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libLTLIBRARIES clean-libtool clean-local ctags distclean \ - distclean-compile distclean-generic distclean-libtool \ - distclean-tags distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ - install-html-am install-info install-info-am \ - install-libLTLIBRARIES install-man \ - install-nobase_includeHEADERS install-pdf install-pdf-am \ - install-pkgconfigDATA install-ps install-ps-am install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags uninstall uninstall-am uninstall-libLTLIBRARIES \ - uninstall-nobase_includeHEADERS uninstall-pkgconfigDATA - - -ACE_ETCL.pc: ${top_builddir}/config.status ${srcdir}/ACE_ETCL.pc.in - ${top_builddir}/config.status --file "$@":${srcdir}/ACE_ETCL.pc.in - -ACE_ETCL_Parser.pc: ${top_builddir}/config.status ${srcdir}/ACE_ETCL_Parser.pc.in - ${top_builddir}/config.status --file "$@":${srcdir}/ACE_ETCL_Parser.pc.in - -clean-local: - -rm -f *~ *.bak *.rpo *.sym lib*.*_pure_* core core.* - -rm -f gcctemp.c gcctemp so_locations *.ics - -rm -rf cxx_repository ptrepository ti_files - -rm -rf templateregistry ir.out - -rm -rf ptrepository SunWS_cache Templates.DB - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/dep/ACE_wrappers/ace/FlReactor/ACE_FlReactor.pc.in b/dep/ACE_wrappers/ace/FlReactor/ACE_FlReactor.pc.in deleted file mode 100644 index c28448158..000000000 --- a/dep/ACE_wrappers/ace/FlReactor/ACE_FlReactor.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: ACE_FlReactor -Description: ACE FlReactor Library -Requires: ACE -Version: @VERSION@ -Libs: -L${libdir} -lACE_FlReactor -Cflags: -I${includedir} diff --git a/dep/ACE_wrappers/ace/FlReactor/GNUmakefile b/dep/ACE_wrappers/ace/FlReactor/GNUmakefile deleted file mode 100644 index ecad42424..000000000 --- a/dep/ACE_wrappers/ace/FlReactor/GNUmakefile +++ /dev/null @@ -1,35 +0,0 @@ -# -*- makefile -*- -#---------------------------------------------------------------------------- -# GNU ACE Workspace -# -# $Id: GNUACEWorkspaceCreator.pm 91813 2010-09-17 07:52:52Z johnnyw $ -# -# This file was generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -# MPC Command: -# /tmp/DOC_ROOT/stage-1367/ACE_wrappers/bin/mwc.pl -type gnuace -exclude "TAO/TAO_*.mwc,TAO/CIAO/CIAO_*.mwc" -recurse -hierarchy -relative ACE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers -relative TAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO -relative CIAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/CIAO -relative DANCE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/DAnCE -# -#---------------------------------------------------------------------------- - -MAKEFILE = GNUmakefile - -ifeq ($(findstring k,$(MAKEFLAGS)),k) - KEEP_GOING = - -endif - -include $(ACE_ROOT)/include/makeinclude/macros.GNU - -all: ACE_FlReactor - -REMAINING_TARGETS := $(filter-out all,$(TARGETS_NESTED:.nested=)) $(CUSTOM_TARGETS) - -$(REMAINING_TARGETS): - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.ACE_FlReactor $(@) - -.PHONY: ACE_FlReactor -ACE_FlReactor: - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.ACE_FlReactor all - -project_name_list: - @echo ACE_FlReactor diff --git a/dep/ACE_wrappers/ace/FlReactor/GNUmakefile.ACE_FlReactor b/dep/ACE_wrappers/ace/FlReactor/GNUmakefile.ACE_FlReactor deleted file mode 100644 index f893bc1c1..000000000 --- a/dep/ACE_wrappers/ace/FlReactor/GNUmakefile.ACE_FlReactor +++ /dev/null @@ -1,290 +0,0 @@ -# -*- Makefile -*- -#---------------------------------------------------------------------------- -# GNU Makefile -# -# @file GNUmakefile.ACE_FlReactor -# -# $Id: gnu.mpd 91974 2010-09-23 16:17:42Z mitza $ -# -# This file was automatically generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -#---------------------------------------------------------------------------- -MAKEFILE = GNUmakefile.ACE_FlReactor -DEPENDENCY_FILE = .depend.ACE_FlReactor - -LIB_PREFIX ?= lib - -## LIB_CHECKED may be set to empty later on in this file -LIB_UNCHECKED = $(LIB_PREFIX)ACE_FlReactor.$(LIBEXT) -LIB_CHECKED = $(LIB_UNCHECKED) -LIB_NAME = $(LIB_PREFIX)ACE_FlReactor - -## SHLIB may be set to empty later on in this file -SHLIB_UNCHECKED = $(LIB_PREFIX)ACE_FlReactor.$(SOEXT) -SHLIB = $(SHLIB_UNCHECKED) - -FILES = \ - FlReactor.cpp - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- -ACE_SHLIBS = -lACE - -PRJ_TYPE = library - -COLLAPSE_SLASHES = $(if $(findstring //,$(1)),$(call COLLAPSE_SLASHES,$(subst //,/,$(1))),$(1)) -INSLIB ?= $(call COLLAPSE_SLASHES,../../lib) -ifeq ($(INSLIB),.) - ifeq ($(CURDIR),) - ifeq ($(PWD),) - PWD=$(shell pwd) - endif - else - PWD=$(CURDIR) - endif - INSLIB = $(PWD) -endif -OUTPUT_DIRECTORY = $(INSLIB) - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU - - -GNUACE_PROJECT_VERSION ?= $(ACE_VERSION) - -# To build multiple targets in the same directory on AIX, it works -# best to have a template directory per project. -# The compiler/linker isn't too smart about instantiating templates... -ifdef TEMPINCDIR -TEMPINCDIR := $(TEMPINCDIR)/ACE_FlReactor -all: $(TEMPINCDIR) -endif - -ifneq ($(OUTPUT_DIRECTORY),) -.PHONY: create_output_directory.local -all: create_output_directory.local -create_output_directory.local: - -@$(MKDIR) "$(OUTPUT_DIRECTORY)" $(ACE_NUL_STDERR) -endif - -# turn off libcheck if doing a dry run -ifeq ($(findstring n, $(MAKEFLAGS)),n) - LIBCHECK = 1 -else - # turn off libcheck if keep going was passed too - ifeq ($(findstring k, $(MAKEFLAGS)),k) - LIBCHECK = 1 - else - LIBCHECK ?= $(filter-out $(foreach lib,ACE,$(findstring $(lib),$(foreach libpath,. $(if $(ARCH),./$(ARCH)) ../../lib $(if $(ARCH),../../lib/$(ARCH)) /usr/lib /usr/lib64 $(INSLIB),$(wildcard $(libpath)/$(LIB_PREFIX)$(lib).* $(libpath)/$(lib).lib)))),ACE) - ifeq ($(LIBCHECK),) - LIBCHECK = 1 - endif - endif -endif -ifeq ($(x11),1) -ifeq ($(gl),1) -ifeq ($(fl),1) -ifneq ($(LIBCHECK), 1) - LIB_CHECKED = - SHLIB = - all: lib_warning -endif -else - LIB_CHECKED = - SHLIB = - all: require_warning -endif -else - LIB_CHECKED = - SHLIB = - all: require_warning -endif -else - LIB_CHECKED = - SHLIB = - all: require_warning -endif - -ifeq ($(x11),1) -ifeq ($(gl),1) -ifeq ($(fl),1) -else - LIB_CHECKED = - SHLIB = - all: require_warning -endif -else - LIB_CHECKED = - SHLIB = - all: require_warning -endif -else - LIB_CHECKED = - SHLIB = - all: require_warning -endif -LSRC = $(FILES) - -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -ifeq ($(VXWORKSLINK),1) -include $(TGT_DIR)/h/make/rules.$(PRJ_TYPE) -endif - -ifeq ($(VXWORKSLINK),1) -LDLIBPATH = -L. -L../../lib -else -LDFLAGS += -L. $(if $(ARCH),-L./$(ARCH)) -L../../lib $(if $(ARCH),-L../../lib/$(ARCH)) -endif -CPPFLAGS += -I../.. -ifeq ($(shared_libs),1) - ifneq ($(SHLIB),) - CPPFLAGS += -DACE_FLREACTOR_BUILD_DLL - endif -endif -ifeq ($(static_libs),1) - CPPFLAGS += -DACE_AS_STATIC_LIBS -endif - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- -CPPFLAGS += $(PLATFORM_FL_CPPFLAGS) -CPPFLAGS += $(PLATFORM_GL_CPPFLAGS) $(PLATFORM_X11_CPPFLAGS) -LIBS += $(PLATFORM_FL_LIBS) $(PLATFORM_GL_LIBS) $(PLATFORM_X11_LIBS) -LDFLAGS += $(PLATFORM_FL_LDFLAGS) $(PLATFORM_GL_LDFLAGS) -LDFLAGS += $(PLATFORM_X11_LDFLAGS) - -lib_warning: - @echo ACE_FlReactor will not be built due to the following missing library: $(LIBCHECK) >&2 - -ifneq ($(x11),1) -requires_disabled_macros += x11 -endif -ifneq ($(gl),1) -requires_disabled_macros += gl -endif -ifneq ($(fl),1) -requires_disabled_macros += fl -endif -require_warning: - @echo ACE_FlReactor will not be built due to the following disabled make macros: $(requires_disabled_macros)>&2 - -## Some OS's have /bin/test others only have /usr/bin/test -ifeq ($(wildcard /bin/test), /bin/test) - TEST_EXE = /bin/test -else -ifeq ($(wildcard /usr/bin/test), /usr/bin/test) - TEST_EXE = /usr/bin/test -endif -endif - -SPACE = $(should_be_unset) $(should_be_unset) -ifneq ($(GENERATED_DIRTY),) -.PRECIOUS: $(GENERATED_DIRTY) -## If the generated files are anything but source files, we need to -## ensure that those files are generated before we attempt to build anything -## else. -ifeq ($(OBJS_DEPEND_ON_GENERATED),1) -$(VDIR)$(ACE_PCH_FILE) $(addprefix $(VDIR), $(OBJS)): $(GENERATED_DIRTY) -$(VSHDIR)$(ACE_PCH_FILE) $(VSHOBJS): $(GENERATED_DIRTY) -endif -endif - - -realclean: clean -ifneq ($(GENERATED_DIRTY),) - -$(RM) -r $(GENERATED_DIRTY) -endif - -__prebuild__: -ifeq ($(x11),1) -ifeq ($(gl),1) -ifeq ($(fl),1) - @-: -endif -endif -endif - - -.PHONY: install -install: all -INSTALL_LIB ?= lib -ifneq ($(INSTALL_PREFIX),) -ifneq ($(install_rpath),0) -LDFLAGS += -Wl,-R$(INSTALL_PREFIX)/$(INSTALL_LIB) -endif -endif - -PRJINST_OPTIONS ?= -INST_DIR ?= /ace/FlReactor -COMMA = , -SPACE = $(should_be_unset) $(should_be_unset) -INSTALLER ?= $(MPC_ROOT)/prj_install.pl -CUSTOM_INST_TAGS = $(sort ) - -LIB_INST_TAGS = header_files template_files$(if $(findstring 1,$(inline)), inline_files)$(if $(CUSTOM_INST_TAGS), $(CUSTOM_INST_TAGS)) -LIB_INST_LOCATIONS = $(foreach tag,$(LIB_INST_TAGS),-b $(tag)=include$(INST_DIR)) - -INST_TAGS = lib_output$(if $(LIB_INST_TAGS), $(LIB_INST_TAGS)) -INST_LOCATIONS = $(LIB_INST_LOCATIONS) -o lib_output=$(INSTALL_LIB) - -DATA_INST_TAGS = -INST_LOCATIONS += $(if $(DATA_INST_TAGS),-x installdata_files -b installdata_files=share$(INST_DIR)) -INST_TAGS := $(INST_TAGS)$(if $(DATA_INST_TAGS), $(DATA_INST_TAGS)) - -ifeq ($(INSTALLER),/prj_install.pl) -INSTALLER = $(ACE_ROOT)/MPC/prj_install.pl -endif - -ifeq ($(LIBCHECK),1) -ifeq ($(x11),1) -ifeq ($(gl),1) -ifeq ($(fl),1) -install: -ifeq ($(INST_TAGS),) - @echo Nothing to install. -else -ifeq ($(INSTALL_PREFIX),) - @echo The variable INSTALL_PREFIX must be set to install. - @echo If binaries are already built and you want to use RPATH, - @echo they must be rebuilt after changing INSTALL_PREFIX. - @false -else - perl -ne'if (/^#END MPC-Generated Install Info/) {exit 0}' \ - -e'elsif (/^#BEGIN MPC-Generated Install Info/) {$$ok=1}' \ - -e'elsif ($$ok && s/^#//) {print}' $(MAKEFILE) | \ - $(INSTALLER) -i -s $(subst $(SPACE),$(COMMA),$(INST_TAGS)) \ - $(INST_LOCATIONS) $(if $(ARCH),-d $(ARCH)) $(PRJINST_OPTIONS) \ - $(INSTALL_PREFIX) - $(ACE_ROOT)/bin/ace_install_pkgconfig.pl ACE_FlReactor.pc.in --prefix $(INSTALL_PREFIX) --libdir $(INSTALL_LIB) --libs "$(LIBS)" --version $(GNUACE_PROJECT_VERSION) -endif -endif -endif -endif -endif -endif - -#BEGIN MPC-Generated Install Info -#build_files: -#ace_flreactor.mpc -# -#header_files: -#FlReactor.h -#ACE_FlReactor_export.h -# -#pkgconfig_files: -#ACE_FlReactor.pc.in -# -#source_files: -#FlReactor.cpp -# -#lib_output: -#../../lib ACE_FlReactor - -#END MPC-Generated Install Info - diff --git a/dep/ACE_wrappers/ace/FlReactor/ace_flreactor.mpc b/dep/ACE_wrappers/ace/FlReactor/ace_flreactor.mpc deleted file mode 100644 index 42c572713..000000000 --- a/dep/ACE_wrappers/ace/FlReactor/ace_flreactor.mpc +++ /dev/null @@ -1,11 +0,0 @@ -// -*- MPC -*- now wouldn't this be cool... -// $Id: ace_flreactor.mpc 91839 2010-09-17 20:16:53Z mitza $ - -project(ACE_FlReactor) : acedefaults, install, acelib, ace_output, ace_fl{ - sharedname = ACE_FlReactor - dynamicflags += ACE_FLREACTOR_BUILD_DLL - - specific { - install_dir = ace/FlReactor - } -} diff --git a/dep/ACE_wrappers/ace/FoxReactor/ACE_FoxReactor.pc.in b/dep/ACE_wrappers/ace/FoxReactor/ACE_FoxReactor.pc.in deleted file mode 100644 index 83d9e5fb9..000000000 --- a/dep/ACE_wrappers/ace/FoxReactor/ACE_FoxReactor.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: ACE_FoxReactor -Description: ACE FoxReactor Library -Requires: ACE -Version: @VERSION@ -Libs: -L${libdir} -lACE_FoxReactor -Cflags: -I${includedir} diff --git a/dep/ACE_wrappers/ace/FoxReactor/ace_foxreactor.mpc b/dep/ACE_wrappers/ace/FoxReactor/ace_foxreactor.mpc deleted file mode 100644 index efefbea55..000000000 --- a/dep/ACE_wrappers/ace/FoxReactor/ace_foxreactor.mpc +++ /dev/null @@ -1,11 +0,0 @@ -// -*- MPC -*- now wouldn't this be cool... -// $Id: ace_foxreactor.mpc 91839 2010-09-17 20:16:53Z mitza $ - -project(ACE_FoxReactor) : acedefaults, install, acelib, ace_output, ace_fox { - sharedname = ACE_FoxReactor - dynamicflags += ACE_FOXREACTOR_BUILD_DLL - - specific { - install_dir = ace/FoxReactor - } -} diff --git a/dep/ACE_wrappers/ace/GNUmakefile b/dep/ACE_wrappers/ace/GNUmakefile deleted file mode 100644 index d1e45990b..000000000 --- a/dep/ACE_wrappers/ace/GNUmakefile +++ /dev/null @@ -1,89 +0,0 @@ -# -*- makefile -*- -#---------------------------------------------------------------------------- -# GNU ACE Workspace -# -# $Id: GNUACEWorkspaceCreator.pm 91813 2010-09-17 07:52:52Z johnnyw $ -# -# This file was generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -# MPC Command: -# /tmp/DOC_ROOT/stage-1367/ACE_wrappers/bin/mwc.pl -type gnuace -exclude "TAO/TAO_*.mwc,TAO/CIAO/CIAO_*.mwc" -recurse -hierarchy -relative ACE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers -relative TAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO -relative CIAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/CIAO -relative DANCE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/DAnCE -# -#---------------------------------------------------------------------------- - -MAKEFILE = GNUmakefile - -ifeq ($(findstring k,$(MAKEFLAGS)),k) - KEEP_GOING = - -endif - -include $(ACE_ROOT)/include/makeinclude/macros.GNU - -all: ACE ACE_ETCL ACE_ETCL_Parser ACE_FlReactor Monitor_Control-target ACE_Qt3Reactor_moc ACE_Qt3Reactor SSL-target ACE_TkReactor ACE_XtReactor - -REMAINING_TARGETS := $(filter-out all,$(TARGETS_NESTED:.nested=)) $(CUSTOM_TARGETS) - -$(REMAINING_TARGETS): - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.ACE $(@) - $(KEEP_GOING)@cd ETCL && $(MAKE) -f GNUmakefile.ACE_ETCL $(@) - $(KEEP_GOING)@cd ETCL && $(MAKE) -f GNUmakefile.ACE_ETCL_Parser $(@) - $(KEEP_GOING)@cd FlReactor && $(MAKE) -f GNUmakefile.ACE_FlReactor $(@) - $(KEEP_GOING)@cd Monitor_Control && $(MAKE) -f GNUmakefile.Monitor_Control $(@) - $(KEEP_GOING)@cd QtReactor && $(MAKE) -f GNUmakefile.ACE_Qt3Reactor_moc $(@) - $(KEEP_GOING)@cd QtReactor && $(MAKE) -f GNUmakefile.ACE_Qt3Reactor $(@) - $(KEEP_GOING)@cd SSL && $(MAKE) -f GNUmakefile.SSL $(@) - $(KEEP_GOING)@cd TkReactor && $(MAKE) -f GNUmakefile.ACE_TkReactor $(@) - $(KEEP_GOING)@cd XtReactor && $(MAKE) -f GNUmakefile.ACE_XtReactor $(@) - -.PHONY: ACE -ACE: - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.ACE all - -.PHONY: ACE_ETCL -ACE_ETCL: ACE - $(KEEP_GOING)@cd ETCL && $(MAKE) -f GNUmakefile.ACE_ETCL all - -.PHONY: ACE_ETCL_Parser -ACE_ETCL_Parser: ACE ACE_ETCL - $(KEEP_GOING)@cd ETCL && $(MAKE) -f GNUmakefile.ACE_ETCL_Parser all - -.PHONY: ACE_FlReactor -ACE_FlReactor: ACE - $(KEEP_GOING)@cd FlReactor && $(MAKE) -f GNUmakefile.ACE_FlReactor all - -.PHONY: Monitor_Control-target -Monitor_Control-target: ACE ACE_ETCL ACE_ETCL_Parser - $(KEEP_GOING)@cd Monitor_Control && $(MAKE) -f GNUmakefile.Monitor_Control all - -.PHONY: ACE_Qt3Reactor_moc -ACE_Qt3Reactor_moc: - $(KEEP_GOING)@cd QtReactor && $(MAKE) -f GNUmakefile.ACE_Qt3Reactor_moc all - -.PHONY: ACE_Qt3Reactor -ACE_Qt3Reactor: ACE ACE_Qt3Reactor_moc - $(KEEP_GOING)@cd QtReactor && $(MAKE) -f GNUmakefile.ACE_Qt3Reactor all - -.PHONY: SSL-target -SSL-target: ACE - $(KEEP_GOING)@cd SSL && $(MAKE) -f GNUmakefile.SSL all - -.PHONY: ACE_TkReactor -ACE_TkReactor: ACE - $(KEEP_GOING)@cd TkReactor && $(MAKE) -f GNUmakefile.ACE_TkReactor all - -.PHONY: ACE_XtReactor -ACE_XtReactor: ACE - $(KEEP_GOING)@cd XtReactor && $(MAKE) -f GNUmakefile.ACE_XtReactor all - -project_name_list: - @echo ACE_ETCL - @echo ACE_ETCL_Parser - @echo ACE_FlReactor - @echo ACE - @echo Monitor_Control-target - @echo ACE_Qt3Reactor - @echo ACE_Qt3Reactor_moc - @echo SSL-target - @echo ACE_TkReactor - @echo ACE_XtReactor diff --git a/dep/ACE_wrappers/ace/GNUmakefile.ACE b/dep/ACE_wrappers/ace/GNUmakefile.ACE deleted file mode 100644 index b4988fc17..000000000 --- a/dep/ACE_wrappers/ace/GNUmakefile.ACE +++ /dev/null @@ -1,1854 +0,0 @@ -# -*- Makefile -*- -#---------------------------------------------------------------------------- -# GNU Makefile -# -# @file GNUmakefile.ACE -# -# $Id: gnu.mpd 91974 2010-09-23 16:17:42Z mitza $ -# -# This file was automatically generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -#---------------------------------------------------------------------------- -MAKEFILE = GNUmakefile.ACE -DEPENDENCY_FILE = .depend.ACE - -LIB_PREFIX ?= lib - -## LIB_CHECKED may be set to empty later on in this file -LIB_UNCHECKED = $(LIB_PREFIX)ACE.$(LIBEXT) -LIB_CHECKED = $(LIB_UNCHECKED) -LIB_NAME = $(LIB_PREFIX)ACE - -## SHLIB may be set to empty later on in this file -SHLIB_UNCHECKED = $(LIB_PREFIX)ACE.$(SOEXT) -SHLIB = $(SHLIB_UNCHECKED) - -FILES = \ - Local_Name_Space.cpp \ - Name_Proxy.cpp \ - Name_Request_Reply.cpp \ - Name_Space.cpp \ - Naming_Context.cpp \ - Registry_Name_Space.cpp \ - Remote_Name_Space.cpp \ - NT_Service.cpp \ - Codecs.cpp \ - Local_Tokens.cpp \ - Remote_Tokens.cpp \ - Token_Collection.cpp \ - Token_Invariants.cpp \ - Token_Manager.cpp \ - Token_Request_Reply.cpp \ - DLL.cpp \ - Dynamic_Service_Base.cpp \ - Dynamic_Service_Dependency.cpp \ - Parse_Node.cpp \ - Service_Config.cpp \ - Service_Gestalt.cpp \ - Service_Manager.cpp \ - Service_Object.cpp \ - Service_Repository.cpp \ - Service_Types.cpp \ - Shared_Object.cpp \ - Svc_Conf_Lexer.cpp \ - Svc_Conf_y.cpp \ - Encoding_Converter.cpp \ - Encoding_Converter_Factory.cpp \ - UTF8_Encoding_Converter.cpp \ - UTF16_Encoding_Converter.cpp \ - UTF32_Encoding_Converter.cpp \ - XML_Svc_Conf.cpp \ - UUID.cpp \ - Filecache.cpp \ - ACE.cpp \ - ACE_crc_ccitt.cpp \ - ACE_crc32.cpp \ - ace_wchar.cpp \ - Activation_Queue.cpp \ - Active_Map_Manager.cpp \ - Addr.cpp \ - Argv_Type_Converter.cpp \ - Assert.cpp \ - Asynch_IO.cpp \ - Asynch_IO_Impl.cpp \ - Asynch_Pseudo_Task.cpp \ - ATM_Acceptor.cpp \ - ATM_Addr.cpp \ - ATM_Connector.cpp \ - ATM_Params.cpp \ - ATM_QoS.cpp \ - ATM_Stream.cpp \ - Atomic_Op.cpp \ - Atomic_Op_Sparc.c \ - Auto_Event.cpp \ - Barrier.cpp \ - Base_Thread_Adapter.cpp \ - Based_Pointer_Repository.cpp \ - Basic_Stats.cpp \ - Basic_Types.cpp \ - Capabilities.cpp \ - CDR_Base.cpp \ - CDR_Stream.cpp \ - CDR_Size.cpp \ - Cleanup.cpp \ - Codeset_IBM1047.cpp \ - Codeset_Registry.cpp \ - Codeset_Registry_db.cpp \ - Condition_Recursive_Thread_Mutex.cpp \ - Condition_Thread_Mutex.cpp \ - Configuration.cpp \ - Configuration_Import_Export.cpp \ - Connection_Recycling_Strategy.cpp \ - Containers.cpp \ - Copy_Disabled.cpp \ - Countdown_Time.cpp \ - Date_Time.cpp \ - DEV.cpp \ - DEV_Addr.cpp \ - DEV_Connector.cpp \ - DEV_IO.cpp \ - DLL_Manager.cpp \ - Dev_Poll_Reactor.cpp \ - Dirent.cpp \ - Dirent_Selector.cpp \ - Dump.cpp \ - Dynamic.cpp \ - Dynamic_Message_Strategy.cpp \ - Event.cpp \ - Event_Handler.cpp \ - FIFO.cpp \ - FIFO_Recv.cpp \ - FIFO_Recv_Msg.cpp \ - FIFO_Send.cpp \ - FIFO_Send_Msg.cpp \ - FILE.cpp \ - FILE_Addr.cpp \ - FILE_Connector.cpp \ - FILE_IO.cpp \ - File_Lock.cpp \ - Flag_Manip.cpp \ - Framework_Component.cpp \ - Functor.cpp \ - Functor_String.cpp \ - Get_Opt.cpp \ - gethrtime.cpp \ - Handle_Ops.cpp \ - Handle_Set.cpp \ - Hashable.cpp \ - High_Res_Timer.cpp \ - ICMP_Socket.cpp \ - INET_Addr.cpp \ - Init_ACE.cpp \ - IO_SAP.cpp \ - IO_Cntl_Msg.cpp \ - IOStream.cpp \ - IPC_SAP.cpp \ - Lib_Find.cpp \ - Local_Memory_Pool.cpp \ - Lock.cpp \ - Log_Msg.cpp \ - Log_Msg_Backend.cpp \ - Log_Msg_Callback.cpp \ - Log_Msg_IPC.cpp \ - Log_Msg_NT_Event_Log.cpp \ - Log_Msg_UNIX_Syslog.cpp \ - Log_Record.cpp \ - Logging_Strategy.cpp \ - LSOCK.cpp \ - LSOCK_Acceptor.cpp \ - LSOCK_CODgram.cpp \ - LSOCK_Connector.cpp \ - LSOCK_Dgram.cpp \ - LSOCK_Stream.cpp \ - Malloc.cpp \ - Malloc_Allocator.cpp \ - Manual_Event.cpp \ - MEM_Acceptor.cpp \ - MEM_Addr.cpp \ - MEM_Connector.cpp \ - MEM_IO.cpp \ - Mem_Map.cpp \ - MEM_SAP.cpp \ - MEM_Stream.cpp \ - Message_Block.cpp \ - Message_Queue.cpp \ - Message_Queue_NT.cpp \ - Message_Queue_Vx.cpp \ - Method_Request.cpp \ - MMAP_Memory_Pool.cpp \ - Msg_WFMO_Reactor.cpp \ - Monitor_Admin.cpp \ - Monitor_Admin_Manager.cpp \ - Monitor_Base.cpp \ - Monitor_Point_Registry.cpp \ - Monitor_Size.cpp \ - Monitor_Control_Types.cpp \ - Monitor_Control_Action.cpp \ - Multihomed_INET_Addr.cpp \ - Mutex.cpp \ - Netlink_Addr.cpp \ - Notification_Strategy.cpp \ - Notification_Queue.cpp \ - Obchunk.cpp \ - Object_Manager.cpp \ - Object_Manager_Base.cpp \ - OS_Errno.cpp \ - OS_Log_Msg_Attributes.cpp \ - OS_main.cpp \ - OS_NS_arpa_inet.cpp \ - OS_NS_ctype.cpp \ - OS_NS_dirent.cpp \ - OS_NS_dlfcn.cpp \ - OS_NS_errno.cpp \ - OS_NS_fcntl.cpp \ - OS_NS_math.cpp \ - OS_NS_netdb.cpp \ - OS_NS_poll.cpp \ - OS_NS_pwd.cpp \ - OS_NS_regex.cpp \ - OS_NS_signal.cpp \ - OS_NS_stdio.cpp \ - OS_NS_stdlib.cpp \ - OS_NS_string.cpp \ - OS_NS_strings.cpp \ - OS_NS_stropts.cpp \ - OS_NS_sys_mman.cpp \ - OS_NS_sys_msg.cpp \ - OS_NS_sys_resource.cpp \ - OS_NS_sys_select.cpp \ - OS_NS_sys_sendfile.cpp \ - OS_NS_sys_shm.cpp \ - OS_NS_sys_socket.cpp \ - OS_NS_sys_stat.cpp \ - OS_NS_sys_time.cpp \ - OS_NS_sys_uio.cpp \ - OS_NS_sys_utsname.cpp \ - OS_NS_sys_wait.cpp \ - OS_NS_Thread.cpp \ - OS_NS_time.cpp \ - OS_NS_unistd.cpp \ - OS_NS_wchar.cpp \ - OS_NS_wctype.cpp \ - OS_QoS.cpp \ - OS_Thread_Adapter.cpp \ - OS_TLI.cpp \ - Pagefile_Memory_Pool.cpp \ - PI_Malloc.cpp \ - Ping_Socket.cpp \ - Pipe.cpp \ - POSIX_Asynch_IO.cpp \ - POSIX_CB_Proactor.cpp \ - POSIX_Proactor.cpp \ - Priority_Reactor.cpp \ - Proactor.cpp \ - Proactor_Impl.cpp \ - Process.cpp \ - Process_Manager.cpp \ - Process_Mutex.cpp \ - Process_Semaphore.cpp \ - Profile_Timer.cpp \ - Reactor.cpp \ - Reactor_Impl.cpp \ - Reactor_Notification_Strategy.cpp \ - Reactor_Timer_Interface.cpp \ - Read_Buffer.cpp \ - Recursive_Thread_Mutex.cpp \ - Recyclable.cpp \ - Registry.cpp \ - Rtems_init.c \ - RW_Mutex.cpp \ - RW_Process_Mutex.cpp \ - RW_Thread_Mutex.cpp \ - Sample_History.cpp \ - Sbrk_Memory_Pool.cpp \ - Sched_Params.cpp \ - Select_Reactor_Base.cpp \ - Semaphore.cpp \ - Shared_Memory.cpp \ - Shared_Memory_MM.cpp \ - Shared_Memory_Pool.cpp \ - Shared_Memory_SV.cpp \ - Sig_Adapter.cpp \ - Sig_Handler.cpp \ - Signal.cpp \ - SOCK.cpp \ - SOCK_Acceptor.cpp \ - SOCK_CODgram.cpp \ - Sock_Connect.cpp \ - SOCK_Connector.cpp \ - SOCK_Dgram.cpp \ - SOCK_Dgram_Bcast.cpp \ - SOCK_Dgram_Mcast.cpp \ - SOCK_IO.cpp \ - SOCK_Netlink.cpp \ - SOCK_SEQPACK_Acceptor.cpp \ - SOCK_SEQPACK_Association.cpp \ - SOCK_SEQPACK_Connector.cpp \ - SOCK_Stream.cpp \ - SPIPE.cpp \ - SPIPE_Acceptor.cpp \ - SPIPE_Addr.cpp \ - SPIPE_Connector.cpp \ - SPIPE_Stream.cpp \ - SString.cpp \ - Stack_Trace.cpp \ - Stats.cpp \ - String_Base_Const.cpp \ - SUN_Proactor.cpp \ - SV_Message.cpp \ - SV_Message_Queue.cpp \ - SV_Semaphore_Complex.cpp \ - SV_Semaphore_Simple.cpp \ - SV_Shared_Memory.cpp \ - Synch_Options.cpp \ - System_Time.cpp \ - Task.cpp \ - Thread.cpp \ - Thread_Adapter.cpp \ - Thread_Control.cpp \ - Thread_Exit.cpp \ - Thread_Hook.cpp \ - Thread_Manager.cpp \ - Thread_Mutex.cpp \ - Thread_Semaphore.cpp \ - Throughput_Stats.cpp \ - Time_Value.cpp \ - Timeprobe.cpp \ - TLI.cpp \ - TLI_Acceptor.cpp \ - TLI_Connector.cpp \ - TLI_Stream.cpp \ - Token.cpp \ - TP_Reactor.cpp \ - Trace.cpp \ - TSS_Adapter.cpp \ - TTY_IO.cpp \ - UNIX_Addr.cpp \ - UPIPE_Acceptor.cpp \ - UPIPE_Connector.cpp \ - UPIPE_Stream.cpp \ - WFMO_Reactor.cpp \ - WIN32_Asynch_IO.cpp \ - WIN32_Proactor.cpp \ - XTI_ATM_Mcast.cpp - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- -ACE_SHLIBS = - -PRJ_TYPE = library - -COLLAPSE_SLASHES = $(if $(findstring //,$(1)),$(call COLLAPSE_SLASHES,$(subst //,/,$(1))),$(1)) -INSLIB ?= $(call COLLAPSE_SLASHES,../lib) -ifeq ($(INSLIB),.) - ifeq ($(CURDIR),) - ifeq ($(PWD),) - PWD=$(shell pwd) - endif - else - PWD=$(CURDIR) - endif - INSLIB = $(PWD) -endif -OUTPUT_DIRECTORY = $(INSLIB) - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU - - -GNUACE_PROJECT_VERSION ?= $(ACE_VERSION) - -ifneq (,$(RC)) -RESOURCES += \ - ace.rc - -RC_INCLUDE_FLAG ?= --include-dir= -RCFLAGS = \ - $(RC_INCLUDE_FLAG).. -endif - -# To build multiple targets in the same directory on AIX, it works -# best to have a template directory per project. -# The compiler/linker isn't too smart about instantiating templates... -ifdef TEMPINCDIR -TEMPINCDIR := $(TEMPINCDIR)/ACE -all: $(TEMPINCDIR) -endif - -ifneq ($(OUTPUT_DIRECTORY),) -.PHONY: create_output_directory.local -all: create_output_directory.local -create_output_directory.local: - -@$(MKDIR) "$(OUTPUT_DIRECTORY)" $(ACE_NUL_STDERR) -endif - -LIBCHECK = 1 -ifneq ($(ace_for_tao),1) -ifneq ($(LIBCHECK), 1) - LIB_CHECKED = - SHLIB = - all: lib_warning -endif -else - LIB_CHECKED = - SHLIB = - all: avoid_warning -endif - -ifneq ($(ace_for_tao),1) -else - LIB_CHECKED = - SHLIB = - all: avoid_warning -endif -LSRC = $(FILES) - -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -ifeq ($(VXWORKSLINK),1) -include $(TGT_DIR)/h/make/rules.$(PRJ_TYPE) -endif - -ifeq ($(VXWORKSLINK),1) -LDLIBPATH = -L. -L../lib -else -LDFLAGS += -L. $(if $(ARCH),-L./$(ARCH)) -L../lib $(if $(ARCH),-L../lib/$(ARCH)) -endif -CPPFLAGS += -I.. -ifeq ($(shared_libs),1) - ifneq ($(SHLIB),) - CPPFLAGS += -DACE_BUILD_DLL - endif -endif -ifeq ($(static_libs),1) - CPPFLAGS += -DACE_AS_STATIC_LIBS -endif - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- -lib_warning: - @echo ACE will not be built due to the following missing library: $(LIBCHECK) >&2 - -ifeq ($(ace_for_tao),1) -avoids_enabled_macros += ace_for_tao -endif -avoid_warning: - @echo ACE will not be built due to the following enabled make macros: $(avoids_enabled_macros)>&2 - -## Some OS's have /bin/test others only have /usr/bin/test -ifeq ($(wildcard /bin/test), /bin/test) - TEST_EXE = /bin/test -else -ifeq ($(wildcard /usr/bin/test), /usr/bin/test) - TEST_EXE = /usr/bin/test -endif -endif - -SPACE = $(should_be_unset) $(should_be_unset) -ifneq ($(GENERATED_DIRTY),) -.PRECIOUS: $(GENERATED_DIRTY) -## If the generated files are anything but source files, we need to -## ensure that those files are generated before we attempt to build anything -## else. -ifeq ($(OBJS_DEPEND_ON_GENERATED),1) -$(VDIR)$(ACE_PCH_FILE) $(addprefix $(VDIR), $(OBJS)): $(GENERATED_DIRTY) -$(VSHDIR)$(ACE_PCH_FILE) $(VSHOBJS): $(GENERATED_DIRTY) -endif -endif - - -realclean: clean -ifneq ($(GENERATED_DIRTY),) - -$(RM) -r $(GENERATED_DIRTY) -endif - -__prebuild__: -ifneq ($(ace_for_tao),1) - @-: -endif - - -.PHONY: install -install: all -INSTALL_LIB ?= lib -ifneq ($(INSTALL_PREFIX),) -ifneq ($(install_rpath),0) -LDFLAGS += -Wl,-R$(INSTALL_PREFIX)/$(INSTALL_LIB) -endif -endif - -PRJINST_OPTIONS ?= -INST_DIR ?= /$(notdir $(PWD)) -COMMA = , -SPACE = $(should_be_unset) $(should_be_unset) -INSTALLER ?= $(MPC_ROOT)/prj_install.pl -CUSTOM_INST_TAGS = $(sort ) - -LIB_INST_TAGS = header_files template_files$(if $(findstring 1,$(inline)), inline_files)$(if $(CUSTOM_INST_TAGS), $(CUSTOM_INST_TAGS)) -LIB_INST_LOCATIONS = $(foreach tag,$(LIB_INST_TAGS),-b $(tag)=include$(INST_DIR)) - -INST_TAGS = lib_output$(if $(LIB_INST_TAGS), $(LIB_INST_TAGS)) -INST_LOCATIONS = $(LIB_INST_LOCATIONS) -o lib_output=$(INSTALL_LIB) - -DATA_INST_TAGS = installdata_files -INST_LOCATIONS += $(if $(DATA_INST_TAGS),-x installdata_files -b installdata_files=share$(INST_DIR)) -INST_TAGS := $(INST_TAGS)$(if $(DATA_INST_TAGS), $(DATA_INST_TAGS)) - -ifeq ($(INSTALLER),/prj_install.pl) -INSTALLER = $(ACE_ROOT)/MPC/prj_install.pl -endif - -ifeq ($(LIBCHECK),1) -ifneq ($(ace_for_tao),1) -install: -ifeq ($(INST_TAGS),) - @echo Nothing to install. -else -ifeq ($(INSTALL_PREFIX),) - @echo The variable INSTALL_PREFIX must be set to install. - @echo If binaries are already built and you want to use RPATH, - @echo they must be rebuilt after changing INSTALL_PREFIX. - @false -else - perl -ne'if (/^#END MPC-Generated Install Info/) {exit 0}' \ - -e'elsif (/^#BEGIN MPC-Generated Install Info/) {$$ok=1}' \ - -e'elsif ($$ok && s/^#//) {print}' $(MAKEFILE) | \ - $(INSTALLER) -i -s $(subst $(SPACE),$(COMMA),$(INST_TAGS)) \ - $(INST_LOCATIONS) $(if $(ARCH),-d $(ARCH)) $(PRJINST_OPTIONS) \ - $(INSTALL_PREFIX) - $(ACE_ROOT)/bin/ace_install_pkgconfig.pl ACE.pc.in --prefix $(INSTALL_PREFIX) --libdir $(INSTALL_LIB) --libs "$(LIBS)" --version $(GNUACE_PROJECT_VERSION) - perl -i -pe's!\$$[{(]ACE_ROOT[})]!$(INSTALL_PREFIX)/include!g unless /^\s*include / || /^INS/' $(INSTALL_PREFIX)/share/ace/include/makeinclude/wrapper_macros.GNU - perl -i -pe'BEGIN {$$lib = qq($(INSTALL_PREFIX)/$(INSTALL_LIB)); $$lp = qq(-value_project libpaths+=$$lib\n); $$cl = qq(command_line =)}' -e'if ($$. == 1 && /^$$cl (.*)/ && $$1 !~ /$$lib\b/) {chomp; print qq($$_ $$lp); $$_ = qq()}' -e'elsif ($$. == 1 && !/^$$cl/) {print qq($$cl $$lp)}' $(INSTALL_PREFIX)/share/ace/bin/MakeProjectCreator/config/MPC.cfg - perl -i -ne'print unless /^\s*ARCH\s*[+?:]?=/' $(INSTALL_PREFIX)/share/ace/include/makeinclude/platform_macros.GNU - echo export ACE_ROOT=$(INSTALL_PREFIX)/share/ace> $(INSTALL_PREFIX)/share/ace/ace-devel.sh - -endif -endif -endif -endif - -#BEGIN MPC-Generated Install Info -#documentation_files: -#README -#../VERSION -# -#build_files: -#svcconfgen.mpc -#ace.mpc -#ace_for_tao.mpc -#uuid.mpb -#token.mpb -#other.mpb -#svcconf.mpb -#filecache.mpb -#codecs.mpb -#ace.mwc -# -#installdata_files: -#../bin/MakeProjectCreator bin -#../bin/DependencyGenerator bin -#../bin/mwc.pl bin -#../bin/mpc.pl bin -#../bin/add_rel_link.sh bin -#../bin/depgen.pl bin -#../include/makeinclude include -#../README . -#../VERSION . -#../PROBLEM-REPORT-FORM . -#../NEWS . -#../COPYING . -#../AUTHORS . -#../THANKS . -#../docs . -# -#inline_files: -#Bound_Ptr.inl -#Condition_T.inl -#Guard_T.inl -#Handle_Gobbler.inl -#Intrusive_Auto_Ptr.inl -#Lock_Adapter_T.inl -#Metrics_Cache_T.inl -#Refcounted_Auto_Ptr.inl -#Reverse_Lock_T.inl -#TSS_T.inl -#ace_wchar.inl -#ACE.inl -#SOCK_Dgram_Mcast.inl -#Signal.inl -#OS_NS_stropts.inl -#Token_Collection.inl -#Proactor.inl -#Date_Time.inl -#Functor_T.inl -#Handle_Set.inl -#OS_NS_string.inl -#CDR_Size.inl -#OS_Log_Msg_Attributes.inl -#IOStream_T.inl -#Hash_Map_Manager_T.inl -#Reactor.inl -#Auto_Ptr.inl -#Singleton.inl -#SOCK_Connector.inl -#CDR_Stream.inl -#Auto_IncDec_T.inl -#OS_NS_sys_sendfile.inl -#Condition_Thread_Mutex.inl -#FIFO_Recv.inl -#OS_NS_sys_shm.inl -#OS_NS_fcntl.inl -#Service_Types.inl -#Shared_Object.inl -#Pipe.inl -#Dynamic_Service.inl -#Env_Value_T.inl -#LSOCK_Stream.inl -#Barrier.inl -#UUID.inl -#Configuration.inl -#MMAP_Memory_Pool.inl -#Token_Request_Reply.inl -#OS_NS_sys_resource.inl -#Containers_T.inl -#Token.inl -#SOCK_CODgram.inl -#UPIPE_Acceptor.inl -#FILE_IO.inl -#Intrusive_List_Node.inl -#RW_Process_Mutex.inl -#Notification_Strategy.inl -#OS_Errno.inl -#IO_Cntl_Msg.inl -#Framework_Component.inl -#SV_Semaphore_Complex.inl -#Asynch_IO_Impl.inl -#Thread_Mutex.inl -#Thread_Control.inl -#RW_Mutex.inl -#ATM_QoS.inl -#Service_Object.inl -#Dev_Poll_Reactor.inl -#FIFO.inl -#OS_NS_signal.inl -#SV_Message.inl -#SOCK_Stream.inl -#Addr.inl -#DEV.inl -#Map_T.inl -#Mem_Map.inl -#Refcountable_T.inl -#Unbounded_Set.inl -#OS_NS_errno.inl -#FIFO_Send.inl -#TLI.inl -#MEM_Addr.inl -#DEV_IO.inl -#OS_NS_ctype.inl -#Vector_T.inl -#OS_NS_netdb.inl -#Active_Map_Manager_T.inl -#SString.inl -#LSOCK_Connector.inl -#Pagefile_Memory_Pool.inl -#UNIX_Addr.inl -#Atomic_Op_T.inl -#Dynamic_Message_Strategy.inl -#Hash_Cache_Map_Manager_T.inl -#SPIPE_Stream.inl -#IPC_SAP.inl -#SOCK_Dgram_Bcast.inl -#Atomic_Op.inl -#Message_Queue_NT.inl -#Cache_Map_Manager_T.inl -#Process_Mutex.inl -#Service_Repository.inl -#OS_NS_sys_uio.inl -#OS_NS_sys_stat.inl -#SOCK.inl -#Profile_Timer.inl -#TLI_Stream.inl -#Flag_Manip.inl -#LSOCK_Dgram.inl -#SOCK_SEQPACK_Association.inl -#Auto_Event.inl -#OS_NS_dirent.inl -#Object_Manager.inl -#Process_Manager.inl -#Managed_Object.inl -#SV_Message_Queue.inl -#Malloc.inl -#OS_NS_sys_wait.inl -#Process.inl -#OS_NS_sys_select.inl -#MEM_Stream.inl -#Select_Reactor_T.inl -#SPIPE_Connector.inl -#Array_Map.inl -#Log_Msg.inl -#Dynamic.inl -#OS_NS_dlfcn.inl -#MEM_Connector.inl -#Timer_Queue_Adapters.inl -#SOCK_Acceptor.inl -#PI_Malloc.inl -#Activation_Queue.inl -#Event_Handler_T.inl -#Stats.inl -#FILE_Addr.inl -#Thread.inl -#Select_Reactor_Base.inl -#CDR_Base.inl -#Typed_SV_Message_Queue.inl -#OS_NS_time.inl -#Array_Base.inl -#Lock.inl -#Event_Handler.inl -#Dirent.inl -#Countdown_Time.inl -#OS_NS_sys_time.inl -#OS_NS_unistd.inl -#FILE.inl -#XTI_ATM_Mcast.inl -#Unbounded_Queue.inl -#OS_NS_stdlib.inl -#Timer_Queue_T.inl -#RW_Thread_Mutex.inl -#OS_TLI.inl -#ATM_Params.inl -#Malloc_T.inl -#Sched_Params.inl -#Hash_Multi_Map_Manager_T.inl -#Functor.inl -#SOCK_SEQPACK_Acceptor.inl -#ATM_Acceptor.inl -#Task_Ex_T.inl -#DEV_Addr.inl -#MEM_Acceptor.inl -#Typed_SV_Message.inl -#FILE_Connector.inl -#Log_Record.inl -#Shared_Memory_SV.inl -#Time_Value.inl -#Hash_Map_With_Allocator_T.inl -#OS_NS_sys_socket.inl -#File_Lock.inl -#TP_Reactor.inl -#Pair_T.inl -#Monitor_Base.inl -#ATM_Stream.inl -#Thread_Adapter.inl -#Argv_Type_Converter.inl -#OS_NS_arpa_inet.inl -#OS_NS_strings.inl -#Service_Config.inl -#UPIPE_Stream.inl -#LSOCK.inl -#ARGV.inl -#Message_Block.inl -#Service_Gestalt.inl -#Malloc_Allocator.inl -#Cleanup.inl -#Local_Tokens.inl -#Stream.inl -#FIFO_Send_Msg.inl -#Task.inl -#Reactor_Notification_Strategy.inl -#Caching_Strategies_T.inl -#FIFO_Recv_Msg.inl -#Message_Queue.inl -#Thread_Semaphore.inl -#Sig_Handler.inl -#Thread_Manager.inl -#SPIPE.inl -#Obstack_T.inl -#Event.inl -#SOCK_SEQPACK_Connector.inl -#UTF16_Encoding_Converter.inl -#IO_SAP.inl -#SOCK_IO.inl -#Token_Manager.inl -#Base_Thread_Adapter.inl -#OS_NS_regex.inl -#ATM_Connector.inl -#WFMO_Reactor.inl -#SV_Shared_Memory.inl -#Recursive_Thread_Mutex.inl -#String_Base.inl -#Message_Queue_Vx.inl -#Strategies_T.inl -#NT_Service.inl -#Timeprobe.inl -#Containers.inl -#Unbounded_Set_Ex.inl -#UPIPE_Connector.inl -#Based_Pointer_T.inl -#SOCK_Dgram.inl -#DEV_Connector.inl -#Multihomed_INET_Addr.inl -#SOCK_Netlink.inl -#Get_Opt.inl -#Message_Block_T.inl -#Sample_History.inl -#Ping_Socket.inl -#Remote_Tokens.inl -#Map_Manager.inl -#TLI_Connector.inl -#Manual_Event.inl -#Codeset_Registry.inl -#Basic_Stats.inl -#Module.inl -#Notification_Queue.inl -#INET_Addr.inl -#LSOCK_CODgram.inl -#RB_Tree.inl -#Intrusive_List.inl -#Semaphore.inl -#SV_Semaphore_Simple.inl -#Read_Buffer.inl -#OS_NS_Thread.inl -#OS_NS_math.inl -#Hashable.inl -#Shared_Memory_MM.inl -#MEM_IO.inl -#Atomic_Op_GCC_T.inl -#Basic_Types.inl -#Process_Semaphore.inl -#ATM_Addr.inl -#Functor_String.inl -#OS_NS_sys_msg.inl -#High_Res_Timer.inl -#Mutex.inl -#OS_NS_wchar.inl -#Active_Map_Manager.inl -#OS_NS_stdio.inl -#OS_NS_pwd.inl -#MEM_SAP.inl -#Capabilities.inl -#OS_NS_sys_mman.inl -#SPIPE_Addr.inl -#OS_NS_wctype.inl -#Netlink_Addr.inl -#Task_T.inl -#Dirent_Selector.inl -#POSIX_Proactor.inl -#OS_NS_poll.inl -#Msg_WFMO_Reactor.inl -#Naming_Context.inl -#Recyclable.inl -#Auto_Functor.inl -#Obchunk.inl -# -#resource_files: -#ace.rc -# -#header_files: -#ACE_export.h -#Bound_Ptr.h -#CE_Screen_Output.h -#Codeset_Symbols.h -#CORBA_macros.h -#Condition_T.h -#Default_Constants.h -#Global_Macros.h -#Guard_T.h -#Hash_Map_Manager.h -#Handle_Gobbler.h -#If_Then_Else.h -#IO_Cntl_Msg.h -#Intrusive_Auto_Ptr.h -#Lock_Adapter_T.h -#Log_Priority.h -#Malloc_Base.h -#Metrics_Cache.h -#Metrics_Cache_T.h -#Memory_Pool.h -#Min_Max.h -#Netlink_Addr.h -#Null_Barrier.h -#Null_Condition.h -#Null_Mutex.h -#Null_Semaphore.h -#Numeric_Limits.h -#OS_Memory.h -#OS_NS_macros.h -#OS_Thread_Adapter.h -#Object_Manager_Base.h -#Obstack.h -#Proactor_Impl.h -#Reactor_Impl.h -#Reactor_Timer_Interface.h -#Refcounted_Auto_Ptr.h -#Reverse_Lock_T.h -#Select_Reactor.h -#SOCK_Netlink.h -#SStringfwd.h -#Stack_Trace.h -#Static_Object_Lock.h -#Strategies.h -#String_Base_Const.h -#Svc_Conf.h -#Svc_Conf_Param.h -#Svc_Conf_Tokens.h -#Svc_Conf_Token_Table.h -#Synch.h -#Synch_Traits.h -#TSS_T.h -#Timer_Hash.h -#Timer_Heap.h -#Timer_List.h -#Timer_Queue.h -#Timer_Queuefwd.h -#Timer_Wheel.h -#Truncate.h -#UPIPE_Addr.h -#Value_Ptr.h -#Version.h -#Versioned_Namespace.h -#ace_wchar.h -#checked_iterator.h -#config-aix-5.x.h -#config-all.h -#config-cygwin32.h -#config-doxygen.h -#config-freebsd.h -#config-g++-common.h -#config-ghs-common.h -#config-hpux-11.00.h -#config-icc-common.h -#config-integritySCA.h -#config-kfreebsd.h -#config-linux-common.h -#config-linux.h -#config-lite.h -#config-lynxos.h -#config-macosx-iphone-hardware.h -#config-macosx-iphone-simulator.h -#config-macosx-leopard.h -#config-macosx-panther.h -#config-macosx-snowleopard.h -#config-macosx-tiger.h -#config-macosx.h -#config-macros.h -#config-minimal.h -#config-mvs.h -#config-netbsd.h -#config-openbsd.h -#config-openvms.h -#config-pharlap.h -#config-posix-nonetworking.h -#config-posix.h -#config-qnx-neutrino.h -#config-qnx-rtp-62x.h -#config-qnx-rtp-common.h -#config-qnx-rtp-pre62x.h -#config-qnx-rtp.h -#config-rtems.h -#config-suncc-common.h -#config-sunos5.10.h -#config-sunos5.11.h -#config-sunos5.4-g++.h -#config-sunos5.4-sunc++-4.x.h -#config-sunos5.5.h -#config-sunos5.6.h -#config-sunos5.7.h -#config-sunos5.8.h -#config-sunos5.9.h -#config-tandem-nsk-mips-v2.h -#config-tandem-nsk-mips-v3.h -#config-tandem.h -#config-visualage.h -#config-vxworks.h -#config-vxworks6.4.h -#config-vxworks6.5.h -#config-vxworks6.6.h -#config-vxworks6.7.h -#config-vxworks6.8.h -#config-win32-borland.h -#config-win32-cegcc.h -#config-win32-common.h -#config-win32-dmc.h -#config-win32-interix.h -#config-win32-mingw.h -#config-win32-msvc-10.h -#config-win32-msvc-7.h -#config-win32-msvc-8.h -#config-win32-msvc-9.h -#config-win32-msvc.h -#config-win32.h -#config-WinCE.h -#config.h -#iosfwd.h -#os_include/os_complex.h -#os_include/os_utmpx.h -#os_include/os_typeinfo.h -#os_include/os_stdbool.h -#os_include/os_netdb.h -#os_include/os_fcntl.h -#os_include/os_pdhmsg.h -#os_include/os_tgmath.h -#os_include/os_stropts.h -#os_include/os_grp.h -#os_include/os_kstat.h -#os_include/arpa/os_inet.h -#os_include/os_strings.h -#os_include/os_fnmatch.h -#os_include/os_trace.h -#os_include/os_cpio.h -#os_include/os_semaphore.h -#os_include/os_nl_types.h -#os_include/os_stdint.h -#os_include/os_stdio.h -#os_include/os_ftw.h -#os_include/os_limits.h -#os_include/os_pdh.h -#os_include/os_dlfcn.h -#os_include/os_poll.h -#os_include/os_wctype.h -#os_include/sys/os_loadavg.h -#os_include/sys/os_sem.h -#os_include/sys/os_msg.h -#os_include/sys/os_wait.h -#os_include/sys/os_shm.h -#os_include/sys/os_ipc.h -#os_include/sys/os_time.h -#os_include/sys/os_mman.h -#os_include/sys/os_sysinfo.h -#os_include/sys/os_types.h -#os_include/sys/os_pstat.h -#os_include/sys/os_resource.h -#os_include/sys/os_sysctl.h -#os_include/sys/os_statvfs.h -#os_include/sys/os_uio.h -#os_include/sys/os_select.h -#os_include/sys/os_times.h -#os_include/sys/os_socket.h -#os_include/sys/os_timeb.h -#os_include/sys/os_un.h -#os_include/sys/os_stat.h -#os_include/sys/os_utsname.h -#os_include/os_ulimit.h -#os_include/net/os_if.h -#os_include/os_byteswap.h -#os_include/os_time.h -#os_include/os_stddef.h -#os_include/os_glob.h -#os_include/os_ndbm.h -#os_include/os_langinfo.h -#os_include/os_string.h -#os_include/os_spawn.h -#os_include/os_sched.h -#os_include/os_errno.h -#os_include/os_wordexp.h -#os_include/os_syslog.h -#os_include/os_aio.h -#os_include/netinet/os_in.h -#os_include/netinet/os_tcp.h -#os_include/os_setjmp.h -#os_include/os_libgen.h -#os_include/os_monetary.h -#os_include/os_iso646.h -#os_include/os_tar.h -#os_include/os_local.h -#os_include/os_termios.h -#os_include/os_stdarg.h -#os_include/os_fmtmsg.h -#os_include/os_assert.h -#os_include/os_ucontext.h -#os_include/os_intrin.h -#os_include/os_regex.h -#os_include/os_mqueue.h -#os_include/os_float.h -#os_include/os_ctype.h -#os_include/os_iconv.h -#os_include/os_wchar.h -#os_include/os_pthread.h -#os_include/os_search.h -#os_include/os_signal.h -#os_include/os_inttypes.h -#os_include/os_math.h -#os_include/os_fenv.h -#os_include/os_stdlib.h -#os_include/os_pwd.h -#os_include/os_unistd.h -#os_include/os_dirent.h -#os_include/os_utime.h -#post.h -#pre.h -#streams.h -#svc_export.h -#ACE.h -#SOCK_Dgram_Mcast.h -#Signal.h -#OS_NS_stropts.h -#Token_Collection.h -#Proactor.h -#Future_Set.h -#Date_Time.h -#Functor_T.h -#Handle_Set.h -#Handle_Ops.h -#OS_NS_string.h -#CDR_Size.h -#OS_Log_Msg_Attributes.h -#IOStream_T.h -#Hash_Map_Manager_T.h -#Reactor.h -#Auto_Ptr.h -#Singleton.h -#SOCK_Connector.h -#CDR_Stream.h -#Shared_Memory_Pool.h -#Auto_IncDec_T.h -#OS_NS_sys_sendfile.h -#Condition_Thread_Mutex.h -#FIFO_Recv.h -#OS_NS_sys_shm.h -#OS_NS_fcntl.h -#Dynamic_Service_Base.h -#Service_Types.h -#Shared_Object.h -#Pipe.h -#Dynamic_Service.h -#Based_Pointer_Repository.h -#Env_Value_T.h -#Message_Queue_T.h -#LSOCK_Stream.h -#Barrier.h -#UUID.h -#OS_QoS.h -#Configuration.h -#MMAP_Memory_Pool.h -#Token_Request_Reply.h -#Log_Msg_UNIX_Syslog.h -#Monitor_Control_Types.h -#Shared_Memory.h -#OS_NS_sys_resource.h -#Containers_T.h -#Cached_Connect_Strategy_T.h -#Svc_Handler.h -#Acceptor.h -#Timer_List_T.h -#Token.h -#Thread_Exit.h -#SPIPE_Acceptor.h -#SOCK_CODgram.h -#Node.h -#UPIPE_Acceptor.h -#Monitor_Admin.h -#FILE_IO.h -#Intrusive_List_Node.h -#RW_Process_Mutex.h -#Atomic_Op_Sparc.h -#Dynamic_Service_Dependency.h -#Notification_Strategy.h -#OS_Errno.h -#Framework_Component.h -#SV_Semaphore_Complex.h -#Asynch_IO_Impl.h -#Thread_Mutex.h -#Thread_Control.h -#RW_Mutex.h -#Tokenizer_T.h -#ATM_QoS.h -#Trace.h -#Service_Object.h -#SUN_Proactor.h -#Dev_Poll_Reactor.h -#Cleanup_Strategies_T.h -#FIFO.h -#Codeset_IBM1047.h -#OS_NS_signal.h -#SV_Message.h -#SOCK_Stream.h -#Addr.h -#DEV.h -#Map_T.h -#Mem_Map.h -#Configuration_Import_Export.h -#Refcountable_T.h -#Unbounded_Set.h -#OS_NS_errno.h -#FIFO_Send.h -#Timeprobe_T.h -#TLI.h -#MEM_Addr.h -#Copy_Disabled.h -#DEV_IO.h -#OS_NS_ctype.h -#Encoding_Converter.h -#Vector_T.h -#OS_NS_netdb.h -#Log_Msg_Backend.h -#Svc_Conf_Lexer.h -#Method_Request.h -#Future.h -#Active_Map_Manager_T.h -#TLI_Acceptor.h -#SString.h -#LSOCK_Connector.h -#Timer_Hash_T.h -#Pagefile_Memory_Pool.h -#UNIX_Addr.h -#Atomic_Op_T.h -#Dynamic_Message_Strategy.h -#Hash_Cache_Map_Manager_T.h -#Codecs.h -#SPIPE_Stream.h -#Local_Memory_Pool.h -#IPC_SAP.h -#SOCK_Dgram_Bcast.h -#Log_Msg_IPC.h -#ICMP_Socket.h -#Atomic_Op.h -#Message_Queue_NT.h -#Cache_Map_Manager_T.h -#Process_Mutex.h -#POSIX_CB_Proactor.h -#Service_Repository.h -#OS_NS_sys_uio.h -#OS_NS_sys_stat.h -#Asynch_Acceptor.h -#Sock_Connect.h -#SOCK.h -#Profile_Timer.h -#TLI_Stream.h -#Flag_Manip.h -#Asynch_Connector.h -#LSOCK_Dgram.h -#Asynch_IO.h -#UTF32_Encoding_Converter.h -#SOCK_SEQPACK_Association.h -#Auto_Event.h -#Log_Msg_NT_Event_Log.h -#OS_NS_dirent.h -#Object_Manager.h -#Process_Manager.h -#Timer_Heap_T.h -#Managed_Object.h -#SV_Message_Queue.h -#Malloc.h -#OS_NS_sys_wait.h -#Lib_Find.h -#Process.h -#OS_NS_sys_select.h -#TSS_Adapter.h -#MEM_Stream.h -#Select_Reactor_T.h -#SPIPE_Connector.h -#Array_Map.h -#Log_Msg.h -#Dynamic.h -#OS_NS_dlfcn.h -#MEM_Connector.h -#Timer_Queue_Adapters.h -#SOCK_Acceptor.h -#Connection_Recycling_Strategy.h -#PI_Malloc.h -#Activation_Queue.h -#Event_Handler_T.h -#Stats.h -#Sbrk_Memory_Pool.h -#FILE_Addr.h -#Thread.h -#Select_Reactor_Base.h -#CDR_Base.h -#Framework_Component_T.h -#Typed_SV_Message_Queue.h -#Registry.h -#OS_NS_time.h -#Array_Base.h -#Lock.h -#Event_Handler.h -#Dirent.h -#Countdown_Time.h -#Registry_Name_Space.h -#OS_NS_sys_time.h -#WIN32_Asynch_IO.h -#Parse_Node.h -#OS_NS_unistd.h -#Token_Invariants.h -#FILE.h -#XML_Svc_Conf.h -#Thread_Hook.h -#XTI_ATM_Mcast.h -#Stream_Modules.h -#Unbounded_Queue.h -#OS_NS_stdlib.h -#Dump_T.h -#Timer_Queue_T.h -#RW_Thread_Mutex.h -#OS_TLI.h -#ATM_Params.h -#Log_Msg_Callback.h -#Malloc_T.h -#Sched_Params.h -#WIN32_Proactor.h -#Test_and_Set.h -#DLL_Manager.h -#Hash_Multi_Map_Manager_T.h -#Caching_Utility_T.h -#Functor.h -#SOCK_SEQPACK_Acceptor.h -#ATM_Acceptor.h -#Name_Request_Reply.h -#Task_Ex_T.h -#DEV_Addr.h -#MEM_Acceptor.h -#Condition_Recursive_Thread_Mutex.h -#Typed_SV_Message.h -#FILE_Connector.h -#Log_Record.h -#Shared_Memory_SV.h -#Time_Value.h -#Hash_Map_With_Allocator_T.h -#Name_Space.h -#OS_NS_sys_socket.h -#File_Lock.h -#Timer_Wheel_T.h -#TP_Reactor.h -#Pair_T.h -#Asynch_Pseudo_Task.h -#Monitor_Base.h -#ATM_Stream.h -#LOCK_SOCK_Acceptor.h -#Logging_Strategy.h -#Name_Proxy.h -#Local_Name_Space.h -#Thread_Adapter.h -#Argv_Type_Converter.h -#Monitor_Point_Registry.h -#OS_NS_arpa_inet.h -#Remote_Name_Space.h -#TTY_IO.h -#Throughput_Stats.h -#OS_NS_strings.h -#Service_Config.h -#UPIPE_Stream.h -#LSOCK.h -#Init_ACE.h -#ARGV.h -#Message_Block.h -#Monitor_Control_Action.h -#Monitor_Size.h -#Service_Gestalt.h -#Malloc_Allocator.h -#Cleanup.h -#Local_Tokens.h -#OS_NS_sys_utsname.h -#Stream.h -#FIFO_Send_Msg.h -#Task.h -#Reactor_Notification_Strategy.h -#Caching_Strategies_T.h -#FIFO_Recv_Msg.h -#Message_Queue.h -#Thread_Semaphore.h -#Synch_Options.h -#Sig_Handler.h -#Thread_Manager.h -#SPIPE.h -#Obstack_T.h -#Event.h -#SOCK_SEQPACK_Connector.h -#UTF16_Encoding_Converter.h -#UTF8_Encoding_Converter.h -#POSIX_Asynch_IO.h -#IO_SAP.h -#SOCK_IO.h -#Dump.h -#Connector.h -#Token_Manager.h -#Base_Thread_Adapter.h -#OS_NS_regex.h -#Sig_Adapter.h -#ATM_Connector.h -#WFMO_Reactor.h -#SV_Shared_Memory.h -#LSOCK_Acceptor.h -#Recursive_Thread_Mutex.h -#System_Time.h -#String_Base.h -#Message_Queue_Vx.h -#Strategies_T.h -#OS_main.h -#NT_Service.h -#Timeprobe.h -#Containers.h -#Unbounded_Set_Ex.h -#Monitor_Admin_Manager.h -#UPIPE_Connector.h -#Based_Pointer_T.h -#SOCK_Dgram.h -#DEV_Connector.h -#Priority_Reactor.h -#Multihomed_INET_Addr.h -#Get_Opt.h -#Message_Block_T.h -#Sample_History.h -#Ping_Socket.h -#Remote_Tokens.h -#Map_Manager.h -#TLI_Connector.h -#Manual_Event.h -#Codeset_Registry.h -#Basic_Stats.h -#Module.h -#Notification_Queue.h -#INET_Addr.h -#LSOCK_CODgram.h -#RB_Tree.h -#Intrusive_List.h -#Semaphore.h -#SV_Semaphore_Simple.h -#Read_Buffer.h -#OS_NS_Thread.h -#OS_NS_math.h -#Assert.h -#Encoding_Converter_Factory.h -#DLL.h -#Hashable.h -#IOStream.h -#Shared_Memory_MM.h -#MEM_IO.h -#Arg_Shifter.h -#Atomic_Op_GCC_T.h -#Basic_Types.h -#Process_Semaphore.h -#Service_Manager.h -#ATM_Addr.h -#Functor_String.h -#OS_NS_sys_msg.h -#High_Res_Timer.h -#Local_Name_Space_T.h -#Mutex.h -#OS_NS_wchar.h -#Active_Map_Manager.h -#Free_List.h -#OS_NS_stdio.h -#OS_NS_pwd.h -#MEM_SAP.h -#Capabilities.h -#Filecache.h -#OS_NS_sys_mman.h -#SPIPE_Addr.h -#OS_NS_wctype.h -#Task_T.h -#Dirent_Selector.h -#POSIX_Proactor.h -#OS_NS_poll.h -#Msg_WFMO_Reactor.h -#Naming_Context.h -#Recyclable.h -#Auto_Functor.h -#Obchunk.h -#Reactor_Token_T.h -# -#pkgconfig_files: -#ACE.pc.in -# -#source_files: -#Local_Name_Space.cpp -#Name_Proxy.cpp -#Name_Request_Reply.cpp -#Name_Space.cpp -#Naming_Context.cpp -#Registry_Name_Space.cpp -#Remote_Name_Space.cpp -#NT_Service.cpp -#Codecs.cpp -#Local_Tokens.cpp -#Remote_Tokens.cpp -#Token_Collection.cpp -#Token_Invariants.cpp -#Token_Manager.cpp -#Token_Request_Reply.cpp -#DLL.cpp -#Dynamic_Service_Base.cpp -#Dynamic_Service_Dependency.cpp -#Parse_Node.cpp -#Service_Config.cpp -#Service_Gestalt.cpp -#Service_Manager.cpp -#Service_Object.cpp -#Service_Repository.cpp -#Service_Types.cpp -#Shared_Object.cpp -#Svc_Conf_Lexer.cpp -#Svc_Conf_y.cpp -#Encoding_Converter.cpp -#Encoding_Converter_Factory.cpp -#UTF8_Encoding_Converter.cpp -#UTF16_Encoding_Converter.cpp -#UTF32_Encoding_Converter.cpp -#XML_Svc_Conf.cpp -#UUID.cpp -#Filecache.cpp -#ACE.cpp -#ACE_crc_ccitt.cpp -#ACE_crc32.cpp -#ace_wchar.cpp -#Activation_Queue.cpp -#Active_Map_Manager.cpp -#Addr.cpp -#Argv_Type_Converter.cpp -#Assert.cpp -#Asynch_IO.cpp -#Asynch_IO_Impl.cpp -#Asynch_Pseudo_Task.cpp -#ATM_Acceptor.cpp -#ATM_Addr.cpp -#ATM_Connector.cpp -#ATM_Params.cpp -#ATM_QoS.cpp -#ATM_Stream.cpp -#Atomic_Op.cpp -#Atomic_Op_Sparc.c -#Auto_Event.cpp -#Barrier.cpp -#Base_Thread_Adapter.cpp -#Based_Pointer_Repository.cpp -#Basic_Stats.cpp -#Basic_Types.cpp -#Capabilities.cpp -#CDR_Base.cpp -#CDR_Stream.cpp -#CDR_Size.cpp -#Cleanup.cpp -#Codeset_IBM1047.cpp -#Codeset_Registry.cpp -#Codeset_Registry_db.cpp -#Condition_Recursive_Thread_Mutex.cpp -#Condition_Thread_Mutex.cpp -#Configuration.cpp -#Configuration_Import_Export.cpp -#Connection_Recycling_Strategy.cpp -#Containers.cpp -#Copy_Disabled.cpp -#Countdown_Time.cpp -#Date_Time.cpp -#DEV.cpp -#DEV_Addr.cpp -#DEV_Connector.cpp -#DEV_IO.cpp -#DLL_Manager.cpp -#Dev_Poll_Reactor.cpp -#Dirent.cpp -#Dirent_Selector.cpp -#Dump.cpp -#Dynamic.cpp -#Dynamic_Message_Strategy.cpp -#Event.cpp -#Event_Handler.cpp -#FIFO.cpp -#FIFO_Recv.cpp -#FIFO_Recv_Msg.cpp -#FIFO_Send.cpp -#FIFO_Send_Msg.cpp -#FILE.cpp -#FILE_Addr.cpp -#FILE_Connector.cpp -#FILE_IO.cpp -#File_Lock.cpp -#Flag_Manip.cpp -#Framework_Component.cpp -#Functor.cpp -#Functor_String.cpp -#Get_Opt.cpp -#gethrtime.cpp -#Handle_Ops.cpp -#Handle_Set.cpp -#Hashable.cpp -#High_Res_Timer.cpp -#ICMP_Socket.cpp -#INET_Addr.cpp -#Init_ACE.cpp -#IO_SAP.cpp -#IO_Cntl_Msg.cpp -#IOStream.cpp -#IPC_SAP.cpp -#Lib_Find.cpp -#Local_Memory_Pool.cpp -#Lock.cpp -#Log_Msg.cpp -#Log_Msg_Backend.cpp -#Log_Msg_Callback.cpp -#Log_Msg_IPC.cpp -#Log_Msg_NT_Event_Log.cpp -#Log_Msg_UNIX_Syslog.cpp -#Log_Record.cpp -#Logging_Strategy.cpp -#LSOCK.cpp -#LSOCK_Acceptor.cpp -#LSOCK_CODgram.cpp -#LSOCK_Connector.cpp -#LSOCK_Dgram.cpp -#LSOCK_Stream.cpp -#Malloc.cpp -#Malloc_Allocator.cpp -#Manual_Event.cpp -#MEM_Acceptor.cpp -#MEM_Addr.cpp -#MEM_Connector.cpp -#MEM_IO.cpp -#Mem_Map.cpp -#MEM_SAP.cpp -#MEM_Stream.cpp -#Message_Block.cpp -#Message_Queue.cpp -#Message_Queue_NT.cpp -#Message_Queue_Vx.cpp -#Method_Request.cpp -#MMAP_Memory_Pool.cpp -#Msg_WFMO_Reactor.cpp -#Monitor_Admin.cpp -#Monitor_Admin_Manager.cpp -#Monitor_Base.cpp -#Monitor_Point_Registry.cpp -#Monitor_Size.cpp -#Monitor_Control_Types.cpp -#Monitor_Control_Action.cpp -#Multihomed_INET_Addr.cpp -#Mutex.cpp -#Netlink_Addr.cpp -#Notification_Strategy.cpp -#Notification_Queue.cpp -#Obchunk.cpp -#Object_Manager.cpp -#Object_Manager_Base.cpp -#OS_Errno.cpp -#OS_Log_Msg_Attributes.cpp -#OS_main.cpp -#OS_NS_arpa_inet.cpp -#OS_NS_ctype.cpp -#OS_NS_dirent.cpp -#OS_NS_dlfcn.cpp -#OS_NS_errno.cpp -#OS_NS_fcntl.cpp -#OS_NS_math.cpp -#OS_NS_netdb.cpp -#OS_NS_poll.cpp -#OS_NS_pwd.cpp -#OS_NS_regex.cpp -#OS_NS_signal.cpp -#OS_NS_stdio.cpp -#OS_NS_stdlib.cpp -#OS_NS_string.cpp -#OS_NS_strings.cpp -#OS_NS_stropts.cpp -#OS_NS_sys_mman.cpp -#OS_NS_sys_msg.cpp -#OS_NS_sys_resource.cpp -#OS_NS_sys_select.cpp -#OS_NS_sys_sendfile.cpp -#OS_NS_sys_shm.cpp -#OS_NS_sys_socket.cpp -#OS_NS_sys_stat.cpp -#OS_NS_sys_time.cpp -#OS_NS_sys_uio.cpp -#OS_NS_sys_utsname.cpp -#OS_NS_sys_wait.cpp -#OS_NS_Thread.cpp -#OS_NS_time.cpp -#OS_NS_unistd.cpp -#OS_NS_wchar.cpp -#OS_NS_wctype.cpp -#OS_QoS.cpp -#OS_Thread_Adapter.cpp -#OS_TLI.cpp -#Pagefile_Memory_Pool.cpp -#PI_Malloc.cpp -#Ping_Socket.cpp -#Pipe.cpp -#POSIX_Asynch_IO.cpp -#POSIX_CB_Proactor.cpp -#POSIX_Proactor.cpp -#Priority_Reactor.cpp -#Proactor.cpp -#Proactor_Impl.cpp -#Process.cpp -#Process_Manager.cpp -#Process_Mutex.cpp -#Process_Semaphore.cpp -#Profile_Timer.cpp -#Reactor.cpp -#Reactor_Impl.cpp -#Reactor_Notification_Strategy.cpp -#Reactor_Timer_Interface.cpp -#Read_Buffer.cpp -#Recursive_Thread_Mutex.cpp -#Recyclable.cpp -#Registry.cpp -#Rtems_init.c -#RW_Mutex.cpp -#RW_Process_Mutex.cpp -#RW_Thread_Mutex.cpp -#Sample_History.cpp -#Sbrk_Memory_Pool.cpp -#Sched_Params.cpp -#Select_Reactor_Base.cpp -#Semaphore.cpp -#Shared_Memory.cpp -#Shared_Memory_MM.cpp -#Shared_Memory_Pool.cpp -#Shared_Memory_SV.cpp -#Sig_Adapter.cpp -#Sig_Handler.cpp -#Signal.cpp -#SOCK.cpp -#SOCK_Acceptor.cpp -#SOCK_CODgram.cpp -#Sock_Connect.cpp -#SOCK_Connector.cpp -#SOCK_Dgram.cpp -#SOCK_Dgram_Bcast.cpp -#SOCK_Dgram_Mcast.cpp -#SOCK_IO.cpp -#SOCK_Netlink.cpp -#SOCK_SEQPACK_Acceptor.cpp -#SOCK_SEQPACK_Association.cpp -#SOCK_SEQPACK_Connector.cpp -#SOCK_Stream.cpp -#SPIPE.cpp -#SPIPE_Acceptor.cpp -#SPIPE_Addr.cpp -#SPIPE_Connector.cpp -#SPIPE_Stream.cpp -#SString.cpp -#Stack_Trace.cpp -#Stats.cpp -#String_Base_Const.cpp -#SUN_Proactor.cpp -#SV_Message.cpp -#SV_Message_Queue.cpp -#SV_Semaphore_Complex.cpp -#SV_Semaphore_Simple.cpp -#SV_Shared_Memory.cpp -#Synch_Options.cpp -#System_Time.cpp -#Task.cpp -#Thread.cpp -#Thread_Adapter.cpp -#Thread_Control.cpp -#Thread_Exit.cpp -#Thread_Hook.cpp -#Thread_Manager.cpp -#Thread_Mutex.cpp -#Thread_Semaphore.cpp -#Throughput_Stats.cpp -#Time_Value.cpp -#Timeprobe.cpp -#TLI.cpp -#TLI_Acceptor.cpp -#TLI_Connector.cpp -#TLI_Stream.cpp -#Token.cpp -#TP_Reactor.cpp -#Trace.cpp -#TSS_Adapter.cpp -#TTY_IO.cpp -#UNIX_Addr.cpp -#UPIPE_Acceptor.cpp -#UPIPE_Connector.cpp -#UPIPE_Stream.cpp -#WFMO_Reactor.cpp -#WIN32_Asynch_IO.cpp -#WIN32_Proactor.cpp -#XTI_ATM_Mcast.cpp -# -#template_files: -#Acceptor.cpp -#Active_Map_Manager_T.cpp -#ARGV.cpp -#Arg_Shifter.cpp -#Array_Base.cpp -#Array_Map.cpp -#Asynch_Acceptor.cpp -#Asynch_Connector.cpp -#Atomic_Op_T.cpp -#Atomic_Op_GCC_T.cpp -#Auto_Functor.cpp -#Auto_IncDec_T.cpp -#Auto_Ptr.cpp -#Based_Pointer_T.cpp -#Cache_Map_Manager_T.cpp -#Cached_Connect_Strategy_T.cpp -#Caching_Strategies_T.cpp -#Caching_Utility_T.cpp -#Cleanup_Strategies_T.cpp -#Condition_T.cpp -#Connector.cpp -#Containers_T.cpp -#Dump_T.cpp -#Dynamic_Service.cpp -#Env_Value_T.cpp -#Event_Handler_T.cpp -#Framework_Component_T.cpp -#Free_List.cpp -#Functor_T.cpp -#Future.cpp -#Future_Set.cpp -#Guard_T.cpp -#Hash_Cache_Map_Manager_T.cpp -#Hash_Map_Manager_T.cpp -#Hash_Multi_Map_Manager_T.cpp -#Hash_Map_With_Allocator_T.cpp -#IOStream_T.cpp -#Intrusive_Auto_Ptr.cpp -#Intrusive_List.cpp -#Intrusive_List_Node.cpp -#LOCK_SOCK_Acceptor.cpp -#Local_Name_Space_T.cpp -#Lock_Adapter_T.cpp -#Malloc_T.cpp -#Managed_Object.cpp -#Map_Manager.cpp -#Map_T.cpp -#Message_Block_T.cpp -#Message_Queue_T.cpp -#Metrics_Cache_T.cpp -#Module.cpp -#Node.cpp -#Obstack_T.cpp -#Pair_T.cpp -#RB_Tree.cpp -#Reactor_Token_T.cpp -#Refcountable_T.cpp -#Refcounted_Auto_Ptr.cpp -#Reverse_Lock_T.cpp -#Select_Reactor_T.cpp -#Singleton.cpp -#Strategies_T.cpp -#Stream.cpp -#Stream_Modules.cpp -#String_Base.cpp -#Svc_Handler.cpp -#TSS_T.cpp -#Task_Ex_T.cpp -#Task_T.cpp -#Test_and_Set.cpp -#Timeprobe_T.cpp -#Timer_Hash_T.cpp -#Timer_Heap_T.cpp -#Timer_List_T.cpp -#Timer_Queue_Adapters.cpp -#Timer_Queue_T.cpp -#Timer_Wheel_T.cpp -#Tokenizer_T.cpp -#Typed_SV_Message.cpp -#Typed_SV_Message_Queue.cpp -#Unbounded_Queue.cpp -#Unbounded_Set.cpp -#Unbounded_Set_Ex.cpp -#Vector_T.cpp -# -#lib_output: -#../lib ACE - -#END MPC-Generated Install Info - diff --git a/dep/ACE_wrappers/ace/Hash_Cache_Map_Manager_T.inl b/dep/ACE_wrappers/ace/Hash_Cache_Map_Manager_T.inl deleted file mode 100644 index f097bb7e0..000000000 --- a/dep/ACE_wrappers/ace/Hash_Cache_Map_Manager_T.inl +++ /dev/null @@ -1,73 +0,0 @@ -// -*- C++ -*- -// -// $Id: Hash_Cache_Map_Manager_T.inl 80826 2008-03-04 14:51:23Z wotte $ - -#define ACE_T1 class KEY, class VALUE, class HASH_KEY, class COMPARE_KEYS, class CACHING_STRATEGY, class ATTRIBUTES -#define ACE_T2 KEY, VALUE, HASH_KEY, COMPARE_KEYS, CACHING_STRATEGY, ATTRIBUTES - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -template ACE_INLINE int -ACE_Hash_Cache_Map_Manager::bind (const KEY &key, - const VALUE &value) -{ - return ACE_HCMM_BASE::bind (key, - value); -} - -template ACE_INLINE int -ACE_Hash_Cache_Map_Manager::rebind (const KEY &key, - const VALUE &value) -{ - return ACE_HCMM_BASE::rebind (key, - value); -} - -template ACE_INLINE int -ACE_Hash_Cache_Map_Manager::rebind (const KEY &key, - const VALUE &value, - VALUE &old_value) -{ - return ACE_HCMM_BASE::rebind (key, - value, - old_value); -} - -template ACE_INLINE int -ACE_Hash_Cache_Map_Manager::rebind (const KEY &key, - const VALUE &value, - KEY &old_key, - VALUE &old_value) -{ - return ACE_HCMM_BASE::rebind (key, - value, - old_key, - old_value); -} - -template ACE_INLINE int -ACE_Hash_Cache_Map_Manager::trybind (const KEY &key, - VALUE &value) -{ - return ACE_HCMM_BASE::trybind (key, - value); -} - -template ACE_INLINE int -ACE_Hash_Cache_Map_Manager::unbind (const KEY &key) -{ - return ACE_HCMM_BASE::unbind (key); -} - -template ACE_INLINE int -ACE_Hash_Cache_Map_Manager::unbind (const KEY &key, - VALUE &value) -{ - return ACE_HCMM_BASE::unbind (key, - value); -} - -ACE_END_VERSIONED_NAMESPACE_DECL - -#undef ACE_T1 -#undef ACE_T2 diff --git a/dep/ACE_wrappers/ace/Lock_Adapter_T.inl b/dep/ACE_wrappers/ace/Lock_Adapter_T.inl deleted file mode 100644 index ff102b59d..000000000 --- a/dep/ACE_wrappers/ace/Lock_Adapter_T.inl +++ /dev/null @@ -1,16 +0,0 @@ -// -*- C++ -*- -// -// $Id: Lock_Adapter_T.inl 80826 2008-03-04 14:51:23Z wotte $ - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -template -ACE_INLINE -ACE_Lock_Adapter::ACE_Lock_Adapter ( - ACE_LOCKING_MECHANISM &lock) - : lock_ (&lock), - delete_lock_ (false) -{ -} - -ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/ACE_wrappers/ace/Makefile.am b/dep/ACE_wrappers/ace/Makefile.am deleted file mode 100644 index 6f347833a..000000000 --- a/dep/ACE_wrappers/ace/Makefile.am +++ /dev/null @@ -1,1453 +0,0 @@ -## Process this file with automake to create Makefile.in -## -## $Id: Makefile.am 92140 2010-10-04 12:37:52Z johnnyw $ -## -## This file was generated by MPC. Any changes made directly to -## this file will be lost the next time it is generated. -## -## MPC Command: -## ./bin/mwc.pl -type automake -noreldefs ACE.mwc - -includedir = @includedir@/ace -pkgconfigdir = @libdir@/pkgconfig - -ACE_BUILDDIR = $(top_builddir) -ACE_ROOT = $(top_srcdir) - -SUBDIRS = \ - . \ - ETCL \ - Monitor_Control \ - SSL - -CLEANFILES = -lib_LTLIBRARIES = -pkgconfig_DATA = -nobase_include_HEADERS = - -## Makefile.ACE.am - -if !BUILD_ACE_FOR_TAO - -lib_LTLIBRARIES += libACE.la - -libACE_la_CPPFLAGS = \ - -I$(ACE_ROOT) \ - -I$(ACE_BUILDDIR) \ - -DACE_BUILD_DLL - -libACE_la_SOURCES = \ - ACE.cpp \ - ACE_crc32.cpp \ - ACE_crc_ccitt.cpp \ - ATM_Acceptor.cpp \ - ATM_Addr.cpp \ - ATM_Connector.cpp \ - ATM_Params.cpp \ - ATM_QoS.cpp \ - ATM_Stream.cpp \ - Activation_Queue.cpp \ - Active_Map_Manager.cpp \ - Addr.cpp \ - Argv_Type_Converter.cpp \ - Assert.cpp \ - Asynch_IO.cpp \ - Asynch_IO_Impl.cpp \ - Asynch_Pseudo_Task.cpp \ - Atomic_Op.cpp \ - Atomic_Op_Sparc.c \ - Auto_Event.cpp \ - Barrier.cpp \ - Base_Thread_Adapter.cpp \ - Based_Pointer_Repository.cpp \ - Basic_Stats.cpp \ - Basic_Types.cpp \ - CDR_Base.cpp \ - CDR_Size.cpp \ - CDR_Stream.cpp \ - Capabilities.cpp \ - Cleanup.cpp \ - Codecs.cpp \ - Codeset_IBM1047.cpp \ - Codeset_Registry.cpp \ - Codeset_Registry_db.cpp \ - Condition_Recursive_Thread_Mutex.cpp \ - Condition_Thread_Mutex.cpp \ - Configuration.cpp \ - Configuration_Import_Export.cpp \ - Connection_Recycling_Strategy.cpp \ - Containers.cpp \ - Copy_Disabled.cpp \ - Countdown_Time.cpp \ - DEV.cpp \ - DEV_Addr.cpp \ - DEV_Connector.cpp \ - DEV_IO.cpp \ - DLL.cpp \ - DLL_Manager.cpp \ - Date_Time.cpp \ - Dev_Poll_Reactor.cpp \ - Dirent.cpp \ - Dirent_Selector.cpp \ - Dump.cpp \ - Dynamic.cpp \ - Dynamic_Message_Strategy.cpp \ - Dynamic_Service_Base.cpp \ - Dynamic_Service_Dependency.cpp \ - Encoding_Converter.cpp \ - Encoding_Converter_Factory.cpp \ - Event.cpp \ - Event_Handler.cpp \ - FIFO.cpp \ - FIFO_Recv.cpp \ - FIFO_Recv_Msg.cpp \ - FIFO_Send.cpp \ - FIFO_Send_Msg.cpp \ - FILE.cpp \ - FILE_Addr.cpp \ - FILE_Connector.cpp \ - FILE_IO.cpp \ - File_Lock.cpp \ - Filecache.cpp \ - Flag_Manip.cpp \ - Framework_Component.cpp \ - Functor.cpp \ - Functor_String.cpp \ - Get_Opt.cpp \ - Handle_Ops.cpp \ - Handle_Set.cpp \ - Hashable.cpp \ - High_Res_Timer.cpp \ - ICMP_Socket.cpp \ - INET_Addr.cpp \ - IOStream.cpp \ - IO_Cntl_Msg.cpp \ - IO_SAP.cpp \ - IPC_SAP.cpp \ - Init_ACE.cpp \ - LSOCK.cpp \ - LSOCK_Acceptor.cpp \ - LSOCK_CODgram.cpp \ - LSOCK_Connector.cpp \ - LSOCK_Dgram.cpp \ - LSOCK_Stream.cpp \ - Lib_Find.cpp \ - Local_Memory_Pool.cpp \ - Local_Name_Space.cpp \ - Local_Tokens.cpp \ - Lock.cpp \ - Log_Msg.cpp \ - Log_Msg_Backend.cpp \ - Log_Msg_Callback.cpp \ - Log_Msg_IPC.cpp \ - Log_Msg_NT_Event_Log.cpp \ - Log_Msg_UNIX_Syslog.cpp \ - Log_Record.cpp \ - Logging_Strategy.cpp \ - MEM_Acceptor.cpp \ - MEM_Addr.cpp \ - MEM_Connector.cpp \ - MEM_IO.cpp \ - MEM_SAP.cpp \ - MEM_Stream.cpp \ - MMAP_Memory_Pool.cpp \ - Malloc.cpp \ - Malloc_Allocator.cpp \ - Manual_Event.cpp \ - Mem_Map.cpp \ - Message_Block.cpp \ - Message_Queue.cpp \ - Message_Queue_NT.cpp \ - Message_Queue_Vx.cpp \ - Method_Request.cpp \ - Monitor_Admin.cpp \ - Monitor_Admin_Manager.cpp \ - Monitor_Base.cpp \ - Monitor_Control_Action.cpp \ - Monitor_Control_Types.cpp \ - Monitor_Point_Registry.cpp \ - Monitor_Size.cpp \ - Msg_WFMO_Reactor.cpp \ - Multihomed_INET_Addr.cpp \ - Mutex.cpp \ - NT_Service.cpp \ - Name_Proxy.cpp \ - Name_Request_Reply.cpp \ - Name_Space.cpp \ - Naming_Context.cpp \ - Netlink_Addr.cpp \ - Notification_Queue.cpp \ - Notification_Strategy.cpp \ - OS_Errno.cpp \ - OS_Log_Msg_Attributes.cpp \ - OS_NS_Thread.cpp \ - OS_NS_arpa_inet.cpp \ - OS_NS_ctype.cpp \ - OS_NS_dirent.cpp \ - OS_NS_dlfcn.cpp \ - OS_NS_errno.cpp \ - OS_NS_fcntl.cpp \ - OS_NS_math.cpp \ - OS_NS_netdb.cpp \ - OS_NS_poll.cpp \ - OS_NS_pwd.cpp \ - OS_NS_regex.cpp \ - OS_NS_signal.cpp \ - OS_NS_stdio.cpp \ - OS_NS_stdlib.cpp \ - OS_NS_string.cpp \ - OS_NS_strings.cpp \ - OS_NS_stropts.cpp \ - OS_NS_sys_mman.cpp \ - OS_NS_sys_msg.cpp \ - OS_NS_sys_resource.cpp \ - OS_NS_sys_select.cpp \ - OS_NS_sys_sendfile.cpp \ - OS_NS_sys_shm.cpp \ - OS_NS_sys_socket.cpp \ - OS_NS_sys_stat.cpp \ - OS_NS_sys_time.cpp \ - OS_NS_sys_uio.cpp \ - OS_NS_sys_utsname.cpp \ - OS_NS_sys_wait.cpp \ - OS_NS_time.cpp \ - OS_NS_unistd.cpp \ - OS_NS_wchar.cpp \ - OS_NS_wctype.cpp \ - OS_QoS.cpp \ - OS_TLI.cpp \ - OS_Thread_Adapter.cpp \ - OS_main.cpp \ - Obchunk.cpp \ - Object_Manager.cpp \ - Object_Manager_Base.cpp \ - PI_Malloc.cpp \ - POSIX_Asynch_IO.cpp \ - POSIX_CB_Proactor.cpp \ - POSIX_Proactor.cpp \ - Pagefile_Memory_Pool.cpp \ - Parse_Node.cpp \ - Ping_Socket.cpp \ - Pipe.cpp \ - Priority_Reactor.cpp \ - Proactor.cpp \ - Proactor_Impl.cpp \ - Process.cpp \ - Process_Manager.cpp \ - Process_Mutex.cpp \ - Process_Semaphore.cpp \ - Profile_Timer.cpp \ - RW_Mutex.cpp \ - RW_Process_Mutex.cpp \ - RW_Thread_Mutex.cpp \ - Reactor.cpp \ - Reactor_Impl.cpp \ - Reactor_Notification_Strategy.cpp \ - Reactor_Timer_Interface.cpp \ - Read_Buffer.cpp \ - Recursive_Thread_Mutex.cpp \ - Recyclable.cpp \ - Registry.cpp \ - Registry_Name_Space.cpp \ - Remote_Name_Space.cpp \ - Remote_Tokens.cpp \ - Rtems_init.c \ - SOCK.cpp \ - SOCK_Acceptor.cpp \ - SOCK_CODgram.cpp \ - SOCK_Connector.cpp \ - SOCK_Dgram.cpp \ - SOCK_Dgram_Bcast.cpp \ - SOCK_Dgram_Mcast.cpp \ - SOCK_IO.cpp \ - SOCK_Netlink.cpp \ - SOCK_SEQPACK_Acceptor.cpp \ - SOCK_SEQPACK_Association.cpp \ - SOCK_SEQPACK_Connector.cpp \ - SOCK_Stream.cpp \ - SPIPE.cpp \ - SPIPE_Acceptor.cpp \ - SPIPE_Addr.cpp \ - SPIPE_Connector.cpp \ - SPIPE_Stream.cpp \ - SString.cpp \ - Stack_Trace.cpp \ - SUN_Proactor.cpp \ - SV_Message.cpp \ - SV_Message_Queue.cpp \ - SV_Semaphore_Complex.cpp \ - SV_Semaphore_Simple.cpp \ - SV_Shared_Memory.cpp \ - Sample_History.cpp \ - Sbrk_Memory_Pool.cpp \ - Sched_Params.cpp \ - Select_Reactor_Base.cpp \ - Semaphore.cpp \ - Service_Config.cpp \ - Service_Gestalt.cpp \ - Service_Manager.cpp \ - Service_Object.cpp \ - Service_Repository.cpp \ - Service_Types.cpp \ - Shared_Memory.cpp \ - Shared_Memory_MM.cpp \ - Shared_Memory_Pool.cpp \ - Shared_Memory_SV.cpp \ - Shared_Object.cpp \ - Sig_Adapter.cpp \ - Sig_Handler.cpp \ - Signal.cpp \ - Sock_Connect.cpp \ - Stats.cpp \ - String_Base_Const.cpp \ - Svc_Conf_Lexer.cpp \ - Svc_Conf_y.cpp \ - Synch_Options.cpp \ - System_Time.cpp \ - TLI.cpp \ - TLI_Acceptor.cpp \ - TLI_Connector.cpp \ - TLI_Stream.cpp \ - TP_Reactor.cpp \ - TSS_Adapter.cpp \ - TTY_IO.cpp \ - Task.cpp \ - Thread.cpp \ - Thread_Adapter.cpp \ - Thread_Control.cpp \ - Thread_Exit.cpp \ - Thread_Hook.cpp \ - Thread_Manager.cpp \ - Thread_Mutex.cpp \ - Thread_Semaphore.cpp \ - Throughput_Stats.cpp \ - Time_Value.cpp \ - Timeprobe.cpp \ - Token.cpp \ - Token_Collection.cpp \ - Token_Invariants.cpp \ - Token_Manager.cpp \ - Token_Request_Reply.cpp \ - Trace.cpp \ - UNIX_Addr.cpp \ - UPIPE_Acceptor.cpp \ - UPIPE_Connector.cpp \ - UPIPE_Stream.cpp \ - UTF16_Encoding_Converter.cpp \ - UTF32_Encoding_Converter.cpp \ - UTF8_Encoding_Converter.cpp \ - UUID.cpp \ - WFMO_Reactor.cpp \ - WIN32_Asynch_IO.cpp \ - WIN32_Proactor.cpp \ - XML_Svc_Conf.cpp \ - XTI_ATM_Mcast.cpp \ - ace_wchar.cpp \ - gethrtime.cpp - -libACE_la_LDFLAGS = \ - -release @ACE_VERSION_NAME@ - -nobase_include_HEADERS += \ - ACE.h \ - ACE.inl \ - ACE_export.h \ - ARGV.cpp \ - ARGV.h \ - ARGV.inl \ - ATM_Acceptor.h \ - ATM_Acceptor.inl \ - ATM_Addr.h \ - ATM_Addr.inl \ - ATM_Connector.h \ - ATM_Connector.inl \ - ATM_Params.h \ - ATM_Params.inl \ - ATM_QoS.h \ - ATM_QoS.inl \ - ATM_Stream.h \ - ATM_Stream.inl \ - Acceptor.cpp \ - Acceptor.h \ - Activation_Queue.h \ - Activation_Queue.inl \ - Active_Map_Manager.h \ - Active_Map_Manager.inl \ - Active_Map_Manager_T.cpp \ - Active_Map_Manager_T.h \ - Active_Map_Manager_T.inl \ - Addr.h \ - Addr.inl \ - Arg_Shifter.cpp \ - Arg_Shifter.h \ - Argv_Type_Converter.h \ - Argv_Type_Converter.inl \ - Array_Base.cpp \ - Array_Base.h \ - Array_Base.inl \ - Array_Map.cpp \ - Array_Map.h \ - Array_Map.inl \ - Assert.h \ - Asynch_Acceptor.cpp \ - Asynch_Acceptor.h \ - Asynch_Connector.cpp \ - Asynch_Connector.h \ - Asynch_IO.h \ - Asynch_IO_Impl.h \ - Asynch_IO_Impl.inl \ - Asynch_Pseudo_Task.h \ - Atomic_Op.h \ - Atomic_Op.inl \ - Atomic_Op_Sparc.h \ - Atomic_Op_T.cpp \ - Atomic_Op_GCC_T.h \ - Atomic_Op_GCC_T.cpp \ - Atomic_Op_GCC_T.inl \ - Atomic_Op_T.h \ - Atomic_Op_T.inl \ - Auto_Event.h \ - Auto_Event.inl \ - Auto_Functor.cpp \ - Auto_Functor.h \ - Auto_Functor.inl \ - Auto_IncDec_T.cpp \ - Auto_IncDec_T.h \ - Auto_IncDec_T.inl \ - Auto_Ptr.cpp \ - Auto_Ptr.h \ - Auto_Ptr.inl \ - Barrier.h \ - Barrier.inl \ - Base_Thread_Adapter.h \ - Base_Thread_Adapter.inl \ - Based_Pointer_Repository.h \ - Based_Pointer_T.cpp \ - Based_Pointer_T.h \ - Based_Pointer_T.inl \ - Basic_Stats.h \ - Basic_Stats.inl \ - Basic_Types.h \ - Basic_Types.inl \ - Bound_Ptr.h \ - Bound_Ptr.inl \ - CDR_Base.h \ - CDR_Base.inl \ - CDR_Size.h \ - CDR_Size.inl \ - CDR_Stream.h \ - CDR_Stream.inl \ - CORBA_macros.h \ - Cache_Map_Manager_T.cpp \ - Cache_Map_Manager_T.h \ - Cache_Map_Manager_T.inl \ - Cached_Connect_Strategy_T.cpp \ - Cached_Connect_Strategy_T.h \ - Caching_Strategies_T.cpp \ - Caching_Strategies_T.h \ - Caching_Strategies_T.inl \ - Caching_Utility_T.cpp \ - Caching_Utility_T.h \ - Capabilities.h \ - Capabilities.inl \ - Cleanup.h \ - Cleanup.inl \ - Cleanup_Strategies_T.cpp \ - Cleanup_Strategies_T.h \ - Codecs.h \ - Codeset_IBM1047.h \ - Codeset_Registry.h \ - Codeset_Registry.inl \ - Condition_Recursive_Thread_Mutex.h \ - Condition_T.cpp \ - Condition_T.h \ - Condition_T.inl \ - Condition_Thread_Mutex.h \ - Condition_Thread_Mutex.inl \ - Configuration.h \ - Configuration.inl \ - Configuration_Import_Export.h \ - Connection_Recycling_Strategy.h \ - Connector.cpp \ - Connector.h \ - Containers.h \ - Containers.inl \ - Containers_T.cpp \ - Containers_T.h \ - Containers_T.inl \ - Copy_Disabled.h \ - Countdown_Time.h \ - Countdown_Time.inl \ - DEV.h \ - DEV.inl \ - DEV_Addr.h \ - DEV_Addr.inl \ - DEV_Connector.h \ - DEV_Connector.inl \ - DEV_IO.h \ - DEV_IO.inl \ - DLL.h \ - DLL_Manager.h \ - Date_Time.h \ - Date_Time.inl \ - Default_Constants.h \ - Dev_Poll_Reactor.h \ - Dev_Poll_Reactor.inl \ - Dirent.h \ - Dirent.inl \ - Dirent_Selector.h \ - Dirent_Selector.inl \ - Dump.h \ - Dump_T.cpp \ - Dump_T.h \ - Dynamic.h \ - Dynamic.inl \ - Dynamic_Message_Strategy.h \ - Dynamic_Message_Strategy.inl \ - Dynamic_Service.cpp \ - Dynamic_Service.h \ - Dynamic_Service.inl \ - Dynamic_Service_Base.h \ - Dynamic_Service_Dependency.h \ - Encoding_Converter.h \ - Encoding_Converter_Factory.h \ - Env_Value_T.cpp \ - Env_Value_T.h \ - Env_Value_T.inl \ - Event.h \ - Event.inl \ - Event_Handler.h \ - Event_Handler.inl \ - Event_Handler_T.cpp \ - Event_Handler_T.h \ - Event_Handler_T.inl \ - FIFO.h \ - FIFO.inl \ - FIFO_Recv.h \ - FIFO_Recv.inl \ - FIFO_Recv_Msg.h \ - FIFO_Recv_Msg.inl \ - FIFO_Send.h \ - FIFO_Send.inl \ - FIFO_Send_Msg.h \ - FIFO_Send_Msg.inl \ - FILE.h \ - FILE.inl \ - FILE_Addr.h \ - FILE_Addr.inl \ - FILE_Connector.h \ - FILE_Connector.inl \ - FILE_IO.h \ - FILE_IO.inl \ - File_Lock.h \ - File_Lock.inl \ - Filecache.h \ - Flag_Manip.h \ - Flag_Manip.inl \ - Framework_Component.h \ - Framework_Component.inl \ - Framework_Component_T.cpp \ - Framework_Component_T.h \ - Free_List.cpp \ - Free_List.h \ - Functor.h \ - Functor.inl \ - Functor_String.h \ - Functor_String.inl \ - Functor_T.cpp \ - Functor_T.h \ - Functor_T.inl \ - Future.cpp \ - Future.h \ - Future_Set.cpp \ - Future_Set.h \ - Get_Opt.h \ - Get_Opt.inl \ - Global_Macros.h \ - Guard_T.cpp \ - Guard_T.h \ - Guard_T.inl \ - Handle_Gobbler.h \ - Handle_Gobbler.inl \ - Handle_Ops.h \ - Handle_Set.h \ - Handle_Set.inl \ - Hash_Cache_Map_Manager_T.cpp \ - Hash_Cache_Map_Manager_T.h \ - Hash_Cache_Map_Manager_T.inl \ - Hash_Map_Manager.h \ - Hash_Map_Manager_T.cpp \ - Hash_Map_Manager_T.h \ - Hash_Map_Manager_T.inl \ - Hash_Map_With_Allocator_T.cpp \ - Hash_Map_With_Allocator_T.h \ - Hash_Map_With_Allocator_T.inl \ - Hash_Multi_Map_Manager_T.cpp \ - Hash_Multi_Map_Manager_T.h \ - Hash_Multi_Map_Manager_T.inl \ - Hashable.h \ - Hashable.inl \ - High_Res_Timer.h \ - High_Res_Timer.inl \ - ICMP_Socket.h \ - INET_Addr.h \ - INET_Addr.inl \ - IOStream.h \ - IOStream_T.cpp \ - IOStream_T.h \ - IOStream_T.inl \ - IO_Cntl_Msg.h \ - IO_Cntl_Msg.inl \ - IO_SAP.h \ - IO_SAP.inl \ - IPC_SAP.h \ - IPC_SAP.inl \ - If_Then_Else.h \ - Init_ACE.h \ - Intrusive_Auto_Ptr.cpp \ - Intrusive_Auto_Ptr.h \ - Intrusive_Auto_Ptr.inl \ - Intrusive_List.cpp \ - Intrusive_List.h \ - Intrusive_List.inl \ - Intrusive_List_Node.cpp \ - Intrusive_List_Node.h \ - Intrusive_List_Node.inl \ - LOCK_SOCK_Acceptor.cpp \ - LOCK_SOCK_Acceptor.h \ - LSOCK.h \ - LSOCK.inl \ - LSOCK_Acceptor.h \ - LSOCK_CODgram.h \ - LSOCK_CODgram.inl \ - LSOCK_Connector.h \ - LSOCK_Connector.inl \ - LSOCK_Dgram.h \ - LSOCK_Dgram.inl \ - LSOCK_Stream.h \ - LSOCK_Stream.inl \ - Lib_Find.h \ - Local_Memory_Pool.h \ - Local_Name_Space.h \ - Local_Name_Space_T.cpp \ - Local_Name_Space_T.h \ - Local_Tokens.h \ - Local_Tokens.inl \ - Lock.h \ - Lock.inl \ - Lock_Adapter_T.cpp \ - Lock_Adapter_T.h \ - Lock_Adapter_T.inl \ - Log_Msg.h \ - Log_Msg.inl \ - Log_Msg_Backend.h \ - Log_Msg_Callback.h \ - Log_Msg_IPC.h \ - Log_Msg_NT_Event_Log.h \ - Log_Msg_UNIX_Syslog.h \ - Log_Priority.h \ - Log_Record.h \ - Log_Record.inl \ - Logging_Strategy.h \ - MEM_Acceptor.h \ - MEM_Acceptor.inl \ - MEM_Addr.h \ - MEM_Addr.inl \ - MEM_Connector.h \ - MEM_Connector.inl \ - MEM_IO.h \ - MEM_IO.inl \ - MEM_SAP.h \ - MEM_SAP.inl \ - MEM_Stream.h \ - MEM_Stream.inl \ - MMAP_Memory_Pool.h \ - MMAP_Memory_Pool.inl \ - Malloc.h \ - Malloc.inl \ - Malloc_Allocator.h \ - Malloc_Allocator.inl \ - Malloc_Base.h \ - Malloc_T.cpp \ - Malloc_T.h \ - Malloc_T.inl \ - Managed_Object.cpp \ - Managed_Object.h \ - Managed_Object.inl \ - Manual_Event.h \ - Manual_Event.inl \ - Map_Manager.cpp \ - Map_Manager.h \ - Map_Manager.inl \ - Map_T.cpp \ - Map_T.h \ - Map_T.inl \ - Mem_Map.h \ - Mem_Map.inl \ - Memory_Pool.h \ - Message_Block.h \ - Message_Block.inl \ - Message_Block_T.cpp \ - Message_Block_T.h \ - Message_Block_T.inl \ - Message_Queue.h \ - Message_Queue.inl \ - Message_Queue_NT.h \ - Message_Queue_NT.inl \ - Message_Queue_T.cpp \ - Message_Queue_T.h \ - Message_Queue_Vx.h \ - Message_Queue_Vx.inl \ - Method_Request.h \ - Min_Max.h \ - Module.cpp \ - Module.h \ - Module.inl \ - Monitor_Admin.h \ - Monitor_Admin_Manager.h \ - Monitor_Base.h \ - Monitor_Base.inl \ - Monitor_Control_Action.h \ - Monitor_Control_Types.h \ - Monitor_Point_Registry.h \ - Monitor_Size.h \ - Msg_WFMO_Reactor.h \ - Msg_WFMO_Reactor.inl \ - Multihomed_INET_Addr.h \ - Multihomed_INET_Addr.inl \ - Mutex.h \ - Mutex.inl \ - NT_Service.h \ - NT_Service.inl \ - Name_Proxy.h \ - Name_Request_Reply.h \ - Name_Space.h \ - Naming_Context.h \ - Naming_Context.inl \ - Netlink_Addr.h \ - Netlink_Addr.inl \ - Node.cpp \ - Node.h \ - Notification_Queue.h \ - Notification_Queue.inl \ - Notification_Strategy.h \ - Notification_Strategy.inl \ - Null_Barrier.h \ - Null_Condition.h \ - Null_Mutex.h \ - Null_Semaphore.h \ - Numeric_Limits.h \ - Obstack.h \ - OS_Errno.h \ - OS_Errno.inl \ - OS_Log_Msg_Attributes.h \ - OS_Log_Msg_Attributes.inl \ - OS_Memory.h \ - OS_NS_Thread.h \ - OS_NS_Thread.inl \ - OS_NS_arpa_inet.h \ - OS_NS_arpa_inet.inl \ - OS_NS_ctype.h \ - OS_NS_ctype.inl \ - OS_NS_dirent.h \ - OS_NS_dirent.inl \ - OS_NS_dlfcn.h \ - OS_NS_dlfcn.inl \ - OS_NS_errno.h \ - OS_NS_errno.inl \ - OS_NS_fcntl.h \ - OS_NS_fcntl.inl \ - OS_NS_macros.h \ - OS_NS_math.h \ - OS_NS_math.inl \ - OS_NS_netdb.h \ - OS_NS_netdb.inl \ - OS_NS_poll.h \ - OS_NS_poll.inl \ - OS_NS_pwd.h \ - OS_NS_pwd.inl \ - OS_NS_regex.h \ - OS_NS_regex.inl \ - OS_NS_signal.h \ - OS_NS_signal.inl \ - OS_NS_stdio.h \ - OS_NS_stdio.inl \ - OS_NS_stdlib.h \ - OS_NS_stdlib.inl \ - OS_NS_string.h \ - OS_NS_string.inl \ - OS_NS_strings.h \ - OS_NS_strings.inl \ - OS_NS_stropts.h \ - OS_NS_stropts.inl \ - OS_NS_sys_mman.h \ - OS_NS_sys_mman.inl \ - OS_NS_sys_msg.h \ - OS_NS_sys_msg.inl \ - OS_NS_sys_resource.h \ - OS_NS_sys_resource.inl \ - OS_NS_sys_select.h \ - OS_NS_sys_select.inl \ - OS_NS_sys_sendfile.h \ - OS_NS_sys_sendfile.inl \ - OS_NS_sys_shm.h \ - OS_NS_sys_shm.inl \ - OS_NS_sys_socket.h \ - OS_NS_sys_socket.inl \ - OS_NS_sys_stat.h \ - OS_NS_sys_stat.inl \ - OS_NS_sys_time.h \ - OS_NS_sys_time.inl \ - OS_NS_sys_uio.h \ - OS_NS_sys_uio.inl \ - OS_NS_sys_utsname.h \ - OS_NS_sys_wait.h \ - OS_NS_sys_wait.inl \ - OS_NS_time.h \ - OS_NS_time.inl \ - OS_NS_unistd.h \ - OS_NS_unistd.inl \ - OS_NS_wchar.h \ - OS_NS_wctype.h \ - OS_NS_wctype.inl \ - OS_NS_wchar.inl \ - OS_QoS.h \ - OS_TLI.h \ - OS_TLI.inl \ - OS_Thread_Adapter.h \ - OS_main.h \ - Obchunk.h \ - Obchunk.inl \ - Object_Manager.h \ - Object_Manager.inl \ - Object_Manager_Base.h \ - Obstack_T.cpp \ - Obstack_T.h \ - Obstack_T.inl \ - PI_Malloc.h \ - PI_Malloc.inl \ - POSIX_Asynch_IO.h \ - POSIX_CB_Proactor.h \ - POSIX_Proactor.h \ - POSIX_Proactor.inl \ - Pagefile_Memory_Pool.h \ - Pagefile_Memory_Pool.inl \ - Pair_T.cpp \ - Pair_T.h \ - Pair_T.inl \ - Parse_Node.h \ - Ping_Socket.h \ - Ping_Socket.inl \ - Pipe.h \ - Pipe.inl \ - Priority_Reactor.h \ - Proactor.h \ - Proactor.inl \ - Proactor_Impl.h \ - Process.h \ - Process.inl \ - Process_Manager.h \ - Process_Manager.inl \ - Process_Mutex.h \ - Process_Mutex.inl \ - Process_Semaphore.h \ - Process_Semaphore.inl \ - Profile_Timer.h \ - Profile_Timer.inl \ - RB_Tree.cpp \ - RB_Tree.h \ - RB_Tree.inl \ - RW_Mutex.h \ - RW_Mutex.inl \ - RW_Process_Mutex.h \ - RW_Process_Mutex.inl \ - RW_Thread_Mutex.h \ - RW_Thread_Mutex.inl \ - Reactor.h \ - Reactor.inl \ - Reactor_Impl.h \ - Reactor_Notification_Strategy.h \ - Reactor_Notification_Strategy.inl \ - Reactor_Timer_Interface.h \ - Reactor_Token_T.cpp \ - Reactor_Token_T.h \ - Read_Buffer.h \ - Read_Buffer.inl \ - Recursive_Thread_Mutex.h \ - Recursive_Thread_Mutex.inl \ - Recyclable.h \ - Recyclable.inl \ - Refcountable_T.cpp \ - Refcountable_T.h \ - Refcountable_T.inl \ - Refcounted_Auto_Ptr.cpp \ - Refcounted_Auto_Ptr.h \ - Refcounted_Auto_Ptr.inl \ - Registry.h \ - Registry_Name_Space.h \ - Remote_Name_Space.h \ - Remote_Tokens.h \ - Remote_Tokens.inl \ - Reverse_Lock_T.cpp \ - Reverse_Lock_T.h \ - Reverse_Lock_T.inl \ - SOCK.h \ - SOCK.inl \ - SOCK_Acceptor.h \ - SOCK_Acceptor.inl \ - SOCK_CODgram.h \ - SOCK_CODgram.inl \ - SOCK_Connector.h \ - SOCK_Connector.inl \ - SOCK_Dgram.h \ - SOCK_Dgram.inl \ - SOCK_Dgram_Bcast.h \ - SOCK_Dgram_Bcast.inl \ - SOCK_Dgram_Mcast.h \ - SOCK_Dgram_Mcast.inl \ - SOCK_IO.h \ - SOCK_IO.inl \ - SOCK_Netlink.h \ - SOCK_Netlink.inl \ - SOCK_SEQPACK_Acceptor.h \ - SOCK_SEQPACK_Acceptor.inl \ - SOCK_SEQPACK_Association.h \ - SOCK_SEQPACK_Association.inl \ - SOCK_SEQPACK_Connector.h \ - SOCK_SEQPACK_Connector.inl \ - SOCK_Stream.h \ - SOCK_Stream.inl \ - SPIPE.h \ - SPIPE.inl \ - SPIPE_Acceptor.h \ - SPIPE_Addr.h \ - SPIPE_Addr.inl \ - SPIPE_Connector.h \ - SPIPE_Connector.inl \ - SPIPE_Stream.h \ - SPIPE_Stream.inl \ - SString.h \ - SString.inl \ - SStringfwd.h \ - Stack_Trace.h \ - SUN_Proactor.h \ - SV_Message.h \ - SV_Message.inl \ - SV_Message_Queue.h \ - SV_Message_Queue.inl \ - SV_Semaphore_Complex.h \ - SV_Semaphore_Complex.inl \ - SV_Semaphore_Simple.h \ - SV_Semaphore_Simple.inl \ - SV_Shared_Memory.h \ - SV_Shared_Memory.inl \ - Sample_History.h \ - Sample_History.inl \ - Sbrk_Memory_Pool.h \ - Sched_Params.h \ - Sched_Params.inl \ - Select_Reactor.h \ - Select_Reactor_Base.h \ - Select_Reactor_Base.inl \ - Select_Reactor_T.cpp \ - Select_Reactor_T.h \ - Select_Reactor_T.inl \ - Semaphore.h \ - Semaphore.inl \ - Service_Config.h \ - Service_Config.inl \ - Service_Gestalt.h \ - Service_Gestalt.inl \ - Service_Manager.h \ - Service_Object.h \ - Service_Object.inl \ - Service_Repository.h \ - Service_Repository.inl \ - Service_Types.h \ - Service_Types.inl \ - Shared_Memory.h \ - Shared_Memory_MM.h \ - Shared_Memory_MM.inl \ - Shared_Memory_Pool.h \ - Shared_Memory_SV.h \ - Shared_Memory_SV.inl \ - Shared_Object.h \ - Shared_Object.inl \ - Sig_Adapter.h \ - Sig_Handler.h \ - Sig_Handler.inl \ - Signal.h \ - Signal.inl \ - Singleton.cpp \ - Singleton.h \ - Singleton.inl \ - Sock_Connect.h \ - Static_Object_Lock.h \ - Stats.h \ - Stats.inl \ - Strategies.h \ - Strategies_T.cpp \ - Strategies_T.h \ - Strategies_T.inl \ - Stream.cpp \ - Stream.h \ - Stream.inl \ - Stream_Modules.cpp \ - Stream_Modules.h \ - String_Base.cpp \ - String_Base.h \ - String_Base.inl \ - String_Base_Const.h \ - Svc_Conf.h \ - Svc_Conf_Lexer.h \ - Svc_Conf_Tokens.h \ - Svc_Conf_Token_Table.h \ - Svc_Handler.cpp \ - Svc_Handler.h \ - Synch.h \ - Synch_Options.h \ - Synch_Traits.h \ - System_Time.h \ - TLI.h \ - TLI.inl \ - TLI_Acceptor.h \ - TLI_Connector.h \ - TLI_Connector.inl \ - TLI_Stream.h \ - TLI_Stream.inl \ - TP_Reactor.h \ - TP_Reactor.inl \ - TSS_Adapter.h \ - TSS_T.cpp \ - TSS_T.h \ - TSS_T.inl \ - TTY_IO.h \ - Task.h \ - Task.inl \ - Task_Ex_T.cpp \ - Task_Ex_T.h \ - Task_Ex_T.inl \ - Task_T.cpp \ - Task_T.h \ - Task_T.inl \ - Test_and_Set.cpp \ - Test_and_Set.h \ - Thread.h \ - Thread.inl \ - Thread_Adapter.h \ - Thread_Adapter.inl \ - Thread_Control.h \ - Thread_Control.inl \ - Thread_Exit.h \ - Thread_Hook.h \ - Thread_Manager.h \ - Thread_Manager.inl \ - Thread_Mutex.h \ - Thread_Mutex.inl \ - Thread_Semaphore.h \ - Thread_Semaphore.inl \ - Throughput_Stats.h \ - Time_Value.h \ - Time_Value.inl \ - Timeprobe.h \ - Timeprobe.inl \ - Timeprobe_T.cpp \ - Timeprobe_T.h \ - Timer_Hash_T.cpp \ - Timer_Hash_T.h \ - Timer_Heap_T.cpp \ - Timer_Heap_T.h \ - Timer_List_T.cpp \ - Timer_List_T.h \ - Timer_Queue_Adapters.cpp \ - Timer_Queue_Adapters.h \ - Timer_Queue_Adapters.inl \ - Timer_Queue_T.cpp \ - Timer_Queue_T.h \ - Timer_Queue_T.inl \ - Timer_Wheel_T.cpp \ - Timer_Wheel_T.h \ - Tokenizer_T.cpp \ - Tokenizer_T.h \ - Timer_Hash.h \ - Timer_Heap.h \ - Timer_List.h \ - Timer_Queue.h \ - Timer_Queuefwd.h \ - Timer_Wheel.h \ - Token.h \ - Token.inl \ - Token_Collection.h \ - Token_Collection.inl \ - Token_Invariants.h \ - Token_Manager.h \ - Token_Manager.inl \ - Token_Request_Reply.h \ - Token_Request_Reply.inl \ - Trace.h \ - Truncate.h \ - Typed_SV_Message.cpp \ - Typed_SV_Message.h \ - Typed_SV_Message.inl \ - Typed_SV_Message_Queue.cpp \ - Typed_SV_Message_Queue.h \ - Typed_SV_Message_Queue.inl \ - UNIX_Addr.h \ - UNIX_Addr.inl \ - UPIPE_Acceptor.h \ - UPIPE_Acceptor.inl \ - UPIPE_Addr.h \ - UPIPE_Connector.h \ - UPIPE_Connector.inl \ - UPIPE_Stream.h \ - UPIPE_Stream.inl \ - UTF16_Encoding_Converter.h \ - UTF16_Encoding_Converter.inl \ - UTF32_Encoding_Converter.h \ - UTF8_Encoding_Converter.h \ - UUID.h \ - UUID.inl \ - Unbounded_Queue.cpp \ - Unbounded_Queue.h \ - Unbounded_Queue.inl \ - Unbounded_Set.cpp \ - Unbounded_Set.h \ - Unbounded_Set.inl \ - Unbounded_Set_Ex.cpp \ - Unbounded_Set_Ex.h \ - Unbounded_Set_Ex.inl \ - Value_Ptr.h \ - Vector_T.cpp \ - Vector_T.h \ - Vector_T.inl \ - Version.h \ - Versioned_Namespace.h \ - WFMO_Reactor.h \ - WFMO_Reactor.inl \ - WIN32_Asynch_IO.h \ - WIN32_Proactor.h \ - XML_Svc_Conf.h \ - XTI_ATM_Mcast.h \ - XTI_ATM_Mcast.inl \ - ace_wchar.h \ - ace_wchar.inl \ - checked_iterator.h \ - config-WinCE.h \ - config-all.h \ - config-lite.h \ - config-macros.h \ - config-minimal.h \ - config-win32-borland.h \ - config-win32-common.h \ - config-win32-msvc-7.h \ - config-win32-msvc-8.h \ - config-win32-msvc.h \ - config-win32.h \ - config.h \ - iosfwd.h \ - os_include/arpa/os_inet.h \ - os_include/net/os_if.h \ - os_include/netinet/os_in.h \ - os_include/netinet/os_tcp.h \ - os_include/os_aio.h \ - os_include/os_assert.h \ - os_include/os_byteswap.h \ - os_include/os_complex.h \ - os_include/os_cpio.h \ - os_include/os_ctype.h \ - os_include/os_dirent.h \ - os_include/os_dlfcn.h \ - os_include/os_errno.h \ - os_include/os_fcntl.h \ - os_include/os_fenv.h \ - os_include/os_float.h \ - os_include/os_fmtmsg.h \ - os_include/os_fnmatch.h \ - os_include/os_ftw.h \ - os_include/os_glob.h \ - os_include/os_grp.h \ - os_include/os_iconv.h \ - os_include/os_intrin.h \ - os_include/os_inttypes.h \ - os_include/os_iso646.h \ - os_include/os_kstat.h \ - os_include/os_langinfo.h \ - os_include/os_libgen.h \ - os_include/os_limits.h \ - os_include/os_local.h \ - os_include/os_math.h \ - os_include/os_monetary.h \ - os_include/os_mqueue.h \ - os_include/os_ndbm.h \ - os_include/os_netdb.h \ - os_include/os_nl_types.h \ - os_include/os_pdh.h \ - os_include/os_pdhmsg.h \ - os_include/os_poll.h \ - os_include/os_pthread.h \ - os_include/os_pwd.h \ - os_include/os_regex.h \ - os_include/os_sched.h \ - os_include/os_search.h \ - os_include/os_semaphore.h \ - os_include/os_setjmp.h \ - os_include/os_signal.h \ - os_include/os_spawn.h \ - os_include/os_stdarg.h \ - os_include/os_stdbool.h \ - os_include/os_stddef.h \ - os_include/os_stdint.h \ - os_include/os_stdio.h \ - os_include/os_stdlib.h \ - os_include/os_string.h \ - os_include/os_strings.h \ - os_include/os_stropts.h \ - os_include/os_syslog.h \ - os_include/os_tar.h \ - os_include/os_termios.h \ - os_include/os_tgmath.h \ - os_include/os_time.h \ - os_include/os_trace.h \ - os_include/os_typeinfo.h \ - os_include/os_ucontext.h \ - os_include/os_ulimit.h \ - os_include/os_unistd.h \ - os_include/os_utime.h \ - os_include/os_utmpx.h \ - os_include/os_wchar.h \ - os_include/os_wctype.h \ - os_include/os_wordexp.h \ - os_include/sys/os_ipc.h \ - os_include/sys/os_loadavg.h \ - os_include/sys/os_mman.h \ - os_include/sys/os_msg.h \ - os_include/sys/os_pstat.h \ - os_include/sys/os_resource.h \ - os_include/sys/os_select.h \ - os_include/sys/os_sem.h \ - os_include/sys/os_shm.h \ - os_include/sys/os_socket.h \ - os_include/sys/os_stat.h \ - os_include/sys/os_statvfs.h \ - os_include/sys/os_sysctl.h \ - os_include/sys/os_sysinfo.h \ - os_include/sys/os_time.h \ - os_include/sys/os_timeb.h \ - os_include/sys/os_times.h \ - os_include/sys/os_types.h \ - os_include/sys/os_uio.h \ - os_include/sys/os_un.h \ - os_include/sys/os_utsname.h \ - os_include/sys/os_wait.h \ - post.h \ - pre.h \ - streams.h \ - svc_export.h - -pkgconfig_DATA += \ - ACE.pc - -CLEANFILES += \ - ACE.pc - -ACE.pc: ${top_builddir}/config.status ${srcdir}/ACE.pc.in - ${top_builddir}/config.status --file $@:${srcdir}/ACE.pc.in - -endif !BUILD_ACE_FOR_TAO - -EXTRA_DIST = \ - ACE.pc.in \ - ace.rc - - -## Makefile.ACE_FlReactor.am - -if BUILD_FL -if BUILD_GL -if BUILD_X11 - -lib_LTLIBRARIES += libACE_FlReactor.la - -libACE_FlReactor_la_CPPFLAGS = \ - -I$(ACE_ROOT) \ - -I$(ACE_BUILDDIR) \ - $(ACE_FLTK_CPPFLAGS) \ - -DACE_FLREACTOR_BUILD_DLL - -libACE_FlReactor_la_SOURCES = \ - FlReactor/FlReactor.cpp - -libACE_FlReactor_la_LDFLAGS = \ - -release @ACE_VERSION_NAME@ $(ACE_FLTK_LDFLAGS) - -libACE_FlReactor_la_LIBADD = \ - libACE.la \ - $(ACE_FLTK_LIBS) - -nobase_include_HEADERS += \ - FlReactor/ACE_FlReactor_export.h \ - FlReactor/FlReactor.h - -pkgconfig_DATA += \ - ACE_FlReactor.pc - -CLEANFILES += \ - ACE_FlReactor.pc - -ACE_FlReactor.pc: ${top_builddir}/config.status ${srcdir}/FlReactor/ACE_FlReactor.pc.in - ${top_builddir}/config.status --file $@:${srcdir}/FlReactor/ACE_FlReactor.pc.in - -endif BUILD_X11 -endif BUILD_GL -endif BUILD_FL - -EXTRA_DIST += \ - FlReactor/ACE_FlReactor.pc.in - - -## Makefile.ACE_QtReactor.am - -if BUILD_QT - -BUILT_SOURCES = \ - QtReactor/QtReactor_moc.cpp - -CLEANFILES += \ - QtReactor/QtReactor_moc.cpp - -QtReactor/QtReactor_moc.cpp: $(srcdir)/QtReactor/QtReactor.h - $(QTDIR)/bin/moc $(srcdir)/QtReactor/QtReactor.h -o QtReactor/QtReactor_moc.cpp - -lib_LTLIBRARIES += libACE_QtReactor.la - -libACE_QtReactor_la_CPPFLAGS = \ - -I$(ACE_ROOT) \ - -I$(ACE_BUILDDIR) \ - $(ACE_QT_CPPFLAGS) \ - -DACE_QTREACTOR_BUILD_DLL - -libACE_QtReactor_la_SOURCES = \ - QtReactor/QtReactor.cpp \ - QtReactor/QtReactor_moc.cpp - -libACE_QtReactor_la_LDFLAGS = \ - -release @ACE_VERSION_NAME@ $(ACE_QT_LDFLAGS) - -libACE_QtReactor_la_LIBADD = \ - libACE.la \ - $(ACE_QT_LIBS) - -nobase_include_HEADERS += \ - QtReactor/ACE_QtReactor_export.h \ - QtReactor/QtReactor.h - -pkgconfig_DATA += \ - ACE_QtReactor.pc - -CLEANFILES += \ - ACE_QtReactor.pc - -ACE_QtReactor.pc: ${top_builddir}/config.status ${srcdir}/QtReactor/ACE_QtReactor.pc.in - ${top_builddir}/config.status --file $@:${srcdir}/QtReactor/ACE_QtReactor.pc.in - -endif BUILD_QT - -EXTRA_DIST += \ - QtReactor/ACE_QtReactor.pc.in - - -## Makefile.ACE_TkReactor.am - -if BUILD_TK - -lib_LTLIBRARIES += libACE_TkReactor.la - -libACE_TkReactor_la_CPPFLAGS = \ - -I$(ACE_ROOT) \ - -I$(ACE_BUILDDIR) \ - $(ACE_TK_CPPFLAGS) \ - $(ACE_TCL_CPPFLAGS) \ - -DACE_TKREACTOR_BUILD_DLL - -libACE_TkReactor_la_SOURCES = \ - TkReactor/TkReactor.cpp - -libACE_TkReactor_la_LDFLAGS = \ - -release @ACE_VERSION_NAME@ $(ACE_TK_LDFLAGS) $(ACE_TCL_LDFLAGS) - -libACE_TkReactor_la_LIBADD = \ - libACE.la \ - $(ACE_TK_LIBS) \ - $(ACE_TCL_LIBS) - -nobase_include_HEADERS += \ - TkReactor/ACE_TkReactor_export.h \ - TkReactor/TkReactor.h - -pkgconfig_DATA += \ - ACE_TkReactor.pc - -CLEANFILES += \ - ACE_TkReactor.pc - -ACE_TkReactor.pc: ${top_builddir}/config.status ${srcdir}/TkReactor/ACE_TkReactor.pc.in - ${top_builddir}/config.status --file $@:${srcdir}/TkReactor/ACE_TkReactor.pc.in - -endif BUILD_TK - -EXTRA_DIST += \ - TkReactor/ACE_TkReactor.pc.in - - -## Makefile.ACE_XtReactor.am - -if BUILD_X11 -if BUILD_XT - -lib_LTLIBRARIES += libACE_XtReactor.la - -libACE_XtReactor_la_CPPFLAGS = \ - -I$(ACE_ROOT) \ - -I$(ACE_BUILDDIR) \ - $(ACE_X11_CPPFLAGS) \ - $(ACE_XT_CPPFLAGS) \ - -DACE_XTREACTOR_BUILD_DLL - -libACE_XtReactor_la_SOURCES = \ - XtReactor/XtReactor.cpp - -libACE_XtReactor_la_LDFLAGS = \ - -release @ACE_VERSION_NAME@ $(ACE_X11_LDFLAGS) $(ACE_XT_LDFLAGS) - -libACE_XtReactor_la_LIBADD = \ - libACE.la \ - $(ACE_XT_LIBS) \ - $(ACE_X11_LIBS) - -nobase_include_HEADERS += \ - XtReactor/ACE_XtReactor_export.h \ - XtReactor/XtReactor.h - -pkgconfig_DATA += \ - ACE_XtReactor.pc - -CLEANFILES += \ - ACE_XtReactor.pc - -ACE_XtReactor.pc: ${top_builddir}/config.status ${srcdir}/XtReactor/ACE_XtReactor.pc.in - ${top_builddir}/config.status --file $@:${srcdir}/XtReactor/ACE_XtReactor.pc.in - -endif BUILD_XT -endif BUILD_X11 - -EXTRA_DIST += \ - XtReactor/ACE_XtReactor.pc.in - - -## Clean up template repositories, etc. -clean-local: - -rm -f *~ *.bak *.rpo *.sym lib*.*_pure_* core core.* - -rm -f gcctemp.c gcctemp so_locations *.ics - -rm -rf cxx_repository ptrepository ti_files - -rm -rf templateregistry ir.out - -rm -rf ptrepository SunWS_cache Templates.DB diff --git a/dep/ACE_wrappers/ace/Makefile.in b/dep/ACE_wrappers/ace/Makefile.in deleted file mode 100644 index 6bba3ed6a..000000000 --- a/dep/ACE_wrappers/ace/Makefile.in +++ /dev/null @@ -1,5484 +0,0 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - - - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -target_triplet = @target@ -@BUILD_ACE_FOR_TAO_FALSE@am__append_1 = libACE.la -@BUILD_ACE_FOR_TAO_FALSE@am__append_2 = \ -@BUILD_ACE_FOR_TAO_FALSE@ ACE.h \ -@BUILD_ACE_FOR_TAO_FALSE@ ACE.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ ACE_export.h \ -@BUILD_ACE_FOR_TAO_FALSE@ ARGV.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ ARGV.h \ -@BUILD_ACE_FOR_TAO_FALSE@ ARGV.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ ATM_Acceptor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ ATM_Acceptor.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ ATM_Addr.h \ -@BUILD_ACE_FOR_TAO_FALSE@ ATM_Addr.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ ATM_Connector.h \ -@BUILD_ACE_FOR_TAO_FALSE@ ATM_Connector.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ ATM_Params.h \ -@BUILD_ACE_FOR_TAO_FALSE@ ATM_Params.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ ATM_QoS.h \ -@BUILD_ACE_FOR_TAO_FALSE@ ATM_QoS.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ ATM_Stream.h \ -@BUILD_ACE_FOR_TAO_FALSE@ ATM_Stream.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Acceptor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Acceptor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Activation_Queue.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Activation_Queue.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Active_Map_Manager.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Active_Map_Manager.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Active_Map_Manager_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Active_Map_Manager_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Active_Map_Manager_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Addr.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Addr.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Arg_Shifter.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Arg_Shifter.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Argv_Type_Converter.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Argv_Type_Converter.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Array_Base.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Array_Base.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Array_Base.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Array_Map.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Array_Map.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Array_Map.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Assert.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Asynch_Acceptor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Asynch_Acceptor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Asynch_Connector.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Asynch_Connector.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Asynch_IO.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Asynch_IO_Impl.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Asynch_IO_Impl.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Asynch_Pseudo_Task.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Atomic_Op.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Atomic_Op.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Atomic_Op_Sparc.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Atomic_Op_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Atomic_Op_GCC_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Atomic_Op_GCC_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Atomic_Op_GCC_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Atomic_Op_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Atomic_Op_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Auto_Event.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Auto_Event.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Auto_Functor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Auto_Functor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Auto_Functor.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Auto_IncDec_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Auto_IncDec_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Auto_IncDec_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Auto_Ptr.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Auto_Ptr.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Auto_Ptr.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Barrier.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Barrier.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Base_Thread_Adapter.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Base_Thread_Adapter.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Based_Pointer_Repository.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Based_Pointer_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Based_Pointer_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Based_Pointer_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Basic_Stats.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Basic_Stats.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Basic_Types.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Basic_Types.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Bound_Ptr.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Bound_Ptr.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ CDR_Base.h \ -@BUILD_ACE_FOR_TAO_FALSE@ CDR_Base.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ CDR_Size.h \ -@BUILD_ACE_FOR_TAO_FALSE@ CDR_Size.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ CDR_Stream.h \ -@BUILD_ACE_FOR_TAO_FALSE@ CDR_Stream.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ CORBA_macros.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Cache_Map_Manager_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Cache_Map_Manager_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Cache_Map_Manager_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Cached_Connect_Strategy_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Cached_Connect_Strategy_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Caching_Strategies_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Caching_Strategies_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Caching_Strategies_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Caching_Utility_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Caching_Utility_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Capabilities.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Capabilities.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Cleanup.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Cleanup.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Cleanup_Strategies_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Cleanup_Strategies_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Codecs.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Codeset_IBM1047.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Codeset_Registry.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Codeset_Registry.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Condition_Recursive_Thread_Mutex.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Condition_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Condition_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Condition_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Condition_Thread_Mutex.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Condition_Thread_Mutex.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Configuration.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Configuration.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Configuration_Import_Export.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Connection_Recycling_Strategy.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Connector.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Connector.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Containers.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Containers.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Containers_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Containers_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Containers_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Copy_Disabled.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Countdown_Time.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Countdown_Time.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ DEV.h \ -@BUILD_ACE_FOR_TAO_FALSE@ DEV.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ DEV_Addr.h \ -@BUILD_ACE_FOR_TAO_FALSE@ DEV_Addr.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ DEV_Connector.h \ -@BUILD_ACE_FOR_TAO_FALSE@ DEV_Connector.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ DEV_IO.h \ -@BUILD_ACE_FOR_TAO_FALSE@ DEV_IO.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ DLL.h \ -@BUILD_ACE_FOR_TAO_FALSE@ DLL_Manager.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Date_Time.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Date_Time.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Default_Constants.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Dev_Poll_Reactor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Dev_Poll_Reactor.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Dirent.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Dirent.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Dirent_Selector.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Dirent_Selector.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Dump.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Dump_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Dump_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Dynamic.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Dynamic.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Dynamic_Message_Strategy.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Dynamic_Message_Strategy.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Dynamic_Service.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Dynamic_Service.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Dynamic_Service.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Dynamic_Service_Base.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Dynamic_Service_Dependency.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Encoding_Converter.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Encoding_Converter_Factory.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Env_Value_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Env_Value_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Env_Value_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Event.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Event.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Event_Handler.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Event_Handler.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Event_Handler_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Event_Handler_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Event_Handler_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ FIFO.h \ -@BUILD_ACE_FOR_TAO_FALSE@ FIFO.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ FIFO_Recv.h \ -@BUILD_ACE_FOR_TAO_FALSE@ FIFO_Recv.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ FIFO_Recv_Msg.h \ -@BUILD_ACE_FOR_TAO_FALSE@ FIFO_Recv_Msg.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ FIFO_Send.h \ -@BUILD_ACE_FOR_TAO_FALSE@ FIFO_Send.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ FIFO_Send_Msg.h \ -@BUILD_ACE_FOR_TAO_FALSE@ FIFO_Send_Msg.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ FILE.h \ -@BUILD_ACE_FOR_TAO_FALSE@ FILE.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ FILE_Addr.h \ -@BUILD_ACE_FOR_TAO_FALSE@ FILE_Addr.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ FILE_Connector.h \ -@BUILD_ACE_FOR_TAO_FALSE@ FILE_Connector.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ FILE_IO.h \ -@BUILD_ACE_FOR_TAO_FALSE@ FILE_IO.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ File_Lock.h \ -@BUILD_ACE_FOR_TAO_FALSE@ File_Lock.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Filecache.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Flag_Manip.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Flag_Manip.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Framework_Component.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Framework_Component.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Framework_Component_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Framework_Component_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Free_List.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Free_List.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Functor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Functor.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Functor_String.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Functor_String.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Functor_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Functor_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Functor_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Future.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Future.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Future_Set.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Future_Set.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Get_Opt.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Get_Opt.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Global_Macros.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Guard_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Guard_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Guard_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Handle_Gobbler.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Handle_Gobbler.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Handle_Ops.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Handle_Set.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Handle_Set.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Hash_Cache_Map_Manager_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Hash_Cache_Map_Manager_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Hash_Cache_Map_Manager_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Hash_Map_Manager.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Hash_Map_Manager_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Hash_Map_Manager_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Hash_Map_Manager_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Hash_Map_With_Allocator_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Hash_Map_With_Allocator_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Hash_Map_With_Allocator_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Hash_Multi_Map_Manager_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Hash_Multi_Map_Manager_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Hash_Multi_Map_Manager_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Hashable.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Hashable.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ High_Res_Timer.h \ -@BUILD_ACE_FOR_TAO_FALSE@ High_Res_Timer.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ ICMP_Socket.h \ -@BUILD_ACE_FOR_TAO_FALSE@ INET_Addr.h \ -@BUILD_ACE_FOR_TAO_FALSE@ INET_Addr.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ IOStream.h \ -@BUILD_ACE_FOR_TAO_FALSE@ IOStream_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ IOStream_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ IOStream_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ IO_Cntl_Msg.h \ -@BUILD_ACE_FOR_TAO_FALSE@ IO_Cntl_Msg.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ IO_SAP.h \ -@BUILD_ACE_FOR_TAO_FALSE@ IO_SAP.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ IPC_SAP.h \ -@BUILD_ACE_FOR_TAO_FALSE@ IPC_SAP.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ If_Then_Else.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Init_ACE.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Intrusive_Auto_Ptr.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Intrusive_Auto_Ptr.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Intrusive_Auto_Ptr.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Intrusive_List.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Intrusive_List.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Intrusive_List.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Intrusive_List_Node.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Intrusive_List_Node.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Intrusive_List_Node.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ LOCK_SOCK_Acceptor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ LOCK_SOCK_Acceptor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ LSOCK.h \ -@BUILD_ACE_FOR_TAO_FALSE@ LSOCK.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ LSOCK_Acceptor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ LSOCK_CODgram.h \ -@BUILD_ACE_FOR_TAO_FALSE@ LSOCK_CODgram.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ LSOCK_Connector.h \ -@BUILD_ACE_FOR_TAO_FALSE@ LSOCK_Connector.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ LSOCK_Dgram.h \ -@BUILD_ACE_FOR_TAO_FALSE@ LSOCK_Dgram.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ LSOCK_Stream.h \ -@BUILD_ACE_FOR_TAO_FALSE@ LSOCK_Stream.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Lib_Find.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Local_Memory_Pool.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Local_Name_Space.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Local_Name_Space_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Local_Name_Space_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Local_Tokens.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Local_Tokens.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Lock.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Lock.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Lock_Adapter_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Lock_Adapter_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Lock_Adapter_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Log_Msg.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Log_Msg.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Log_Msg_Backend.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Log_Msg_Callback.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Log_Msg_IPC.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Log_Msg_NT_Event_Log.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Log_Msg_UNIX_Syslog.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Log_Priority.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Log_Record.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Log_Record.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Logging_Strategy.h \ -@BUILD_ACE_FOR_TAO_FALSE@ MEM_Acceptor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ MEM_Acceptor.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ MEM_Addr.h \ -@BUILD_ACE_FOR_TAO_FALSE@ MEM_Addr.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ MEM_Connector.h \ -@BUILD_ACE_FOR_TAO_FALSE@ MEM_Connector.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ MEM_IO.h \ -@BUILD_ACE_FOR_TAO_FALSE@ MEM_IO.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ MEM_SAP.h \ -@BUILD_ACE_FOR_TAO_FALSE@ MEM_SAP.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ MEM_Stream.h \ -@BUILD_ACE_FOR_TAO_FALSE@ MEM_Stream.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ MMAP_Memory_Pool.h \ -@BUILD_ACE_FOR_TAO_FALSE@ MMAP_Memory_Pool.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Malloc.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Malloc.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Malloc_Allocator.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Malloc_Allocator.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Malloc_Base.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Malloc_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Malloc_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Malloc_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Managed_Object.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Managed_Object.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Managed_Object.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Manual_Event.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Manual_Event.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Map_Manager.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Map_Manager.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Map_Manager.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Map_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Map_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Map_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Mem_Map.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Mem_Map.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Memory_Pool.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Message_Block.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Message_Block.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Message_Block_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Message_Block_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Message_Block_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Message_Queue.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Message_Queue.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Message_Queue_NT.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Message_Queue_NT.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Message_Queue_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Message_Queue_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Message_Queue_Vx.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Message_Queue_Vx.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Method_Request.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Min_Max.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Module.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Module.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Module.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Monitor_Admin.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Monitor_Admin_Manager.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Monitor_Base.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Monitor_Base.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Monitor_Control_Action.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Monitor_Control_Types.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Monitor_Point_Registry.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Monitor_Size.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Msg_WFMO_Reactor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Msg_WFMO_Reactor.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Multihomed_INET_Addr.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Multihomed_INET_Addr.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Mutex.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Mutex.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ NT_Service.h \ -@BUILD_ACE_FOR_TAO_FALSE@ NT_Service.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Name_Proxy.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Name_Request_Reply.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Name_Space.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Naming_Context.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Naming_Context.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Netlink_Addr.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Netlink_Addr.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Node.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Node.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Notification_Queue.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Notification_Queue.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Notification_Strategy.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Notification_Strategy.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Null_Barrier.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Null_Condition.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Null_Mutex.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Null_Semaphore.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Numeric_Limits.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Obstack.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_Errno.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_Errno.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_Log_Msg_Attributes.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_Log_Msg_Attributes.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_Memory.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_Thread.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_Thread.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_arpa_inet.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_arpa_inet.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_ctype.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_ctype.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_dirent.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_dirent.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_dlfcn.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_dlfcn.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_errno.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_errno.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_fcntl.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_fcntl.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_macros.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_math.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_math.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_netdb.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_netdb.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_poll.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_poll.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_pwd.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_pwd.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_regex.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_regex.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_signal.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_signal.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_stdio.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_stdio.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_stdlib.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_stdlib.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_string.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_string.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_strings.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_strings.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_stropts.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_stropts.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_mman.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_mman.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_msg.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_msg.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_resource.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_resource.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_select.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_select.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_sendfile.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_sendfile.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_shm.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_shm.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_socket.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_socket.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_stat.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_stat.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_time.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_time.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_uio.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_uio.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_utsname.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_wait.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_wait.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_time.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_time.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_unistd.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_unistd.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_wchar.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_wctype.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_wctype.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_wchar.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_QoS.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_TLI.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_TLI.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_Thread_Adapter.h \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_main.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Obchunk.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Obchunk.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Object_Manager.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Object_Manager.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Object_Manager_Base.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Obstack_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Obstack_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Obstack_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ PI_Malloc.h \ -@BUILD_ACE_FOR_TAO_FALSE@ PI_Malloc.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ POSIX_Asynch_IO.h \ -@BUILD_ACE_FOR_TAO_FALSE@ POSIX_CB_Proactor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ POSIX_Proactor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ POSIX_Proactor.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Pagefile_Memory_Pool.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Pagefile_Memory_Pool.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Pair_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Pair_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Pair_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Parse_Node.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Ping_Socket.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Ping_Socket.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Pipe.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Pipe.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Priority_Reactor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Proactor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Proactor.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Proactor_Impl.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Process.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Process.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Process_Manager.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Process_Manager.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Process_Mutex.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Process_Mutex.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Process_Semaphore.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Process_Semaphore.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Profile_Timer.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Profile_Timer.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ RB_Tree.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ RB_Tree.h \ -@BUILD_ACE_FOR_TAO_FALSE@ RB_Tree.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ RW_Mutex.h \ -@BUILD_ACE_FOR_TAO_FALSE@ RW_Mutex.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ RW_Process_Mutex.h \ -@BUILD_ACE_FOR_TAO_FALSE@ RW_Process_Mutex.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ RW_Thread_Mutex.h \ -@BUILD_ACE_FOR_TAO_FALSE@ RW_Thread_Mutex.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Reactor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Reactor.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Reactor_Impl.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Reactor_Notification_Strategy.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Reactor_Notification_Strategy.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Reactor_Timer_Interface.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Reactor_Token_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Reactor_Token_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Read_Buffer.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Read_Buffer.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Recursive_Thread_Mutex.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Recursive_Thread_Mutex.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Recyclable.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Recyclable.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Refcountable_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Refcountable_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Refcountable_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Refcounted_Auto_Ptr.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Refcounted_Auto_Ptr.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Refcounted_Auto_Ptr.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Registry.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Registry_Name_Space.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Remote_Name_Space.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Remote_Tokens.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Remote_Tokens.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Reverse_Lock_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Reverse_Lock_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Reverse_Lock_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_Acceptor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_Acceptor.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_CODgram.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_CODgram.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_Connector.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_Connector.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_Dgram.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_Dgram.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_Dgram_Bcast.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_Dgram_Bcast.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_Dgram_Mcast.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_Dgram_Mcast.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_IO.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_IO.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_Netlink.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_Netlink.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_SEQPACK_Acceptor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_SEQPACK_Acceptor.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_SEQPACK_Association.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_SEQPACK_Association.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_SEQPACK_Connector.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_SEQPACK_Connector.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_Stream.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_Stream.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ SPIPE.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SPIPE.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ SPIPE_Acceptor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SPIPE_Addr.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SPIPE_Addr.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ SPIPE_Connector.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SPIPE_Connector.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ SPIPE_Stream.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SPIPE_Stream.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ SString.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SString.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ SStringfwd.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Stack_Trace.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SUN_Proactor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SV_Message.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SV_Message.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ SV_Message_Queue.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SV_Message_Queue.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ SV_Semaphore_Complex.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SV_Semaphore_Complex.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ SV_Semaphore_Simple.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SV_Semaphore_Simple.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ SV_Shared_Memory.h \ -@BUILD_ACE_FOR_TAO_FALSE@ SV_Shared_Memory.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Sample_History.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Sample_History.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Sbrk_Memory_Pool.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Sched_Params.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Sched_Params.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Select_Reactor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Select_Reactor_Base.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Select_Reactor_Base.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Select_Reactor_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Select_Reactor_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Select_Reactor_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Semaphore.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Semaphore.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Service_Config.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Service_Config.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Service_Gestalt.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Service_Gestalt.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Service_Manager.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Service_Object.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Service_Object.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Service_Repository.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Service_Repository.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Service_Types.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Service_Types.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Shared_Memory.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Shared_Memory_MM.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Shared_Memory_MM.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Shared_Memory_Pool.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Shared_Memory_SV.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Shared_Memory_SV.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Shared_Object.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Shared_Object.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Sig_Adapter.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Sig_Handler.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Sig_Handler.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Signal.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Signal.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Singleton.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Singleton.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Singleton.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Sock_Connect.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Static_Object_Lock.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Stats.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Stats.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Strategies.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Strategies_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Strategies_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Strategies_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Stream.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Stream.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Stream.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Stream_Modules.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Stream_Modules.h \ -@BUILD_ACE_FOR_TAO_FALSE@ String_Base.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ String_Base.h \ -@BUILD_ACE_FOR_TAO_FALSE@ String_Base.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ String_Base_Const.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Svc_Conf.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Svc_Conf_Lexer.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Svc_Conf_Tokens.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Svc_Conf_Token_Table.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Svc_Handler.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Svc_Handler.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Synch.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Synch_Options.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Synch_Traits.h \ -@BUILD_ACE_FOR_TAO_FALSE@ System_Time.h \ -@BUILD_ACE_FOR_TAO_FALSE@ TLI.h \ -@BUILD_ACE_FOR_TAO_FALSE@ TLI.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ TLI_Acceptor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ TLI_Connector.h \ -@BUILD_ACE_FOR_TAO_FALSE@ TLI_Connector.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ TLI_Stream.h \ -@BUILD_ACE_FOR_TAO_FALSE@ TLI_Stream.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ TP_Reactor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ TP_Reactor.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ TSS_Adapter.h \ -@BUILD_ACE_FOR_TAO_FALSE@ TSS_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ TSS_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ TSS_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ TTY_IO.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Task.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Task.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Task_Ex_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Task_Ex_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Task_Ex_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Task_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Task_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Task_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Test_and_Set.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Test_and_Set.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Thread.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Thread.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Thread_Adapter.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Thread_Adapter.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Thread_Control.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Thread_Control.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Thread_Exit.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Thread_Hook.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Thread_Manager.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Thread_Manager.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Thread_Mutex.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Thread_Mutex.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Thread_Semaphore.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Thread_Semaphore.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Throughput_Stats.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Time_Value.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Time_Value.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Timeprobe.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Timeprobe.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Timeprobe_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Timeprobe_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Timer_Hash_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Timer_Hash_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Timer_Heap_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Timer_Heap_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Timer_List_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Timer_List_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Timer_Queue_Adapters.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Timer_Queue_Adapters.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Timer_Queue_Adapters.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Timer_Queue_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Timer_Queue_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Timer_Queue_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Timer_Wheel_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Timer_Wheel_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Tokenizer_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Tokenizer_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Timer_Hash.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Timer_Heap.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Timer_List.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Timer_Queue.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Timer_Queuefwd.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Timer_Wheel.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Token.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Token.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Token_Collection.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Token_Collection.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Token_Invariants.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Token_Manager.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Token_Manager.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Token_Request_Reply.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Token_Request_Reply.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Trace.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Truncate.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Typed_SV_Message.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Typed_SV_Message.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Typed_SV_Message.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Typed_SV_Message_Queue.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Typed_SV_Message_Queue.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Typed_SV_Message_Queue.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ UNIX_Addr.h \ -@BUILD_ACE_FOR_TAO_FALSE@ UNIX_Addr.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ UPIPE_Acceptor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ UPIPE_Acceptor.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ UPIPE_Addr.h \ -@BUILD_ACE_FOR_TAO_FALSE@ UPIPE_Connector.h \ -@BUILD_ACE_FOR_TAO_FALSE@ UPIPE_Connector.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ UPIPE_Stream.h \ -@BUILD_ACE_FOR_TAO_FALSE@ UPIPE_Stream.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ UTF16_Encoding_Converter.h \ -@BUILD_ACE_FOR_TAO_FALSE@ UTF16_Encoding_Converter.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ UTF32_Encoding_Converter.h \ -@BUILD_ACE_FOR_TAO_FALSE@ UTF8_Encoding_Converter.h \ -@BUILD_ACE_FOR_TAO_FALSE@ UUID.h \ -@BUILD_ACE_FOR_TAO_FALSE@ UUID.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Unbounded_Queue.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Unbounded_Queue.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Unbounded_Queue.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Unbounded_Set.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Unbounded_Set.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Unbounded_Set.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Unbounded_Set_Ex.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Unbounded_Set_Ex.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Unbounded_Set_Ex.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Value_Ptr.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Vector_T.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Vector_T.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Vector_T.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ Version.h \ -@BUILD_ACE_FOR_TAO_FALSE@ Versioned_Namespace.h \ -@BUILD_ACE_FOR_TAO_FALSE@ WFMO_Reactor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ WFMO_Reactor.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ WIN32_Asynch_IO.h \ -@BUILD_ACE_FOR_TAO_FALSE@ WIN32_Proactor.h \ -@BUILD_ACE_FOR_TAO_FALSE@ XML_Svc_Conf.h \ -@BUILD_ACE_FOR_TAO_FALSE@ XTI_ATM_Mcast.h \ -@BUILD_ACE_FOR_TAO_FALSE@ XTI_ATM_Mcast.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ ace_wchar.h \ -@BUILD_ACE_FOR_TAO_FALSE@ ace_wchar.inl \ -@BUILD_ACE_FOR_TAO_FALSE@ checked_iterator.h \ -@BUILD_ACE_FOR_TAO_FALSE@ config-WinCE.h \ -@BUILD_ACE_FOR_TAO_FALSE@ config-all.h \ -@BUILD_ACE_FOR_TAO_FALSE@ config-lite.h \ -@BUILD_ACE_FOR_TAO_FALSE@ config-macros.h \ -@BUILD_ACE_FOR_TAO_FALSE@ config-minimal.h \ -@BUILD_ACE_FOR_TAO_FALSE@ config-win32-borland.h \ -@BUILD_ACE_FOR_TAO_FALSE@ config-win32-common.h \ -@BUILD_ACE_FOR_TAO_FALSE@ config-win32-msvc-7.h \ -@BUILD_ACE_FOR_TAO_FALSE@ config-win32-msvc-8.h \ -@BUILD_ACE_FOR_TAO_FALSE@ config-win32-msvc.h \ -@BUILD_ACE_FOR_TAO_FALSE@ config-win32.h \ -@BUILD_ACE_FOR_TAO_FALSE@ config.h \ -@BUILD_ACE_FOR_TAO_FALSE@ iosfwd.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/arpa/os_inet.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/net/os_if.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/netinet/os_in.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/netinet/os_tcp.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_aio.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_assert.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_byteswap.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_complex.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_cpio.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_ctype.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_dirent.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_dlfcn.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_errno.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_fcntl.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_fenv.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_float.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_fmtmsg.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_fnmatch.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_ftw.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_glob.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_grp.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_iconv.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_intrin.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_inttypes.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_iso646.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_kstat.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_langinfo.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_libgen.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_limits.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_local.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_math.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_monetary.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_mqueue.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_ndbm.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_netdb.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_nl_types.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_pdh.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_pdhmsg.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_poll.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_pthread.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_pwd.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_regex.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_sched.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_search.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_semaphore.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_setjmp.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_signal.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_spawn.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_stdarg.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_stdbool.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_stddef.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_stdint.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_stdio.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_stdlib.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_string.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_strings.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_stropts.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_syslog.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_tar.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_termios.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_tgmath.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_time.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_trace.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_typeinfo.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_ucontext.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_ulimit.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_unistd.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_utime.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_utmpx.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_wchar.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_wctype.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/os_wordexp.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/sys/os_ipc.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/sys/os_loadavg.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/sys/os_mman.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/sys/os_msg.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/sys/os_pstat.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/sys/os_resource.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/sys/os_select.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/sys/os_sem.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/sys/os_shm.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/sys/os_socket.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/sys/os_stat.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/sys/os_statvfs.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/sys/os_sysctl.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/sys/os_sysinfo.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/sys/os_time.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/sys/os_timeb.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/sys/os_times.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/sys/os_types.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/sys/os_uio.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/sys/os_un.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/sys/os_utsname.h \ -@BUILD_ACE_FOR_TAO_FALSE@ os_include/sys/os_wait.h \ -@BUILD_ACE_FOR_TAO_FALSE@ post.h \ -@BUILD_ACE_FOR_TAO_FALSE@ pre.h \ -@BUILD_ACE_FOR_TAO_FALSE@ streams.h \ -@BUILD_ACE_FOR_TAO_FALSE@ svc_export.h - -@BUILD_ACE_FOR_TAO_FALSE@am__append_3 = \ -@BUILD_ACE_FOR_TAO_FALSE@ ACE.pc - -@BUILD_ACE_FOR_TAO_FALSE@am__append_4 = \ -@BUILD_ACE_FOR_TAO_FALSE@ ACE.pc - -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@am__append_5 = libACE_FlReactor.la -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@am__append_6 = \ -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@ FlReactor/ACE_FlReactor_export.h \ -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@ FlReactor/FlReactor.h - -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@am__append_7 = \ -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@ ACE_FlReactor.pc - -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@am__append_8 = \ -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@ ACE_FlReactor.pc - -@BUILD_QT_TRUE@am__append_9 = QtReactor/QtReactor_moc.cpp \ -@BUILD_QT_TRUE@ ACE_QtReactor.pc -@BUILD_QT_TRUE@am__append_10 = libACE_QtReactor.la -@BUILD_QT_TRUE@am__append_11 = \ -@BUILD_QT_TRUE@ QtReactor/ACE_QtReactor_export.h \ -@BUILD_QT_TRUE@ QtReactor/QtReactor.h - -@BUILD_QT_TRUE@am__append_12 = \ -@BUILD_QT_TRUE@ ACE_QtReactor.pc - -@BUILD_TK_TRUE@am__append_13 = libACE_TkReactor.la -@BUILD_TK_TRUE@am__append_14 = \ -@BUILD_TK_TRUE@ TkReactor/ACE_TkReactor_export.h \ -@BUILD_TK_TRUE@ TkReactor/TkReactor.h - -@BUILD_TK_TRUE@am__append_15 = \ -@BUILD_TK_TRUE@ ACE_TkReactor.pc - -@BUILD_TK_TRUE@am__append_16 = \ -@BUILD_TK_TRUE@ ACE_TkReactor.pc - -@BUILD_X11_TRUE@@BUILD_XT_TRUE@am__append_17 = libACE_XtReactor.la -@BUILD_X11_TRUE@@BUILD_XT_TRUE@am__append_18 = \ -@BUILD_X11_TRUE@@BUILD_XT_TRUE@ XtReactor/ACE_XtReactor_export.h \ -@BUILD_X11_TRUE@@BUILD_XT_TRUE@ XtReactor/XtReactor.h - -@BUILD_X11_TRUE@@BUILD_XT_TRUE@am__append_19 = \ -@BUILD_X11_TRUE@@BUILD_XT_TRUE@ ACE_XtReactor.pc - -@BUILD_X11_TRUE@@BUILD_XT_TRUE@am__append_20 = \ -@BUILD_X11_TRUE@@BUILD_XT_TRUE@ ACE_XtReactor.pc - -subdir = ace -DIST_COMMON = README $(am__nobase_include_HEADERS_DIST) \ - $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(srcdir)/config.h.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ace.m4 \ - $(top_srcdir)/m4/ace_defines.m4 $(top_srcdir)/m4/ace_func.m4 \ - $(top_srcdir)/m4/ace_functions.m4 \ - $(top_srcdir)/m4/ace_headers.m4 $(top_srcdir)/m4/acinclude.m4 \ - $(top_srcdir)/m4/aio.m4 $(top_srcdir)/m4/compiler.m4 \ - $(top_srcdir)/m4/config_h.m4 $(top_srcdir)/m4/libtool.m4 \ - $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ - $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ - $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/platform.m4 \ - $(top_srcdir)/m4/subsets.m4 $(top_srcdir)/m4/threads.m4 \ - $(top_srcdir)/m4/tls.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ - if (++n[$$2] == $(am__install_max)) \ - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ - END { for (dir in files) print dir, files[dir] }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)" \ - "$(DESTDIR)$(includedir)" -LTLIBRARIES = $(lib_LTLIBRARIES) -libACE_la_LIBADD = -am__libACE_la_SOURCES_DIST = ACE.cpp ACE_crc32.cpp ACE_crc_ccitt.cpp \ - ATM_Acceptor.cpp ATM_Addr.cpp ATM_Connector.cpp ATM_Params.cpp \ - ATM_QoS.cpp ATM_Stream.cpp Activation_Queue.cpp \ - Active_Map_Manager.cpp Addr.cpp Argv_Type_Converter.cpp \ - Assert.cpp Asynch_IO.cpp Asynch_IO_Impl.cpp \ - Asynch_Pseudo_Task.cpp Atomic_Op.cpp Atomic_Op_Sparc.c \ - Auto_Event.cpp Barrier.cpp Base_Thread_Adapter.cpp \ - Based_Pointer_Repository.cpp Basic_Stats.cpp Basic_Types.cpp \ - CDR_Base.cpp CDR_Size.cpp CDR_Stream.cpp Capabilities.cpp \ - Cleanup.cpp Codecs.cpp Codeset_IBM1047.cpp \ - Codeset_Registry.cpp Codeset_Registry_db.cpp \ - Condition_Recursive_Thread_Mutex.cpp \ - Condition_Thread_Mutex.cpp Configuration.cpp \ - Configuration_Import_Export.cpp \ - Connection_Recycling_Strategy.cpp Containers.cpp \ - Copy_Disabled.cpp Countdown_Time.cpp DEV.cpp DEV_Addr.cpp \ - DEV_Connector.cpp DEV_IO.cpp DLL.cpp DLL_Manager.cpp \ - Date_Time.cpp Dev_Poll_Reactor.cpp Dirent.cpp \ - Dirent_Selector.cpp Dump.cpp Dynamic.cpp \ - Dynamic_Message_Strategy.cpp Dynamic_Service_Base.cpp \ - Dynamic_Service_Dependency.cpp Encoding_Converter.cpp \ - Encoding_Converter_Factory.cpp Event.cpp Event_Handler.cpp \ - FIFO.cpp FIFO_Recv.cpp FIFO_Recv_Msg.cpp FIFO_Send.cpp \ - FIFO_Send_Msg.cpp FILE.cpp FILE_Addr.cpp FILE_Connector.cpp \ - FILE_IO.cpp File_Lock.cpp Filecache.cpp Flag_Manip.cpp \ - Framework_Component.cpp Functor.cpp Functor_String.cpp \ - Get_Opt.cpp Handle_Ops.cpp Handle_Set.cpp Hashable.cpp \ - High_Res_Timer.cpp ICMP_Socket.cpp INET_Addr.cpp IOStream.cpp \ - IO_Cntl_Msg.cpp IO_SAP.cpp IPC_SAP.cpp Init_ACE.cpp LSOCK.cpp \ - LSOCK_Acceptor.cpp LSOCK_CODgram.cpp LSOCK_Connector.cpp \ - LSOCK_Dgram.cpp LSOCK_Stream.cpp Lib_Find.cpp \ - Local_Memory_Pool.cpp Local_Name_Space.cpp Local_Tokens.cpp \ - Lock.cpp Log_Msg.cpp Log_Msg_Backend.cpp Log_Msg_Callback.cpp \ - Log_Msg_IPC.cpp Log_Msg_NT_Event_Log.cpp \ - Log_Msg_UNIX_Syslog.cpp Log_Record.cpp Logging_Strategy.cpp \ - MEM_Acceptor.cpp MEM_Addr.cpp MEM_Connector.cpp MEM_IO.cpp \ - MEM_SAP.cpp MEM_Stream.cpp MMAP_Memory_Pool.cpp Malloc.cpp \ - Malloc_Allocator.cpp Manual_Event.cpp Mem_Map.cpp \ - Message_Block.cpp Message_Queue.cpp Message_Queue_NT.cpp \ - Message_Queue_Vx.cpp Method_Request.cpp Monitor_Admin.cpp \ - Monitor_Admin_Manager.cpp Monitor_Base.cpp \ - Monitor_Control_Action.cpp Monitor_Control_Types.cpp \ - Monitor_Point_Registry.cpp Monitor_Size.cpp \ - Msg_WFMO_Reactor.cpp Multihomed_INET_Addr.cpp Mutex.cpp \ - NT_Service.cpp Name_Proxy.cpp Name_Request_Reply.cpp \ - Name_Space.cpp Naming_Context.cpp Netlink_Addr.cpp \ - Notification_Queue.cpp Notification_Strategy.cpp OS_Errno.cpp \ - OS_Log_Msg_Attributes.cpp OS_NS_Thread.cpp OS_NS_arpa_inet.cpp \ - OS_NS_ctype.cpp OS_NS_dirent.cpp OS_NS_dlfcn.cpp \ - OS_NS_errno.cpp OS_NS_fcntl.cpp OS_NS_math.cpp OS_NS_netdb.cpp \ - OS_NS_poll.cpp OS_NS_pwd.cpp OS_NS_regex.cpp OS_NS_signal.cpp \ - OS_NS_stdio.cpp OS_NS_stdlib.cpp OS_NS_string.cpp \ - OS_NS_strings.cpp OS_NS_stropts.cpp OS_NS_sys_mman.cpp \ - OS_NS_sys_msg.cpp OS_NS_sys_resource.cpp OS_NS_sys_select.cpp \ - OS_NS_sys_sendfile.cpp OS_NS_sys_shm.cpp OS_NS_sys_socket.cpp \ - OS_NS_sys_stat.cpp OS_NS_sys_time.cpp OS_NS_sys_uio.cpp \ - OS_NS_sys_utsname.cpp OS_NS_sys_wait.cpp OS_NS_time.cpp \ - OS_NS_unistd.cpp OS_NS_wchar.cpp OS_NS_wctype.cpp OS_QoS.cpp \ - OS_TLI.cpp OS_Thread_Adapter.cpp OS_main.cpp Obchunk.cpp \ - Object_Manager.cpp Object_Manager_Base.cpp PI_Malloc.cpp \ - POSIX_Asynch_IO.cpp POSIX_CB_Proactor.cpp POSIX_Proactor.cpp \ - Pagefile_Memory_Pool.cpp Parse_Node.cpp Ping_Socket.cpp \ - Pipe.cpp Priority_Reactor.cpp Proactor.cpp Proactor_Impl.cpp \ - Process.cpp Process_Manager.cpp Process_Mutex.cpp \ - Process_Semaphore.cpp Profile_Timer.cpp RW_Mutex.cpp \ - RW_Process_Mutex.cpp RW_Thread_Mutex.cpp Reactor.cpp \ - Reactor_Impl.cpp Reactor_Notification_Strategy.cpp \ - Reactor_Timer_Interface.cpp Read_Buffer.cpp \ - Recursive_Thread_Mutex.cpp Recyclable.cpp Registry.cpp \ - Registry_Name_Space.cpp Remote_Name_Space.cpp \ - Remote_Tokens.cpp Rtems_init.c SOCK.cpp SOCK_Acceptor.cpp \ - SOCK_CODgram.cpp SOCK_Connector.cpp SOCK_Dgram.cpp \ - SOCK_Dgram_Bcast.cpp SOCK_Dgram_Mcast.cpp SOCK_IO.cpp \ - SOCK_Netlink.cpp SOCK_SEQPACK_Acceptor.cpp \ - SOCK_SEQPACK_Association.cpp SOCK_SEQPACK_Connector.cpp \ - SOCK_Stream.cpp SPIPE.cpp SPIPE_Acceptor.cpp SPIPE_Addr.cpp \ - SPIPE_Connector.cpp SPIPE_Stream.cpp SString.cpp \ - Stack_Trace.cpp SUN_Proactor.cpp SV_Message.cpp \ - SV_Message_Queue.cpp SV_Semaphore_Complex.cpp \ - SV_Semaphore_Simple.cpp SV_Shared_Memory.cpp \ - Sample_History.cpp Sbrk_Memory_Pool.cpp Sched_Params.cpp \ - Select_Reactor_Base.cpp Semaphore.cpp Service_Config.cpp \ - Service_Gestalt.cpp Service_Manager.cpp Service_Object.cpp \ - Service_Repository.cpp Service_Types.cpp Shared_Memory.cpp \ - Shared_Memory_MM.cpp Shared_Memory_Pool.cpp \ - Shared_Memory_SV.cpp Shared_Object.cpp Sig_Adapter.cpp \ - Sig_Handler.cpp Signal.cpp Sock_Connect.cpp Stats.cpp \ - String_Base_Const.cpp Svc_Conf_Lexer.cpp Svc_Conf_y.cpp \ - Synch_Options.cpp System_Time.cpp TLI.cpp TLI_Acceptor.cpp \ - TLI_Connector.cpp TLI_Stream.cpp TP_Reactor.cpp \ - TSS_Adapter.cpp TTY_IO.cpp Task.cpp Thread.cpp \ - Thread_Adapter.cpp Thread_Control.cpp Thread_Exit.cpp \ - Thread_Hook.cpp Thread_Manager.cpp Thread_Mutex.cpp \ - Thread_Semaphore.cpp Throughput_Stats.cpp Time_Value.cpp \ - Timeprobe.cpp Token.cpp Token_Collection.cpp \ - Token_Invariants.cpp Token_Manager.cpp Token_Request_Reply.cpp \ - Trace.cpp UNIX_Addr.cpp UPIPE_Acceptor.cpp UPIPE_Connector.cpp \ - UPIPE_Stream.cpp UTF16_Encoding_Converter.cpp \ - UTF32_Encoding_Converter.cpp UTF8_Encoding_Converter.cpp \ - UUID.cpp WFMO_Reactor.cpp WIN32_Asynch_IO.cpp \ - WIN32_Proactor.cpp XML_Svc_Conf.cpp XTI_ATM_Mcast.cpp \ - ace_wchar.cpp gethrtime.cpp -@BUILD_ACE_FOR_TAO_FALSE@am_libACE_la_OBJECTS = libACE_la-ACE.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-ACE_crc32.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-ACE_crc_ccitt.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-ATM_Acceptor.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-ATM_Addr.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-ATM_Connector.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-ATM_Params.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-ATM_QoS.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-ATM_Stream.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Activation_Queue.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Active_Map_Manager.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Addr.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Argv_Type_Converter.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Assert.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Asynch_IO.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Asynch_IO_Impl.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Asynch_Pseudo_Task.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Atomic_Op.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Atomic_Op_Sparc.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Auto_Event.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Barrier.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Base_Thread_Adapter.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Based_Pointer_Repository.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Basic_Stats.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Basic_Types.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-CDR_Base.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-CDR_Size.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-CDR_Stream.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Capabilities.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Cleanup.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Codecs.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Codeset_IBM1047.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Codeset_Registry.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Codeset_Registry_db.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Condition_Recursive_Thread_Mutex.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Condition_Thread_Mutex.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Configuration.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Configuration_Import_Export.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Connection_Recycling_Strategy.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Containers.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Copy_Disabled.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Countdown_Time.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-DEV.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-DEV_Addr.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-DEV_Connector.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-DEV_IO.lo libACE_la-DLL.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-DLL_Manager.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Date_Time.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Dev_Poll_Reactor.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Dirent.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Dirent_Selector.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Dump.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Dynamic.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Dynamic_Message_Strategy.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Dynamic_Service_Base.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Dynamic_Service_Dependency.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Encoding_Converter.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Encoding_Converter_Factory.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Event.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Event_Handler.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-FIFO.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-FIFO_Recv.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-FIFO_Recv_Msg.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-FIFO_Send.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-FIFO_Send_Msg.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-FILE.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-FILE_Addr.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-FILE_Connector.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-FILE_IO.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-File_Lock.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Filecache.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Flag_Manip.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Framework_Component.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Functor.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Functor_String.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Get_Opt.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Handle_Ops.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Handle_Set.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Hashable.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-High_Res_Timer.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-ICMP_Socket.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-INET_Addr.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-IOStream.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-IO_Cntl_Msg.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-IO_SAP.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-IPC_SAP.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Init_ACE.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-LSOCK.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-LSOCK_Acceptor.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-LSOCK_CODgram.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-LSOCK_Connector.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-LSOCK_Dgram.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-LSOCK_Stream.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Lib_Find.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Local_Memory_Pool.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Local_Name_Space.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Local_Tokens.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Lock.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Log_Msg.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Log_Msg_Backend.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Log_Msg_Callback.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Log_Msg_IPC.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Log_Msg_NT_Event_Log.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Log_Msg_UNIX_Syslog.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Log_Record.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Logging_Strategy.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-MEM_Acceptor.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-MEM_Addr.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-MEM_Connector.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-MEM_IO.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-MEM_SAP.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-MEM_Stream.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-MMAP_Memory_Pool.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Malloc.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Malloc_Allocator.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Manual_Event.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Mem_Map.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Message_Block.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Message_Queue.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Message_Queue_NT.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Message_Queue_Vx.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Method_Request.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Monitor_Admin.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Monitor_Admin_Manager.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Monitor_Base.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Monitor_Control_Action.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Monitor_Control_Types.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Monitor_Point_Registry.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Monitor_Size.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Msg_WFMO_Reactor.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Multihomed_INET_Addr.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Mutex.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-NT_Service.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Name_Proxy.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Name_Request_Reply.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Name_Space.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Naming_Context.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Netlink_Addr.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Notification_Queue.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Notification_Strategy.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_Errno.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_Log_Msg_Attributes.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_Thread.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_arpa_inet.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_ctype.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_dirent.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_dlfcn.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_errno.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_fcntl.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_math.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_netdb.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_poll.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_pwd.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_regex.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_signal.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_stdio.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_stdlib.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_string.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_strings.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_stropts.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_sys_mman.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_sys_msg.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_sys_resource.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_sys_select.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_sys_sendfile.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_sys_shm.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_sys_socket.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_sys_stat.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_sys_time.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_sys_uio.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_sys_utsname.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_sys_wait.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_time.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_unistd.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_wchar.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_NS_wctype.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_QoS.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_TLI.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_Thread_Adapter.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-OS_main.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Obchunk.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Object_Manager.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Object_Manager_Base.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-PI_Malloc.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-POSIX_Asynch_IO.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-POSIX_CB_Proactor.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-POSIX_Proactor.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Pagefile_Memory_Pool.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Parse_Node.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Ping_Socket.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Pipe.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Priority_Reactor.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Proactor.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Proactor_Impl.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Process.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Process_Manager.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Process_Mutex.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Process_Semaphore.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Profile_Timer.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-RW_Mutex.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-RW_Process_Mutex.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-RW_Thread_Mutex.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Reactor.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Reactor_Impl.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Reactor_Notification_Strategy.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Reactor_Timer_Interface.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Read_Buffer.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Recursive_Thread_Mutex.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Recyclable.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Registry.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Registry_Name_Space.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Remote_Name_Space.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Remote_Tokens.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Rtems_init.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SOCK.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SOCK_Acceptor.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SOCK_CODgram.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SOCK_Connector.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SOCK_Dgram.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SOCK_Dgram_Bcast.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SOCK_Dgram_Mcast.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SOCK_IO.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SOCK_Netlink.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SOCK_SEQPACK_Acceptor.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SOCK_SEQPACK_Association.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SOCK_SEQPACK_Connector.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SOCK_Stream.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SPIPE.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SPIPE_Acceptor.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SPIPE_Addr.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SPIPE_Connector.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SPIPE_Stream.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SString.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Stack_Trace.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SUN_Proactor.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SV_Message.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SV_Message_Queue.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SV_Semaphore_Complex.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SV_Semaphore_Simple.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-SV_Shared_Memory.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Sample_History.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Sbrk_Memory_Pool.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Sched_Params.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Select_Reactor_Base.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Semaphore.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Service_Config.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Service_Gestalt.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Service_Manager.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Service_Object.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Service_Repository.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Service_Types.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Shared_Memory.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Shared_Memory_MM.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Shared_Memory_Pool.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Shared_Memory_SV.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Shared_Object.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Sig_Adapter.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Sig_Handler.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Signal.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Sock_Connect.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Stats.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-String_Base_Const.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Svc_Conf_Lexer.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Svc_Conf_y.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Synch_Options.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-System_Time.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-TLI.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-TLI_Acceptor.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-TLI_Connector.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-TLI_Stream.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-TP_Reactor.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-TSS_Adapter.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-TTY_IO.lo libACE_la-Task.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Thread.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Thread_Adapter.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Thread_Control.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Thread_Exit.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Thread_Hook.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Thread_Manager.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Thread_Mutex.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Thread_Semaphore.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Throughput_Stats.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Time_Value.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Timeprobe.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Token.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Token_Collection.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Token_Invariants.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Token_Manager.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Token_Request_Reply.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-Trace.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-UNIX_Addr.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-UPIPE_Acceptor.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-UPIPE_Connector.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-UPIPE_Stream.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-UTF16_Encoding_Converter.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-UTF32_Encoding_Converter.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-UTF8_Encoding_Converter.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-UUID.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-WFMO_Reactor.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-WIN32_Asynch_IO.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-WIN32_Proactor.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-XML_Svc_Conf.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-XTI_ATM_Mcast.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-ace_wchar.lo \ -@BUILD_ACE_FOR_TAO_FALSE@ libACE_la-gethrtime.lo -libACE_la_OBJECTS = $(am_libACE_la_OBJECTS) -libACE_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ - $(CXXFLAGS) $(libACE_la_LDFLAGS) $(LDFLAGS) -o $@ -@BUILD_ACE_FOR_TAO_FALSE@am_libACE_la_rpath = -rpath $(libdir) -am__DEPENDENCIES_1 = -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@libACE_FlReactor_la_DEPENDENCIES = \ -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@ libACE.la \ -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@ $(am__DEPENDENCIES_1) -am__libACE_FlReactor_la_SOURCES_DIST = FlReactor/FlReactor.cpp -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@am_libACE_FlReactor_la_OBJECTS = libACE_FlReactor_la-FlReactor.lo -libACE_FlReactor_la_OBJECTS = $(am_libACE_FlReactor_la_OBJECTS) -libACE_FlReactor_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ - $(CXXFLAGS) $(libACE_FlReactor_la_LDFLAGS) $(LDFLAGS) -o $@ -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@am_libACE_FlReactor_la_rpath = \ -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@ -rpath $(libdir) -@BUILD_QT_TRUE@libACE_QtReactor_la_DEPENDENCIES = libACE.la \ -@BUILD_QT_TRUE@ $(am__DEPENDENCIES_1) -am__libACE_QtReactor_la_SOURCES_DIST = QtReactor/QtReactor.cpp \ - QtReactor/QtReactor_moc.cpp -@BUILD_QT_TRUE@am_libACE_QtReactor_la_OBJECTS = \ -@BUILD_QT_TRUE@ libACE_QtReactor_la-QtReactor.lo \ -@BUILD_QT_TRUE@ libACE_QtReactor_la-QtReactor_moc.lo -libACE_QtReactor_la_OBJECTS = $(am_libACE_QtReactor_la_OBJECTS) -libACE_QtReactor_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ - $(CXXFLAGS) $(libACE_QtReactor_la_LDFLAGS) $(LDFLAGS) -o $@ -@BUILD_QT_TRUE@am_libACE_QtReactor_la_rpath = -rpath $(libdir) -@BUILD_TK_TRUE@libACE_TkReactor_la_DEPENDENCIES = libACE.la \ -@BUILD_TK_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) -am__libACE_TkReactor_la_SOURCES_DIST = TkReactor/TkReactor.cpp -@BUILD_TK_TRUE@am_libACE_TkReactor_la_OBJECTS = \ -@BUILD_TK_TRUE@ libACE_TkReactor_la-TkReactor.lo -libACE_TkReactor_la_OBJECTS = $(am_libACE_TkReactor_la_OBJECTS) -libACE_TkReactor_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ - $(CXXFLAGS) $(libACE_TkReactor_la_LDFLAGS) $(LDFLAGS) -o $@ -@BUILD_TK_TRUE@am_libACE_TkReactor_la_rpath = -rpath $(libdir) -@BUILD_X11_TRUE@@BUILD_XT_TRUE@libACE_XtReactor_la_DEPENDENCIES = \ -@BUILD_X11_TRUE@@BUILD_XT_TRUE@ libACE.la $(am__DEPENDENCIES_1) \ -@BUILD_X11_TRUE@@BUILD_XT_TRUE@ $(am__DEPENDENCIES_1) -am__libACE_XtReactor_la_SOURCES_DIST = XtReactor/XtReactor.cpp -@BUILD_X11_TRUE@@BUILD_XT_TRUE@am_libACE_XtReactor_la_OBJECTS = libACE_XtReactor_la-XtReactor.lo -libACE_XtReactor_la_OBJECTS = $(am_libACE_XtReactor_la_OBJECTS) -libACE_XtReactor_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ - $(CXXFLAGS) $(libACE_XtReactor_la_LDFLAGS) $(LDFLAGS) -o $@ -@BUILD_X11_TRUE@@BUILD_XT_TRUE@am_libACE_XtReactor_la_rpath = -rpath \ -@BUILD_X11_TRUE@@BUILD_XT_TRUE@ $(libdir) -DEFAULT_INCLUDES = -depcomp = $(SHELL) $(top_srcdir)/aux_config/depcomp -am__depfiles_maybe = depfiles -am__mv = mv -f -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -CXXLD = $(CXX) -CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ -SOURCES = $(libACE_la_SOURCES) $(libACE_FlReactor_la_SOURCES) \ - $(libACE_QtReactor_la_SOURCES) $(libACE_TkReactor_la_SOURCES) \ - $(libACE_XtReactor_la_SOURCES) -DIST_SOURCES = $(am__libACE_la_SOURCES_DIST) \ - $(am__libACE_FlReactor_la_SOURCES_DIST) \ - $(am__libACE_QtReactor_la_SOURCES_DIST) \ - $(am__libACE_TkReactor_la_SOURCES_DIST) \ - $(am__libACE_XtReactor_la_SOURCES_DIST) -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ - install-html-recursive install-info-recursive \ - install-pdf-recursive install-ps-recursive install-recursive \ - installcheck-recursive installdirs-recursive pdf-recursive \ - ps-recursive uninstall-recursive -DATA = $(pkgconfig_DATA) -am__nobase_include_HEADERS_DIST = ACE.h ACE.inl ACE_export.h ARGV.cpp \ - ARGV.h ARGV.inl ATM_Acceptor.h ATM_Acceptor.inl ATM_Addr.h \ - ATM_Addr.inl ATM_Connector.h ATM_Connector.inl ATM_Params.h \ - ATM_Params.inl ATM_QoS.h ATM_QoS.inl ATM_Stream.h \ - ATM_Stream.inl Acceptor.cpp Acceptor.h Activation_Queue.h \ - Activation_Queue.inl Active_Map_Manager.h \ - Active_Map_Manager.inl Active_Map_Manager_T.cpp \ - Active_Map_Manager_T.h Active_Map_Manager_T.inl Addr.h \ - Addr.inl Arg_Shifter.cpp Arg_Shifter.h Argv_Type_Converter.h \ - Argv_Type_Converter.inl Array_Base.cpp Array_Base.h \ - Array_Base.inl Array_Map.cpp Array_Map.h Array_Map.inl \ - Assert.h Asynch_Acceptor.cpp Asynch_Acceptor.h \ - Asynch_Connector.cpp Asynch_Connector.h Asynch_IO.h \ - Asynch_IO_Impl.h Asynch_IO_Impl.inl Asynch_Pseudo_Task.h \ - Atomic_Op.h Atomic_Op.inl Atomic_Op_Sparc.h Atomic_Op_T.cpp \ - Atomic_Op_GCC_T.h Atomic_Op_GCC_T.cpp Atomic_Op_GCC_T.inl \ - Atomic_Op_T.h Atomic_Op_T.inl Auto_Event.h Auto_Event.inl \ - Auto_Functor.cpp Auto_Functor.h Auto_Functor.inl \ - Auto_IncDec_T.cpp Auto_IncDec_T.h Auto_IncDec_T.inl \ - Auto_Ptr.cpp Auto_Ptr.h Auto_Ptr.inl Barrier.h Barrier.inl \ - Base_Thread_Adapter.h Base_Thread_Adapter.inl \ - Based_Pointer_Repository.h Based_Pointer_T.cpp \ - Based_Pointer_T.h Based_Pointer_T.inl Basic_Stats.h \ - Basic_Stats.inl Basic_Types.h Basic_Types.inl Bound_Ptr.h \ - Bound_Ptr.inl CDR_Base.h CDR_Base.inl CDR_Size.h CDR_Size.inl \ - CDR_Stream.h CDR_Stream.inl CORBA_macros.h \ - Cache_Map_Manager_T.cpp Cache_Map_Manager_T.h \ - Cache_Map_Manager_T.inl Cached_Connect_Strategy_T.cpp \ - Cached_Connect_Strategy_T.h Caching_Strategies_T.cpp \ - Caching_Strategies_T.h Caching_Strategies_T.inl \ - Caching_Utility_T.cpp Caching_Utility_T.h Capabilities.h \ - Capabilities.inl Cleanup.h Cleanup.inl \ - Cleanup_Strategies_T.cpp Cleanup_Strategies_T.h Codecs.h \ - Codeset_IBM1047.h Codeset_Registry.h Codeset_Registry.inl \ - Condition_Recursive_Thread_Mutex.h Condition_T.cpp \ - Condition_T.h Condition_T.inl Condition_Thread_Mutex.h \ - Condition_Thread_Mutex.inl Configuration.h Configuration.inl \ - Configuration_Import_Export.h Connection_Recycling_Strategy.h \ - Connector.cpp Connector.h Containers.h Containers.inl \ - Containers_T.cpp Containers_T.h Containers_T.inl \ - Copy_Disabled.h Countdown_Time.h Countdown_Time.inl DEV.h \ - DEV.inl DEV_Addr.h DEV_Addr.inl DEV_Connector.h \ - DEV_Connector.inl DEV_IO.h DEV_IO.inl DLL.h DLL_Manager.h \ - Date_Time.h Date_Time.inl Default_Constants.h \ - Dev_Poll_Reactor.h Dev_Poll_Reactor.inl Dirent.h Dirent.inl \ - Dirent_Selector.h Dirent_Selector.inl Dump.h Dump_T.cpp \ - Dump_T.h Dynamic.h Dynamic.inl Dynamic_Message_Strategy.h \ - Dynamic_Message_Strategy.inl Dynamic_Service.cpp \ - Dynamic_Service.h Dynamic_Service.inl Dynamic_Service_Base.h \ - Dynamic_Service_Dependency.h Encoding_Converter.h \ - Encoding_Converter_Factory.h Env_Value_T.cpp Env_Value_T.h \ - Env_Value_T.inl Event.h Event.inl Event_Handler.h \ - Event_Handler.inl Event_Handler_T.cpp Event_Handler_T.h \ - Event_Handler_T.inl FIFO.h FIFO.inl FIFO_Recv.h FIFO_Recv.inl \ - FIFO_Recv_Msg.h FIFO_Recv_Msg.inl FIFO_Send.h FIFO_Send.inl \ - FIFO_Send_Msg.h FIFO_Send_Msg.inl FILE.h FILE.inl FILE_Addr.h \ - FILE_Addr.inl FILE_Connector.h FILE_Connector.inl FILE_IO.h \ - FILE_IO.inl File_Lock.h File_Lock.inl Filecache.h Flag_Manip.h \ - Flag_Manip.inl Framework_Component.h Framework_Component.inl \ - Framework_Component_T.cpp Framework_Component_T.h \ - Free_List.cpp Free_List.h Functor.h Functor.inl \ - Functor_String.h Functor_String.inl Functor_T.cpp Functor_T.h \ - Functor_T.inl Future.cpp Future.h Future_Set.cpp Future_Set.h \ - Get_Opt.h Get_Opt.inl Global_Macros.h Guard_T.cpp Guard_T.h \ - Guard_T.inl Handle_Gobbler.h Handle_Gobbler.inl Handle_Ops.h \ - Handle_Set.h Handle_Set.inl Hash_Cache_Map_Manager_T.cpp \ - Hash_Cache_Map_Manager_T.h Hash_Cache_Map_Manager_T.inl \ - Hash_Map_Manager.h Hash_Map_Manager_T.cpp Hash_Map_Manager_T.h \ - Hash_Map_Manager_T.inl Hash_Map_With_Allocator_T.cpp \ - Hash_Map_With_Allocator_T.h Hash_Map_With_Allocator_T.inl \ - Hash_Multi_Map_Manager_T.cpp Hash_Multi_Map_Manager_T.h \ - Hash_Multi_Map_Manager_T.inl Hashable.h Hashable.inl \ - High_Res_Timer.h High_Res_Timer.inl ICMP_Socket.h INET_Addr.h \ - INET_Addr.inl IOStream.h IOStream_T.cpp IOStream_T.h \ - IOStream_T.inl IO_Cntl_Msg.h IO_Cntl_Msg.inl IO_SAP.h \ - IO_SAP.inl IPC_SAP.h IPC_SAP.inl If_Then_Else.h Init_ACE.h \ - Intrusive_Auto_Ptr.cpp Intrusive_Auto_Ptr.h \ - Intrusive_Auto_Ptr.inl Intrusive_List.cpp Intrusive_List.h \ - Intrusive_List.inl Intrusive_List_Node.cpp \ - Intrusive_List_Node.h Intrusive_List_Node.inl \ - LOCK_SOCK_Acceptor.cpp LOCK_SOCK_Acceptor.h LSOCK.h LSOCK.inl \ - LSOCK_Acceptor.h LSOCK_CODgram.h LSOCK_CODgram.inl \ - LSOCK_Connector.h LSOCK_Connector.inl LSOCK_Dgram.h \ - LSOCK_Dgram.inl LSOCK_Stream.h LSOCK_Stream.inl Lib_Find.h \ - Local_Memory_Pool.h Local_Name_Space.h Local_Name_Space_T.cpp \ - Local_Name_Space_T.h Local_Tokens.h Local_Tokens.inl Lock.h \ - Lock.inl Lock_Adapter_T.cpp Lock_Adapter_T.h \ - Lock_Adapter_T.inl Log_Msg.h Log_Msg.inl Log_Msg_Backend.h \ - Log_Msg_Callback.h Log_Msg_IPC.h Log_Msg_NT_Event_Log.h \ - Log_Msg_UNIX_Syslog.h Log_Priority.h Log_Record.h \ - Log_Record.inl Logging_Strategy.h MEM_Acceptor.h \ - MEM_Acceptor.inl MEM_Addr.h MEM_Addr.inl MEM_Connector.h \ - MEM_Connector.inl MEM_IO.h MEM_IO.inl MEM_SAP.h MEM_SAP.inl \ - MEM_Stream.h MEM_Stream.inl MMAP_Memory_Pool.h \ - MMAP_Memory_Pool.inl Malloc.h Malloc.inl Malloc_Allocator.h \ - Malloc_Allocator.inl Malloc_Base.h Malloc_T.cpp Malloc_T.h \ - Malloc_T.inl Managed_Object.cpp Managed_Object.h \ - Managed_Object.inl Manual_Event.h Manual_Event.inl \ - Map_Manager.cpp Map_Manager.h Map_Manager.inl Map_T.cpp \ - Map_T.h Map_T.inl Mem_Map.h Mem_Map.inl Memory_Pool.h \ - Message_Block.h Message_Block.inl Message_Block_T.cpp \ - Message_Block_T.h Message_Block_T.inl Message_Queue.h \ - Message_Queue.inl Message_Queue_NT.h Message_Queue_NT.inl \ - Message_Queue_T.cpp Message_Queue_T.h Message_Queue_Vx.h \ - Message_Queue_Vx.inl Method_Request.h Min_Max.h Module.cpp \ - Module.h Module.inl Monitor_Admin.h Monitor_Admin_Manager.h \ - Monitor_Base.h Monitor_Base.inl Monitor_Control_Action.h \ - Monitor_Control_Types.h Monitor_Point_Registry.h \ - Monitor_Size.h Msg_WFMO_Reactor.h Msg_WFMO_Reactor.inl \ - Multihomed_INET_Addr.h Multihomed_INET_Addr.inl Mutex.h \ - Mutex.inl NT_Service.h NT_Service.inl Name_Proxy.h \ - Name_Request_Reply.h Name_Space.h Naming_Context.h \ - Naming_Context.inl Netlink_Addr.h Netlink_Addr.inl Node.cpp \ - Node.h Notification_Queue.h Notification_Queue.inl \ - Notification_Strategy.h Notification_Strategy.inl \ - Null_Barrier.h Null_Condition.h Null_Mutex.h Null_Semaphore.h \ - Numeric_Limits.h Obstack.h OS_Errno.h OS_Errno.inl \ - OS_Log_Msg_Attributes.h OS_Log_Msg_Attributes.inl OS_Memory.h \ - OS_NS_Thread.h OS_NS_Thread.inl OS_NS_arpa_inet.h \ - OS_NS_arpa_inet.inl OS_NS_ctype.h OS_NS_ctype.inl \ - OS_NS_dirent.h OS_NS_dirent.inl OS_NS_dlfcn.h OS_NS_dlfcn.inl \ - OS_NS_errno.h OS_NS_errno.inl OS_NS_fcntl.h OS_NS_fcntl.inl \ - OS_NS_macros.h OS_NS_math.h OS_NS_math.inl OS_NS_netdb.h \ - OS_NS_netdb.inl OS_NS_poll.h OS_NS_poll.inl OS_NS_pwd.h \ - OS_NS_pwd.inl OS_NS_regex.h OS_NS_regex.inl OS_NS_signal.h \ - OS_NS_signal.inl OS_NS_stdio.h OS_NS_stdio.inl OS_NS_stdlib.h \ - OS_NS_stdlib.inl OS_NS_string.h OS_NS_string.inl \ - OS_NS_strings.h OS_NS_strings.inl OS_NS_stropts.h \ - OS_NS_stropts.inl OS_NS_sys_mman.h OS_NS_sys_mman.inl \ - OS_NS_sys_msg.h OS_NS_sys_msg.inl OS_NS_sys_resource.h \ - OS_NS_sys_resource.inl OS_NS_sys_select.h OS_NS_sys_select.inl \ - OS_NS_sys_sendfile.h OS_NS_sys_sendfile.inl OS_NS_sys_shm.h \ - OS_NS_sys_shm.inl OS_NS_sys_socket.h OS_NS_sys_socket.inl \ - OS_NS_sys_stat.h OS_NS_sys_stat.inl OS_NS_sys_time.h \ - OS_NS_sys_time.inl OS_NS_sys_uio.h OS_NS_sys_uio.inl \ - OS_NS_sys_utsname.h OS_NS_sys_wait.h OS_NS_sys_wait.inl \ - OS_NS_time.h OS_NS_time.inl OS_NS_unistd.h OS_NS_unistd.inl \ - OS_NS_wchar.h OS_NS_wctype.h OS_NS_wctype.inl OS_NS_wchar.inl \ - OS_QoS.h OS_TLI.h OS_TLI.inl OS_Thread_Adapter.h OS_main.h \ - Obchunk.h Obchunk.inl Object_Manager.h Object_Manager.inl \ - Object_Manager_Base.h Obstack_T.cpp Obstack_T.h Obstack_T.inl \ - PI_Malloc.h PI_Malloc.inl POSIX_Asynch_IO.h \ - POSIX_CB_Proactor.h POSIX_Proactor.h POSIX_Proactor.inl \ - Pagefile_Memory_Pool.h Pagefile_Memory_Pool.inl Pair_T.cpp \ - Pair_T.h Pair_T.inl Parse_Node.h Ping_Socket.h Ping_Socket.inl \ - Pipe.h Pipe.inl Priority_Reactor.h Proactor.h Proactor.inl \ - Proactor_Impl.h Process.h Process.inl Process_Manager.h \ - Process_Manager.inl Process_Mutex.h Process_Mutex.inl \ - Process_Semaphore.h Process_Semaphore.inl Profile_Timer.h \ - Profile_Timer.inl RB_Tree.cpp RB_Tree.h RB_Tree.inl RW_Mutex.h \ - RW_Mutex.inl RW_Process_Mutex.h RW_Process_Mutex.inl \ - RW_Thread_Mutex.h RW_Thread_Mutex.inl Reactor.h Reactor.inl \ - Reactor_Impl.h Reactor_Notification_Strategy.h \ - Reactor_Notification_Strategy.inl Reactor_Timer_Interface.h \ - Reactor_Token_T.cpp Reactor_Token_T.h Read_Buffer.h \ - Read_Buffer.inl Recursive_Thread_Mutex.h \ - Recursive_Thread_Mutex.inl Recyclable.h Recyclable.inl \ - Refcountable_T.cpp Refcountable_T.h Refcountable_T.inl \ - Refcounted_Auto_Ptr.cpp Refcounted_Auto_Ptr.h \ - Refcounted_Auto_Ptr.inl Registry.h Registry_Name_Space.h \ - Remote_Name_Space.h Remote_Tokens.h Remote_Tokens.inl \ - Reverse_Lock_T.cpp Reverse_Lock_T.h Reverse_Lock_T.inl SOCK.h \ - SOCK.inl SOCK_Acceptor.h SOCK_Acceptor.inl SOCK_CODgram.h \ - SOCK_CODgram.inl SOCK_Connector.h SOCK_Connector.inl \ - SOCK_Dgram.h SOCK_Dgram.inl SOCK_Dgram_Bcast.h \ - SOCK_Dgram_Bcast.inl SOCK_Dgram_Mcast.h SOCK_Dgram_Mcast.inl \ - SOCK_IO.h SOCK_IO.inl SOCK_Netlink.h SOCK_Netlink.inl \ - SOCK_SEQPACK_Acceptor.h SOCK_SEQPACK_Acceptor.inl \ - SOCK_SEQPACK_Association.h SOCK_SEQPACK_Association.inl \ - SOCK_SEQPACK_Connector.h SOCK_SEQPACK_Connector.inl \ - SOCK_Stream.h SOCK_Stream.inl SPIPE.h SPIPE.inl \ - SPIPE_Acceptor.h SPIPE_Addr.h SPIPE_Addr.inl SPIPE_Connector.h \ - SPIPE_Connector.inl SPIPE_Stream.h SPIPE_Stream.inl SString.h \ - SString.inl SStringfwd.h Stack_Trace.h SUN_Proactor.h \ - SV_Message.h SV_Message.inl SV_Message_Queue.h \ - SV_Message_Queue.inl SV_Semaphore_Complex.h \ - SV_Semaphore_Complex.inl SV_Semaphore_Simple.h \ - SV_Semaphore_Simple.inl SV_Shared_Memory.h \ - SV_Shared_Memory.inl Sample_History.h Sample_History.inl \ - Sbrk_Memory_Pool.h Sched_Params.h Sched_Params.inl \ - Select_Reactor.h Select_Reactor_Base.h Select_Reactor_Base.inl \ - Select_Reactor_T.cpp Select_Reactor_T.h Select_Reactor_T.inl \ - Semaphore.h Semaphore.inl Service_Config.h Service_Config.inl \ - Service_Gestalt.h Service_Gestalt.inl Service_Manager.h \ - Service_Object.h Service_Object.inl Service_Repository.h \ - Service_Repository.inl Service_Types.h Service_Types.inl \ - Shared_Memory.h Shared_Memory_MM.h Shared_Memory_MM.inl \ - Shared_Memory_Pool.h Shared_Memory_SV.h Shared_Memory_SV.inl \ - Shared_Object.h Shared_Object.inl Sig_Adapter.h Sig_Handler.h \ - Sig_Handler.inl Signal.h Signal.inl Singleton.cpp Singleton.h \ - Singleton.inl Sock_Connect.h Static_Object_Lock.h Stats.h \ - Stats.inl Strategies.h Strategies_T.cpp Strategies_T.h \ - Strategies_T.inl Stream.cpp Stream.h Stream.inl \ - Stream_Modules.cpp Stream_Modules.h String_Base.cpp \ - String_Base.h String_Base.inl String_Base_Const.h Svc_Conf.h \ - Svc_Conf_Lexer.h Svc_Conf_Tokens.h Svc_Conf_Token_Table.h \ - Svc_Handler.cpp Svc_Handler.h Synch.h Synch_Options.h \ - Synch_Traits.h System_Time.h TLI.h TLI.inl TLI_Acceptor.h \ - TLI_Connector.h TLI_Connector.inl TLI_Stream.h TLI_Stream.inl \ - TP_Reactor.h TP_Reactor.inl TSS_Adapter.h TSS_T.cpp TSS_T.h \ - TSS_T.inl TTY_IO.h Task.h Task.inl Task_Ex_T.cpp Task_Ex_T.h \ - Task_Ex_T.inl Task_T.cpp Task_T.h Task_T.inl Test_and_Set.cpp \ - Test_and_Set.h Thread.h Thread.inl Thread_Adapter.h \ - Thread_Adapter.inl Thread_Control.h Thread_Control.inl \ - Thread_Exit.h Thread_Hook.h Thread_Manager.h \ - Thread_Manager.inl Thread_Mutex.h Thread_Mutex.inl \ - Thread_Semaphore.h Thread_Semaphore.inl Throughput_Stats.h \ - Time_Value.h Time_Value.inl Timeprobe.h Timeprobe.inl \ - Timeprobe_T.cpp Timeprobe_T.h Timer_Hash_T.cpp Timer_Hash_T.h \ - Timer_Heap_T.cpp Timer_Heap_T.h Timer_List_T.cpp \ - Timer_List_T.h Timer_Queue_Adapters.cpp Timer_Queue_Adapters.h \ - Timer_Queue_Adapters.inl Timer_Queue_T.cpp Timer_Queue_T.h \ - Timer_Queue_T.inl Timer_Wheel_T.cpp Timer_Wheel_T.h \ - Tokenizer_T.cpp Tokenizer_T.h Timer_Hash.h Timer_Heap.h \ - Timer_List.h Timer_Queue.h Timer_Queuefwd.h Timer_Wheel.h \ - Token.h Token.inl Token_Collection.h Token_Collection.inl \ - Token_Invariants.h Token_Manager.h Token_Manager.inl \ - Token_Request_Reply.h Token_Request_Reply.inl Trace.h \ - Truncate.h Typed_SV_Message.cpp Typed_SV_Message.h \ - Typed_SV_Message.inl Typed_SV_Message_Queue.cpp \ - Typed_SV_Message_Queue.h Typed_SV_Message_Queue.inl \ - UNIX_Addr.h UNIX_Addr.inl UPIPE_Acceptor.h UPIPE_Acceptor.inl \ - UPIPE_Addr.h UPIPE_Connector.h UPIPE_Connector.inl \ - UPIPE_Stream.h UPIPE_Stream.inl UTF16_Encoding_Converter.h \ - UTF16_Encoding_Converter.inl UTF32_Encoding_Converter.h \ - UTF8_Encoding_Converter.h UUID.h UUID.inl Unbounded_Queue.cpp \ - Unbounded_Queue.h Unbounded_Queue.inl Unbounded_Set.cpp \ - Unbounded_Set.h Unbounded_Set.inl Unbounded_Set_Ex.cpp \ - Unbounded_Set_Ex.h Unbounded_Set_Ex.inl Value_Ptr.h \ - Vector_T.cpp Vector_T.h Vector_T.inl Version.h \ - Versioned_Namespace.h WFMO_Reactor.h WFMO_Reactor.inl \ - WIN32_Asynch_IO.h WIN32_Proactor.h XML_Svc_Conf.h \ - XTI_ATM_Mcast.h XTI_ATM_Mcast.inl ace_wchar.h ace_wchar.inl \ - checked_iterator.h config-WinCE.h config-all.h config-lite.h \ - config-macros.h config-minimal.h config-win32-borland.h \ - config-win32-common.h config-win32-msvc-7.h \ - config-win32-msvc-8.h config-win32-msvc.h config-win32.h \ - config.h iosfwd.h os_include/arpa/os_inet.h \ - os_include/net/os_if.h os_include/netinet/os_in.h \ - os_include/netinet/os_tcp.h os_include/os_aio.h \ - os_include/os_assert.h os_include/os_byteswap.h \ - os_include/os_complex.h os_include/os_cpio.h \ - os_include/os_ctype.h os_include/os_dirent.h \ - os_include/os_dlfcn.h os_include/os_errno.h \ - os_include/os_fcntl.h os_include/os_fenv.h \ - os_include/os_float.h os_include/os_fmtmsg.h \ - os_include/os_fnmatch.h os_include/os_ftw.h \ - os_include/os_glob.h os_include/os_grp.h os_include/os_iconv.h \ - os_include/os_intrin.h os_include/os_inttypes.h \ - os_include/os_iso646.h os_include/os_kstat.h \ - os_include/os_langinfo.h os_include/os_libgen.h \ - os_include/os_limits.h os_include/os_local.h \ - os_include/os_math.h os_include/os_monetary.h \ - os_include/os_mqueue.h os_include/os_ndbm.h \ - os_include/os_netdb.h os_include/os_nl_types.h \ - os_include/os_pdh.h os_include/os_pdhmsg.h \ - os_include/os_poll.h os_include/os_pthread.h \ - os_include/os_pwd.h os_include/os_regex.h \ - os_include/os_sched.h os_include/os_search.h \ - os_include/os_semaphore.h os_include/os_setjmp.h \ - os_include/os_signal.h os_include/os_spawn.h \ - os_include/os_stdarg.h os_include/os_stdbool.h \ - os_include/os_stddef.h os_include/os_stdint.h \ - os_include/os_stdio.h os_include/os_stdlib.h \ - os_include/os_string.h os_include/os_strings.h \ - os_include/os_stropts.h os_include/os_syslog.h \ - os_include/os_tar.h os_include/os_termios.h \ - os_include/os_tgmath.h os_include/os_time.h \ - os_include/os_trace.h os_include/os_typeinfo.h \ - os_include/os_ucontext.h os_include/os_ulimit.h \ - os_include/os_unistd.h os_include/os_utime.h \ - os_include/os_utmpx.h os_include/os_wchar.h \ - os_include/os_wctype.h os_include/os_wordexp.h \ - os_include/sys/os_ipc.h os_include/sys/os_loadavg.h \ - os_include/sys/os_mman.h os_include/sys/os_msg.h \ - os_include/sys/os_pstat.h os_include/sys/os_resource.h \ - os_include/sys/os_select.h os_include/sys/os_sem.h \ - os_include/sys/os_shm.h os_include/sys/os_socket.h \ - os_include/sys/os_stat.h os_include/sys/os_statvfs.h \ - os_include/sys/os_sysctl.h os_include/sys/os_sysinfo.h \ - os_include/sys/os_time.h os_include/sys/os_timeb.h \ - os_include/sys/os_times.h os_include/sys/os_types.h \ - os_include/sys/os_uio.h os_include/sys/os_un.h \ - os_include/sys/os_utsname.h os_include/sys/os_wait.h post.h \ - pre.h streams.h svc_export.h FlReactor/ACE_FlReactor_export.h \ - FlReactor/FlReactor.h QtReactor/ACE_QtReactor_export.h \ - QtReactor/QtReactor.h TkReactor/ACE_TkReactor_export.h \ - TkReactor/TkReactor.h XtReactor/ACE_XtReactor_export.h \ - XtReactor/XtReactor.h -HEADERS = $(nobase_include_HEADERS) -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ - distclean-recursive maintainer-clean-recursive -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ - distdir -ETAGS = etags -CTAGS = ctags -DIST_SUBDIRS = $(SUBDIRS) -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -am__relativize = \ - dir0=`pwd`; \ - sed_first='s,^\([^/]*\)/.*$$,\1,'; \ - sed_rest='s,^[^/]*/*,,'; \ - sed_last='s,^.*/\([^/]*\)$$,\1,'; \ - sed_butlast='s,/*[^/]*$$,,'; \ - while test -n "$$dir1"; do \ - first=`echo "$$dir1" | sed -e "$$sed_first"`; \ - if test "$$first" != "."; then \ - if test "$$first" = ".."; then \ - dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ - dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ - else \ - first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ - if test "$$first2" = "$$first"; then \ - dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ - else \ - dir2="../$$dir2"; \ - fi; \ - dir0="$$dir0"/"$$first"; \ - fi; \ - fi; \ - dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ - done; \ - reldir="$$dir2" -ACEXML = @ACEXML@ -ACE_BETA = @ACE_BETA@ -ACE_BZIP2_CPPFLAGS = @ACE_BZIP2_CPPFLAGS@ -ACE_BZIP2_LDFLAGS = @ACE_BZIP2_LDFLAGS@ -ACE_BZIP2_LIBS = @ACE_BZIP2_LIBS@ -ACE_FLTK_CPPFLAGS = @ACE_FLTK_CPPFLAGS@ -ACE_FLTK_LIBS = @ACE_FLTK_LIBS@ -ACE_FOX_CPPFLAGS = @ACE_FOX_CPPFLAGS@ -ACE_FOX_LIBS = @ACE_FOX_LIBS@ -ACE_KERBEROS_INCLUDES = @ACE_KERBEROS_INCLUDES@ -ACE_MAJOR = @ACE_MAJOR@ -ACE_MINOR = @ACE_MINOR@ -ACE_QT_CPPFLAGS = @ACE_QT_CPPFLAGS@ -ACE_QT_LIBS = @ACE_QT_LIBS@ -ACE_TCL_CPPFLAGS = @ACE_TCL_CPPFLAGS@ -ACE_TCL_LIBS = @ACE_TCL_LIBS@ -ACE_TESTS_DIR = @ACE_TESTS_DIR@ -ACE_TK_CPPFLAGS = @ACE_TK_CPPFLAGS@ -ACE_TK_LIBS = @ACE_TK_LIBS@ -ACE_TLS_CPPFLAGS = @ACE_TLS_CPPFLAGS@ -ACE_TLS_LDFLAGS = @ACE_TLS_LDFLAGS@ -ACE_TLS_LIBS = @ACE_TLS_LIBS@ -ACE_VERSION_NAME = @ACE_VERSION_NAME@ -ACE_X11_CPPFLAGS = @ACE_X11_CPPFLAGS@ -ACE_X11_LDFLAGS = @ACE_X11_LDFLAGS@ -ACE_X11_LIBS = @ACE_X11_LIBS@ -ACE_XLIBS = @ACE_XLIBS@ -ACE_XT_CPPFLAGS = @ACE_XT_CPPFLAGS@ -ACE_XT_LDFLAGS = @ACE_XT_LDFLAGS@ -ACE_XT_LIBS = @ACE_XT_LIBS@ -ACE_ZLIB_CPPFLAGS = @ACE_ZLIB_CPPFLAGS@ -ACE_ZLIB_LDFLAGS = @ACE_ZLIB_LDFLAGS@ -ACE_ZLIB_LIBS = @ACE_ZLIB_LIBS@ -ACE_ZZIP_CPPFLAGS = @ACE_ZZIP_CPPFLAGS@ -ACE_ZZIP_LDFLAGS = @ACE_ZZIP_LDFLAGS@ -ACE_ZZIP_LIBS = @ACE_ZZIP_LIBS@ -ACLOCAL = @ACLOCAL@ -ALLOCA = @ALLOCA@ -AMTAR = @AMTAR@ -AR = @AR@ -ASNMP = @ASNMP@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FGREP = @FGREP@ -FLTKCONFIG = @FLTKCONFIG@ -FOXCONFIG = @FOXCONFIG@ -GPERF = @GPERF@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -KOKYU = @KOKYU@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LEX = @LEX@ -LEXLIB = @LEXLIB@ -LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PROF = @PROF@ -PURIFY = @PURIFY@ -QTDIR = @QTDIR@ -QUANTIFY = @QUANTIFY@ -Qt_CFLAGS = @Qt_CFLAGS@ -Qt_LIBS = @Qt_LIBS@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -TAO = @TAO@ -VERSION = @VERSION@ -XMKMF = @XMKMF@ -XTREACTOR_TEST_XLIBS = @XTREACTOR_TEST_XLIBS@ -X_CFLAGS = @X_CFLAGS@ -X_EXTRA_LIBS = @X_EXTRA_LIBS@ -X_LIBS = @X_LIBS@ -X_PRE_LIBS = @X_PRE_LIBS@ -YACC = @YACC@ -YFLAGS = @YFLAGS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@/ace -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -protocols = @protocols@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -subdirs = @subdirs@ -sysconfdir = @sysconfdir@ -target = @target@ -target_alias = @target_alias@ -target_cpu = @target_cpu@ -target_os = @target_os@ -target_vendor = @target_vendor@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -pkgconfigdir = @libdir@/pkgconfig -ACE_BUILDDIR = $(top_builddir) -ACE_ROOT = $(top_srcdir) -SUBDIRS = \ - . \ - ETCL \ - Monitor_Control \ - SSL - -CLEANFILES = $(am__append_4) $(am__append_8) $(am__append_9) \ - $(am__append_16) $(am__append_20) -lib_LTLIBRARIES = $(am__append_1) $(am__append_5) $(am__append_10) \ - $(am__append_13) $(am__append_17) -pkgconfig_DATA = $(am__append_3) $(am__append_7) $(am__append_12) \ - $(am__append_15) $(am__append_19) -nobase_include_HEADERS = $(am__append_2) $(am__append_6) \ - $(am__append_11) $(am__append_14) $(am__append_18) -@BUILD_ACE_FOR_TAO_FALSE@libACE_la_CPPFLAGS = \ -@BUILD_ACE_FOR_TAO_FALSE@ -I$(ACE_ROOT) \ -@BUILD_ACE_FOR_TAO_FALSE@ -I$(ACE_BUILDDIR) \ -@BUILD_ACE_FOR_TAO_FALSE@ -DACE_BUILD_DLL - -@BUILD_ACE_FOR_TAO_FALSE@libACE_la_SOURCES = \ -@BUILD_ACE_FOR_TAO_FALSE@ ACE.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ ACE_crc32.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ ACE_crc_ccitt.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ ATM_Acceptor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ ATM_Addr.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ ATM_Connector.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ ATM_Params.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ ATM_QoS.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ ATM_Stream.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Activation_Queue.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Active_Map_Manager.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Addr.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Argv_Type_Converter.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Assert.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Asynch_IO.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Asynch_IO_Impl.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Asynch_Pseudo_Task.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Atomic_Op.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Atomic_Op_Sparc.c \ -@BUILD_ACE_FOR_TAO_FALSE@ Auto_Event.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Barrier.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Base_Thread_Adapter.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Based_Pointer_Repository.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Basic_Stats.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Basic_Types.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ CDR_Base.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ CDR_Size.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ CDR_Stream.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Capabilities.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Cleanup.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Codecs.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Codeset_IBM1047.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Codeset_Registry.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Codeset_Registry_db.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Condition_Recursive_Thread_Mutex.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Condition_Thread_Mutex.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Configuration.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Configuration_Import_Export.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Connection_Recycling_Strategy.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Containers.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Copy_Disabled.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Countdown_Time.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ DEV.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ DEV_Addr.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ DEV_Connector.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ DEV_IO.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ DLL.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ DLL_Manager.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Date_Time.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Dev_Poll_Reactor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Dirent.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Dirent_Selector.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Dump.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Dynamic.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Dynamic_Message_Strategy.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Dynamic_Service_Base.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Dynamic_Service_Dependency.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Encoding_Converter.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Encoding_Converter_Factory.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Event.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Event_Handler.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ FIFO.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ FIFO_Recv.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ FIFO_Recv_Msg.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ FIFO_Send.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ FIFO_Send_Msg.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ FILE.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ FILE_Addr.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ FILE_Connector.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ FILE_IO.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ File_Lock.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Filecache.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Flag_Manip.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Framework_Component.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Functor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Functor_String.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Get_Opt.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Handle_Ops.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Handle_Set.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Hashable.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ High_Res_Timer.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ ICMP_Socket.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ INET_Addr.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ IOStream.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ IO_Cntl_Msg.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ IO_SAP.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ IPC_SAP.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Init_ACE.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ LSOCK.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ LSOCK_Acceptor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ LSOCK_CODgram.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ LSOCK_Connector.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ LSOCK_Dgram.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ LSOCK_Stream.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Lib_Find.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Local_Memory_Pool.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Local_Name_Space.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Local_Tokens.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Lock.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Log_Msg.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Log_Msg_Backend.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Log_Msg_Callback.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Log_Msg_IPC.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Log_Msg_NT_Event_Log.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Log_Msg_UNIX_Syslog.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Log_Record.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Logging_Strategy.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ MEM_Acceptor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ MEM_Addr.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ MEM_Connector.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ MEM_IO.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ MEM_SAP.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ MEM_Stream.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ MMAP_Memory_Pool.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Malloc.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Malloc_Allocator.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Manual_Event.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Mem_Map.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Message_Block.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Message_Queue.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Message_Queue_NT.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Message_Queue_Vx.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Method_Request.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Monitor_Admin.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Monitor_Admin_Manager.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Monitor_Base.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Monitor_Control_Action.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Monitor_Control_Types.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Monitor_Point_Registry.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Monitor_Size.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Msg_WFMO_Reactor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Multihomed_INET_Addr.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Mutex.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ NT_Service.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Name_Proxy.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Name_Request_Reply.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Name_Space.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Naming_Context.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Netlink_Addr.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Notification_Queue.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Notification_Strategy.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_Errno.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_Log_Msg_Attributes.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_Thread.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_arpa_inet.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_ctype.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_dirent.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_dlfcn.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_errno.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_fcntl.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_math.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_netdb.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_poll.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_pwd.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_regex.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_signal.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_stdio.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_stdlib.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_string.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_strings.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_stropts.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_mman.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_msg.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_resource.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_select.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_sendfile.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_shm.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_socket.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_stat.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_time.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_uio.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_utsname.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_sys_wait.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_time.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_unistd.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_wchar.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_NS_wctype.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_QoS.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_TLI.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_Thread_Adapter.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ OS_main.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Obchunk.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Object_Manager.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Object_Manager_Base.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ PI_Malloc.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ POSIX_Asynch_IO.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ POSIX_CB_Proactor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ POSIX_Proactor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Pagefile_Memory_Pool.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Parse_Node.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Ping_Socket.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Pipe.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Priority_Reactor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Proactor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Proactor_Impl.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Process.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Process_Manager.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Process_Mutex.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Process_Semaphore.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Profile_Timer.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ RW_Mutex.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ RW_Process_Mutex.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ RW_Thread_Mutex.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Reactor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Reactor_Impl.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Reactor_Notification_Strategy.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Reactor_Timer_Interface.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Read_Buffer.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Recursive_Thread_Mutex.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Recyclable.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Registry.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Registry_Name_Space.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Remote_Name_Space.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Remote_Tokens.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Rtems_init.c \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_Acceptor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_CODgram.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_Connector.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_Dgram.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_Dgram_Bcast.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_Dgram_Mcast.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_IO.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_Netlink.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_SEQPACK_Acceptor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_SEQPACK_Association.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_SEQPACK_Connector.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SOCK_Stream.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SPIPE.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SPIPE_Acceptor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SPIPE_Addr.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SPIPE_Connector.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SPIPE_Stream.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SString.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Stack_Trace.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SUN_Proactor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SV_Message.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SV_Message_Queue.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SV_Semaphore_Complex.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SV_Semaphore_Simple.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ SV_Shared_Memory.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Sample_History.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Sbrk_Memory_Pool.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Sched_Params.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Select_Reactor_Base.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Semaphore.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Service_Config.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Service_Gestalt.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Service_Manager.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Service_Object.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Service_Repository.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Service_Types.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Shared_Memory.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Shared_Memory_MM.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Shared_Memory_Pool.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Shared_Memory_SV.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Shared_Object.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Sig_Adapter.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Sig_Handler.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Signal.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Sock_Connect.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Stats.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ String_Base_Const.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Svc_Conf_Lexer.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Svc_Conf_y.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Synch_Options.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ System_Time.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ TLI.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ TLI_Acceptor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ TLI_Connector.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ TLI_Stream.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ TP_Reactor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ TSS_Adapter.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ TTY_IO.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Task.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Thread.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Thread_Adapter.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Thread_Control.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Thread_Exit.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Thread_Hook.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Thread_Manager.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Thread_Mutex.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Thread_Semaphore.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Throughput_Stats.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Time_Value.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Timeprobe.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Token.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Token_Collection.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Token_Invariants.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Token_Manager.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Token_Request_Reply.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ Trace.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ UNIX_Addr.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ UPIPE_Acceptor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ UPIPE_Connector.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ UPIPE_Stream.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ UTF16_Encoding_Converter.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ UTF32_Encoding_Converter.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ UTF8_Encoding_Converter.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ UUID.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ WFMO_Reactor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ WIN32_Asynch_IO.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ WIN32_Proactor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ XML_Svc_Conf.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ XTI_ATM_Mcast.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ ace_wchar.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@ gethrtime.cpp - -@BUILD_ACE_FOR_TAO_FALSE@libACE_la_LDFLAGS = \ -@BUILD_ACE_FOR_TAO_FALSE@ -release @ACE_VERSION_NAME@ - -EXTRA_DIST = ACE.pc.in ace.rc FlReactor/ACE_FlReactor.pc.in \ - QtReactor/ACE_QtReactor.pc.in TkReactor/ACE_TkReactor.pc.in \ - XtReactor/ACE_XtReactor.pc.in -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@libACE_FlReactor_la_CPPFLAGS = \ -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@ -I$(ACE_ROOT) \ -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@ -I$(ACE_BUILDDIR) \ -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@ $(ACE_FLTK_CPPFLAGS) \ -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@ -DACE_FLREACTOR_BUILD_DLL - -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@libACE_FlReactor_la_SOURCES = \ -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@ FlReactor/FlReactor.cpp - -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@libACE_FlReactor_la_LDFLAGS = \ -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@ -release @ACE_VERSION_NAME@ $(ACE_FLTK_LDFLAGS) - -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@libACE_FlReactor_la_LIBADD = \ -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@ libACE.la \ -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@ $(ACE_FLTK_LIBS) - -@BUILD_QT_TRUE@BUILT_SOURCES = \ -@BUILD_QT_TRUE@ QtReactor/QtReactor_moc.cpp - -@BUILD_QT_TRUE@libACE_QtReactor_la_CPPFLAGS = \ -@BUILD_QT_TRUE@ -I$(ACE_ROOT) \ -@BUILD_QT_TRUE@ -I$(ACE_BUILDDIR) \ -@BUILD_QT_TRUE@ $(ACE_QT_CPPFLAGS) \ -@BUILD_QT_TRUE@ -DACE_QTREACTOR_BUILD_DLL - -@BUILD_QT_TRUE@libACE_QtReactor_la_SOURCES = \ -@BUILD_QT_TRUE@ QtReactor/QtReactor.cpp \ -@BUILD_QT_TRUE@ QtReactor/QtReactor_moc.cpp - -@BUILD_QT_TRUE@libACE_QtReactor_la_LDFLAGS = \ -@BUILD_QT_TRUE@ -release @ACE_VERSION_NAME@ $(ACE_QT_LDFLAGS) - -@BUILD_QT_TRUE@libACE_QtReactor_la_LIBADD = \ -@BUILD_QT_TRUE@ libACE.la \ -@BUILD_QT_TRUE@ $(ACE_QT_LIBS) - -@BUILD_TK_TRUE@libACE_TkReactor_la_CPPFLAGS = \ -@BUILD_TK_TRUE@ -I$(ACE_ROOT) \ -@BUILD_TK_TRUE@ -I$(ACE_BUILDDIR) \ -@BUILD_TK_TRUE@ $(ACE_TK_CPPFLAGS) \ -@BUILD_TK_TRUE@ $(ACE_TCL_CPPFLAGS) \ -@BUILD_TK_TRUE@ -DACE_TKREACTOR_BUILD_DLL - -@BUILD_TK_TRUE@libACE_TkReactor_la_SOURCES = \ -@BUILD_TK_TRUE@ TkReactor/TkReactor.cpp - -@BUILD_TK_TRUE@libACE_TkReactor_la_LDFLAGS = \ -@BUILD_TK_TRUE@ -release @ACE_VERSION_NAME@ $(ACE_TK_LDFLAGS) $(ACE_TCL_LDFLAGS) - -@BUILD_TK_TRUE@libACE_TkReactor_la_LIBADD = \ -@BUILD_TK_TRUE@ libACE.la \ -@BUILD_TK_TRUE@ $(ACE_TK_LIBS) \ -@BUILD_TK_TRUE@ $(ACE_TCL_LIBS) - -@BUILD_X11_TRUE@@BUILD_XT_TRUE@libACE_XtReactor_la_CPPFLAGS = \ -@BUILD_X11_TRUE@@BUILD_XT_TRUE@ -I$(ACE_ROOT) \ -@BUILD_X11_TRUE@@BUILD_XT_TRUE@ -I$(ACE_BUILDDIR) \ -@BUILD_X11_TRUE@@BUILD_XT_TRUE@ $(ACE_X11_CPPFLAGS) \ -@BUILD_X11_TRUE@@BUILD_XT_TRUE@ $(ACE_XT_CPPFLAGS) \ -@BUILD_X11_TRUE@@BUILD_XT_TRUE@ -DACE_XTREACTOR_BUILD_DLL - -@BUILD_X11_TRUE@@BUILD_XT_TRUE@libACE_XtReactor_la_SOURCES = \ -@BUILD_X11_TRUE@@BUILD_XT_TRUE@ XtReactor/XtReactor.cpp - -@BUILD_X11_TRUE@@BUILD_XT_TRUE@libACE_XtReactor_la_LDFLAGS = \ -@BUILD_X11_TRUE@@BUILD_XT_TRUE@ -release @ACE_VERSION_NAME@ $(ACE_X11_LDFLAGS) $(ACE_XT_LDFLAGS) - -@BUILD_X11_TRUE@@BUILD_XT_TRUE@libACE_XtReactor_la_LIBADD = \ -@BUILD_X11_TRUE@@BUILD_XT_TRUE@ libACE.la \ -@BUILD_X11_TRUE@@BUILD_XT_TRUE@ $(ACE_XT_LIBS) \ -@BUILD_X11_TRUE@@BUILD_XT_TRUE@ $(ACE_X11_LIBS) - -all: $(BUILT_SOURCES) config.h - $(MAKE) $(AM_MAKEFLAGS) all-recursive - -.SUFFIXES: -.SUFFIXES: .c .cpp .lo .o .obj -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign ace/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign ace/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): - -config.h: stamp-h1 - @if test ! -f $@; then \ - rm -f stamp-h1; \ - $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ - else :; fi - -stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status - @rm -f stamp-h1 - cd $(top_builddir) && $(SHELL) ./config.status ace/config.h -$(srcdir)/config.h.in: $(am__configure_deps) - ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) - rm -f stamp-h1 - touch $@ - -distclean-hdr: - -rm -f config.h stamp-h1 -install-libLTLIBRARIES: $(lib_LTLIBRARIES) - @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" - @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ - list2=; for p in $$list; do \ - if test -f $$p; then \ - list2="$$list2 $$p"; \ - else :; fi; \ - done; \ - test -z "$$list2" || { \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ - } - -uninstall-libLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ - for p in $$list; do \ - $(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ - done - -clean-libLTLIBRARIES: - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ - test "$$dir" != "$$p" || dir=.; \ - echo "rm -f \"$${dir}/so_locations\""; \ - rm -f "$${dir}/so_locations"; \ - done -libACE.la: $(libACE_la_OBJECTS) $(libACE_la_DEPENDENCIES) - $(libACE_la_LINK) $(am_libACE_la_rpath) $(libACE_la_OBJECTS) $(libACE_la_LIBADD) $(LIBS) -libACE_FlReactor.la: $(libACE_FlReactor_la_OBJECTS) $(libACE_FlReactor_la_DEPENDENCIES) - $(libACE_FlReactor_la_LINK) $(am_libACE_FlReactor_la_rpath) $(libACE_FlReactor_la_OBJECTS) $(libACE_FlReactor_la_LIBADD) $(LIBS) -libACE_QtReactor.la: $(libACE_QtReactor_la_OBJECTS) $(libACE_QtReactor_la_DEPENDENCIES) - $(libACE_QtReactor_la_LINK) $(am_libACE_QtReactor_la_rpath) $(libACE_QtReactor_la_OBJECTS) $(libACE_QtReactor_la_LIBADD) $(LIBS) -libACE_TkReactor.la: $(libACE_TkReactor_la_OBJECTS) $(libACE_TkReactor_la_DEPENDENCIES) - $(libACE_TkReactor_la_LINK) $(am_libACE_TkReactor_la_rpath) $(libACE_TkReactor_la_OBJECTS) $(libACE_TkReactor_la_LIBADD) $(LIBS) -libACE_XtReactor.la: $(libACE_XtReactor_la_OBJECTS) $(libACE_XtReactor_la_DEPENDENCIES) - $(libACE_XtReactor_la_LINK) $(am_libACE_XtReactor_la_rpath) $(libACE_XtReactor_la_OBJECTS) $(libACE_XtReactor_la_LIBADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_FlReactor_la-FlReactor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_QtReactor_la-QtReactor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_QtReactor_la-QtReactor_moc.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_TkReactor_la-TkReactor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_XtReactor_la-XtReactor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-ACE.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-ACE_crc32.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-ACE_crc_ccitt.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-ATM_Acceptor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-ATM_Addr.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-ATM_Connector.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-ATM_Params.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-ATM_QoS.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-ATM_Stream.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Activation_Queue.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Active_Map_Manager.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Addr.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Argv_Type_Converter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Assert.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Asynch_IO.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Asynch_IO_Impl.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Asynch_Pseudo_Task.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Atomic_Op.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Atomic_Op_Sparc.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Auto_Event.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Barrier.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Base_Thread_Adapter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Based_Pointer_Repository.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Basic_Stats.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Basic_Types.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-CDR_Base.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-CDR_Size.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-CDR_Stream.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Capabilities.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Cleanup.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Codecs.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Codeset_IBM1047.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Codeset_Registry.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Codeset_Registry_db.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Condition_Recursive_Thread_Mutex.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Condition_Thread_Mutex.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Configuration.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Configuration_Import_Export.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Connection_Recycling_Strategy.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Containers.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Copy_Disabled.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Countdown_Time.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-DEV.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-DEV_Addr.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-DEV_Connector.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-DEV_IO.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-DLL.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-DLL_Manager.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Date_Time.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Dev_Poll_Reactor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Dirent.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Dirent_Selector.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Dump.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Dynamic.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Dynamic_Message_Strategy.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Dynamic_Service_Base.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Dynamic_Service_Dependency.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Encoding_Converter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Encoding_Converter_Factory.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Event.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Event_Handler.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-FIFO.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-FIFO_Recv.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-FIFO_Recv_Msg.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-FIFO_Send.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-FIFO_Send_Msg.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-FILE.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-FILE_Addr.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-FILE_Connector.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-FILE_IO.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-File_Lock.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Filecache.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Flag_Manip.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Framework_Component.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Functor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Functor_String.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Get_Opt.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Handle_Ops.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Handle_Set.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Hashable.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-High_Res_Timer.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-ICMP_Socket.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-INET_Addr.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-IOStream.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-IO_Cntl_Msg.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-IO_SAP.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-IPC_SAP.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Init_ACE.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-LSOCK.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-LSOCK_Acceptor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-LSOCK_CODgram.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-LSOCK_Connector.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-LSOCK_Dgram.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-LSOCK_Stream.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Lib_Find.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Local_Memory_Pool.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Local_Name_Space.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Local_Tokens.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Lock.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Log_Msg.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Log_Msg_Backend.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Log_Msg_Callback.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Log_Msg_IPC.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Log_Msg_NT_Event_Log.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Log_Msg_UNIX_Syslog.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Log_Record.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Logging_Strategy.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-MEM_Acceptor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-MEM_Addr.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-MEM_Connector.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-MEM_IO.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-MEM_SAP.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-MEM_Stream.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-MMAP_Memory_Pool.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Malloc.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Malloc_Allocator.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Manual_Event.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Mem_Map.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Message_Block.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Message_Queue.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Message_Queue_NT.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Message_Queue_Vx.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Method_Request.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Monitor_Admin.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Monitor_Admin_Manager.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Monitor_Base.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Monitor_Control_Action.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Monitor_Control_Types.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Monitor_Point_Registry.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Monitor_Size.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Msg_WFMO_Reactor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Multihomed_INET_Addr.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Mutex.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-NT_Service.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Name_Proxy.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Name_Request_Reply.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Name_Space.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Naming_Context.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Netlink_Addr.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Notification_Queue.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Notification_Strategy.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_Errno.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_Log_Msg_Attributes.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_Thread.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_arpa_inet.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_ctype.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_dirent.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_dlfcn.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_errno.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_fcntl.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_math.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_netdb.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_poll.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_pwd.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_regex.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_signal.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_stdio.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_stdlib.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_string.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_strings.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_stropts.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_sys_mman.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_sys_msg.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_sys_resource.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_sys_select.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_sys_sendfile.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_sys_shm.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_sys_socket.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_sys_stat.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_sys_time.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_sys_uio.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_sys_utsname.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_sys_wait.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_time.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_unistd.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_wchar.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_NS_wctype.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_QoS.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_TLI.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_Thread_Adapter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-OS_main.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Obchunk.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Object_Manager.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Object_Manager_Base.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-PI_Malloc.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-POSIX_Asynch_IO.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-POSIX_CB_Proactor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-POSIX_Proactor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Pagefile_Memory_Pool.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Parse_Node.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Ping_Socket.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Pipe.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Priority_Reactor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Proactor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Proactor_Impl.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Process.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Process_Manager.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Process_Mutex.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Process_Semaphore.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Profile_Timer.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-RW_Mutex.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-RW_Process_Mutex.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-RW_Thread_Mutex.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Reactor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Reactor_Impl.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Reactor_Notification_Strategy.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Reactor_Timer_Interface.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Read_Buffer.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Recursive_Thread_Mutex.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Recyclable.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Registry.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Registry_Name_Space.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Remote_Name_Space.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Remote_Tokens.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Rtems_init.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SOCK.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SOCK_Acceptor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SOCK_CODgram.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SOCK_Connector.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SOCK_Dgram.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SOCK_Dgram_Bcast.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SOCK_Dgram_Mcast.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SOCK_IO.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SOCK_Netlink.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SOCK_SEQPACK_Acceptor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SOCK_SEQPACK_Association.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SOCK_SEQPACK_Connector.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SOCK_Stream.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SPIPE.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SPIPE_Acceptor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SPIPE_Addr.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SPIPE_Connector.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SPIPE_Stream.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SString.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SUN_Proactor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SV_Message.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SV_Message_Queue.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SV_Semaphore_Complex.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SV_Semaphore_Simple.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-SV_Shared_Memory.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Sample_History.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Sbrk_Memory_Pool.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Sched_Params.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Select_Reactor_Base.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Semaphore.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Service_Config.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Service_Gestalt.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Service_Manager.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Service_Object.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Service_Repository.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Service_Types.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Shared_Memory.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Shared_Memory_MM.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Shared_Memory_Pool.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Shared_Memory_SV.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Shared_Object.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Sig_Adapter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Sig_Handler.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Signal.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Sock_Connect.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Stack_Trace.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Stats.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-String_Base_Const.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Svc_Conf_Lexer.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Svc_Conf_y.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Synch_Options.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-System_Time.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-TLI.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-TLI_Acceptor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-TLI_Connector.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-TLI_Stream.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-TP_Reactor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-TSS_Adapter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-TTY_IO.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Task.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Thread.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Thread_Adapter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Thread_Control.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Thread_Exit.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Thread_Hook.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Thread_Manager.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Thread_Mutex.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Thread_Semaphore.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Throughput_Stats.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Time_Value.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Timeprobe.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Token.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Token_Collection.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Token_Invariants.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Token_Manager.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Token_Request_Reply.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-Trace.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-UNIX_Addr.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-UPIPE_Acceptor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-UPIPE_Connector.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-UPIPE_Stream.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-UTF16_Encoding_Converter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-UTF32_Encoding_Converter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-UTF8_Encoding_Converter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-UUID.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-WFMO_Reactor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-WIN32_Asynch_IO.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-WIN32_Proactor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-XML_Svc_Conf.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-XTI_ATM_Mcast.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-ace_wchar.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_la-gethrtime.Plo@am__quote@ - -.c.o: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c $< - -.c.obj: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` - -.c.lo: -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< - -libACE_la-Atomic_Op_Sparc.lo: Atomic_Op_Sparc.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libACE_la-Atomic_Op_Sparc.lo -MD -MP -MF $(DEPDIR)/libACE_la-Atomic_Op_Sparc.Tpo -c -o libACE_la-Atomic_Op_Sparc.lo `test -f 'Atomic_Op_Sparc.c' || echo '$(srcdir)/'`Atomic_Op_Sparc.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Atomic_Op_Sparc.Tpo $(DEPDIR)/libACE_la-Atomic_Op_Sparc.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='Atomic_Op_Sparc.c' object='libACE_la-Atomic_Op_Sparc.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libACE_la-Atomic_Op_Sparc.lo `test -f 'Atomic_Op_Sparc.c' || echo '$(srcdir)/'`Atomic_Op_Sparc.c - -libACE_la-Rtems_init.lo: Rtems_init.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libACE_la-Rtems_init.lo -MD -MP -MF $(DEPDIR)/libACE_la-Rtems_init.Tpo -c -o libACE_la-Rtems_init.lo `test -f 'Rtems_init.c' || echo '$(srcdir)/'`Rtems_init.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Rtems_init.Tpo $(DEPDIR)/libACE_la-Rtems_init.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='Rtems_init.c' object='libACE_la-Rtems_init.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libACE_la-Rtems_init.lo `test -f 'Rtems_init.c' || echo '$(srcdir)/'`Rtems_init.c - -.cpp.o: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< - -.cpp.obj: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.cpp.lo: -@am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< - -libACE_la-ACE.lo: ACE.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-ACE.lo -MD -MP -MF $(DEPDIR)/libACE_la-ACE.Tpo -c -o libACE_la-ACE.lo `test -f 'ACE.cpp' || echo '$(srcdir)/'`ACE.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-ACE.Tpo $(DEPDIR)/libACE_la-ACE.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ACE.cpp' object='libACE_la-ACE.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-ACE.lo `test -f 'ACE.cpp' || echo '$(srcdir)/'`ACE.cpp - -libACE_la-ACE_crc32.lo: ACE_crc32.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-ACE_crc32.lo -MD -MP -MF $(DEPDIR)/libACE_la-ACE_crc32.Tpo -c -o libACE_la-ACE_crc32.lo `test -f 'ACE_crc32.cpp' || echo '$(srcdir)/'`ACE_crc32.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-ACE_crc32.Tpo $(DEPDIR)/libACE_la-ACE_crc32.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ACE_crc32.cpp' object='libACE_la-ACE_crc32.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-ACE_crc32.lo `test -f 'ACE_crc32.cpp' || echo '$(srcdir)/'`ACE_crc32.cpp - -libACE_la-ACE_crc_ccitt.lo: ACE_crc_ccitt.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-ACE_crc_ccitt.lo -MD -MP -MF $(DEPDIR)/libACE_la-ACE_crc_ccitt.Tpo -c -o libACE_la-ACE_crc_ccitt.lo `test -f 'ACE_crc_ccitt.cpp' || echo '$(srcdir)/'`ACE_crc_ccitt.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-ACE_crc_ccitt.Tpo $(DEPDIR)/libACE_la-ACE_crc_ccitt.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ACE_crc_ccitt.cpp' object='libACE_la-ACE_crc_ccitt.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-ACE_crc_ccitt.lo `test -f 'ACE_crc_ccitt.cpp' || echo '$(srcdir)/'`ACE_crc_ccitt.cpp - -libACE_la-ATM_Acceptor.lo: ATM_Acceptor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-ATM_Acceptor.lo -MD -MP -MF $(DEPDIR)/libACE_la-ATM_Acceptor.Tpo -c -o libACE_la-ATM_Acceptor.lo `test -f 'ATM_Acceptor.cpp' || echo '$(srcdir)/'`ATM_Acceptor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-ATM_Acceptor.Tpo $(DEPDIR)/libACE_la-ATM_Acceptor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ATM_Acceptor.cpp' object='libACE_la-ATM_Acceptor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-ATM_Acceptor.lo `test -f 'ATM_Acceptor.cpp' || echo '$(srcdir)/'`ATM_Acceptor.cpp - -libACE_la-ATM_Addr.lo: ATM_Addr.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-ATM_Addr.lo -MD -MP -MF $(DEPDIR)/libACE_la-ATM_Addr.Tpo -c -o libACE_la-ATM_Addr.lo `test -f 'ATM_Addr.cpp' || echo '$(srcdir)/'`ATM_Addr.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-ATM_Addr.Tpo $(DEPDIR)/libACE_la-ATM_Addr.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ATM_Addr.cpp' object='libACE_la-ATM_Addr.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-ATM_Addr.lo `test -f 'ATM_Addr.cpp' || echo '$(srcdir)/'`ATM_Addr.cpp - -libACE_la-ATM_Connector.lo: ATM_Connector.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-ATM_Connector.lo -MD -MP -MF $(DEPDIR)/libACE_la-ATM_Connector.Tpo -c -o libACE_la-ATM_Connector.lo `test -f 'ATM_Connector.cpp' || echo '$(srcdir)/'`ATM_Connector.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-ATM_Connector.Tpo $(DEPDIR)/libACE_la-ATM_Connector.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ATM_Connector.cpp' object='libACE_la-ATM_Connector.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-ATM_Connector.lo `test -f 'ATM_Connector.cpp' || echo '$(srcdir)/'`ATM_Connector.cpp - -libACE_la-ATM_Params.lo: ATM_Params.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-ATM_Params.lo -MD -MP -MF $(DEPDIR)/libACE_la-ATM_Params.Tpo -c -o libACE_la-ATM_Params.lo `test -f 'ATM_Params.cpp' || echo '$(srcdir)/'`ATM_Params.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-ATM_Params.Tpo $(DEPDIR)/libACE_la-ATM_Params.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ATM_Params.cpp' object='libACE_la-ATM_Params.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-ATM_Params.lo `test -f 'ATM_Params.cpp' || echo '$(srcdir)/'`ATM_Params.cpp - -libACE_la-ATM_QoS.lo: ATM_QoS.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-ATM_QoS.lo -MD -MP -MF $(DEPDIR)/libACE_la-ATM_QoS.Tpo -c -o libACE_la-ATM_QoS.lo `test -f 'ATM_QoS.cpp' || echo '$(srcdir)/'`ATM_QoS.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-ATM_QoS.Tpo $(DEPDIR)/libACE_la-ATM_QoS.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ATM_QoS.cpp' object='libACE_la-ATM_QoS.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-ATM_QoS.lo `test -f 'ATM_QoS.cpp' || echo '$(srcdir)/'`ATM_QoS.cpp - -libACE_la-ATM_Stream.lo: ATM_Stream.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-ATM_Stream.lo -MD -MP -MF $(DEPDIR)/libACE_la-ATM_Stream.Tpo -c -o libACE_la-ATM_Stream.lo `test -f 'ATM_Stream.cpp' || echo '$(srcdir)/'`ATM_Stream.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-ATM_Stream.Tpo $(DEPDIR)/libACE_la-ATM_Stream.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ATM_Stream.cpp' object='libACE_la-ATM_Stream.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-ATM_Stream.lo `test -f 'ATM_Stream.cpp' || echo '$(srcdir)/'`ATM_Stream.cpp - -libACE_la-Activation_Queue.lo: Activation_Queue.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Activation_Queue.lo -MD -MP -MF $(DEPDIR)/libACE_la-Activation_Queue.Tpo -c -o libACE_la-Activation_Queue.lo `test -f 'Activation_Queue.cpp' || echo '$(srcdir)/'`Activation_Queue.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Activation_Queue.Tpo $(DEPDIR)/libACE_la-Activation_Queue.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Activation_Queue.cpp' object='libACE_la-Activation_Queue.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Activation_Queue.lo `test -f 'Activation_Queue.cpp' || echo '$(srcdir)/'`Activation_Queue.cpp - -libACE_la-Active_Map_Manager.lo: Active_Map_Manager.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Active_Map_Manager.lo -MD -MP -MF $(DEPDIR)/libACE_la-Active_Map_Manager.Tpo -c -o libACE_la-Active_Map_Manager.lo `test -f 'Active_Map_Manager.cpp' || echo '$(srcdir)/'`Active_Map_Manager.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Active_Map_Manager.Tpo $(DEPDIR)/libACE_la-Active_Map_Manager.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Active_Map_Manager.cpp' object='libACE_la-Active_Map_Manager.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Active_Map_Manager.lo `test -f 'Active_Map_Manager.cpp' || echo '$(srcdir)/'`Active_Map_Manager.cpp - -libACE_la-Addr.lo: Addr.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Addr.lo -MD -MP -MF $(DEPDIR)/libACE_la-Addr.Tpo -c -o libACE_la-Addr.lo `test -f 'Addr.cpp' || echo '$(srcdir)/'`Addr.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Addr.Tpo $(DEPDIR)/libACE_la-Addr.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Addr.cpp' object='libACE_la-Addr.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Addr.lo `test -f 'Addr.cpp' || echo '$(srcdir)/'`Addr.cpp - -libACE_la-Argv_Type_Converter.lo: Argv_Type_Converter.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Argv_Type_Converter.lo -MD -MP -MF $(DEPDIR)/libACE_la-Argv_Type_Converter.Tpo -c -o libACE_la-Argv_Type_Converter.lo `test -f 'Argv_Type_Converter.cpp' || echo '$(srcdir)/'`Argv_Type_Converter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Argv_Type_Converter.Tpo $(DEPDIR)/libACE_la-Argv_Type_Converter.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Argv_Type_Converter.cpp' object='libACE_la-Argv_Type_Converter.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Argv_Type_Converter.lo `test -f 'Argv_Type_Converter.cpp' || echo '$(srcdir)/'`Argv_Type_Converter.cpp - -libACE_la-Assert.lo: Assert.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Assert.lo -MD -MP -MF $(DEPDIR)/libACE_la-Assert.Tpo -c -o libACE_la-Assert.lo `test -f 'Assert.cpp' || echo '$(srcdir)/'`Assert.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Assert.Tpo $(DEPDIR)/libACE_la-Assert.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Assert.cpp' object='libACE_la-Assert.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Assert.lo `test -f 'Assert.cpp' || echo '$(srcdir)/'`Assert.cpp - -libACE_la-Asynch_IO.lo: Asynch_IO.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Asynch_IO.lo -MD -MP -MF $(DEPDIR)/libACE_la-Asynch_IO.Tpo -c -o libACE_la-Asynch_IO.lo `test -f 'Asynch_IO.cpp' || echo '$(srcdir)/'`Asynch_IO.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Asynch_IO.Tpo $(DEPDIR)/libACE_la-Asynch_IO.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Asynch_IO.cpp' object='libACE_la-Asynch_IO.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Asynch_IO.lo `test -f 'Asynch_IO.cpp' || echo '$(srcdir)/'`Asynch_IO.cpp - -libACE_la-Asynch_IO_Impl.lo: Asynch_IO_Impl.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Asynch_IO_Impl.lo -MD -MP -MF $(DEPDIR)/libACE_la-Asynch_IO_Impl.Tpo -c -o libACE_la-Asynch_IO_Impl.lo `test -f 'Asynch_IO_Impl.cpp' || echo '$(srcdir)/'`Asynch_IO_Impl.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Asynch_IO_Impl.Tpo $(DEPDIR)/libACE_la-Asynch_IO_Impl.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Asynch_IO_Impl.cpp' object='libACE_la-Asynch_IO_Impl.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Asynch_IO_Impl.lo `test -f 'Asynch_IO_Impl.cpp' || echo '$(srcdir)/'`Asynch_IO_Impl.cpp - -libACE_la-Asynch_Pseudo_Task.lo: Asynch_Pseudo_Task.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Asynch_Pseudo_Task.lo -MD -MP -MF $(DEPDIR)/libACE_la-Asynch_Pseudo_Task.Tpo -c -o libACE_la-Asynch_Pseudo_Task.lo `test -f 'Asynch_Pseudo_Task.cpp' || echo '$(srcdir)/'`Asynch_Pseudo_Task.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Asynch_Pseudo_Task.Tpo $(DEPDIR)/libACE_la-Asynch_Pseudo_Task.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Asynch_Pseudo_Task.cpp' object='libACE_la-Asynch_Pseudo_Task.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Asynch_Pseudo_Task.lo `test -f 'Asynch_Pseudo_Task.cpp' || echo '$(srcdir)/'`Asynch_Pseudo_Task.cpp - -libACE_la-Atomic_Op.lo: Atomic_Op.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Atomic_Op.lo -MD -MP -MF $(DEPDIR)/libACE_la-Atomic_Op.Tpo -c -o libACE_la-Atomic_Op.lo `test -f 'Atomic_Op.cpp' || echo '$(srcdir)/'`Atomic_Op.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Atomic_Op.Tpo $(DEPDIR)/libACE_la-Atomic_Op.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Atomic_Op.cpp' object='libACE_la-Atomic_Op.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Atomic_Op.lo `test -f 'Atomic_Op.cpp' || echo '$(srcdir)/'`Atomic_Op.cpp - -libACE_la-Auto_Event.lo: Auto_Event.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Auto_Event.lo -MD -MP -MF $(DEPDIR)/libACE_la-Auto_Event.Tpo -c -o libACE_la-Auto_Event.lo `test -f 'Auto_Event.cpp' || echo '$(srcdir)/'`Auto_Event.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Auto_Event.Tpo $(DEPDIR)/libACE_la-Auto_Event.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Auto_Event.cpp' object='libACE_la-Auto_Event.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Auto_Event.lo `test -f 'Auto_Event.cpp' || echo '$(srcdir)/'`Auto_Event.cpp - -libACE_la-Barrier.lo: Barrier.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Barrier.lo -MD -MP -MF $(DEPDIR)/libACE_la-Barrier.Tpo -c -o libACE_la-Barrier.lo `test -f 'Barrier.cpp' || echo '$(srcdir)/'`Barrier.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Barrier.Tpo $(DEPDIR)/libACE_la-Barrier.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Barrier.cpp' object='libACE_la-Barrier.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Barrier.lo `test -f 'Barrier.cpp' || echo '$(srcdir)/'`Barrier.cpp - -libACE_la-Base_Thread_Adapter.lo: Base_Thread_Adapter.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Base_Thread_Adapter.lo -MD -MP -MF $(DEPDIR)/libACE_la-Base_Thread_Adapter.Tpo -c -o libACE_la-Base_Thread_Adapter.lo `test -f 'Base_Thread_Adapter.cpp' || echo '$(srcdir)/'`Base_Thread_Adapter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Base_Thread_Adapter.Tpo $(DEPDIR)/libACE_la-Base_Thread_Adapter.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Base_Thread_Adapter.cpp' object='libACE_la-Base_Thread_Adapter.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Base_Thread_Adapter.lo `test -f 'Base_Thread_Adapter.cpp' || echo '$(srcdir)/'`Base_Thread_Adapter.cpp - -libACE_la-Based_Pointer_Repository.lo: Based_Pointer_Repository.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Based_Pointer_Repository.lo -MD -MP -MF $(DEPDIR)/libACE_la-Based_Pointer_Repository.Tpo -c -o libACE_la-Based_Pointer_Repository.lo `test -f 'Based_Pointer_Repository.cpp' || echo '$(srcdir)/'`Based_Pointer_Repository.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Based_Pointer_Repository.Tpo $(DEPDIR)/libACE_la-Based_Pointer_Repository.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Based_Pointer_Repository.cpp' object='libACE_la-Based_Pointer_Repository.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Based_Pointer_Repository.lo `test -f 'Based_Pointer_Repository.cpp' || echo '$(srcdir)/'`Based_Pointer_Repository.cpp - -libACE_la-Basic_Stats.lo: Basic_Stats.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Basic_Stats.lo -MD -MP -MF $(DEPDIR)/libACE_la-Basic_Stats.Tpo -c -o libACE_la-Basic_Stats.lo `test -f 'Basic_Stats.cpp' || echo '$(srcdir)/'`Basic_Stats.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Basic_Stats.Tpo $(DEPDIR)/libACE_la-Basic_Stats.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Basic_Stats.cpp' object='libACE_la-Basic_Stats.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Basic_Stats.lo `test -f 'Basic_Stats.cpp' || echo '$(srcdir)/'`Basic_Stats.cpp - -libACE_la-Basic_Types.lo: Basic_Types.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Basic_Types.lo -MD -MP -MF $(DEPDIR)/libACE_la-Basic_Types.Tpo -c -o libACE_la-Basic_Types.lo `test -f 'Basic_Types.cpp' || echo '$(srcdir)/'`Basic_Types.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Basic_Types.Tpo $(DEPDIR)/libACE_la-Basic_Types.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Basic_Types.cpp' object='libACE_la-Basic_Types.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Basic_Types.lo `test -f 'Basic_Types.cpp' || echo '$(srcdir)/'`Basic_Types.cpp - -libACE_la-CDR_Base.lo: CDR_Base.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-CDR_Base.lo -MD -MP -MF $(DEPDIR)/libACE_la-CDR_Base.Tpo -c -o libACE_la-CDR_Base.lo `test -f 'CDR_Base.cpp' || echo '$(srcdir)/'`CDR_Base.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-CDR_Base.Tpo $(DEPDIR)/libACE_la-CDR_Base.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='CDR_Base.cpp' object='libACE_la-CDR_Base.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-CDR_Base.lo `test -f 'CDR_Base.cpp' || echo '$(srcdir)/'`CDR_Base.cpp - -libACE_la-CDR_Size.lo: CDR_Size.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-CDR_Size.lo -MD -MP -MF $(DEPDIR)/libACE_la-CDR_Size.Tpo -c -o libACE_la-CDR_Size.lo `test -f 'CDR_Size.cpp' || echo '$(srcdir)/'`CDR_Size.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-CDR_Size.Tpo $(DEPDIR)/libACE_la-CDR_Size.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='CDR_Size.cpp' object='libACE_la-CDR_Size.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-CDR_Size.lo `test -f 'CDR_Size.cpp' || echo '$(srcdir)/'`CDR_Size.cpp - -libACE_la-CDR_Stream.lo: CDR_Stream.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-CDR_Stream.lo -MD -MP -MF $(DEPDIR)/libACE_la-CDR_Stream.Tpo -c -o libACE_la-CDR_Stream.lo `test -f 'CDR_Stream.cpp' || echo '$(srcdir)/'`CDR_Stream.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-CDR_Stream.Tpo $(DEPDIR)/libACE_la-CDR_Stream.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='CDR_Stream.cpp' object='libACE_la-CDR_Stream.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-CDR_Stream.lo `test -f 'CDR_Stream.cpp' || echo '$(srcdir)/'`CDR_Stream.cpp - -libACE_la-Capabilities.lo: Capabilities.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Capabilities.lo -MD -MP -MF $(DEPDIR)/libACE_la-Capabilities.Tpo -c -o libACE_la-Capabilities.lo `test -f 'Capabilities.cpp' || echo '$(srcdir)/'`Capabilities.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Capabilities.Tpo $(DEPDIR)/libACE_la-Capabilities.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Capabilities.cpp' object='libACE_la-Capabilities.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Capabilities.lo `test -f 'Capabilities.cpp' || echo '$(srcdir)/'`Capabilities.cpp - -libACE_la-Cleanup.lo: Cleanup.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Cleanup.lo -MD -MP -MF $(DEPDIR)/libACE_la-Cleanup.Tpo -c -o libACE_la-Cleanup.lo `test -f 'Cleanup.cpp' || echo '$(srcdir)/'`Cleanup.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Cleanup.Tpo $(DEPDIR)/libACE_la-Cleanup.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Cleanup.cpp' object='libACE_la-Cleanup.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Cleanup.lo `test -f 'Cleanup.cpp' || echo '$(srcdir)/'`Cleanup.cpp - -libACE_la-Codecs.lo: Codecs.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Codecs.lo -MD -MP -MF $(DEPDIR)/libACE_la-Codecs.Tpo -c -o libACE_la-Codecs.lo `test -f 'Codecs.cpp' || echo '$(srcdir)/'`Codecs.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Codecs.Tpo $(DEPDIR)/libACE_la-Codecs.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Codecs.cpp' object='libACE_la-Codecs.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Codecs.lo `test -f 'Codecs.cpp' || echo '$(srcdir)/'`Codecs.cpp - -libACE_la-Codeset_IBM1047.lo: Codeset_IBM1047.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Codeset_IBM1047.lo -MD -MP -MF $(DEPDIR)/libACE_la-Codeset_IBM1047.Tpo -c -o libACE_la-Codeset_IBM1047.lo `test -f 'Codeset_IBM1047.cpp' || echo '$(srcdir)/'`Codeset_IBM1047.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Codeset_IBM1047.Tpo $(DEPDIR)/libACE_la-Codeset_IBM1047.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Codeset_IBM1047.cpp' object='libACE_la-Codeset_IBM1047.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Codeset_IBM1047.lo `test -f 'Codeset_IBM1047.cpp' || echo '$(srcdir)/'`Codeset_IBM1047.cpp - -libACE_la-Codeset_Registry.lo: Codeset_Registry.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Codeset_Registry.lo -MD -MP -MF $(DEPDIR)/libACE_la-Codeset_Registry.Tpo -c -o libACE_la-Codeset_Registry.lo `test -f 'Codeset_Registry.cpp' || echo '$(srcdir)/'`Codeset_Registry.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Codeset_Registry.Tpo $(DEPDIR)/libACE_la-Codeset_Registry.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Codeset_Registry.cpp' object='libACE_la-Codeset_Registry.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Codeset_Registry.lo `test -f 'Codeset_Registry.cpp' || echo '$(srcdir)/'`Codeset_Registry.cpp - -libACE_la-Codeset_Registry_db.lo: Codeset_Registry_db.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Codeset_Registry_db.lo -MD -MP -MF $(DEPDIR)/libACE_la-Codeset_Registry_db.Tpo -c -o libACE_la-Codeset_Registry_db.lo `test -f 'Codeset_Registry_db.cpp' || echo '$(srcdir)/'`Codeset_Registry_db.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Codeset_Registry_db.Tpo $(DEPDIR)/libACE_la-Codeset_Registry_db.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Codeset_Registry_db.cpp' object='libACE_la-Codeset_Registry_db.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Codeset_Registry_db.lo `test -f 'Codeset_Registry_db.cpp' || echo '$(srcdir)/'`Codeset_Registry_db.cpp - -libACE_la-Condition_Recursive_Thread_Mutex.lo: Condition_Recursive_Thread_Mutex.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Condition_Recursive_Thread_Mutex.lo -MD -MP -MF $(DEPDIR)/libACE_la-Condition_Recursive_Thread_Mutex.Tpo -c -o libACE_la-Condition_Recursive_Thread_Mutex.lo `test -f 'Condition_Recursive_Thread_Mutex.cpp' || echo '$(srcdir)/'`Condition_Recursive_Thread_Mutex.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Condition_Recursive_Thread_Mutex.Tpo $(DEPDIR)/libACE_la-Condition_Recursive_Thread_Mutex.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Condition_Recursive_Thread_Mutex.cpp' object='libACE_la-Condition_Recursive_Thread_Mutex.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Condition_Recursive_Thread_Mutex.lo `test -f 'Condition_Recursive_Thread_Mutex.cpp' || echo '$(srcdir)/'`Condition_Recursive_Thread_Mutex.cpp - -libACE_la-Condition_Thread_Mutex.lo: Condition_Thread_Mutex.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Condition_Thread_Mutex.lo -MD -MP -MF $(DEPDIR)/libACE_la-Condition_Thread_Mutex.Tpo -c -o libACE_la-Condition_Thread_Mutex.lo `test -f 'Condition_Thread_Mutex.cpp' || echo '$(srcdir)/'`Condition_Thread_Mutex.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Condition_Thread_Mutex.Tpo $(DEPDIR)/libACE_la-Condition_Thread_Mutex.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Condition_Thread_Mutex.cpp' object='libACE_la-Condition_Thread_Mutex.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Condition_Thread_Mutex.lo `test -f 'Condition_Thread_Mutex.cpp' || echo '$(srcdir)/'`Condition_Thread_Mutex.cpp - -libACE_la-Configuration.lo: Configuration.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Configuration.lo -MD -MP -MF $(DEPDIR)/libACE_la-Configuration.Tpo -c -o libACE_la-Configuration.lo `test -f 'Configuration.cpp' || echo '$(srcdir)/'`Configuration.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Configuration.Tpo $(DEPDIR)/libACE_la-Configuration.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Configuration.cpp' object='libACE_la-Configuration.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Configuration.lo `test -f 'Configuration.cpp' || echo '$(srcdir)/'`Configuration.cpp - -libACE_la-Configuration_Import_Export.lo: Configuration_Import_Export.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Configuration_Import_Export.lo -MD -MP -MF $(DEPDIR)/libACE_la-Configuration_Import_Export.Tpo -c -o libACE_la-Configuration_Import_Export.lo `test -f 'Configuration_Import_Export.cpp' || echo '$(srcdir)/'`Configuration_Import_Export.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Configuration_Import_Export.Tpo $(DEPDIR)/libACE_la-Configuration_Import_Export.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Configuration_Import_Export.cpp' object='libACE_la-Configuration_Import_Export.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Configuration_Import_Export.lo `test -f 'Configuration_Import_Export.cpp' || echo '$(srcdir)/'`Configuration_Import_Export.cpp - -libACE_la-Connection_Recycling_Strategy.lo: Connection_Recycling_Strategy.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Connection_Recycling_Strategy.lo -MD -MP -MF $(DEPDIR)/libACE_la-Connection_Recycling_Strategy.Tpo -c -o libACE_la-Connection_Recycling_Strategy.lo `test -f 'Connection_Recycling_Strategy.cpp' || echo '$(srcdir)/'`Connection_Recycling_Strategy.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Connection_Recycling_Strategy.Tpo $(DEPDIR)/libACE_la-Connection_Recycling_Strategy.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Connection_Recycling_Strategy.cpp' object='libACE_la-Connection_Recycling_Strategy.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Connection_Recycling_Strategy.lo `test -f 'Connection_Recycling_Strategy.cpp' || echo '$(srcdir)/'`Connection_Recycling_Strategy.cpp - -libACE_la-Containers.lo: Containers.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Containers.lo -MD -MP -MF $(DEPDIR)/libACE_la-Containers.Tpo -c -o libACE_la-Containers.lo `test -f 'Containers.cpp' || echo '$(srcdir)/'`Containers.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Containers.Tpo $(DEPDIR)/libACE_la-Containers.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Containers.cpp' object='libACE_la-Containers.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Containers.lo `test -f 'Containers.cpp' || echo '$(srcdir)/'`Containers.cpp - -libACE_la-Copy_Disabled.lo: Copy_Disabled.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Copy_Disabled.lo -MD -MP -MF $(DEPDIR)/libACE_la-Copy_Disabled.Tpo -c -o libACE_la-Copy_Disabled.lo `test -f 'Copy_Disabled.cpp' || echo '$(srcdir)/'`Copy_Disabled.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Copy_Disabled.Tpo $(DEPDIR)/libACE_la-Copy_Disabled.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Copy_Disabled.cpp' object='libACE_la-Copy_Disabled.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Copy_Disabled.lo `test -f 'Copy_Disabled.cpp' || echo '$(srcdir)/'`Copy_Disabled.cpp - -libACE_la-Countdown_Time.lo: Countdown_Time.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Countdown_Time.lo -MD -MP -MF $(DEPDIR)/libACE_la-Countdown_Time.Tpo -c -o libACE_la-Countdown_Time.lo `test -f 'Countdown_Time.cpp' || echo '$(srcdir)/'`Countdown_Time.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Countdown_Time.Tpo $(DEPDIR)/libACE_la-Countdown_Time.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Countdown_Time.cpp' object='libACE_la-Countdown_Time.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Countdown_Time.lo `test -f 'Countdown_Time.cpp' || echo '$(srcdir)/'`Countdown_Time.cpp - -libACE_la-DEV.lo: DEV.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-DEV.lo -MD -MP -MF $(DEPDIR)/libACE_la-DEV.Tpo -c -o libACE_la-DEV.lo `test -f 'DEV.cpp' || echo '$(srcdir)/'`DEV.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-DEV.Tpo $(DEPDIR)/libACE_la-DEV.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='DEV.cpp' object='libACE_la-DEV.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-DEV.lo `test -f 'DEV.cpp' || echo '$(srcdir)/'`DEV.cpp - -libACE_la-DEV_Addr.lo: DEV_Addr.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-DEV_Addr.lo -MD -MP -MF $(DEPDIR)/libACE_la-DEV_Addr.Tpo -c -o libACE_la-DEV_Addr.lo `test -f 'DEV_Addr.cpp' || echo '$(srcdir)/'`DEV_Addr.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-DEV_Addr.Tpo $(DEPDIR)/libACE_la-DEV_Addr.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='DEV_Addr.cpp' object='libACE_la-DEV_Addr.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-DEV_Addr.lo `test -f 'DEV_Addr.cpp' || echo '$(srcdir)/'`DEV_Addr.cpp - -libACE_la-DEV_Connector.lo: DEV_Connector.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-DEV_Connector.lo -MD -MP -MF $(DEPDIR)/libACE_la-DEV_Connector.Tpo -c -o libACE_la-DEV_Connector.lo `test -f 'DEV_Connector.cpp' || echo '$(srcdir)/'`DEV_Connector.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-DEV_Connector.Tpo $(DEPDIR)/libACE_la-DEV_Connector.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='DEV_Connector.cpp' object='libACE_la-DEV_Connector.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-DEV_Connector.lo `test -f 'DEV_Connector.cpp' || echo '$(srcdir)/'`DEV_Connector.cpp - -libACE_la-DEV_IO.lo: DEV_IO.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-DEV_IO.lo -MD -MP -MF $(DEPDIR)/libACE_la-DEV_IO.Tpo -c -o libACE_la-DEV_IO.lo `test -f 'DEV_IO.cpp' || echo '$(srcdir)/'`DEV_IO.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-DEV_IO.Tpo $(DEPDIR)/libACE_la-DEV_IO.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='DEV_IO.cpp' object='libACE_la-DEV_IO.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-DEV_IO.lo `test -f 'DEV_IO.cpp' || echo '$(srcdir)/'`DEV_IO.cpp - -libACE_la-DLL.lo: DLL.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-DLL.lo -MD -MP -MF $(DEPDIR)/libACE_la-DLL.Tpo -c -o libACE_la-DLL.lo `test -f 'DLL.cpp' || echo '$(srcdir)/'`DLL.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-DLL.Tpo $(DEPDIR)/libACE_la-DLL.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='DLL.cpp' object='libACE_la-DLL.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-DLL.lo `test -f 'DLL.cpp' || echo '$(srcdir)/'`DLL.cpp - -libACE_la-DLL_Manager.lo: DLL_Manager.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-DLL_Manager.lo -MD -MP -MF $(DEPDIR)/libACE_la-DLL_Manager.Tpo -c -o libACE_la-DLL_Manager.lo `test -f 'DLL_Manager.cpp' || echo '$(srcdir)/'`DLL_Manager.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-DLL_Manager.Tpo $(DEPDIR)/libACE_la-DLL_Manager.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='DLL_Manager.cpp' object='libACE_la-DLL_Manager.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-DLL_Manager.lo `test -f 'DLL_Manager.cpp' || echo '$(srcdir)/'`DLL_Manager.cpp - -libACE_la-Date_Time.lo: Date_Time.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Date_Time.lo -MD -MP -MF $(DEPDIR)/libACE_la-Date_Time.Tpo -c -o libACE_la-Date_Time.lo `test -f 'Date_Time.cpp' || echo '$(srcdir)/'`Date_Time.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Date_Time.Tpo $(DEPDIR)/libACE_la-Date_Time.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Date_Time.cpp' object='libACE_la-Date_Time.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Date_Time.lo `test -f 'Date_Time.cpp' || echo '$(srcdir)/'`Date_Time.cpp - -libACE_la-Dev_Poll_Reactor.lo: Dev_Poll_Reactor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Dev_Poll_Reactor.lo -MD -MP -MF $(DEPDIR)/libACE_la-Dev_Poll_Reactor.Tpo -c -o libACE_la-Dev_Poll_Reactor.lo `test -f 'Dev_Poll_Reactor.cpp' || echo '$(srcdir)/'`Dev_Poll_Reactor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Dev_Poll_Reactor.Tpo $(DEPDIR)/libACE_la-Dev_Poll_Reactor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Dev_Poll_Reactor.cpp' object='libACE_la-Dev_Poll_Reactor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Dev_Poll_Reactor.lo `test -f 'Dev_Poll_Reactor.cpp' || echo '$(srcdir)/'`Dev_Poll_Reactor.cpp - -libACE_la-Dirent.lo: Dirent.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Dirent.lo -MD -MP -MF $(DEPDIR)/libACE_la-Dirent.Tpo -c -o libACE_la-Dirent.lo `test -f 'Dirent.cpp' || echo '$(srcdir)/'`Dirent.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Dirent.Tpo $(DEPDIR)/libACE_la-Dirent.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Dirent.cpp' object='libACE_la-Dirent.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Dirent.lo `test -f 'Dirent.cpp' || echo '$(srcdir)/'`Dirent.cpp - -libACE_la-Dirent_Selector.lo: Dirent_Selector.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Dirent_Selector.lo -MD -MP -MF $(DEPDIR)/libACE_la-Dirent_Selector.Tpo -c -o libACE_la-Dirent_Selector.lo `test -f 'Dirent_Selector.cpp' || echo '$(srcdir)/'`Dirent_Selector.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Dirent_Selector.Tpo $(DEPDIR)/libACE_la-Dirent_Selector.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Dirent_Selector.cpp' object='libACE_la-Dirent_Selector.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Dirent_Selector.lo `test -f 'Dirent_Selector.cpp' || echo '$(srcdir)/'`Dirent_Selector.cpp - -libACE_la-Dump.lo: Dump.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Dump.lo -MD -MP -MF $(DEPDIR)/libACE_la-Dump.Tpo -c -o libACE_la-Dump.lo `test -f 'Dump.cpp' || echo '$(srcdir)/'`Dump.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Dump.Tpo $(DEPDIR)/libACE_la-Dump.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Dump.cpp' object='libACE_la-Dump.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Dump.lo `test -f 'Dump.cpp' || echo '$(srcdir)/'`Dump.cpp - -libACE_la-Dynamic.lo: Dynamic.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Dynamic.lo -MD -MP -MF $(DEPDIR)/libACE_la-Dynamic.Tpo -c -o libACE_la-Dynamic.lo `test -f 'Dynamic.cpp' || echo '$(srcdir)/'`Dynamic.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Dynamic.Tpo $(DEPDIR)/libACE_la-Dynamic.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Dynamic.cpp' object='libACE_la-Dynamic.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Dynamic.lo `test -f 'Dynamic.cpp' || echo '$(srcdir)/'`Dynamic.cpp - -libACE_la-Dynamic_Message_Strategy.lo: Dynamic_Message_Strategy.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Dynamic_Message_Strategy.lo -MD -MP -MF $(DEPDIR)/libACE_la-Dynamic_Message_Strategy.Tpo -c -o libACE_la-Dynamic_Message_Strategy.lo `test -f 'Dynamic_Message_Strategy.cpp' || echo '$(srcdir)/'`Dynamic_Message_Strategy.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Dynamic_Message_Strategy.Tpo $(DEPDIR)/libACE_la-Dynamic_Message_Strategy.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Dynamic_Message_Strategy.cpp' object='libACE_la-Dynamic_Message_Strategy.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Dynamic_Message_Strategy.lo `test -f 'Dynamic_Message_Strategy.cpp' || echo '$(srcdir)/'`Dynamic_Message_Strategy.cpp - -libACE_la-Dynamic_Service_Base.lo: Dynamic_Service_Base.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Dynamic_Service_Base.lo -MD -MP -MF $(DEPDIR)/libACE_la-Dynamic_Service_Base.Tpo -c -o libACE_la-Dynamic_Service_Base.lo `test -f 'Dynamic_Service_Base.cpp' || echo '$(srcdir)/'`Dynamic_Service_Base.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Dynamic_Service_Base.Tpo $(DEPDIR)/libACE_la-Dynamic_Service_Base.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Dynamic_Service_Base.cpp' object='libACE_la-Dynamic_Service_Base.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Dynamic_Service_Base.lo `test -f 'Dynamic_Service_Base.cpp' || echo '$(srcdir)/'`Dynamic_Service_Base.cpp - -libACE_la-Dynamic_Service_Dependency.lo: Dynamic_Service_Dependency.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Dynamic_Service_Dependency.lo -MD -MP -MF $(DEPDIR)/libACE_la-Dynamic_Service_Dependency.Tpo -c -o libACE_la-Dynamic_Service_Dependency.lo `test -f 'Dynamic_Service_Dependency.cpp' || echo '$(srcdir)/'`Dynamic_Service_Dependency.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Dynamic_Service_Dependency.Tpo $(DEPDIR)/libACE_la-Dynamic_Service_Dependency.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Dynamic_Service_Dependency.cpp' object='libACE_la-Dynamic_Service_Dependency.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Dynamic_Service_Dependency.lo `test -f 'Dynamic_Service_Dependency.cpp' || echo '$(srcdir)/'`Dynamic_Service_Dependency.cpp - -libACE_la-Encoding_Converter.lo: Encoding_Converter.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Encoding_Converter.lo -MD -MP -MF $(DEPDIR)/libACE_la-Encoding_Converter.Tpo -c -o libACE_la-Encoding_Converter.lo `test -f 'Encoding_Converter.cpp' || echo '$(srcdir)/'`Encoding_Converter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Encoding_Converter.Tpo $(DEPDIR)/libACE_la-Encoding_Converter.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Encoding_Converter.cpp' object='libACE_la-Encoding_Converter.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Encoding_Converter.lo `test -f 'Encoding_Converter.cpp' || echo '$(srcdir)/'`Encoding_Converter.cpp - -libACE_la-Encoding_Converter_Factory.lo: Encoding_Converter_Factory.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Encoding_Converter_Factory.lo -MD -MP -MF $(DEPDIR)/libACE_la-Encoding_Converter_Factory.Tpo -c -o libACE_la-Encoding_Converter_Factory.lo `test -f 'Encoding_Converter_Factory.cpp' || echo '$(srcdir)/'`Encoding_Converter_Factory.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Encoding_Converter_Factory.Tpo $(DEPDIR)/libACE_la-Encoding_Converter_Factory.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Encoding_Converter_Factory.cpp' object='libACE_la-Encoding_Converter_Factory.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Encoding_Converter_Factory.lo `test -f 'Encoding_Converter_Factory.cpp' || echo '$(srcdir)/'`Encoding_Converter_Factory.cpp - -libACE_la-Event.lo: Event.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Event.lo -MD -MP -MF $(DEPDIR)/libACE_la-Event.Tpo -c -o libACE_la-Event.lo `test -f 'Event.cpp' || echo '$(srcdir)/'`Event.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Event.Tpo $(DEPDIR)/libACE_la-Event.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Event.cpp' object='libACE_la-Event.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Event.lo `test -f 'Event.cpp' || echo '$(srcdir)/'`Event.cpp - -libACE_la-Event_Handler.lo: Event_Handler.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Event_Handler.lo -MD -MP -MF $(DEPDIR)/libACE_la-Event_Handler.Tpo -c -o libACE_la-Event_Handler.lo `test -f 'Event_Handler.cpp' || echo '$(srcdir)/'`Event_Handler.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Event_Handler.Tpo $(DEPDIR)/libACE_la-Event_Handler.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Event_Handler.cpp' object='libACE_la-Event_Handler.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Event_Handler.lo `test -f 'Event_Handler.cpp' || echo '$(srcdir)/'`Event_Handler.cpp - -libACE_la-FIFO.lo: FIFO.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-FIFO.lo -MD -MP -MF $(DEPDIR)/libACE_la-FIFO.Tpo -c -o libACE_la-FIFO.lo `test -f 'FIFO.cpp' || echo '$(srcdir)/'`FIFO.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-FIFO.Tpo $(DEPDIR)/libACE_la-FIFO.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='FIFO.cpp' object='libACE_la-FIFO.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-FIFO.lo `test -f 'FIFO.cpp' || echo '$(srcdir)/'`FIFO.cpp - -libACE_la-FIFO_Recv.lo: FIFO_Recv.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-FIFO_Recv.lo -MD -MP -MF $(DEPDIR)/libACE_la-FIFO_Recv.Tpo -c -o libACE_la-FIFO_Recv.lo `test -f 'FIFO_Recv.cpp' || echo '$(srcdir)/'`FIFO_Recv.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-FIFO_Recv.Tpo $(DEPDIR)/libACE_la-FIFO_Recv.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='FIFO_Recv.cpp' object='libACE_la-FIFO_Recv.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-FIFO_Recv.lo `test -f 'FIFO_Recv.cpp' || echo '$(srcdir)/'`FIFO_Recv.cpp - -libACE_la-FIFO_Recv_Msg.lo: FIFO_Recv_Msg.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-FIFO_Recv_Msg.lo -MD -MP -MF $(DEPDIR)/libACE_la-FIFO_Recv_Msg.Tpo -c -o libACE_la-FIFO_Recv_Msg.lo `test -f 'FIFO_Recv_Msg.cpp' || echo '$(srcdir)/'`FIFO_Recv_Msg.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-FIFO_Recv_Msg.Tpo $(DEPDIR)/libACE_la-FIFO_Recv_Msg.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='FIFO_Recv_Msg.cpp' object='libACE_la-FIFO_Recv_Msg.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-FIFO_Recv_Msg.lo `test -f 'FIFO_Recv_Msg.cpp' || echo '$(srcdir)/'`FIFO_Recv_Msg.cpp - -libACE_la-FIFO_Send.lo: FIFO_Send.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-FIFO_Send.lo -MD -MP -MF $(DEPDIR)/libACE_la-FIFO_Send.Tpo -c -o libACE_la-FIFO_Send.lo `test -f 'FIFO_Send.cpp' || echo '$(srcdir)/'`FIFO_Send.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-FIFO_Send.Tpo $(DEPDIR)/libACE_la-FIFO_Send.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='FIFO_Send.cpp' object='libACE_la-FIFO_Send.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-FIFO_Send.lo `test -f 'FIFO_Send.cpp' || echo '$(srcdir)/'`FIFO_Send.cpp - -libACE_la-FIFO_Send_Msg.lo: FIFO_Send_Msg.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-FIFO_Send_Msg.lo -MD -MP -MF $(DEPDIR)/libACE_la-FIFO_Send_Msg.Tpo -c -o libACE_la-FIFO_Send_Msg.lo `test -f 'FIFO_Send_Msg.cpp' || echo '$(srcdir)/'`FIFO_Send_Msg.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-FIFO_Send_Msg.Tpo $(DEPDIR)/libACE_la-FIFO_Send_Msg.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='FIFO_Send_Msg.cpp' object='libACE_la-FIFO_Send_Msg.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-FIFO_Send_Msg.lo `test -f 'FIFO_Send_Msg.cpp' || echo '$(srcdir)/'`FIFO_Send_Msg.cpp - -libACE_la-FILE.lo: FILE.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-FILE.lo -MD -MP -MF $(DEPDIR)/libACE_la-FILE.Tpo -c -o libACE_la-FILE.lo `test -f 'FILE.cpp' || echo '$(srcdir)/'`FILE.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-FILE.Tpo $(DEPDIR)/libACE_la-FILE.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='FILE.cpp' object='libACE_la-FILE.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-FILE.lo `test -f 'FILE.cpp' || echo '$(srcdir)/'`FILE.cpp - -libACE_la-FILE_Addr.lo: FILE_Addr.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-FILE_Addr.lo -MD -MP -MF $(DEPDIR)/libACE_la-FILE_Addr.Tpo -c -o libACE_la-FILE_Addr.lo `test -f 'FILE_Addr.cpp' || echo '$(srcdir)/'`FILE_Addr.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-FILE_Addr.Tpo $(DEPDIR)/libACE_la-FILE_Addr.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='FILE_Addr.cpp' object='libACE_la-FILE_Addr.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-FILE_Addr.lo `test -f 'FILE_Addr.cpp' || echo '$(srcdir)/'`FILE_Addr.cpp - -libACE_la-FILE_Connector.lo: FILE_Connector.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-FILE_Connector.lo -MD -MP -MF $(DEPDIR)/libACE_la-FILE_Connector.Tpo -c -o libACE_la-FILE_Connector.lo `test -f 'FILE_Connector.cpp' || echo '$(srcdir)/'`FILE_Connector.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-FILE_Connector.Tpo $(DEPDIR)/libACE_la-FILE_Connector.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='FILE_Connector.cpp' object='libACE_la-FILE_Connector.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-FILE_Connector.lo `test -f 'FILE_Connector.cpp' || echo '$(srcdir)/'`FILE_Connector.cpp - -libACE_la-FILE_IO.lo: FILE_IO.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-FILE_IO.lo -MD -MP -MF $(DEPDIR)/libACE_la-FILE_IO.Tpo -c -o libACE_la-FILE_IO.lo `test -f 'FILE_IO.cpp' || echo '$(srcdir)/'`FILE_IO.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-FILE_IO.Tpo $(DEPDIR)/libACE_la-FILE_IO.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='FILE_IO.cpp' object='libACE_la-FILE_IO.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-FILE_IO.lo `test -f 'FILE_IO.cpp' || echo '$(srcdir)/'`FILE_IO.cpp - -libACE_la-File_Lock.lo: File_Lock.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-File_Lock.lo -MD -MP -MF $(DEPDIR)/libACE_la-File_Lock.Tpo -c -o libACE_la-File_Lock.lo `test -f 'File_Lock.cpp' || echo '$(srcdir)/'`File_Lock.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-File_Lock.Tpo $(DEPDIR)/libACE_la-File_Lock.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='File_Lock.cpp' object='libACE_la-File_Lock.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-File_Lock.lo `test -f 'File_Lock.cpp' || echo '$(srcdir)/'`File_Lock.cpp - -libACE_la-Filecache.lo: Filecache.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Filecache.lo -MD -MP -MF $(DEPDIR)/libACE_la-Filecache.Tpo -c -o libACE_la-Filecache.lo `test -f 'Filecache.cpp' || echo '$(srcdir)/'`Filecache.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Filecache.Tpo $(DEPDIR)/libACE_la-Filecache.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Filecache.cpp' object='libACE_la-Filecache.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Filecache.lo `test -f 'Filecache.cpp' || echo '$(srcdir)/'`Filecache.cpp - -libACE_la-Flag_Manip.lo: Flag_Manip.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Flag_Manip.lo -MD -MP -MF $(DEPDIR)/libACE_la-Flag_Manip.Tpo -c -o libACE_la-Flag_Manip.lo `test -f 'Flag_Manip.cpp' || echo '$(srcdir)/'`Flag_Manip.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Flag_Manip.Tpo $(DEPDIR)/libACE_la-Flag_Manip.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Flag_Manip.cpp' object='libACE_la-Flag_Manip.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Flag_Manip.lo `test -f 'Flag_Manip.cpp' || echo '$(srcdir)/'`Flag_Manip.cpp - -libACE_la-Framework_Component.lo: Framework_Component.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Framework_Component.lo -MD -MP -MF $(DEPDIR)/libACE_la-Framework_Component.Tpo -c -o libACE_la-Framework_Component.lo `test -f 'Framework_Component.cpp' || echo '$(srcdir)/'`Framework_Component.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Framework_Component.Tpo $(DEPDIR)/libACE_la-Framework_Component.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Framework_Component.cpp' object='libACE_la-Framework_Component.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Framework_Component.lo `test -f 'Framework_Component.cpp' || echo '$(srcdir)/'`Framework_Component.cpp - -libACE_la-Functor.lo: Functor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Functor.lo -MD -MP -MF $(DEPDIR)/libACE_la-Functor.Tpo -c -o libACE_la-Functor.lo `test -f 'Functor.cpp' || echo '$(srcdir)/'`Functor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Functor.Tpo $(DEPDIR)/libACE_la-Functor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Functor.cpp' object='libACE_la-Functor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Functor.lo `test -f 'Functor.cpp' || echo '$(srcdir)/'`Functor.cpp - -libACE_la-Functor_String.lo: Functor_String.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Functor_String.lo -MD -MP -MF $(DEPDIR)/libACE_la-Functor_String.Tpo -c -o libACE_la-Functor_String.lo `test -f 'Functor_String.cpp' || echo '$(srcdir)/'`Functor_String.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Functor_String.Tpo $(DEPDIR)/libACE_la-Functor_String.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Functor_String.cpp' object='libACE_la-Functor_String.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Functor_String.lo `test -f 'Functor_String.cpp' || echo '$(srcdir)/'`Functor_String.cpp - -libACE_la-Get_Opt.lo: Get_Opt.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Get_Opt.lo -MD -MP -MF $(DEPDIR)/libACE_la-Get_Opt.Tpo -c -o libACE_la-Get_Opt.lo `test -f 'Get_Opt.cpp' || echo '$(srcdir)/'`Get_Opt.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Get_Opt.Tpo $(DEPDIR)/libACE_la-Get_Opt.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Get_Opt.cpp' object='libACE_la-Get_Opt.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Get_Opt.lo `test -f 'Get_Opt.cpp' || echo '$(srcdir)/'`Get_Opt.cpp - -libACE_la-Handle_Ops.lo: Handle_Ops.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Handle_Ops.lo -MD -MP -MF $(DEPDIR)/libACE_la-Handle_Ops.Tpo -c -o libACE_la-Handle_Ops.lo `test -f 'Handle_Ops.cpp' || echo '$(srcdir)/'`Handle_Ops.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Handle_Ops.Tpo $(DEPDIR)/libACE_la-Handle_Ops.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Handle_Ops.cpp' object='libACE_la-Handle_Ops.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Handle_Ops.lo `test -f 'Handle_Ops.cpp' || echo '$(srcdir)/'`Handle_Ops.cpp - -libACE_la-Handle_Set.lo: Handle_Set.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Handle_Set.lo -MD -MP -MF $(DEPDIR)/libACE_la-Handle_Set.Tpo -c -o libACE_la-Handle_Set.lo `test -f 'Handle_Set.cpp' || echo '$(srcdir)/'`Handle_Set.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Handle_Set.Tpo $(DEPDIR)/libACE_la-Handle_Set.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Handle_Set.cpp' object='libACE_la-Handle_Set.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Handle_Set.lo `test -f 'Handle_Set.cpp' || echo '$(srcdir)/'`Handle_Set.cpp - -libACE_la-Hashable.lo: Hashable.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Hashable.lo -MD -MP -MF $(DEPDIR)/libACE_la-Hashable.Tpo -c -o libACE_la-Hashable.lo `test -f 'Hashable.cpp' || echo '$(srcdir)/'`Hashable.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Hashable.Tpo $(DEPDIR)/libACE_la-Hashable.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Hashable.cpp' object='libACE_la-Hashable.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Hashable.lo `test -f 'Hashable.cpp' || echo '$(srcdir)/'`Hashable.cpp - -libACE_la-High_Res_Timer.lo: High_Res_Timer.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-High_Res_Timer.lo -MD -MP -MF $(DEPDIR)/libACE_la-High_Res_Timer.Tpo -c -o libACE_la-High_Res_Timer.lo `test -f 'High_Res_Timer.cpp' || echo '$(srcdir)/'`High_Res_Timer.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-High_Res_Timer.Tpo $(DEPDIR)/libACE_la-High_Res_Timer.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='High_Res_Timer.cpp' object='libACE_la-High_Res_Timer.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-High_Res_Timer.lo `test -f 'High_Res_Timer.cpp' || echo '$(srcdir)/'`High_Res_Timer.cpp - -libACE_la-ICMP_Socket.lo: ICMP_Socket.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-ICMP_Socket.lo -MD -MP -MF $(DEPDIR)/libACE_la-ICMP_Socket.Tpo -c -o libACE_la-ICMP_Socket.lo `test -f 'ICMP_Socket.cpp' || echo '$(srcdir)/'`ICMP_Socket.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-ICMP_Socket.Tpo $(DEPDIR)/libACE_la-ICMP_Socket.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ICMP_Socket.cpp' object='libACE_la-ICMP_Socket.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-ICMP_Socket.lo `test -f 'ICMP_Socket.cpp' || echo '$(srcdir)/'`ICMP_Socket.cpp - -libACE_la-INET_Addr.lo: INET_Addr.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-INET_Addr.lo -MD -MP -MF $(DEPDIR)/libACE_la-INET_Addr.Tpo -c -o libACE_la-INET_Addr.lo `test -f 'INET_Addr.cpp' || echo '$(srcdir)/'`INET_Addr.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-INET_Addr.Tpo $(DEPDIR)/libACE_la-INET_Addr.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='INET_Addr.cpp' object='libACE_la-INET_Addr.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-INET_Addr.lo `test -f 'INET_Addr.cpp' || echo '$(srcdir)/'`INET_Addr.cpp - -libACE_la-IOStream.lo: IOStream.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-IOStream.lo -MD -MP -MF $(DEPDIR)/libACE_la-IOStream.Tpo -c -o libACE_la-IOStream.lo `test -f 'IOStream.cpp' || echo '$(srcdir)/'`IOStream.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-IOStream.Tpo $(DEPDIR)/libACE_la-IOStream.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='IOStream.cpp' object='libACE_la-IOStream.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-IOStream.lo `test -f 'IOStream.cpp' || echo '$(srcdir)/'`IOStream.cpp - -libACE_la-IO_Cntl_Msg.lo: IO_Cntl_Msg.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-IO_Cntl_Msg.lo -MD -MP -MF $(DEPDIR)/libACE_la-IO_Cntl_Msg.Tpo -c -o libACE_la-IO_Cntl_Msg.lo `test -f 'IO_Cntl_Msg.cpp' || echo '$(srcdir)/'`IO_Cntl_Msg.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-IO_Cntl_Msg.Tpo $(DEPDIR)/libACE_la-IO_Cntl_Msg.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='IO_Cntl_Msg.cpp' object='libACE_la-IO_Cntl_Msg.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-IO_Cntl_Msg.lo `test -f 'IO_Cntl_Msg.cpp' || echo '$(srcdir)/'`IO_Cntl_Msg.cpp - -libACE_la-IO_SAP.lo: IO_SAP.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-IO_SAP.lo -MD -MP -MF $(DEPDIR)/libACE_la-IO_SAP.Tpo -c -o libACE_la-IO_SAP.lo `test -f 'IO_SAP.cpp' || echo '$(srcdir)/'`IO_SAP.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-IO_SAP.Tpo $(DEPDIR)/libACE_la-IO_SAP.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='IO_SAP.cpp' object='libACE_la-IO_SAP.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-IO_SAP.lo `test -f 'IO_SAP.cpp' || echo '$(srcdir)/'`IO_SAP.cpp - -libACE_la-IPC_SAP.lo: IPC_SAP.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-IPC_SAP.lo -MD -MP -MF $(DEPDIR)/libACE_la-IPC_SAP.Tpo -c -o libACE_la-IPC_SAP.lo `test -f 'IPC_SAP.cpp' || echo '$(srcdir)/'`IPC_SAP.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-IPC_SAP.Tpo $(DEPDIR)/libACE_la-IPC_SAP.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='IPC_SAP.cpp' object='libACE_la-IPC_SAP.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-IPC_SAP.lo `test -f 'IPC_SAP.cpp' || echo '$(srcdir)/'`IPC_SAP.cpp - -libACE_la-Init_ACE.lo: Init_ACE.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Init_ACE.lo -MD -MP -MF $(DEPDIR)/libACE_la-Init_ACE.Tpo -c -o libACE_la-Init_ACE.lo `test -f 'Init_ACE.cpp' || echo '$(srcdir)/'`Init_ACE.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Init_ACE.Tpo $(DEPDIR)/libACE_la-Init_ACE.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Init_ACE.cpp' object='libACE_la-Init_ACE.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Init_ACE.lo `test -f 'Init_ACE.cpp' || echo '$(srcdir)/'`Init_ACE.cpp - -libACE_la-LSOCK.lo: LSOCK.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-LSOCK.lo -MD -MP -MF $(DEPDIR)/libACE_la-LSOCK.Tpo -c -o libACE_la-LSOCK.lo `test -f 'LSOCK.cpp' || echo '$(srcdir)/'`LSOCK.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-LSOCK.Tpo $(DEPDIR)/libACE_la-LSOCK.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='LSOCK.cpp' object='libACE_la-LSOCK.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-LSOCK.lo `test -f 'LSOCK.cpp' || echo '$(srcdir)/'`LSOCK.cpp - -libACE_la-LSOCK_Acceptor.lo: LSOCK_Acceptor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-LSOCK_Acceptor.lo -MD -MP -MF $(DEPDIR)/libACE_la-LSOCK_Acceptor.Tpo -c -o libACE_la-LSOCK_Acceptor.lo `test -f 'LSOCK_Acceptor.cpp' || echo '$(srcdir)/'`LSOCK_Acceptor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-LSOCK_Acceptor.Tpo $(DEPDIR)/libACE_la-LSOCK_Acceptor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='LSOCK_Acceptor.cpp' object='libACE_la-LSOCK_Acceptor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-LSOCK_Acceptor.lo `test -f 'LSOCK_Acceptor.cpp' || echo '$(srcdir)/'`LSOCK_Acceptor.cpp - -libACE_la-LSOCK_CODgram.lo: LSOCK_CODgram.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-LSOCK_CODgram.lo -MD -MP -MF $(DEPDIR)/libACE_la-LSOCK_CODgram.Tpo -c -o libACE_la-LSOCK_CODgram.lo `test -f 'LSOCK_CODgram.cpp' || echo '$(srcdir)/'`LSOCK_CODgram.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-LSOCK_CODgram.Tpo $(DEPDIR)/libACE_la-LSOCK_CODgram.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='LSOCK_CODgram.cpp' object='libACE_la-LSOCK_CODgram.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-LSOCK_CODgram.lo `test -f 'LSOCK_CODgram.cpp' || echo '$(srcdir)/'`LSOCK_CODgram.cpp - -libACE_la-LSOCK_Connector.lo: LSOCK_Connector.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-LSOCK_Connector.lo -MD -MP -MF $(DEPDIR)/libACE_la-LSOCK_Connector.Tpo -c -o libACE_la-LSOCK_Connector.lo `test -f 'LSOCK_Connector.cpp' || echo '$(srcdir)/'`LSOCK_Connector.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-LSOCK_Connector.Tpo $(DEPDIR)/libACE_la-LSOCK_Connector.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='LSOCK_Connector.cpp' object='libACE_la-LSOCK_Connector.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-LSOCK_Connector.lo `test -f 'LSOCK_Connector.cpp' || echo '$(srcdir)/'`LSOCK_Connector.cpp - -libACE_la-LSOCK_Dgram.lo: LSOCK_Dgram.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-LSOCK_Dgram.lo -MD -MP -MF $(DEPDIR)/libACE_la-LSOCK_Dgram.Tpo -c -o libACE_la-LSOCK_Dgram.lo `test -f 'LSOCK_Dgram.cpp' || echo '$(srcdir)/'`LSOCK_Dgram.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-LSOCK_Dgram.Tpo $(DEPDIR)/libACE_la-LSOCK_Dgram.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='LSOCK_Dgram.cpp' object='libACE_la-LSOCK_Dgram.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-LSOCK_Dgram.lo `test -f 'LSOCK_Dgram.cpp' || echo '$(srcdir)/'`LSOCK_Dgram.cpp - -libACE_la-LSOCK_Stream.lo: LSOCK_Stream.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-LSOCK_Stream.lo -MD -MP -MF $(DEPDIR)/libACE_la-LSOCK_Stream.Tpo -c -o libACE_la-LSOCK_Stream.lo `test -f 'LSOCK_Stream.cpp' || echo '$(srcdir)/'`LSOCK_Stream.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-LSOCK_Stream.Tpo $(DEPDIR)/libACE_la-LSOCK_Stream.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='LSOCK_Stream.cpp' object='libACE_la-LSOCK_Stream.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-LSOCK_Stream.lo `test -f 'LSOCK_Stream.cpp' || echo '$(srcdir)/'`LSOCK_Stream.cpp - -libACE_la-Lib_Find.lo: Lib_Find.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Lib_Find.lo -MD -MP -MF $(DEPDIR)/libACE_la-Lib_Find.Tpo -c -o libACE_la-Lib_Find.lo `test -f 'Lib_Find.cpp' || echo '$(srcdir)/'`Lib_Find.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Lib_Find.Tpo $(DEPDIR)/libACE_la-Lib_Find.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Lib_Find.cpp' object='libACE_la-Lib_Find.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Lib_Find.lo `test -f 'Lib_Find.cpp' || echo '$(srcdir)/'`Lib_Find.cpp - -libACE_la-Local_Memory_Pool.lo: Local_Memory_Pool.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Local_Memory_Pool.lo -MD -MP -MF $(DEPDIR)/libACE_la-Local_Memory_Pool.Tpo -c -o libACE_la-Local_Memory_Pool.lo `test -f 'Local_Memory_Pool.cpp' || echo '$(srcdir)/'`Local_Memory_Pool.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Local_Memory_Pool.Tpo $(DEPDIR)/libACE_la-Local_Memory_Pool.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Local_Memory_Pool.cpp' object='libACE_la-Local_Memory_Pool.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Local_Memory_Pool.lo `test -f 'Local_Memory_Pool.cpp' || echo '$(srcdir)/'`Local_Memory_Pool.cpp - -libACE_la-Local_Name_Space.lo: Local_Name_Space.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Local_Name_Space.lo -MD -MP -MF $(DEPDIR)/libACE_la-Local_Name_Space.Tpo -c -o libACE_la-Local_Name_Space.lo `test -f 'Local_Name_Space.cpp' || echo '$(srcdir)/'`Local_Name_Space.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Local_Name_Space.Tpo $(DEPDIR)/libACE_la-Local_Name_Space.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Local_Name_Space.cpp' object='libACE_la-Local_Name_Space.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Local_Name_Space.lo `test -f 'Local_Name_Space.cpp' || echo '$(srcdir)/'`Local_Name_Space.cpp - -libACE_la-Local_Tokens.lo: Local_Tokens.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Local_Tokens.lo -MD -MP -MF $(DEPDIR)/libACE_la-Local_Tokens.Tpo -c -o libACE_la-Local_Tokens.lo `test -f 'Local_Tokens.cpp' || echo '$(srcdir)/'`Local_Tokens.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Local_Tokens.Tpo $(DEPDIR)/libACE_la-Local_Tokens.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Local_Tokens.cpp' object='libACE_la-Local_Tokens.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Local_Tokens.lo `test -f 'Local_Tokens.cpp' || echo '$(srcdir)/'`Local_Tokens.cpp - -libACE_la-Lock.lo: Lock.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Lock.lo -MD -MP -MF $(DEPDIR)/libACE_la-Lock.Tpo -c -o libACE_la-Lock.lo `test -f 'Lock.cpp' || echo '$(srcdir)/'`Lock.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Lock.Tpo $(DEPDIR)/libACE_la-Lock.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Lock.cpp' object='libACE_la-Lock.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Lock.lo `test -f 'Lock.cpp' || echo '$(srcdir)/'`Lock.cpp - -libACE_la-Log_Msg.lo: Log_Msg.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Log_Msg.lo -MD -MP -MF $(DEPDIR)/libACE_la-Log_Msg.Tpo -c -o libACE_la-Log_Msg.lo `test -f 'Log_Msg.cpp' || echo '$(srcdir)/'`Log_Msg.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Log_Msg.Tpo $(DEPDIR)/libACE_la-Log_Msg.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Log_Msg.cpp' object='libACE_la-Log_Msg.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Log_Msg.lo `test -f 'Log_Msg.cpp' || echo '$(srcdir)/'`Log_Msg.cpp - -libACE_la-Log_Msg_Backend.lo: Log_Msg_Backend.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Log_Msg_Backend.lo -MD -MP -MF $(DEPDIR)/libACE_la-Log_Msg_Backend.Tpo -c -o libACE_la-Log_Msg_Backend.lo `test -f 'Log_Msg_Backend.cpp' || echo '$(srcdir)/'`Log_Msg_Backend.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Log_Msg_Backend.Tpo $(DEPDIR)/libACE_la-Log_Msg_Backend.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Log_Msg_Backend.cpp' object='libACE_la-Log_Msg_Backend.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Log_Msg_Backend.lo `test -f 'Log_Msg_Backend.cpp' || echo '$(srcdir)/'`Log_Msg_Backend.cpp - -libACE_la-Log_Msg_Callback.lo: Log_Msg_Callback.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Log_Msg_Callback.lo -MD -MP -MF $(DEPDIR)/libACE_la-Log_Msg_Callback.Tpo -c -o libACE_la-Log_Msg_Callback.lo `test -f 'Log_Msg_Callback.cpp' || echo '$(srcdir)/'`Log_Msg_Callback.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Log_Msg_Callback.Tpo $(DEPDIR)/libACE_la-Log_Msg_Callback.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Log_Msg_Callback.cpp' object='libACE_la-Log_Msg_Callback.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Log_Msg_Callback.lo `test -f 'Log_Msg_Callback.cpp' || echo '$(srcdir)/'`Log_Msg_Callback.cpp - -libACE_la-Log_Msg_IPC.lo: Log_Msg_IPC.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Log_Msg_IPC.lo -MD -MP -MF $(DEPDIR)/libACE_la-Log_Msg_IPC.Tpo -c -o libACE_la-Log_Msg_IPC.lo `test -f 'Log_Msg_IPC.cpp' || echo '$(srcdir)/'`Log_Msg_IPC.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Log_Msg_IPC.Tpo $(DEPDIR)/libACE_la-Log_Msg_IPC.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Log_Msg_IPC.cpp' object='libACE_la-Log_Msg_IPC.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Log_Msg_IPC.lo `test -f 'Log_Msg_IPC.cpp' || echo '$(srcdir)/'`Log_Msg_IPC.cpp - -libACE_la-Log_Msg_NT_Event_Log.lo: Log_Msg_NT_Event_Log.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Log_Msg_NT_Event_Log.lo -MD -MP -MF $(DEPDIR)/libACE_la-Log_Msg_NT_Event_Log.Tpo -c -o libACE_la-Log_Msg_NT_Event_Log.lo `test -f 'Log_Msg_NT_Event_Log.cpp' || echo '$(srcdir)/'`Log_Msg_NT_Event_Log.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Log_Msg_NT_Event_Log.Tpo $(DEPDIR)/libACE_la-Log_Msg_NT_Event_Log.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Log_Msg_NT_Event_Log.cpp' object='libACE_la-Log_Msg_NT_Event_Log.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Log_Msg_NT_Event_Log.lo `test -f 'Log_Msg_NT_Event_Log.cpp' || echo '$(srcdir)/'`Log_Msg_NT_Event_Log.cpp - -libACE_la-Log_Msg_UNIX_Syslog.lo: Log_Msg_UNIX_Syslog.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Log_Msg_UNIX_Syslog.lo -MD -MP -MF $(DEPDIR)/libACE_la-Log_Msg_UNIX_Syslog.Tpo -c -o libACE_la-Log_Msg_UNIX_Syslog.lo `test -f 'Log_Msg_UNIX_Syslog.cpp' || echo '$(srcdir)/'`Log_Msg_UNIX_Syslog.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Log_Msg_UNIX_Syslog.Tpo $(DEPDIR)/libACE_la-Log_Msg_UNIX_Syslog.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Log_Msg_UNIX_Syslog.cpp' object='libACE_la-Log_Msg_UNIX_Syslog.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Log_Msg_UNIX_Syslog.lo `test -f 'Log_Msg_UNIX_Syslog.cpp' || echo '$(srcdir)/'`Log_Msg_UNIX_Syslog.cpp - -libACE_la-Log_Record.lo: Log_Record.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Log_Record.lo -MD -MP -MF $(DEPDIR)/libACE_la-Log_Record.Tpo -c -o libACE_la-Log_Record.lo `test -f 'Log_Record.cpp' || echo '$(srcdir)/'`Log_Record.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Log_Record.Tpo $(DEPDIR)/libACE_la-Log_Record.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Log_Record.cpp' object='libACE_la-Log_Record.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Log_Record.lo `test -f 'Log_Record.cpp' || echo '$(srcdir)/'`Log_Record.cpp - -libACE_la-Logging_Strategy.lo: Logging_Strategy.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Logging_Strategy.lo -MD -MP -MF $(DEPDIR)/libACE_la-Logging_Strategy.Tpo -c -o libACE_la-Logging_Strategy.lo `test -f 'Logging_Strategy.cpp' || echo '$(srcdir)/'`Logging_Strategy.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Logging_Strategy.Tpo $(DEPDIR)/libACE_la-Logging_Strategy.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Logging_Strategy.cpp' object='libACE_la-Logging_Strategy.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Logging_Strategy.lo `test -f 'Logging_Strategy.cpp' || echo '$(srcdir)/'`Logging_Strategy.cpp - -libACE_la-MEM_Acceptor.lo: MEM_Acceptor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-MEM_Acceptor.lo -MD -MP -MF $(DEPDIR)/libACE_la-MEM_Acceptor.Tpo -c -o libACE_la-MEM_Acceptor.lo `test -f 'MEM_Acceptor.cpp' || echo '$(srcdir)/'`MEM_Acceptor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-MEM_Acceptor.Tpo $(DEPDIR)/libACE_la-MEM_Acceptor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='MEM_Acceptor.cpp' object='libACE_la-MEM_Acceptor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-MEM_Acceptor.lo `test -f 'MEM_Acceptor.cpp' || echo '$(srcdir)/'`MEM_Acceptor.cpp - -libACE_la-MEM_Addr.lo: MEM_Addr.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-MEM_Addr.lo -MD -MP -MF $(DEPDIR)/libACE_la-MEM_Addr.Tpo -c -o libACE_la-MEM_Addr.lo `test -f 'MEM_Addr.cpp' || echo '$(srcdir)/'`MEM_Addr.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-MEM_Addr.Tpo $(DEPDIR)/libACE_la-MEM_Addr.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='MEM_Addr.cpp' object='libACE_la-MEM_Addr.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-MEM_Addr.lo `test -f 'MEM_Addr.cpp' || echo '$(srcdir)/'`MEM_Addr.cpp - -libACE_la-MEM_Connector.lo: MEM_Connector.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-MEM_Connector.lo -MD -MP -MF $(DEPDIR)/libACE_la-MEM_Connector.Tpo -c -o libACE_la-MEM_Connector.lo `test -f 'MEM_Connector.cpp' || echo '$(srcdir)/'`MEM_Connector.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-MEM_Connector.Tpo $(DEPDIR)/libACE_la-MEM_Connector.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='MEM_Connector.cpp' object='libACE_la-MEM_Connector.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-MEM_Connector.lo `test -f 'MEM_Connector.cpp' || echo '$(srcdir)/'`MEM_Connector.cpp - -libACE_la-MEM_IO.lo: MEM_IO.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-MEM_IO.lo -MD -MP -MF $(DEPDIR)/libACE_la-MEM_IO.Tpo -c -o libACE_la-MEM_IO.lo `test -f 'MEM_IO.cpp' || echo '$(srcdir)/'`MEM_IO.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-MEM_IO.Tpo $(DEPDIR)/libACE_la-MEM_IO.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='MEM_IO.cpp' object='libACE_la-MEM_IO.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-MEM_IO.lo `test -f 'MEM_IO.cpp' || echo '$(srcdir)/'`MEM_IO.cpp - -libACE_la-MEM_SAP.lo: MEM_SAP.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-MEM_SAP.lo -MD -MP -MF $(DEPDIR)/libACE_la-MEM_SAP.Tpo -c -o libACE_la-MEM_SAP.lo `test -f 'MEM_SAP.cpp' || echo '$(srcdir)/'`MEM_SAP.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-MEM_SAP.Tpo $(DEPDIR)/libACE_la-MEM_SAP.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='MEM_SAP.cpp' object='libACE_la-MEM_SAP.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-MEM_SAP.lo `test -f 'MEM_SAP.cpp' || echo '$(srcdir)/'`MEM_SAP.cpp - -libACE_la-MEM_Stream.lo: MEM_Stream.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-MEM_Stream.lo -MD -MP -MF $(DEPDIR)/libACE_la-MEM_Stream.Tpo -c -o libACE_la-MEM_Stream.lo `test -f 'MEM_Stream.cpp' || echo '$(srcdir)/'`MEM_Stream.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-MEM_Stream.Tpo $(DEPDIR)/libACE_la-MEM_Stream.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='MEM_Stream.cpp' object='libACE_la-MEM_Stream.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-MEM_Stream.lo `test -f 'MEM_Stream.cpp' || echo '$(srcdir)/'`MEM_Stream.cpp - -libACE_la-MMAP_Memory_Pool.lo: MMAP_Memory_Pool.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-MMAP_Memory_Pool.lo -MD -MP -MF $(DEPDIR)/libACE_la-MMAP_Memory_Pool.Tpo -c -o libACE_la-MMAP_Memory_Pool.lo `test -f 'MMAP_Memory_Pool.cpp' || echo '$(srcdir)/'`MMAP_Memory_Pool.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-MMAP_Memory_Pool.Tpo $(DEPDIR)/libACE_la-MMAP_Memory_Pool.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='MMAP_Memory_Pool.cpp' object='libACE_la-MMAP_Memory_Pool.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-MMAP_Memory_Pool.lo `test -f 'MMAP_Memory_Pool.cpp' || echo '$(srcdir)/'`MMAP_Memory_Pool.cpp - -libACE_la-Malloc.lo: Malloc.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Malloc.lo -MD -MP -MF $(DEPDIR)/libACE_la-Malloc.Tpo -c -o libACE_la-Malloc.lo `test -f 'Malloc.cpp' || echo '$(srcdir)/'`Malloc.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Malloc.Tpo $(DEPDIR)/libACE_la-Malloc.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Malloc.cpp' object='libACE_la-Malloc.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Malloc.lo `test -f 'Malloc.cpp' || echo '$(srcdir)/'`Malloc.cpp - -libACE_la-Malloc_Allocator.lo: Malloc_Allocator.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Malloc_Allocator.lo -MD -MP -MF $(DEPDIR)/libACE_la-Malloc_Allocator.Tpo -c -o libACE_la-Malloc_Allocator.lo `test -f 'Malloc_Allocator.cpp' || echo '$(srcdir)/'`Malloc_Allocator.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Malloc_Allocator.Tpo $(DEPDIR)/libACE_la-Malloc_Allocator.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Malloc_Allocator.cpp' object='libACE_la-Malloc_Allocator.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Malloc_Allocator.lo `test -f 'Malloc_Allocator.cpp' || echo '$(srcdir)/'`Malloc_Allocator.cpp - -libACE_la-Manual_Event.lo: Manual_Event.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Manual_Event.lo -MD -MP -MF $(DEPDIR)/libACE_la-Manual_Event.Tpo -c -o libACE_la-Manual_Event.lo `test -f 'Manual_Event.cpp' || echo '$(srcdir)/'`Manual_Event.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Manual_Event.Tpo $(DEPDIR)/libACE_la-Manual_Event.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Manual_Event.cpp' object='libACE_la-Manual_Event.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Manual_Event.lo `test -f 'Manual_Event.cpp' || echo '$(srcdir)/'`Manual_Event.cpp - -libACE_la-Mem_Map.lo: Mem_Map.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Mem_Map.lo -MD -MP -MF $(DEPDIR)/libACE_la-Mem_Map.Tpo -c -o libACE_la-Mem_Map.lo `test -f 'Mem_Map.cpp' || echo '$(srcdir)/'`Mem_Map.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Mem_Map.Tpo $(DEPDIR)/libACE_la-Mem_Map.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Mem_Map.cpp' object='libACE_la-Mem_Map.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Mem_Map.lo `test -f 'Mem_Map.cpp' || echo '$(srcdir)/'`Mem_Map.cpp - -libACE_la-Message_Block.lo: Message_Block.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Message_Block.lo -MD -MP -MF $(DEPDIR)/libACE_la-Message_Block.Tpo -c -o libACE_la-Message_Block.lo `test -f 'Message_Block.cpp' || echo '$(srcdir)/'`Message_Block.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Message_Block.Tpo $(DEPDIR)/libACE_la-Message_Block.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Message_Block.cpp' object='libACE_la-Message_Block.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Message_Block.lo `test -f 'Message_Block.cpp' || echo '$(srcdir)/'`Message_Block.cpp - -libACE_la-Message_Queue.lo: Message_Queue.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Message_Queue.lo -MD -MP -MF $(DEPDIR)/libACE_la-Message_Queue.Tpo -c -o libACE_la-Message_Queue.lo `test -f 'Message_Queue.cpp' || echo '$(srcdir)/'`Message_Queue.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Message_Queue.Tpo $(DEPDIR)/libACE_la-Message_Queue.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Message_Queue.cpp' object='libACE_la-Message_Queue.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Message_Queue.lo `test -f 'Message_Queue.cpp' || echo '$(srcdir)/'`Message_Queue.cpp - -libACE_la-Message_Queue_NT.lo: Message_Queue_NT.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Message_Queue_NT.lo -MD -MP -MF $(DEPDIR)/libACE_la-Message_Queue_NT.Tpo -c -o libACE_la-Message_Queue_NT.lo `test -f 'Message_Queue_NT.cpp' || echo '$(srcdir)/'`Message_Queue_NT.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Message_Queue_NT.Tpo $(DEPDIR)/libACE_la-Message_Queue_NT.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Message_Queue_NT.cpp' object='libACE_la-Message_Queue_NT.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Message_Queue_NT.lo `test -f 'Message_Queue_NT.cpp' || echo '$(srcdir)/'`Message_Queue_NT.cpp - -libACE_la-Message_Queue_Vx.lo: Message_Queue_Vx.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Message_Queue_Vx.lo -MD -MP -MF $(DEPDIR)/libACE_la-Message_Queue_Vx.Tpo -c -o libACE_la-Message_Queue_Vx.lo `test -f 'Message_Queue_Vx.cpp' || echo '$(srcdir)/'`Message_Queue_Vx.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Message_Queue_Vx.Tpo $(DEPDIR)/libACE_la-Message_Queue_Vx.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Message_Queue_Vx.cpp' object='libACE_la-Message_Queue_Vx.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Message_Queue_Vx.lo `test -f 'Message_Queue_Vx.cpp' || echo '$(srcdir)/'`Message_Queue_Vx.cpp - -libACE_la-Method_Request.lo: Method_Request.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Method_Request.lo -MD -MP -MF $(DEPDIR)/libACE_la-Method_Request.Tpo -c -o libACE_la-Method_Request.lo `test -f 'Method_Request.cpp' || echo '$(srcdir)/'`Method_Request.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Method_Request.Tpo $(DEPDIR)/libACE_la-Method_Request.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Method_Request.cpp' object='libACE_la-Method_Request.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Method_Request.lo `test -f 'Method_Request.cpp' || echo '$(srcdir)/'`Method_Request.cpp - -libACE_la-Monitor_Admin.lo: Monitor_Admin.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Monitor_Admin.lo -MD -MP -MF $(DEPDIR)/libACE_la-Monitor_Admin.Tpo -c -o libACE_la-Monitor_Admin.lo `test -f 'Monitor_Admin.cpp' || echo '$(srcdir)/'`Monitor_Admin.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Monitor_Admin.Tpo $(DEPDIR)/libACE_la-Monitor_Admin.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Monitor_Admin.cpp' object='libACE_la-Monitor_Admin.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Monitor_Admin.lo `test -f 'Monitor_Admin.cpp' || echo '$(srcdir)/'`Monitor_Admin.cpp - -libACE_la-Monitor_Admin_Manager.lo: Monitor_Admin_Manager.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Monitor_Admin_Manager.lo -MD -MP -MF $(DEPDIR)/libACE_la-Monitor_Admin_Manager.Tpo -c -o libACE_la-Monitor_Admin_Manager.lo `test -f 'Monitor_Admin_Manager.cpp' || echo '$(srcdir)/'`Monitor_Admin_Manager.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Monitor_Admin_Manager.Tpo $(DEPDIR)/libACE_la-Monitor_Admin_Manager.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Monitor_Admin_Manager.cpp' object='libACE_la-Monitor_Admin_Manager.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Monitor_Admin_Manager.lo `test -f 'Monitor_Admin_Manager.cpp' || echo '$(srcdir)/'`Monitor_Admin_Manager.cpp - -libACE_la-Monitor_Base.lo: Monitor_Base.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Monitor_Base.lo -MD -MP -MF $(DEPDIR)/libACE_la-Monitor_Base.Tpo -c -o libACE_la-Monitor_Base.lo `test -f 'Monitor_Base.cpp' || echo '$(srcdir)/'`Monitor_Base.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Monitor_Base.Tpo $(DEPDIR)/libACE_la-Monitor_Base.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Monitor_Base.cpp' object='libACE_la-Monitor_Base.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Monitor_Base.lo `test -f 'Monitor_Base.cpp' || echo '$(srcdir)/'`Monitor_Base.cpp - -libACE_la-Monitor_Control_Action.lo: Monitor_Control_Action.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Monitor_Control_Action.lo -MD -MP -MF $(DEPDIR)/libACE_la-Monitor_Control_Action.Tpo -c -o libACE_la-Monitor_Control_Action.lo `test -f 'Monitor_Control_Action.cpp' || echo '$(srcdir)/'`Monitor_Control_Action.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Monitor_Control_Action.Tpo $(DEPDIR)/libACE_la-Monitor_Control_Action.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Monitor_Control_Action.cpp' object='libACE_la-Monitor_Control_Action.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Monitor_Control_Action.lo `test -f 'Monitor_Control_Action.cpp' || echo '$(srcdir)/'`Monitor_Control_Action.cpp - -libACE_la-Monitor_Control_Types.lo: Monitor_Control_Types.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Monitor_Control_Types.lo -MD -MP -MF $(DEPDIR)/libACE_la-Monitor_Control_Types.Tpo -c -o libACE_la-Monitor_Control_Types.lo `test -f 'Monitor_Control_Types.cpp' || echo '$(srcdir)/'`Monitor_Control_Types.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Monitor_Control_Types.Tpo $(DEPDIR)/libACE_la-Monitor_Control_Types.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Monitor_Control_Types.cpp' object='libACE_la-Monitor_Control_Types.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Monitor_Control_Types.lo `test -f 'Monitor_Control_Types.cpp' || echo '$(srcdir)/'`Monitor_Control_Types.cpp - -libACE_la-Monitor_Point_Registry.lo: Monitor_Point_Registry.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Monitor_Point_Registry.lo -MD -MP -MF $(DEPDIR)/libACE_la-Monitor_Point_Registry.Tpo -c -o libACE_la-Monitor_Point_Registry.lo `test -f 'Monitor_Point_Registry.cpp' || echo '$(srcdir)/'`Monitor_Point_Registry.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Monitor_Point_Registry.Tpo $(DEPDIR)/libACE_la-Monitor_Point_Registry.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Monitor_Point_Registry.cpp' object='libACE_la-Monitor_Point_Registry.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Monitor_Point_Registry.lo `test -f 'Monitor_Point_Registry.cpp' || echo '$(srcdir)/'`Monitor_Point_Registry.cpp - -libACE_la-Monitor_Size.lo: Monitor_Size.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Monitor_Size.lo -MD -MP -MF $(DEPDIR)/libACE_la-Monitor_Size.Tpo -c -o libACE_la-Monitor_Size.lo `test -f 'Monitor_Size.cpp' || echo '$(srcdir)/'`Monitor_Size.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Monitor_Size.Tpo $(DEPDIR)/libACE_la-Monitor_Size.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Monitor_Size.cpp' object='libACE_la-Monitor_Size.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Monitor_Size.lo `test -f 'Monitor_Size.cpp' || echo '$(srcdir)/'`Monitor_Size.cpp - -libACE_la-Msg_WFMO_Reactor.lo: Msg_WFMO_Reactor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Msg_WFMO_Reactor.lo -MD -MP -MF $(DEPDIR)/libACE_la-Msg_WFMO_Reactor.Tpo -c -o libACE_la-Msg_WFMO_Reactor.lo `test -f 'Msg_WFMO_Reactor.cpp' || echo '$(srcdir)/'`Msg_WFMO_Reactor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Msg_WFMO_Reactor.Tpo $(DEPDIR)/libACE_la-Msg_WFMO_Reactor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Msg_WFMO_Reactor.cpp' object='libACE_la-Msg_WFMO_Reactor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Msg_WFMO_Reactor.lo `test -f 'Msg_WFMO_Reactor.cpp' || echo '$(srcdir)/'`Msg_WFMO_Reactor.cpp - -libACE_la-Multihomed_INET_Addr.lo: Multihomed_INET_Addr.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Multihomed_INET_Addr.lo -MD -MP -MF $(DEPDIR)/libACE_la-Multihomed_INET_Addr.Tpo -c -o libACE_la-Multihomed_INET_Addr.lo `test -f 'Multihomed_INET_Addr.cpp' || echo '$(srcdir)/'`Multihomed_INET_Addr.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Multihomed_INET_Addr.Tpo $(DEPDIR)/libACE_la-Multihomed_INET_Addr.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Multihomed_INET_Addr.cpp' object='libACE_la-Multihomed_INET_Addr.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Multihomed_INET_Addr.lo `test -f 'Multihomed_INET_Addr.cpp' || echo '$(srcdir)/'`Multihomed_INET_Addr.cpp - -libACE_la-Mutex.lo: Mutex.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Mutex.lo -MD -MP -MF $(DEPDIR)/libACE_la-Mutex.Tpo -c -o libACE_la-Mutex.lo `test -f 'Mutex.cpp' || echo '$(srcdir)/'`Mutex.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Mutex.Tpo $(DEPDIR)/libACE_la-Mutex.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Mutex.cpp' object='libACE_la-Mutex.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Mutex.lo `test -f 'Mutex.cpp' || echo '$(srcdir)/'`Mutex.cpp - -libACE_la-NT_Service.lo: NT_Service.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-NT_Service.lo -MD -MP -MF $(DEPDIR)/libACE_la-NT_Service.Tpo -c -o libACE_la-NT_Service.lo `test -f 'NT_Service.cpp' || echo '$(srcdir)/'`NT_Service.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-NT_Service.Tpo $(DEPDIR)/libACE_la-NT_Service.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='NT_Service.cpp' object='libACE_la-NT_Service.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-NT_Service.lo `test -f 'NT_Service.cpp' || echo '$(srcdir)/'`NT_Service.cpp - -libACE_la-Name_Proxy.lo: Name_Proxy.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Name_Proxy.lo -MD -MP -MF $(DEPDIR)/libACE_la-Name_Proxy.Tpo -c -o libACE_la-Name_Proxy.lo `test -f 'Name_Proxy.cpp' || echo '$(srcdir)/'`Name_Proxy.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Name_Proxy.Tpo $(DEPDIR)/libACE_la-Name_Proxy.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Name_Proxy.cpp' object='libACE_la-Name_Proxy.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Name_Proxy.lo `test -f 'Name_Proxy.cpp' || echo '$(srcdir)/'`Name_Proxy.cpp - -libACE_la-Name_Request_Reply.lo: Name_Request_Reply.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Name_Request_Reply.lo -MD -MP -MF $(DEPDIR)/libACE_la-Name_Request_Reply.Tpo -c -o libACE_la-Name_Request_Reply.lo `test -f 'Name_Request_Reply.cpp' || echo '$(srcdir)/'`Name_Request_Reply.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Name_Request_Reply.Tpo $(DEPDIR)/libACE_la-Name_Request_Reply.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Name_Request_Reply.cpp' object='libACE_la-Name_Request_Reply.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Name_Request_Reply.lo `test -f 'Name_Request_Reply.cpp' || echo '$(srcdir)/'`Name_Request_Reply.cpp - -libACE_la-Name_Space.lo: Name_Space.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Name_Space.lo -MD -MP -MF $(DEPDIR)/libACE_la-Name_Space.Tpo -c -o libACE_la-Name_Space.lo `test -f 'Name_Space.cpp' || echo '$(srcdir)/'`Name_Space.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Name_Space.Tpo $(DEPDIR)/libACE_la-Name_Space.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Name_Space.cpp' object='libACE_la-Name_Space.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Name_Space.lo `test -f 'Name_Space.cpp' || echo '$(srcdir)/'`Name_Space.cpp - -libACE_la-Naming_Context.lo: Naming_Context.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Naming_Context.lo -MD -MP -MF $(DEPDIR)/libACE_la-Naming_Context.Tpo -c -o libACE_la-Naming_Context.lo `test -f 'Naming_Context.cpp' || echo '$(srcdir)/'`Naming_Context.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Naming_Context.Tpo $(DEPDIR)/libACE_la-Naming_Context.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Naming_Context.cpp' object='libACE_la-Naming_Context.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Naming_Context.lo `test -f 'Naming_Context.cpp' || echo '$(srcdir)/'`Naming_Context.cpp - -libACE_la-Netlink_Addr.lo: Netlink_Addr.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Netlink_Addr.lo -MD -MP -MF $(DEPDIR)/libACE_la-Netlink_Addr.Tpo -c -o libACE_la-Netlink_Addr.lo `test -f 'Netlink_Addr.cpp' || echo '$(srcdir)/'`Netlink_Addr.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Netlink_Addr.Tpo $(DEPDIR)/libACE_la-Netlink_Addr.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Netlink_Addr.cpp' object='libACE_la-Netlink_Addr.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Netlink_Addr.lo `test -f 'Netlink_Addr.cpp' || echo '$(srcdir)/'`Netlink_Addr.cpp - -libACE_la-Notification_Queue.lo: Notification_Queue.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Notification_Queue.lo -MD -MP -MF $(DEPDIR)/libACE_la-Notification_Queue.Tpo -c -o libACE_la-Notification_Queue.lo `test -f 'Notification_Queue.cpp' || echo '$(srcdir)/'`Notification_Queue.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Notification_Queue.Tpo $(DEPDIR)/libACE_la-Notification_Queue.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Notification_Queue.cpp' object='libACE_la-Notification_Queue.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Notification_Queue.lo `test -f 'Notification_Queue.cpp' || echo '$(srcdir)/'`Notification_Queue.cpp - -libACE_la-Notification_Strategy.lo: Notification_Strategy.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Notification_Strategy.lo -MD -MP -MF $(DEPDIR)/libACE_la-Notification_Strategy.Tpo -c -o libACE_la-Notification_Strategy.lo `test -f 'Notification_Strategy.cpp' || echo '$(srcdir)/'`Notification_Strategy.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Notification_Strategy.Tpo $(DEPDIR)/libACE_la-Notification_Strategy.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Notification_Strategy.cpp' object='libACE_la-Notification_Strategy.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Notification_Strategy.lo `test -f 'Notification_Strategy.cpp' || echo '$(srcdir)/'`Notification_Strategy.cpp - -libACE_la-OS_Errno.lo: OS_Errno.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_Errno.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_Errno.Tpo -c -o libACE_la-OS_Errno.lo `test -f 'OS_Errno.cpp' || echo '$(srcdir)/'`OS_Errno.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_Errno.Tpo $(DEPDIR)/libACE_la-OS_Errno.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_Errno.cpp' object='libACE_la-OS_Errno.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_Errno.lo `test -f 'OS_Errno.cpp' || echo '$(srcdir)/'`OS_Errno.cpp - -libACE_la-OS_Log_Msg_Attributes.lo: OS_Log_Msg_Attributes.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_Log_Msg_Attributes.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_Log_Msg_Attributes.Tpo -c -o libACE_la-OS_Log_Msg_Attributes.lo `test -f 'OS_Log_Msg_Attributes.cpp' || echo '$(srcdir)/'`OS_Log_Msg_Attributes.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_Log_Msg_Attributes.Tpo $(DEPDIR)/libACE_la-OS_Log_Msg_Attributes.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_Log_Msg_Attributes.cpp' object='libACE_la-OS_Log_Msg_Attributes.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_Log_Msg_Attributes.lo `test -f 'OS_Log_Msg_Attributes.cpp' || echo '$(srcdir)/'`OS_Log_Msg_Attributes.cpp - -libACE_la-OS_NS_Thread.lo: OS_NS_Thread.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_Thread.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_Thread.Tpo -c -o libACE_la-OS_NS_Thread.lo `test -f 'OS_NS_Thread.cpp' || echo '$(srcdir)/'`OS_NS_Thread.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_Thread.Tpo $(DEPDIR)/libACE_la-OS_NS_Thread.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_Thread.cpp' object='libACE_la-OS_NS_Thread.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_Thread.lo `test -f 'OS_NS_Thread.cpp' || echo '$(srcdir)/'`OS_NS_Thread.cpp - -libACE_la-OS_NS_arpa_inet.lo: OS_NS_arpa_inet.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_arpa_inet.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_arpa_inet.Tpo -c -o libACE_la-OS_NS_arpa_inet.lo `test -f 'OS_NS_arpa_inet.cpp' || echo '$(srcdir)/'`OS_NS_arpa_inet.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_arpa_inet.Tpo $(DEPDIR)/libACE_la-OS_NS_arpa_inet.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_arpa_inet.cpp' object='libACE_la-OS_NS_arpa_inet.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_arpa_inet.lo `test -f 'OS_NS_arpa_inet.cpp' || echo '$(srcdir)/'`OS_NS_arpa_inet.cpp - -libACE_la-OS_NS_ctype.lo: OS_NS_ctype.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_ctype.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_ctype.Tpo -c -o libACE_la-OS_NS_ctype.lo `test -f 'OS_NS_ctype.cpp' || echo '$(srcdir)/'`OS_NS_ctype.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_ctype.Tpo $(DEPDIR)/libACE_la-OS_NS_ctype.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_ctype.cpp' object='libACE_la-OS_NS_ctype.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_ctype.lo `test -f 'OS_NS_ctype.cpp' || echo '$(srcdir)/'`OS_NS_ctype.cpp - -libACE_la-OS_NS_dirent.lo: OS_NS_dirent.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_dirent.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_dirent.Tpo -c -o libACE_la-OS_NS_dirent.lo `test -f 'OS_NS_dirent.cpp' || echo '$(srcdir)/'`OS_NS_dirent.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_dirent.Tpo $(DEPDIR)/libACE_la-OS_NS_dirent.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_dirent.cpp' object='libACE_la-OS_NS_dirent.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_dirent.lo `test -f 'OS_NS_dirent.cpp' || echo '$(srcdir)/'`OS_NS_dirent.cpp - -libACE_la-OS_NS_dlfcn.lo: OS_NS_dlfcn.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_dlfcn.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_dlfcn.Tpo -c -o libACE_la-OS_NS_dlfcn.lo `test -f 'OS_NS_dlfcn.cpp' || echo '$(srcdir)/'`OS_NS_dlfcn.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_dlfcn.Tpo $(DEPDIR)/libACE_la-OS_NS_dlfcn.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_dlfcn.cpp' object='libACE_la-OS_NS_dlfcn.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_dlfcn.lo `test -f 'OS_NS_dlfcn.cpp' || echo '$(srcdir)/'`OS_NS_dlfcn.cpp - -libACE_la-OS_NS_errno.lo: OS_NS_errno.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_errno.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_errno.Tpo -c -o libACE_la-OS_NS_errno.lo `test -f 'OS_NS_errno.cpp' || echo '$(srcdir)/'`OS_NS_errno.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_errno.Tpo $(DEPDIR)/libACE_la-OS_NS_errno.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_errno.cpp' object='libACE_la-OS_NS_errno.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_errno.lo `test -f 'OS_NS_errno.cpp' || echo '$(srcdir)/'`OS_NS_errno.cpp - -libACE_la-OS_NS_fcntl.lo: OS_NS_fcntl.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_fcntl.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_fcntl.Tpo -c -o libACE_la-OS_NS_fcntl.lo `test -f 'OS_NS_fcntl.cpp' || echo '$(srcdir)/'`OS_NS_fcntl.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_fcntl.Tpo $(DEPDIR)/libACE_la-OS_NS_fcntl.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_fcntl.cpp' object='libACE_la-OS_NS_fcntl.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_fcntl.lo `test -f 'OS_NS_fcntl.cpp' || echo '$(srcdir)/'`OS_NS_fcntl.cpp - -libACE_la-OS_NS_math.lo: OS_NS_math.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_math.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_math.Tpo -c -o libACE_la-OS_NS_math.lo `test -f 'OS_NS_math.cpp' || echo '$(srcdir)/'`OS_NS_math.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_math.Tpo $(DEPDIR)/libACE_la-OS_NS_math.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_math.cpp' object='libACE_la-OS_NS_math.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_math.lo `test -f 'OS_NS_math.cpp' || echo '$(srcdir)/'`OS_NS_math.cpp - -libACE_la-OS_NS_netdb.lo: OS_NS_netdb.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_netdb.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_netdb.Tpo -c -o libACE_la-OS_NS_netdb.lo `test -f 'OS_NS_netdb.cpp' || echo '$(srcdir)/'`OS_NS_netdb.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_netdb.Tpo $(DEPDIR)/libACE_la-OS_NS_netdb.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_netdb.cpp' object='libACE_la-OS_NS_netdb.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_netdb.lo `test -f 'OS_NS_netdb.cpp' || echo '$(srcdir)/'`OS_NS_netdb.cpp - -libACE_la-OS_NS_poll.lo: OS_NS_poll.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_poll.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_poll.Tpo -c -o libACE_la-OS_NS_poll.lo `test -f 'OS_NS_poll.cpp' || echo '$(srcdir)/'`OS_NS_poll.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_poll.Tpo $(DEPDIR)/libACE_la-OS_NS_poll.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_poll.cpp' object='libACE_la-OS_NS_poll.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_poll.lo `test -f 'OS_NS_poll.cpp' || echo '$(srcdir)/'`OS_NS_poll.cpp - -libACE_la-OS_NS_pwd.lo: OS_NS_pwd.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_pwd.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_pwd.Tpo -c -o libACE_la-OS_NS_pwd.lo `test -f 'OS_NS_pwd.cpp' || echo '$(srcdir)/'`OS_NS_pwd.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_pwd.Tpo $(DEPDIR)/libACE_la-OS_NS_pwd.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_pwd.cpp' object='libACE_la-OS_NS_pwd.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_pwd.lo `test -f 'OS_NS_pwd.cpp' || echo '$(srcdir)/'`OS_NS_pwd.cpp - -libACE_la-OS_NS_regex.lo: OS_NS_regex.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_regex.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_regex.Tpo -c -o libACE_la-OS_NS_regex.lo `test -f 'OS_NS_regex.cpp' || echo '$(srcdir)/'`OS_NS_regex.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_regex.Tpo $(DEPDIR)/libACE_la-OS_NS_regex.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_regex.cpp' object='libACE_la-OS_NS_regex.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_regex.lo `test -f 'OS_NS_regex.cpp' || echo '$(srcdir)/'`OS_NS_regex.cpp - -libACE_la-OS_NS_signal.lo: OS_NS_signal.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_signal.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_signal.Tpo -c -o libACE_la-OS_NS_signal.lo `test -f 'OS_NS_signal.cpp' || echo '$(srcdir)/'`OS_NS_signal.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_signal.Tpo $(DEPDIR)/libACE_la-OS_NS_signal.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_signal.cpp' object='libACE_la-OS_NS_signal.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_signal.lo `test -f 'OS_NS_signal.cpp' || echo '$(srcdir)/'`OS_NS_signal.cpp - -libACE_la-OS_NS_stdio.lo: OS_NS_stdio.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_stdio.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_stdio.Tpo -c -o libACE_la-OS_NS_stdio.lo `test -f 'OS_NS_stdio.cpp' || echo '$(srcdir)/'`OS_NS_stdio.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_stdio.Tpo $(DEPDIR)/libACE_la-OS_NS_stdio.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_stdio.cpp' object='libACE_la-OS_NS_stdio.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_stdio.lo `test -f 'OS_NS_stdio.cpp' || echo '$(srcdir)/'`OS_NS_stdio.cpp - -libACE_la-OS_NS_stdlib.lo: OS_NS_stdlib.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_stdlib.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_stdlib.Tpo -c -o libACE_la-OS_NS_stdlib.lo `test -f 'OS_NS_stdlib.cpp' || echo '$(srcdir)/'`OS_NS_stdlib.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_stdlib.Tpo $(DEPDIR)/libACE_la-OS_NS_stdlib.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_stdlib.cpp' object='libACE_la-OS_NS_stdlib.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_stdlib.lo `test -f 'OS_NS_stdlib.cpp' || echo '$(srcdir)/'`OS_NS_stdlib.cpp - -libACE_la-OS_NS_string.lo: OS_NS_string.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_string.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_string.Tpo -c -o libACE_la-OS_NS_string.lo `test -f 'OS_NS_string.cpp' || echo '$(srcdir)/'`OS_NS_string.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_string.Tpo $(DEPDIR)/libACE_la-OS_NS_string.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_string.cpp' object='libACE_la-OS_NS_string.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_string.lo `test -f 'OS_NS_string.cpp' || echo '$(srcdir)/'`OS_NS_string.cpp - -libACE_la-OS_NS_strings.lo: OS_NS_strings.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_strings.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_strings.Tpo -c -o libACE_la-OS_NS_strings.lo `test -f 'OS_NS_strings.cpp' || echo '$(srcdir)/'`OS_NS_strings.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_strings.Tpo $(DEPDIR)/libACE_la-OS_NS_strings.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_strings.cpp' object='libACE_la-OS_NS_strings.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_strings.lo `test -f 'OS_NS_strings.cpp' || echo '$(srcdir)/'`OS_NS_strings.cpp - -libACE_la-OS_NS_stropts.lo: OS_NS_stropts.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_stropts.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_stropts.Tpo -c -o libACE_la-OS_NS_stropts.lo `test -f 'OS_NS_stropts.cpp' || echo '$(srcdir)/'`OS_NS_stropts.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_stropts.Tpo $(DEPDIR)/libACE_la-OS_NS_stropts.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_stropts.cpp' object='libACE_la-OS_NS_stropts.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_stropts.lo `test -f 'OS_NS_stropts.cpp' || echo '$(srcdir)/'`OS_NS_stropts.cpp - -libACE_la-OS_NS_sys_mman.lo: OS_NS_sys_mman.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_sys_mman.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_sys_mman.Tpo -c -o libACE_la-OS_NS_sys_mman.lo `test -f 'OS_NS_sys_mman.cpp' || echo '$(srcdir)/'`OS_NS_sys_mman.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_sys_mman.Tpo $(DEPDIR)/libACE_la-OS_NS_sys_mman.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_sys_mman.cpp' object='libACE_la-OS_NS_sys_mman.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_sys_mman.lo `test -f 'OS_NS_sys_mman.cpp' || echo '$(srcdir)/'`OS_NS_sys_mman.cpp - -libACE_la-OS_NS_sys_msg.lo: OS_NS_sys_msg.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_sys_msg.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_sys_msg.Tpo -c -o libACE_la-OS_NS_sys_msg.lo `test -f 'OS_NS_sys_msg.cpp' || echo '$(srcdir)/'`OS_NS_sys_msg.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_sys_msg.Tpo $(DEPDIR)/libACE_la-OS_NS_sys_msg.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_sys_msg.cpp' object='libACE_la-OS_NS_sys_msg.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_sys_msg.lo `test -f 'OS_NS_sys_msg.cpp' || echo '$(srcdir)/'`OS_NS_sys_msg.cpp - -libACE_la-OS_NS_sys_resource.lo: OS_NS_sys_resource.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_sys_resource.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_sys_resource.Tpo -c -o libACE_la-OS_NS_sys_resource.lo `test -f 'OS_NS_sys_resource.cpp' || echo '$(srcdir)/'`OS_NS_sys_resource.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_sys_resource.Tpo $(DEPDIR)/libACE_la-OS_NS_sys_resource.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_sys_resource.cpp' object='libACE_la-OS_NS_sys_resource.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_sys_resource.lo `test -f 'OS_NS_sys_resource.cpp' || echo '$(srcdir)/'`OS_NS_sys_resource.cpp - -libACE_la-OS_NS_sys_select.lo: OS_NS_sys_select.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_sys_select.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_sys_select.Tpo -c -o libACE_la-OS_NS_sys_select.lo `test -f 'OS_NS_sys_select.cpp' || echo '$(srcdir)/'`OS_NS_sys_select.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_sys_select.Tpo $(DEPDIR)/libACE_la-OS_NS_sys_select.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_sys_select.cpp' object='libACE_la-OS_NS_sys_select.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_sys_select.lo `test -f 'OS_NS_sys_select.cpp' || echo '$(srcdir)/'`OS_NS_sys_select.cpp - -libACE_la-OS_NS_sys_sendfile.lo: OS_NS_sys_sendfile.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_sys_sendfile.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_sys_sendfile.Tpo -c -o libACE_la-OS_NS_sys_sendfile.lo `test -f 'OS_NS_sys_sendfile.cpp' || echo '$(srcdir)/'`OS_NS_sys_sendfile.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_sys_sendfile.Tpo $(DEPDIR)/libACE_la-OS_NS_sys_sendfile.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_sys_sendfile.cpp' object='libACE_la-OS_NS_sys_sendfile.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_sys_sendfile.lo `test -f 'OS_NS_sys_sendfile.cpp' || echo '$(srcdir)/'`OS_NS_sys_sendfile.cpp - -libACE_la-OS_NS_sys_shm.lo: OS_NS_sys_shm.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_sys_shm.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_sys_shm.Tpo -c -o libACE_la-OS_NS_sys_shm.lo `test -f 'OS_NS_sys_shm.cpp' || echo '$(srcdir)/'`OS_NS_sys_shm.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_sys_shm.Tpo $(DEPDIR)/libACE_la-OS_NS_sys_shm.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_sys_shm.cpp' object='libACE_la-OS_NS_sys_shm.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_sys_shm.lo `test -f 'OS_NS_sys_shm.cpp' || echo '$(srcdir)/'`OS_NS_sys_shm.cpp - -libACE_la-OS_NS_sys_socket.lo: OS_NS_sys_socket.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_sys_socket.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_sys_socket.Tpo -c -o libACE_la-OS_NS_sys_socket.lo `test -f 'OS_NS_sys_socket.cpp' || echo '$(srcdir)/'`OS_NS_sys_socket.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_sys_socket.Tpo $(DEPDIR)/libACE_la-OS_NS_sys_socket.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_sys_socket.cpp' object='libACE_la-OS_NS_sys_socket.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_sys_socket.lo `test -f 'OS_NS_sys_socket.cpp' || echo '$(srcdir)/'`OS_NS_sys_socket.cpp - -libACE_la-OS_NS_sys_stat.lo: OS_NS_sys_stat.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_sys_stat.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_sys_stat.Tpo -c -o libACE_la-OS_NS_sys_stat.lo `test -f 'OS_NS_sys_stat.cpp' || echo '$(srcdir)/'`OS_NS_sys_stat.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_sys_stat.Tpo $(DEPDIR)/libACE_la-OS_NS_sys_stat.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_sys_stat.cpp' object='libACE_la-OS_NS_sys_stat.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_sys_stat.lo `test -f 'OS_NS_sys_stat.cpp' || echo '$(srcdir)/'`OS_NS_sys_stat.cpp - -libACE_la-OS_NS_sys_time.lo: OS_NS_sys_time.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_sys_time.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_sys_time.Tpo -c -o libACE_la-OS_NS_sys_time.lo `test -f 'OS_NS_sys_time.cpp' || echo '$(srcdir)/'`OS_NS_sys_time.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_sys_time.Tpo $(DEPDIR)/libACE_la-OS_NS_sys_time.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_sys_time.cpp' object='libACE_la-OS_NS_sys_time.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_sys_time.lo `test -f 'OS_NS_sys_time.cpp' || echo '$(srcdir)/'`OS_NS_sys_time.cpp - -libACE_la-OS_NS_sys_uio.lo: OS_NS_sys_uio.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_sys_uio.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_sys_uio.Tpo -c -o libACE_la-OS_NS_sys_uio.lo `test -f 'OS_NS_sys_uio.cpp' || echo '$(srcdir)/'`OS_NS_sys_uio.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_sys_uio.Tpo $(DEPDIR)/libACE_la-OS_NS_sys_uio.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_sys_uio.cpp' object='libACE_la-OS_NS_sys_uio.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_sys_uio.lo `test -f 'OS_NS_sys_uio.cpp' || echo '$(srcdir)/'`OS_NS_sys_uio.cpp - -libACE_la-OS_NS_sys_utsname.lo: OS_NS_sys_utsname.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_sys_utsname.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_sys_utsname.Tpo -c -o libACE_la-OS_NS_sys_utsname.lo `test -f 'OS_NS_sys_utsname.cpp' || echo '$(srcdir)/'`OS_NS_sys_utsname.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_sys_utsname.Tpo $(DEPDIR)/libACE_la-OS_NS_sys_utsname.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_sys_utsname.cpp' object='libACE_la-OS_NS_sys_utsname.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_sys_utsname.lo `test -f 'OS_NS_sys_utsname.cpp' || echo '$(srcdir)/'`OS_NS_sys_utsname.cpp - -libACE_la-OS_NS_sys_wait.lo: OS_NS_sys_wait.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_sys_wait.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_sys_wait.Tpo -c -o libACE_la-OS_NS_sys_wait.lo `test -f 'OS_NS_sys_wait.cpp' || echo '$(srcdir)/'`OS_NS_sys_wait.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_sys_wait.Tpo $(DEPDIR)/libACE_la-OS_NS_sys_wait.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_sys_wait.cpp' object='libACE_la-OS_NS_sys_wait.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_sys_wait.lo `test -f 'OS_NS_sys_wait.cpp' || echo '$(srcdir)/'`OS_NS_sys_wait.cpp - -libACE_la-OS_NS_time.lo: OS_NS_time.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_time.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_time.Tpo -c -o libACE_la-OS_NS_time.lo `test -f 'OS_NS_time.cpp' || echo '$(srcdir)/'`OS_NS_time.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_time.Tpo $(DEPDIR)/libACE_la-OS_NS_time.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_time.cpp' object='libACE_la-OS_NS_time.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_time.lo `test -f 'OS_NS_time.cpp' || echo '$(srcdir)/'`OS_NS_time.cpp - -libACE_la-OS_NS_unistd.lo: OS_NS_unistd.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_unistd.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_unistd.Tpo -c -o libACE_la-OS_NS_unistd.lo `test -f 'OS_NS_unistd.cpp' || echo '$(srcdir)/'`OS_NS_unistd.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_unistd.Tpo $(DEPDIR)/libACE_la-OS_NS_unistd.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_unistd.cpp' object='libACE_la-OS_NS_unistd.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_unistd.lo `test -f 'OS_NS_unistd.cpp' || echo '$(srcdir)/'`OS_NS_unistd.cpp - -libACE_la-OS_NS_wchar.lo: OS_NS_wchar.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_wchar.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_wchar.Tpo -c -o libACE_la-OS_NS_wchar.lo `test -f 'OS_NS_wchar.cpp' || echo '$(srcdir)/'`OS_NS_wchar.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_wchar.Tpo $(DEPDIR)/libACE_la-OS_NS_wchar.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_wchar.cpp' object='libACE_la-OS_NS_wchar.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_wchar.lo `test -f 'OS_NS_wchar.cpp' || echo '$(srcdir)/'`OS_NS_wchar.cpp - -libACE_la-OS_NS_wctype.lo: OS_NS_wctype.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_NS_wctype.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_NS_wctype.Tpo -c -o libACE_la-OS_NS_wctype.lo `test -f 'OS_NS_wctype.cpp' || echo '$(srcdir)/'`OS_NS_wctype.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_NS_wctype.Tpo $(DEPDIR)/libACE_la-OS_NS_wctype.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_NS_wctype.cpp' object='libACE_la-OS_NS_wctype.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_NS_wctype.lo `test -f 'OS_NS_wctype.cpp' || echo '$(srcdir)/'`OS_NS_wctype.cpp - -libACE_la-OS_QoS.lo: OS_QoS.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_QoS.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_QoS.Tpo -c -o libACE_la-OS_QoS.lo `test -f 'OS_QoS.cpp' || echo '$(srcdir)/'`OS_QoS.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_QoS.Tpo $(DEPDIR)/libACE_la-OS_QoS.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_QoS.cpp' object='libACE_la-OS_QoS.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_QoS.lo `test -f 'OS_QoS.cpp' || echo '$(srcdir)/'`OS_QoS.cpp - -libACE_la-OS_TLI.lo: OS_TLI.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_TLI.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_TLI.Tpo -c -o libACE_la-OS_TLI.lo `test -f 'OS_TLI.cpp' || echo '$(srcdir)/'`OS_TLI.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_TLI.Tpo $(DEPDIR)/libACE_la-OS_TLI.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_TLI.cpp' object='libACE_la-OS_TLI.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_TLI.lo `test -f 'OS_TLI.cpp' || echo '$(srcdir)/'`OS_TLI.cpp - -libACE_la-OS_Thread_Adapter.lo: OS_Thread_Adapter.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_Thread_Adapter.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_Thread_Adapter.Tpo -c -o libACE_la-OS_Thread_Adapter.lo `test -f 'OS_Thread_Adapter.cpp' || echo '$(srcdir)/'`OS_Thread_Adapter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_Thread_Adapter.Tpo $(DEPDIR)/libACE_la-OS_Thread_Adapter.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_Thread_Adapter.cpp' object='libACE_la-OS_Thread_Adapter.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_Thread_Adapter.lo `test -f 'OS_Thread_Adapter.cpp' || echo '$(srcdir)/'`OS_Thread_Adapter.cpp - -libACE_la-OS_main.lo: OS_main.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-OS_main.lo -MD -MP -MF $(DEPDIR)/libACE_la-OS_main.Tpo -c -o libACE_la-OS_main.lo `test -f 'OS_main.cpp' || echo '$(srcdir)/'`OS_main.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-OS_main.Tpo $(DEPDIR)/libACE_la-OS_main.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OS_main.cpp' object='libACE_la-OS_main.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-OS_main.lo `test -f 'OS_main.cpp' || echo '$(srcdir)/'`OS_main.cpp - -libACE_la-Obchunk.lo: Obchunk.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Obchunk.lo -MD -MP -MF $(DEPDIR)/libACE_la-Obchunk.Tpo -c -o libACE_la-Obchunk.lo `test -f 'Obchunk.cpp' || echo '$(srcdir)/'`Obchunk.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Obchunk.Tpo $(DEPDIR)/libACE_la-Obchunk.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Obchunk.cpp' object='libACE_la-Obchunk.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Obchunk.lo `test -f 'Obchunk.cpp' || echo '$(srcdir)/'`Obchunk.cpp - -libACE_la-Object_Manager.lo: Object_Manager.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Object_Manager.lo -MD -MP -MF $(DEPDIR)/libACE_la-Object_Manager.Tpo -c -o libACE_la-Object_Manager.lo `test -f 'Object_Manager.cpp' || echo '$(srcdir)/'`Object_Manager.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Object_Manager.Tpo $(DEPDIR)/libACE_la-Object_Manager.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Object_Manager.cpp' object='libACE_la-Object_Manager.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Object_Manager.lo `test -f 'Object_Manager.cpp' || echo '$(srcdir)/'`Object_Manager.cpp - -libACE_la-Object_Manager_Base.lo: Object_Manager_Base.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Object_Manager_Base.lo -MD -MP -MF $(DEPDIR)/libACE_la-Object_Manager_Base.Tpo -c -o libACE_la-Object_Manager_Base.lo `test -f 'Object_Manager_Base.cpp' || echo '$(srcdir)/'`Object_Manager_Base.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Object_Manager_Base.Tpo $(DEPDIR)/libACE_la-Object_Manager_Base.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Object_Manager_Base.cpp' object='libACE_la-Object_Manager_Base.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Object_Manager_Base.lo `test -f 'Object_Manager_Base.cpp' || echo '$(srcdir)/'`Object_Manager_Base.cpp - -libACE_la-PI_Malloc.lo: PI_Malloc.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-PI_Malloc.lo -MD -MP -MF $(DEPDIR)/libACE_la-PI_Malloc.Tpo -c -o libACE_la-PI_Malloc.lo `test -f 'PI_Malloc.cpp' || echo '$(srcdir)/'`PI_Malloc.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-PI_Malloc.Tpo $(DEPDIR)/libACE_la-PI_Malloc.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='PI_Malloc.cpp' object='libACE_la-PI_Malloc.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-PI_Malloc.lo `test -f 'PI_Malloc.cpp' || echo '$(srcdir)/'`PI_Malloc.cpp - -libACE_la-POSIX_Asynch_IO.lo: POSIX_Asynch_IO.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-POSIX_Asynch_IO.lo -MD -MP -MF $(DEPDIR)/libACE_la-POSIX_Asynch_IO.Tpo -c -o libACE_la-POSIX_Asynch_IO.lo `test -f 'POSIX_Asynch_IO.cpp' || echo '$(srcdir)/'`POSIX_Asynch_IO.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-POSIX_Asynch_IO.Tpo $(DEPDIR)/libACE_la-POSIX_Asynch_IO.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='POSIX_Asynch_IO.cpp' object='libACE_la-POSIX_Asynch_IO.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-POSIX_Asynch_IO.lo `test -f 'POSIX_Asynch_IO.cpp' || echo '$(srcdir)/'`POSIX_Asynch_IO.cpp - -libACE_la-POSIX_CB_Proactor.lo: POSIX_CB_Proactor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-POSIX_CB_Proactor.lo -MD -MP -MF $(DEPDIR)/libACE_la-POSIX_CB_Proactor.Tpo -c -o libACE_la-POSIX_CB_Proactor.lo `test -f 'POSIX_CB_Proactor.cpp' || echo '$(srcdir)/'`POSIX_CB_Proactor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-POSIX_CB_Proactor.Tpo $(DEPDIR)/libACE_la-POSIX_CB_Proactor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='POSIX_CB_Proactor.cpp' object='libACE_la-POSIX_CB_Proactor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-POSIX_CB_Proactor.lo `test -f 'POSIX_CB_Proactor.cpp' || echo '$(srcdir)/'`POSIX_CB_Proactor.cpp - -libACE_la-POSIX_Proactor.lo: POSIX_Proactor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-POSIX_Proactor.lo -MD -MP -MF $(DEPDIR)/libACE_la-POSIX_Proactor.Tpo -c -o libACE_la-POSIX_Proactor.lo `test -f 'POSIX_Proactor.cpp' || echo '$(srcdir)/'`POSIX_Proactor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-POSIX_Proactor.Tpo $(DEPDIR)/libACE_la-POSIX_Proactor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='POSIX_Proactor.cpp' object='libACE_la-POSIX_Proactor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-POSIX_Proactor.lo `test -f 'POSIX_Proactor.cpp' || echo '$(srcdir)/'`POSIX_Proactor.cpp - -libACE_la-Pagefile_Memory_Pool.lo: Pagefile_Memory_Pool.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Pagefile_Memory_Pool.lo -MD -MP -MF $(DEPDIR)/libACE_la-Pagefile_Memory_Pool.Tpo -c -o libACE_la-Pagefile_Memory_Pool.lo `test -f 'Pagefile_Memory_Pool.cpp' || echo '$(srcdir)/'`Pagefile_Memory_Pool.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Pagefile_Memory_Pool.Tpo $(DEPDIR)/libACE_la-Pagefile_Memory_Pool.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Pagefile_Memory_Pool.cpp' object='libACE_la-Pagefile_Memory_Pool.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Pagefile_Memory_Pool.lo `test -f 'Pagefile_Memory_Pool.cpp' || echo '$(srcdir)/'`Pagefile_Memory_Pool.cpp - -libACE_la-Parse_Node.lo: Parse_Node.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Parse_Node.lo -MD -MP -MF $(DEPDIR)/libACE_la-Parse_Node.Tpo -c -o libACE_la-Parse_Node.lo `test -f 'Parse_Node.cpp' || echo '$(srcdir)/'`Parse_Node.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Parse_Node.Tpo $(DEPDIR)/libACE_la-Parse_Node.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Parse_Node.cpp' object='libACE_la-Parse_Node.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Parse_Node.lo `test -f 'Parse_Node.cpp' || echo '$(srcdir)/'`Parse_Node.cpp - -libACE_la-Ping_Socket.lo: Ping_Socket.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Ping_Socket.lo -MD -MP -MF $(DEPDIR)/libACE_la-Ping_Socket.Tpo -c -o libACE_la-Ping_Socket.lo `test -f 'Ping_Socket.cpp' || echo '$(srcdir)/'`Ping_Socket.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Ping_Socket.Tpo $(DEPDIR)/libACE_la-Ping_Socket.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Ping_Socket.cpp' object='libACE_la-Ping_Socket.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Ping_Socket.lo `test -f 'Ping_Socket.cpp' || echo '$(srcdir)/'`Ping_Socket.cpp - -libACE_la-Pipe.lo: Pipe.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Pipe.lo -MD -MP -MF $(DEPDIR)/libACE_la-Pipe.Tpo -c -o libACE_la-Pipe.lo `test -f 'Pipe.cpp' || echo '$(srcdir)/'`Pipe.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Pipe.Tpo $(DEPDIR)/libACE_la-Pipe.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Pipe.cpp' object='libACE_la-Pipe.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Pipe.lo `test -f 'Pipe.cpp' || echo '$(srcdir)/'`Pipe.cpp - -libACE_la-Priority_Reactor.lo: Priority_Reactor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Priority_Reactor.lo -MD -MP -MF $(DEPDIR)/libACE_la-Priority_Reactor.Tpo -c -o libACE_la-Priority_Reactor.lo `test -f 'Priority_Reactor.cpp' || echo '$(srcdir)/'`Priority_Reactor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Priority_Reactor.Tpo $(DEPDIR)/libACE_la-Priority_Reactor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Priority_Reactor.cpp' object='libACE_la-Priority_Reactor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Priority_Reactor.lo `test -f 'Priority_Reactor.cpp' || echo '$(srcdir)/'`Priority_Reactor.cpp - -libACE_la-Proactor.lo: Proactor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Proactor.lo -MD -MP -MF $(DEPDIR)/libACE_la-Proactor.Tpo -c -o libACE_la-Proactor.lo `test -f 'Proactor.cpp' || echo '$(srcdir)/'`Proactor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Proactor.Tpo $(DEPDIR)/libACE_la-Proactor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Proactor.cpp' object='libACE_la-Proactor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Proactor.lo `test -f 'Proactor.cpp' || echo '$(srcdir)/'`Proactor.cpp - -libACE_la-Proactor_Impl.lo: Proactor_Impl.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Proactor_Impl.lo -MD -MP -MF $(DEPDIR)/libACE_la-Proactor_Impl.Tpo -c -o libACE_la-Proactor_Impl.lo `test -f 'Proactor_Impl.cpp' || echo '$(srcdir)/'`Proactor_Impl.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Proactor_Impl.Tpo $(DEPDIR)/libACE_la-Proactor_Impl.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Proactor_Impl.cpp' object='libACE_la-Proactor_Impl.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Proactor_Impl.lo `test -f 'Proactor_Impl.cpp' || echo '$(srcdir)/'`Proactor_Impl.cpp - -libACE_la-Process.lo: Process.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Process.lo -MD -MP -MF $(DEPDIR)/libACE_la-Process.Tpo -c -o libACE_la-Process.lo `test -f 'Process.cpp' || echo '$(srcdir)/'`Process.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Process.Tpo $(DEPDIR)/libACE_la-Process.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Process.cpp' object='libACE_la-Process.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Process.lo `test -f 'Process.cpp' || echo '$(srcdir)/'`Process.cpp - -libACE_la-Process_Manager.lo: Process_Manager.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Process_Manager.lo -MD -MP -MF $(DEPDIR)/libACE_la-Process_Manager.Tpo -c -o libACE_la-Process_Manager.lo `test -f 'Process_Manager.cpp' || echo '$(srcdir)/'`Process_Manager.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Process_Manager.Tpo $(DEPDIR)/libACE_la-Process_Manager.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Process_Manager.cpp' object='libACE_la-Process_Manager.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Process_Manager.lo `test -f 'Process_Manager.cpp' || echo '$(srcdir)/'`Process_Manager.cpp - -libACE_la-Process_Mutex.lo: Process_Mutex.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Process_Mutex.lo -MD -MP -MF $(DEPDIR)/libACE_la-Process_Mutex.Tpo -c -o libACE_la-Process_Mutex.lo `test -f 'Process_Mutex.cpp' || echo '$(srcdir)/'`Process_Mutex.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Process_Mutex.Tpo $(DEPDIR)/libACE_la-Process_Mutex.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Process_Mutex.cpp' object='libACE_la-Process_Mutex.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Process_Mutex.lo `test -f 'Process_Mutex.cpp' || echo '$(srcdir)/'`Process_Mutex.cpp - -libACE_la-Process_Semaphore.lo: Process_Semaphore.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Process_Semaphore.lo -MD -MP -MF $(DEPDIR)/libACE_la-Process_Semaphore.Tpo -c -o libACE_la-Process_Semaphore.lo `test -f 'Process_Semaphore.cpp' || echo '$(srcdir)/'`Process_Semaphore.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Process_Semaphore.Tpo $(DEPDIR)/libACE_la-Process_Semaphore.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Process_Semaphore.cpp' object='libACE_la-Process_Semaphore.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Process_Semaphore.lo `test -f 'Process_Semaphore.cpp' || echo '$(srcdir)/'`Process_Semaphore.cpp - -libACE_la-Profile_Timer.lo: Profile_Timer.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Profile_Timer.lo -MD -MP -MF $(DEPDIR)/libACE_la-Profile_Timer.Tpo -c -o libACE_la-Profile_Timer.lo `test -f 'Profile_Timer.cpp' || echo '$(srcdir)/'`Profile_Timer.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Profile_Timer.Tpo $(DEPDIR)/libACE_la-Profile_Timer.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Profile_Timer.cpp' object='libACE_la-Profile_Timer.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Profile_Timer.lo `test -f 'Profile_Timer.cpp' || echo '$(srcdir)/'`Profile_Timer.cpp - -libACE_la-RW_Mutex.lo: RW_Mutex.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-RW_Mutex.lo -MD -MP -MF $(DEPDIR)/libACE_la-RW_Mutex.Tpo -c -o libACE_la-RW_Mutex.lo `test -f 'RW_Mutex.cpp' || echo '$(srcdir)/'`RW_Mutex.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-RW_Mutex.Tpo $(DEPDIR)/libACE_la-RW_Mutex.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='RW_Mutex.cpp' object='libACE_la-RW_Mutex.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-RW_Mutex.lo `test -f 'RW_Mutex.cpp' || echo '$(srcdir)/'`RW_Mutex.cpp - -libACE_la-RW_Process_Mutex.lo: RW_Process_Mutex.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-RW_Process_Mutex.lo -MD -MP -MF $(DEPDIR)/libACE_la-RW_Process_Mutex.Tpo -c -o libACE_la-RW_Process_Mutex.lo `test -f 'RW_Process_Mutex.cpp' || echo '$(srcdir)/'`RW_Process_Mutex.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-RW_Process_Mutex.Tpo $(DEPDIR)/libACE_la-RW_Process_Mutex.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='RW_Process_Mutex.cpp' object='libACE_la-RW_Process_Mutex.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-RW_Process_Mutex.lo `test -f 'RW_Process_Mutex.cpp' || echo '$(srcdir)/'`RW_Process_Mutex.cpp - -libACE_la-RW_Thread_Mutex.lo: RW_Thread_Mutex.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-RW_Thread_Mutex.lo -MD -MP -MF $(DEPDIR)/libACE_la-RW_Thread_Mutex.Tpo -c -o libACE_la-RW_Thread_Mutex.lo `test -f 'RW_Thread_Mutex.cpp' || echo '$(srcdir)/'`RW_Thread_Mutex.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-RW_Thread_Mutex.Tpo $(DEPDIR)/libACE_la-RW_Thread_Mutex.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='RW_Thread_Mutex.cpp' object='libACE_la-RW_Thread_Mutex.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-RW_Thread_Mutex.lo `test -f 'RW_Thread_Mutex.cpp' || echo '$(srcdir)/'`RW_Thread_Mutex.cpp - -libACE_la-Reactor.lo: Reactor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Reactor.lo -MD -MP -MF $(DEPDIR)/libACE_la-Reactor.Tpo -c -o libACE_la-Reactor.lo `test -f 'Reactor.cpp' || echo '$(srcdir)/'`Reactor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Reactor.Tpo $(DEPDIR)/libACE_la-Reactor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Reactor.cpp' object='libACE_la-Reactor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Reactor.lo `test -f 'Reactor.cpp' || echo '$(srcdir)/'`Reactor.cpp - -libACE_la-Reactor_Impl.lo: Reactor_Impl.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Reactor_Impl.lo -MD -MP -MF $(DEPDIR)/libACE_la-Reactor_Impl.Tpo -c -o libACE_la-Reactor_Impl.lo `test -f 'Reactor_Impl.cpp' || echo '$(srcdir)/'`Reactor_Impl.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Reactor_Impl.Tpo $(DEPDIR)/libACE_la-Reactor_Impl.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Reactor_Impl.cpp' object='libACE_la-Reactor_Impl.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Reactor_Impl.lo `test -f 'Reactor_Impl.cpp' || echo '$(srcdir)/'`Reactor_Impl.cpp - -libACE_la-Reactor_Notification_Strategy.lo: Reactor_Notification_Strategy.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Reactor_Notification_Strategy.lo -MD -MP -MF $(DEPDIR)/libACE_la-Reactor_Notification_Strategy.Tpo -c -o libACE_la-Reactor_Notification_Strategy.lo `test -f 'Reactor_Notification_Strategy.cpp' || echo '$(srcdir)/'`Reactor_Notification_Strategy.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Reactor_Notification_Strategy.Tpo $(DEPDIR)/libACE_la-Reactor_Notification_Strategy.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Reactor_Notification_Strategy.cpp' object='libACE_la-Reactor_Notification_Strategy.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Reactor_Notification_Strategy.lo `test -f 'Reactor_Notification_Strategy.cpp' || echo '$(srcdir)/'`Reactor_Notification_Strategy.cpp - -libACE_la-Reactor_Timer_Interface.lo: Reactor_Timer_Interface.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Reactor_Timer_Interface.lo -MD -MP -MF $(DEPDIR)/libACE_la-Reactor_Timer_Interface.Tpo -c -o libACE_la-Reactor_Timer_Interface.lo `test -f 'Reactor_Timer_Interface.cpp' || echo '$(srcdir)/'`Reactor_Timer_Interface.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Reactor_Timer_Interface.Tpo $(DEPDIR)/libACE_la-Reactor_Timer_Interface.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Reactor_Timer_Interface.cpp' object='libACE_la-Reactor_Timer_Interface.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Reactor_Timer_Interface.lo `test -f 'Reactor_Timer_Interface.cpp' || echo '$(srcdir)/'`Reactor_Timer_Interface.cpp - -libACE_la-Read_Buffer.lo: Read_Buffer.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Read_Buffer.lo -MD -MP -MF $(DEPDIR)/libACE_la-Read_Buffer.Tpo -c -o libACE_la-Read_Buffer.lo `test -f 'Read_Buffer.cpp' || echo '$(srcdir)/'`Read_Buffer.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Read_Buffer.Tpo $(DEPDIR)/libACE_la-Read_Buffer.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Read_Buffer.cpp' object='libACE_la-Read_Buffer.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Read_Buffer.lo `test -f 'Read_Buffer.cpp' || echo '$(srcdir)/'`Read_Buffer.cpp - -libACE_la-Recursive_Thread_Mutex.lo: Recursive_Thread_Mutex.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Recursive_Thread_Mutex.lo -MD -MP -MF $(DEPDIR)/libACE_la-Recursive_Thread_Mutex.Tpo -c -o libACE_la-Recursive_Thread_Mutex.lo `test -f 'Recursive_Thread_Mutex.cpp' || echo '$(srcdir)/'`Recursive_Thread_Mutex.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Recursive_Thread_Mutex.Tpo $(DEPDIR)/libACE_la-Recursive_Thread_Mutex.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Recursive_Thread_Mutex.cpp' object='libACE_la-Recursive_Thread_Mutex.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Recursive_Thread_Mutex.lo `test -f 'Recursive_Thread_Mutex.cpp' || echo '$(srcdir)/'`Recursive_Thread_Mutex.cpp - -libACE_la-Recyclable.lo: Recyclable.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Recyclable.lo -MD -MP -MF $(DEPDIR)/libACE_la-Recyclable.Tpo -c -o libACE_la-Recyclable.lo `test -f 'Recyclable.cpp' || echo '$(srcdir)/'`Recyclable.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Recyclable.Tpo $(DEPDIR)/libACE_la-Recyclable.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Recyclable.cpp' object='libACE_la-Recyclable.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Recyclable.lo `test -f 'Recyclable.cpp' || echo '$(srcdir)/'`Recyclable.cpp - -libACE_la-Registry.lo: Registry.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Registry.lo -MD -MP -MF $(DEPDIR)/libACE_la-Registry.Tpo -c -o libACE_la-Registry.lo `test -f 'Registry.cpp' || echo '$(srcdir)/'`Registry.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Registry.Tpo $(DEPDIR)/libACE_la-Registry.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Registry.cpp' object='libACE_la-Registry.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Registry.lo `test -f 'Registry.cpp' || echo '$(srcdir)/'`Registry.cpp - -libACE_la-Registry_Name_Space.lo: Registry_Name_Space.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Registry_Name_Space.lo -MD -MP -MF $(DEPDIR)/libACE_la-Registry_Name_Space.Tpo -c -o libACE_la-Registry_Name_Space.lo `test -f 'Registry_Name_Space.cpp' || echo '$(srcdir)/'`Registry_Name_Space.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Registry_Name_Space.Tpo $(DEPDIR)/libACE_la-Registry_Name_Space.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Registry_Name_Space.cpp' object='libACE_la-Registry_Name_Space.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Registry_Name_Space.lo `test -f 'Registry_Name_Space.cpp' || echo '$(srcdir)/'`Registry_Name_Space.cpp - -libACE_la-Remote_Name_Space.lo: Remote_Name_Space.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Remote_Name_Space.lo -MD -MP -MF $(DEPDIR)/libACE_la-Remote_Name_Space.Tpo -c -o libACE_la-Remote_Name_Space.lo `test -f 'Remote_Name_Space.cpp' || echo '$(srcdir)/'`Remote_Name_Space.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Remote_Name_Space.Tpo $(DEPDIR)/libACE_la-Remote_Name_Space.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Remote_Name_Space.cpp' object='libACE_la-Remote_Name_Space.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Remote_Name_Space.lo `test -f 'Remote_Name_Space.cpp' || echo '$(srcdir)/'`Remote_Name_Space.cpp - -libACE_la-Remote_Tokens.lo: Remote_Tokens.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Remote_Tokens.lo -MD -MP -MF $(DEPDIR)/libACE_la-Remote_Tokens.Tpo -c -o libACE_la-Remote_Tokens.lo `test -f 'Remote_Tokens.cpp' || echo '$(srcdir)/'`Remote_Tokens.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Remote_Tokens.Tpo $(DEPDIR)/libACE_la-Remote_Tokens.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Remote_Tokens.cpp' object='libACE_la-Remote_Tokens.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Remote_Tokens.lo `test -f 'Remote_Tokens.cpp' || echo '$(srcdir)/'`Remote_Tokens.cpp - -libACE_la-SOCK.lo: SOCK.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SOCK.lo -MD -MP -MF $(DEPDIR)/libACE_la-SOCK.Tpo -c -o libACE_la-SOCK.lo `test -f 'SOCK.cpp' || echo '$(srcdir)/'`SOCK.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SOCK.Tpo $(DEPDIR)/libACE_la-SOCK.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SOCK.cpp' object='libACE_la-SOCK.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SOCK.lo `test -f 'SOCK.cpp' || echo '$(srcdir)/'`SOCK.cpp - -libACE_la-SOCK_Acceptor.lo: SOCK_Acceptor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SOCK_Acceptor.lo -MD -MP -MF $(DEPDIR)/libACE_la-SOCK_Acceptor.Tpo -c -o libACE_la-SOCK_Acceptor.lo `test -f 'SOCK_Acceptor.cpp' || echo '$(srcdir)/'`SOCK_Acceptor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SOCK_Acceptor.Tpo $(DEPDIR)/libACE_la-SOCK_Acceptor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SOCK_Acceptor.cpp' object='libACE_la-SOCK_Acceptor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SOCK_Acceptor.lo `test -f 'SOCK_Acceptor.cpp' || echo '$(srcdir)/'`SOCK_Acceptor.cpp - -libACE_la-SOCK_CODgram.lo: SOCK_CODgram.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SOCK_CODgram.lo -MD -MP -MF $(DEPDIR)/libACE_la-SOCK_CODgram.Tpo -c -o libACE_la-SOCK_CODgram.lo `test -f 'SOCK_CODgram.cpp' || echo '$(srcdir)/'`SOCK_CODgram.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SOCK_CODgram.Tpo $(DEPDIR)/libACE_la-SOCK_CODgram.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SOCK_CODgram.cpp' object='libACE_la-SOCK_CODgram.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SOCK_CODgram.lo `test -f 'SOCK_CODgram.cpp' || echo '$(srcdir)/'`SOCK_CODgram.cpp - -libACE_la-SOCK_Connector.lo: SOCK_Connector.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SOCK_Connector.lo -MD -MP -MF $(DEPDIR)/libACE_la-SOCK_Connector.Tpo -c -o libACE_la-SOCK_Connector.lo `test -f 'SOCK_Connector.cpp' || echo '$(srcdir)/'`SOCK_Connector.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SOCK_Connector.Tpo $(DEPDIR)/libACE_la-SOCK_Connector.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SOCK_Connector.cpp' object='libACE_la-SOCK_Connector.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SOCK_Connector.lo `test -f 'SOCK_Connector.cpp' || echo '$(srcdir)/'`SOCK_Connector.cpp - -libACE_la-SOCK_Dgram.lo: SOCK_Dgram.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SOCK_Dgram.lo -MD -MP -MF $(DEPDIR)/libACE_la-SOCK_Dgram.Tpo -c -o libACE_la-SOCK_Dgram.lo `test -f 'SOCK_Dgram.cpp' || echo '$(srcdir)/'`SOCK_Dgram.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SOCK_Dgram.Tpo $(DEPDIR)/libACE_la-SOCK_Dgram.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SOCK_Dgram.cpp' object='libACE_la-SOCK_Dgram.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SOCK_Dgram.lo `test -f 'SOCK_Dgram.cpp' || echo '$(srcdir)/'`SOCK_Dgram.cpp - -libACE_la-SOCK_Dgram_Bcast.lo: SOCK_Dgram_Bcast.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SOCK_Dgram_Bcast.lo -MD -MP -MF $(DEPDIR)/libACE_la-SOCK_Dgram_Bcast.Tpo -c -o libACE_la-SOCK_Dgram_Bcast.lo `test -f 'SOCK_Dgram_Bcast.cpp' || echo '$(srcdir)/'`SOCK_Dgram_Bcast.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SOCK_Dgram_Bcast.Tpo $(DEPDIR)/libACE_la-SOCK_Dgram_Bcast.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SOCK_Dgram_Bcast.cpp' object='libACE_la-SOCK_Dgram_Bcast.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SOCK_Dgram_Bcast.lo `test -f 'SOCK_Dgram_Bcast.cpp' || echo '$(srcdir)/'`SOCK_Dgram_Bcast.cpp - -libACE_la-SOCK_Dgram_Mcast.lo: SOCK_Dgram_Mcast.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SOCK_Dgram_Mcast.lo -MD -MP -MF $(DEPDIR)/libACE_la-SOCK_Dgram_Mcast.Tpo -c -o libACE_la-SOCK_Dgram_Mcast.lo `test -f 'SOCK_Dgram_Mcast.cpp' || echo '$(srcdir)/'`SOCK_Dgram_Mcast.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SOCK_Dgram_Mcast.Tpo $(DEPDIR)/libACE_la-SOCK_Dgram_Mcast.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SOCK_Dgram_Mcast.cpp' object='libACE_la-SOCK_Dgram_Mcast.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SOCK_Dgram_Mcast.lo `test -f 'SOCK_Dgram_Mcast.cpp' || echo '$(srcdir)/'`SOCK_Dgram_Mcast.cpp - -libACE_la-SOCK_IO.lo: SOCK_IO.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SOCK_IO.lo -MD -MP -MF $(DEPDIR)/libACE_la-SOCK_IO.Tpo -c -o libACE_la-SOCK_IO.lo `test -f 'SOCK_IO.cpp' || echo '$(srcdir)/'`SOCK_IO.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SOCK_IO.Tpo $(DEPDIR)/libACE_la-SOCK_IO.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SOCK_IO.cpp' object='libACE_la-SOCK_IO.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SOCK_IO.lo `test -f 'SOCK_IO.cpp' || echo '$(srcdir)/'`SOCK_IO.cpp - -libACE_la-SOCK_Netlink.lo: SOCK_Netlink.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SOCK_Netlink.lo -MD -MP -MF $(DEPDIR)/libACE_la-SOCK_Netlink.Tpo -c -o libACE_la-SOCK_Netlink.lo `test -f 'SOCK_Netlink.cpp' || echo '$(srcdir)/'`SOCK_Netlink.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SOCK_Netlink.Tpo $(DEPDIR)/libACE_la-SOCK_Netlink.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SOCK_Netlink.cpp' object='libACE_la-SOCK_Netlink.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SOCK_Netlink.lo `test -f 'SOCK_Netlink.cpp' || echo '$(srcdir)/'`SOCK_Netlink.cpp - -libACE_la-SOCK_SEQPACK_Acceptor.lo: SOCK_SEQPACK_Acceptor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SOCK_SEQPACK_Acceptor.lo -MD -MP -MF $(DEPDIR)/libACE_la-SOCK_SEQPACK_Acceptor.Tpo -c -o libACE_la-SOCK_SEQPACK_Acceptor.lo `test -f 'SOCK_SEQPACK_Acceptor.cpp' || echo '$(srcdir)/'`SOCK_SEQPACK_Acceptor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SOCK_SEQPACK_Acceptor.Tpo $(DEPDIR)/libACE_la-SOCK_SEQPACK_Acceptor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SOCK_SEQPACK_Acceptor.cpp' object='libACE_la-SOCK_SEQPACK_Acceptor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SOCK_SEQPACK_Acceptor.lo `test -f 'SOCK_SEQPACK_Acceptor.cpp' || echo '$(srcdir)/'`SOCK_SEQPACK_Acceptor.cpp - -libACE_la-SOCK_SEQPACK_Association.lo: SOCK_SEQPACK_Association.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SOCK_SEQPACK_Association.lo -MD -MP -MF $(DEPDIR)/libACE_la-SOCK_SEQPACK_Association.Tpo -c -o libACE_la-SOCK_SEQPACK_Association.lo `test -f 'SOCK_SEQPACK_Association.cpp' || echo '$(srcdir)/'`SOCK_SEQPACK_Association.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SOCK_SEQPACK_Association.Tpo $(DEPDIR)/libACE_la-SOCK_SEQPACK_Association.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SOCK_SEQPACK_Association.cpp' object='libACE_la-SOCK_SEQPACK_Association.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SOCK_SEQPACK_Association.lo `test -f 'SOCK_SEQPACK_Association.cpp' || echo '$(srcdir)/'`SOCK_SEQPACK_Association.cpp - -libACE_la-SOCK_SEQPACK_Connector.lo: SOCK_SEQPACK_Connector.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SOCK_SEQPACK_Connector.lo -MD -MP -MF $(DEPDIR)/libACE_la-SOCK_SEQPACK_Connector.Tpo -c -o libACE_la-SOCK_SEQPACK_Connector.lo `test -f 'SOCK_SEQPACK_Connector.cpp' || echo '$(srcdir)/'`SOCK_SEQPACK_Connector.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SOCK_SEQPACK_Connector.Tpo $(DEPDIR)/libACE_la-SOCK_SEQPACK_Connector.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SOCK_SEQPACK_Connector.cpp' object='libACE_la-SOCK_SEQPACK_Connector.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SOCK_SEQPACK_Connector.lo `test -f 'SOCK_SEQPACK_Connector.cpp' || echo '$(srcdir)/'`SOCK_SEQPACK_Connector.cpp - -libACE_la-SOCK_Stream.lo: SOCK_Stream.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SOCK_Stream.lo -MD -MP -MF $(DEPDIR)/libACE_la-SOCK_Stream.Tpo -c -o libACE_la-SOCK_Stream.lo `test -f 'SOCK_Stream.cpp' || echo '$(srcdir)/'`SOCK_Stream.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SOCK_Stream.Tpo $(DEPDIR)/libACE_la-SOCK_Stream.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SOCK_Stream.cpp' object='libACE_la-SOCK_Stream.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SOCK_Stream.lo `test -f 'SOCK_Stream.cpp' || echo '$(srcdir)/'`SOCK_Stream.cpp - -libACE_la-SPIPE.lo: SPIPE.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SPIPE.lo -MD -MP -MF $(DEPDIR)/libACE_la-SPIPE.Tpo -c -o libACE_la-SPIPE.lo `test -f 'SPIPE.cpp' || echo '$(srcdir)/'`SPIPE.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SPIPE.Tpo $(DEPDIR)/libACE_la-SPIPE.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SPIPE.cpp' object='libACE_la-SPIPE.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SPIPE.lo `test -f 'SPIPE.cpp' || echo '$(srcdir)/'`SPIPE.cpp - -libACE_la-SPIPE_Acceptor.lo: SPIPE_Acceptor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SPIPE_Acceptor.lo -MD -MP -MF $(DEPDIR)/libACE_la-SPIPE_Acceptor.Tpo -c -o libACE_la-SPIPE_Acceptor.lo `test -f 'SPIPE_Acceptor.cpp' || echo '$(srcdir)/'`SPIPE_Acceptor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SPIPE_Acceptor.Tpo $(DEPDIR)/libACE_la-SPIPE_Acceptor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SPIPE_Acceptor.cpp' object='libACE_la-SPIPE_Acceptor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SPIPE_Acceptor.lo `test -f 'SPIPE_Acceptor.cpp' || echo '$(srcdir)/'`SPIPE_Acceptor.cpp - -libACE_la-SPIPE_Addr.lo: SPIPE_Addr.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SPIPE_Addr.lo -MD -MP -MF $(DEPDIR)/libACE_la-SPIPE_Addr.Tpo -c -o libACE_la-SPIPE_Addr.lo `test -f 'SPIPE_Addr.cpp' || echo '$(srcdir)/'`SPIPE_Addr.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SPIPE_Addr.Tpo $(DEPDIR)/libACE_la-SPIPE_Addr.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SPIPE_Addr.cpp' object='libACE_la-SPIPE_Addr.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SPIPE_Addr.lo `test -f 'SPIPE_Addr.cpp' || echo '$(srcdir)/'`SPIPE_Addr.cpp - -libACE_la-SPIPE_Connector.lo: SPIPE_Connector.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SPIPE_Connector.lo -MD -MP -MF $(DEPDIR)/libACE_la-SPIPE_Connector.Tpo -c -o libACE_la-SPIPE_Connector.lo `test -f 'SPIPE_Connector.cpp' || echo '$(srcdir)/'`SPIPE_Connector.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SPIPE_Connector.Tpo $(DEPDIR)/libACE_la-SPIPE_Connector.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SPIPE_Connector.cpp' object='libACE_la-SPIPE_Connector.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SPIPE_Connector.lo `test -f 'SPIPE_Connector.cpp' || echo '$(srcdir)/'`SPIPE_Connector.cpp - -libACE_la-SPIPE_Stream.lo: SPIPE_Stream.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SPIPE_Stream.lo -MD -MP -MF $(DEPDIR)/libACE_la-SPIPE_Stream.Tpo -c -o libACE_la-SPIPE_Stream.lo `test -f 'SPIPE_Stream.cpp' || echo '$(srcdir)/'`SPIPE_Stream.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SPIPE_Stream.Tpo $(DEPDIR)/libACE_la-SPIPE_Stream.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SPIPE_Stream.cpp' object='libACE_la-SPIPE_Stream.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SPIPE_Stream.lo `test -f 'SPIPE_Stream.cpp' || echo '$(srcdir)/'`SPIPE_Stream.cpp - -libACE_la-SString.lo: SString.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SString.lo -MD -MP -MF $(DEPDIR)/libACE_la-SString.Tpo -c -o libACE_la-SString.lo `test -f 'SString.cpp' || echo '$(srcdir)/'`SString.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SString.Tpo $(DEPDIR)/libACE_la-SString.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SString.cpp' object='libACE_la-SString.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SString.lo `test -f 'SString.cpp' || echo '$(srcdir)/'`SString.cpp - -libACE_la-Stack_Trace.lo: Stack_Trace.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Stack_Trace.lo -MD -MP -MF $(DEPDIR)/libACE_la-Stack_Trace.Tpo -c -o libACE_la-Stack_Trace.lo `test -f 'Stack_Trace.cpp' || echo '$(srcdir)/'`Stack_Trace.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Stack_Trace.Tpo $(DEPDIR)/libACE_la-Stack_Trace.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Stack_Trace.cpp' object='libACE_la-Stack_Trace.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Stack_Trace.lo `test -f 'Stack_Trace.cpp' || echo '$(srcdir)/'`Stack_Trace.cpp - -libACE_la-SUN_Proactor.lo: SUN_Proactor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SUN_Proactor.lo -MD -MP -MF $(DEPDIR)/libACE_la-SUN_Proactor.Tpo -c -o libACE_la-SUN_Proactor.lo `test -f 'SUN_Proactor.cpp' || echo '$(srcdir)/'`SUN_Proactor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SUN_Proactor.Tpo $(DEPDIR)/libACE_la-SUN_Proactor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SUN_Proactor.cpp' object='libACE_la-SUN_Proactor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SUN_Proactor.lo `test -f 'SUN_Proactor.cpp' || echo '$(srcdir)/'`SUN_Proactor.cpp - -libACE_la-SV_Message.lo: SV_Message.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SV_Message.lo -MD -MP -MF $(DEPDIR)/libACE_la-SV_Message.Tpo -c -o libACE_la-SV_Message.lo `test -f 'SV_Message.cpp' || echo '$(srcdir)/'`SV_Message.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SV_Message.Tpo $(DEPDIR)/libACE_la-SV_Message.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SV_Message.cpp' object='libACE_la-SV_Message.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SV_Message.lo `test -f 'SV_Message.cpp' || echo '$(srcdir)/'`SV_Message.cpp - -libACE_la-SV_Message_Queue.lo: SV_Message_Queue.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SV_Message_Queue.lo -MD -MP -MF $(DEPDIR)/libACE_la-SV_Message_Queue.Tpo -c -o libACE_la-SV_Message_Queue.lo `test -f 'SV_Message_Queue.cpp' || echo '$(srcdir)/'`SV_Message_Queue.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SV_Message_Queue.Tpo $(DEPDIR)/libACE_la-SV_Message_Queue.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SV_Message_Queue.cpp' object='libACE_la-SV_Message_Queue.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SV_Message_Queue.lo `test -f 'SV_Message_Queue.cpp' || echo '$(srcdir)/'`SV_Message_Queue.cpp - -libACE_la-SV_Semaphore_Complex.lo: SV_Semaphore_Complex.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SV_Semaphore_Complex.lo -MD -MP -MF $(DEPDIR)/libACE_la-SV_Semaphore_Complex.Tpo -c -o libACE_la-SV_Semaphore_Complex.lo `test -f 'SV_Semaphore_Complex.cpp' || echo '$(srcdir)/'`SV_Semaphore_Complex.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SV_Semaphore_Complex.Tpo $(DEPDIR)/libACE_la-SV_Semaphore_Complex.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SV_Semaphore_Complex.cpp' object='libACE_la-SV_Semaphore_Complex.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SV_Semaphore_Complex.lo `test -f 'SV_Semaphore_Complex.cpp' || echo '$(srcdir)/'`SV_Semaphore_Complex.cpp - -libACE_la-SV_Semaphore_Simple.lo: SV_Semaphore_Simple.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SV_Semaphore_Simple.lo -MD -MP -MF $(DEPDIR)/libACE_la-SV_Semaphore_Simple.Tpo -c -o libACE_la-SV_Semaphore_Simple.lo `test -f 'SV_Semaphore_Simple.cpp' || echo '$(srcdir)/'`SV_Semaphore_Simple.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SV_Semaphore_Simple.Tpo $(DEPDIR)/libACE_la-SV_Semaphore_Simple.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SV_Semaphore_Simple.cpp' object='libACE_la-SV_Semaphore_Simple.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SV_Semaphore_Simple.lo `test -f 'SV_Semaphore_Simple.cpp' || echo '$(srcdir)/'`SV_Semaphore_Simple.cpp - -libACE_la-SV_Shared_Memory.lo: SV_Shared_Memory.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-SV_Shared_Memory.lo -MD -MP -MF $(DEPDIR)/libACE_la-SV_Shared_Memory.Tpo -c -o libACE_la-SV_Shared_Memory.lo `test -f 'SV_Shared_Memory.cpp' || echo '$(srcdir)/'`SV_Shared_Memory.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-SV_Shared_Memory.Tpo $(DEPDIR)/libACE_la-SV_Shared_Memory.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SV_Shared_Memory.cpp' object='libACE_la-SV_Shared_Memory.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-SV_Shared_Memory.lo `test -f 'SV_Shared_Memory.cpp' || echo '$(srcdir)/'`SV_Shared_Memory.cpp - -libACE_la-Sample_History.lo: Sample_History.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Sample_History.lo -MD -MP -MF $(DEPDIR)/libACE_la-Sample_History.Tpo -c -o libACE_la-Sample_History.lo `test -f 'Sample_History.cpp' || echo '$(srcdir)/'`Sample_History.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Sample_History.Tpo $(DEPDIR)/libACE_la-Sample_History.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Sample_History.cpp' object='libACE_la-Sample_History.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Sample_History.lo `test -f 'Sample_History.cpp' || echo '$(srcdir)/'`Sample_History.cpp - -libACE_la-Sbrk_Memory_Pool.lo: Sbrk_Memory_Pool.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Sbrk_Memory_Pool.lo -MD -MP -MF $(DEPDIR)/libACE_la-Sbrk_Memory_Pool.Tpo -c -o libACE_la-Sbrk_Memory_Pool.lo `test -f 'Sbrk_Memory_Pool.cpp' || echo '$(srcdir)/'`Sbrk_Memory_Pool.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Sbrk_Memory_Pool.Tpo $(DEPDIR)/libACE_la-Sbrk_Memory_Pool.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Sbrk_Memory_Pool.cpp' object='libACE_la-Sbrk_Memory_Pool.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Sbrk_Memory_Pool.lo `test -f 'Sbrk_Memory_Pool.cpp' || echo '$(srcdir)/'`Sbrk_Memory_Pool.cpp - -libACE_la-Sched_Params.lo: Sched_Params.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Sched_Params.lo -MD -MP -MF $(DEPDIR)/libACE_la-Sched_Params.Tpo -c -o libACE_la-Sched_Params.lo `test -f 'Sched_Params.cpp' || echo '$(srcdir)/'`Sched_Params.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Sched_Params.Tpo $(DEPDIR)/libACE_la-Sched_Params.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Sched_Params.cpp' object='libACE_la-Sched_Params.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Sched_Params.lo `test -f 'Sched_Params.cpp' || echo '$(srcdir)/'`Sched_Params.cpp - -libACE_la-Select_Reactor_Base.lo: Select_Reactor_Base.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Select_Reactor_Base.lo -MD -MP -MF $(DEPDIR)/libACE_la-Select_Reactor_Base.Tpo -c -o libACE_la-Select_Reactor_Base.lo `test -f 'Select_Reactor_Base.cpp' || echo '$(srcdir)/'`Select_Reactor_Base.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Select_Reactor_Base.Tpo $(DEPDIR)/libACE_la-Select_Reactor_Base.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Select_Reactor_Base.cpp' object='libACE_la-Select_Reactor_Base.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Select_Reactor_Base.lo `test -f 'Select_Reactor_Base.cpp' || echo '$(srcdir)/'`Select_Reactor_Base.cpp - -libACE_la-Semaphore.lo: Semaphore.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Semaphore.lo -MD -MP -MF $(DEPDIR)/libACE_la-Semaphore.Tpo -c -o libACE_la-Semaphore.lo `test -f 'Semaphore.cpp' || echo '$(srcdir)/'`Semaphore.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Semaphore.Tpo $(DEPDIR)/libACE_la-Semaphore.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Semaphore.cpp' object='libACE_la-Semaphore.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Semaphore.lo `test -f 'Semaphore.cpp' || echo '$(srcdir)/'`Semaphore.cpp - -libACE_la-Service_Config.lo: Service_Config.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Service_Config.lo -MD -MP -MF $(DEPDIR)/libACE_la-Service_Config.Tpo -c -o libACE_la-Service_Config.lo `test -f 'Service_Config.cpp' || echo '$(srcdir)/'`Service_Config.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Service_Config.Tpo $(DEPDIR)/libACE_la-Service_Config.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Service_Config.cpp' object='libACE_la-Service_Config.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Service_Config.lo `test -f 'Service_Config.cpp' || echo '$(srcdir)/'`Service_Config.cpp - -libACE_la-Service_Gestalt.lo: Service_Gestalt.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Service_Gestalt.lo -MD -MP -MF $(DEPDIR)/libACE_la-Service_Gestalt.Tpo -c -o libACE_la-Service_Gestalt.lo `test -f 'Service_Gestalt.cpp' || echo '$(srcdir)/'`Service_Gestalt.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Service_Gestalt.Tpo $(DEPDIR)/libACE_la-Service_Gestalt.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Service_Gestalt.cpp' object='libACE_la-Service_Gestalt.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Service_Gestalt.lo `test -f 'Service_Gestalt.cpp' || echo '$(srcdir)/'`Service_Gestalt.cpp - -libACE_la-Service_Manager.lo: Service_Manager.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Service_Manager.lo -MD -MP -MF $(DEPDIR)/libACE_la-Service_Manager.Tpo -c -o libACE_la-Service_Manager.lo `test -f 'Service_Manager.cpp' || echo '$(srcdir)/'`Service_Manager.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Service_Manager.Tpo $(DEPDIR)/libACE_la-Service_Manager.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Service_Manager.cpp' object='libACE_la-Service_Manager.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Service_Manager.lo `test -f 'Service_Manager.cpp' || echo '$(srcdir)/'`Service_Manager.cpp - -libACE_la-Service_Object.lo: Service_Object.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Service_Object.lo -MD -MP -MF $(DEPDIR)/libACE_la-Service_Object.Tpo -c -o libACE_la-Service_Object.lo `test -f 'Service_Object.cpp' || echo '$(srcdir)/'`Service_Object.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Service_Object.Tpo $(DEPDIR)/libACE_la-Service_Object.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Service_Object.cpp' object='libACE_la-Service_Object.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Service_Object.lo `test -f 'Service_Object.cpp' || echo '$(srcdir)/'`Service_Object.cpp - -libACE_la-Service_Repository.lo: Service_Repository.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Service_Repository.lo -MD -MP -MF $(DEPDIR)/libACE_la-Service_Repository.Tpo -c -o libACE_la-Service_Repository.lo `test -f 'Service_Repository.cpp' || echo '$(srcdir)/'`Service_Repository.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Service_Repository.Tpo $(DEPDIR)/libACE_la-Service_Repository.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Service_Repository.cpp' object='libACE_la-Service_Repository.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Service_Repository.lo `test -f 'Service_Repository.cpp' || echo '$(srcdir)/'`Service_Repository.cpp - -libACE_la-Service_Types.lo: Service_Types.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Service_Types.lo -MD -MP -MF $(DEPDIR)/libACE_la-Service_Types.Tpo -c -o libACE_la-Service_Types.lo `test -f 'Service_Types.cpp' || echo '$(srcdir)/'`Service_Types.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Service_Types.Tpo $(DEPDIR)/libACE_la-Service_Types.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Service_Types.cpp' object='libACE_la-Service_Types.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Service_Types.lo `test -f 'Service_Types.cpp' || echo '$(srcdir)/'`Service_Types.cpp - -libACE_la-Shared_Memory.lo: Shared_Memory.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Shared_Memory.lo -MD -MP -MF $(DEPDIR)/libACE_la-Shared_Memory.Tpo -c -o libACE_la-Shared_Memory.lo `test -f 'Shared_Memory.cpp' || echo '$(srcdir)/'`Shared_Memory.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Shared_Memory.Tpo $(DEPDIR)/libACE_la-Shared_Memory.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Shared_Memory.cpp' object='libACE_la-Shared_Memory.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Shared_Memory.lo `test -f 'Shared_Memory.cpp' || echo '$(srcdir)/'`Shared_Memory.cpp - -libACE_la-Shared_Memory_MM.lo: Shared_Memory_MM.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Shared_Memory_MM.lo -MD -MP -MF $(DEPDIR)/libACE_la-Shared_Memory_MM.Tpo -c -o libACE_la-Shared_Memory_MM.lo `test -f 'Shared_Memory_MM.cpp' || echo '$(srcdir)/'`Shared_Memory_MM.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Shared_Memory_MM.Tpo $(DEPDIR)/libACE_la-Shared_Memory_MM.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Shared_Memory_MM.cpp' object='libACE_la-Shared_Memory_MM.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Shared_Memory_MM.lo `test -f 'Shared_Memory_MM.cpp' || echo '$(srcdir)/'`Shared_Memory_MM.cpp - -libACE_la-Shared_Memory_Pool.lo: Shared_Memory_Pool.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Shared_Memory_Pool.lo -MD -MP -MF $(DEPDIR)/libACE_la-Shared_Memory_Pool.Tpo -c -o libACE_la-Shared_Memory_Pool.lo `test -f 'Shared_Memory_Pool.cpp' || echo '$(srcdir)/'`Shared_Memory_Pool.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Shared_Memory_Pool.Tpo $(DEPDIR)/libACE_la-Shared_Memory_Pool.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Shared_Memory_Pool.cpp' object='libACE_la-Shared_Memory_Pool.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Shared_Memory_Pool.lo `test -f 'Shared_Memory_Pool.cpp' || echo '$(srcdir)/'`Shared_Memory_Pool.cpp - -libACE_la-Shared_Memory_SV.lo: Shared_Memory_SV.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Shared_Memory_SV.lo -MD -MP -MF $(DEPDIR)/libACE_la-Shared_Memory_SV.Tpo -c -o libACE_la-Shared_Memory_SV.lo `test -f 'Shared_Memory_SV.cpp' || echo '$(srcdir)/'`Shared_Memory_SV.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Shared_Memory_SV.Tpo $(DEPDIR)/libACE_la-Shared_Memory_SV.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Shared_Memory_SV.cpp' object='libACE_la-Shared_Memory_SV.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Shared_Memory_SV.lo `test -f 'Shared_Memory_SV.cpp' || echo '$(srcdir)/'`Shared_Memory_SV.cpp - -libACE_la-Shared_Object.lo: Shared_Object.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Shared_Object.lo -MD -MP -MF $(DEPDIR)/libACE_la-Shared_Object.Tpo -c -o libACE_la-Shared_Object.lo `test -f 'Shared_Object.cpp' || echo '$(srcdir)/'`Shared_Object.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Shared_Object.Tpo $(DEPDIR)/libACE_la-Shared_Object.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Shared_Object.cpp' object='libACE_la-Shared_Object.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Shared_Object.lo `test -f 'Shared_Object.cpp' || echo '$(srcdir)/'`Shared_Object.cpp - -libACE_la-Sig_Adapter.lo: Sig_Adapter.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Sig_Adapter.lo -MD -MP -MF $(DEPDIR)/libACE_la-Sig_Adapter.Tpo -c -o libACE_la-Sig_Adapter.lo `test -f 'Sig_Adapter.cpp' || echo '$(srcdir)/'`Sig_Adapter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Sig_Adapter.Tpo $(DEPDIR)/libACE_la-Sig_Adapter.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Sig_Adapter.cpp' object='libACE_la-Sig_Adapter.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Sig_Adapter.lo `test -f 'Sig_Adapter.cpp' || echo '$(srcdir)/'`Sig_Adapter.cpp - -libACE_la-Sig_Handler.lo: Sig_Handler.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Sig_Handler.lo -MD -MP -MF $(DEPDIR)/libACE_la-Sig_Handler.Tpo -c -o libACE_la-Sig_Handler.lo `test -f 'Sig_Handler.cpp' || echo '$(srcdir)/'`Sig_Handler.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Sig_Handler.Tpo $(DEPDIR)/libACE_la-Sig_Handler.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Sig_Handler.cpp' object='libACE_la-Sig_Handler.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Sig_Handler.lo `test -f 'Sig_Handler.cpp' || echo '$(srcdir)/'`Sig_Handler.cpp - -libACE_la-Signal.lo: Signal.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Signal.lo -MD -MP -MF $(DEPDIR)/libACE_la-Signal.Tpo -c -o libACE_la-Signal.lo `test -f 'Signal.cpp' || echo '$(srcdir)/'`Signal.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Signal.Tpo $(DEPDIR)/libACE_la-Signal.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Signal.cpp' object='libACE_la-Signal.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Signal.lo `test -f 'Signal.cpp' || echo '$(srcdir)/'`Signal.cpp - -libACE_la-Sock_Connect.lo: Sock_Connect.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Sock_Connect.lo -MD -MP -MF $(DEPDIR)/libACE_la-Sock_Connect.Tpo -c -o libACE_la-Sock_Connect.lo `test -f 'Sock_Connect.cpp' || echo '$(srcdir)/'`Sock_Connect.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Sock_Connect.Tpo $(DEPDIR)/libACE_la-Sock_Connect.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Sock_Connect.cpp' object='libACE_la-Sock_Connect.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Sock_Connect.lo `test -f 'Sock_Connect.cpp' || echo '$(srcdir)/'`Sock_Connect.cpp - -libACE_la-Stats.lo: Stats.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Stats.lo -MD -MP -MF $(DEPDIR)/libACE_la-Stats.Tpo -c -o libACE_la-Stats.lo `test -f 'Stats.cpp' || echo '$(srcdir)/'`Stats.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Stats.Tpo $(DEPDIR)/libACE_la-Stats.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Stats.cpp' object='libACE_la-Stats.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Stats.lo `test -f 'Stats.cpp' || echo '$(srcdir)/'`Stats.cpp - -libACE_la-String_Base_Const.lo: String_Base_Const.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-String_Base_Const.lo -MD -MP -MF $(DEPDIR)/libACE_la-String_Base_Const.Tpo -c -o libACE_la-String_Base_Const.lo `test -f 'String_Base_Const.cpp' || echo '$(srcdir)/'`String_Base_Const.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-String_Base_Const.Tpo $(DEPDIR)/libACE_la-String_Base_Const.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='String_Base_Const.cpp' object='libACE_la-String_Base_Const.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-String_Base_Const.lo `test -f 'String_Base_Const.cpp' || echo '$(srcdir)/'`String_Base_Const.cpp - -libACE_la-Svc_Conf_Lexer.lo: Svc_Conf_Lexer.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Svc_Conf_Lexer.lo -MD -MP -MF $(DEPDIR)/libACE_la-Svc_Conf_Lexer.Tpo -c -o libACE_la-Svc_Conf_Lexer.lo `test -f 'Svc_Conf_Lexer.cpp' || echo '$(srcdir)/'`Svc_Conf_Lexer.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Svc_Conf_Lexer.Tpo $(DEPDIR)/libACE_la-Svc_Conf_Lexer.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Svc_Conf_Lexer.cpp' object='libACE_la-Svc_Conf_Lexer.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Svc_Conf_Lexer.lo `test -f 'Svc_Conf_Lexer.cpp' || echo '$(srcdir)/'`Svc_Conf_Lexer.cpp - -libACE_la-Svc_Conf_y.lo: Svc_Conf_y.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Svc_Conf_y.lo -MD -MP -MF $(DEPDIR)/libACE_la-Svc_Conf_y.Tpo -c -o libACE_la-Svc_Conf_y.lo `test -f 'Svc_Conf_y.cpp' || echo '$(srcdir)/'`Svc_Conf_y.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Svc_Conf_y.Tpo $(DEPDIR)/libACE_la-Svc_Conf_y.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Svc_Conf_y.cpp' object='libACE_la-Svc_Conf_y.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Svc_Conf_y.lo `test -f 'Svc_Conf_y.cpp' || echo '$(srcdir)/'`Svc_Conf_y.cpp - -libACE_la-Synch_Options.lo: Synch_Options.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Synch_Options.lo -MD -MP -MF $(DEPDIR)/libACE_la-Synch_Options.Tpo -c -o libACE_la-Synch_Options.lo `test -f 'Synch_Options.cpp' || echo '$(srcdir)/'`Synch_Options.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Synch_Options.Tpo $(DEPDIR)/libACE_la-Synch_Options.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Synch_Options.cpp' object='libACE_la-Synch_Options.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Synch_Options.lo `test -f 'Synch_Options.cpp' || echo '$(srcdir)/'`Synch_Options.cpp - -libACE_la-System_Time.lo: System_Time.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-System_Time.lo -MD -MP -MF $(DEPDIR)/libACE_la-System_Time.Tpo -c -o libACE_la-System_Time.lo `test -f 'System_Time.cpp' || echo '$(srcdir)/'`System_Time.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-System_Time.Tpo $(DEPDIR)/libACE_la-System_Time.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='System_Time.cpp' object='libACE_la-System_Time.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-System_Time.lo `test -f 'System_Time.cpp' || echo '$(srcdir)/'`System_Time.cpp - -libACE_la-TLI.lo: TLI.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-TLI.lo -MD -MP -MF $(DEPDIR)/libACE_la-TLI.Tpo -c -o libACE_la-TLI.lo `test -f 'TLI.cpp' || echo '$(srcdir)/'`TLI.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-TLI.Tpo $(DEPDIR)/libACE_la-TLI.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='TLI.cpp' object='libACE_la-TLI.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-TLI.lo `test -f 'TLI.cpp' || echo '$(srcdir)/'`TLI.cpp - -libACE_la-TLI_Acceptor.lo: TLI_Acceptor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-TLI_Acceptor.lo -MD -MP -MF $(DEPDIR)/libACE_la-TLI_Acceptor.Tpo -c -o libACE_la-TLI_Acceptor.lo `test -f 'TLI_Acceptor.cpp' || echo '$(srcdir)/'`TLI_Acceptor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-TLI_Acceptor.Tpo $(DEPDIR)/libACE_la-TLI_Acceptor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='TLI_Acceptor.cpp' object='libACE_la-TLI_Acceptor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-TLI_Acceptor.lo `test -f 'TLI_Acceptor.cpp' || echo '$(srcdir)/'`TLI_Acceptor.cpp - -libACE_la-TLI_Connector.lo: TLI_Connector.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-TLI_Connector.lo -MD -MP -MF $(DEPDIR)/libACE_la-TLI_Connector.Tpo -c -o libACE_la-TLI_Connector.lo `test -f 'TLI_Connector.cpp' || echo '$(srcdir)/'`TLI_Connector.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-TLI_Connector.Tpo $(DEPDIR)/libACE_la-TLI_Connector.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='TLI_Connector.cpp' object='libACE_la-TLI_Connector.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-TLI_Connector.lo `test -f 'TLI_Connector.cpp' || echo '$(srcdir)/'`TLI_Connector.cpp - -libACE_la-TLI_Stream.lo: TLI_Stream.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-TLI_Stream.lo -MD -MP -MF $(DEPDIR)/libACE_la-TLI_Stream.Tpo -c -o libACE_la-TLI_Stream.lo `test -f 'TLI_Stream.cpp' || echo '$(srcdir)/'`TLI_Stream.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-TLI_Stream.Tpo $(DEPDIR)/libACE_la-TLI_Stream.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='TLI_Stream.cpp' object='libACE_la-TLI_Stream.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-TLI_Stream.lo `test -f 'TLI_Stream.cpp' || echo '$(srcdir)/'`TLI_Stream.cpp - -libACE_la-TP_Reactor.lo: TP_Reactor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-TP_Reactor.lo -MD -MP -MF $(DEPDIR)/libACE_la-TP_Reactor.Tpo -c -o libACE_la-TP_Reactor.lo `test -f 'TP_Reactor.cpp' || echo '$(srcdir)/'`TP_Reactor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-TP_Reactor.Tpo $(DEPDIR)/libACE_la-TP_Reactor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='TP_Reactor.cpp' object='libACE_la-TP_Reactor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-TP_Reactor.lo `test -f 'TP_Reactor.cpp' || echo '$(srcdir)/'`TP_Reactor.cpp - -libACE_la-TSS_Adapter.lo: TSS_Adapter.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-TSS_Adapter.lo -MD -MP -MF $(DEPDIR)/libACE_la-TSS_Adapter.Tpo -c -o libACE_la-TSS_Adapter.lo `test -f 'TSS_Adapter.cpp' || echo '$(srcdir)/'`TSS_Adapter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-TSS_Adapter.Tpo $(DEPDIR)/libACE_la-TSS_Adapter.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='TSS_Adapter.cpp' object='libACE_la-TSS_Adapter.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-TSS_Adapter.lo `test -f 'TSS_Adapter.cpp' || echo '$(srcdir)/'`TSS_Adapter.cpp - -libACE_la-TTY_IO.lo: TTY_IO.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-TTY_IO.lo -MD -MP -MF $(DEPDIR)/libACE_la-TTY_IO.Tpo -c -o libACE_la-TTY_IO.lo `test -f 'TTY_IO.cpp' || echo '$(srcdir)/'`TTY_IO.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-TTY_IO.Tpo $(DEPDIR)/libACE_la-TTY_IO.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='TTY_IO.cpp' object='libACE_la-TTY_IO.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-TTY_IO.lo `test -f 'TTY_IO.cpp' || echo '$(srcdir)/'`TTY_IO.cpp - -libACE_la-Task.lo: Task.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Task.lo -MD -MP -MF $(DEPDIR)/libACE_la-Task.Tpo -c -o libACE_la-Task.lo `test -f 'Task.cpp' || echo '$(srcdir)/'`Task.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Task.Tpo $(DEPDIR)/libACE_la-Task.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Task.cpp' object='libACE_la-Task.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Task.lo `test -f 'Task.cpp' || echo '$(srcdir)/'`Task.cpp - -libACE_la-Thread.lo: Thread.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Thread.lo -MD -MP -MF $(DEPDIR)/libACE_la-Thread.Tpo -c -o libACE_la-Thread.lo `test -f 'Thread.cpp' || echo '$(srcdir)/'`Thread.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Thread.Tpo $(DEPDIR)/libACE_la-Thread.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Thread.cpp' object='libACE_la-Thread.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Thread.lo `test -f 'Thread.cpp' || echo '$(srcdir)/'`Thread.cpp - -libACE_la-Thread_Adapter.lo: Thread_Adapter.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Thread_Adapter.lo -MD -MP -MF $(DEPDIR)/libACE_la-Thread_Adapter.Tpo -c -o libACE_la-Thread_Adapter.lo `test -f 'Thread_Adapter.cpp' || echo '$(srcdir)/'`Thread_Adapter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Thread_Adapter.Tpo $(DEPDIR)/libACE_la-Thread_Adapter.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Thread_Adapter.cpp' object='libACE_la-Thread_Adapter.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Thread_Adapter.lo `test -f 'Thread_Adapter.cpp' || echo '$(srcdir)/'`Thread_Adapter.cpp - -libACE_la-Thread_Control.lo: Thread_Control.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Thread_Control.lo -MD -MP -MF $(DEPDIR)/libACE_la-Thread_Control.Tpo -c -o libACE_la-Thread_Control.lo `test -f 'Thread_Control.cpp' || echo '$(srcdir)/'`Thread_Control.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Thread_Control.Tpo $(DEPDIR)/libACE_la-Thread_Control.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Thread_Control.cpp' object='libACE_la-Thread_Control.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Thread_Control.lo `test -f 'Thread_Control.cpp' || echo '$(srcdir)/'`Thread_Control.cpp - -libACE_la-Thread_Exit.lo: Thread_Exit.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Thread_Exit.lo -MD -MP -MF $(DEPDIR)/libACE_la-Thread_Exit.Tpo -c -o libACE_la-Thread_Exit.lo `test -f 'Thread_Exit.cpp' || echo '$(srcdir)/'`Thread_Exit.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Thread_Exit.Tpo $(DEPDIR)/libACE_la-Thread_Exit.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Thread_Exit.cpp' object='libACE_la-Thread_Exit.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Thread_Exit.lo `test -f 'Thread_Exit.cpp' || echo '$(srcdir)/'`Thread_Exit.cpp - -libACE_la-Thread_Hook.lo: Thread_Hook.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Thread_Hook.lo -MD -MP -MF $(DEPDIR)/libACE_la-Thread_Hook.Tpo -c -o libACE_la-Thread_Hook.lo `test -f 'Thread_Hook.cpp' || echo '$(srcdir)/'`Thread_Hook.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Thread_Hook.Tpo $(DEPDIR)/libACE_la-Thread_Hook.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Thread_Hook.cpp' object='libACE_la-Thread_Hook.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Thread_Hook.lo `test -f 'Thread_Hook.cpp' || echo '$(srcdir)/'`Thread_Hook.cpp - -libACE_la-Thread_Manager.lo: Thread_Manager.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Thread_Manager.lo -MD -MP -MF $(DEPDIR)/libACE_la-Thread_Manager.Tpo -c -o libACE_la-Thread_Manager.lo `test -f 'Thread_Manager.cpp' || echo '$(srcdir)/'`Thread_Manager.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Thread_Manager.Tpo $(DEPDIR)/libACE_la-Thread_Manager.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Thread_Manager.cpp' object='libACE_la-Thread_Manager.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Thread_Manager.lo `test -f 'Thread_Manager.cpp' || echo '$(srcdir)/'`Thread_Manager.cpp - -libACE_la-Thread_Mutex.lo: Thread_Mutex.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Thread_Mutex.lo -MD -MP -MF $(DEPDIR)/libACE_la-Thread_Mutex.Tpo -c -o libACE_la-Thread_Mutex.lo `test -f 'Thread_Mutex.cpp' || echo '$(srcdir)/'`Thread_Mutex.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Thread_Mutex.Tpo $(DEPDIR)/libACE_la-Thread_Mutex.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Thread_Mutex.cpp' object='libACE_la-Thread_Mutex.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Thread_Mutex.lo `test -f 'Thread_Mutex.cpp' || echo '$(srcdir)/'`Thread_Mutex.cpp - -libACE_la-Thread_Semaphore.lo: Thread_Semaphore.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Thread_Semaphore.lo -MD -MP -MF $(DEPDIR)/libACE_la-Thread_Semaphore.Tpo -c -o libACE_la-Thread_Semaphore.lo `test -f 'Thread_Semaphore.cpp' || echo '$(srcdir)/'`Thread_Semaphore.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Thread_Semaphore.Tpo $(DEPDIR)/libACE_la-Thread_Semaphore.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Thread_Semaphore.cpp' object='libACE_la-Thread_Semaphore.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Thread_Semaphore.lo `test -f 'Thread_Semaphore.cpp' || echo '$(srcdir)/'`Thread_Semaphore.cpp - -libACE_la-Throughput_Stats.lo: Throughput_Stats.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Throughput_Stats.lo -MD -MP -MF $(DEPDIR)/libACE_la-Throughput_Stats.Tpo -c -o libACE_la-Throughput_Stats.lo `test -f 'Throughput_Stats.cpp' || echo '$(srcdir)/'`Throughput_Stats.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Throughput_Stats.Tpo $(DEPDIR)/libACE_la-Throughput_Stats.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Throughput_Stats.cpp' object='libACE_la-Throughput_Stats.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Throughput_Stats.lo `test -f 'Throughput_Stats.cpp' || echo '$(srcdir)/'`Throughput_Stats.cpp - -libACE_la-Time_Value.lo: Time_Value.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Time_Value.lo -MD -MP -MF $(DEPDIR)/libACE_la-Time_Value.Tpo -c -o libACE_la-Time_Value.lo `test -f 'Time_Value.cpp' || echo '$(srcdir)/'`Time_Value.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Time_Value.Tpo $(DEPDIR)/libACE_la-Time_Value.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Time_Value.cpp' object='libACE_la-Time_Value.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Time_Value.lo `test -f 'Time_Value.cpp' || echo '$(srcdir)/'`Time_Value.cpp - -libACE_la-Timeprobe.lo: Timeprobe.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Timeprobe.lo -MD -MP -MF $(DEPDIR)/libACE_la-Timeprobe.Tpo -c -o libACE_la-Timeprobe.lo `test -f 'Timeprobe.cpp' || echo '$(srcdir)/'`Timeprobe.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Timeprobe.Tpo $(DEPDIR)/libACE_la-Timeprobe.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Timeprobe.cpp' object='libACE_la-Timeprobe.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Timeprobe.lo `test -f 'Timeprobe.cpp' || echo '$(srcdir)/'`Timeprobe.cpp - -libACE_la-Token.lo: Token.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Token.lo -MD -MP -MF $(DEPDIR)/libACE_la-Token.Tpo -c -o libACE_la-Token.lo `test -f 'Token.cpp' || echo '$(srcdir)/'`Token.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Token.Tpo $(DEPDIR)/libACE_la-Token.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Token.cpp' object='libACE_la-Token.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Token.lo `test -f 'Token.cpp' || echo '$(srcdir)/'`Token.cpp - -libACE_la-Token_Collection.lo: Token_Collection.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Token_Collection.lo -MD -MP -MF $(DEPDIR)/libACE_la-Token_Collection.Tpo -c -o libACE_la-Token_Collection.lo `test -f 'Token_Collection.cpp' || echo '$(srcdir)/'`Token_Collection.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Token_Collection.Tpo $(DEPDIR)/libACE_la-Token_Collection.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Token_Collection.cpp' object='libACE_la-Token_Collection.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Token_Collection.lo `test -f 'Token_Collection.cpp' || echo '$(srcdir)/'`Token_Collection.cpp - -libACE_la-Token_Invariants.lo: Token_Invariants.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Token_Invariants.lo -MD -MP -MF $(DEPDIR)/libACE_la-Token_Invariants.Tpo -c -o libACE_la-Token_Invariants.lo `test -f 'Token_Invariants.cpp' || echo '$(srcdir)/'`Token_Invariants.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Token_Invariants.Tpo $(DEPDIR)/libACE_la-Token_Invariants.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Token_Invariants.cpp' object='libACE_la-Token_Invariants.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Token_Invariants.lo `test -f 'Token_Invariants.cpp' || echo '$(srcdir)/'`Token_Invariants.cpp - -libACE_la-Token_Manager.lo: Token_Manager.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Token_Manager.lo -MD -MP -MF $(DEPDIR)/libACE_la-Token_Manager.Tpo -c -o libACE_la-Token_Manager.lo `test -f 'Token_Manager.cpp' || echo '$(srcdir)/'`Token_Manager.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Token_Manager.Tpo $(DEPDIR)/libACE_la-Token_Manager.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Token_Manager.cpp' object='libACE_la-Token_Manager.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Token_Manager.lo `test -f 'Token_Manager.cpp' || echo '$(srcdir)/'`Token_Manager.cpp - -libACE_la-Token_Request_Reply.lo: Token_Request_Reply.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Token_Request_Reply.lo -MD -MP -MF $(DEPDIR)/libACE_la-Token_Request_Reply.Tpo -c -o libACE_la-Token_Request_Reply.lo `test -f 'Token_Request_Reply.cpp' || echo '$(srcdir)/'`Token_Request_Reply.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Token_Request_Reply.Tpo $(DEPDIR)/libACE_la-Token_Request_Reply.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Token_Request_Reply.cpp' object='libACE_la-Token_Request_Reply.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Token_Request_Reply.lo `test -f 'Token_Request_Reply.cpp' || echo '$(srcdir)/'`Token_Request_Reply.cpp - -libACE_la-Trace.lo: Trace.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-Trace.lo -MD -MP -MF $(DEPDIR)/libACE_la-Trace.Tpo -c -o libACE_la-Trace.lo `test -f 'Trace.cpp' || echo '$(srcdir)/'`Trace.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-Trace.Tpo $(DEPDIR)/libACE_la-Trace.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Trace.cpp' object='libACE_la-Trace.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-Trace.lo `test -f 'Trace.cpp' || echo '$(srcdir)/'`Trace.cpp - -libACE_la-UNIX_Addr.lo: UNIX_Addr.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-UNIX_Addr.lo -MD -MP -MF $(DEPDIR)/libACE_la-UNIX_Addr.Tpo -c -o libACE_la-UNIX_Addr.lo `test -f 'UNIX_Addr.cpp' || echo '$(srcdir)/'`UNIX_Addr.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-UNIX_Addr.Tpo $(DEPDIR)/libACE_la-UNIX_Addr.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='UNIX_Addr.cpp' object='libACE_la-UNIX_Addr.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-UNIX_Addr.lo `test -f 'UNIX_Addr.cpp' || echo '$(srcdir)/'`UNIX_Addr.cpp - -libACE_la-UPIPE_Acceptor.lo: UPIPE_Acceptor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-UPIPE_Acceptor.lo -MD -MP -MF $(DEPDIR)/libACE_la-UPIPE_Acceptor.Tpo -c -o libACE_la-UPIPE_Acceptor.lo `test -f 'UPIPE_Acceptor.cpp' || echo '$(srcdir)/'`UPIPE_Acceptor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-UPIPE_Acceptor.Tpo $(DEPDIR)/libACE_la-UPIPE_Acceptor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='UPIPE_Acceptor.cpp' object='libACE_la-UPIPE_Acceptor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-UPIPE_Acceptor.lo `test -f 'UPIPE_Acceptor.cpp' || echo '$(srcdir)/'`UPIPE_Acceptor.cpp - -libACE_la-UPIPE_Connector.lo: UPIPE_Connector.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-UPIPE_Connector.lo -MD -MP -MF $(DEPDIR)/libACE_la-UPIPE_Connector.Tpo -c -o libACE_la-UPIPE_Connector.lo `test -f 'UPIPE_Connector.cpp' || echo '$(srcdir)/'`UPIPE_Connector.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-UPIPE_Connector.Tpo $(DEPDIR)/libACE_la-UPIPE_Connector.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='UPIPE_Connector.cpp' object='libACE_la-UPIPE_Connector.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-UPIPE_Connector.lo `test -f 'UPIPE_Connector.cpp' || echo '$(srcdir)/'`UPIPE_Connector.cpp - -libACE_la-UPIPE_Stream.lo: UPIPE_Stream.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-UPIPE_Stream.lo -MD -MP -MF $(DEPDIR)/libACE_la-UPIPE_Stream.Tpo -c -o libACE_la-UPIPE_Stream.lo `test -f 'UPIPE_Stream.cpp' || echo '$(srcdir)/'`UPIPE_Stream.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-UPIPE_Stream.Tpo $(DEPDIR)/libACE_la-UPIPE_Stream.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='UPIPE_Stream.cpp' object='libACE_la-UPIPE_Stream.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-UPIPE_Stream.lo `test -f 'UPIPE_Stream.cpp' || echo '$(srcdir)/'`UPIPE_Stream.cpp - -libACE_la-UTF16_Encoding_Converter.lo: UTF16_Encoding_Converter.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-UTF16_Encoding_Converter.lo -MD -MP -MF $(DEPDIR)/libACE_la-UTF16_Encoding_Converter.Tpo -c -o libACE_la-UTF16_Encoding_Converter.lo `test -f 'UTF16_Encoding_Converter.cpp' || echo '$(srcdir)/'`UTF16_Encoding_Converter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-UTF16_Encoding_Converter.Tpo $(DEPDIR)/libACE_la-UTF16_Encoding_Converter.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='UTF16_Encoding_Converter.cpp' object='libACE_la-UTF16_Encoding_Converter.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-UTF16_Encoding_Converter.lo `test -f 'UTF16_Encoding_Converter.cpp' || echo '$(srcdir)/'`UTF16_Encoding_Converter.cpp - -libACE_la-UTF32_Encoding_Converter.lo: UTF32_Encoding_Converter.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-UTF32_Encoding_Converter.lo -MD -MP -MF $(DEPDIR)/libACE_la-UTF32_Encoding_Converter.Tpo -c -o libACE_la-UTF32_Encoding_Converter.lo `test -f 'UTF32_Encoding_Converter.cpp' || echo '$(srcdir)/'`UTF32_Encoding_Converter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-UTF32_Encoding_Converter.Tpo $(DEPDIR)/libACE_la-UTF32_Encoding_Converter.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='UTF32_Encoding_Converter.cpp' object='libACE_la-UTF32_Encoding_Converter.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-UTF32_Encoding_Converter.lo `test -f 'UTF32_Encoding_Converter.cpp' || echo '$(srcdir)/'`UTF32_Encoding_Converter.cpp - -libACE_la-UTF8_Encoding_Converter.lo: UTF8_Encoding_Converter.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-UTF8_Encoding_Converter.lo -MD -MP -MF $(DEPDIR)/libACE_la-UTF8_Encoding_Converter.Tpo -c -o libACE_la-UTF8_Encoding_Converter.lo `test -f 'UTF8_Encoding_Converter.cpp' || echo '$(srcdir)/'`UTF8_Encoding_Converter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-UTF8_Encoding_Converter.Tpo $(DEPDIR)/libACE_la-UTF8_Encoding_Converter.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='UTF8_Encoding_Converter.cpp' object='libACE_la-UTF8_Encoding_Converter.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-UTF8_Encoding_Converter.lo `test -f 'UTF8_Encoding_Converter.cpp' || echo '$(srcdir)/'`UTF8_Encoding_Converter.cpp - -libACE_la-UUID.lo: UUID.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-UUID.lo -MD -MP -MF $(DEPDIR)/libACE_la-UUID.Tpo -c -o libACE_la-UUID.lo `test -f 'UUID.cpp' || echo '$(srcdir)/'`UUID.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-UUID.Tpo $(DEPDIR)/libACE_la-UUID.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='UUID.cpp' object='libACE_la-UUID.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-UUID.lo `test -f 'UUID.cpp' || echo '$(srcdir)/'`UUID.cpp - -libACE_la-WFMO_Reactor.lo: WFMO_Reactor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-WFMO_Reactor.lo -MD -MP -MF $(DEPDIR)/libACE_la-WFMO_Reactor.Tpo -c -o libACE_la-WFMO_Reactor.lo `test -f 'WFMO_Reactor.cpp' || echo '$(srcdir)/'`WFMO_Reactor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-WFMO_Reactor.Tpo $(DEPDIR)/libACE_la-WFMO_Reactor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='WFMO_Reactor.cpp' object='libACE_la-WFMO_Reactor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-WFMO_Reactor.lo `test -f 'WFMO_Reactor.cpp' || echo '$(srcdir)/'`WFMO_Reactor.cpp - -libACE_la-WIN32_Asynch_IO.lo: WIN32_Asynch_IO.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-WIN32_Asynch_IO.lo -MD -MP -MF $(DEPDIR)/libACE_la-WIN32_Asynch_IO.Tpo -c -o libACE_la-WIN32_Asynch_IO.lo `test -f 'WIN32_Asynch_IO.cpp' || echo '$(srcdir)/'`WIN32_Asynch_IO.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-WIN32_Asynch_IO.Tpo $(DEPDIR)/libACE_la-WIN32_Asynch_IO.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='WIN32_Asynch_IO.cpp' object='libACE_la-WIN32_Asynch_IO.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-WIN32_Asynch_IO.lo `test -f 'WIN32_Asynch_IO.cpp' || echo '$(srcdir)/'`WIN32_Asynch_IO.cpp - -libACE_la-WIN32_Proactor.lo: WIN32_Proactor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-WIN32_Proactor.lo -MD -MP -MF $(DEPDIR)/libACE_la-WIN32_Proactor.Tpo -c -o libACE_la-WIN32_Proactor.lo `test -f 'WIN32_Proactor.cpp' || echo '$(srcdir)/'`WIN32_Proactor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-WIN32_Proactor.Tpo $(DEPDIR)/libACE_la-WIN32_Proactor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='WIN32_Proactor.cpp' object='libACE_la-WIN32_Proactor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-WIN32_Proactor.lo `test -f 'WIN32_Proactor.cpp' || echo '$(srcdir)/'`WIN32_Proactor.cpp - -libACE_la-XML_Svc_Conf.lo: XML_Svc_Conf.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-XML_Svc_Conf.lo -MD -MP -MF $(DEPDIR)/libACE_la-XML_Svc_Conf.Tpo -c -o libACE_la-XML_Svc_Conf.lo `test -f 'XML_Svc_Conf.cpp' || echo '$(srcdir)/'`XML_Svc_Conf.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-XML_Svc_Conf.Tpo $(DEPDIR)/libACE_la-XML_Svc_Conf.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='XML_Svc_Conf.cpp' object='libACE_la-XML_Svc_Conf.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-XML_Svc_Conf.lo `test -f 'XML_Svc_Conf.cpp' || echo '$(srcdir)/'`XML_Svc_Conf.cpp - -libACE_la-XTI_ATM_Mcast.lo: XTI_ATM_Mcast.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-XTI_ATM_Mcast.lo -MD -MP -MF $(DEPDIR)/libACE_la-XTI_ATM_Mcast.Tpo -c -o libACE_la-XTI_ATM_Mcast.lo `test -f 'XTI_ATM_Mcast.cpp' || echo '$(srcdir)/'`XTI_ATM_Mcast.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-XTI_ATM_Mcast.Tpo $(DEPDIR)/libACE_la-XTI_ATM_Mcast.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='XTI_ATM_Mcast.cpp' object='libACE_la-XTI_ATM_Mcast.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-XTI_ATM_Mcast.lo `test -f 'XTI_ATM_Mcast.cpp' || echo '$(srcdir)/'`XTI_ATM_Mcast.cpp - -libACE_la-ace_wchar.lo: ace_wchar.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-ace_wchar.lo -MD -MP -MF $(DEPDIR)/libACE_la-ace_wchar.Tpo -c -o libACE_la-ace_wchar.lo `test -f 'ace_wchar.cpp' || echo '$(srcdir)/'`ace_wchar.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-ace_wchar.Tpo $(DEPDIR)/libACE_la-ace_wchar.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ace_wchar.cpp' object='libACE_la-ace_wchar.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-ace_wchar.lo `test -f 'ace_wchar.cpp' || echo '$(srcdir)/'`ace_wchar.cpp - -libACE_la-gethrtime.lo: gethrtime.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_la-gethrtime.lo -MD -MP -MF $(DEPDIR)/libACE_la-gethrtime.Tpo -c -o libACE_la-gethrtime.lo `test -f 'gethrtime.cpp' || echo '$(srcdir)/'`gethrtime.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_la-gethrtime.Tpo $(DEPDIR)/libACE_la-gethrtime.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='gethrtime.cpp' object='libACE_la-gethrtime.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_la-gethrtime.lo `test -f 'gethrtime.cpp' || echo '$(srcdir)/'`gethrtime.cpp - -libACE_FlReactor_la-FlReactor.lo: FlReactor/FlReactor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_FlReactor_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_FlReactor_la-FlReactor.lo -MD -MP -MF $(DEPDIR)/libACE_FlReactor_la-FlReactor.Tpo -c -o libACE_FlReactor_la-FlReactor.lo `test -f 'FlReactor/FlReactor.cpp' || echo '$(srcdir)/'`FlReactor/FlReactor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_FlReactor_la-FlReactor.Tpo $(DEPDIR)/libACE_FlReactor_la-FlReactor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='FlReactor/FlReactor.cpp' object='libACE_FlReactor_la-FlReactor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_FlReactor_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_FlReactor_la-FlReactor.lo `test -f 'FlReactor/FlReactor.cpp' || echo '$(srcdir)/'`FlReactor/FlReactor.cpp - -libACE_QtReactor_la-QtReactor.lo: QtReactor/QtReactor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_QtReactor_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_QtReactor_la-QtReactor.lo -MD -MP -MF $(DEPDIR)/libACE_QtReactor_la-QtReactor.Tpo -c -o libACE_QtReactor_la-QtReactor.lo `test -f 'QtReactor/QtReactor.cpp' || echo '$(srcdir)/'`QtReactor/QtReactor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_QtReactor_la-QtReactor.Tpo $(DEPDIR)/libACE_QtReactor_la-QtReactor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='QtReactor/QtReactor.cpp' object='libACE_QtReactor_la-QtReactor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_QtReactor_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_QtReactor_la-QtReactor.lo `test -f 'QtReactor/QtReactor.cpp' || echo '$(srcdir)/'`QtReactor/QtReactor.cpp - -libACE_QtReactor_la-QtReactor_moc.lo: QtReactor/QtReactor_moc.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_QtReactor_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_QtReactor_la-QtReactor_moc.lo -MD -MP -MF $(DEPDIR)/libACE_QtReactor_la-QtReactor_moc.Tpo -c -o libACE_QtReactor_la-QtReactor_moc.lo `test -f 'QtReactor/QtReactor_moc.cpp' || echo '$(srcdir)/'`QtReactor/QtReactor_moc.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_QtReactor_la-QtReactor_moc.Tpo $(DEPDIR)/libACE_QtReactor_la-QtReactor_moc.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='QtReactor/QtReactor_moc.cpp' object='libACE_QtReactor_la-QtReactor_moc.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_QtReactor_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_QtReactor_la-QtReactor_moc.lo `test -f 'QtReactor/QtReactor_moc.cpp' || echo '$(srcdir)/'`QtReactor/QtReactor_moc.cpp - -libACE_TkReactor_la-TkReactor.lo: TkReactor/TkReactor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_TkReactor_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_TkReactor_la-TkReactor.lo -MD -MP -MF $(DEPDIR)/libACE_TkReactor_la-TkReactor.Tpo -c -o libACE_TkReactor_la-TkReactor.lo `test -f 'TkReactor/TkReactor.cpp' || echo '$(srcdir)/'`TkReactor/TkReactor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_TkReactor_la-TkReactor.Tpo $(DEPDIR)/libACE_TkReactor_la-TkReactor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='TkReactor/TkReactor.cpp' object='libACE_TkReactor_la-TkReactor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_TkReactor_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_TkReactor_la-TkReactor.lo `test -f 'TkReactor/TkReactor.cpp' || echo '$(srcdir)/'`TkReactor/TkReactor.cpp - -libACE_XtReactor_la-XtReactor.lo: XtReactor/XtReactor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_XtReactor_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_XtReactor_la-XtReactor.lo -MD -MP -MF $(DEPDIR)/libACE_XtReactor_la-XtReactor.Tpo -c -o libACE_XtReactor_la-XtReactor.lo `test -f 'XtReactor/XtReactor.cpp' || echo '$(srcdir)/'`XtReactor/XtReactor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_XtReactor_la-XtReactor.Tpo $(DEPDIR)/libACE_XtReactor_la-XtReactor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='XtReactor/XtReactor.cpp' object='libACE_XtReactor_la-XtReactor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_XtReactor_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_XtReactor_la-XtReactor.lo `test -f 'XtReactor/XtReactor.cpp' || echo '$(srcdir)/'`XtReactor/XtReactor.cpp - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-pkgconfigDATA: $(pkgconfig_DATA) - @$(NORMAL_INSTALL) - test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" - @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ - done - -uninstall-pkgconfigDATA: - @$(NORMAL_UNINSTALL) - @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files -install-nobase_includeHEADERS: $(nobase_include_HEADERS) - @$(NORMAL_INSTALL) - test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)" - @list='$(nobase_include_HEADERS)'; test -n "$(includedir)" || list=; \ - $(am__nobase_list) | while read dir files; do \ - xfiles=; for file in $$files; do \ - if test -f "$$file"; then xfiles="$$xfiles $$file"; \ - else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \ - test -z "$$xfiles" || { \ - test "x$$dir" = x. || { \ - echo "$(MKDIR_P) '$(DESTDIR)$(includedir)/$$dir'"; \ - $(MKDIR_P) "$(DESTDIR)$(includedir)/$$dir"; }; \ - echo " $(INSTALL_HEADER) $$xfiles '$(DESTDIR)$(includedir)/$$dir'"; \ - $(INSTALL_HEADER) $$xfiles "$(DESTDIR)$(includedir)/$$dir" || exit $$?; }; \ - done - -uninstall-nobase_includeHEADERS: - @$(NORMAL_UNINSTALL) - @list='$(nobase_include_HEADERS)'; test -n "$(includedir)" || list=; \ - $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(includedir)" && rm -f $$files - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -$(RECURSIVE_CLEAN_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - set x; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ - $(am__relativize); \ - new_distdir=$$reldir; \ - dir1=$$subdir; dir2="$(top_distdir)"; \ - $(am__relativize); \ - new_top_distdir=$$reldir; \ - echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ - echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ - ($(am__cd) $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$new_top_distdir" \ - distdir="$$new_distdir" \ - am__remove_distdir=: \ - am__skip_length_check=: \ - am__skip_mode_fix=: \ - distdir) \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) check-recursive -all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) config.h -installdirs: installdirs-recursive -installdirs-am: - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -clean: clean-recursive - -clean-am: clean-generic clean-libLTLIBRARIES clean-libtool clean-local \ - mostlyclean-am - -distclean: distclean-recursive - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-hdr distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -html-am: - -info: info-recursive - -info-am: - -install-data-am: install-nobase_includeHEADERS install-pkgconfigDATA - -install-dvi: install-dvi-recursive - -install-dvi-am: - -install-exec-am: install-libLTLIBRARIES - -install-html: install-html-recursive - -install-html-am: - -install-info: install-info-recursive - -install-info-am: - -install-man: - -install-pdf: install-pdf-recursive - -install-pdf-am: - -install-ps: install-ps-recursive - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: uninstall-libLTLIBRARIES uninstall-nobase_includeHEADERS \ - uninstall-pkgconfigDATA - -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \ - ctags-recursive install install-am install-strip \ - tags-recursive - -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ - all all-am check check-am clean clean-generic \ - clean-libLTLIBRARIES clean-libtool clean-local ctags \ - ctags-recursive distclean distclean-compile distclean-generic \ - distclean-hdr distclean-libtool distclean-tags distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-html install-html-am \ - install-info install-info-am install-libLTLIBRARIES \ - install-man install-nobase_includeHEADERS install-pdf \ - install-pdf-am install-pkgconfigDATA install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - installdirs-am maintainer-clean maintainer-clean-generic \ - mostlyclean mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ - uninstall uninstall-am uninstall-libLTLIBRARIES \ - uninstall-nobase_includeHEADERS uninstall-pkgconfigDATA - - -@BUILD_ACE_FOR_TAO_FALSE@ACE.pc: ${top_builddir}/config.status ${srcdir}/ACE.pc.in -@BUILD_ACE_FOR_TAO_FALSE@ ${top_builddir}/config.status --file $@:${srcdir}/ACE.pc.in - -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@ACE_FlReactor.pc: ${top_builddir}/config.status ${srcdir}/FlReactor/ACE_FlReactor.pc.in -@BUILD_FL_TRUE@@BUILD_GL_TRUE@@BUILD_X11_TRUE@ ${top_builddir}/config.status --file $@:${srcdir}/FlReactor/ACE_FlReactor.pc.in - -@BUILD_QT_TRUE@QtReactor/QtReactor_moc.cpp: $(srcdir)/QtReactor/QtReactor.h -@BUILD_QT_TRUE@ $(QTDIR)/bin/moc $(srcdir)/QtReactor/QtReactor.h -o QtReactor/QtReactor_moc.cpp - -@BUILD_QT_TRUE@ACE_QtReactor.pc: ${top_builddir}/config.status ${srcdir}/QtReactor/ACE_QtReactor.pc.in -@BUILD_QT_TRUE@ ${top_builddir}/config.status --file $@:${srcdir}/QtReactor/ACE_QtReactor.pc.in - -@BUILD_TK_TRUE@ACE_TkReactor.pc: ${top_builddir}/config.status ${srcdir}/TkReactor/ACE_TkReactor.pc.in -@BUILD_TK_TRUE@ ${top_builddir}/config.status --file $@:${srcdir}/TkReactor/ACE_TkReactor.pc.in - -@BUILD_X11_TRUE@@BUILD_XT_TRUE@ACE_XtReactor.pc: ${top_builddir}/config.status ${srcdir}/XtReactor/ACE_XtReactor.pc.in -@BUILD_X11_TRUE@@BUILD_XT_TRUE@ ${top_builddir}/config.status --file $@:${srcdir}/XtReactor/ACE_XtReactor.pc.in - -clean-local: - -rm -f *~ *.bak *.rpo *.sym lib*.*_pure_* core core.* - -rm -f gcctemp.c gcctemp so_locations *.ics - -rm -rf cxx_repository ptrepository ti_files - -rm -rf templateregistry ir.out - -rm -rf ptrepository SunWS_cache Templates.DB - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/dep/ACE_wrappers/ace/Module.inl b/dep/ACE_wrappers/ace/Module.inl deleted file mode 100644 index 62e4929a2..000000000 --- a/dep/ACE_wrappers/ace/Module.inl +++ /dev/null @@ -1,65 +0,0 @@ -// -*- C++ -*- -// -// $Id: Module.inl 80826 2008-03-04 14:51:23Z wotte $ - -#include "ace/OS_NS_string.h" - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -template ACE_INLINE void * -ACE_Module::arg (void) const -{ - ACE_TRACE ("ACE_Module::arg"); - return this->arg_; -} - -template ACE_INLINE void -ACE_Module::arg (void *a) -{ - ACE_TRACE ("ACE_Module::arg"); - this->arg_ = a; -} - -template ACE_INLINE const ACE_TCHAR * -ACE_Module::name (void) const -{ - ACE_TRACE ("ACE_Module::name"); - return this->name_; -} - -template ACE_INLINE void -ACE_Module::name (const ACE_TCHAR *n) -{ - ACE_TRACE ("ACE_Module::name"); - ACE_OS::strsncpy (this->name_, n, MAXPATHLEN); -} - -template ACE_INLINE ACE_Task * -ACE_Module::writer (void) -{ - ACE_TRACE ("ACE_Module::writer"); - return this->q_pair_[1]; -} - -template ACE_INLINE ACE_Task * -ACE_Module::reader (void) -{ - ACE_TRACE ("ACE_Module::reader"); - return this->q_pair_[0]; -} - -template ACE_INLINE ACE_Module * -ACE_Module::next (void) -{ - ACE_TRACE ("ACE_Module::next"); - return this->next_; -} - -template ACE_INLINE void -ACE_Module::next (ACE_Module *m) -{ - ACE_TRACE ("ACE_Module::next"); - this->next_ = m; -} - -ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/ACE_wrappers/ace/Monitor_Control/GNUmakefile b/dep/ACE_wrappers/ace/Monitor_Control/GNUmakefile deleted file mode 100644 index de046117f..000000000 --- a/dep/ACE_wrappers/ace/Monitor_Control/GNUmakefile +++ /dev/null @@ -1,35 +0,0 @@ -# -*- makefile -*- -#---------------------------------------------------------------------------- -# GNU ACE Workspace -# -# $Id: GNUACEWorkspaceCreator.pm 91813 2010-09-17 07:52:52Z johnnyw $ -# -# This file was generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -# MPC Command: -# /tmp/DOC_ROOT/stage-1367/ACE_wrappers/bin/mwc.pl -type gnuace -exclude "TAO/TAO_*.mwc,TAO/CIAO/CIAO_*.mwc" -recurse -hierarchy -relative ACE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers -relative TAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO -relative CIAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/CIAO -relative DANCE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/DAnCE -# -#---------------------------------------------------------------------------- - -MAKEFILE = GNUmakefile - -ifeq ($(findstring k,$(MAKEFLAGS)),k) - KEEP_GOING = - -endif - -include $(ACE_ROOT)/include/makeinclude/macros.GNU - -all: Monitor_Control - -REMAINING_TARGETS := $(filter-out all,$(TARGETS_NESTED:.nested=)) $(CUSTOM_TARGETS) - -$(REMAINING_TARGETS): - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.Monitor_Control $(@) - -.PHONY: Monitor_Control -Monitor_Control: - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.Monitor_Control all - -project_name_list: - @echo Monitor_Control diff --git a/dep/ACE_wrappers/ace/Monitor_Control/GNUmakefile.Monitor_Control b/dep/ACE_wrappers/ace/Monitor_Control/GNUmakefile.Monitor_Control deleted file mode 100644 index 1fb2109c9..000000000 --- a/dep/ACE_wrappers/ace/Monitor_Control/GNUmakefile.Monitor_Control +++ /dev/null @@ -1,302 +0,0 @@ -# -*- Makefile -*- -#---------------------------------------------------------------------------- -# GNU Makefile -# -# @file GNUmakefile.Monitor_Control -# -# $Id: gnu.mpd 91974 2010-09-23 16:17:42Z mitza $ -# -# This file was automatically generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -#---------------------------------------------------------------------------- -MAKEFILE = GNUmakefile.Monitor_Control -DEPENDENCY_FILE = .depend.Monitor_Control - -LIB_PREFIX ?= lib - -## LIB_CHECKED may be set to empty later on in this file -LIB_UNCHECKED = $(LIB_PREFIX)ACE_Monitor_Control.$(LIBEXT) -LIB_CHECKED = $(LIB_UNCHECKED) -LIB_NAME = $(LIB_PREFIX)ACE_Monitor_Control - -## SHLIB may be set to empty later on in this file -SHLIB_UNCHECKED = $(LIB_PREFIX)ACE_Monitor_Control.$(SOEXT) -SHLIB = $(SHLIB_UNCHECKED) - -FILES = \ - Auto_Update_Starter.cpp \ - BSD_Network_Interface_Monitor.cpp \ - Bytes_Received_Monitor.cpp \ - Bytes_Sent_Monitor.cpp \ - Constraint_Interpreter.cpp \ - Constraint_Visitor.cpp \ - CPU_Load_Monitor.cpp \ - FreeBSD_Network_Interface_Monitor.cpp \ - Linux_Network_Interface_Monitor.cpp \ - Memory_Usage_Monitor.cpp \ - Monitor_Group.cpp \ - Monitor_Query.cpp \ - Null_Network_Interface_Monitor.cpp \ - Num_Threads_Monitor.cpp \ - Packets_Received_Monitor.cpp \ - Packets_Sent_Monitor.cpp \ - Solaris_Network_Interface_Monitor.cpp \ - Windows_Monitor.cpp \ - Windows_Multi_Instance_Monitor.cpp - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- -ACE_SHLIBS = -lACE_ETCL_Parser -lACE_ETCL -lACE - -PRJ_TYPE = library - -COLLAPSE_SLASHES = $(if $(findstring //,$(1)),$(call COLLAPSE_SLASHES,$(subst //,/,$(1))),$(1)) -INSLIB ?= $(call COLLAPSE_SLASHES,../../lib) -ifeq ($(INSLIB),.) - ifeq ($(CURDIR),) - ifeq ($(PWD),) - PWD=$(shell pwd) - endif - else - PWD=$(CURDIR) - endif - INSLIB = $(PWD) -endif -OUTPUT_DIRECTORY = $(INSLIB) - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU - - -GNUACE_PROJECT_VERSION ?= $(ACE_VERSION) - -# To build multiple targets in the same directory on AIX, it works -# best to have a template directory per project. -# The compiler/linker isn't too smart about instantiating templates... -ifdef TEMPINCDIR -TEMPINCDIR := $(TEMPINCDIR)/Monitor_Control -all: $(TEMPINCDIR) -endif - -ifneq ($(OUTPUT_DIRECTORY),) -.PHONY: create_output_directory.local -all: create_output_directory.local -create_output_directory.local: - -@$(MKDIR) "$(OUTPUT_DIRECTORY)" $(ACE_NUL_STDERR) -endif - -# turn off libcheck if doing a dry run -ifeq ($(findstring n, $(MAKEFLAGS)),n) - LIBCHECK = 1 -else - # turn off libcheck if keep going was passed too - ifeq ($(findstring k, $(MAKEFLAGS)),k) - LIBCHECK = 1 - else - LIBCHECK ?= $(filter-out $(foreach lib,ACE_ETCL_Parser ACE_ETCL ACE,$(findstring $(lib),$(foreach libpath,. $(if $(ARCH),./$(ARCH)) ../../lib $(if $(ARCH),../../lib/$(ARCH)) /usr/lib /usr/lib64 $(INSLIB),$(wildcard $(libpath)/$(LIB_PREFIX)$(lib).* $(libpath)/$(lib).lib)))),ACE_ETCL_Parser ACE_ETCL ACE) - ifeq ($(LIBCHECK),) - LIBCHECK = 1 - endif - endif -endif -ifneq ($(wince),1) -ifneq ($(LIBCHECK), 1) - LIB_CHECKED = - SHLIB = - all: lib_warning -endif -else - LIB_CHECKED = - SHLIB = - all: avoid_warning -endif - -ifneq ($(wince),1) -else - LIB_CHECKED = - SHLIB = - all: avoid_warning -endif -LSRC = $(FILES) - -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -ifeq ($(VXWORKSLINK),1) -include $(TGT_DIR)/h/make/rules.$(PRJ_TYPE) -endif - -ifeq ($(VXWORKSLINK),1) -LDLIBPATH = -L. -L../../lib -else -LDFLAGS += -L. $(if $(ARCH),-L./$(ARCH)) -L../../lib $(if $(ARCH),-L../../lib/$(ARCH)) -endif -CPPFLAGS += -I../.. -ifeq ($(shared_libs),1) - ifneq ($(SHLIB),) - CPPFLAGS += -DMONITOR_CONTROL_BUILD_DLL - endif -endif -ifeq ($(static_libs),1) - CPPFLAGS += -DACE_AS_STATIC_LIBS -endif - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- -ifeq (1,$(winnt)) - ACE_SHLIBS += pdh.lib -endif - -lib_warning: - @echo Monitor_Control will not be built due to the following missing library: $(LIBCHECK) >&2 - -ifeq ($(wince),1) -avoids_enabled_macros += wince -endif -avoid_warning: - @echo Monitor_Control will not be built due to the following enabled make macros: $(avoids_enabled_macros)>&2 - -## Some OS's have /bin/test others only have /usr/bin/test -ifeq ($(wildcard /bin/test), /bin/test) - TEST_EXE = /bin/test -else -ifeq ($(wildcard /usr/bin/test), /usr/bin/test) - TEST_EXE = /usr/bin/test -endif -endif - -SPACE = $(should_be_unset) $(should_be_unset) -ifneq ($(GENERATED_DIRTY),) -.PRECIOUS: $(GENERATED_DIRTY) -## If the generated files are anything but source files, we need to -## ensure that those files are generated before we attempt to build anything -## else. -ifeq ($(OBJS_DEPEND_ON_GENERATED),1) -$(VDIR)$(ACE_PCH_FILE) $(addprefix $(VDIR), $(OBJS)): $(GENERATED_DIRTY) -$(VSHDIR)$(ACE_PCH_FILE) $(VSHOBJS): $(GENERATED_DIRTY) -endif -endif - - -realclean: clean -ifneq ($(GENERATED_DIRTY),) - -$(RM) -r $(GENERATED_DIRTY) -endif - -__prebuild__: -ifneq ($(wince),1) - @-: -endif - - -.PHONY: install -install: all -INSTALL_LIB ?= lib -ifneq ($(INSTALL_PREFIX),) -ifneq ($(install_rpath),0) -LDFLAGS += -Wl,-R$(INSTALL_PREFIX)/$(INSTALL_LIB) -endif -endif - -PRJINST_OPTIONS ?= -INST_DIR ?= /ace/Monitor_Control -COMMA = , -SPACE = $(should_be_unset) $(should_be_unset) -INSTALLER ?= $(MPC_ROOT)/prj_install.pl -CUSTOM_INST_TAGS = $(sort ) - -LIB_INST_TAGS = header_files template_files$(if $(findstring 1,$(inline)), inline_files)$(if $(CUSTOM_INST_TAGS), $(CUSTOM_INST_TAGS)) -LIB_INST_LOCATIONS = $(foreach tag,$(LIB_INST_TAGS),-b $(tag)=include$(INST_DIR)) - -INST_TAGS = lib_output$(if $(LIB_INST_TAGS), $(LIB_INST_TAGS)) -INST_LOCATIONS = $(LIB_INST_LOCATIONS) -o lib_output=$(INSTALL_LIB) - -DATA_INST_TAGS = -INST_LOCATIONS += $(if $(DATA_INST_TAGS),-x installdata_files -b installdata_files=share$(INST_DIR)) -INST_TAGS := $(INST_TAGS)$(if $(DATA_INST_TAGS), $(DATA_INST_TAGS)) - -ifeq ($(INSTALLER),/prj_install.pl) -INSTALLER = $(ACE_ROOT)/MPC/prj_install.pl -endif - -ifeq ($(LIBCHECK),1) -ifneq ($(wince),1) -install: -ifeq ($(INST_TAGS),) - @echo Nothing to install. -else -ifeq ($(INSTALL_PREFIX),) - @echo The variable INSTALL_PREFIX must be set to install. - @echo If binaries are already built and you want to use RPATH, - @echo they must be rebuilt after changing INSTALL_PREFIX. - @false -else - perl -ne'if (/^#END MPC-Generated Install Info/) {exit 0}' \ - -e'elsif (/^#BEGIN MPC-Generated Install Info/) {$$ok=1}' \ - -e'elsif ($$ok && s/^#//) {print}' $(MAKEFILE) | \ - $(INSTALLER) -i -s $(subst $(SPACE),$(COMMA),$(INST_TAGS)) \ - $(INST_LOCATIONS) $(if $(ARCH),-d $(ARCH)) $(PRJINST_OPTIONS) \ - $(INSTALL_PREFIX) -endif -endif -endif -endif - -#BEGIN MPC-Generated Install Info -#build_files: -#Monitor_Control.mpc -# -#header_files: -#Monitor_Control.h -#Monitor_Control_export.h -#Monitor_Control_utils.h -#Packets_Sent_Monitor.h -#Monitor_Group.h -#Num_Threads_Monitor.h -#Constraint_Visitor.h -#Solaris_Network_Interface_Monitor.h -#FreeBSD_Network_Interface_Monitor.h -#Packets_Received_Monitor.h -#Null_Network_Interface_Monitor.h -#Windows_Monitor.h -#BSD_Network_Interface_Monitor.h -#CPU_Load_Monitor.h -#Memory_Usage_Monitor.h -#Constraint_Interpreter.h -#Monitor_Query.h -#Bytes_Received_Monitor.h -#Auto_Update_Starter.h -#Bytes_Sent_Monitor.h -#Windows_Multi_Instance_Monitor.h -#Linux_Network_Interface_Monitor.h -# -#source_files: -#Auto_Update_Starter.cpp -#BSD_Network_Interface_Monitor.cpp -#Bytes_Received_Monitor.cpp -#Bytes_Sent_Monitor.cpp -#Constraint_Interpreter.cpp -#Constraint_Visitor.cpp -#CPU_Load_Monitor.cpp -#FreeBSD_Network_Interface_Monitor.cpp -#Linux_Network_Interface_Monitor.cpp -#Memory_Usage_Monitor.cpp -#Monitor_Group.cpp -#Monitor_Query.cpp -#Null_Network_Interface_Monitor.cpp -#Num_Threads_Monitor.cpp -#Packets_Received_Monitor.cpp -#Packets_Sent_Monitor.cpp -#Solaris_Network_Interface_Monitor.cpp -#Windows_Monitor.cpp -#Windows_Multi_Instance_Monitor.cpp -# -#lib_output: -#../../lib ACE_Monitor_Control - -#END MPC-Generated Install Info - diff --git a/dep/ACE_wrappers/ace/Monitor_Control/Makefile.am b/dep/ACE_wrappers/ace/Monitor_Control/Makefile.am deleted file mode 100644 index 494220414..000000000 --- a/dep/ACE_wrappers/ace/Monitor_Control/Makefile.am +++ /dev/null @@ -1,88 +0,0 @@ -## Process this file with automake to create Makefile.in -## -## $Id: Makefile.am 85937 2009-07-08 14:24:25Z parsons $ -## -## This file was generated by MPC. Any changes made directly to -## this file will be lost the next time it is generated. -## -## MPC Command: -## ./bin/mwc.pl -type automake -noreldefs ACE.mwc - -includedir = @includedir@/ace/Monitor_Control - -ACE_BUILDDIR = $(top_builddir) -ACE_ROOT = $(top_srcdir) - - -## Makefile.Monitor_Control.am - -if !BUILD_WINCE - -lib_LTLIBRARIES = libACE_Monitor_Control.la - -libACE_Monitor_Control_la_CPPFLAGS = \ - -I$(ACE_ROOT) \ - -I$(ACE_BUILDDIR) \ - -DMONITOR_CONTROL_BUILD_DLL - -libACE_Monitor_Control_la_SOURCES = \ - Auto_Update_Starter.cpp \ - BSD_Network_Interface_Monitor.cpp \ - Bytes_Received_Monitor.cpp \ - Bytes_Sent_Monitor.cpp \ - CPU_Load_Monitor.cpp \ - Constraint_Interpreter.cpp \ - Constraint_Visitor.cpp \ - FreeBSD_Network_Interface_Monitor.cpp \ - Linux_Network_Interface_Monitor.cpp \ - Memory_Usage_Monitor.cpp \ - Monitor_Group.cpp \ - Monitor_Query.cpp \ - Null_Network_Interface_Monitor.cpp \ - Num_Threads_Monitor.cpp \ - Packets_Received_Monitor.cpp \ - Packets_Sent_Monitor.cpp \ - Solaris_Network_Interface_Monitor.cpp \ - Windows_Monitor.cpp \ - Windows_Multi_Instance_Monitor.cpp - -libACE_Monitor_Control_la_LDFLAGS = \ - -release @ACE_VERSION_NAME@ - -libACE_Monitor_Control_la_LIBADD = \ - $(ACE_BUILDDIR)/ace/ETCL/libACE_ETCL_Parser.la \ - $(ACE_BUILDDIR)/ace/ETCL/libACE_ETCL.la \ - $(ACE_BUILDDIR)/ace/libACE.la - -nobase_include_HEADERS = \ - Auto_Update_Starter.h \ - BSD_Network_Interface_Monitor.h \ - Bytes_Received_Monitor.h \ - Bytes_Sent_Monitor.h \ - CPU_Load_Monitor.h \ - Constraint_Interpreter.h \ - Constraint_Visitor.h \ - FreeBSD_Network_Interface_Monitor.h \ - Linux_Network_Interface_Monitor.h \ - Memory_Usage_Monitor.h \ - Monitor_Control.h \ - Monitor_Control_export.h \ - Monitor_Control_utils.h \ - Monitor_Group.h \ - Monitor_Query.h \ - Num_Threads_Monitor.h \ - Packets_Received_Monitor.h \ - Packets_Sent_Monitor.h \ - Solaris_Network_Interface_Monitor.h \ - Windows_Monitor.h \ - Windows_Multi_Instance_Monitor.h - -endif !BUILD_WINCE - -## Clean up template repositories, etc. -clean-local: - -rm -f *~ *.bak *.rpo *.sym lib*.*_pure_* core core.* - -rm -f gcctemp.c gcctemp so_locations *.ics - -rm -rf cxx_repository ptrepository ti_files - -rm -rf templateregistry ir.out - -rm -rf ptrepository SunWS_cache Templates.DB diff --git a/dep/ACE_wrappers/ace/Monitor_Control/Makefile.in b/dep/ACE_wrappers/ace/Monitor_Control/Makefile.in deleted file mode 100644 index b817769c7..000000000 --- a/dep/ACE_wrappers/ace/Monitor_Control/Makefile.in +++ /dev/null @@ -1,887 +0,0 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -target_triplet = @target@ -subdir = ace/Monitor_Control -DIST_COMMON = $(am__nobase_include_HEADERS_DIST) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ace.m4 \ - $(top_srcdir)/m4/ace_defines.m4 $(top_srcdir)/m4/ace_func.m4 \ - $(top_srcdir)/m4/ace_functions.m4 \ - $(top_srcdir)/m4/ace_headers.m4 $(top_srcdir)/m4/acinclude.m4 \ - $(top_srcdir)/m4/aio.m4 $(top_srcdir)/m4/compiler.m4 \ - $(top_srcdir)/m4/config_h.m4 $(top_srcdir)/m4/libtool.m4 \ - $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ - $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ - $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/platform.m4 \ - $(top_srcdir)/m4/subsets.m4 $(top_srcdir)/m4/threads.m4 \ - $(top_srcdir)/m4/tls.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/ace/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ - if (++n[$$2] == $(am__install_max)) \ - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ - END { for (dir in files) print dir, files[dir] }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" -LTLIBRARIES = $(lib_LTLIBRARIES) -@BUILD_WINCE_FALSE@libACE_Monitor_Control_la_DEPENDENCIES = $(ACE_BUILDDIR)/ace/ETCL/libACE_ETCL_Parser.la \ -@BUILD_WINCE_FALSE@ $(ACE_BUILDDIR)/ace/ETCL/libACE_ETCL.la \ -@BUILD_WINCE_FALSE@ $(ACE_BUILDDIR)/ace/libACE.la -am__libACE_Monitor_Control_la_SOURCES_DIST = Auto_Update_Starter.cpp \ - BSD_Network_Interface_Monitor.cpp Bytes_Received_Monitor.cpp \ - Bytes_Sent_Monitor.cpp CPU_Load_Monitor.cpp \ - Constraint_Interpreter.cpp Constraint_Visitor.cpp \ - FreeBSD_Network_Interface_Monitor.cpp \ - Linux_Network_Interface_Monitor.cpp Memory_Usage_Monitor.cpp \ - Monitor_Group.cpp Monitor_Query.cpp \ - Null_Network_Interface_Monitor.cpp Num_Threads_Monitor.cpp \ - Packets_Received_Monitor.cpp Packets_Sent_Monitor.cpp \ - Solaris_Network_Interface_Monitor.cpp Windows_Monitor.cpp \ - Windows_Multi_Instance_Monitor.cpp -@BUILD_WINCE_FALSE@am_libACE_Monitor_Control_la_OBJECTS = libACE_Monitor_Control_la-Auto_Update_Starter.lo \ -@BUILD_WINCE_FALSE@ libACE_Monitor_Control_la-BSD_Network_Interface_Monitor.lo \ -@BUILD_WINCE_FALSE@ libACE_Monitor_Control_la-Bytes_Received_Monitor.lo \ -@BUILD_WINCE_FALSE@ libACE_Monitor_Control_la-Bytes_Sent_Monitor.lo \ -@BUILD_WINCE_FALSE@ libACE_Monitor_Control_la-CPU_Load_Monitor.lo \ -@BUILD_WINCE_FALSE@ libACE_Monitor_Control_la-Constraint_Interpreter.lo \ -@BUILD_WINCE_FALSE@ libACE_Monitor_Control_la-Constraint_Visitor.lo \ -@BUILD_WINCE_FALSE@ libACE_Monitor_Control_la-FreeBSD_Network_Interface_Monitor.lo \ -@BUILD_WINCE_FALSE@ libACE_Monitor_Control_la-Linux_Network_Interface_Monitor.lo \ -@BUILD_WINCE_FALSE@ libACE_Monitor_Control_la-Memory_Usage_Monitor.lo \ -@BUILD_WINCE_FALSE@ libACE_Monitor_Control_la-Monitor_Group.lo \ -@BUILD_WINCE_FALSE@ libACE_Monitor_Control_la-Monitor_Query.lo \ -@BUILD_WINCE_FALSE@ libACE_Monitor_Control_la-Null_Network_Interface_Monitor.lo \ -@BUILD_WINCE_FALSE@ libACE_Monitor_Control_la-Num_Threads_Monitor.lo \ -@BUILD_WINCE_FALSE@ libACE_Monitor_Control_la-Packets_Received_Monitor.lo \ -@BUILD_WINCE_FALSE@ libACE_Monitor_Control_la-Packets_Sent_Monitor.lo \ -@BUILD_WINCE_FALSE@ libACE_Monitor_Control_la-Solaris_Network_Interface_Monitor.lo \ -@BUILD_WINCE_FALSE@ libACE_Monitor_Control_la-Windows_Monitor.lo \ -@BUILD_WINCE_FALSE@ libACE_Monitor_Control_la-Windows_Multi_Instance_Monitor.lo -libACE_Monitor_Control_la_OBJECTS = \ - $(am_libACE_Monitor_Control_la_OBJECTS) -libACE_Monitor_Control_la_LINK = $(LIBTOOL) --tag=CXX \ - $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ - $(AM_CXXFLAGS) $(CXXFLAGS) \ - $(libACE_Monitor_Control_la_LDFLAGS) $(LDFLAGS) -o $@ -@BUILD_WINCE_FALSE@am_libACE_Monitor_Control_la_rpath = -rpath \ -@BUILD_WINCE_FALSE@ $(libdir) -DEFAULT_INCLUDES = -depcomp = $(SHELL) $(top_srcdir)/aux_config/depcomp -am__depfiles_maybe = depfiles -am__mv = mv -f -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -CXXLD = $(CXX) -CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ -SOURCES = $(libACE_Monitor_Control_la_SOURCES) -DIST_SOURCES = $(am__libACE_Monitor_Control_la_SOURCES_DIST) -am__nobase_include_HEADERS_DIST = Auto_Update_Starter.h \ - BSD_Network_Interface_Monitor.h Bytes_Received_Monitor.h \ - Bytes_Sent_Monitor.h CPU_Load_Monitor.h \ - Constraint_Interpreter.h Constraint_Visitor.h \ - FreeBSD_Network_Interface_Monitor.h \ - Linux_Network_Interface_Monitor.h Memory_Usage_Monitor.h \ - Monitor_Control.h Monitor_Control_export.h \ - Monitor_Control_utils.h Monitor_Group.h Monitor_Query.h \ - Num_Threads_Monitor.h Packets_Received_Monitor.h \ - Packets_Sent_Monitor.h Solaris_Network_Interface_Monitor.h \ - Windows_Monitor.h Windows_Multi_Instance_Monitor.h -HEADERS = $(nobase_include_HEADERS) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACEXML = @ACEXML@ -ACE_BETA = @ACE_BETA@ -ACE_BZIP2_CPPFLAGS = @ACE_BZIP2_CPPFLAGS@ -ACE_BZIP2_LDFLAGS = @ACE_BZIP2_LDFLAGS@ -ACE_BZIP2_LIBS = @ACE_BZIP2_LIBS@ -ACE_FLTK_CPPFLAGS = @ACE_FLTK_CPPFLAGS@ -ACE_FLTK_LIBS = @ACE_FLTK_LIBS@ -ACE_FOX_CPPFLAGS = @ACE_FOX_CPPFLAGS@ -ACE_FOX_LIBS = @ACE_FOX_LIBS@ -ACE_KERBEROS_INCLUDES = @ACE_KERBEROS_INCLUDES@ -ACE_MAJOR = @ACE_MAJOR@ -ACE_MINOR = @ACE_MINOR@ -ACE_QT_CPPFLAGS = @ACE_QT_CPPFLAGS@ -ACE_QT_LIBS = @ACE_QT_LIBS@ -ACE_TCL_CPPFLAGS = @ACE_TCL_CPPFLAGS@ -ACE_TCL_LIBS = @ACE_TCL_LIBS@ -ACE_TESTS_DIR = @ACE_TESTS_DIR@ -ACE_TK_CPPFLAGS = @ACE_TK_CPPFLAGS@ -ACE_TK_LIBS = @ACE_TK_LIBS@ -ACE_TLS_CPPFLAGS = @ACE_TLS_CPPFLAGS@ -ACE_TLS_LDFLAGS = @ACE_TLS_LDFLAGS@ -ACE_TLS_LIBS = @ACE_TLS_LIBS@ -ACE_VERSION_NAME = @ACE_VERSION_NAME@ -ACE_X11_CPPFLAGS = @ACE_X11_CPPFLAGS@ -ACE_X11_LDFLAGS = @ACE_X11_LDFLAGS@ -ACE_X11_LIBS = @ACE_X11_LIBS@ -ACE_XLIBS = @ACE_XLIBS@ -ACE_XT_CPPFLAGS = @ACE_XT_CPPFLAGS@ -ACE_XT_LDFLAGS = @ACE_XT_LDFLAGS@ -ACE_XT_LIBS = @ACE_XT_LIBS@ -ACE_ZLIB_CPPFLAGS = @ACE_ZLIB_CPPFLAGS@ -ACE_ZLIB_LDFLAGS = @ACE_ZLIB_LDFLAGS@ -ACE_ZLIB_LIBS = @ACE_ZLIB_LIBS@ -ACE_ZZIP_CPPFLAGS = @ACE_ZZIP_CPPFLAGS@ -ACE_ZZIP_LDFLAGS = @ACE_ZZIP_LDFLAGS@ -ACE_ZZIP_LIBS = @ACE_ZZIP_LIBS@ -ACLOCAL = @ACLOCAL@ -ALLOCA = @ALLOCA@ -AMTAR = @AMTAR@ -AR = @AR@ -ASNMP = @ASNMP@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FGREP = @FGREP@ -FLTKCONFIG = @FLTKCONFIG@ -FOXCONFIG = @FOXCONFIG@ -GPERF = @GPERF@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -KOKYU = @KOKYU@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LEX = @LEX@ -LEXLIB = @LEXLIB@ -LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PROF = @PROF@ -PURIFY = @PURIFY@ -QTDIR = @QTDIR@ -QUANTIFY = @QUANTIFY@ -Qt_CFLAGS = @Qt_CFLAGS@ -Qt_LIBS = @Qt_LIBS@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -TAO = @TAO@ -VERSION = @VERSION@ -XMKMF = @XMKMF@ -XTREACTOR_TEST_XLIBS = @XTREACTOR_TEST_XLIBS@ -X_CFLAGS = @X_CFLAGS@ -X_EXTRA_LIBS = @X_EXTRA_LIBS@ -X_LIBS = @X_LIBS@ -X_PRE_LIBS = @X_PRE_LIBS@ -YACC = @YACC@ -YFLAGS = @YFLAGS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@/ace/Monitor_Control -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -protocols = @protocols@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -subdirs = @subdirs@ -sysconfdir = @sysconfdir@ -target = @target@ -target_alias = @target_alias@ -target_cpu = @target_cpu@ -target_os = @target_os@ -target_vendor = @target_vendor@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -ACE_BUILDDIR = $(top_builddir) -ACE_ROOT = $(top_srcdir) -@BUILD_WINCE_FALSE@lib_LTLIBRARIES = libACE_Monitor_Control.la -@BUILD_WINCE_FALSE@libACE_Monitor_Control_la_CPPFLAGS = \ -@BUILD_WINCE_FALSE@ -I$(ACE_ROOT) \ -@BUILD_WINCE_FALSE@ -I$(ACE_BUILDDIR) \ -@BUILD_WINCE_FALSE@ -DMONITOR_CONTROL_BUILD_DLL - -@BUILD_WINCE_FALSE@libACE_Monitor_Control_la_SOURCES = \ -@BUILD_WINCE_FALSE@ Auto_Update_Starter.cpp \ -@BUILD_WINCE_FALSE@ BSD_Network_Interface_Monitor.cpp \ -@BUILD_WINCE_FALSE@ Bytes_Received_Monitor.cpp \ -@BUILD_WINCE_FALSE@ Bytes_Sent_Monitor.cpp \ -@BUILD_WINCE_FALSE@ CPU_Load_Monitor.cpp \ -@BUILD_WINCE_FALSE@ Constraint_Interpreter.cpp \ -@BUILD_WINCE_FALSE@ Constraint_Visitor.cpp \ -@BUILD_WINCE_FALSE@ FreeBSD_Network_Interface_Monitor.cpp \ -@BUILD_WINCE_FALSE@ Linux_Network_Interface_Monitor.cpp \ -@BUILD_WINCE_FALSE@ Memory_Usage_Monitor.cpp \ -@BUILD_WINCE_FALSE@ Monitor_Group.cpp \ -@BUILD_WINCE_FALSE@ Monitor_Query.cpp \ -@BUILD_WINCE_FALSE@ Null_Network_Interface_Monitor.cpp \ -@BUILD_WINCE_FALSE@ Num_Threads_Monitor.cpp \ -@BUILD_WINCE_FALSE@ Packets_Received_Monitor.cpp \ -@BUILD_WINCE_FALSE@ Packets_Sent_Monitor.cpp \ -@BUILD_WINCE_FALSE@ Solaris_Network_Interface_Monitor.cpp \ -@BUILD_WINCE_FALSE@ Windows_Monitor.cpp \ -@BUILD_WINCE_FALSE@ Windows_Multi_Instance_Monitor.cpp - -@BUILD_WINCE_FALSE@libACE_Monitor_Control_la_LDFLAGS = \ -@BUILD_WINCE_FALSE@ -release @ACE_VERSION_NAME@ - -@BUILD_WINCE_FALSE@libACE_Monitor_Control_la_LIBADD = \ -@BUILD_WINCE_FALSE@ $(ACE_BUILDDIR)/ace/ETCL/libACE_ETCL_Parser.la \ -@BUILD_WINCE_FALSE@ $(ACE_BUILDDIR)/ace/ETCL/libACE_ETCL.la \ -@BUILD_WINCE_FALSE@ $(ACE_BUILDDIR)/ace/libACE.la - -@BUILD_WINCE_FALSE@nobase_include_HEADERS = \ -@BUILD_WINCE_FALSE@ Auto_Update_Starter.h \ -@BUILD_WINCE_FALSE@ BSD_Network_Interface_Monitor.h \ -@BUILD_WINCE_FALSE@ Bytes_Received_Monitor.h \ -@BUILD_WINCE_FALSE@ Bytes_Sent_Monitor.h \ -@BUILD_WINCE_FALSE@ CPU_Load_Monitor.h \ -@BUILD_WINCE_FALSE@ Constraint_Interpreter.h \ -@BUILD_WINCE_FALSE@ Constraint_Visitor.h \ -@BUILD_WINCE_FALSE@ FreeBSD_Network_Interface_Monitor.h \ -@BUILD_WINCE_FALSE@ Linux_Network_Interface_Monitor.h \ -@BUILD_WINCE_FALSE@ Memory_Usage_Monitor.h \ -@BUILD_WINCE_FALSE@ Monitor_Control.h \ -@BUILD_WINCE_FALSE@ Monitor_Control_export.h \ -@BUILD_WINCE_FALSE@ Monitor_Control_utils.h \ -@BUILD_WINCE_FALSE@ Monitor_Group.h \ -@BUILD_WINCE_FALSE@ Monitor_Query.h \ -@BUILD_WINCE_FALSE@ Num_Threads_Monitor.h \ -@BUILD_WINCE_FALSE@ Packets_Received_Monitor.h \ -@BUILD_WINCE_FALSE@ Packets_Sent_Monitor.h \ -@BUILD_WINCE_FALSE@ Solaris_Network_Interface_Monitor.h \ -@BUILD_WINCE_FALSE@ Windows_Monitor.h \ -@BUILD_WINCE_FALSE@ Windows_Multi_Instance_Monitor.h - -all: all-am - -.SUFFIXES: -.SUFFIXES: .cpp .lo .o .obj -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign ace/Monitor_Control/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign ace/Monitor_Control/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): -install-libLTLIBRARIES: $(lib_LTLIBRARIES) - @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" - @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ - list2=; for p in $$list; do \ - if test -f $$p; then \ - list2="$$list2 $$p"; \ - else :; fi; \ - done; \ - test -z "$$list2" || { \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ - } - -uninstall-libLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ - for p in $$list; do \ - $(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ - done - -clean-libLTLIBRARIES: - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ - test "$$dir" != "$$p" || dir=.; \ - echo "rm -f \"$${dir}/so_locations\""; \ - rm -f "$${dir}/so_locations"; \ - done -libACE_Monitor_Control.la: $(libACE_Monitor_Control_la_OBJECTS) $(libACE_Monitor_Control_la_DEPENDENCIES) - $(libACE_Monitor_Control_la_LINK) $(am_libACE_Monitor_Control_la_rpath) $(libACE_Monitor_Control_la_OBJECTS) $(libACE_Monitor_Control_la_LIBADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_Monitor_Control_la-Auto_Update_Starter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_Monitor_Control_la-BSD_Network_Interface_Monitor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_Monitor_Control_la-Bytes_Received_Monitor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_Monitor_Control_la-Bytes_Sent_Monitor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_Monitor_Control_la-CPU_Load_Monitor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_Monitor_Control_la-Constraint_Interpreter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_Monitor_Control_la-Constraint_Visitor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_Monitor_Control_la-FreeBSD_Network_Interface_Monitor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_Monitor_Control_la-Linux_Network_Interface_Monitor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_Monitor_Control_la-Memory_Usage_Monitor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_Monitor_Control_la-Monitor_Group.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_Monitor_Control_la-Monitor_Query.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_Monitor_Control_la-Null_Network_Interface_Monitor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_Monitor_Control_la-Num_Threads_Monitor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_Monitor_Control_la-Packets_Received_Monitor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_Monitor_Control_la-Packets_Sent_Monitor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_Monitor_Control_la-Solaris_Network_Interface_Monitor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_Monitor_Control_la-Windows_Monitor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_Monitor_Control_la-Windows_Multi_Instance_Monitor.Plo@am__quote@ - -.cpp.o: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< - -.cpp.obj: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.cpp.lo: -@am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< - -libACE_Monitor_Control_la-Auto_Update_Starter.lo: Auto_Update_Starter.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_Monitor_Control_la-Auto_Update_Starter.lo -MD -MP -MF $(DEPDIR)/libACE_Monitor_Control_la-Auto_Update_Starter.Tpo -c -o libACE_Monitor_Control_la-Auto_Update_Starter.lo `test -f 'Auto_Update_Starter.cpp' || echo '$(srcdir)/'`Auto_Update_Starter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_Monitor_Control_la-Auto_Update_Starter.Tpo $(DEPDIR)/libACE_Monitor_Control_la-Auto_Update_Starter.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Auto_Update_Starter.cpp' object='libACE_Monitor_Control_la-Auto_Update_Starter.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_Monitor_Control_la-Auto_Update_Starter.lo `test -f 'Auto_Update_Starter.cpp' || echo '$(srcdir)/'`Auto_Update_Starter.cpp - -libACE_Monitor_Control_la-BSD_Network_Interface_Monitor.lo: BSD_Network_Interface_Monitor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_Monitor_Control_la-BSD_Network_Interface_Monitor.lo -MD -MP -MF $(DEPDIR)/libACE_Monitor_Control_la-BSD_Network_Interface_Monitor.Tpo -c -o libACE_Monitor_Control_la-BSD_Network_Interface_Monitor.lo `test -f 'BSD_Network_Interface_Monitor.cpp' || echo '$(srcdir)/'`BSD_Network_Interface_Monitor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_Monitor_Control_la-BSD_Network_Interface_Monitor.Tpo $(DEPDIR)/libACE_Monitor_Control_la-BSD_Network_Interface_Monitor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='BSD_Network_Interface_Monitor.cpp' object='libACE_Monitor_Control_la-BSD_Network_Interface_Monitor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_Monitor_Control_la-BSD_Network_Interface_Monitor.lo `test -f 'BSD_Network_Interface_Monitor.cpp' || echo '$(srcdir)/'`BSD_Network_Interface_Monitor.cpp - -libACE_Monitor_Control_la-Bytes_Received_Monitor.lo: Bytes_Received_Monitor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_Monitor_Control_la-Bytes_Received_Monitor.lo -MD -MP -MF $(DEPDIR)/libACE_Monitor_Control_la-Bytes_Received_Monitor.Tpo -c -o libACE_Monitor_Control_la-Bytes_Received_Monitor.lo `test -f 'Bytes_Received_Monitor.cpp' || echo '$(srcdir)/'`Bytes_Received_Monitor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_Monitor_Control_la-Bytes_Received_Monitor.Tpo $(DEPDIR)/libACE_Monitor_Control_la-Bytes_Received_Monitor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Bytes_Received_Monitor.cpp' object='libACE_Monitor_Control_la-Bytes_Received_Monitor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_Monitor_Control_la-Bytes_Received_Monitor.lo `test -f 'Bytes_Received_Monitor.cpp' || echo '$(srcdir)/'`Bytes_Received_Monitor.cpp - -libACE_Monitor_Control_la-Bytes_Sent_Monitor.lo: Bytes_Sent_Monitor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_Monitor_Control_la-Bytes_Sent_Monitor.lo -MD -MP -MF $(DEPDIR)/libACE_Monitor_Control_la-Bytes_Sent_Monitor.Tpo -c -o libACE_Monitor_Control_la-Bytes_Sent_Monitor.lo `test -f 'Bytes_Sent_Monitor.cpp' || echo '$(srcdir)/'`Bytes_Sent_Monitor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_Monitor_Control_la-Bytes_Sent_Monitor.Tpo $(DEPDIR)/libACE_Monitor_Control_la-Bytes_Sent_Monitor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Bytes_Sent_Monitor.cpp' object='libACE_Monitor_Control_la-Bytes_Sent_Monitor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_Monitor_Control_la-Bytes_Sent_Monitor.lo `test -f 'Bytes_Sent_Monitor.cpp' || echo '$(srcdir)/'`Bytes_Sent_Monitor.cpp - -libACE_Monitor_Control_la-CPU_Load_Monitor.lo: CPU_Load_Monitor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_Monitor_Control_la-CPU_Load_Monitor.lo -MD -MP -MF $(DEPDIR)/libACE_Monitor_Control_la-CPU_Load_Monitor.Tpo -c -o libACE_Monitor_Control_la-CPU_Load_Monitor.lo `test -f 'CPU_Load_Monitor.cpp' || echo '$(srcdir)/'`CPU_Load_Monitor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_Monitor_Control_la-CPU_Load_Monitor.Tpo $(DEPDIR)/libACE_Monitor_Control_la-CPU_Load_Monitor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='CPU_Load_Monitor.cpp' object='libACE_Monitor_Control_la-CPU_Load_Monitor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_Monitor_Control_la-CPU_Load_Monitor.lo `test -f 'CPU_Load_Monitor.cpp' || echo '$(srcdir)/'`CPU_Load_Monitor.cpp - -libACE_Monitor_Control_la-Constraint_Interpreter.lo: Constraint_Interpreter.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_Monitor_Control_la-Constraint_Interpreter.lo -MD -MP -MF $(DEPDIR)/libACE_Monitor_Control_la-Constraint_Interpreter.Tpo -c -o libACE_Monitor_Control_la-Constraint_Interpreter.lo `test -f 'Constraint_Interpreter.cpp' || echo '$(srcdir)/'`Constraint_Interpreter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_Monitor_Control_la-Constraint_Interpreter.Tpo $(DEPDIR)/libACE_Monitor_Control_la-Constraint_Interpreter.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Constraint_Interpreter.cpp' object='libACE_Monitor_Control_la-Constraint_Interpreter.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_Monitor_Control_la-Constraint_Interpreter.lo `test -f 'Constraint_Interpreter.cpp' || echo '$(srcdir)/'`Constraint_Interpreter.cpp - -libACE_Monitor_Control_la-Constraint_Visitor.lo: Constraint_Visitor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_Monitor_Control_la-Constraint_Visitor.lo -MD -MP -MF $(DEPDIR)/libACE_Monitor_Control_la-Constraint_Visitor.Tpo -c -o libACE_Monitor_Control_la-Constraint_Visitor.lo `test -f 'Constraint_Visitor.cpp' || echo '$(srcdir)/'`Constraint_Visitor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_Monitor_Control_la-Constraint_Visitor.Tpo $(DEPDIR)/libACE_Monitor_Control_la-Constraint_Visitor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Constraint_Visitor.cpp' object='libACE_Monitor_Control_la-Constraint_Visitor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_Monitor_Control_la-Constraint_Visitor.lo `test -f 'Constraint_Visitor.cpp' || echo '$(srcdir)/'`Constraint_Visitor.cpp - -libACE_Monitor_Control_la-FreeBSD_Network_Interface_Monitor.lo: FreeBSD_Network_Interface_Monitor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_Monitor_Control_la-FreeBSD_Network_Interface_Monitor.lo -MD -MP -MF $(DEPDIR)/libACE_Monitor_Control_la-FreeBSD_Network_Interface_Monitor.Tpo -c -o libACE_Monitor_Control_la-FreeBSD_Network_Interface_Monitor.lo `test -f 'FreeBSD_Network_Interface_Monitor.cpp' || echo '$(srcdir)/'`FreeBSD_Network_Interface_Monitor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_Monitor_Control_la-FreeBSD_Network_Interface_Monitor.Tpo $(DEPDIR)/libACE_Monitor_Control_la-FreeBSD_Network_Interface_Monitor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='FreeBSD_Network_Interface_Monitor.cpp' object='libACE_Monitor_Control_la-FreeBSD_Network_Interface_Monitor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_Monitor_Control_la-FreeBSD_Network_Interface_Monitor.lo `test -f 'FreeBSD_Network_Interface_Monitor.cpp' || echo '$(srcdir)/'`FreeBSD_Network_Interface_Monitor.cpp - -libACE_Monitor_Control_la-Linux_Network_Interface_Monitor.lo: Linux_Network_Interface_Monitor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_Monitor_Control_la-Linux_Network_Interface_Monitor.lo -MD -MP -MF $(DEPDIR)/libACE_Monitor_Control_la-Linux_Network_Interface_Monitor.Tpo -c -o libACE_Monitor_Control_la-Linux_Network_Interface_Monitor.lo `test -f 'Linux_Network_Interface_Monitor.cpp' || echo '$(srcdir)/'`Linux_Network_Interface_Monitor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_Monitor_Control_la-Linux_Network_Interface_Monitor.Tpo $(DEPDIR)/libACE_Monitor_Control_la-Linux_Network_Interface_Monitor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Linux_Network_Interface_Monitor.cpp' object='libACE_Monitor_Control_la-Linux_Network_Interface_Monitor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_Monitor_Control_la-Linux_Network_Interface_Monitor.lo `test -f 'Linux_Network_Interface_Monitor.cpp' || echo '$(srcdir)/'`Linux_Network_Interface_Monitor.cpp - -libACE_Monitor_Control_la-Memory_Usage_Monitor.lo: Memory_Usage_Monitor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_Monitor_Control_la-Memory_Usage_Monitor.lo -MD -MP -MF $(DEPDIR)/libACE_Monitor_Control_la-Memory_Usage_Monitor.Tpo -c -o libACE_Monitor_Control_la-Memory_Usage_Monitor.lo `test -f 'Memory_Usage_Monitor.cpp' || echo '$(srcdir)/'`Memory_Usage_Monitor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_Monitor_Control_la-Memory_Usage_Monitor.Tpo $(DEPDIR)/libACE_Monitor_Control_la-Memory_Usage_Monitor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Memory_Usage_Monitor.cpp' object='libACE_Monitor_Control_la-Memory_Usage_Monitor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_Monitor_Control_la-Memory_Usage_Monitor.lo `test -f 'Memory_Usage_Monitor.cpp' || echo '$(srcdir)/'`Memory_Usage_Monitor.cpp - -libACE_Monitor_Control_la-Monitor_Group.lo: Monitor_Group.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_Monitor_Control_la-Monitor_Group.lo -MD -MP -MF $(DEPDIR)/libACE_Monitor_Control_la-Monitor_Group.Tpo -c -o libACE_Monitor_Control_la-Monitor_Group.lo `test -f 'Monitor_Group.cpp' || echo '$(srcdir)/'`Monitor_Group.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_Monitor_Control_la-Monitor_Group.Tpo $(DEPDIR)/libACE_Monitor_Control_la-Monitor_Group.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Monitor_Group.cpp' object='libACE_Monitor_Control_la-Monitor_Group.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_Monitor_Control_la-Monitor_Group.lo `test -f 'Monitor_Group.cpp' || echo '$(srcdir)/'`Monitor_Group.cpp - -libACE_Monitor_Control_la-Monitor_Query.lo: Monitor_Query.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_Monitor_Control_la-Monitor_Query.lo -MD -MP -MF $(DEPDIR)/libACE_Monitor_Control_la-Monitor_Query.Tpo -c -o libACE_Monitor_Control_la-Monitor_Query.lo `test -f 'Monitor_Query.cpp' || echo '$(srcdir)/'`Monitor_Query.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_Monitor_Control_la-Monitor_Query.Tpo $(DEPDIR)/libACE_Monitor_Control_la-Monitor_Query.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Monitor_Query.cpp' object='libACE_Monitor_Control_la-Monitor_Query.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_Monitor_Control_la-Monitor_Query.lo `test -f 'Monitor_Query.cpp' || echo '$(srcdir)/'`Monitor_Query.cpp - -libACE_Monitor_Control_la-Null_Network_Interface_Monitor.lo: Null_Network_Interface_Monitor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_Monitor_Control_la-Null_Network_Interface_Monitor.lo -MD -MP -MF $(DEPDIR)/libACE_Monitor_Control_la-Null_Network_Interface_Monitor.Tpo -c -o libACE_Monitor_Control_la-Null_Network_Interface_Monitor.lo `test -f 'Null_Network_Interface_Monitor.cpp' || echo '$(srcdir)/'`Null_Network_Interface_Monitor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_Monitor_Control_la-Null_Network_Interface_Monitor.Tpo $(DEPDIR)/libACE_Monitor_Control_la-Null_Network_Interface_Monitor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Null_Network_Interface_Monitor.cpp' object='libACE_Monitor_Control_la-Null_Network_Interface_Monitor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_Monitor_Control_la-Null_Network_Interface_Monitor.lo `test -f 'Null_Network_Interface_Monitor.cpp' || echo '$(srcdir)/'`Null_Network_Interface_Monitor.cpp - -libACE_Monitor_Control_la-Num_Threads_Monitor.lo: Num_Threads_Monitor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_Monitor_Control_la-Num_Threads_Monitor.lo -MD -MP -MF $(DEPDIR)/libACE_Monitor_Control_la-Num_Threads_Monitor.Tpo -c -o libACE_Monitor_Control_la-Num_Threads_Monitor.lo `test -f 'Num_Threads_Monitor.cpp' || echo '$(srcdir)/'`Num_Threads_Monitor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_Monitor_Control_la-Num_Threads_Monitor.Tpo $(DEPDIR)/libACE_Monitor_Control_la-Num_Threads_Monitor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Num_Threads_Monitor.cpp' object='libACE_Monitor_Control_la-Num_Threads_Monitor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_Monitor_Control_la-Num_Threads_Monitor.lo `test -f 'Num_Threads_Monitor.cpp' || echo '$(srcdir)/'`Num_Threads_Monitor.cpp - -libACE_Monitor_Control_la-Packets_Received_Monitor.lo: Packets_Received_Monitor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_Monitor_Control_la-Packets_Received_Monitor.lo -MD -MP -MF $(DEPDIR)/libACE_Monitor_Control_la-Packets_Received_Monitor.Tpo -c -o libACE_Monitor_Control_la-Packets_Received_Monitor.lo `test -f 'Packets_Received_Monitor.cpp' || echo '$(srcdir)/'`Packets_Received_Monitor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_Monitor_Control_la-Packets_Received_Monitor.Tpo $(DEPDIR)/libACE_Monitor_Control_la-Packets_Received_Monitor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Packets_Received_Monitor.cpp' object='libACE_Monitor_Control_la-Packets_Received_Monitor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_Monitor_Control_la-Packets_Received_Monitor.lo `test -f 'Packets_Received_Monitor.cpp' || echo '$(srcdir)/'`Packets_Received_Monitor.cpp - -libACE_Monitor_Control_la-Packets_Sent_Monitor.lo: Packets_Sent_Monitor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_Monitor_Control_la-Packets_Sent_Monitor.lo -MD -MP -MF $(DEPDIR)/libACE_Monitor_Control_la-Packets_Sent_Monitor.Tpo -c -o libACE_Monitor_Control_la-Packets_Sent_Monitor.lo `test -f 'Packets_Sent_Monitor.cpp' || echo '$(srcdir)/'`Packets_Sent_Monitor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_Monitor_Control_la-Packets_Sent_Monitor.Tpo $(DEPDIR)/libACE_Monitor_Control_la-Packets_Sent_Monitor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Packets_Sent_Monitor.cpp' object='libACE_Monitor_Control_la-Packets_Sent_Monitor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_Monitor_Control_la-Packets_Sent_Monitor.lo `test -f 'Packets_Sent_Monitor.cpp' || echo '$(srcdir)/'`Packets_Sent_Monitor.cpp - -libACE_Monitor_Control_la-Solaris_Network_Interface_Monitor.lo: Solaris_Network_Interface_Monitor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_Monitor_Control_la-Solaris_Network_Interface_Monitor.lo -MD -MP -MF $(DEPDIR)/libACE_Monitor_Control_la-Solaris_Network_Interface_Monitor.Tpo -c -o libACE_Monitor_Control_la-Solaris_Network_Interface_Monitor.lo `test -f 'Solaris_Network_Interface_Monitor.cpp' || echo '$(srcdir)/'`Solaris_Network_Interface_Monitor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_Monitor_Control_la-Solaris_Network_Interface_Monitor.Tpo $(DEPDIR)/libACE_Monitor_Control_la-Solaris_Network_Interface_Monitor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Solaris_Network_Interface_Monitor.cpp' object='libACE_Monitor_Control_la-Solaris_Network_Interface_Monitor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_Monitor_Control_la-Solaris_Network_Interface_Monitor.lo `test -f 'Solaris_Network_Interface_Monitor.cpp' || echo '$(srcdir)/'`Solaris_Network_Interface_Monitor.cpp - -libACE_Monitor_Control_la-Windows_Monitor.lo: Windows_Monitor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_Monitor_Control_la-Windows_Monitor.lo -MD -MP -MF $(DEPDIR)/libACE_Monitor_Control_la-Windows_Monitor.Tpo -c -o libACE_Monitor_Control_la-Windows_Monitor.lo `test -f 'Windows_Monitor.cpp' || echo '$(srcdir)/'`Windows_Monitor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_Monitor_Control_la-Windows_Monitor.Tpo $(DEPDIR)/libACE_Monitor_Control_la-Windows_Monitor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Windows_Monitor.cpp' object='libACE_Monitor_Control_la-Windows_Monitor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_Monitor_Control_la-Windows_Monitor.lo `test -f 'Windows_Monitor.cpp' || echo '$(srcdir)/'`Windows_Monitor.cpp - -libACE_Monitor_Control_la-Windows_Multi_Instance_Monitor.lo: Windows_Multi_Instance_Monitor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_Monitor_Control_la-Windows_Multi_Instance_Monitor.lo -MD -MP -MF $(DEPDIR)/libACE_Monitor_Control_la-Windows_Multi_Instance_Monitor.Tpo -c -o libACE_Monitor_Control_la-Windows_Multi_Instance_Monitor.lo `test -f 'Windows_Multi_Instance_Monitor.cpp' || echo '$(srcdir)/'`Windows_Multi_Instance_Monitor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_Monitor_Control_la-Windows_Multi_Instance_Monitor.Tpo $(DEPDIR)/libACE_Monitor_Control_la-Windows_Multi_Instance_Monitor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Windows_Multi_Instance_Monitor.cpp' object='libACE_Monitor_Control_la-Windows_Multi_Instance_Monitor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_Monitor_Control_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_Monitor_Control_la-Windows_Multi_Instance_Monitor.lo `test -f 'Windows_Multi_Instance_Monitor.cpp' || echo '$(srcdir)/'`Windows_Multi_Instance_Monitor.cpp - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-nobase_includeHEADERS: $(nobase_include_HEADERS) - @$(NORMAL_INSTALL) - test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)" - @list='$(nobase_include_HEADERS)'; test -n "$(includedir)" || list=; \ - $(am__nobase_list) | while read dir files; do \ - xfiles=; for file in $$files; do \ - if test -f "$$file"; then xfiles="$$xfiles $$file"; \ - else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \ - test -z "$$xfiles" || { \ - test "x$$dir" = x. || { \ - echo "$(MKDIR_P) '$(DESTDIR)$(includedir)/$$dir'"; \ - $(MKDIR_P) "$(DESTDIR)$(includedir)/$$dir"; }; \ - echo " $(INSTALL_HEADER) $$xfiles '$(DESTDIR)$(includedir)/$$dir'"; \ - $(INSTALL_HEADER) $$xfiles "$(DESTDIR)$(includedir)/$$dir" || exit $$?; }; \ - done - -uninstall-nobase_includeHEADERS: - @$(NORMAL_UNINSTALL) - @list='$(nobase_include_HEADERS)'; test -n "$(includedir)" || list=; \ - $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(includedir)" && rm -f $$files - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - set x; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(LTLIBRARIES) $(HEADERS) -installdirs: - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libLTLIBRARIES clean-libtool clean-local \ - mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: install-nobase_includeHEADERS - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: install-libLTLIBRARIES - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-libLTLIBRARIES uninstall-nobase_includeHEADERS - -.MAKE: install-am install-strip - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libLTLIBRARIES clean-libtool clean-local ctags distclean \ - distclean-compile distclean-generic distclean-libtool \ - distclean-tags distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ - install-html-am install-info install-info-am \ - install-libLTLIBRARIES install-man \ - install-nobase_includeHEADERS install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags uninstall uninstall-am uninstall-libLTLIBRARIES \ - uninstall-nobase_includeHEADERS - - -clean-local: - -rm -f *~ *.bak *.rpo *.sym lib*.*_pure_* core core.* - -rm -f gcctemp.c gcctemp so_locations *.ics - -rm -rf cxx_repository ptrepository ti_files - -rm -rf templateregistry ir.out - -rm -rf ptrepository SunWS_cache Templates.DB - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/dep/ACE_wrappers/ace/Monitor_Control/Monitor_Control.mpc b/dep/ACE_wrappers/ace/Monitor_Control/Monitor_Control.mpc deleted file mode 100644 index 058fc442e..000000000 --- a/dep/ACE_wrappers/ace/Monitor_Control/Monitor_Control.mpc +++ /dev/null @@ -1,49 +0,0 @@ -// -*- MPC -*- -// $Id: Monitor_Control.mpc 90163 2010-05-18 21:42:20Z mitza $ - -project(Monitor_Control) : acelib, ace_etcl_parser, ace_output, install { - dynamicflags += MONITOR_CONTROL_BUILD_DLL - sharedname = ACE_Monitor_Control - avoids += wince - - Source_Files { - Auto_Update_Starter.cpp - BSD_Network_Interface_Monitor.cpp - Bytes_Received_Monitor.cpp - Bytes_Sent_Monitor.cpp - Constraint_Interpreter.cpp - Constraint_Visitor.cpp - CPU_Load_Monitor.cpp - FreeBSD_Network_Interface_Monitor.cpp - Linux_Network_Interface_Monitor.cpp - Memory_Usage_Monitor.cpp - Monitor_Group.cpp - Monitor_Query.cpp - Null_Network_Interface_Monitor.cpp - Num_Threads_Monitor.cpp - Packets_Received_Monitor.cpp - Packets_Sent_Monitor.cpp - Solaris_Network_Interface_Monitor.cpp - Windows_Monitor.cpp - Windows_Multi_Instance_Monitor.cpp - } - - Header_Files { - Monitor_Control.h - Monitor_Control_export.h - Monitor_Control_utils.h - } - - specific { - install_dir = ace/Monitor_Control - } - - specific (prop:microsoft) { - lit_libs += pdh - } - verbatim (gnuace, local) { - "ifeq (1,$(winnt))" - " ACE_SHLIBS += pdh.lib" - "endif" - } -} diff --git a/dep/ACE_wrappers/ace/Monitor_Control/Monitor_Control.vsd b/dep/ACE_wrappers/ace/Monitor_Control/Monitor_Control.vsd deleted file mode 100644 index a6c8eb849..000000000 Binary files a/dep/ACE_wrappers/ace/Monitor_Control/Monitor_Control.vsd and /dev/null differ diff --git a/dep/ACE_wrappers/ace/Monitor_Control/Monitor_Control_vc10.sln b/dep/ACE_wrappers/ace/Monitor_Control/Monitor_Control_vc10.sln deleted file mode 100644 index 70469a1df..000000000 --- a/dep/ACE_wrappers/ace/Monitor_Control/Monitor_Control_vc10.sln +++ /dev/null @@ -1,33 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -# $Id: VC10WorkspaceCreator.pm 1890 2010-08-24 19:48:23Z mitza $ -# -# This file was generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -# MPC Command: -# /tmp/DOC_ROOT/stage-1367/ACE_wrappers/bin/mwc.pl -type vc10 -recurse -hierarchy -relative ACE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers -relative TAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO -relative CIAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/CIAO -relative DANCE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/DAnCE -name_modifier "*_vc10" -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Monitor_Control", "Monitor_Control_vc10.vcxproj", "{7153B6F4-FECA-1BAD-D619-74620E01B14C}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Debug|Win32.ActiveCfg = Debug|Win32 - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Debug|Win32.Build.0 = Debug|Win32 - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Debug|x64.ActiveCfg = Debug|x64 - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Debug|x64.Build.0 = Debug|x64 - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Release|Win32.ActiveCfg = Release|Win32 - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Release|Win32.Build.0 = Release|Win32 - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Release|x64.ActiveCfg = Release|x64 - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/dep/ACE_wrappers/ace/Monitor_Control/Monitor_Control_vc10.vcxproj b/dep/ACE_wrappers/ace/Monitor_Control/Monitor_Control_vc10.vcxproj deleted file mode 100644 index c986c6e1f..000000000 --- a/dep/ACE_wrappers/ace/Monitor_Control/Monitor_Control_vc10.vcxproj +++ /dev/null @@ -1,344 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - - - Monitor_Control - {7153B6F4-FECA-1BAD-D619-74620E01B14C} - Monitor_Control - Win32Proj - - - - DynamicLibrary - true - NotSet - - - DynamicLibrary - false - NotSet - true - - - DynamicLibrary - true - NotSet - - - DynamicLibrary - false - NotSet - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - ..\..\lib\ - Debug\Monitor_Control_vc10\I386\ - true - ACE_Monitor_Controld - AllRules.ruleset - - - ..\..\lib\ - Release\Monitor_Control_vc10\I386\ - false - ACE_Monitor_Control - AllRules.ruleset - - - ..\..\lib\ - Debug\Monitor_Control_vc10\AMD64\ - true - ACE_Monitor_Controld - AllRules.ruleset - - - ..\..\lib\ - Release\Monitor_Control_vc10\AMD64\ - false - ACE_Monitor_Control - AllRules.ruleset - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - Win32 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - Disabled - ..\..;%(AdditionalIncludeDirectories) - MONITOR_CONTROL_BUILD_DLL;_DEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;MPC_LIB_MODIFIER="d";%(PreprocessorDefinitions) - false - MultiThreadedDebugDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - _DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) - 1033 - ..\..;%(AdditionalIncludeDirectories) - - - true - ACEd.lib;ACE_ETCLd.lib;ACE_ETCL_Parserd.lib;pdh.lib;%(AdditionalDependencies) - $(OutDir)ACE_Monitor_Controld.dll - .;..\..\lib;%(AdditionalLibraryDirectories) - ..\..\lib\ACE_Monitor_Controld.lib - - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - Win32 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - MaxSpeed - true - ..\..;%(AdditionalIncludeDirectories) - MONITOR_CONTROL_BUILD_DLL;NDEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) - MultiThreadedDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - NDEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) - 1033 - ..\..;%(AdditionalIncludeDirectories) - - - true - ACE.lib;ACE_ETCL.lib;ACE_ETCL_Parser.lib;pdh.lib;%(AdditionalDependencies) - $(OutDir)ACE_Monitor_Control.dll - .;..\..\lib;%(AdditionalLibraryDirectories) - true - true - ..\..\lib\ACE_Monitor_Control.lib - - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - x64 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - Disabled - ..\..;%(AdditionalIncludeDirectories) - MONITOR_CONTROL_BUILD_DLL;_DEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;_AMD64_;_WIN64;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;MPC_LIB_MODIFIER="d";%(PreprocessorDefinitions) - false - MultiThreadedDebugDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - _DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_WIN64;%(PreprocessorDefinitions) - 1033 - ..\..;%(AdditionalIncludeDirectories) - - - true - ACEd.lib;ACE_ETCLd.lib;ACE_ETCL_Parserd.lib;pdh.lib;%(AdditionalDependencies) - $(OutDir)ACE_Monitor_Controld.dll - .;..\..\lib;%(AdditionalLibraryDirectories) - ..\..\lib\ACE_Monitor_Controld.lib - - - /machine:AMD64 %(AdditionalOptions) - - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - x64 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - MaxSpeed - true - ..\..;%(AdditionalIncludeDirectories) - MONITOR_CONTROL_BUILD_DLL;NDEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;_AMD64_;_WIN64;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) - MultiThreadedDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - NDEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_WIN64;%(PreprocessorDefinitions) - 1033 - ..\..;%(AdditionalIncludeDirectories) - - - true - ACE.lib;ACE_ETCL.lib;ACE_ETCL_Parser.lib;pdh.lib;%(AdditionalDependencies) - $(OutDir)ACE_Monitor_Control.dll - .;..\..\lib;%(AdditionalLibraryDirectories) - true - true - ..\..\lib\ACE_Monitor_Control.lib - - - /machine:AMD64 %(AdditionalOptions) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - true - true - true - - - - - - diff --git a/dep/ACE_wrappers/ace/Monitor_Control/Monitor_Control_vc10.vcxproj.filters b/dep/ACE_wrappers/ace/Monitor_Control/Monitor_Control_vc10.vcxproj.filters deleted file mode 100644 index 8bdc921d4..000000000 --- a/dep/ACE_wrappers/ace/Monitor_Control/Monitor_Control_vc10.vcxproj.filters +++ /dev/null @@ -1,149 +0,0 @@ - - - - - {B1F27843-FECA-1BAD-D619-74620E01B14C} - cpp;cxx;cc;c;C - - - {06319535-FECA-1BAD-D619-74620E01B14C} - h;hpp;hxx;hh - - - {A1909F1C-FECA-1BAD-D619-74620E01B14C} - mpc;mpb;mwc - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Build Files - - - diff --git a/dep/ACE_wrappers/ace/OS_NS_pwd.inl b/dep/ACE_wrappers/ace/OS_NS_pwd.inl deleted file mode 100644 index 6fcb076fd..000000000 --- a/dep/ACE_wrappers/ace/OS_NS_pwd.inl +++ /dev/null @@ -1,115 +0,0 @@ -// -*- C++ -*- -// -// $Id: OS_NS_pwd.inl 91781 2010-09-15 12:49:15Z johnnyw $ - -#include "ace/OS_NS_errno.h" - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -// Accessors to PWD file. - -ACE_INLINE void -ACE_OS::endpwent (void) -{ -#if !defined (ACE_LACKS_PWD_FUNCTIONS) - ::endpwent (); -#endif /* ! ACE_LACKS_PWD_FUNCTIONS */ -} - -ACE_INLINE struct passwd * -ACE_OS::getpwent (void) -{ -#if !defined (ACE_LACKS_PWD_FUNCTIONS) - return ::getpwent (); -#else - ACE_NOTSUP_RETURN (0); -#endif /* ! ACE_LACKS_PWD_FUNCTIONS */ -} - -ACE_INLINE struct passwd * -ACE_OS::getpwnam (const char *name) -{ -#if !defined (ACE_LACKS_PWD_FUNCTIONS) - return ::getpwnam (name); -# else - ACE_UNUSED_ARG (name); - ACE_NOTSUP_RETURN (0); -#endif /* ACE_LACKS_PWD_FUNCTIONS */ -} - -ACE_INLINE struct passwd * -ACE_OS::getpwnam_r (const char *name, struct passwd *pwent, - char *buffer, int buflen) -{ -#if defined (ACE_HAS_POSIX_GETPWNAM_R) - struct passwd *result = 0; - - int const status = ::getpwnam_r (name, pwent, buffer, buflen, &result); - - if (status != 0) - { - errno = status; - result = 0; - } - return result; -#elif !defined (ACE_LACKS_PWD_FUNCTIONS) -# if defined (ACE_HAS_REENTRANT_FUNCTIONS) -# if !defined (ACE_LACKS_PWD_REENTRANT_FUNCTIONS) -# if defined (ACE_HAS_PTHREADS) && \ - !defined (ACE_HAS_STHREADS) || \ - defined (HPUX_11) - struct passwd *result = 0; - int status; - // VAC++ doesn't correctly grok the ::getpwnam_r - the function is redefined - // in pwd.h, and that redefinition is used here -# if defined (__IBMCPP__) && (__IBMCPP__ >= 400) /* VAC++ 4 */ - status = _posix_getpwnam_r (name, pwent, buffer, buflen, &result); -# else - status = ::getpwnam_r (name, pwent, buffer, buflen, &result); -# endif /* __IBMCPP__ && (__IBMCPP__ >= 400) */ - if (status != 0) - { - errno = status; - result = 0; - } - return result; -# elif defined (AIX) - if (::getpwnam_r (name, pwent, buffer, buflen) == -1) - return 0; - else - return pwent; -# else - return ::getpwnam_r (name, pwent, buffer, buflen); -# endif /* ACE_HAS_PTHREADS */ -# else - ACE_UNUSED_ARG (name); - ACE_UNUSED_ARG (pwent); - ACE_UNUSED_ARG (buffer); - ACE_UNUSED_ARG (buflen); - ACE_NOTSUP_RETURN (0); -# endif /* ! ACE_LACKS_PWD_REENTRANT_FUNCTIONS */ -# else - ACE_UNUSED_ARG (name); - ACE_UNUSED_ARG (pwent); - ACE_UNUSED_ARG (buffer); - ACE_UNUSED_ARG (buflen); - ACE_NOTSUP_RETURN (0); -# endif /* ACE_HAS_REENTRANT_FUNCTIONS */ -#else - ACE_UNUSED_ARG (name); - ACE_UNUSED_ARG (pwent); - ACE_UNUSED_ARG (buffer); - ACE_UNUSED_ARG (buflen); - ACE_NOTSUP_RETURN (0); -#endif /* ACE_HAS_POSIX_GETPWNAM_R */ -} - -ACE_INLINE void -ACE_OS::setpwent (void) -{ -#if !defined (ACE_LACKS_PWD_FUNCTIONS) - ::setpwent (); -#endif /* ! ACE_LACKS_PWD_FUNCTIONS */ -} - -ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/ACE_wrappers/ace/QoS/ACE_QoS.pc.in b/dep/ACE_wrappers/ace/QoS/ACE_QoS.pc.in deleted file mode 100644 index ba6fda765..000000000 --- a/dep/ACE_wrappers/ace/QoS/ACE_QoS.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: ACE_QOS -Description: ACE Quality of Service Library -Requires: ACE -Version: @VERSION@ -Libs: -L${libdir} -lACE_QoS -Cflags: -I${includedir} diff --git a/dep/ACE_wrappers/ace/QoS/Makefile.am b/dep/ACE_wrappers/ace/QoS/Makefile.am deleted file mode 100644 index 002f32d27..000000000 --- a/dep/ACE_wrappers/ace/QoS/Makefile.am +++ /dev/null @@ -1,74 +0,0 @@ -## Process this file with automake to create Makefile.in -## -## $Id: Makefile.am 80826 2008-03-04 14:51:23Z wotte $ -## -## This file was generated by MPC. Any changes made directly to -## this file will be lost the next time it is generated. -## -## MPC Command: -## /acebuilds/ACE_wrappers-repository/bin/mwc.pl -include /acebuilds/MPC/config -include /acebuilds/MPC/templates -feature_file /acebuilds/ACE_wrappers-repository/local.features -noreldefs -type automake -exclude build,Kokyu - -includedir = @includedir@/ace/QoS -pkgconfigdir = @libdir@/pkgconfig - -ACE_BUILDDIR = $(top_builddir) -ACE_ROOT = $(top_srcdir) - - -## Makefile.QoS.am - -if BUILD_QOS - -lib_LTLIBRARIES = libACE_QoS.la - -libACE_QoS_la_CPPFLAGS = \ - -I$(ACE_ROOT) \ - -I$(ACE_BUILDDIR) \ - -DACE_QoS_BUILD_DLL - -libACE_QoS_la_SOURCES = \ - QoS_Decorator.cpp \ - QoS_Manager.cpp \ - QoS_Session_Factory.cpp \ - QoS_Session_Impl.cpp \ - SOCK_Dgram_Mcast_QoS.cpp - -libACE_QoS_la_LDFLAGS = \ - -release @ACE_VERSION_NAME@ - -libACE_QoS_la_LIBADD = \ - $(ACE_BUILDDIR)/ace/libACE.la - -nobase_include_HEADERS = \ - ACE_QoS_Export.h \ - QoS_Decorator.h \ - QoS_Manager.h \ - QoS_Session.h \ - QoS_Session_Factory.h \ - QoS_Session_Impl.h \ - QoS_Session_Impl.inl \ - SOCK_Dgram_Mcast_QoS.h \ - SOCK_Dgram_Mcast_QoS.inl - -pkgconfig_DATA = \ - ACE_QoS.pc - -CLEANFILES = \ - ACE_QoS.pc - -ACE_QoS.pc: ${top_builddir}/config.status ${srcdir}/ACE_QoS.pc.in - ${top_builddir}/config.status --file $@:${srcdir}/ACE_QoS.pc.in - -endif BUILD_QOS - -EXTRA_DIST = \ - ACE_QoS.pc.in - - -## Clean up template repositories, etc. -clean-local: - -rm -f *~ *.bak *.rpo *.sym lib*.*_pure_* core core.* - -rm -f gcctemp.c gcctemp so_locations *.ics - -rm -rf cxx_repository ptrepository ti_files - -rm -rf templateregistry ir.out - -rm -rf ptrepository SunWS_cache Templates.DB diff --git a/dep/ACE_wrappers/ace/QoS/Makefile.in b/dep/ACE_wrappers/ace/QoS/Makefile.in deleted file mode 100644 index e0f9f793f..000000000 --- a/dep/ACE_wrappers/ace/QoS/Makefile.in +++ /dev/null @@ -1,753 +0,0 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - - - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -target_triplet = @target@ -subdir = ace/QoS -DIST_COMMON = README $(am__nobase_include_HEADERS_DIST) \ - $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ace.m4 \ - $(top_srcdir)/m4/ace_defines.m4 $(top_srcdir)/m4/ace_func.m4 \ - $(top_srcdir)/m4/ace_functions.m4 \ - $(top_srcdir)/m4/ace_headers.m4 $(top_srcdir)/m4/acinclude.m4 \ - $(top_srcdir)/m4/aio.m4 $(top_srcdir)/m4/compiler.m4 \ - $(top_srcdir)/m4/config_h.m4 $(top_srcdir)/m4/libtool.m4 \ - $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ - $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ - $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/platform.m4 \ - $(top_srcdir)/m4/subsets.m4 $(top_srcdir)/m4/threads.m4 \ - $(top_srcdir)/m4/tls.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/ace/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ - if (++n[$$2] == $(am__install_max)) \ - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ - END { for (dir in files) print dir, files[dir] }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)" \ - "$(DESTDIR)$(includedir)" -LTLIBRARIES = $(lib_LTLIBRARIES) -@BUILD_QOS_TRUE@libACE_QoS_la_DEPENDENCIES = \ -@BUILD_QOS_TRUE@ $(ACE_BUILDDIR)/ace/libACE.la -am__libACE_QoS_la_SOURCES_DIST = QoS_Decorator.cpp QoS_Manager.cpp \ - QoS_Session_Factory.cpp QoS_Session_Impl.cpp \ - SOCK_Dgram_Mcast_QoS.cpp -@BUILD_QOS_TRUE@am_libACE_QoS_la_OBJECTS = \ -@BUILD_QOS_TRUE@ libACE_QoS_la-QoS_Decorator.lo \ -@BUILD_QOS_TRUE@ libACE_QoS_la-QoS_Manager.lo \ -@BUILD_QOS_TRUE@ libACE_QoS_la-QoS_Session_Factory.lo \ -@BUILD_QOS_TRUE@ libACE_QoS_la-QoS_Session_Impl.lo \ -@BUILD_QOS_TRUE@ libACE_QoS_la-SOCK_Dgram_Mcast_QoS.lo -libACE_QoS_la_OBJECTS = $(am_libACE_QoS_la_OBJECTS) -libACE_QoS_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ - $(CXXFLAGS) $(libACE_QoS_la_LDFLAGS) $(LDFLAGS) -o $@ -@BUILD_QOS_TRUE@am_libACE_QoS_la_rpath = -rpath $(libdir) -DEFAULT_INCLUDES = -depcomp = $(SHELL) $(top_srcdir)/aux_config/depcomp -am__depfiles_maybe = depfiles -am__mv = mv -f -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -CXXLD = $(CXX) -CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ -SOURCES = $(libACE_QoS_la_SOURCES) -DIST_SOURCES = $(am__libACE_QoS_la_SOURCES_DIST) -DATA = $(pkgconfig_DATA) -am__nobase_include_HEADERS_DIST = ACE_QoS_Export.h QoS_Decorator.h \ - QoS_Manager.h QoS_Session.h QoS_Session_Factory.h \ - QoS_Session_Impl.h QoS_Session_Impl.inl SOCK_Dgram_Mcast_QoS.h \ - SOCK_Dgram_Mcast_QoS.inl -HEADERS = $(nobase_include_HEADERS) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACEXML = @ACEXML@ -ACE_BETA = @ACE_BETA@ -ACE_BZIP2_CPPFLAGS = @ACE_BZIP2_CPPFLAGS@ -ACE_BZIP2_LDFLAGS = @ACE_BZIP2_LDFLAGS@ -ACE_BZIP2_LIBS = @ACE_BZIP2_LIBS@ -ACE_FLTK_CPPFLAGS = @ACE_FLTK_CPPFLAGS@ -ACE_FLTK_LIBS = @ACE_FLTK_LIBS@ -ACE_FOX_CPPFLAGS = @ACE_FOX_CPPFLAGS@ -ACE_FOX_LIBS = @ACE_FOX_LIBS@ -ACE_KERBEROS_INCLUDES = @ACE_KERBEROS_INCLUDES@ -ACE_MAJOR = @ACE_MAJOR@ -ACE_MINOR = @ACE_MINOR@ -ACE_QT_CPPFLAGS = @ACE_QT_CPPFLAGS@ -ACE_QT_LIBS = @ACE_QT_LIBS@ -ACE_TCL_CPPFLAGS = @ACE_TCL_CPPFLAGS@ -ACE_TCL_LIBS = @ACE_TCL_LIBS@ -ACE_TESTS_DIR = @ACE_TESTS_DIR@ -ACE_TK_CPPFLAGS = @ACE_TK_CPPFLAGS@ -ACE_TK_LIBS = @ACE_TK_LIBS@ -ACE_TLS_CPPFLAGS = @ACE_TLS_CPPFLAGS@ -ACE_TLS_LDFLAGS = @ACE_TLS_LDFLAGS@ -ACE_TLS_LIBS = @ACE_TLS_LIBS@ -ACE_VERSION_NAME = @ACE_VERSION_NAME@ -ACE_X11_CPPFLAGS = @ACE_X11_CPPFLAGS@ -ACE_X11_LDFLAGS = @ACE_X11_LDFLAGS@ -ACE_X11_LIBS = @ACE_X11_LIBS@ -ACE_XLIBS = @ACE_XLIBS@ -ACE_XT_CPPFLAGS = @ACE_XT_CPPFLAGS@ -ACE_XT_LDFLAGS = @ACE_XT_LDFLAGS@ -ACE_XT_LIBS = @ACE_XT_LIBS@ -ACE_ZLIB_CPPFLAGS = @ACE_ZLIB_CPPFLAGS@ -ACE_ZLIB_LDFLAGS = @ACE_ZLIB_LDFLAGS@ -ACE_ZLIB_LIBS = @ACE_ZLIB_LIBS@ -ACE_ZZIP_CPPFLAGS = @ACE_ZZIP_CPPFLAGS@ -ACE_ZZIP_LDFLAGS = @ACE_ZZIP_LDFLAGS@ -ACE_ZZIP_LIBS = @ACE_ZZIP_LIBS@ -ACLOCAL = @ACLOCAL@ -ALLOCA = @ALLOCA@ -AMTAR = @AMTAR@ -AR = @AR@ -ASNMP = @ASNMP@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FGREP = @FGREP@ -FLTKCONFIG = @FLTKCONFIG@ -FOXCONFIG = @FOXCONFIG@ -GPERF = @GPERF@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -KOKYU = @KOKYU@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LEX = @LEX@ -LEXLIB = @LEXLIB@ -LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PROF = @PROF@ -PURIFY = @PURIFY@ -QTDIR = @QTDIR@ -QUANTIFY = @QUANTIFY@ -Qt_CFLAGS = @Qt_CFLAGS@ -Qt_LIBS = @Qt_LIBS@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -TAO = @TAO@ -VERSION = @VERSION@ -XMKMF = @XMKMF@ -XTREACTOR_TEST_XLIBS = @XTREACTOR_TEST_XLIBS@ -X_CFLAGS = @X_CFLAGS@ -X_EXTRA_LIBS = @X_EXTRA_LIBS@ -X_LIBS = @X_LIBS@ -X_PRE_LIBS = @X_PRE_LIBS@ -YACC = @YACC@ -YFLAGS = @YFLAGS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@/ace/QoS -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -protocols = @protocols@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -subdirs = @subdirs@ -sysconfdir = @sysconfdir@ -target = @target@ -target_alias = @target_alias@ -target_cpu = @target_cpu@ -target_os = @target_os@ -target_vendor = @target_vendor@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -pkgconfigdir = @libdir@/pkgconfig -ACE_BUILDDIR = $(top_builddir) -ACE_ROOT = $(top_srcdir) -@BUILD_QOS_TRUE@lib_LTLIBRARIES = libACE_QoS.la -@BUILD_QOS_TRUE@libACE_QoS_la_CPPFLAGS = \ -@BUILD_QOS_TRUE@ -I$(ACE_ROOT) \ -@BUILD_QOS_TRUE@ -I$(ACE_BUILDDIR) \ -@BUILD_QOS_TRUE@ -DACE_QoS_BUILD_DLL - -@BUILD_QOS_TRUE@libACE_QoS_la_SOURCES = \ -@BUILD_QOS_TRUE@ QoS_Decorator.cpp \ -@BUILD_QOS_TRUE@ QoS_Manager.cpp \ -@BUILD_QOS_TRUE@ QoS_Session_Factory.cpp \ -@BUILD_QOS_TRUE@ QoS_Session_Impl.cpp \ -@BUILD_QOS_TRUE@ SOCK_Dgram_Mcast_QoS.cpp - -@BUILD_QOS_TRUE@libACE_QoS_la_LDFLAGS = \ -@BUILD_QOS_TRUE@ -release @ACE_VERSION_NAME@ - -@BUILD_QOS_TRUE@libACE_QoS_la_LIBADD = \ -@BUILD_QOS_TRUE@ $(ACE_BUILDDIR)/ace/libACE.la - -@BUILD_QOS_TRUE@nobase_include_HEADERS = \ -@BUILD_QOS_TRUE@ ACE_QoS_Export.h \ -@BUILD_QOS_TRUE@ QoS_Decorator.h \ -@BUILD_QOS_TRUE@ QoS_Manager.h \ -@BUILD_QOS_TRUE@ QoS_Session.h \ -@BUILD_QOS_TRUE@ QoS_Session_Factory.h \ -@BUILD_QOS_TRUE@ QoS_Session_Impl.h \ -@BUILD_QOS_TRUE@ QoS_Session_Impl.inl \ -@BUILD_QOS_TRUE@ SOCK_Dgram_Mcast_QoS.h \ -@BUILD_QOS_TRUE@ SOCK_Dgram_Mcast_QoS.inl - -@BUILD_QOS_TRUE@pkgconfig_DATA = \ -@BUILD_QOS_TRUE@ ACE_QoS.pc - -@BUILD_QOS_TRUE@CLEANFILES = \ -@BUILD_QOS_TRUE@ ACE_QoS.pc - -EXTRA_DIST = \ - ACE_QoS.pc.in - -all: all-am - -.SUFFIXES: -.SUFFIXES: .cpp .lo .o .obj -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign ace/QoS/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign ace/QoS/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): -install-libLTLIBRARIES: $(lib_LTLIBRARIES) - @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" - @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ - list2=; for p in $$list; do \ - if test -f $$p; then \ - list2="$$list2 $$p"; \ - else :; fi; \ - done; \ - test -z "$$list2" || { \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ - } - -uninstall-libLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ - for p in $$list; do \ - $(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ - done - -clean-libLTLIBRARIES: - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ - test "$$dir" != "$$p" || dir=.; \ - echo "rm -f \"$${dir}/so_locations\""; \ - rm -f "$${dir}/so_locations"; \ - done -libACE_QoS.la: $(libACE_QoS_la_OBJECTS) $(libACE_QoS_la_DEPENDENCIES) - $(libACE_QoS_la_LINK) $(am_libACE_QoS_la_rpath) $(libACE_QoS_la_OBJECTS) $(libACE_QoS_la_LIBADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_QoS_la-QoS_Decorator.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_QoS_la-QoS_Manager.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_QoS_la-QoS_Session_Factory.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_QoS_la-QoS_Session_Impl.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_QoS_la-SOCK_Dgram_Mcast_QoS.Plo@am__quote@ - -.cpp.o: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< - -.cpp.obj: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.cpp.lo: -@am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< - -libACE_QoS_la-QoS_Decorator.lo: QoS_Decorator.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_QoS_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_QoS_la-QoS_Decorator.lo -MD -MP -MF $(DEPDIR)/libACE_QoS_la-QoS_Decorator.Tpo -c -o libACE_QoS_la-QoS_Decorator.lo `test -f 'QoS_Decorator.cpp' || echo '$(srcdir)/'`QoS_Decorator.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_QoS_la-QoS_Decorator.Tpo $(DEPDIR)/libACE_QoS_la-QoS_Decorator.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='QoS_Decorator.cpp' object='libACE_QoS_la-QoS_Decorator.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_QoS_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_QoS_la-QoS_Decorator.lo `test -f 'QoS_Decorator.cpp' || echo '$(srcdir)/'`QoS_Decorator.cpp - -libACE_QoS_la-QoS_Manager.lo: QoS_Manager.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_QoS_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_QoS_la-QoS_Manager.lo -MD -MP -MF $(DEPDIR)/libACE_QoS_la-QoS_Manager.Tpo -c -o libACE_QoS_la-QoS_Manager.lo `test -f 'QoS_Manager.cpp' || echo '$(srcdir)/'`QoS_Manager.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_QoS_la-QoS_Manager.Tpo $(DEPDIR)/libACE_QoS_la-QoS_Manager.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='QoS_Manager.cpp' object='libACE_QoS_la-QoS_Manager.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_QoS_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_QoS_la-QoS_Manager.lo `test -f 'QoS_Manager.cpp' || echo '$(srcdir)/'`QoS_Manager.cpp - -libACE_QoS_la-QoS_Session_Factory.lo: QoS_Session_Factory.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_QoS_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_QoS_la-QoS_Session_Factory.lo -MD -MP -MF $(DEPDIR)/libACE_QoS_la-QoS_Session_Factory.Tpo -c -o libACE_QoS_la-QoS_Session_Factory.lo `test -f 'QoS_Session_Factory.cpp' || echo '$(srcdir)/'`QoS_Session_Factory.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_QoS_la-QoS_Session_Factory.Tpo $(DEPDIR)/libACE_QoS_la-QoS_Session_Factory.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='QoS_Session_Factory.cpp' object='libACE_QoS_la-QoS_Session_Factory.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_QoS_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_QoS_la-QoS_Session_Factory.lo `test -f 'QoS_Session_Factory.cpp' || echo '$(srcdir)/'`QoS_Session_Factory.cpp - -libACE_QoS_la-QoS_Session_Impl.lo: QoS_Session_Impl.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_QoS_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_QoS_la-QoS_Session_Impl.lo -MD -MP -MF $(DEPDIR)/libACE_QoS_la-QoS_Session_Impl.Tpo -c -o libACE_QoS_la-QoS_Session_Impl.lo `test -f 'QoS_Session_Impl.cpp' || echo '$(srcdir)/'`QoS_Session_Impl.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_QoS_la-QoS_Session_Impl.Tpo $(DEPDIR)/libACE_QoS_la-QoS_Session_Impl.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='QoS_Session_Impl.cpp' object='libACE_QoS_la-QoS_Session_Impl.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_QoS_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_QoS_la-QoS_Session_Impl.lo `test -f 'QoS_Session_Impl.cpp' || echo '$(srcdir)/'`QoS_Session_Impl.cpp - -libACE_QoS_la-SOCK_Dgram_Mcast_QoS.lo: SOCK_Dgram_Mcast_QoS.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_QoS_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_QoS_la-SOCK_Dgram_Mcast_QoS.lo -MD -MP -MF $(DEPDIR)/libACE_QoS_la-SOCK_Dgram_Mcast_QoS.Tpo -c -o libACE_QoS_la-SOCK_Dgram_Mcast_QoS.lo `test -f 'SOCK_Dgram_Mcast_QoS.cpp' || echo '$(srcdir)/'`SOCK_Dgram_Mcast_QoS.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_QoS_la-SOCK_Dgram_Mcast_QoS.Tpo $(DEPDIR)/libACE_QoS_la-SOCK_Dgram_Mcast_QoS.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SOCK_Dgram_Mcast_QoS.cpp' object='libACE_QoS_la-SOCK_Dgram_Mcast_QoS.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_QoS_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_QoS_la-SOCK_Dgram_Mcast_QoS.lo `test -f 'SOCK_Dgram_Mcast_QoS.cpp' || echo '$(srcdir)/'`SOCK_Dgram_Mcast_QoS.cpp - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-pkgconfigDATA: $(pkgconfig_DATA) - @$(NORMAL_INSTALL) - test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" - @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ - done - -uninstall-pkgconfigDATA: - @$(NORMAL_UNINSTALL) - @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files -install-nobase_includeHEADERS: $(nobase_include_HEADERS) - @$(NORMAL_INSTALL) - test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)" - @list='$(nobase_include_HEADERS)'; test -n "$(includedir)" || list=; \ - $(am__nobase_list) | while read dir files; do \ - xfiles=; for file in $$files; do \ - if test -f "$$file"; then xfiles="$$xfiles $$file"; \ - else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \ - test -z "$$xfiles" || { \ - test "x$$dir" = x. || { \ - echo "$(MKDIR_P) '$(DESTDIR)$(includedir)/$$dir'"; \ - $(MKDIR_P) "$(DESTDIR)$(includedir)/$$dir"; }; \ - echo " $(INSTALL_HEADER) $$xfiles '$(DESTDIR)$(includedir)/$$dir'"; \ - $(INSTALL_HEADER) $$xfiles "$(DESTDIR)$(includedir)/$$dir" || exit $$?; }; \ - done - -uninstall-nobase_includeHEADERS: - @$(NORMAL_UNINSTALL) - @list='$(nobase_include_HEADERS)'; test -n "$(includedir)" || list=; \ - $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(includedir)" && rm -f $$files - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - set x; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) -installdirs: - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libLTLIBRARIES clean-libtool clean-local \ - mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: install-nobase_includeHEADERS install-pkgconfigDATA - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: install-libLTLIBRARIES - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-libLTLIBRARIES uninstall-nobase_includeHEADERS \ - uninstall-pkgconfigDATA - -.MAKE: install-am install-strip - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libLTLIBRARIES clean-libtool clean-local ctags distclean \ - distclean-compile distclean-generic distclean-libtool \ - distclean-tags distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ - install-html-am install-info install-info-am \ - install-libLTLIBRARIES install-man \ - install-nobase_includeHEADERS install-pdf install-pdf-am \ - install-pkgconfigDATA install-ps install-ps-am install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags uninstall uninstall-am uninstall-libLTLIBRARIES \ - uninstall-nobase_includeHEADERS uninstall-pkgconfigDATA - - -@BUILD_QOS_TRUE@ACE_QoS.pc: ${top_builddir}/config.status ${srcdir}/ACE_QoS.pc.in -@BUILD_QOS_TRUE@ ${top_builddir}/config.status --file $@:${srcdir}/ACE_QoS.pc.in - -clean-local: - -rm -f *~ *.bak *.rpo *.sym lib*.*_pure_* core core.* - -rm -f gcctemp.c gcctemp so_locations *.ics - -rm -rf cxx_repository ptrepository ti_files - -rm -rf templateregistry ir.out - -rm -rf ptrepository SunWS_cache Templates.DB - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/dep/ACE_wrappers/ace/QoS/QoS_vc10.sln b/dep/ACE_wrappers/ace/QoS/QoS_vc10.sln deleted file mode 100644 index b86d73531..000000000 --- a/dep/ACE_wrappers/ace/QoS/QoS_vc10.sln +++ /dev/null @@ -1,33 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -# $Id: VC10WorkspaceCreator.pm 1890 2010-08-24 19:48:23Z mitza $ -# -# This file was generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -# MPC Command: -# /tmp/DOC_ROOT/stage-1367/ACE_wrappers/bin/mwc.pl -type vc10 -recurse -hierarchy -relative ACE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers -relative TAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO -relative CIAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/CIAO -relative DANCE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/DAnCE -name_modifier "*_vc10" -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "QoS", "QoS_vc10.vcxproj", "{6ADC56EC-FECA-1BAD-7781-8A636757A7A3}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Debug|Win32.ActiveCfg = Debug|Win32 - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Debug|Win32.Build.0 = Debug|Win32 - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Debug|x64.ActiveCfg = Debug|x64 - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Debug|x64.Build.0 = Debug|x64 - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Release|Win32.ActiveCfg = Release|Win32 - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Release|Win32.Build.0 = Release|Win32 - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Release|x64.ActiveCfg = Release|x64 - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/dep/ACE_wrappers/ace/QoS/QoS_vc10.vcxproj b/dep/ACE_wrappers/ace/QoS/QoS_vc10.vcxproj deleted file mode 100644 index 305c9c2c4..000000000 --- a/dep/ACE_wrappers/ace/QoS/QoS_vc10.vcxproj +++ /dev/null @@ -1,322 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - - - QoS - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3} - QoS - Win32Proj - - - - DynamicLibrary - true - NotSet - - - DynamicLibrary - false - NotSet - true - - - DynamicLibrary - true - NotSet - - - DynamicLibrary - false - NotSet - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - ..\..\lib\ - Debug\QoS_vc10\I386\ - true - ACE_QoSd - AllRules.ruleset - - - ..\..\lib\ - Release\QoS_vc10\I386\ - false - ACE_QoS - AllRules.ruleset - - - ..\..\lib\ - Debug\QoS_vc10\AMD64\ - true - ACE_QoSd - AllRules.ruleset - - - ..\..\lib\ - Release\QoS_vc10\AMD64\ - false - ACE_QoS - AllRules.ruleset - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - Win32 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - Disabled - ..\..;%(AdditionalIncludeDirectories) - ACE_QoS_BUILD_DLL;_DEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;ACE_HAS_QOS;ACE_HAS_WINSOCK2_GQOS;MPC_LIB_MODIFIER="d";%(PreprocessorDefinitions) - false - MultiThreadedDebugDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - _DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;ACE_HAS_QOS;ACE_HAS_WINSOCK2_GQOS;%(PreprocessorDefinitions) - 1033 - ..\..;%(AdditionalIncludeDirectories) - - - true - ACEd.lib;%(AdditionalDependencies) - $(OutDir)ACE_QoSd.dll - .;..\..\lib;%(AdditionalLibraryDirectories) - ..\..\lib\ACE_QoSd.lib - - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - Win32 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - MaxSpeed - true - ..\..;%(AdditionalIncludeDirectories) - ACE_QoS_BUILD_DLL;NDEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;ACE_HAS_QOS;ACE_HAS_WINSOCK2_GQOS;%(PreprocessorDefinitions) - MultiThreadedDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - NDEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;ACE_HAS_QOS;ACE_HAS_WINSOCK2_GQOS;%(PreprocessorDefinitions) - 1033 - ..\..;%(AdditionalIncludeDirectories) - - - true - ACE.lib;%(AdditionalDependencies) - $(OutDir)ACE_QoS.dll - .;..\..\lib;%(AdditionalLibraryDirectories) - true - true - ..\..\lib\ACE_QoS.lib - - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - x64 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - Disabled - ..\..;%(AdditionalIncludeDirectories) - ACE_QoS_BUILD_DLL;_DEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;_AMD64_;_WIN64;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;ACE_HAS_QOS;ACE_HAS_WINSOCK2_GQOS;MPC_LIB_MODIFIER="d";%(PreprocessorDefinitions) - false - MultiThreadedDebugDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - _DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;ACE_HAS_QOS;ACE_HAS_WINSOCK2_GQOS;_WIN64;%(PreprocessorDefinitions) - 1033 - ..\..;%(AdditionalIncludeDirectories) - - - true - ACEd.lib;%(AdditionalDependencies) - $(OutDir)ACE_QoSd.dll - .;..\..\lib;%(AdditionalLibraryDirectories) - ..\..\lib\ACE_QoSd.lib - - - /machine:AMD64 %(AdditionalOptions) - - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - x64 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - MaxSpeed - true - ..\..;%(AdditionalIncludeDirectories) - ACE_QoS_BUILD_DLL;NDEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;_AMD64_;_WIN64;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;ACE_HAS_QOS;ACE_HAS_WINSOCK2_GQOS;%(PreprocessorDefinitions) - MultiThreadedDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - NDEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;ACE_HAS_QOS;ACE_HAS_WINSOCK2_GQOS;_WIN64;%(PreprocessorDefinitions) - 1033 - ..\..;%(AdditionalIncludeDirectories) - - - true - ACE.lib;%(AdditionalDependencies) - $(OutDir)ACE_QoS.dll - .;..\..\lib;%(AdditionalLibraryDirectories) - true - true - ..\..\lib\ACE_QoS.lib - - - /machine:AMD64 %(AdditionalOptions) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - true - true - true - - - - - true - true - true - true - - - - - - - - - Document - true - true - true - true - - - - - - diff --git a/dep/ACE_wrappers/ace/QoS/QoS_vc10.vcxproj.filters b/dep/ACE_wrappers/ace/QoS/QoS_vc10.vcxproj.filters deleted file mode 100644 index c1c59aa3b..000000000 --- a/dep/ACE_wrappers/ace/QoS/QoS_vc10.vcxproj.filters +++ /dev/null @@ -1,91 +0,0 @@ - - - - - {B1F27843-FECA-1BAD-7781-8A636757A7A3} - cpp;cxx;cc;c;C - - - {06319535-FECA-1BAD-7781-8A636757A7A3} - h;hpp;hxx;hh - - - {A1909F1C-FECA-1BAD-7781-8A636757A7A3} - mpc;mpb;mwc - - - {8441A3A3-FECA-1BAD-7781-8A636757A7A3} - pcin - - - {763028EF-FECA-1BAD-7781-8A636757A7A3} - i;ipp;inl - - - {B14BBA74-FECA-1BAD-7781-8A636757A7A3} - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Build Files - - - - - Pkgconfig Files - - - - - Inline Files - - - Inline Files - - - - - Documentation - - - diff --git a/dep/ACE_wrappers/ace/QoS/qos.mpc b/dep/ACE_wrappers/ace/QoS/qos.mpc deleted file mode 100644 index bcc731696..000000000 --- a/dep/ACE_wrappers/ace/QoS/qos.mpc +++ /dev/null @@ -1,21 +0,0 @@ -// -*- MPC -*- -// $Id: qos.mpc 90826 2010-06-24 09:07:33Z johnnyw $ - -project(QoS) : acelib, ace_output, install { - requires += qos - sharedname = ACE_QoS - dynamicflags += ACE_QoS_BUILD_DLL - macros += ACE_HAS_QOS - - specific(prop:windows) { - macros += ACE_HAS_WINSOCK2_GQOS - } - - specific { - install_dir = ace/qos - } - - pkgconfig_files { - ACE_QoS.pc.in - } -} diff --git a/dep/ACE_wrappers/ace/QtReactor/ACE_QtReactor.pc.in b/dep/ACE_wrappers/ace/QtReactor/ACE_QtReactor.pc.in deleted file mode 100644 index 4e7aa83e6..000000000 --- a/dep/ACE_wrappers/ace/QtReactor/ACE_QtReactor.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: ACE_QtReactor -Description: ACE QtReactor Library -Requires: ACE -Version: @VERSION@ -Libs: -L${libdir} -lACE_QtReactor -Cflags: -I${includedir} diff --git a/dep/ACE_wrappers/ace/QtReactor/GNUmakefile b/dep/ACE_wrappers/ace/QtReactor/GNUmakefile deleted file mode 100644 index 89db2cb0b..000000000 --- a/dep/ACE_wrappers/ace/QtReactor/GNUmakefile +++ /dev/null @@ -1,41 +0,0 @@ -# -*- makefile -*- -#---------------------------------------------------------------------------- -# GNU ACE Workspace -# -# $Id: GNUACEWorkspaceCreator.pm 91813 2010-09-17 07:52:52Z johnnyw $ -# -# This file was generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -# MPC Command: -# /tmp/DOC_ROOT/stage-1367/ACE_wrappers/bin/mwc.pl -type gnuace -exclude "TAO/TAO_*.mwc,TAO/CIAO/CIAO_*.mwc" -recurse -hierarchy -relative ACE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers -relative TAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO -relative CIAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/CIAO -relative DANCE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/DAnCE -# -#---------------------------------------------------------------------------- - -MAKEFILE = GNUmakefile - -ifeq ($(findstring k,$(MAKEFLAGS)),k) - KEEP_GOING = - -endif - -include $(ACE_ROOT)/include/makeinclude/macros.GNU - -all: ACE_Qt3Reactor_moc ACE_Qt3Reactor - -REMAINING_TARGETS := $(filter-out all,$(TARGETS_NESTED:.nested=)) $(CUSTOM_TARGETS) - -$(REMAINING_TARGETS): - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.ACE_Qt3Reactor_moc $(@) - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.ACE_Qt3Reactor $(@) - -.PHONY: ACE_Qt3Reactor_moc -ACE_Qt3Reactor_moc: - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.ACE_Qt3Reactor_moc all - -.PHONY: ACE_Qt3Reactor -ACE_Qt3Reactor: ACE_Qt3Reactor_moc - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.ACE_Qt3Reactor all - -project_name_list: - @echo ACE_Qt3Reactor - @echo ACE_Qt3Reactor_moc diff --git a/dep/ACE_wrappers/ace/QtReactor/GNUmakefile.ACE_Qt3Reactor b/dep/ACE_wrappers/ace/QtReactor/GNUmakefile.ACE_Qt3Reactor deleted file mode 100644 index 39a8785bd..000000000 --- a/dep/ACE_wrappers/ace/QtReactor/GNUmakefile.ACE_Qt3Reactor +++ /dev/null @@ -1,253 +0,0 @@ -# -*- Makefile -*- -#---------------------------------------------------------------------------- -# GNU Makefile -# -# @file GNUmakefile.ACE_Qt3Reactor -# -# $Id: gnu.mpd 91974 2010-09-23 16:17:42Z mitza $ -# -# This file was automatically generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -#---------------------------------------------------------------------------- -MAKEFILE = GNUmakefile.ACE_Qt3Reactor -DEPENDENCY_FILE = .depend.ACE_Qt3Reactor - -LIB_PREFIX ?= lib - -## LIB_CHECKED may be set to empty later on in this file -LIB_UNCHECKED = $(LIB_PREFIX)ACE_QtReactor.$(LIBEXT) -LIB_CHECKED = $(LIB_UNCHECKED) -LIB_NAME = $(LIB_PREFIX)ACE_QtReactor - -## SHLIB may be set to empty later on in this file -SHLIB_UNCHECKED = $(LIB_PREFIX)ACE_QtReactor.$(SOEXT) -SHLIB = $(SHLIB_UNCHECKED) - -FILES = \ - QtReactor_moc.cpp \ - QtReactor.cpp - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- -ACE_SHLIBS = -lACE -lqt-mt$(QT_VERSION) - -PRJ_TYPE = library - -COLLAPSE_SLASHES = $(if $(findstring //,$(1)),$(call COLLAPSE_SLASHES,$(subst //,/,$(1))),$(1)) -INSLIB ?= $(call COLLAPSE_SLASHES,../../lib) -ifeq ($(INSLIB),.) - ifeq ($(CURDIR),) - ifeq ($(PWD),) - PWD=$(shell pwd) - endif - else - PWD=$(CURDIR) - endif - INSLIB = $(PWD) -endif -OUTPUT_DIRECTORY = $(INSLIB) - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU - - -GNUACE_PROJECT_VERSION ?= $(ACE_VERSION) - -# To build multiple targets in the same directory on AIX, it works -# best to have a template directory per project. -# The compiler/linker isn't too smart about instantiating templates... -ifdef TEMPINCDIR -TEMPINCDIR := $(TEMPINCDIR)/ACE_Qt3Reactor -all: $(TEMPINCDIR) -endif - -ifneq ($(OUTPUT_DIRECTORY),) -.PHONY: create_output_directory.local -all: create_output_directory.local -create_output_directory.local: - -@$(MKDIR) "$(OUTPUT_DIRECTORY)" $(ACE_NUL_STDERR) -endif - -# turn off libcheck if doing a dry run -ifeq ($(findstring n, $(MAKEFLAGS)),n) - LIBCHECK = 1 -else - # turn off libcheck if keep going was passed too - ifeq ($(findstring k, $(MAKEFLAGS)),k) - LIBCHECK = 1 - else - LIBCHECK ?= $(filter-out $(foreach lib,ACE,$(findstring $(lib),$(foreach libpath,. $(if $(ARCH),./$(ARCH)) ../../lib $(if $(ARCH),../../lib/$(ARCH)) $(QTDIR)/lib $(if $(ARCH),$(QTDIR)/lib/$(ARCH)) $(QTDIR)/lib64 $(if $(ARCH),$(QTDIR)/lib64/$(ARCH)) /usr/lib /usr/lib64 $(INSLIB),$(wildcard $(libpath)/$(LIB_PREFIX)$(lib).* $(libpath)/$(lib).lib)))),ACE) - ifeq ($(LIBCHECK),) - LIBCHECK = 1 - endif - endif -endif -ifeq ($(qt),1) -ifneq ($(LIBCHECK), 1) - LIB_CHECKED = - SHLIB = - all: lib_warning -endif -else - LIB_CHECKED = - SHLIB = - all: require_warning -endif - -ifeq ($(qt),1) -else - LIB_CHECKED = - SHLIB = - all: require_warning -endif -LSRC = $(FILES) - -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -ifeq ($(VXWORKSLINK),1) -include $(TGT_DIR)/h/make/rules.$(PRJ_TYPE) -endif - -ifeq ($(VXWORKSLINK),1) -LDLIBPATH = -L. -L../../lib -L$(QTDIR)/lib -L$(QTDIR)/lib64 -else -LDFLAGS += -L. $(if $(ARCH),-L./$(ARCH)) -L../../lib $(if $(ARCH),-L../../lib/$(ARCH)) -L$(QTDIR)/lib $(if $(ARCH),-L$(QTDIR)/lib/$(ARCH)) -L$(QTDIR)/lib64 $(if $(ARCH),-L$(QTDIR)/lib64/$(ARCH)) -endif -CPPFLAGS += -I../.. -I$(QTDIR)/include -I/usr/include/qt3 -CPPFLAGS += -DQT_THREAD_SUPPORT -ifeq ($(shared_libs),1) - ifneq ($(SHLIB),) - CPPFLAGS += -DACE_QTREACTOR_BUILD_DLL - endif -endif -ifeq ($(static_libs),1) - CPPFLAGS += -DACE_AS_STATIC_LIBS -endif - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- -CPPFLAGS += $(PLATFORM_QT_CPPFLAGS) -LIBS += $(PLATFORM_QT_LIBS) -LDFLAGS += $(PLATFORM_QT_LDFLAGS) - -lib_warning: - @echo ACE_Qt3Reactor will not be built due to the following missing library: $(LIBCHECK) >&2 - -ifneq ($(qt),1) -requires_disabled_macros += qt -endif -require_warning: - @echo ACE_Qt3Reactor will not be built due to the following disabled make macros: $(requires_disabled_macros)>&2 - -## Some OS's have /bin/test others only have /usr/bin/test -ifeq ($(wildcard /bin/test), /bin/test) - TEST_EXE = /bin/test -else -ifeq ($(wildcard /usr/bin/test), /usr/bin/test) - TEST_EXE = /usr/bin/test -endif -endif - -SPACE = $(should_be_unset) $(should_be_unset) -ifneq ($(GENERATED_DIRTY),) -.PRECIOUS: $(GENERATED_DIRTY) -## If the generated files are anything but source files, we need to -## ensure that those files are generated before we attempt to build anything -## else. -ifeq ($(OBJS_DEPEND_ON_GENERATED),1) -$(VDIR)$(ACE_PCH_FILE) $(addprefix $(VDIR), $(OBJS)): $(GENERATED_DIRTY) -$(VSHDIR)$(ACE_PCH_FILE) $(VSHOBJS): $(GENERATED_DIRTY) -endif -endif - - -realclean: clean -ifneq ($(GENERATED_DIRTY),) - -$(RM) -r $(GENERATED_DIRTY) -endif - -__prebuild__: -ifeq ($(qt),1) - @-: -endif - - -.PHONY: install -install: all -INSTALL_LIB ?= lib -ifneq ($(INSTALL_PREFIX),) -ifneq ($(install_rpath),0) -LDFLAGS += -Wl,-R$(INSTALL_PREFIX)/$(INSTALL_LIB) -endif -endif - -PRJINST_OPTIONS ?= -INST_DIR ?= /ace/QtReactor -COMMA = , -SPACE = $(should_be_unset) $(should_be_unset) -INSTALLER ?= $(MPC_ROOT)/prj_install.pl -CUSTOM_INST_TAGS = $(sort ) - -LIB_INST_TAGS = header_files template_files$(if $(findstring 1,$(inline)), inline_files)$(if $(CUSTOM_INST_TAGS), $(CUSTOM_INST_TAGS)) -LIB_INST_LOCATIONS = $(foreach tag,$(LIB_INST_TAGS),-b $(tag)=include$(INST_DIR)) - -INST_TAGS = lib_output$(if $(LIB_INST_TAGS), $(LIB_INST_TAGS)) -INST_LOCATIONS = $(LIB_INST_LOCATIONS) -o lib_output=$(INSTALL_LIB) - -DATA_INST_TAGS = -INST_LOCATIONS += $(if $(DATA_INST_TAGS),-x installdata_files -b installdata_files=share$(INST_DIR)) -INST_TAGS := $(INST_TAGS)$(if $(DATA_INST_TAGS), $(DATA_INST_TAGS)) - -ifeq ($(INSTALLER),/prj_install.pl) -INSTALLER = $(ACE_ROOT)/MPC/prj_install.pl -endif - -ifeq ($(LIBCHECK),1) -ifeq ($(qt),1) -install: -ifeq ($(INST_TAGS),) - @echo Nothing to install. -else -ifeq ($(INSTALL_PREFIX),) - @echo The variable INSTALL_PREFIX must be set to install. - @echo If binaries are already built and you want to use RPATH, - @echo they must be rebuilt after changing INSTALL_PREFIX. - @false -else - perl -ne'if (/^#END MPC-Generated Install Info/) {exit 0}' \ - -e'elsif (/^#BEGIN MPC-Generated Install Info/) {$$ok=1}' \ - -e'elsif ($$ok && s/^#//) {print}' $(MAKEFILE) | \ - $(INSTALLER) -i -s $(subst $(SPACE),$(COMMA),$(INST_TAGS)) \ - $(INST_LOCATIONS) $(if $(ARCH),-d $(ARCH)) $(PRJINST_OPTIONS) \ - $(INSTALL_PREFIX) - $(ACE_ROOT)/bin/ace_install_pkgconfig.pl ACE_QtReactor.pc.in --prefix $(INSTALL_PREFIX) --libdir $(INSTALL_LIB) --libs "$(LIBS)" --version $(GNUACE_PROJECT_VERSION) -endif -endif -endif -endif - -#BEGIN MPC-Generated Install Info -#build_files: -#ace_qt4reactor.mpc -#ace_qt3reactor.mpc -# -#header_files: -#QtReactor.h -# -#pkgconfig_files: -#ACE_QtReactor.pc.in -# -#source_files: -#QtReactor_moc.cpp -#QtReactor.cpp -# -#lib_output: -#../../lib ACE_QtReactor - -#END MPC-Generated Install Info - diff --git a/dep/ACE_wrappers/ace/QtReactor/GNUmakefile.ACE_Qt3Reactor_moc b/dep/ACE_wrappers/ace/QtReactor/GNUmakefile.ACE_Qt3Reactor_moc deleted file mode 100644 index 412a82f24..000000000 --- a/dep/ACE_wrappers/ace/QtReactor/GNUmakefile.ACE_Qt3Reactor_moc +++ /dev/null @@ -1,152 +0,0 @@ -# -*- Makefile -*- -#---------------------------------------------------------------------------- -# GNU Makefile -# -# @file GNUmakefile.ACE_Qt3Reactor_moc -# -# $Id: gnu.mpd 91974 2010-09-23 16:17:42Z mitza $ -# -# This file was automatically generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -#---------------------------------------------------------------------------- -MAKEFILE = GNUmakefile.ACE_Qt3Reactor_moc -DEPENDENCY_FILE = .depend.ACE_Qt3Reactor_moc - -LIB_PREFIX ?= lib - -FILES = \ - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -PRJ_TYPE = library - -COLLAPSE_SLASHES = $(if $(findstring //,$(1)),$(call COLLAPSE_SLASHES,$(subst //,/,$(1))),$(1)) -INSLIB ?= $(call COLLAPSE_SLASHES,.) -ifeq ($(INSLIB),.) - ifeq ($(CURDIR),) - ifeq ($(PWD),) - PWD=$(shell pwd) - endif - else - PWD=$(CURDIR) - endif - INSLIB = $(PWD) -endif -OUTPUT_DIRECTORY = $(INSLIB) - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU - - -GNUACE_PROJECT_VERSION ?= $(ACE_VERSION) - -# To build multiple targets in the same directory on AIX, it works -# best to have a template directory per project. -# The compiler/linker isn't too smart about instantiating templates... -ifdef TEMPINCDIR -TEMPINCDIR := $(TEMPINCDIR)/ACE_Qt3Reactor_moc -all: $(TEMPINCDIR) -endif - -ifneq ($(OUTPUT_DIRECTORY),) -.PHONY: create_output_directory.local -all: create_output_directory.local -create_output_directory.local: - -@$(MKDIR) "$(OUTPUT_DIRECTORY)" $(ACE_NUL_STDERR) -endif - -LIBCHECK = 1 -ifeq ($(qt),1) -ifneq ($(LIBCHECK), 1) - all: lib_warning -endif -else - all: require_warning -endif - -ifeq ($(qt),1) -else - all: require_warning -endif - -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -ifeq ($(VXWORKSLINK),1) -include $(TGT_DIR)/h/make/rules.$(PRJ_TYPE) -endif - -ifeq ($(VXWORKSLINK),1) -LDLIBPATH = -L. -L../../lib -L$(QTDIR)/lib -L$(QTDIR)/lib64 -else -LDFLAGS += -L. $(if $(ARCH),-L./$(ARCH)) -L../../lib $(if $(ARCH),-L../../lib/$(ARCH)) -L$(QTDIR)/lib $(if $(ARCH),-L$(QTDIR)/lib/$(ARCH)) -L$(QTDIR)/lib64 $(if $(ARCH),-L$(QTDIR)/lib64/$(ARCH)) -endif -CPPFLAGS += -I../.. -I$(QTDIR)/include -I/usr/include/qt3 -CPPFLAGS += -DQT_THREAD_SUPPORT -ifeq ($(static_libs),1) - CPPFLAGS += -DACE_AS_STATIC_LIBS -endif - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- -CPPFLAGS += $(PLATFORM_QT_CPPFLAGS) -LIBS += $(PLATFORM_QT_LIBS) -LDFLAGS += $(PLATFORM_QT_LDFLAGS) - -lib_warning: - @echo ACE_Qt3Reactor_moc will not be built due to the following missing library: $(LIBCHECK) >&2 - -ifneq ($(qt),1) -requires_disabled_macros += qt -endif -require_warning: - @echo ACE_Qt3Reactor_moc will not be built due to the following disabled make macros: $(requires_disabled_macros)>&2 - -## Some OS's have /bin/test others only have /usr/bin/test -ifeq ($(wildcard /bin/test), /bin/test) - TEST_EXE = /bin/test -else -ifeq ($(wildcard /usr/bin/test), /usr/bin/test) - TEST_EXE = /usr/bin/test -endif -endif - -SPACE = $(should_be_unset) $(should_be_unset) -GENERATED_DIRTY += QtReactor_moc.cpp -QtReactor_moc.cpp: QtReactor.h - $(if $(findstring ",$(QTDIR)/bin/moc),$(QTDIR)/bin/moc,$(call ADD_QUOTE,$(call ADD_ARCH,$(QTDIR)/bin/moc))) QtReactor.h -o $@ - - -ifneq ($(GENERATED_DIRTY),) -.PRECIOUS: $(GENERATED_DIRTY) -ifeq ($(qt),1) -all: $(GENERATED_DIRTY) -endif -endif - - -realclean: clean -ifneq ($(GENERATED_DIRTY),) - -$(RM) -r $(GENERATED_DIRTY) -endif - -__prebuild__: -ifeq ($(qt),1) - @-: -endif - - -.PHONY: install -install: all -INSTALL_LIB ?= lib -ifneq ($(INSTALL_PREFIX),) -ifneq ($(install_rpath),0) -LDFLAGS += -Wl,-R$(INSTALL_PREFIX)/$(INSTALL_LIB) -endif -endif - - diff --git a/dep/ACE_wrappers/ace/QtReactor/ace_qt3reactor.mpc b/dep/ACE_wrappers/ace/QtReactor/ace_qt3reactor.mpc deleted file mode 100644 index 48e1bffc5..000000000 --- a/dep/ACE_wrappers/ace/QtReactor/ace_qt3reactor.mpc +++ /dev/null @@ -1,27 +0,0 @@ -// -*- MPC -*- now wouldn't this be cool... -// $Id: ace_qt3reactor.mpc 91839 2010-09-17 20:16:53Z mitza $ - -project(ACE_Qt3Reactor_moc) : acedefaults, ace_qt3 { - custom_only = 1 - MOC_Files { - QtReactor.h - } -} - -project(ACE_Qt3Reactor) : acedefaults, install, acelib, ace_output, ace_qt3 { - after += ACE_Qt3Reactor_moc - sharedname = ACE_QtReactor - dynamicflags += ACE_QTREACTOR_BUILD_DLL - - MOC_Files { - } - - Source_Files { - QtReactor_moc.cpp - QtReactor.cpp - } - - specific { - install_dir = ace/QtReactor - } -} diff --git a/dep/ACE_wrappers/ace/QtReactor/ace_qt4reactor.mpc b/dep/ACE_wrappers/ace/QtReactor/ace_qt4reactor.mpc deleted file mode 100644 index 350a0797a..000000000 --- a/dep/ACE_wrappers/ace/QtReactor/ace_qt4reactor.mpc +++ /dev/null @@ -1,27 +0,0 @@ -// -*- MPC -*- now wouldn't this be cool... -// $Id: ace_qt4reactor.mpc 91839 2010-09-17 20:16:53Z mitza $ - -project(ACE_Qt4Reactor_moc) : acedefaults, ace_qt4 { - custom_only = 1 - MOC_Files { - QtReactor.h - } -} - -project(ACE_Qt4Reactor) : acedefaults, install, acelib, ace_output, ace_qt4 { - after += ACE_Qt4Reactor_moc - sharedname = ACE_QtReactor - dynamicflags += ACE_QTREACTOR_BUILD_DLL - - MOC_Files { - } - - Source_Files { - QtReactor_moc.cpp - QtReactor.cpp - } - - specific { - install_dir = ace/QtReactor - } -} diff --git a/dep/ACE_wrappers/ace/SSL/ACE_SSL.pc.in b/dep/ACE_wrappers/ace/SSL/ACE_SSL.pc.in deleted file mode 100644 index 51c04a18f..000000000 --- a/dep/ACE_wrappers/ace/SSL/ACE_SSL.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: ACE_SSL -Description: ACE SSL Library -Requires: ACE -Version: @VERSION@ -Libs: -L${libdir} @ACE_TLS_LDFLAGS@ -lACE_SSL @ACE_TLS_LIBS@ -Cflags: -I${includedir} @ACE_TLS_CPPFLAGS@ diff --git a/dep/ACE_wrappers/ace/SSL/GNUmakefile b/dep/ACE_wrappers/ace/SSL/GNUmakefile deleted file mode 100644 index af4ed7749..000000000 --- a/dep/ACE_wrappers/ace/SSL/GNUmakefile +++ /dev/null @@ -1,35 +0,0 @@ -# -*- makefile -*- -#---------------------------------------------------------------------------- -# GNU ACE Workspace -# -# $Id: GNUACEWorkspaceCreator.pm 91813 2010-09-17 07:52:52Z johnnyw $ -# -# This file was generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -# MPC Command: -# /tmp/DOC_ROOT/stage-1367/ACE_wrappers/bin/mwc.pl -type gnuace -exclude "TAO/TAO_*.mwc,TAO/CIAO/CIAO_*.mwc" -recurse -hierarchy -relative ACE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers -relative TAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO -relative CIAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/CIAO -relative DANCE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/DAnCE -# -#---------------------------------------------------------------------------- - -MAKEFILE = GNUmakefile - -ifeq ($(findstring k,$(MAKEFLAGS)),k) - KEEP_GOING = - -endif - -include $(ACE_ROOT)/include/makeinclude/macros.GNU - -all: SSL - -REMAINING_TARGETS := $(filter-out all,$(TARGETS_NESTED:.nested=)) $(CUSTOM_TARGETS) - -$(REMAINING_TARGETS): - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.SSL $(@) - -.PHONY: SSL -SSL: - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.SSL all - -project_name_list: - @echo SSL diff --git a/dep/ACE_wrappers/ace/SSL/GNUmakefile.SSL b/dep/ACE_wrappers/ace/SSL/GNUmakefile.SSL deleted file mode 100644 index fa11b0c41..000000000 --- a/dep/ACE_wrappers/ace/SSL/GNUmakefile.SSL +++ /dev/null @@ -1,297 +0,0 @@ -# -*- Makefile -*- -#---------------------------------------------------------------------------- -# GNU Makefile -# -# @file GNUmakefile.SSL -# -# $Id: gnu.mpd 91974 2010-09-23 16:17:42Z mitza $ -# -# This file was automatically generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -#---------------------------------------------------------------------------- -MAKEFILE = GNUmakefile.SSL -DEPENDENCY_FILE = .depend.SSL - -LIB_PREFIX ?= lib - -## LIB_CHECKED may be set to empty later on in this file -LIB_UNCHECKED = $(LIB_PREFIX)ACE_SSL.$(LIBEXT) -LIB_CHECKED = $(LIB_UNCHECKED) -LIB_NAME = $(LIB_PREFIX)ACE_SSL - -## SHLIB may be set to empty later on in this file -SHLIB_UNCHECKED = $(LIB_PREFIX)ACE_SSL.$(SOEXT) -SHLIB = $(SHLIB_UNCHECKED) - -FILES = \ - SSL_SOCK.cpp \ - SSL_SOCK_Stream.cpp \ - SSL_SOCK_Connector.cpp \ - SSL_Asynch_Stream.cpp \ - SSL_SOCK_Acceptor.cpp \ - SSL_Context.cpp \ - SSL_Asynch_BIO.cpp - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- -ACE_SHLIBS = -lACE $(PLATFORM_SSL_LIBS) - -PRJ_TYPE = library - -COLLAPSE_SLASHES = $(if $(findstring //,$(1)),$(call COLLAPSE_SLASHES,$(subst //,/,$(1))),$(1)) -INSLIB ?= $(call COLLAPSE_SLASHES,../../lib) -ifeq ($(INSLIB),.) - ifeq ($(CURDIR),) - ifeq ($(PWD),) - PWD=$(shell pwd) - endif - else - PWD=$(CURDIR) - endif - INSLIB = $(PWD) -endif -OUTPUT_DIRECTORY = $(INSLIB) - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU - - -GNUACE_PROJECT_VERSION ?= $(ACE_VERSION) - -# To build multiple targets in the same directory on AIX, it works -# best to have a template directory per project. -# The compiler/linker isn't too smart about instantiating templates... -ifdef TEMPINCDIR -TEMPINCDIR := $(TEMPINCDIR)/SSL -all: $(TEMPINCDIR) -endif - -ifneq ($(OUTPUT_DIRECTORY),) -.PHONY: create_output_directory.local -all: create_output_directory.local -create_output_directory.local: - -@$(MKDIR) "$(OUTPUT_DIRECTORY)" $(ACE_NUL_STDERR) -endif - -# turn off libcheck if doing a dry run -ifeq ($(findstring n, $(MAKEFLAGS)),n) - LIBCHECK = 1 -else - # turn off libcheck if keep going was passed too - ifeq ($(findstring k, $(MAKEFLAGS)),k) - LIBCHECK = 1 - else - LIBCHECK ?= $(filter-out $(foreach lib,ACE,$(findstring $(lib),$(foreach libpath,. $(if $(ARCH),./$(ARCH)) ../../lib $(if $(ARCH),../../lib/$(ARCH)) /usr/lib /usr/lib64 $(INSLIB),$(wildcard $(libpath)/$(LIB_PREFIX)$(lib).* $(libpath)/$(lib).lib)))),ACE) - ifeq ($(LIBCHECK),) - LIBCHECK = 1 - endif - endif -endif -ifeq ($(ssl),1) -ifneq ($(ace_for_tao),1) -ifneq ($(LIBCHECK), 1) - LIB_CHECKED = - SHLIB = - all: lib_warning -endif -else - LIB_CHECKED = - SHLIB = - all: avoid_warning -endif -else - LIB_CHECKED = - SHLIB = - all: require_warning -endif - -ifeq ($(ssl),1) -ifneq ($(ace_for_tao),1) -else - LIB_CHECKED = - SHLIB = - all: avoid_warning -endif -else - LIB_CHECKED = - SHLIB = - all: require_warning -endif -LSRC = $(FILES) - -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -ifeq ($(VXWORKSLINK),1) -include $(TGT_DIR)/h/make/rules.$(PRJ_TYPE) -endif - -ifeq ($(VXWORKSLINK),1) -LDLIBPATH = -L. -L../../lib $(PLATFORM_SSL_LDFLAGS) -else -LDFLAGS += -L. $(if $(ARCH),-L./$(ARCH)) -L../../lib $(if $(ARCH),-L../../lib/$(ARCH)) $(PLATFORM_SSL_LDFLAGS) -endif -CPPFLAGS += -I../.. -CPPFLAGS += $(PLATFORM_SSL_CPPFLAGS) -ifeq ($(shared_libs),1) - ifneq ($(SHLIB),) - CPPFLAGS += -DACE_SSL_BUILD_DLL - endif -endif -ifeq ($(static_libs),1) - CPPFLAGS += -DACE_AS_STATIC_LIBS -endif - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- -lib_warning: - @echo SSL will not be built due to the following missing library: $(LIBCHECK) >&2 - -ifneq ($(ssl),1) -requires_disabled_macros += ssl -endif -require_warning: - @echo SSL will not be built due to the following disabled make macros: $(requires_disabled_macros)>&2 - -ifeq ($(ace_for_tao),1) -avoids_enabled_macros += ace_for_tao -endif -avoid_warning: - @echo SSL will not be built due to the following enabled make macros: $(avoids_enabled_macros)>&2 - -## Some OS's have /bin/test others only have /usr/bin/test -ifeq ($(wildcard /bin/test), /bin/test) - TEST_EXE = /bin/test -else -ifeq ($(wildcard /usr/bin/test), /usr/bin/test) - TEST_EXE = /usr/bin/test -endif -endif - -SPACE = $(should_be_unset) $(should_be_unset) -ifneq ($(GENERATED_DIRTY),) -.PRECIOUS: $(GENERATED_DIRTY) -## If the generated files are anything but source files, we need to -## ensure that those files are generated before we attempt to build anything -## else. -ifeq ($(OBJS_DEPEND_ON_GENERATED),1) -$(VDIR)$(ACE_PCH_FILE) $(addprefix $(VDIR), $(OBJS)): $(GENERATED_DIRTY) -$(VSHDIR)$(ACE_PCH_FILE) $(VSHOBJS): $(GENERATED_DIRTY) -endif -endif - - -realclean: clean -ifneq ($(GENERATED_DIRTY),) - -$(RM) -r $(GENERATED_DIRTY) -endif - -__prebuild__: -ifeq ($(ssl),1) -ifneq ($(ace_for_tao),1) - @-: -endif -endif - - -.PHONY: install -install: all -INSTALL_LIB ?= lib -ifneq ($(INSTALL_PREFIX),) -ifneq ($(install_rpath),0) -LDFLAGS += -Wl,-R$(INSTALL_PREFIX)/$(INSTALL_LIB) -endif -endif - -PRJINST_OPTIONS ?= -INST_DIR ?= /ace/SSL -COMMA = , -SPACE = $(should_be_unset) $(should_be_unset) -INSTALLER ?= $(MPC_ROOT)/prj_install.pl -CUSTOM_INST_TAGS = $(sort ) - -LIB_INST_TAGS = header_files template_files$(if $(findstring 1,$(inline)), inline_files)$(if $(CUSTOM_INST_TAGS), $(CUSTOM_INST_TAGS)) -LIB_INST_LOCATIONS = $(foreach tag,$(LIB_INST_TAGS),-b $(tag)=include$(INST_DIR)) - -INST_TAGS = lib_output$(if $(LIB_INST_TAGS), $(LIB_INST_TAGS)) -INST_LOCATIONS = $(LIB_INST_LOCATIONS) -o lib_output=$(INSTALL_LIB) - -DATA_INST_TAGS = -INST_LOCATIONS += $(if $(DATA_INST_TAGS),-x installdata_files -b installdata_files=share$(INST_DIR)) -INST_TAGS := $(INST_TAGS)$(if $(DATA_INST_TAGS), $(DATA_INST_TAGS)) - -ifeq ($(INSTALLER),/prj_install.pl) -INSTALLER = $(ACE_ROOT)/MPC/prj_install.pl -endif - -ifeq ($(LIBCHECK),1) -ifeq ($(ssl),1) -ifneq ($(ace_for_tao),1) -install: -ifeq ($(INST_TAGS),) - @echo Nothing to install. -else -ifeq ($(INSTALL_PREFIX),) - @echo The variable INSTALL_PREFIX must be set to install. - @echo If binaries are already built and you want to use RPATH, - @echo they must be rebuilt after changing INSTALL_PREFIX. - @false -else - perl -ne'if (/^#END MPC-Generated Install Info/) {exit 0}' \ - -e'elsif (/^#BEGIN MPC-Generated Install Info/) {$$ok=1}' \ - -e'elsif ($$ok && s/^#//) {print}' $(MAKEFILE) | \ - $(INSTALLER) -i -s $(subst $(SPACE),$(COMMA),$(INST_TAGS)) \ - $(INST_LOCATIONS) $(if $(ARCH),-d $(ARCH)) $(PRJINST_OPTIONS) \ - $(INSTALL_PREFIX) - $(ACE_ROOT)/bin/ace_install_pkgconfig.pl ACE_SSL.pc.in --prefix $(INSTALL_PREFIX) --libdir $(INSTALL_LIB) --libs "$(LIBS)" --version $(GNUACE_PROJECT_VERSION) --custom "ACE_TLS_CPPFLAGS=$(PLATFORM_SSL_CPPFLAGS)" --custom "ACE_TLS_LDFLAGS=$(PLATFORM_SSL_LDFLAGS)" --custom "ACE_TLS_LIBS=$(PLATFORM_SSL_LIBS)" -endif -endif -endif -endif -endif - -#BEGIN MPC-Generated Install Info -#build_files: -#ssl.mpc -#ssl_for_tao.mpc -# -#inline_files: -#SSL_Asynch_Stream.inl -#SSL_SOCK.inl -#SSL_SOCK_Connector.inl -#SSL_SOCK_Acceptor.inl -#SSL_Context.inl -#SSL_SOCK_Stream.inl -# -#header_files: -#SSL_Asynch_Stream.h -#SSL_SOCK.h -#SSL_SOCK_Connector.h -#SSL_SOCK_Acceptor.h -#SSL_Asynch_BIO.h -#SSL_Context.h -#SSL_SOCK_Stream.h -#SSL_Export.h -#sslconf.h -# -#pkgconfig_files: -#ACE_SSL.pc.in -# -#source_files: -#SSL_SOCK.cpp -#SSL_SOCK_Stream.cpp -#SSL_SOCK_Connector.cpp -#SSL_Asynch_Stream.cpp -#SSL_SOCK_Acceptor.cpp -#SSL_Context.cpp -#SSL_Asynch_BIO.cpp -# -#lib_output: -#../../lib ACE_SSL - -#END MPC-Generated Install Info - diff --git a/dep/ACE_wrappers/ace/SSL/Makefile.am b/dep/ACE_wrappers/ace/SSL/Makefile.am deleted file mode 100644 index b2a4a8891..000000000 --- a/dep/ACE_wrappers/ace/SSL/Makefile.am +++ /dev/null @@ -1,86 +0,0 @@ -## Process this file with automake to create Makefile.in -## -## $Id: Makefile.am 83916 2008-11-28 16:32:21Z johnnyw $ -## -## This file was generated by MPC. Any changes made directly to -## this file will be lost the next time it is generated. -## -## MPC Command: -## ./bin/mwc.pl -type automake -noreldefs ACE.mwc - -includedir = @includedir@/ace/SSL -pkgconfigdir = @libdir@/pkgconfig - -ACE_BUILDDIR = $(top_builddir) -ACE_ROOT = $(top_srcdir) - - -## Makefile.SSL.am - -if BUILD_SSL -if !BUILD_ACE_FOR_TAO - -lib_LTLIBRARIES = libACE_SSL.la - -libACE_SSL_la_CPPFLAGS = \ - -I$(ACE_ROOT) \ - -I$(ACE_BUILDDIR) \ - @ACE_TLS_CPPFLAGS@ \ - -DACE_SSL_BUILD_DLL - -libACE_SSL_la_SOURCES = \ - SSL_Asynch_BIO.cpp \ - SSL_Asynch_Stream.cpp \ - SSL_Context.cpp \ - SSL_SOCK.cpp \ - SSL_SOCK_Acceptor.cpp \ - SSL_SOCK_Connector.cpp \ - SSL_SOCK_Stream.cpp - -libACE_SSL_la_LDFLAGS = \ - -release @ACE_VERSION_NAME@ @ACE_TLS_LDFLAGS@ - -libACE_SSL_la_LIBADD = \ - $(ACE_BUILDDIR)/ace/libACE.la \ - @ACE_TLS_LIBS@ - -nobase_include_HEADERS = \ - SSL_Asynch_BIO.h \ - SSL_Asynch_Stream.h \ - SSL_Asynch_Stream.inl \ - SSL_Context.h \ - SSL_Context.inl \ - SSL_Export.h \ - SSL_SOCK.h \ - SSL_SOCK.inl \ - SSL_SOCK_Acceptor.h \ - SSL_SOCK_Acceptor.inl \ - SSL_SOCK_Connector.h \ - SSL_SOCK_Connector.inl \ - SSL_SOCK_Stream.h \ - SSL_SOCK_Stream.inl \ - sslconf.h - -pkgconfig_DATA = \ - ACE_SSL.pc - -CLEANFILES = \ - ACE_SSL.pc - -ACE_SSL.pc: ${top_builddir}/config.status ${srcdir}/ACE_SSL.pc.in - ${top_builddir}/config.status --file $@:${srcdir}/ACE_SSL.pc.in - -endif !BUILD_ACE_FOR_TAO -endif BUILD_SSL - -EXTRA_DIST = \ - ACE_SSL.pc.in - - -## Clean up template repositories, etc. -clean-local: - -rm -f *~ *.bak *.rpo *.sym lib*.*_pure_* core core.* - -rm -f gcctemp.c gcctemp so_locations *.ics - -rm -rf cxx_repository ptrepository ti_files - -rm -rf templateregistry ir.out - -rm -rf ptrepository SunWS_cache Templates.DB diff --git a/dep/ACE_wrappers/ace/SSL/Makefile.in b/dep/ACE_wrappers/ace/SSL/Makefile.in deleted file mode 100644 index 6b2641fa5..000000000 --- a/dep/ACE_wrappers/ace/SSL/Makefile.in +++ /dev/null @@ -1,783 +0,0 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - - - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -target_triplet = @target@ -subdir = ace/SSL -DIST_COMMON = $(am__nobase_include_HEADERS_DIST) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ace.m4 \ - $(top_srcdir)/m4/ace_defines.m4 $(top_srcdir)/m4/ace_func.m4 \ - $(top_srcdir)/m4/ace_functions.m4 \ - $(top_srcdir)/m4/ace_headers.m4 $(top_srcdir)/m4/acinclude.m4 \ - $(top_srcdir)/m4/aio.m4 $(top_srcdir)/m4/compiler.m4 \ - $(top_srcdir)/m4/config_h.m4 $(top_srcdir)/m4/libtool.m4 \ - $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ - $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ - $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/platform.m4 \ - $(top_srcdir)/m4/subsets.m4 $(top_srcdir)/m4/threads.m4 \ - $(top_srcdir)/m4/tls.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/ace/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ - if (++n[$$2] == $(am__install_max)) \ - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ - END { for (dir in files) print dir, files[dir] }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)" \ - "$(DESTDIR)$(includedir)" -LTLIBRARIES = $(lib_LTLIBRARIES) -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@libACE_SSL_la_DEPENDENCIES = $(ACE_BUILDDIR)/ace/libACE.la -am__libACE_SSL_la_SOURCES_DIST = SSL_Asynch_BIO.cpp \ - SSL_Asynch_Stream.cpp SSL_Context.cpp SSL_SOCK.cpp \ - SSL_SOCK_Acceptor.cpp SSL_SOCK_Connector.cpp \ - SSL_SOCK_Stream.cpp -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@am_libACE_SSL_la_OBJECTS = libACE_SSL_la-SSL_Asynch_BIO.lo \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ libACE_SSL_la-SSL_Asynch_Stream.lo \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ libACE_SSL_la-SSL_Context.lo \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ libACE_SSL_la-SSL_SOCK.lo \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ libACE_SSL_la-SSL_SOCK_Acceptor.lo \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ libACE_SSL_la-SSL_SOCK_Connector.lo \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ libACE_SSL_la-SSL_SOCK_Stream.lo -libACE_SSL_la_OBJECTS = $(am_libACE_SSL_la_OBJECTS) -libACE_SSL_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ - $(CXXFLAGS) $(libACE_SSL_la_LDFLAGS) $(LDFLAGS) -o $@ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@am_libACE_SSL_la_rpath = \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ -rpath $(libdir) -DEFAULT_INCLUDES = -depcomp = $(SHELL) $(top_srcdir)/aux_config/depcomp -am__depfiles_maybe = depfiles -am__mv = mv -f -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -CXXLD = $(CXX) -CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ -SOURCES = $(libACE_SSL_la_SOURCES) -DIST_SOURCES = $(am__libACE_SSL_la_SOURCES_DIST) -DATA = $(pkgconfig_DATA) -am__nobase_include_HEADERS_DIST = SSL_Asynch_BIO.h SSL_Asynch_Stream.h \ - SSL_Asynch_Stream.inl SSL_Context.h SSL_Context.inl \ - SSL_Export.h SSL_SOCK.h SSL_SOCK.inl SSL_SOCK_Acceptor.h \ - SSL_SOCK_Acceptor.inl SSL_SOCK_Connector.h \ - SSL_SOCK_Connector.inl SSL_SOCK_Stream.h SSL_SOCK_Stream.inl \ - sslconf.h -HEADERS = $(nobase_include_HEADERS) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACEXML = @ACEXML@ -ACE_BETA = @ACE_BETA@ -ACE_BZIP2_CPPFLAGS = @ACE_BZIP2_CPPFLAGS@ -ACE_BZIP2_LDFLAGS = @ACE_BZIP2_LDFLAGS@ -ACE_BZIP2_LIBS = @ACE_BZIP2_LIBS@ -ACE_FLTK_CPPFLAGS = @ACE_FLTK_CPPFLAGS@ -ACE_FLTK_LIBS = @ACE_FLTK_LIBS@ -ACE_FOX_CPPFLAGS = @ACE_FOX_CPPFLAGS@ -ACE_FOX_LIBS = @ACE_FOX_LIBS@ -ACE_KERBEROS_INCLUDES = @ACE_KERBEROS_INCLUDES@ -ACE_MAJOR = @ACE_MAJOR@ -ACE_MINOR = @ACE_MINOR@ -ACE_QT_CPPFLAGS = @ACE_QT_CPPFLAGS@ -ACE_QT_LIBS = @ACE_QT_LIBS@ -ACE_TCL_CPPFLAGS = @ACE_TCL_CPPFLAGS@ -ACE_TCL_LIBS = @ACE_TCL_LIBS@ -ACE_TESTS_DIR = @ACE_TESTS_DIR@ -ACE_TK_CPPFLAGS = @ACE_TK_CPPFLAGS@ -ACE_TK_LIBS = @ACE_TK_LIBS@ -ACE_TLS_CPPFLAGS = @ACE_TLS_CPPFLAGS@ -ACE_TLS_LDFLAGS = @ACE_TLS_LDFLAGS@ -ACE_TLS_LIBS = @ACE_TLS_LIBS@ -ACE_VERSION_NAME = @ACE_VERSION_NAME@ -ACE_X11_CPPFLAGS = @ACE_X11_CPPFLAGS@ -ACE_X11_LDFLAGS = @ACE_X11_LDFLAGS@ -ACE_X11_LIBS = @ACE_X11_LIBS@ -ACE_XLIBS = @ACE_XLIBS@ -ACE_XT_CPPFLAGS = @ACE_XT_CPPFLAGS@ -ACE_XT_LDFLAGS = @ACE_XT_LDFLAGS@ -ACE_XT_LIBS = @ACE_XT_LIBS@ -ACE_ZLIB_CPPFLAGS = @ACE_ZLIB_CPPFLAGS@ -ACE_ZLIB_LDFLAGS = @ACE_ZLIB_LDFLAGS@ -ACE_ZLIB_LIBS = @ACE_ZLIB_LIBS@ -ACE_ZZIP_CPPFLAGS = @ACE_ZZIP_CPPFLAGS@ -ACE_ZZIP_LDFLAGS = @ACE_ZZIP_LDFLAGS@ -ACE_ZZIP_LIBS = @ACE_ZZIP_LIBS@ -ACLOCAL = @ACLOCAL@ -ALLOCA = @ALLOCA@ -AMTAR = @AMTAR@ -AR = @AR@ -ASNMP = @ASNMP@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FGREP = @FGREP@ -FLTKCONFIG = @FLTKCONFIG@ -FOXCONFIG = @FOXCONFIG@ -GPERF = @GPERF@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -KOKYU = @KOKYU@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LEX = @LEX@ -LEXLIB = @LEXLIB@ -LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PROF = @PROF@ -PURIFY = @PURIFY@ -QTDIR = @QTDIR@ -QUANTIFY = @QUANTIFY@ -Qt_CFLAGS = @Qt_CFLAGS@ -Qt_LIBS = @Qt_LIBS@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -TAO = @TAO@ -VERSION = @VERSION@ -XMKMF = @XMKMF@ -XTREACTOR_TEST_XLIBS = @XTREACTOR_TEST_XLIBS@ -X_CFLAGS = @X_CFLAGS@ -X_EXTRA_LIBS = @X_EXTRA_LIBS@ -X_LIBS = @X_LIBS@ -X_PRE_LIBS = @X_PRE_LIBS@ -YACC = @YACC@ -YFLAGS = @YFLAGS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@/ace/SSL -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -protocols = @protocols@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -subdirs = @subdirs@ -sysconfdir = @sysconfdir@ -target = @target@ -target_alias = @target_alias@ -target_cpu = @target_cpu@ -target_os = @target_os@ -target_vendor = @target_vendor@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -pkgconfigdir = @libdir@/pkgconfig -ACE_BUILDDIR = $(top_builddir) -ACE_ROOT = $(top_srcdir) -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@lib_LTLIBRARIES = libACE_SSL.la -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@libACE_SSL_la_CPPFLAGS = \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ -I$(ACE_ROOT) \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ -I$(ACE_BUILDDIR) \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ @ACE_TLS_CPPFLAGS@ \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ -DACE_SSL_BUILD_DLL - -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@libACE_SSL_la_SOURCES = \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ SSL_Asynch_BIO.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ SSL_Asynch_Stream.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ SSL_Context.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ SSL_SOCK.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ SSL_SOCK_Acceptor.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ SSL_SOCK_Connector.cpp \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ SSL_SOCK_Stream.cpp - -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@libACE_SSL_la_LDFLAGS = \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ -release @ACE_VERSION_NAME@ @ACE_TLS_LDFLAGS@ - -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@libACE_SSL_la_LIBADD = \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ $(ACE_BUILDDIR)/ace/libACE.la \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ @ACE_TLS_LIBS@ - -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@nobase_include_HEADERS = \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ SSL_Asynch_BIO.h \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ SSL_Asynch_Stream.h \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ SSL_Asynch_Stream.inl \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ SSL_Context.h \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ SSL_Context.inl \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ SSL_Export.h \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ SSL_SOCK.h \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ SSL_SOCK.inl \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ SSL_SOCK_Acceptor.h \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ SSL_SOCK_Acceptor.inl \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ SSL_SOCK_Connector.h \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ SSL_SOCK_Connector.inl \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ SSL_SOCK_Stream.h \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ SSL_SOCK_Stream.inl \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ sslconf.h - -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@pkgconfig_DATA = \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ ACE_SSL.pc - -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@CLEANFILES = \ -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ ACE_SSL.pc - -EXTRA_DIST = \ - ACE_SSL.pc.in - -all: all-am - -.SUFFIXES: -.SUFFIXES: .cpp .lo .o .obj -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign ace/SSL/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign ace/SSL/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): -install-libLTLIBRARIES: $(lib_LTLIBRARIES) - @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" - @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ - list2=; for p in $$list; do \ - if test -f $$p; then \ - list2="$$list2 $$p"; \ - else :; fi; \ - done; \ - test -z "$$list2" || { \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ - } - -uninstall-libLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ - for p in $$list; do \ - $(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ - done - -clean-libLTLIBRARIES: - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ - test "$$dir" != "$$p" || dir=.; \ - echo "rm -f \"$${dir}/so_locations\""; \ - rm -f "$${dir}/so_locations"; \ - done -libACE_SSL.la: $(libACE_SSL_la_OBJECTS) $(libACE_SSL_la_DEPENDENCIES) - $(libACE_SSL_la_LINK) $(am_libACE_SSL_la_rpath) $(libACE_SSL_la_OBJECTS) $(libACE_SSL_la_LIBADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_SSL_la-SSL_Asynch_BIO.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_SSL_la-SSL_Asynch_Stream.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_SSL_la-SSL_Context.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_SSL_la-SSL_SOCK.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_SSL_la-SSL_SOCK_Acceptor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_SSL_la-SSL_SOCK_Connector.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libACE_SSL_la-SSL_SOCK_Stream.Plo@am__quote@ - -.cpp.o: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< - -.cpp.obj: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.cpp.lo: -@am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< - -libACE_SSL_la-SSL_Asynch_BIO.lo: SSL_Asynch_BIO.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_SSL_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_SSL_la-SSL_Asynch_BIO.lo -MD -MP -MF $(DEPDIR)/libACE_SSL_la-SSL_Asynch_BIO.Tpo -c -o libACE_SSL_la-SSL_Asynch_BIO.lo `test -f 'SSL_Asynch_BIO.cpp' || echo '$(srcdir)/'`SSL_Asynch_BIO.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_SSL_la-SSL_Asynch_BIO.Tpo $(DEPDIR)/libACE_SSL_la-SSL_Asynch_BIO.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SSL_Asynch_BIO.cpp' object='libACE_SSL_la-SSL_Asynch_BIO.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_SSL_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_SSL_la-SSL_Asynch_BIO.lo `test -f 'SSL_Asynch_BIO.cpp' || echo '$(srcdir)/'`SSL_Asynch_BIO.cpp - -libACE_SSL_la-SSL_Asynch_Stream.lo: SSL_Asynch_Stream.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_SSL_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_SSL_la-SSL_Asynch_Stream.lo -MD -MP -MF $(DEPDIR)/libACE_SSL_la-SSL_Asynch_Stream.Tpo -c -o libACE_SSL_la-SSL_Asynch_Stream.lo `test -f 'SSL_Asynch_Stream.cpp' || echo '$(srcdir)/'`SSL_Asynch_Stream.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_SSL_la-SSL_Asynch_Stream.Tpo $(DEPDIR)/libACE_SSL_la-SSL_Asynch_Stream.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SSL_Asynch_Stream.cpp' object='libACE_SSL_la-SSL_Asynch_Stream.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_SSL_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_SSL_la-SSL_Asynch_Stream.lo `test -f 'SSL_Asynch_Stream.cpp' || echo '$(srcdir)/'`SSL_Asynch_Stream.cpp - -libACE_SSL_la-SSL_Context.lo: SSL_Context.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_SSL_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_SSL_la-SSL_Context.lo -MD -MP -MF $(DEPDIR)/libACE_SSL_la-SSL_Context.Tpo -c -o libACE_SSL_la-SSL_Context.lo `test -f 'SSL_Context.cpp' || echo '$(srcdir)/'`SSL_Context.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_SSL_la-SSL_Context.Tpo $(DEPDIR)/libACE_SSL_la-SSL_Context.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SSL_Context.cpp' object='libACE_SSL_la-SSL_Context.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_SSL_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_SSL_la-SSL_Context.lo `test -f 'SSL_Context.cpp' || echo '$(srcdir)/'`SSL_Context.cpp - -libACE_SSL_la-SSL_SOCK.lo: SSL_SOCK.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_SSL_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_SSL_la-SSL_SOCK.lo -MD -MP -MF $(DEPDIR)/libACE_SSL_la-SSL_SOCK.Tpo -c -o libACE_SSL_la-SSL_SOCK.lo `test -f 'SSL_SOCK.cpp' || echo '$(srcdir)/'`SSL_SOCK.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_SSL_la-SSL_SOCK.Tpo $(DEPDIR)/libACE_SSL_la-SSL_SOCK.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SSL_SOCK.cpp' object='libACE_SSL_la-SSL_SOCK.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_SSL_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_SSL_la-SSL_SOCK.lo `test -f 'SSL_SOCK.cpp' || echo '$(srcdir)/'`SSL_SOCK.cpp - -libACE_SSL_la-SSL_SOCK_Acceptor.lo: SSL_SOCK_Acceptor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_SSL_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_SSL_la-SSL_SOCK_Acceptor.lo -MD -MP -MF $(DEPDIR)/libACE_SSL_la-SSL_SOCK_Acceptor.Tpo -c -o libACE_SSL_la-SSL_SOCK_Acceptor.lo `test -f 'SSL_SOCK_Acceptor.cpp' || echo '$(srcdir)/'`SSL_SOCK_Acceptor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_SSL_la-SSL_SOCK_Acceptor.Tpo $(DEPDIR)/libACE_SSL_la-SSL_SOCK_Acceptor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SSL_SOCK_Acceptor.cpp' object='libACE_SSL_la-SSL_SOCK_Acceptor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_SSL_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_SSL_la-SSL_SOCK_Acceptor.lo `test -f 'SSL_SOCK_Acceptor.cpp' || echo '$(srcdir)/'`SSL_SOCK_Acceptor.cpp - -libACE_SSL_la-SSL_SOCK_Connector.lo: SSL_SOCK_Connector.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_SSL_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_SSL_la-SSL_SOCK_Connector.lo -MD -MP -MF $(DEPDIR)/libACE_SSL_la-SSL_SOCK_Connector.Tpo -c -o libACE_SSL_la-SSL_SOCK_Connector.lo `test -f 'SSL_SOCK_Connector.cpp' || echo '$(srcdir)/'`SSL_SOCK_Connector.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_SSL_la-SSL_SOCK_Connector.Tpo $(DEPDIR)/libACE_SSL_la-SSL_SOCK_Connector.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SSL_SOCK_Connector.cpp' object='libACE_SSL_la-SSL_SOCK_Connector.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_SSL_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_SSL_la-SSL_SOCK_Connector.lo `test -f 'SSL_SOCK_Connector.cpp' || echo '$(srcdir)/'`SSL_SOCK_Connector.cpp - -libACE_SSL_la-SSL_SOCK_Stream.lo: SSL_SOCK_Stream.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_SSL_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libACE_SSL_la-SSL_SOCK_Stream.lo -MD -MP -MF $(DEPDIR)/libACE_SSL_la-SSL_SOCK_Stream.Tpo -c -o libACE_SSL_la-SSL_SOCK_Stream.lo `test -f 'SSL_SOCK_Stream.cpp' || echo '$(srcdir)/'`SSL_SOCK_Stream.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libACE_SSL_la-SSL_SOCK_Stream.Tpo $(DEPDIR)/libACE_SSL_la-SSL_SOCK_Stream.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SSL_SOCK_Stream.cpp' object='libACE_SSL_la-SSL_SOCK_Stream.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libACE_SSL_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libACE_SSL_la-SSL_SOCK_Stream.lo `test -f 'SSL_SOCK_Stream.cpp' || echo '$(srcdir)/'`SSL_SOCK_Stream.cpp - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-pkgconfigDATA: $(pkgconfig_DATA) - @$(NORMAL_INSTALL) - test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" - @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ - done - -uninstall-pkgconfigDATA: - @$(NORMAL_UNINSTALL) - @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files -install-nobase_includeHEADERS: $(nobase_include_HEADERS) - @$(NORMAL_INSTALL) - test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)" - @list='$(nobase_include_HEADERS)'; test -n "$(includedir)" || list=; \ - $(am__nobase_list) | while read dir files; do \ - xfiles=; for file in $$files; do \ - if test -f "$$file"; then xfiles="$$xfiles $$file"; \ - else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \ - test -z "$$xfiles" || { \ - test "x$$dir" = x. || { \ - echo "$(MKDIR_P) '$(DESTDIR)$(includedir)/$$dir'"; \ - $(MKDIR_P) "$(DESTDIR)$(includedir)/$$dir"; }; \ - echo " $(INSTALL_HEADER) $$xfiles '$(DESTDIR)$(includedir)/$$dir'"; \ - $(INSTALL_HEADER) $$xfiles "$(DESTDIR)$(includedir)/$$dir" || exit $$?; }; \ - done - -uninstall-nobase_includeHEADERS: - @$(NORMAL_UNINSTALL) - @list='$(nobase_include_HEADERS)'; test -n "$(includedir)" || list=; \ - $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(includedir)" && rm -f $$files - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - set x; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) -installdirs: - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libLTLIBRARIES clean-libtool clean-local \ - mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: install-nobase_includeHEADERS install-pkgconfigDATA - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: install-libLTLIBRARIES - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-libLTLIBRARIES uninstall-nobase_includeHEADERS \ - uninstall-pkgconfigDATA - -.MAKE: install-am install-strip - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libLTLIBRARIES clean-libtool clean-local ctags distclean \ - distclean-compile distclean-generic distclean-libtool \ - distclean-tags distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ - install-html-am install-info install-info-am \ - install-libLTLIBRARIES install-man \ - install-nobase_includeHEADERS install-pdf install-pdf-am \ - install-pkgconfigDATA install-ps install-ps-am install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags uninstall uninstall-am uninstall-libLTLIBRARIES \ - uninstall-nobase_includeHEADERS uninstall-pkgconfigDATA - - -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ACE_SSL.pc: ${top_builddir}/config.status ${srcdir}/ACE_SSL.pc.in -@BUILD_ACE_FOR_TAO_FALSE@@BUILD_SSL_TRUE@ ${top_builddir}/config.status --file $@:${srcdir}/ACE_SSL.pc.in - -clean-local: - -rm -f *~ *.bak *.rpo *.sym lib*.*_pure_* core core.* - -rm -f gcctemp.c gcctemp so_locations *.ics - -rm -rf cxx_repository ptrepository ti_files - -rm -rf templateregistry ir.out - -rm -rf ptrepository SunWS_cache Templates.DB - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/dep/ACE_wrappers/ace/SSL/ssl.mpc b/dep/ACE_wrappers/ace/SSL/ssl.mpc deleted file mode 100644 index bed780164..000000000 --- a/dep/ACE_wrappers/ace/SSL/ssl.mpc +++ /dev/null @@ -1,23 +0,0 @@ -// -*- MPC -*- -// $Id: ssl.mpc 91974 2010-09-23 16:17:42Z mitza $ - -project(SSL) : acelib, ace_output, install, ace_openssl { - avoids += ace_for_tao - requires += ssl - sharedname = ACE_SSL - dynamicflags += ACE_SSL_BUILD_DLL - - specific { - install_dir = ace/SSL - } - - pkgconfig_files { - ACE_SSL.pc.in - } - - specific(gnuace) { - pkgconfig_variables += ACE_TLS_CPPFLAGS=$(PLATFORM_SSL_CPPFLAGS) - pkgconfig_variables += ACE_TLS_LDFLAGS=$(PLATFORM_SSL_LDFLAGS) - pkgconfig_variables += ACE_TLS_LIBS=$(PLATFORM_SSL_LIBS) - } -} diff --git a/dep/ACE_wrappers/ace/SSL/ssl_for_tao.mpc b/dep/ACE_wrappers/ace/SSL/ssl_for_tao.mpc deleted file mode 100644 index 888b6092a..000000000 --- a/dep/ACE_wrappers/ace/SSL/ssl_for_tao.mpc +++ /dev/null @@ -1,46 +0,0 @@ -// -*- MPC -*- -// -// $Id: ssl_for_tao.mpc 90826 2010-06-24 09:07:33Z johnnyw $ - -project(SSL_FOR_TAO) : acelib, ace_output, install, ace_openssl { - requires += ssl ace_for_tao - sharedname = ACE_SSL_FOR_TAO - dynamicflags += ACE_SSL_BUILD_DLL - - Source_Files { - SSL_Context.cpp - SSL_SOCK.cpp - SSL_SOCK_Acceptor.cpp - SSL_SOCK_Connector.cpp - SSL_SOCK_Stream.cpp - } - - Header_Files { - SSL_Context.h - SSL_Export.h - SSL_SOCK.h - SSL_SOCK_Acceptor.h - SSL_SOCK_Connector.h - SSL_SOCK_Stream.h - sslconf.h - } - - Inline_Files { - SSL_SOCK.inl - SSL_SOCK_Acceptor.inl - SSL_SOCK_Connector.inl - SSL_Context.inl - SSL_SOCK_Stream.inl - } - - Template_Files { - } - - pkgconfig_files { - ACE_SSL.pc.in - } - - specific { - install_dir = ace/SSL - } -} diff --git a/dep/ACE_wrappers/ace/Strategies.h b/dep/ACE_wrappers/ace/Strategies.h deleted file mode 100644 index 484ffa9a5..000000000 --- a/dep/ACE_wrappers/ace/Strategies.h +++ /dev/null @@ -1,33 +0,0 @@ -// -*- C++ -*- - -//============================================================================= -/** - * @file Strategies.h - * - * $Id: Strategies.h 80826 2008-03-04 14:51:23Z wotte $ - * - * @author Douglas C. Schmidt - */ -//============================================================================= - -#ifndef ACE_STRATEGIES_H -#define ACE_STRATEGIES_H -#include /**/ "ace/pre.h" - -#include /**/ "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -/// Place holder for backward compatibility.. -#include "ace/Connection_Recycling_Strategy.h" -#include "ace/Hashable.h" -#include "ace/Notification_Strategy.h" -#include "ace/Reactor_Notification_Strategy.h" -#include "ace/Recyclable.h" -#include "ace/Refcountable.h" - - -#include /**/ "ace/post.h" -#endif /*ACE_STRATEGIES_H*/ diff --git a/dep/ACE_wrappers/ace/Stream.inl b/dep/ACE_wrappers/ace/Stream.inl deleted file mode 100644 index 6263d4311..000000000 --- a/dep/ACE_wrappers/ace/Stream.inl +++ /dev/null @@ -1,51 +0,0 @@ -// -*- C++ -*- -// -// $Id: Stream.inl 80826 2008-03-04 14:51:23Z wotte $ - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -template ACE_INLINE ACE_Module * -ACE_Stream::head (void) -{ - ACE_TRACE ("ACE_Stream::head"); - return this->stream_head_; -} - -template ACE_INLINE ACE_Module * -ACE_Stream::tail (void) -{ - ACE_TRACE ("ACE_Stream::tail"); - return this->stream_tail_; -} - -template ACE_INLINE int -ACE_Stream::wait (void) -{ - ACE_TRACE ("ACE_Stream::wait"); - return this->final_close_.wait (); -} - -template ACE_INLINE int -ACE_Stream_Iterator::next (const ACE_Module *&mod) -{ - ACE_TRACE ("ACE_Stream_Iterator::next"); - mod = this->next_; - return this->next_ != 0; -} - -template ACE_INLINE int -ACE_Stream_Iterator::done (void) const -{ - ACE_TRACE ("ACE_Stream_Iterator::done"); - return this->next_ == 0; -} - -template int -ACE_Stream_Iterator::advance (void) -{ - ACE_TRACE ("ACE_Stream_Iterator::advance"); - this->next_ = this->next_->next (); - return this->next_ != 0; -} - -ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/ACE_wrappers/ace/Stream_Modules.cpp b/dep/ACE_wrappers/ace/Stream_Modules.cpp deleted file mode 100644 index 8d11e5da1..000000000 --- a/dep/ACE_wrappers/ace/Stream_Modules.cpp +++ /dev/null @@ -1,380 +0,0 @@ -// $Id: Stream_Modules.cpp 80826 2008-03-04 14:51:23Z wotte $ - -#ifndef ACE_STREAM_MODULES_CPP -#define ACE_STREAM_MODULES_CPP - -#include "ace/Stream_Modules.h" -#include "ace/OS_NS_string.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -ACE_ALLOC_HOOK_DEFINE(ACE_Stream_Head) - -template -ACE_Stream_Head::ACE_Stream_Head (void) -{ - ACE_TRACE ("ACE_Stream_Head::ACE_Stream_Head"); -} - -template -ACE_Stream_Head::~ACE_Stream_Head (void) -{ - ACE_TRACE ("ACE_Stream_Head::~ACE_Stream_Head"); -} - -template void -ACE_Stream_Head::dump (void) const -{ -#if defined (ACE_HAS_DUMP) - ACE_TRACE ("ACE_Stream_Head::dump"); -#endif /* ACE_HAS_DUMP */ -} - -// ACE_Module that act as the head and tail of a Stream. - -template int -ACE_Stream_Head::open (void *) -{ - ACE_TRACE ("ACE_Stream_Head::open"); - return 0; -} - -template int -ACE_Stream_Head::close (u_long) -{ - ACE_TRACE ("ACE_Stream_Head::close"); - return 0; -} - -template int -ACE_Stream_Head::svc (void) -{ - ACE_TRACE ("ACE_Stream_Head::svc"); - return -1; -} - -template int -ACE_Stream_Head::control (ACE_Message_Block *mb) -{ - ACE_TRACE ("ACE_Stream_Head::control"); - ACE_IO_Cntl_Msg *ioc = (ACE_IO_Cntl_Msg *) mb->rd_ptr (); - ACE_IO_Cntl_Msg::ACE_IO_Cntl_Cmds cmd; - - switch (cmd = ioc->cmd ()) - { - case ACE_IO_Cntl_Msg::SET_LWM: - case ACE_IO_Cntl_Msg::SET_HWM: - this->water_marks (cmd, *(size_t *) mb->cont ()->rd_ptr ()); - ioc->rval (0); - break; - default: - return 0; - } - return ioc->rval (); -} - -// Performs canonical flushing at the ACE_Stream Head. - -template int -ACE_Stream_Head::canonical_flush (ACE_Message_Block *mb) -{ - ACE_TRACE ("ACE_Stream_Head::canonical_flush"); - char *cp = mb->rd_ptr (); - - if (ACE_BIT_ENABLED (*cp, ACE_Task_Flags::ACE_FLUSHR)) - { - this->flush (ACE_Task_Flags::ACE_FLUSHALL); - ACE_CLR_BITS (*cp, ACE_Task_Flags::ACE_FLUSHR); - } - - if (ACE_BIT_ENABLED (*cp, ACE_Task_Flags::ACE_FLUSHW)) - return this->reply (mb); - else - mb->release (); - return 0; -} - -template int -ACE_Stream_Head::put (ACE_Message_Block *mb, - ACE_Time_Value *tv) -{ - ACE_TRACE ("ACE_Stream_Head::put"); - int res = 0; - - if (mb->msg_type () == ACE_Message_Block::MB_IOCTL - && (res = this->control (mb)) == -1) - return res; - - if (this->is_writer ()) - return this->put_next (mb, tv); - else // this->is_reader () - { - switch (mb->msg_type ()) - { - case ACE_Message_Block::MB_FLUSH: - return this->canonical_flush (mb); - default: - break; - } - - return this->putq (mb, tv); - } -} - -template int -ACE_Stream_Head::init (int, ACE_TCHAR *[]) -{ - ACE_TRACE ("ACE_Stream_Head::init"); - return 0; -} - -template int -ACE_Stream_Head::info (ACE_TCHAR **strp, size_t length) const -{ - ACE_TRACE ("ACE_Stream_Head::info"); - const ACE_TCHAR *name = this->name (); - - if (*strp == 0 && (*strp = ACE_OS::strdup (name)) == 0) - return -1; - else - ACE_OS::strsncpy (*strp, name, length); - return static_cast (ACE_OS::strlen (name)); -} - -template int -ACE_Stream_Head::fini (void) -{ - ACE_TRACE ("ACE_Stream_Head::fini"); - return 0; -} - -ACE_ALLOC_HOOK_DEFINE(ACE_Stream_Tail) - -template -ACE_Stream_Tail::ACE_Stream_Tail (void) -{ - ACE_TRACE ("ACE_Stream_Tail::ACE_Stream_Tail"); -} - -template -ACE_Stream_Tail::~ACE_Stream_Tail (void) -{ - ACE_TRACE ("ACE_Stream_Tail::~ACE_Stream_Tail"); -} - -template void -ACE_Stream_Tail::dump (void) const -{ -#if defined (ACE_HAS_DUMP) - ACE_TRACE ("ACE_Stream_Tail::dump"); -#endif /* ACE_HAS_DUMP */ -} - -template int -ACE_Stream_Tail::open (void *) -{ - ACE_TRACE ("ACE_Stream_Tail::open"); - return 0; -} - -template int -ACE_Stream_Tail::close (u_long) -{ - ACE_TRACE ("ACE_Stream_Tail::close"); - return 0; -} - -template int -ACE_Stream_Tail::svc (void) -{ - ACE_TRACE ("ACE_Stream_Tail::svc"); - return -1; -} - -template int -ACE_Stream_Tail::control (ACE_Message_Block *mb) -{ - ACE_TRACE ("ACE_Stream_Tail::control"); - ACE_IO_Cntl_Msg *ioc = (ACE_IO_Cntl_Msg *) mb->rd_ptr (); - ACE_IO_Cntl_Msg::ACE_IO_Cntl_Cmds cmd; - - switch (cmd = ioc->cmd ()) - { - case ACE_IO_Cntl_Msg::SET_LWM: - case ACE_IO_Cntl_Msg::SET_HWM: - { - size_t wm_size = *(size_t *) mb->cont ()->rd_ptr (); - - this->water_marks (cmd, wm_size); - this->sibling ()->water_marks (cmd, wm_size); - ioc->rval (0); - break; - } - default: - mb->msg_type (ACE_Message_Block::MB_IOCNAK); - } - return this->reply (mb); -} - -// Perform flush algorithm as though we were the driver. - -template int -ACE_Stream_Tail::canonical_flush (ACE_Message_Block *mb) -{ - ACE_TRACE ("ACE_Stream_Tail::canonical_flush"); - char *cp = mb->rd_ptr (); - - if (ACE_BIT_ENABLED (*cp, ACE_Task_Flags::ACE_FLUSHW)) - { - this->flush (ACE_Task_Flags::ACE_FLUSHALL); - ACE_CLR_BITS (*cp, ACE_Task_Flags::ACE_FLUSHW); - } - - if (ACE_BIT_ENABLED (*cp, ACE_Task_Flags::ACE_FLUSHR)) - { - this->sibling ()->flush (ACE_Task_Flags::ACE_FLUSHALL); - return this->reply (mb); - } - else - mb->release (); - - return 0; -} - -template int -ACE_Stream_Tail::put (ACE_Message_Block *mb, - ACE_Time_Value *) -{ - ACE_TRACE ("ACE_Stream_Tail::put"); - - if (this->is_writer ()) - { - switch (mb->msg_type ()) - { - case ACE_Message_Block::MB_IOCTL: - return this->control (mb); - /* NOTREACHED */ - default: - mb->release (); - return 0; - /* NOTREACHED */ - } - } - - return -1; -} - -template int -ACE_Stream_Tail::init (int, ACE_TCHAR *[]) -{ - ACE_TRACE ("ACE_Stream_Tail::init"); - return 0; -} - -template int -ACE_Stream_Tail::info (ACE_TCHAR **strp, size_t length) const -{ - ACE_TRACE ("ACE_Stream_Tail::info"); - const ACE_TCHAR *name = this->name (); - - if (*strp == 0 && (*strp = ACE_OS::strdup (name)) == 0) - return -1; - else - ACE_OS::strsncpy (*strp, name, length); - return static_cast (ACE_OS::strlen (name)); -} - -template int -ACE_Stream_Tail::fini (void) -{ - ACE_TRACE ("ACE_Stream_Tail::fini"); - return 0; -} - -ACE_ALLOC_HOOK_DEFINE(ACE_Thru_Task) - -template -ACE_Thru_Task::ACE_Thru_Task (void) -{ - ACE_TRACE ("ACE_Thru_Task::ACE_Thru_Task"); -} - -template -ACE_Thru_Task::~ACE_Thru_Task (void) -{ - ACE_TRACE ("ACE_Thru_Task::~ACE_Thru_Task"); -} - -template void -ACE_Thru_Task::dump (void) const -{ -#if defined (ACE_HAS_DUMP) - ACE_TRACE ("ACE_Thru_Task::dump"); -#endif /* ACE_HAS_DUMP */ -} - -template int -ACE_Thru_Task::open (void *) -{ - ACE_TRACE ("ACE_Thru_Task::open"); - return 0; -} - -template int -ACE_Thru_Task::close (u_long) -{ - ACE_TRACE ("ACE_Thru_Task::close"); - return 0; -} - -template int -ACE_Thru_Task::svc (void) -{ - ACE_TRACE ("ACE_Thru_Task::svc"); - return -1; -} - -template int -ACE_Thru_Task::put (ACE_Message_Block *msg, - ACE_Time_Value *tv) -{ - ACE_TRACE ("ACE_Thru_Task::put"); - return this->put_next (msg, tv); -} - -template int -ACE_Thru_Task::init (int, ACE_TCHAR *[]) -{ - ACE_TRACE ("ACE_Thru_Task::init"); - return 0; -} - -template int -ACE_Thru_Task::info (ACE_TCHAR **strp, - size_t length) const -{ - ACE_TRACE ("ACE_Thru_Task::info"); - const ACE_TCHAR *name = this->name (); - - if (*strp == 0 && (*strp = ACE_OS::strdup (name)) == 0) - return -1; - else - ACE_OS::strsncpy (*strp, name, length); - return static_cast (ACE_OS::strlen (name)); -} - -template int -ACE_Thru_Task::fini (void) -{ - ACE_TRACE ("ACE_Thru_Task::fini"); - return 0; -} - -ACE_END_VERSIONED_NAMESPACE_DECL - -#endif /* ACE_STREAM_MODULES_CPP */ diff --git a/dep/ACE_wrappers/ace/Task_Ex_T.inl b/dep/ACE_wrappers/ace/Task_Ex_T.inl deleted file mode 100644 index 9b5c864c6..000000000 --- a/dep/ACE_wrappers/ace/Task_Ex_T.inl +++ /dev/null @@ -1,102 +0,0 @@ -// -*- C++ -*- -// -// $Id: Task_Ex_T.inl 91688 2010-09-09 11:21:50Z johnnyw $ - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -template ACE_INLINE void -ACE_Task_Ex::water_marks (ACE_IO_Cntl_Msg::ACE_IO_Cntl_Cmds cmd, - size_t wm_size) -{ - ACE_TRACE ("ACE_Task_Ex::water_marks"); - if (cmd == ACE_IO_Cntl_Msg::SET_LWM) - this->msg_queue_->low_water_mark (wm_size); - else /* cmd == ACE_IO_Cntl_Msg::SET_HWM */ - this->msg_queue_->high_water_mark (wm_size); -} - -template ACE_INLINE int -ACE_Task_Ex::getq (ACE_MESSAGE_TYPE *&mb, ACE_Time_Value *tv) -{ - ACE_TRACE ("ACE_Task_Ex::getq"); - return this->msg_queue_->dequeue_head (mb, tv); -} - -template ACE_INLINE int -ACE_Task_Ex::putq (ACE_MESSAGE_TYPE *mb, ACE_Time_Value *tv) -{ - ACE_TRACE ("ACE_Task_Ex::putq"); - return this->msg_queue_->enqueue_tail (mb, tv); -} - -template ACE_INLINE int -ACE_Task_Ex::ungetq (ACE_MESSAGE_TYPE *mb, ACE_Time_Value *tv) -{ - ACE_TRACE ("ACE_Task_Ex::ungetq"); - return this->msg_queue_->enqueue_head (mb, tv); -} - -template ACE_INLINE int -ACE_Task_Ex::flush (u_long flag) -{ - ACE_TRACE ("ACE_Task_Ex::flush"); - if (ACE_BIT_ENABLED (flag, ACE_Task_Flags::ACE_FLUSHALL)) - return this->msg_queue_ != 0 && this->msg_queue_->close (); - else - return -1; // Note, need to be more careful about what we free... -} - -template ACE_INLINE void -ACE_Task_Ex::msg_queue (ACE_Message_Queue_Ex *mq) -{ - ACE_TRACE ("ACE_Task_Ex::msg_queue"); - if (this->delete_msg_queue_) - { - delete this->msg_queue_; - this->delete_msg_queue_ = false; - } - this->msg_queue_ = mq; -} - -template ACE_Message_Queue_Ex * -ACE_Task_Ex::msg_queue (void) -{ - ACE_TRACE ("ACE_Task_Ex::msg_queue"); - return this->msg_queue_; -} - -template ACE_INLINE int -ACE_Task_Ex::reply (ACE_MESSAGE_TYPE *mb, ACE_Time_Value *tv) -{ - ACE_TRACE ("ACE_Task_Ex::reply"); - ACE_UNUSED_ARG (mb); - ACE_UNUSED_ARG (tv); - return -1 ; // this->sibling ()->put_next (mb, tv); -} - -template ACE_INLINE ACE_Task * -ACE_Task_Ex::next (void) -{ - ACE_TRACE ("ACE_Task_Ex::next"); - return this->next_; -} - -template ACE_INLINE void -ACE_Task_Ex::next (ACE_Task *q) -{ - ACE_TRACE ("ACE_Task_Ex::next"); - this->next_ = q; -} - -// Transfer msg to the next ACE_Task_Ex. - -template ACE_INLINE int -ACE_Task_Ex::put_next ( - ACE_MESSAGE_TYPE * /* msg */, - ACE_Time_Value * /* tv */) -{ - ACE_TRACE ("ACE_Task_Ex::put_next"); - return -1; // this->next_ == 0 ? -1 : this->next_->put (msg, tv); -} - -ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/ACE_wrappers/ace/Task_T.inl b/dep/ACE_wrappers/ace/Task_T.inl deleted file mode 100644 index 5eda4c2bf..000000000 --- a/dep/ACE_wrappers/ace/Task_T.inl +++ /dev/null @@ -1,98 +0,0 @@ -// -*- C++ -*- -// -// $Id: Task_T.inl 91688 2010-09-09 11:21:50Z johnnyw $ - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -template ACE_INLINE void -ACE_Task::water_marks (ACE_IO_Cntl_Msg::ACE_IO_Cntl_Cmds cmd, - size_t wm_size) -{ - ACE_TRACE ("ACE_Task::water_marks"); - if (cmd == ACE_IO_Cntl_Msg::SET_LWM) - this->msg_queue_->low_water_mark (wm_size); - else /* cmd == ACE_IO_Cntl_Msg::SET_HWM */ - this->msg_queue_->high_water_mark (wm_size); -} - -template ACE_INLINE int -ACE_Task::getq (ACE_Message_Block *&mb, ACE_Time_Value *tv) -{ - ACE_TRACE ("ACE_Task::getq"); - return this->msg_queue_->dequeue_head (mb, tv); -} - -template ACE_INLINE int -ACE_Task::putq (ACE_Message_Block *mb, ACE_Time_Value *tv) -{ - ACE_TRACE ("ACE_Task::putq"); - return this->msg_queue_->enqueue_tail (mb, tv); -} - -template ACE_INLINE int -ACE_Task::ungetq (ACE_Message_Block *mb, ACE_Time_Value *tv) -{ - ACE_TRACE ("ACE_Task::ungetq"); - return this->msg_queue_->enqueue_head (mb, tv); -} - -template ACE_INLINE int -ACE_Task::flush (u_long flag) -{ - ACE_TRACE ("ACE_Task::flush"); - if (ACE_BIT_ENABLED (flag, ACE_Task_Flags::ACE_FLUSHALL)) - return this->msg_queue_ != 0 && this->msg_queue_->close (); - else - return -1; // Note, need to be more careful about what we free... -} - -template ACE_INLINE void -ACE_Task::msg_queue (ACE_Message_Queue *mq) -{ - ACE_TRACE ("ACE_Task::msg_queue"); - if (this->delete_msg_queue_) - { - delete this->msg_queue_; - this->delete_msg_queue_ = false; - } - this->msg_queue_ = mq; -} - -template ACE_Message_Queue * -ACE_Task::msg_queue (void) -{ - ACE_TRACE ("ACE_Task::msg_queue"); - return this->msg_queue_; -} - -template ACE_INLINE int -ACE_Task::reply (ACE_Message_Block *mb, ACE_Time_Value *tv) -{ - ACE_TRACE ("ACE_Task::reply"); - return this->sibling ()->put_next (mb, tv); -} - -template ACE_INLINE ACE_Task * -ACE_Task::next (void) -{ - ACE_TRACE ("ACE_Task::next"); - return this->next_; -} - -template ACE_INLINE void -ACE_Task::next (ACE_Task *q) -{ - ACE_TRACE ("ACE_Task::next"); - this->next_ = q; -} - -// Transfer msg to the next ACE_Task. - -template ACE_INLINE int -ACE_Task::put_next (ACE_Message_Block *msg, ACE_Time_Value *tv) -{ - ACE_TRACE ("ACE_Task::put_next"); - return this->next_ == 0 ? -1 : this->next_->put (msg, tv); -} - -ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/ACE_wrappers/ace/Timer_Queue_T.h b/dep/ACE_wrappers/ace/Timer_Queue_T.h deleted file mode 100644 index 5e316e1e0..000000000 --- a/dep/ACE_wrappers/ace/Timer_Queue_T.h +++ /dev/null @@ -1,566 +0,0 @@ -// -*- C++ -*- - -//============================================================================= -/** - * @file Timer_Queue_T.h - * - * $Id: Timer_Queue_T.h 89254 2010-02-25 22:10:39Z cleeland $ - * - * @author Doug Schmidt - * @author Irfan Pyarali and - * @author Darrell Brunsch - */ -//============================================================================= - -#ifndef ACE_TIMER_QUEUE_T_H -#define ACE_TIMER_QUEUE_T_H -#include /**/ "ace/pre.h" - -#include "ace/Free_List.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "ace/Event_Handler.h" -#include "ace/Time_Value.h" - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -/** - * @class ACE_Timer_Node_Dispatch_Info_T - * - * @brief Maintains generated dispatch information for Timer nodes. - * - */ -template -class ACE_Timer_Node_Dispatch_Info_T -{ -public: - /// The type of object held in the queue - TYPE type_; - - /// Asynchronous completion token associated with the timer. - const void *act_; - - /// Flag to check if the timer is recurring. - int recurring_timer_; -}; - -/** - * @class ACE_Timer_Node_T - * - * @brief Maintains the state associated with a Timer entry. - */ -template -class ACE_Timer_Node_T -{ -public: - /// Default constructor - ACE_Timer_Node_T (void); - - /// Destructor - ~ACE_Timer_Node_T (void); - - /// Useful typedef .. - typedef ACE_Timer_Node_Dispatch_Info_T DISPATCH_INFO; - - /// Singly linked list - void set (const TYPE &type, - const void *a, - const ACE_Time_Value &t, - const ACE_Time_Value &i, - ACE_Timer_Node_T *n, - long timer_id); - - /// Doubly linked list version - void set (const TYPE &type, - const void *a, - const ACE_Time_Value &t, - const ACE_Time_Value &i, - ACE_Timer_Node_T *p, - ACE_Timer_Node_T *n, - long timer_id); - - // = Accessors - - /// Get the type. - TYPE &get_type (void); - - /// Set the type. - void set_type (TYPE &type); - - /// Get the asynchronous completion token. - const void *get_act (void); - - /// Set the asynchronous completion token. - void set_act (void *act); - - /// Get the timer value. - const ACE_Time_Value &get_timer_value (void) const; - - /// Set the timer value. - void set_timer_value (const ACE_Time_Value &timer_value); - - /// Get the timer interval. - const ACE_Time_Value &get_interval (void) const; - - /// Set the timer interval. - void set_interval (const ACE_Time_Value &interval); - - /// Get the previous pointer. - ACE_Timer_Node_T *get_prev (void); - - /// Set the previous pointer. - void set_prev (ACE_Timer_Node_T *prev); - - /// Get the next pointer. - ACE_Timer_Node_T *get_next (void); - - /// Set the next pointer. - void set_next (ACE_Timer_Node_T *next); - - /// Get the timer_id. - long get_timer_id (void) const; - - /// Set the timer_id. - void set_timer_id (long timer_id); - - /// Get the dispatch info. The dispatch information is got - /// through . This form helps us in preventing allocation and - /// deleting data along the criticl path. - /// @@TODO: We may want to have a copying version too, so that our - /// interface will be complete.. - void get_dispatch_info (ACE_Timer_Node_Dispatch_Info_T &info); - - /// Dump the state of an TYPE. - void dump (void) const; - -private: - /// Type of object stored in the Queue - TYPE type_; - - /// Asynchronous completion token associated with the timer. - const void *act_; - - /// Time until the timer expires. - ACE_Time_Value timer_value_; - - /// If this is a periodic timer this holds the time until the next - /// timeout. - ACE_Time_Value interval_; - - /// Pointer to previous timer. - ACE_Timer_Node_T *prev_; - - /// Pointer to next timer. - ACE_Timer_Node_T *next_; - - /// Id of this timer (used to cancel timers before they expire). - long timer_id_; -}; - -/** - * @class ACE_Timer_Queue_Iterator_T - * - * @brief Generic interface for iterating over a subclass of - * ACE_Timer_Queue. - * - * This is a generic iterator that can be used to visit every - * node of a timer queue. Be aware that it isn't guaranteed - * that the transversal will be in order of timeout values. - */ -template -class ACE_Timer_Queue_Iterator_T -{ -public: - // = Initialization and termination methods. - /// Constructor. - ACE_Timer_Queue_Iterator_T (void); - - /// Destructor. - virtual ~ACE_Timer_Queue_Iterator_T (void); - - /// Positions the iterator at the earliest node in the Timer Queue - virtual void first (void) = 0; - - /// Positions the iterator at the next node in the Timer Queue - virtual void next (void) = 0; - - /// Returns true when there are no more nodes in the sequence - virtual bool isdone (void) const = 0; - - /// Returns the node at the current position in the sequence - virtual ACE_Timer_Node_T *item (void) = 0; -}; - -/** - * @class ACE_Timer_Queue_T - * - * @brief Provides an interface to timers. - * - * This is an abstract base class that provides hook for - * implementing specialized policies such as ACE_Timer_List - * and ACE_Timer_Heap. - */ -template -class ACE_Timer_Queue_T -{ -public: - /// Type of Iterator. - typedef ACE_Timer_Queue_Iterator_T ITERATOR; - - // = Initialization and termination methods. - /** - * Default constructor. @a upcall_functor is the instance of the - * FUNCTOR to be used by the queue. If @a upcall_functor is 0, Timer - * Queue will create a default FUNCTOR. @a freelist the freelist of - * timer nodes. If 0, then a default freelist will be created. - */ - ACE_Timer_Queue_T (FUNCTOR *upcall_functor = 0, - ACE_Free_List > *freelist = 0); - - /// Destructor - make virtual for proper destruction of inherited - /// classes. - virtual ~ACE_Timer_Queue_T (void); - - /// True if queue is empty, else false. - virtual bool is_empty (void) const = 0; - - /// Returns the time of the earlier node in the Timer_Queue. Must - /// be called on a non-empty queue. - virtual const ACE_Time_Value &earliest_time (void) const = 0; - - /** - * Schedule @a type that will expire at @a future_time, which is - * specified in absolute time. If it expires then @a act is passed - * in as the value to the . If @a interval is != to - * ACE_Time_Value::zero then it is used to reschedule the @a type - * automatically, using relative time to the current . - * This method returns a that uniquely identifies the the - * @a type entry in an internal list. This can be used to - * cancel the timer before it expires. The cancellation ensures - * that are unique up to values of greater than 2 - * billion timers. As long as timers don't stay around longer than - * this there should be no problems with accidentally deleting the - * wrong timer. Returns -1 on failure (which is guaranteed never to - * be a valid ). - */ - virtual long schedule (const TYPE &type, - const void *act, - const ACE_Time_Value &future_time, - const ACE_Time_Value &interval = ACE_Time_Value::zero); - - /** - * Resets the interval of the timer represented by @a timer_id to - * @a interval, which is specified in relative time to the current - * . If @a interval is equal to - * ACE_Time_Value::zero, the timer will become a non-rescheduling - * timer. Returns 0 if successful, -1 if not. - */ - virtual int reset_interval (long timer_id, - const ACE_Time_Value &interval) = 0; - - /** - * Cancel all timer associated with @a type. If - * @a dont_call_handle_close is 0 then the will be invoked, - * which typically invokes the hook. Returns number - * of timers cancelled. - */ - virtual int cancel (const TYPE &type, - int dont_call_handle_close = 1) = 0; - - /** - * Cancel the single timer that matches the @a timer_id value (which - * was returned from the method). If act is non-NULL - * then it will be set to point to the ``magic cookie'' argument - * passed in when the timer was registered. This makes it possible - * to free up the memory and avoid memory leaks. If - * @a dont_call_handle_close is 0 then the will be invoked, - * which typically calls the hook. Returns 1 if - * cancellation succeeded and 0 if the @a timer_id wasn't found. - */ - virtual int cancel (long timer_id, - const void **act = 0, - int dont_call_handle_close = 1) = 0; - - /** - * Run the for all timers whose values are <= @a current_time. - * This does not account for . Returns the number of - * timers canceled. - */ - virtual int expire (const ACE_Time_Value ¤t_time); - - /** - * Get the dispatch information for a timer whose value is <= @a current_time. - * This does not account for . Returns 1 if - * there is a node whose value <= @a current_time else returns a 0. - * - */ - virtual int dispatch_info (const ACE_Time_Value ¤t_time, - ACE_Timer_Node_Dispatch_Info_T &info); - - /** - * Run the for all timers whose values are <= - * . Also accounts for . - * - * Depending on the resolution of the underlying OS the system calls - * like select()/poll() might return at time different than that is - * specified in the timeout. Suppose the OS guarantees a resolution of t ms. - * The timeline will look like - * - * A B - * | | - * V V - * |-------------|-------------|-------------|-------------| - * t t t t t - * - * - * If you specify a timeout value of A, then the timeout will not occur - * at A but at the next interval of the timer, which is later than - * that is expected. Similarly, if your timeout value is equal to B, - * then the timeout will occur at interval after B. Now depending upon the - * resolution of your timeouts and the accuracy of the timeouts - * needed for your application, you should set the value of - * . In the above case, if you want the timeout A to fire - * no later than A, then you should specify your to be - * A % t. - * - * The timeout value should be specified via the macro ACE_TIMER_SKEW - * in your config.h file. The default value is zero. - * - * Things get interesting if the t before the timeout value B is zero - * i.e your timeout is less than the interval. In that case, you are - * almost sure of not getting the desired timeout behaviour. Maybe you - * should look for a better OS :-) - * - * Returns the number of timers canceled. - */ - - /* virtual */ int expire (void); - - /** - * Returns the current time of day. This method allows different - * implementations of the timer queue to use special high resolution - * timers. - */ - /* virtual */ ACE_Time_Value gettimeofday (void); - - /// Allows applications to control how the timer queue gets the time - /// of day. - void gettimeofday (ACE_Time_Value (*gettimeofday)(void)); - - /// Determine the next event to timeout. Returns @a max if there are - /// no pending timers or if all pending timers are longer than max. - /// This method acquires a lock internally since it modifies internal state. - virtual ACE_Time_Value *calculate_timeout (ACE_Time_Value *max); - - /** - * Determine the next event to timeout. Returns @a max if there are - * no pending timers or if all pending timers are longer than max. - * should be a pointer to storage for the timeout value, - * and this value is also returned. This method does not acquire a - * lock internally since it doesn't modify internal state. If you - * need to call this method when the queue is being modified - * concurrently, however, you should make sure to acquire the - * externally before making the call. - */ - virtual ACE_Time_Value *calculate_timeout (ACE_Time_Value *max, - ACE_Time_Value *the_timeout); - - /// Set the timer skew for the Timer_Queue. - void timer_skew (const ACE_Time_Value &skew); - - /// Get the timer skew for the Timer_Queue. - const ACE_Time_Value &timer_skew (void) const; - - /// Synchronization variable used by the queue - ACE_LOCK &mutex (void); - - /// Accessor to the upcall functor - FUNCTOR &upcall_functor (void); - - /// Returns a pointer to this ACE_Timer_Queue's iterator. - virtual ITERATOR &iter (void) = 0; - - /// Removes the earliest node from the queue and returns it - virtual ACE_Timer_Node_T *remove_first (void) = 0; - - /// Dump the state of a object. - virtual void dump (void) const; - - /// Reads the earliest node from the queue and returns it. - virtual ACE_Timer_Node_T *get_first (void) = 0; - - /// Method used to return a timer node to the queue's ownership - /// after it is returned by a method like . - virtual void return_node (ACE_Timer_Node_T *); - - /// This method will call the preinvoke() on . - void preinvoke (ACE_Timer_Node_Dispatch_Info_T &info, - const ACE_Time_Value &cur_time, - const void *&upcall_act); - - /// This method will call the timeout() on . - void upcall (ACE_Timer_Node_Dispatch_Info_T &info, - const ACE_Time_Value &cur_time); - - /// This method will call the postinvoke() on . - void postinvoke (ACE_Timer_Node_Dispatch_Info_T &info, - const ACE_Time_Value &cur_time, - const void *upcall_act); - -protected: - - /// Schedule a timer. - virtual long schedule_i (const TYPE &type, - const void *act, - const ACE_Time_Value &future_time, - const ACE_Time_Value &interval) = 0; - - /// Reschedule an "interval" ACE_Timer_Node. - virtual void reschedule (ACE_Timer_Node_T *) = 0; - - /// Factory method that allocates a new node. - virtual ACE_Timer_Node_T *alloc_node (void); - - /// Factory method that frees a previously allocated node. - virtual void free_node (ACE_Timer_Node_T *); - - /// Non-locking version of dispatch_info () - virtual int dispatch_info_i (const ACE_Time_Value ¤t_time, - ACE_Timer_Node_Dispatch_Info_T &info); - - /// Recompute when the next time is that this interval timer should fire. - void recompute_next_abs_interval_time (ACE_Timer_Node_T* expired, - const ACE_Time_Value &cur_time); - - /// Synchronization variable for ACE_Timer_Queue. - /// @note The right name would be lock_, but HP/C++ will choke on that! - ACE_LOCK mutex_; - - /// Class that implements a free list - ACE_Free_List > *free_list_; - - /// Pointer to function that returns the current time of day. - ACE_Time_Value (*gettimeofday_)(void); - - /// Upcall functor - FUNCTOR *upcall_functor_; - - /// To delete or not to delete is the question? - bool const delete_upcall_functor_; - - /// Flag to delete only if the class created the - bool const delete_free_list_; - -private: - - /// Returned by . - ACE_Time_Value timeout_; - - /// Adjusts for timer skew in various clocks. - ACE_Time_Value timer_skew_; - - // = Don't allow these operations for now. - ACE_UNIMPLEMENTED_FUNC (ACE_Timer_Queue_T (const ACE_Timer_Queue_T &)) - ACE_UNIMPLEMENTED_FUNC (void operator= (const ACE_Timer_Queue_T &)) -}; - -/** - * @class ACE_Event_Handler_Handle_Timeout_Upcall - * - * @brief Functor for Timer_Queues. - * - * This class implements the functor required by the Timer - * Queue to call on ACE_Event_Handlers. - */ -template -class ACE_Event_Handler_Handle_Timeout_Upcall -{ -public: - typedef ACE_Timer_Queue_T, - ACE_LOCK> - TIMER_QUEUE; - - // = Initialization and termination methods. - /// Constructor. - ACE_Event_Handler_Handle_Timeout_Upcall (void); - - /// Destructor. - ~ACE_Event_Handler_Handle_Timeout_Upcall (void); - - /// This method is called when a timer is registered. - int registration (TIMER_QUEUE &timer_queue, - ACE_Event_Handler *handler, - const void *arg); - - /// This method is called before the timer expires. - int preinvoke (TIMER_QUEUE &timer_queue, - ACE_Event_Handler *handler, - const void *arg, - int recurring_timer, - const ACE_Time_Value &cur_time, - const void *&upcall_act); - - /// This method is called when the timer expires. - int timeout (TIMER_QUEUE &timer_queue, - ACE_Event_Handler *handler, - const void *arg, - int recurring_timer, - const ACE_Time_Value &cur_time); - - /// This method is called after the timer expires. - int postinvoke (TIMER_QUEUE &timer_queue, - ACE_Event_Handler *handler, - const void *arg, - int recurring_timer, - const ACE_Time_Value &cur_time, - const void *upcall_act); - - /// This method is called when a handler is cancelled - int cancel_type (TIMER_QUEUE &timer_queue, - ACE_Event_Handler *handler, - int dont_call, - int &requires_reference_counting); - - /// This method is called when a timer is cancelled - int cancel_timer (TIMER_QUEUE &timer_queue, - ACE_Event_Handler *handler, - int dont_call, - int requires_reference_counting); - - /// This method is called when the timer queue is destroyed and - /// the timer is still contained in it - int deletion (TIMER_QUEUE &timer_queue, - ACE_Event_Handler *handler, - const void *arg); - -private: - - /// Flag indicating that reference counting is required for this - /// event handler upcall. - int requires_reference_counting_; - - // = Don't allow these operations for now. - ACE_UNIMPLEMENTED_FUNC (ACE_Event_Handler_Handle_Timeout_Upcall (const ACE_Event_Handler_Handle_Timeout_Upcall &)) - ACE_UNIMPLEMENTED_FUNC (void operator= (const ACE_Event_Handler_Handle_Timeout_Upcall &)) -}; - -ACE_END_VERSIONED_NAMESPACE_DECL - -#if defined (__ACE_INLINE__) -#include "ace/Timer_Queue_T.inl" -#endif /* __ACE_INLINE__ */ - -#if defined (ACE_TEMPLATES_REQUIRE_SOURCE) -#include "ace/Timer_Queue_T.cpp" -#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */ - -#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) -#pragma implementation ("Timer_Queue_T.cpp") -#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ - -#include /**/ "ace/post.h" -#endif /* ACE_TIMER_QUEUE_T_H */ diff --git a/dep/ACE_wrappers/ace/Timer_Queue_T.inl b/dep/ACE_wrappers/ace/Timer_Queue_T.inl deleted file mode 100644 index 7606a2e1f..000000000 --- a/dep/ACE_wrappers/ace/Timer_Queue_T.inl +++ /dev/null @@ -1,222 +0,0 @@ -// -*- C++ -*- -// -// $Id: Timer_Queue_T.inl 80826 2008-03-04 14:51:23Z wotte $ - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -template ACE_INLINE void -ACE_Timer_Node_T::set (const TYPE &type, - const void *a, - const ACE_Time_Value &t, - const ACE_Time_Value &i, - ACE_Timer_Node_T *n, - long timer_id) -{ - this->type_ = type; - this->act_ = a; - this->timer_value_ = t; - this->interval_ = i; - this->next_ = n; - this->timer_id_ = timer_id; -} - -template ACE_INLINE void -ACE_Timer_Node_T::set (const TYPE &type, - const void *a, - const ACE_Time_Value &t, - const ACE_Time_Value &i, - ACE_Timer_Node_T *p, - ACE_Timer_Node_T *n, - long timer_id) -{ - this->type_ = type; - this->act_ = a; - this->timer_value_ = t; - this->interval_ = i; - this->prev_ = p; - this->next_ = n; - this->timer_id_ = timer_id; -} - -template ACE_INLINE TYPE & -ACE_Timer_Node_T::get_type (void) -{ - return this->type_; -} - -template ACE_INLINE void -ACE_Timer_Node_T::set_type (TYPE &type) -{ - this->type_ = type; -} - -template ACE_INLINE const void * -ACE_Timer_Node_T::get_act (void) -{ - return this->act_; -} - -template ACE_INLINE void -ACE_Timer_Node_T::set_act (void *act) -{ - this->act_ = act; -} - -template ACE_INLINE const ACE_Time_Value & -ACE_Timer_Node_T::get_timer_value (void) const -{ - return this->timer_value_; -} - -template ACE_INLINE void -ACE_Timer_Node_T::set_timer_value (const ACE_Time_Value &timer_value) -{ - this->timer_value_ = timer_value; -} - -template ACE_INLINE const ACE_Time_Value & -ACE_Timer_Node_T::get_interval (void) const -{ - return this->interval_; -} - -template ACE_INLINE void -ACE_Timer_Node_T::set_interval (const ACE_Time_Value &interval) -{ - this->interval_ = interval; -} - -template ACE_INLINE ACE_Timer_Node_T * -ACE_Timer_Node_T::get_prev (void) -{ - return this->prev_; -} - -template ACE_INLINE void -ACE_Timer_Node_T::set_prev (ACE_Timer_Node_T *prev) -{ - this->prev_ = prev; -} - -template ACE_INLINE ACE_Timer_Node_T * -ACE_Timer_Node_T::get_next (void) -{ - return this->next_; -} - -template ACE_INLINE void -ACE_Timer_Node_T::set_next (ACE_Timer_Node_T *next) -{ - this->next_ = next; -} - -template ACE_INLINE long -ACE_Timer_Node_T::get_timer_id (void) const -{ - return this->timer_id_; -} - -template ACE_INLINE void -ACE_Timer_Node_T::set_timer_id (long timer_id) -{ - this->timer_id_ = timer_id; -} - -template ACE_INLINE void -ACE_Timer_Node_T::get_dispatch_info (ACE_Timer_Node_Dispatch_Info_T &info) -{ - // Yes, do a copy - info.type_ = this->type_; - info.act_ = this->act_; - info.recurring_timer_ = - this->interval_ > ACE_Time_Value::zero; -} - -template ACE_INLINE void -ACE_Timer_Queue_T::timer_skew (const ACE_Time_Value &skew) -{ - timer_skew_ = skew; -} - -template ACE_INLINE const ACE_Time_Value & -ACE_Timer_Queue_T::timer_skew (void) const -{ - return timer_skew_; -} - -template ACE_INLINE int -ACE_Timer_Queue_T::expire (void) -{ - if (!this->is_empty ()) - return this->expire (this->gettimeofday () + timer_skew_); - else - return 0; -} - -template int -ACE_Timer_Queue_T::dispatch_info (const ACE_Time_Value &cur_time, - ACE_Timer_Node_Dispatch_Info_T &info) -{ - ACE_TRACE ("ACE_Timer_Queue_T::dispatch_info"); - ACE_MT (ACE_GUARD_RETURN (ACE_LOCK, ace_mon, this->mutex_, 0)); - - return this->dispatch_info_i (cur_time, info); -} - -template ACE_INLINE void -ACE_Timer_Queue_T::upcall (ACE_Timer_Node_Dispatch_Info_T &info, - const ACE_Time_Value &cur_time) -{ - this->upcall_functor ().timeout (*this, - info.type_, - info.act_, - info.recurring_timer_, - cur_time); -} - -template ACE_INLINE void -ACE_Timer_Queue_T::preinvoke (ACE_Timer_Node_Dispatch_Info_T &info, - const ACE_Time_Value &cur_time, - const void *&upcall_act) -{ - this->upcall_functor ().preinvoke (*this, - info.type_, - info.act_, - info.recurring_timer_, - cur_time, - upcall_act); -} - -template ACE_INLINE void -ACE_Timer_Queue_T::postinvoke (ACE_Timer_Node_Dispatch_Info_T &info, - const ACE_Time_Value &cur_time, - const void *upcall_act) -{ - this->upcall_functor ().postinvoke (*this, - info.type_, - info.act_, - info.recurring_timer_, - cur_time, - upcall_act); -} - -template ACE_INLINE ACE_Time_Value -ACE_Timer_Queue_T::gettimeofday (void) -{ - // Invoke gettimeofday via pointer to function. - return this->gettimeofday_ (); -} - -template ACE_INLINE void -ACE_Timer_Queue_T::gettimeofday (ACE_Time_Value (*gettimeofday)(void)) -{ - this->gettimeofday_ = gettimeofday; -} - -template ACE_INLINE FUNCTOR & -ACE_Timer_Queue_T::upcall_functor (void) -{ - return *this->upcall_functor_; -} - -ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/ACE_wrappers/ace/TkReactor/ACE_TkReactor.pc.in b/dep/ACE_wrappers/ace/TkReactor/ACE_TkReactor.pc.in deleted file mode 100644 index e53797e60..000000000 --- a/dep/ACE_wrappers/ace/TkReactor/ACE_TkReactor.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: ACE_TkReactor -Description: ACE TkReactor Library -Requires: ACE -Version: @VERSION@ -Libs: -L${libdir} -lACE_TkReactor -Cflags: -I${includedir} diff --git a/dep/ACE_wrappers/ace/TkReactor/GNUmakefile b/dep/ACE_wrappers/ace/TkReactor/GNUmakefile deleted file mode 100644 index 856f2e35d..000000000 --- a/dep/ACE_wrappers/ace/TkReactor/GNUmakefile +++ /dev/null @@ -1,35 +0,0 @@ -# -*- makefile -*- -#---------------------------------------------------------------------------- -# GNU ACE Workspace -# -# $Id: GNUACEWorkspaceCreator.pm 91813 2010-09-17 07:52:52Z johnnyw $ -# -# This file was generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -# MPC Command: -# /tmp/DOC_ROOT/stage-1367/ACE_wrappers/bin/mwc.pl -type gnuace -exclude "TAO/TAO_*.mwc,TAO/CIAO/CIAO_*.mwc" -recurse -hierarchy -relative ACE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers -relative TAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO -relative CIAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/CIAO -relative DANCE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/DAnCE -# -#---------------------------------------------------------------------------- - -MAKEFILE = GNUmakefile - -ifeq ($(findstring k,$(MAKEFLAGS)),k) - KEEP_GOING = - -endif - -include $(ACE_ROOT)/include/makeinclude/macros.GNU - -all: ACE_TkReactor - -REMAINING_TARGETS := $(filter-out all,$(TARGETS_NESTED:.nested=)) $(CUSTOM_TARGETS) - -$(REMAINING_TARGETS): - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.ACE_TkReactor $(@) - -.PHONY: ACE_TkReactor -ACE_TkReactor: - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.ACE_TkReactor all - -project_name_list: - @echo ACE_TkReactor diff --git a/dep/ACE_wrappers/ace/TkReactor/GNUmakefile.ACE_TkReactor b/dep/ACE_wrappers/ace/TkReactor/GNUmakefile.ACE_TkReactor deleted file mode 100644 index 7fa56a55d..000000000 --- a/dep/ACE_wrappers/ace/TkReactor/GNUmakefile.ACE_TkReactor +++ /dev/null @@ -1,250 +0,0 @@ -# -*- Makefile -*- -#---------------------------------------------------------------------------- -# GNU Makefile -# -# @file GNUmakefile.ACE_TkReactor -# -# $Id: gnu.mpd 91974 2010-09-23 16:17:42Z mitza $ -# -# This file was automatically generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -#---------------------------------------------------------------------------- -MAKEFILE = GNUmakefile.ACE_TkReactor -DEPENDENCY_FILE = .depend.ACE_TkReactor - -LIB_PREFIX ?= lib - -## LIB_CHECKED may be set to empty later on in this file -LIB_UNCHECKED = $(LIB_PREFIX)ACE_TkReactor.$(LIBEXT) -LIB_CHECKED = $(LIB_UNCHECKED) -LIB_NAME = $(LIB_PREFIX)ACE_TkReactor - -## SHLIB may be set to empty later on in this file -SHLIB_UNCHECKED = $(LIB_PREFIX)ACE_TkReactor.$(SOEXT) -SHLIB = $(SHLIB_UNCHECKED) - -FILES = \ - TkReactor.cpp - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- -ACE_SHLIBS = -lACE - -PRJ_TYPE = library - -COLLAPSE_SLASHES = $(if $(findstring //,$(1)),$(call COLLAPSE_SLASHES,$(subst //,/,$(1))),$(1)) -INSLIB ?= $(call COLLAPSE_SLASHES,../../lib) -ifeq ($(INSLIB),.) - ifeq ($(CURDIR),) - ifeq ($(PWD),) - PWD=$(shell pwd) - endif - else - PWD=$(CURDIR) - endif - INSLIB = $(PWD) -endif -OUTPUT_DIRECTORY = $(INSLIB) - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU - - -GNUACE_PROJECT_VERSION ?= $(ACE_VERSION) - -# To build multiple targets in the same directory on AIX, it works -# best to have a template directory per project. -# The compiler/linker isn't too smart about instantiating templates... -ifdef TEMPINCDIR -TEMPINCDIR := $(TEMPINCDIR)/ACE_TkReactor -all: $(TEMPINCDIR) -endif - -ifneq ($(OUTPUT_DIRECTORY),) -.PHONY: create_output_directory.local -all: create_output_directory.local -create_output_directory.local: - -@$(MKDIR) "$(OUTPUT_DIRECTORY)" $(ACE_NUL_STDERR) -endif - -# turn off libcheck if doing a dry run -ifeq ($(findstring n, $(MAKEFLAGS)),n) - LIBCHECK = 1 -else - # turn off libcheck if keep going was passed too - ifeq ($(findstring k, $(MAKEFLAGS)),k) - LIBCHECK = 1 - else - LIBCHECK ?= $(filter-out $(foreach lib,ACE,$(findstring $(lib),$(foreach libpath,. $(if $(ARCH),./$(ARCH)) ../../lib $(if $(ARCH),../../lib/$(ARCH)) /usr/lib /usr/lib64 $(INSLIB),$(wildcard $(libpath)/$(LIB_PREFIX)$(lib).* $(libpath)/$(lib).lib)))),ACE) - ifeq ($(LIBCHECK),) - LIBCHECK = 1 - endif - endif -endif -ifeq ($(tk),1) -ifneq ($(LIBCHECK), 1) - LIB_CHECKED = - SHLIB = - all: lib_warning -endif -else - LIB_CHECKED = - SHLIB = - all: require_warning -endif - -ifeq ($(tk),1) -else - LIB_CHECKED = - SHLIB = - all: require_warning -endif -LSRC = $(FILES) - -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -ifeq ($(VXWORKSLINK),1) -include $(TGT_DIR)/h/make/rules.$(PRJ_TYPE) -endif - -ifeq ($(VXWORKSLINK),1) -LDLIBPATH = -L. -L../../lib -else -LDFLAGS += -L. $(if $(ARCH),-L./$(ARCH)) -L../../lib $(if $(ARCH),-L../../lib/$(ARCH)) -endif -CPPFLAGS += -I../.. -ifeq ($(shared_libs),1) - ifneq ($(SHLIB),) - CPPFLAGS += -DACE_TKREACTOR_BUILD_DLL - endif -endif -ifeq ($(static_libs),1) - CPPFLAGS += -DACE_AS_STATIC_LIBS -endif - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- -CPPFLAGS += $(PLATFORM_TCL_CPPFLAGS) $(PLATFORM_TK_CPPFLAGS) -LIBS += $(PLATFORM_TCL_LIBS) $(PLATFORM_TK_LIBS) -LDFLAGS += $(PLATFORM_TCL_LDFLAGS) $(PLATFORM_TK_LDFLAGS) - -lib_warning: - @echo ACE_TkReactor will not be built due to the following missing library: $(LIBCHECK) >&2 - -ifneq ($(tk),1) -requires_disabled_macros += tk -endif -require_warning: - @echo ACE_TkReactor will not be built due to the following disabled make macros: $(requires_disabled_macros)>&2 - -## Some OS's have /bin/test others only have /usr/bin/test -ifeq ($(wildcard /bin/test), /bin/test) - TEST_EXE = /bin/test -else -ifeq ($(wildcard /usr/bin/test), /usr/bin/test) - TEST_EXE = /usr/bin/test -endif -endif - -SPACE = $(should_be_unset) $(should_be_unset) -ifneq ($(GENERATED_DIRTY),) -.PRECIOUS: $(GENERATED_DIRTY) -## If the generated files are anything but source files, we need to -## ensure that those files are generated before we attempt to build anything -## else. -ifeq ($(OBJS_DEPEND_ON_GENERATED),1) -$(VDIR)$(ACE_PCH_FILE) $(addprefix $(VDIR), $(OBJS)): $(GENERATED_DIRTY) -$(VSHDIR)$(ACE_PCH_FILE) $(VSHOBJS): $(GENERATED_DIRTY) -endif -endif - - -realclean: clean -ifneq ($(GENERATED_DIRTY),) - -$(RM) -r $(GENERATED_DIRTY) -endif - -__prebuild__: -ifeq ($(tk),1) - @-: -endif - - -.PHONY: install -install: all -INSTALL_LIB ?= lib -ifneq ($(INSTALL_PREFIX),) -ifneq ($(install_rpath),0) -LDFLAGS += -Wl,-R$(INSTALL_PREFIX)/$(INSTALL_LIB) -endif -endif - -PRJINST_OPTIONS ?= -INST_DIR ?= /ace/TkReactor -COMMA = , -SPACE = $(should_be_unset) $(should_be_unset) -INSTALLER ?= $(MPC_ROOT)/prj_install.pl -CUSTOM_INST_TAGS = $(sort ) - -LIB_INST_TAGS = header_files template_files$(if $(findstring 1,$(inline)), inline_files)$(if $(CUSTOM_INST_TAGS), $(CUSTOM_INST_TAGS)) -LIB_INST_LOCATIONS = $(foreach tag,$(LIB_INST_TAGS),-b $(tag)=include$(INST_DIR)) - -INST_TAGS = lib_output$(if $(LIB_INST_TAGS), $(LIB_INST_TAGS)) -INST_LOCATIONS = $(LIB_INST_LOCATIONS) -o lib_output=$(INSTALL_LIB) - -DATA_INST_TAGS = -INST_LOCATIONS += $(if $(DATA_INST_TAGS),-x installdata_files -b installdata_files=share$(INST_DIR)) -INST_TAGS := $(INST_TAGS)$(if $(DATA_INST_TAGS), $(DATA_INST_TAGS)) - -ifeq ($(INSTALLER),/prj_install.pl) -INSTALLER = $(ACE_ROOT)/MPC/prj_install.pl -endif - -ifeq ($(LIBCHECK),1) -ifeq ($(tk),1) -install: -ifeq ($(INST_TAGS),) - @echo Nothing to install. -else -ifeq ($(INSTALL_PREFIX),) - @echo The variable INSTALL_PREFIX must be set to install. - @echo If binaries are already built and you want to use RPATH, - @echo they must be rebuilt after changing INSTALL_PREFIX. - @false -else - perl -ne'if (/^#END MPC-Generated Install Info/) {exit 0}' \ - -e'elsif (/^#BEGIN MPC-Generated Install Info/) {$$ok=1}' \ - -e'elsif ($$ok && s/^#//) {print}' $(MAKEFILE) | \ - $(INSTALLER) -i -s $(subst $(SPACE),$(COMMA),$(INST_TAGS)) \ - $(INST_LOCATIONS) $(if $(ARCH),-d $(ARCH)) $(PRJINST_OPTIONS) \ - $(INSTALL_PREFIX) - $(ACE_ROOT)/bin/ace_install_pkgconfig.pl ACE_TkReactor.pc.in --prefix $(INSTALL_PREFIX) --libdir $(INSTALL_LIB) --libs "$(LIBS)" --version $(GNUACE_PROJECT_VERSION) -endif -endif -endif -endif - -#BEGIN MPC-Generated Install Info -#build_files: -#ace_tkreactor.mpc -# -#header_files: -#TkReactor.h -#ACE_TkReactor_export.h -# -#pkgconfig_files: -#ACE_TkReactor.pc.in -# -#source_files: -#TkReactor.cpp -# -#lib_output: -#../../lib ACE_TkReactor - -#END MPC-Generated Install Info - diff --git a/dep/ACE_wrappers/ace/TkReactor/ace_tkreactor.mpc b/dep/ACE_wrappers/ace/TkReactor/ace_tkreactor.mpc deleted file mode 100644 index 1ce53ca31..000000000 --- a/dep/ACE_wrappers/ace/TkReactor/ace_tkreactor.mpc +++ /dev/null @@ -1,11 +0,0 @@ -// -*- MPC -*- now wouldn't this be cool... -// $Id: ace_tkreactor.mpc 91839 2010-09-17 20:16:53Z mitza $ - -project(ACE_TkReactor) : acedefaults, install, acelib, ace_output, ace_tk { - sharedname = ACE_TkReactor - dynamicflags += ACE_TKREACTOR_BUILD_DLL - - specific { - install_dir = ace/TkReactor - } -} diff --git a/dep/ACE_wrappers/ace/Version.h b/dep/ACE_wrappers/ace/Version.h deleted file mode 100644 index 835fc849f..000000000 --- a/dep/ACE_wrappers/ace/Version.h +++ /dev/null @@ -1,9 +0,0 @@ - -// -*- C++ -*- -// $Id: Version.h 92364 2010-10-27 10:02:39Z johnnyw $ -// This is file was automatically generated by \$ACE_ROOT/bin/make_release.py - -#define ACE_MAJOR_VERSION 5 -#define ACE_MINOR_VERSION 8 -#define ACE_BETA_VERSION 3 -#define ACE_VERSION "5.8.3" diff --git a/dep/ACE_wrappers/ace/XtReactor/ACE_XtReactor.pc.in b/dep/ACE_wrappers/ace/XtReactor/ACE_XtReactor.pc.in deleted file mode 100644 index 118c61c56..000000000 --- a/dep/ACE_wrappers/ace/XtReactor/ACE_XtReactor.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: ACE_XtReactor -Description: ACE XtReactor Library -Requires: ACE -Version: @VERSION@ -Libs: -L${libdir} -lACE_XtReactor -Cflags: -I${includedir} diff --git a/dep/ACE_wrappers/ace/XtReactor/GNUmakefile b/dep/ACE_wrappers/ace/XtReactor/GNUmakefile deleted file mode 100644 index 6705e5c76..000000000 --- a/dep/ACE_wrappers/ace/XtReactor/GNUmakefile +++ /dev/null @@ -1,35 +0,0 @@ -# -*- makefile -*- -#---------------------------------------------------------------------------- -# GNU ACE Workspace -# -# $Id: GNUACEWorkspaceCreator.pm 91813 2010-09-17 07:52:52Z johnnyw $ -# -# This file was generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -# MPC Command: -# /tmp/DOC_ROOT/stage-1367/ACE_wrappers/bin/mwc.pl -type gnuace -exclude "TAO/TAO_*.mwc,TAO/CIAO/CIAO_*.mwc" -recurse -hierarchy -relative ACE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers -relative TAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO -relative CIAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/CIAO -relative DANCE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/DAnCE -# -#---------------------------------------------------------------------------- - -MAKEFILE = GNUmakefile - -ifeq ($(findstring k,$(MAKEFLAGS)),k) - KEEP_GOING = - -endif - -include $(ACE_ROOT)/include/makeinclude/macros.GNU - -all: ACE_XtReactor - -REMAINING_TARGETS := $(filter-out all,$(TARGETS_NESTED:.nested=)) $(CUSTOM_TARGETS) - -$(REMAINING_TARGETS): - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.ACE_XtReactor $(@) - -.PHONY: ACE_XtReactor -ACE_XtReactor: - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.ACE_XtReactor all - -project_name_list: - @echo ACE_XtReactor diff --git a/dep/ACE_wrappers/ace/XtReactor/GNUmakefile.ACE_XtReactor b/dep/ACE_wrappers/ace/XtReactor/GNUmakefile.ACE_XtReactor deleted file mode 100644 index c205d9bdc..000000000 --- a/dep/ACE_wrappers/ace/XtReactor/GNUmakefile.ACE_XtReactor +++ /dev/null @@ -1,269 +0,0 @@ -# -*- Makefile -*- -#---------------------------------------------------------------------------- -# GNU Makefile -# -# @file GNUmakefile.ACE_XtReactor -# -# $Id: gnu.mpd 91974 2010-09-23 16:17:42Z mitza $ -# -# This file was automatically generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -#---------------------------------------------------------------------------- -MAKEFILE = GNUmakefile.ACE_XtReactor -DEPENDENCY_FILE = .depend.ACE_XtReactor - -LIB_PREFIX ?= lib - -## LIB_CHECKED may be set to empty later on in this file -LIB_UNCHECKED = $(LIB_PREFIX)ACE_XtReactor.$(LIBEXT) -LIB_CHECKED = $(LIB_UNCHECKED) -LIB_NAME = $(LIB_PREFIX)ACE_XtReactor - -## SHLIB may be set to empty later on in this file -SHLIB_UNCHECKED = $(LIB_PREFIX)ACE_XtReactor.$(SOEXT) -SHLIB = $(SHLIB_UNCHECKED) - -FILES = \ - XtReactor.cpp - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- -ACE_SHLIBS = -lACE - -PRJ_TYPE = library - -COLLAPSE_SLASHES = $(if $(findstring //,$(1)),$(call COLLAPSE_SLASHES,$(subst //,/,$(1))),$(1)) -INSLIB ?= $(call COLLAPSE_SLASHES,../../lib) -ifeq ($(INSLIB),.) - ifeq ($(CURDIR),) - ifeq ($(PWD),) - PWD=$(shell pwd) - endif - else - PWD=$(CURDIR) - endif - INSLIB = $(PWD) -endif -OUTPUT_DIRECTORY = $(INSLIB) - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU - - -GNUACE_PROJECT_VERSION ?= $(ACE_VERSION) - -# To build multiple targets in the same directory on AIX, it works -# best to have a template directory per project. -# The compiler/linker isn't too smart about instantiating templates... -ifdef TEMPINCDIR -TEMPINCDIR := $(TEMPINCDIR)/ACE_XtReactor -all: $(TEMPINCDIR) -endif - -ifneq ($(OUTPUT_DIRECTORY),) -.PHONY: create_output_directory.local -all: create_output_directory.local -create_output_directory.local: - -@$(MKDIR) "$(OUTPUT_DIRECTORY)" $(ACE_NUL_STDERR) -endif - -# turn off libcheck if doing a dry run -ifeq ($(findstring n, $(MAKEFLAGS)),n) - LIBCHECK = 1 -else - # turn off libcheck if keep going was passed too - ifeq ($(findstring k, $(MAKEFLAGS)),k) - LIBCHECK = 1 - else - LIBCHECK ?= $(filter-out $(foreach lib,ACE,$(findstring $(lib),$(foreach libpath,. $(if $(ARCH),./$(ARCH)) ../../lib $(if $(ARCH),../../lib/$(ARCH)) /usr/lib /usr/lib64 $(INSLIB),$(wildcard $(libpath)/$(LIB_PREFIX)$(lib).* $(libpath)/$(lib).lib)))),ACE) - ifeq ($(LIBCHECK),) - LIBCHECK = 1 - endif - endif -endif -ifeq ($(x11),1) -ifeq ($(xt),1) -ifneq ($(LIBCHECK), 1) - LIB_CHECKED = - SHLIB = - all: lib_warning -endif -else - LIB_CHECKED = - SHLIB = - all: require_warning -endif -else - LIB_CHECKED = - SHLIB = - all: require_warning -endif - -ifeq ($(x11),1) -ifeq ($(xt),1) -else - LIB_CHECKED = - SHLIB = - all: require_warning -endif -else - LIB_CHECKED = - SHLIB = - all: require_warning -endif -LSRC = $(FILES) - -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -ifeq ($(VXWORKSLINK),1) -include $(TGT_DIR)/h/make/rules.$(PRJ_TYPE) -endif - -ifeq ($(VXWORKSLINK),1) -LDLIBPATH = -L. -L../../lib -else -LDFLAGS += -L. $(if $(ARCH),-L./$(ARCH)) -L../../lib $(if $(ARCH),-L../../lib/$(ARCH)) -endif -CPPFLAGS += -I../.. -ifeq ($(shared_libs),1) - ifneq ($(SHLIB),) - CPPFLAGS += -DACE_XTREACTOR_BUILD_DLL - endif -endif -ifeq ($(static_libs),1) - CPPFLAGS += -DACE_AS_STATIC_LIBS -endif - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- -CPPFLAGS += $(PLATFORM_XT_CPPFLAGS) $(PLATFORM_X11_CPPFLAGS) -LIBS += $(PLATFORM_XT_LIBS) $(PLATFORM_X11_LIBS) -LDFLAGS += $(PLATFORM_XT_LDFLAGS) $(PLATFORM_X11_LDFLAGS) - -lib_warning: - @echo ACE_XtReactor will not be built due to the following missing library: $(LIBCHECK) >&2 - -ifneq ($(x11),1) -requires_disabled_macros += x11 -endif -ifneq ($(xt),1) -requires_disabled_macros += xt -endif -require_warning: - @echo ACE_XtReactor will not be built due to the following disabled make macros: $(requires_disabled_macros)>&2 - -## Some OS's have /bin/test others only have /usr/bin/test -ifeq ($(wildcard /bin/test), /bin/test) - TEST_EXE = /bin/test -else -ifeq ($(wildcard /usr/bin/test), /usr/bin/test) - TEST_EXE = /usr/bin/test -endif -endif - -SPACE = $(should_be_unset) $(should_be_unset) -ifneq ($(GENERATED_DIRTY),) -.PRECIOUS: $(GENERATED_DIRTY) -## If the generated files are anything but source files, we need to -## ensure that those files are generated before we attempt to build anything -## else. -ifeq ($(OBJS_DEPEND_ON_GENERATED),1) -$(VDIR)$(ACE_PCH_FILE) $(addprefix $(VDIR), $(OBJS)): $(GENERATED_DIRTY) -$(VSHDIR)$(ACE_PCH_FILE) $(VSHOBJS): $(GENERATED_DIRTY) -endif -endif - - -realclean: clean -ifneq ($(GENERATED_DIRTY),) - -$(RM) -r $(GENERATED_DIRTY) -endif - -__prebuild__: -ifeq ($(x11),1) -ifeq ($(xt),1) - @-: -endif -endif - - -.PHONY: install -install: all -INSTALL_LIB ?= lib -ifneq ($(INSTALL_PREFIX),) -ifneq ($(install_rpath),0) -LDFLAGS += -Wl,-R$(INSTALL_PREFIX)/$(INSTALL_LIB) -endif -endif - -PRJINST_OPTIONS ?= -INST_DIR ?= /ace/XtReactor -COMMA = , -SPACE = $(should_be_unset) $(should_be_unset) -INSTALLER ?= $(MPC_ROOT)/prj_install.pl -CUSTOM_INST_TAGS = $(sort ) - -LIB_INST_TAGS = header_files template_files$(if $(findstring 1,$(inline)), inline_files)$(if $(CUSTOM_INST_TAGS), $(CUSTOM_INST_TAGS)) -LIB_INST_LOCATIONS = $(foreach tag,$(LIB_INST_TAGS),-b $(tag)=include$(INST_DIR)) - -INST_TAGS = lib_output$(if $(LIB_INST_TAGS), $(LIB_INST_TAGS)) -INST_LOCATIONS = $(LIB_INST_LOCATIONS) -o lib_output=$(INSTALL_LIB) - -DATA_INST_TAGS = -INST_LOCATIONS += $(if $(DATA_INST_TAGS),-x installdata_files -b installdata_files=share$(INST_DIR)) -INST_TAGS := $(INST_TAGS)$(if $(DATA_INST_TAGS), $(DATA_INST_TAGS)) - -ifeq ($(INSTALLER),/prj_install.pl) -INSTALLER = $(ACE_ROOT)/MPC/prj_install.pl -endif - -ifeq ($(LIBCHECK),1) -ifeq ($(x11),1) -ifeq ($(xt),1) -install: -ifeq ($(INST_TAGS),) - @echo Nothing to install. -else -ifeq ($(INSTALL_PREFIX),) - @echo The variable INSTALL_PREFIX must be set to install. - @echo If binaries are already built and you want to use RPATH, - @echo they must be rebuilt after changing INSTALL_PREFIX. - @false -else - perl -ne'if (/^#END MPC-Generated Install Info/) {exit 0}' \ - -e'elsif (/^#BEGIN MPC-Generated Install Info/) {$$ok=1}' \ - -e'elsif ($$ok && s/^#//) {print}' $(MAKEFILE) | \ - $(INSTALLER) -i -s $(subst $(SPACE),$(COMMA),$(INST_TAGS)) \ - $(INST_LOCATIONS) $(if $(ARCH),-d $(ARCH)) $(PRJINST_OPTIONS) \ - $(INSTALL_PREFIX) - $(ACE_ROOT)/bin/ace_install_pkgconfig.pl ACE_XtReactor.pc.in --prefix $(INSTALL_PREFIX) --libdir $(INSTALL_LIB) --libs "$(LIBS)" --version $(GNUACE_PROJECT_VERSION) -endif -endif -endif -endif -endif - -#BEGIN MPC-Generated Install Info -#build_files: -#ace_xtreactor.mpc -# -#header_files: -#XtReactor.h -#ACE_XtReactor_export.h -# -#pkgconfig_files: -#ACE_XtReactor.pc.in -# -#source_files: -#XtReactor.cpp -# -#lib_output: -#../../lib ACE_XtReactor - -#END MPC-Generated Install Info - diff --git a/dep/ACE_wrappers/ace/XtReactor/ace_xtreactor.mpc b/dep/ACE_wrappers/ace/XtReactor/ace_xtreactor.mpc deleted file mode 100644 index 43d585803..000000000 --- a/dep/ACE_wrappers/ace/XtReactor/ace_xtreactor.mpc +++ /dev/null @@ -1,11 +0,0 @@ -// -*- MPC -*- now wouldn't this be cool... -// $Id: ace_xtreactor.mpc 91839 2010-09-17 20:16:53Z mitza $ - -project(ACE_XtReactor) : acedefaults, install, acelib, ace_output, ace_xt { - sharedname = ACE_XtReactor - dynamicflags += ACE_XTREACTOR_BUILD_DLL - - specific { - install_dir = ace/XtReactor - } -} diff --git a/dep/ACE_wrappers/ace/ace.mpc b/dep/ACE_wrappers/ace/ace.mpc deleted file mode 100644 index 1425d2a81..000000000 --- a/dep/ACE_wrappers/ace/ace.mpc +++ /dev/null @@ -1,505 +0,0 @@ -// -*- MPC -*- now wouldn't this be cool... -// $Id: ace.mpc 91791 2010-09-16 09:29:32Z johnnyw $ - -project(ACE) : ace_output, acedefaults, install, other, codecs, token, svcconf, uuid, filecache, versioned_namespace, pkgconfig, support_ostream { - avoids = ace_for_tao - sharedname = ACE - dynamicflags += ACE_BUILD_DLL - - Source_Files(ACE_COMPONENTS) { - ACE.cpp - ACE_crc_ccitt.cpp - ACE_crc32.cpp - ace_wchar.cpp - Activation_Queue.cpp - Active_Map_Manager.cpp - Addr.cpp - Argv_Type_Converter.cpp - Assert.cpp - Asynch_IO.cpp - Asynch_IO_Impl.cpp - Asynch_Pseudo_Task.cpp - ATM_Acceptor.cpp - ATM_Addr.cpp - ATM_Connector.cpp - ATM_Params.cpp - ATM_QoS.cpp - ATM_Stream.cpp - Atomic_Op.cpp - Atomic_Op_Sparc.c - Auto_Event.cpp - Barrier.cpp - Base_Thread_Adapter.cpp - Based_Pointer_Repository.cpp - Basic_Stats.cpp - Basic_Types.cpp - Capabilities.cpp - CDR_Base.cpp - CDR_Stream.cpp - CDR_Size.cpp - Cleanup.cpp - Codeset_IBM1047.cpp - Codeset_Registry.cpp - Codeset_Registry_db.cpp - Condition_Recursive_Thread_Mutex.cpp - Condition_Thread_Mutex.cpp - Configuration.cpp - Configuration_Import_Export.cpp - Connection_Recycling_Strategy.cpp - Containers.cpp - Copy_Disabled.cpp - Countdown_Time.cpp - Date_Time.cpp - DEV.cpp - DEV_Addr.cpp - DEV_Connector.cpp - DEV_IO.cpp - DLL_Manager.cpp - Dev_Poll_Reactor.cpp - Dirent.cpp - Dirent_Selector.cpp - Dump.cpp - Dynamic.cpp - Dynamic_Message_Strategy.cpp - Event.cpp - Event_Handler.cpp - FIFO.cpp - FIFO_Recv.cpp - FIFO_Recv_Msg.cpp - FIFO_Send.cpp - FIFO_Send_Msg.cpp - FILE.cpp - FILE_Addr.cpp - FILE_Connector.cpp - FILE_IO.cpp - File_Lock.cpp - Flag_Manip.cpp - Framework_Component.cpp - Functor.cpp - Functor_String.cpp - Get_Opt.cpp - gethrtime.cpp - Handle_Ops.cpp - Handle_Set.cpp - Hashable.cpp - High_Res_Timer.cpp - ICMP_Socket.cpp - INET_Addr.cpp - Init_ACE.cpp - IO_SAP.cpp - IO_Cntl_Msg.cpp - IOStream.cpp - IPC_SAP.cpp - Lib_Find.cpp - Local_Memory_Pool.cpp - Lock.cpp - Log_Msg.cpp - Log_Msg_Backend.cpp - Log_Msg_Callback.cpp - Log_Msg_IPC.cpp - Log_Msg_NT_Event_Log.cpp - Log_Msg_UNIX_Syslog.cpp - Log_Record.cpp - Logging_Strategy.cpp - LSOCK.cpp - LSOCK_Acceptor.cpp - LSOCK_CODgram.cpp - LSOCK_Connector.cpp - LSOCK_Dgram.cpp - LSOCK_Stream.cpp - Malloc.cpp - Malloc_Allocator.cpp - Manual_Event.cpp - MEM_Acceptor.cpp - MEM_Addr.cpp - MEM_Connector.cpp - MEM_IO.cpp - Mem_Map.cpp - MEM_SAP.cpp - MEM_Stream.cpp - Message_Block.cpp - Message_Queue.cpp - Message_Queue_NT.cpp - Message_Queue_Vx.cpp - Method_Request.cpp - MMAP_Memory_Pool.cpp - Msg_WFMO_Reactor.cpp - Monitor_Admin.cpp - Monitor_Admin_Manager.cpp - Monitor_Base.cpp - Monitor_Point_Registry.cpp - Monitor_Size.cpp - Monitor_Control_Types.cpp - Monitor_Control_Action.cpp - Multihomed_INET_Addr.cpp - Mutex.cpp - Netlink_Addr.cpp - Notification_Strategy.cpp - Notification_Queue.cpp - Obchunk.cpp - Object_Manager.cpp - Object_Manager_Base.cpp - OS_Errno.cpp - OS_Log_Msg_Attributes.cpp - OS_main.cpp - OS_NS_arpa_inet.cpp - OS_NS_ctype.cpp - OS_NS_dirent.cpp - OS_NS_dlfcn.cpp - OS_NS_errno.cpp - OS_NS_fcntl.cpp - OS_NS_math.cpp - OS_NS_netdb.cpp - OS_NS_poll.cpp - OS_NS_pwd.cpp - OS_NS_regex.cpp - OS_NS_signal.cpp - OS_NS_stdio.cpp - OS_NS_stdlib.cpp - OS_NS_string.cpp - OS_NS_strings.cpp - OS_NS_stropts.cpp - OS_NS_sys_mman.cpp - OS_NS_sys_msg.cpp - OS_NS_sys_resource.cpp - OS_NS_sys_select.cpp - OS_NS_sys_sendfile.cpp - OS_NS_sys_shm.cpp - OS_NS_sys_socket.cpp - OS_NS_sys_stat.cpp - OS_NS_sys_time.cpp - OS_NS_sys_uio.cpp - OS_NS_sys_utsname.cpp - OS_NS_sys_wait.cpp - OS_NS_Thread.cpp - OS_NS_time.cpp - OS_NS_unistd.cpp - OS_NS_wchar.cpp - OS_NS_wctype.cpp - OS_QoS.cpp - OS_Thread_Adapter.cpp - OS_TLI.cpp - Pagefile_Memory_Pool.cpp - Parse_Node.cpp - PI_Malloc.cpp - Ping_Socket.cpp - Pipe.cpp - POSIX_Asynch_IO.cpp - POSIX_CB_Proactor.cpp - POSIX_Proactor.cpp - Priority_Reactor.cpp - Proactor.cpp - Proactor_Impl.cpp - Process.cpp - Process_Manager.cpp - Process_Mutex.cpp - Process_Semaphore.cpp - Profile_Timer.cpp - Reactor.cpp - Reactor_Impl.cpp - Reactor_Notification_Strategy.cpp - Reactor_Timer_Interface.cpp - Read_Buffer.cpp - Recursive_Thread_Mutex.cpp - Recyclable.cpp - Registry.cpp - Rtems_init.c - RW_Mutex.cpp - RW_Process_Mutex.cpp - RW_Thread_Mutex.cpp - Sample_History.cpp - Sbrk_Memory_Pool.cpp - Sched_Params.cpp - Select_Reactor_Base.cpp - Semaphore.cpp - Shared_Memory.cpp - Shared_Memory_MM.cpp - Shared_Memory_Pool.cpp - Shared_Memory_SV.cpp - Sig_Adapter.cpp - Sig_Handler.cpp - Signal.cpp - SOCK.cpp - SOCK_Acceptor.cpp - SOCK_CODgram.cpp - Sock_Connect.cpp - SOCK_Connector.cpp - SOCK_Dgram.cpp - SOCK_Dgram_Bcast.cpp - SOCK_Dgram_Mcast.cpp - SOCK_IO.cpp - SOCK_Netlink.cpp - SOCK_SEQPACK_Acceptor.cpp - SOCK_SEQPACK_Association.cpp - SOCK_SEQPACK_Connector.cpp - SOCK_Stream.cpp - SPIPE.cpp - SPIPE_Acceptor.cpp - SPIPE_Addr.cpp - SPIPE_Connector.cpp - SPIPE_Stream.cpp - SString.cpp - Stack_Trace.cpp - Stats.cpp - String_Base_Const.cpp - SUN_Proactor.cpp - SV_Message.cpp - SV_Message_Queue.cpp - SV_Semaphore_Complex.cpp - SV_Semaphore_Simple.cpp - SV_Shared_Memory.cpp - Synch_Options.cpp - System_Time.cpp - Task.cpp - Thread.cpp - Thread_Adapter.cpp - Thread_Control.cpp - Thread_Exit.cpp - Thread_Hook.cpp - Thread_Manager.cpp - Thread_Mutex.cpp - Thread_Semaphore.cpp - Throughput_Stats.cpp - Time_Value.cpp - Timeprobe.cpp - TLI.cpp - TLI_Acceptor.cpp - TLI_Connector.cpp - TLI_Stream.cpp - Token.cpp - TP_Reactor.cpp - Trace.cpp - TSS_Adapter.cpp - TTY_IO.cpp - UNIX_Addr.cpp - UPIPE_Acceptor.cpp - UPIPE_Connector.cpp - UPIPE_Stream.cpp - WFMO_Reactor.cpp - WIN32_Asynch_IO.cpp - WIN32_Proactor.cpp - XTI_ATM_Mcast.cpp - } - - Template_Files { - Acceptor.cpp - Active_Map_Manager_T.cpp - ARGV.cpp - Arg_Shifter.cpp - Array_Base.cpp - Array_Map.cpp - Asynch_Acceptor.cpp - Asynch_Connector.cpp - Atomic_Op_T.cpp - Atomic_Op_GCC_T.cpp - Auto_Functor.cpp - Auto_IncDec_T.cpp - Auto_Ptr.cpp - Based_Pointer_T.cpp - Cache_Map_Manager_T.cpp - Cached_Connect_Strategy_T.cpp - Caching_Strategies_T.cpp - Caching_Utility_T.cpp - Cleanup_Strategies_T.cpp - Condition_T.cpp - Connector.cpp - Containers_T.cpp - Dump_T.cpp - Dynamic_Service.cpp - Env_Value_T.cpp - Event_Handler_T.cpp - Framework_Component_T.cpp - Free_List.cpp - Functor_T.cpp - Future.cpp - Future_Set.cpp - Guard_T.cpp - Hash_Cache_Map_Manager_T.cpp - Hash_Map_Manager_T.cpp - Hash_Multi_Map_Manager_T.cpp - Hash_Map_With_Allocator_T.cpp - IOStream_T.cpp - Intrusive_Auto_Ptr.cpp - Intrusive_List.cpp - Intrusive_List_Node.cpp - LOCK_SOCK_Acceptor.cpp - Local_Name_Space_T.cpp - Lock_Adapter_T.cpp - Malloc_T.cpp - Managed_Object.cpp - Map_Manager.cpp - Map_T.cpp - Message_Block_T.cpp - Message_Queue_T.cpp - Metrics_Cache_T.cpp - Module.cpp - Node.cpp - Obstack_T.cpp - Pair_T.cpp - RB_Tree.cpp - Reactor_Token_T.cpp - Refcountable_T.cpp - Refcounted_Auto_Ptr.cpp - Reverse_Lock_T.cpp - Select_Reactor_T.cpp - Singleton.cpp - Strategies_T.cpp - Stream.cpp - Stream_Modules.cpp - String_Base.cpp - Svc_Handler.cpp - Refcountable_T.cpp - TSS_T.cpp - Task_Ex_T.cpp - Task_T.cpp - Test_and_Set.cpp - Timeprobe_T.cpp - Timer_Hash_T.cpp - Timer_Heap_T.cpp - Timer_List_T.cpp - Timer_Queue_Adapters.cpp - Timer_Queue_T.cpp - Timer_Wheel_T.cpp - Tokenizer_T.cpp - Typed_SV_Message.cpp - Typed_SV_Message_Queue.cpp - Unbounded_Queue.cpp - Unbounded_Set.cpp - Unbounded_Set_Ex.cpp - Vector_T.cpp - } - - Inline_Files { - Bound_Ptr.inl - Condition_T.inl - Guard_T.inl - Handle_Gobbler.inl - Intrusive_Auto_Ptr.inl - Lock_Adapter_T.inl - Metrics_Cache_T.inl - Refcounted_Auto_Ptr.inl - Reverse_Lock_T.inl - TSS_T.inl - ace_wchar.inl - } - - Header_Files { - // Set recurse so that everything from os_include is pulled in - recurse = 1 - - ACE_export.h - Bound_Ptr.h - CE_Screen_Output.h - Codeset_Symbols.h - CORBA_macros.h - Codeset_Symbols.h - Condition_T.h - Default_Constants.h - Global_Macros.h - Guard_T.h - Hash_Map_Manager.h - Handle_Gobbler.h - If_Then_Else.h - IO_Cntl_Msg.h - Intrusive_Auto_Ptr.h - Lock_Adapter_T.h - Log_Priority.h - Malloc_Base.h - Metrics_Cache.h - Metrics_Cache_T.h - Memory_Pool.h - Min_Max.h - Netlink_Addr.h - Null_Barrier.h - Null_Condition.h - Null_Mutex.h - Null_Semaphore.h - Numeric_Limits.h - OS_Memory.h - OS_NS_macros.h - OS_Thread_Adapter.h - Object_Manager_Base.h - Obstack.h - Proactor_Impl.h - Reactor_Impl.h - Reactor_Timer_Interface.h - Refcounted_Auto_Ptr.h - Reverse_Lock_T.h - Select_Reactor.h - SOCK_Netlink.h - SStringfwd.h - Stack_Trace.h - Static_Object_Lock.h - Strategies.h - String_Base_Const.h - Svc_Conf.h - Svc_Conf_Param.h - Svc_Conf_Tokens.h - Svc_Conf_Token_Table.h - Synch.h - Synch_Traits.h - TSS_T.h - Timer_Hash.h - Timer_Heap.h - Timer_List.h - Timer_Queue.h - Timer_Queuefwd.h - Timer_Wheel.h - Truncate.h - UPIPE_Addr.h - Value_Ptr.h - Version.h - Versioned_Namespace.h - ace_wchar.h - checked_iterator.h - config-*.h - config.h - iosfwd.h - os_include - post.h - pre.h - streams.h - svc_export.h - } - - Documentation_Files { - README - ../VERSION - } - - Pkgconfig_Files { - ACE.pc.in - } - - InstallData_Files { - gendir = bin - ../bin/MakeProjectCreator - ../bin/DependencyGenerator - ../bin/mwc.pl - ../bin/mpc.pl - ../bin/add_rel_link.sh - ../bin/depgen.pl - } - InstallData_Files { - gendir = include - ../include/makeinclude - } - InstallData_Files { - gendir = . - ../README - ../VERSION - ../PROBLEM-REPORT-FORM - ../NEWS - ../COPYING - ../AUTHORS - ../THANKS - ../docs - } - - verbatim(gnuace, postinstall) { -" perl -i -pe's!\\$$[{(]ACE_ROOT[})]!$(INSTALL_PREFIX)/include!g unless /^\\s*include / || /^INS/' $(INSTALL_PREFIX)/share/ace/include/makeinclude/wrapper_macros.GNU" -" perl -i -pe'BEGIN {$$lib = qq($(INSTALL_PREFIX)/$(INSTALL_LIB)); $$lp = qq(-value_project libpaths+=$$lib\\n); $$cl = qq(command_line =)}' -e'if ($$. == 1 && /^$$cl (.*)/ && $$1 !~ /$$lib\\b/) {chomp; print qq($$_ $$lp); $$_ = qq()}' -e'elsif ($$. == 1 && !/^$$cl/) {print qq($$cl $$lp)}' $(INSTALL_PREFIX)/share/ace/bin/MakeProjectCreator/config/MPC.cfg" -" perl -i -ne'print unless /^\\s*ARCH\\s*[+?:]?=/' $(INSTALL_PREFIX)/share/ace/include/makeinclude/platform_macros.GNU" -" echo export ACE_ROOT=$(INSTALL_PREFIX)/share/ace> $(INSTALL_PREFIX)/share/ace/ace-devel.sh" - } -} diff --git a/dep/ACE_wrappers/ace/ace.mwc b/dep/ACE_wrappers/ace/ace.mwc deleted file mode 100644 index c14f84667..000000000 --- a/dep/ACE_wrappers/ace/ace.mwc +++ /dev/null @@ -1,6 +0,0 @@ -// -*- MPC -*- -// $Id: ace.mwc 91777 2010-09-15 09:42:34Z johnnyw $ - -workspace { -} - diff --git a/dep/ACE_wrappers/ace/ace_for_tao.mpc b/dep/ACE_wrappers/ace/ace_for_tao.mpc deleted file mode 100644 index dfba6a3ee..000000000 --- a/dep/ACE_wrappers/ace/ace_for_tao.mpc +++ /dev/null @@ -1,380 +0,0 @@ -// -*- MPC -*- -// -// $Id: ace_for_tao.mpc 92120 2010-10-01 12:00:01Z johnnyw $ - -// The ACE_FOR_TAO subset is designed primarily for use with the -// TAO CosNotification service. It is not intended to be used -// for some of other TAO features and services, such as the TAO -// Strategies library, the CosNaming service, etc. -// -// Avoid adding source files simply to get some ACE/TAO-based code to -// link. This ACE_FOR_TAO subset library must remain as small as -// possible. - -project(ACE_FOR_TAO) : acedefaults, install, svcconf, uuid, versioned_namespace, pkgconfig, ace_output { - macros += ACE_LACKS_ACE_TOKEN - requires = ace_for_tao ace_svcconf - sharedname = ACE_FOR_TAO - dynamicflags += ACE_BUILD_DLL - - Source_Files(ACE_COMPONENTS) { - ACE.cpp - Active_Map_Manager.cpp - Addr.cpp - Argv_Type_Converter.cpp - Assert.cpp - Atomic_Op.cpp - Auto_Event.cpp - Barrier.cpp // Required by orbsvcs/tests/Notify/lib - Base_Thread_Adapter.cpp - Based_Pointer_Repository.cpp - Basic_Stats.cpp // Required by ace/Stats - Basic_Types.cpp - Capabilities.cpp // Required by TAO/orbsvcs/examples/ImR/Advanced - CDR_Base.cpp - CDR_Stream.cpp - CDR_Size.cpp - Cleanup.cpp - Codeset_IBM1047.cpp - Codeset_Registry.cpp - Codeset_Registry_db.cpp - Condition_Recursive_Thread_Mutex.cpp - Condition_Thread_Mutex.cpp - Countdown_Time.cpp - Copy_Disabled.cpp - DLL_Manager.cpp - Dirent.cpp // Required by TAO_IDL - Dirent_Selector.cpp - Dump.cpp - Dynamic.cpp - Dynamic_Message_Strategy.cpp - Event.cpp - Event_Handler.cpp - FILE.cpp - FILE_Addr.cpp - Flag_Manip.cpp - Framework_Component.cpp - Functor.cpp - Functor_String.cpp - Get_Opt.cpp - Handle_Ops.cpp - Handle_Set.cpp - Hashable.cpp - High_Res_Timer.cpp // Required by orbsvcs/tests/Notify/lib - INET_Addr.cpp - Init_ACE.cpp - IO_SAP.cpp - IO_Cntl_Msg.cpp - IOStream.cpp - IPC_SAP.cpp - Lib_Find.cpp - Local_Memory_Pool.cpp - Lock.cpp - Log_Msg.cpp - Log_Msg_Backend.cpp - Log_Msg_Callback.cpp - Log_Msg_IPC.cpp - Log_Msg_NT_Event_Log.cpp - Log_Msg_UNIX_Syslog.cpp - Log_Record.cpp - Logging_Strategy.cpp - Malloc.cpp - Malloc_Allocator.cpp - Manual_Event.cpp - Mem_Map.cpp - Message_Block.cpp - Message_Queue.cpp - Message_Queue_NT.cpp - MMAP_Memory_Pool.cpp - Monitor_Admin.cpp - Monitor_Admin_Manager.cpp - Monitor_Base.cpp - Monitor_Point_Registry.cpp - Monitor_Size.cpp - Monitor_Control_Types.cpp - Monitor_Control_Action.cpp - Mutex.cpp - Notification_Strategy.cpp - Notification_Queue.cpp - Obchunk.cpp - Object_Manager.cpp - Object_Manager_Base.cpp - OS_Errno.cpp - OS_Log_Msg_Attributes.cpp - OS_main.cpp - OS_NS_arpa_inet.cpp - OS_NS_ctype.cpp - OS_NS_dirent.cpp - OS_NS_dlfcn.cpp - OS_NS_errno.cpp - OS_NS_fcntl.cpp - OS_NS_math.cpp - OS_NS_netdb.cpp - OS_NS_poll.cpp - OS_NS_pwd.cpp - OS_NS_regex.cpp - OS_NS_signal.cpp - OS_NS_stdio.cpp - OS_NS_stdlib.cpp - OS_NS_string.cpp - OS_NS_strings.cpp - OS_NS_stropts.cpp - OS_NS_sys_mman.cpp - OS_NS_sys_msg.cpp - OS_NS_sys_resource.cpp - OS_NS_sys_select.cpp - OS_NS_sys_sendfile.cpp - OS_NS_sys_shm.cpp - OS_NS_sys_socket.cpp - OS_NS_sys_stat.cpp - OS_NS_sys_time.cpp - OS_NS_sys_uio.cpp - OS_NS_sys_utsname.cpp - OS_NS_sys_wait.cpp - OS_NS_Thread.cpp - OS_NS_time.cpp - OS_NS_unistd.cpp - OS_NS_wchar.cpp - OS_NS_wctype.cpp - OS_QoS.cpp - OS_Thread_Adapter.cpp - OS_TLI.cpp - Parse_Node.cpp - Pipe.cpp - Process.cpp - Process_Manager.cpp - Reactor.cpp - Reactor_Impl.cpp - Reactor_Notification_Strategy.cpp - Reactor_Timer_Interface.cpp - Read_Buffer.cpp - Recursive_Thread_Mutex.cpp - Rtems_init.c - RW_Mutex.cpp - RW_Thread_Mutex.cpp - Sched_Params.cpp - Select_Reactor_Base.cpp - Signal.cpp - Sig_Handler.cpp - Sig_Adapter.cpp - SOCK.cpp - SOCK_Acceptor.cpp - Sock_Connect.cpp - SOCK_Connector.cpp - SOCK_Dgram.cpp - SOCK_Dgram_Mcast.cpp - SOCK_IO.cpp - SOCK_Stream.cpp - SPIPE.cpp - SPIPE_Acceptor.cpp - SPIPE_Connector.cpp - SPIPE_Addr.cpp - SPIPE_Stream.cpp - SString.cpp - Stack_Trace.cpp // Required by Log_Msg.cpp - Stats.cpp // Required by orbsvcs/tests/Notify - String_Base_Const.cpp - Synch_Options.cpp - Task.cpp - Thread.cpp - Thread_Adapter.cpp - Thread_Control.cpp - Thread_Exit.cpp - Thread_Hook.cpp - Thread_Manager.cpp - Thread_Mutex.cpp - Throughput_Stats.cpp - Time_Value.cpp - Timeprobe.cpp - Token.cpp - TP_Reactor.cpp - Trace.cpp - TSS_Adapter.cpp - - // Dev_Poll_Reactor isn't available on Windows. - conditional(!prop:windows) { - Dev_Poll_Reactor.cpp - } - - // ACE_Token implementation uses semaphores on Windows and VxWorks. - conditional(prop:windows) { - NT_Service.cpp // Required by ace_for_tao sponsors - Semaphore.cpp - Process_Mutex.cpp - WFMO_Reactor.cpp - } - } - - Template_Files { - Acceptor.cpp - Active_Map_Manager_T.cpp - Array_Base.cpp - Array_Map.cpp - Arg_Shifter.cpp - ARGV.cpp - Atomic_Op_T.cpp - Auto_Functor.cpp - Auto_IncDec_T.cpp - Auto_Ptr.cpp - Based_Pointer_T.cpp - Cache_Map_Manager_T.cpp - Cached_Connect_Strategy_T.cpp - Caching_Strategies_T.cpp - Caching_Utility_T.cpp - Cleanup_Strategies_T.cpp - Condition_T.cpp - Connector.cpp - Containers_T.cpp - Dump_T.cpp - Dynamic_Service.cpp - Env_Value_T.cpp - Event_Handler_T.cpp - Framework_Component_T.cpp - Free_List.cpp - Functor_T.cpp - Guard_T.cpp - Hash_Cache_Map_Manager_T.cpp - Hash_Map_Manager_T.cpp - Hash_Map_With_Allocator_T.cpp - IOStream_T.cpp - Intrusive_List.cpp - Intrusive_List_Node.cpp - Lock_Adapter_T.cpp - Malloc_T.cpp - Managed_Object.cpp - Map_Manager.cpp - Map_T.cpp - Message_Block_T.cpp - Message_Queue_T.cpp - Module.cpp - Node.cpp - Obstack_T.cpp - Pair_T.cpp - RB_Tree.cpp - Reactor_Token_T.cpp - Refcountable_T.cpp - Refcounted_Auto_Ptr.cpp - Reverse_Lock_T.cpp - Select_Reactor_T.cpp - Singleton.cpp - Strategies_T.cpp - Stream.cpp - Stream_Modules.cpp - String_Base.cpp - Svc_Handler.cpp - TSS_T.cpp - Task_Ex_T.cpp - Task_T.cpp - Timeprobe_T.cpp - Timer_Hash_T.cpp - Timer_Heap_T.cpp - Timer_List_T.cpp - Timer_Queue_Adapters.cpp - Timer_Queue_T.cpp - Timer_Wheel_T.cpp - Tokenizer_T.cpp - Typed_SV_Message.cpp - Typed_SV_Message_Queue.cpp - Unbounded_Queue.cpp - Unbounded_Set.cpp - Vector_T.cpp - } - - Inline_Files { - Bound_Ptr.inl - Condition_T.inl - Guard_T.inl - Handle_Gobbler.inl - Lock_Adapter_T.inl - OS_Memory.inl - Refcounted_Auto_Ptr.inl - Reverse_Lock_T.inl - TSS_T.inl - ace_wchar.inl - MMAP_Memory_Pool.inl - Mem_Map.inl - } - - Header_Files { - ACE_export.h - Based_Pointer_Repository.h - Bound_Ptr.h - CORBA_macros.h - Condition_T.h - Default_Constants.h - Exception_Macros.h - Global_Macros.h - Guard_T.h - Handle_Gobbler.h - If_Then_Else.h - IO_Cntl_Msg.h - Lock_Adapter_T.h - Log_Priority.h - Malloc_Base.h - MMAP_Memory_Pool.h - Memory_Pool.h - Mem_Map.h - Min_Max.h - Null_Barrier.h - Null_Condition.h - Null_Mutex.h - Null_Semaphore.h - Numeric_Limits.h - OS_Memory.h - OS_NS_macros.h - OS_Thread_Adapter.h - Object_Manager_Base.h - Process.h - Process_Manager.h - Reactor_Impl.h - Reactor_Timer_Interface.h - Refcounted_Auto_Ptr.h - Reverse_Lock_T.h - Select_Reactor.h - SStringfwd.h - Static_Object_Lock.h - Strategies.h - String_Base_Const.h - Svc_Conf.h - Svc_Conf_Tokens.h - Synch.h - Synch_Traits.h - TSS_T.h - Timer_Queuefwd.h - Truncate.h - Value_Ptr.h - Version.h - ace_wchar.h - checked_iterator.h - config-WinCE.h - config-all.h - config-borland-common.h - config-lite.h - config-minimal.h - config-win32-borland.h - config-win32-common.h - config-win32-msvc-7.h - config-win32-msvc.h - config-win32.h - config.h - iosfwd.h - os_include - os_include/arpa - os_include/net - os_include/netinet - os_include/sys - post.h - pre.h - streams.h - svc_export.h - } - - Documentation_Files { - README - ../VERSION - } - - Pkgconfig_Files { - ACE_FOR_TAO.pc.in - } -} diff --git a/dep/ACE_wrappers/ace/ace_message_table.bin b/dep/ACE_wrappers/ace/ace_message_table.bin deleted file mode 100644 index 6ac08e5dc..000000000 Binary files a/dep/ACE_wrappers/ace/ace_message_table.bin and /dev/null differ diff --git a/dep/ACE_wrappers/ace/ace_vc10.sln b/dep/ACE_wrappers/ace/ace_vc10.sln deleted file mode 100644 index d127b48d3..000000000 --- a/dep/ACE_wrappers/ace/ace_vc10.sln +++ /dev/null @@ -1,88 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -# $Id: VC10WorkspaceCreator.pm 1890 2010-08-24 19:48:23Z mitza $ -# -# This file was generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -# MPC Command: -# /tmp/DOC_ROOT/stage-1367/ACE_wrappers/bin/mwc.pl -type vc10 -recurse -hierarchy -relative ACE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers -relative TAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO -relative CIAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/CIAO -relative DANCE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/DAnCE -name_modifier "*_vc10" -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ACE", "ACE_vc10.vcxproj", "{47BC56ED-FECA-1BAD-6757-8A6300006755}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ACE_ETCL_Parser", "ETCL\ACE_ETCL_Parser_vc10.vcxproj", "{42B1A787-FECA-1BAD-007E-8A67757B007A}" - ProjectSection(ProjectDependencies) = postProject - {47BC56ED-FECA-1BAD-6757-8A6300006755} = {47BC56ED-FECA-1BAD-6757-8A6300006755} - {17692659-FECA-1BAD-007E-8A67757B007A} = {17692659-FECA-1BAD-007E-8A67757B007A} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ACE_ETCL", "ETCL\ACE_ETCL_vc10.vcxproj", "{17692659-FECA-1BAD-007E-8A67757B007A}" - ProjectSection(ProjectDependencies) = postProject - {47BC56ED-FECA-1BAD-6757-8A6300006755} = {47BC56ED-FECA-1BAD-6757-8A6300006755} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Monitor_Control", "Monitor_Control\Monitor_Control_vc10.vcxproj", "{7153B6F4-FECA-1BAD-D619-74620E01B14C}" - ProjectSection(ProjectDependencies) = postProject - {47BC56ED-FECA-1BAD-6757-8A6300006755} = {47BC56ED-FECA-1BAD-6757-8A6300006755} - {17692659-FECA-1BAD-007E-8A67757B007A} = {17692659-FECA-1BAD-007E-8A67757B007A} - {42B1A787-FECA-1BAD-007E-8A67757B007A} = {42B1A787-FECA-1BAD-007E-8A67757B007A} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "QoS", "QoS\QoS_vc10.vcxproj", "{6ADC56EC-FECA-1BAD-7781-8A636757A7A3}" - ProjectSection(ProjectDependencies) = postProject - {47BC56ED-FECA-1BAD-6757-8A6300006755} = {47BC56ED-FECA-1BAD-6757-8A6300006755} - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Debug|Win32.ActiveCfg = Debug|Win32 - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Debug|Win32.Build.0 = Debug|Win32 - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Debug|x64.ActiveCfg = Debug|x64 - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Debug|x64.Build.0 = Debug|x64 - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Release|Win32.ActiveCfg = Release|Win32 - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Release|Win32.Build.0 = Release|Win32 - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Release|x64.ActiveCfg = Release|x64 - {47BC56ED-FECA-1BAD-6757-8A6300006755}.Release|x64.Build.0 = Release|x64 - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Debug|Win32.ActiveCfg = Debug|Win32 - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Debug|Win32.Build.0 = Debug|Win32 - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Debug|x64.ActiveCfg = Debug|x64 - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Debug|x64.Build.0 = Debug|x64 - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Release|Win32.ActiveCfg = Release|Win32 - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Release|Win32.Build.0 = Release|Win32 - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Release|x64.ActiveCfg = Release|x64 - {42B1A787-FECA-1BAD-007E-8A67757B007A}.Release|x64.Build.0 = Release|x64 - {17692659-FECA-1BAD-007E-8A67757B007A}.Debug|Win32.ActiveCfg = Debug|Win32 - {17692659-FECA-1BAD-007E-8A67757B007A}.Debug|Win32.Build.0 = Debug|Win32 - {17692659-FECA-1BAD-007E-8A67757B007A}.Debug|x64.ActiveCfg = Debug|x64 - {17692659-FECA-1BAD-007E-8A67757B007A}.Debug|x64.Build.0 = Debug|x64 - {17692659-FECA-1BAD-007E-8A67757B007A}.Release|Win32.ActiveCfg = Release|Win32 - {17692659-FECA-1BAD-007E-8A67757B007A}.Release|Win32.Build.0 = Release|Win32 - {17692659-FECA-1BAD-007E-8A67757B007A}.Release|x64.ActiveCfg = Release|x64 - {17692659-FECA-1BAD-007E-8A67757B007A}.Release|x64.Build.0 = Release|x64 - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Debug|Win32.ActiveCfg = Debug|Win32 - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Debug|Win32.Build.0 = Debug|Win32 - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Debug|x64.ActiveCfg = Debug|x64 - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Debug|x64.Build.0 = Debug|x64 - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Release|Win32.ActiveCfg = Release|Win32 - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Release|Win32.Build.0 = Release|Win32 - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Release|x64.ActiveCfg = Release|x64 - {7153B6F4-FECA-1BAD-D619-74620E01B14C}.Release|x64.Build.0 = Release|x64 - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Debug|Win32.ActiveCfg = Debug|Win32 - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Debug|Win32.Build.0 = Debug|Win32 - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Debug|x64.ActiveCfg = Debug|x64 - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Debug|x64.Build.0 = Debug|x64 - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Release|Win32.ActiveCfg = Release|Win32 - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Release|Win32.Build.0 = Release|Win32 - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Release|x64.ActiveCfg = Release|x64 - {6ADC56EC-FECA-1BAD-7781-8A636757A7A3}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/dep/ACE_wrappers/ace/codecs.mpb b/dep/ACE_wrappers/ace/codecs.mpb deleted file mode 100644 index 03ecfef76..000000000 --- a/dep/ACE_wrappers/ace/codecs.mpb +++ /dev/null @@ -1,8 +0,0 @@ -// -*- MPC -*- -// $Id: codecs.mpb 80826 2008-03-04 14:51:23Z wotte $ - -feature(ace_codecs) { - Source_Files(ACE_COMPONENTS) { - Codecs.cpp - } -} diff --git a/dep/ACE_wrappers/ace/config-doxygen.h b/dep/ACE_wrappers/ace/config-doxygen.h deleted file mode 100644 index 5664338e3..000000000 --- a/dep/ACE_wrappers/ace/config-doxygen.h +++ /dev/null @@ -1,119 +0,0 @@ -// -*- C++ -*- - -/** - * This is a configuration file to define all the macros that Doxygen - * needs - * - * @file config-doxygen.h - * - * $Id: config-doxygen.h 91685 2010-09-09 09:35:14Z johnnyw $ - * - * @author Carlos O'Ryan - * @author Darrell Brunsch - * - */ -#ifndef ACE_CONFIG_DOXYGEN_H -#define ACE_CONFIG_DOXYGEN_H - -/// Make sure that we always turn inlining on. -#define __ACE_INLINE__ - -/// Make the wchar_t interfaces available. -#define ACE_HAS_WCHAR - -/// Make all the emulation versions of string operations visible -// #define ACE_LACKS_WCSTOK -#define ACE_LACKS_ITOW -#define ACE_LACKS_STRCASECMP -#define ACE_LACKS_STRRCHR -#define ACE_LACKS_WCSCAT -#define ACE_LACKS_WCSCHR -#define ACE_LACKS_WCSCMP -#define ACE_LACKS_WCSCPY -#define ACE_LACKS_WCSICMP -#define ACE_LACKS_WCSLEN -#define ACE_LACKS_WCSNCAT -#define ACE_LACKS_WCSNCMP -#define ACE_LACKS_WCSNCPY -#define ACE_LACKS_WCSNICMP -#define ACE_LACKS_WCSPBRK -#define ACE_LACKS_WCSRCHR -#define ACE_LACKS_WCSCSPN -#define ACE_LACKS_WCSSPN -#define ACE_LACKS_WCSSTR - -/// Support for threads enables several important classes -#define ACE_HAS_THREADS - -/// Support for Win32 enables the WFMO_Reactor and several Async I/O -/// classes -#define ACE_WIN32 - -/// Enable support for POSIX Asynchronous I/O calls -#define ACE_HAS_AIO_CALLS - -/// Enable support for TLI interfaces -#define ACE_HAS_TLI - -/// Enable support for the SSL wrappers -#define ACE_HAS_SSL 1 - -/// Enable timeprobes -#define ACE_COMPILE_TIMEPROBES - -/// Enable unicode to generate ACE_Registry_Name_Space -#define UNICODE - -/// These defines make sure that Svc_Conf_y.cpp and Svc_Conf_l.cpp are correctly -/// parsed -#define __cplusplus -#define ACE_YY_USE_PROTOS - -/// TAO features that should be documented too -#define TAO_HAS_RT_CORBA 1 -#define TAO_HAS_MINIMUM_CORBA 0 -#define TAO_HAS_AMI 1 -#define TAO_HAS_INTERCEPTORS 1 -#define TAO_HAS_SCIOP 1 -#define TAO_HAS_COIOP 1 -#define TAO_HAS_TRANSPORT_CURRENT 1 - -/// Generate token library documentation -#define ACE_HAS_TOKENS_LIBRARY - -/// Generate ACE ATM classes documentation -#define ACE_HAS_ATM - -/// Generate ACE XTI ATM class documentation -#define ACE_HAS_XTI_ATM - -/// Generate ACE_Dev_Poll_Reactor documentation -#define ACE_HAS_DEV_POLL - -/// Generate ACE_Log_Msg_NT_Event_Log documentation -#define ACE_HAS_LOG_MSG_NT_EVENT_LOG - -/// Generate icmp documentation -#define ACE_HAS_ICMP_SUPPORT 1 - -/// Parse some ACE_SSL classes that depend on recent versions of -/// OpenSSL. -#define OPENSSL_VERSION_NUMBER 0x00905820L - -/// Enable IPv6 -#define ACE_HAS_IPV6 - -/// Enable netlink socket support -#define ACE_HAS_NETLINK - -#define ACE_HAS_IP_MULTICAST - -#define ACE_INLINE -#define ACE_BEGIN_VERSIONED_NAMESPACE_DECL -#define ACE_END_VERSIONED_NAMESPACE_DECL -#define TAO_BEGIN_VERSIONED_NAMESPACE_DECL -#define TAO_END_VERSIONED_NAMESPACE_DECL - -#define ACE_HAS_POSITION_INDEPENDENT_POINTERS 1 - -#endif /* ACE_CONFIG_DOXYGEN_H */ diff --git a/dep/ACE_wrappers/ace/config-ghs-common.h b/dep/ACE_wrappers/ace/config-ghs-common.h deleted file mode 100644 index ffa554c04..000000000 --- a/dep/ACE_wrappers/ace/config-ghs-common.h +++ /dev/null @@ -1,43 +0,0 @@ -/* -*- C++ -*- */ -// $Id: config-ghs-common.h 80826 2008-03-04 14:51:23Z wotte $ - -// This configuration file is designed to be included by another, -// specific configuration file. It provides config information common -// to all Green Hills platforms. - -#ifndef ACE_GHS_COMMON_H -#define ACE_GHS_COMMON_H -#include /**/ "ace/pre.h" - -#if !defined (ACE_CONFIG_INCLUDE_GHS_COMMON) -# error ace/config-ghs-common.h: ACE configuration error! Do not #include this file directly! -#endif - -#if defined (ghs) - -# if defined (sun) - // Need nonstatic Object_Manager on Solaris to prevent seg fault - // on startup. -# define ACE_HAS_NONSTATIC_OBJECT_MANAGER -# endif /* sun */ - -# if defined (__STANDARD_CXX) - // Green Hills 1.8.9, but not 1.8.8. -# define ACE_HAS_STANDARD_CPP_LIBRARY 1 -# define ACE_LACKS_AUTO_PTR -# define ACE_LACKS_CHAR_RIGHT_SHIFTS -# define ACE_LACKS_UNBUFFERED_STREAMBUF -# else -# define ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA -# endif /* __STANDARD_CXX */ - -# define ACE_LACKS_LINEBUFFERED_STREAMBUF -# define ACE_LACKS_LONGLONG_T -# define ACE_LACKS_SIGNED_CHAR - -#else /* ! ghs */ -# error ace/config-ghs-common.h can only be used with Green Hills compilers! -#endif /* ! ghs */ - -#include /**/ "ace/post.h" -#endif /* ACE_GHS_COMMON_H */ diff --git a/dep/ACE_wrappers/ace/config-linux.h b/dep/ACE_wrappers/ace/config-linux.h deleted file mode 100644 index 8b79c13a4..000000000 --- a/dep/ACE_wrappers/ace/config-linux.h +++ /dev/null @@ -1,75 +0,0 @@ -// -*- C++ -*- -// -// $Id: config-linux.h 80826 2008-03-04 14:51:23Z wotte $ - -// The following configuration file is designed to work for Linux -// platforms using GNU C++. - -#ifndef ACE_CONFIG_LINUX_H -#define ACE_CONFIG_LINUX_H -#include /**/ "ace/pre.h" - -#define ACE_PLATFORM_CONFIG config-linux.h - -#include "ace/config-linux-common.h" - -#define ACE_HAS_SVR4_DYNAMIC_LINKING -#define ACE_HAS_AUTOMATIC_INIT_FINI -#define ACE_HAS_DLSYM_SEGFAULT_ON_INVALID_HANDLE - -#if !defined (ACE_MT_SAFE) -#define ACE_MT_SAFE 1 // JCEJ 12/22/96 #1 -#endif - -#if ACE_MT_SAFE -// Yes, we do have threads. -#define ACE_HAS_THREADS -// And they're even POSIX pthreads (LinuxThreads implementation) -#define ACE_HAS_PTHREADS - -// On linux this is part of pthreads -# if (defined _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L) -# if !defined (ACE_HAS_CLOCK_GETTIME) -# if !defined(__PGI) -# define ACE_HAS_CLOCK_GETTIME -# endif /* __PGI */ -# define ACE_HAS_CLOCK_SETTIME -# endif /* !ACE_HAS_CLOCK_GETTIME */ -# endif /* _POSIX_C_SOURCE >= 199309L */ - -#if !defined (ACE_HAS_PTHREADS_UNIX98_EXT) -# define ACE_LACKS_RWLOCK_T -#else -# define ACE_HAS_RECURSIVE_MUTEXES -#endif /* !ACE_HAS_PTHREADS_UNIX98_EXT */ - -#define ACE_HAS_THREAD_SPECIFIC_STORAGE // jcej 12/22/96 #2 - -#define ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS // JCEJ 1/7-8/96 - -#if defined(__GLIBC__) -// Platform supports reentrant functions (i.e., all the POSIX *_r -// functions). -#define ACE_HAS_REENTRANT_FUNCTIONS - -#if (__GLIBC__ < 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 1) - // Older versions of glibc lacked reentrant netdb functions -# define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS - - // glibc < 2.1 lacks pthread_attr_setstacksize() -# define ACE_LACKS_PTHREAD_ATTR_SETSTACKSIZE -#endif /* (__GLIBC__ < 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 1) */ - -// uses ctime_r & asctime_r with only two parameters vs. three -#define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R -#endif - -#else -// AIO support pulls in the rt library, which pulls in the pthread -// library. Disable AIO in single-threaded builds. -# undef ACE_HAS_AIO_CALLS -#endif /* ACE_MT_SAFE */ - -#include /**/ "ace/post.h" - -#endif /* ACE_CONFIG_LINUX_H */ diff --git a/dep/ACE_wrappers/ace/config-macosx-iphone-simulator.h b/dep/ACE_wrappers/ace/config-macosx-iphone-simulator.h deleted file mode 100644 index 024cf8480..000000000 --- a/dep/ACE_wrappers/ace/config-macosx-iphone-simulator.h +++ /dev/null @@ -1,9 +0,0 @@ -// $Id: config-macosx-iphone-simulator.h 88653 2010-01-21 23:19:50Z sowayaa $ -#ifndef ACE_CONFIG_MACOSX_IPHONE_SIMULATOR_H -#define ACE_CONFIG_MACOSX_IPHONE_SIMULATOR_H - -#define ACE_HAS_IPHONE -#include "ace/config-macosx-snowleopard.h" - -#endif ACE_CONFIG_MACOSX_IPHONE_SIMULATOR_H - diff --git a/dep/ACE_wrappers/ace/config-minimal.h b/dep/ACE_wrappers/ace/config-minimal.h deleted file mode 100644 index 4cf2e8a48..000000000 --- a/dep/ACE_wrappers/ace/config-minimal.h +++ /dev/null @@ -1,39 +0,0 @@ -/* -*- C++ -*- */ -// $Id: config-minimal.h 80826 2008-03-04 14:51:23Z wotte $ - -// This configuration file is designed to build only the minimal -// ACE_OS adaptation layer. - -#ifndef ACE_CONFIG_MINIMAL_H -#define ACE_CONFIG_MINIMAL_H -#include /**/ "ace/pre.h" - -#define ACE_HAS_MINIMAL_ACE_OS - -// Only instantiate the ACE_OS_Object_Manager. -#define ACE_MAIN_OBJECT_MANAGER \ - ACE_OS_Object_Manager ace_os_object_manager; - -#if !defined(ACE_USE_THREAD_MANAGER_ADAPTER) - // To prevent use of ACE_Thread_Exit functions in - // ACE_Thread_Adapter::invoke (). -# define ACE_USE_THREAD_MANAGER_ADAPTER -#endif /* ! ACE_USE_THREAD_MANAGER_ADAPTER */ - -#if defined (ACE_ASSERT) -# undef ACE_ASSERT -#endif /* ACE_ASSERT */ -#define ACE_ASSERT(x) - -#if defined (ACE_DEBUG) -# undef ACE_DEBUG -#endif /* ACE_DEBUG */ -#define ACE_DEBUG(x) - -#if defined (ACE_ERROR) -# undef ACE_ERROR -#endif /* ACE_ERROR */ -#define ACE_ERROR(x) - -#include /**/ "ace/post.h" -#endif /* ACE_CONFIG_MINIMAL_H */ diff --git a/dep/ACE_wrappers/ace/config-mvs.h b/dep/ACE_wrappers/ace/config-mvs.h deleted file mode 100644 index ce2971025..000000000 --- a/dep/ACE_wrappers/ace/config-mvs.h +++ /dev/null @@ -1,124 +0,0 @@ -/* -*- C++ -*- */ -// $Id: config-mvs.h 92102 2010-09-30 08:14:15Z johnnyw $ - -// Config file for MVS with OpenEdition - -#ifndef ACE_CONFIG_H -#define ACE_CONFIG_H -#include /**/ "ace/pre.h" - -// The following #defines are hacks to get around things -// that seem to be missing or different in MVS land -#define MAXPATHLEN 1024 /* sys/param.h not on MVS */ -#define NSIG 44 /* missing from Signal.h */ -#define MAXHOSTNAMELEN 256 /* missing form netdb.h */ -#define howmany __howmany /* MVS uses different names than most others */ -#define MAXNAMLEN __DIR_NAME_MAX -#if defined (log) /* log is a macro in math.h */ -# undef log /* conflicts with log function in ACE */ -#endif /* log */ - -#define ACE_MVS - -// Preprocesor requires an extra argument -#define ACE_CC_PREPROCESSOR_ARGS "-+ -E" - -// See the README file in this directory -// for a description of the following ACE_ macros - -#if __COMPILER_VER__ >= 0x21020000 /* OS/390 r2 or higher */ -# define ACE_HAS_4_4BSD_SENDMSG_RECVMSG -# define ACE_HAS_UCONTEXT_T -#else /* __COMPILER_VER__ < 0x21020000 */ -# define ACE_LACKS_UCONTEXT_H -#endif /* __COMPILER_VER__ < 0x21020000 */ - -#if __COMPILER_VER__ < 0x22060000 /* before OS/390 r2.6 */ -# define ACE_LACKS_LONGLONG_T -#endif /* __COMPILER_VER__ < 0x22060000 */ - -#define ERRMAX __sys_nerr - -#define ACE_HAS_3_PARAM_WCSTOK -#define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES -#define ACE_HAS_CPLUSPLUS_HEADERS -#define ACE_HAS_DIRENT -#define ACE_HAS_GETPAGESIZE -#define ACE_HAS_GETRUSAGE -#define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT -#define ACE_HAS_LIMITED_RUSAGE_T -#define ACE_HAS_MSG -#define ACE_HAS_NONCONST_SELECT_TIMEVAL -#define ACE_HAS_NONSCALAR_THREAD_KEY_T -#define ACE_HAS_POLL -#define ACE_HAS_POSIX_NONBLOCK -#define ACE_HAS_POSIX_TIME -#define ACE_HAS_PTHREADS -#define ACE_HAS_PTHREAD_CONDATTR_SETKIND_NP -#define ACE_HAS_PTHREAD_MUTEXATTR_SETKIND_NP -#define ACE_HAS_SIGINFO_T -#define ACE_HAS_SIGWAIT -#define ACE_HAS_SIG_ATOMIC_T -#define ACE_HAS_SIG_C_FUNC -#define ACE_HAS_SOCKADDR_IN_SIN_LEN -#define ACE_HAS_SIZET_SOCKET_LEN -#define ACE_HAS_SSIZE_T -#define ACE_HAS_STRBUF_T -#define ACE_HAS_STRINGS -#define ACE_HAS_SYSV_IPC -#define ACE_HAS_THREADS -#define ACE_HAS_THREAD_SPECIFIC_STORAGE -#define ACE_HAS_THR_C_DEST -#define ACE_HAS_THR_C_FUNC -#define ACE_HAS_TIMEZONE_GETTIMEOFDAY -#define ACE_HAS_UALARM -#define ACE_HAS_UTIME -#define ACE_HAS_VOIDPTR_MMAP -#define ACE_HAS_VOIDPTR_SOCKOPT -#define ACE_HAS_XPG4_MULTIBYTE_CHAR - -#define ACE_LACKS_CONDATTR_PSHARED -#define ACE_LACKS_INET_ATON -#define ACE_LACKS_MUTEXATTR_PSHARED -#define ACE_LACKS_IOSTREAM_FX -#define ACE_LACKS_LINEBUFFERED_STREAMBUF -#define ACE_LACKS_MADVISE -#define ACE_LACKS_MALLOC_H -#define ACE_LACKS_PARAM_H -#define ACE_LACKS_SYS_PARAM_H -#define ACE_LACKS_PLACEMENT_OPERATOR_DELETE -#define ACE_LACKS_PTHREAD_THR_SIGSETMASK -#define ACE_LACKS_READDIR_R -#define ACE_LACKS_RWLOCK_T -#define ACE_LACKS_SCHED_H -#define ACE_LACKS_SETSCHED -#define ACE_LACKS_SEMAPHORE_H -#define ACE_LACKS_SIGINFO_H -#define ACE_LACKS_STDINT_H -#define ACE_LACKS_SYS_SELECT_H -#define ACE_LACKS_SYS_SYSCTL_H -#define ACE_LACKS_SYSTIME_H -#define ACE_LACKS_NETINET_TCP_H -#define ACE_LACKS_TCP_H -#define ACE_LACKS_THREAD_PROCESS_SCOPING -#define ACE_LACKS_PTHREAD_ATTR_SETSTACKADDR -#define ACE_LACKS_TIMESPEC_T -#define ACE_LACKS_FD_MASK - -#if !defined (ACE_MT_SAFE) -# define ACE_MT_SAFE 1 -#endif - -#define ACE_NEEDS_DEV_IO_CONVERSION - -#define ACE_SIZEOF_FLOAT 4 -#define ACE_SIZEOF_DOUBLE 8 -#define ACE_SIZEOF_LONG_DOUBLE 16 -#define ACE_HAS_EBCDIC - -#define ACE_TEMPLATES_REQUIRE_SOURCE - -#define IN_CLASSD(a) ((((in_addr_t)(a)) & 0xf0000000) == 0xe0000000) -#define IN_MULTICAST(a) IN_CLASSD(a) -#include /**/ "ace/post.h" -#endif /* ACE_CONFIG_H */ diff --git a/dep/ACE_wrappers/ace/config-qnx-neutrino.h b/dep/ACE_wrappers/ace/config-qnx-neutrino.h deleted file mode 100644 index 8ba1b97e4..000000000 --- a/dep/ACE_wrappers/ace/config-qnx-neutrino.h +++ /dev/null @@ -1,136 +0,0 @@ -// -*- C++ -*- -// $Id: config-qnx-neutrino.h 92120 2010-10-01 12:00:01Z johnnyw $ -// The following configuration file is designed to work for Neutrino -// 2.0 (Beta) with GNU C++ and the POSIX (pthread) threads package. - -#ifndef ACE_CONFIG_H -#define ACE_CONFIG_H -#include /**/ "ace/pre.h" - -#define _POSIX_C_SOURCE 199506 -#define _QNX_SOURCE - -// These constants are in i386-nto/include/limits.h, but egcs -// picks up its own limits.h instead: -#define _POSIX_NAME_MAX 14 /* Max bytes in a filename */ -#define _POSIX_PATH_MAX 256 /* Num. bytes in pathname (excl. NULL) */ - -#if defined(__OPTIMIZE__) -# if defined(__X86__) - // string.h can't be used by ACE with __OPTIMIZE__. -# undef __OPTIMIZE__ -# include -# define __OPTIMIZE__ -# endif /* __X86__ */ -#endif /* __OPTIMIZE__ */ - -// The following defines the Neutrino compiler. -// gcc should know to call g++ as necessary -#ifdef __GNUC__ -# define ACE_CC_NAME ACE_TEXT ("gcc") -#else -# define ACE_CC_NAME ACE_TEXT ("NTO compiler ??") -#endif - -#include "ace/config-g++-common.h" - -// /usr/nto/include/float.h defines -// FLT_MAX_EXP 127 -// DBL_MAX_EXP 1023 -// ace expects 128 & 1024 respectively -// to set the following macros in ace/Basic_Types.h -// These macros are: -// #define ACE_SIZEOF_DOUBLE 8 -// #define ACE_SIZEOF_FLOAT 4 - -#define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R -#define ACE_HAS_4_4BSD_SENDMSG_RECVMSG -// Although ACE does have alloca() on this compiler/platform combination, it is -// disabled by default since it can be dangerous. Uncomment the following line -// if you ACE to use it. -//#define ACE_HAS_ALLOCA -#define ACE_HAS_ALLOCA_H -#define ACE_HAS_AUTOMATIC_INIT_FINI -#define ACE_HAS_CLOCK_GETTIME -#define ACE_HAS_CLOCK_SETTIME -#define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES -#define ACE_HAS_DIRENT -#define ACE_HAS_GETPAGESIZE -#define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT -#define ACE_HAS_NONSTATIC_OBJECT_MANAGER -#define ACE_HAS_INLINED_OSCALLS -#define ACE_HAS_IP_MULTICAST -#define ACE_HAS_MSG -#define ACE_HAS_MT_SAFE_MKTIME -#define ACE_HAS_MUTEX_TIMEOUTS -#define ACE_HAS_NONCONST_SELECT_TIMEVAL -#define ACE_HAS_NONCONST_SWAB -#define ACE_HAS_POSIX_SEM -#define ACE_HAS_POSIX_TIME -#define ACE_HAS_PTHREADS -#define ACE_HAS_P_READ_WRITE -#define ACE_HAS_REENTRANT_FUNCTIONS -#define ACE_HAS_SELECT_H -#define ACE_HAS_SIGINFO_T -#define ACE_HAS_SIGISMEMBER_BUG -#define ACE_HAS_SIGWAIT -#define ACE_HAS_SIG_ATOMIC_T -#define ACE_HAS_SOCKADDR_IN_SIN_LEN -#define ACE_HAS_SSIZE_T -#define ACE_HAS_STRINGS -#define ACE_HAS_SVR4_GETTIMEOFDAY -#define ACE_HAS_TERMIOS -#define ACE_HAS_THREADS -#define ACE_HAS_THREAD_SPECIFIC_STORAGE -#define ACE_HAS_THR_C_DEST -#define ACE_HAS_THR_C_FUNC -#define ACE_HAS_TIMEZONE_GETTIMEOFDAY -#define ACE_HAS_UALARM -#define ACE_HAS_UCONTEXT_T -#define ACE_HAS_VOIDPTR_MMAP -#define ACE_HAS_VOIDPTR_SOCKOPT -#define ACE_LACKS_CONDATTR_PSHARED -#define ACE_LACKS_CONST_TIMESPEC_PTR -#define ACE_LACKS_CUSERID -#define ACE_LACKS_FORK -#define ACE_LACKS_LINEBUFFERED_STREAMBUF -#define ACE_LACKS_MADVISE -#define ACE_LACKS_MUTEXATTR_PSHARED -#define ACE_LACKS_NAMED_POSIX_SEM -#define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS -#define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS -#define ACE_LACKS_POLL_H -#define ACE_LACKS_PTHREAD_THR_SIGSETMASK -#define ACE_LACKS_RWLOCK_T -#define ACE_LACKS_SBRK -#define ACE_LACKS_SEEKDIR -#define ACE_LACKS_SO_SNDBUF -#define ACE_LACKS_SO_RCVBUF -#define ACE_LACKS_SOCKETPAIR -#define ACE_LACKS_STROPTS_H -#define ACE_LACKS_STREAM_MODULES -#define ACE_LACKS_STRRECVFD -#define ACE_LACKS_SYSCALL -#define ACE_LACKS_SYS_MSG_H -#define ACE_LACKS_SYS_SHM_H -#define ACE_LACKS_SYSV_SHMEM -#define ACE_LACKS_TCP_NODELAY -#define ACE_LACKS_TELLDIR -#define ACE_LACKS_TIMESPEC_T -#define ACE_LACKS_TRUNCATE -#define ACE_LACKS_T_ERRNO -#define ACE_LACKS_UALARM_PROTOTYPE -#define ACE_LACKS_UCONTEXT_H -#define ACE_LACKS_UNIX_DOMAIN_SOCKETS -#define ACE_LACKS_U_LONGLONG_T -#define ACE_MT_SAFE 1 -#define ACE_NEEDS_FUNC_DEFINITIONS -#define ACE_NEEDS_HUGE_THREAD_STACKSIZE 65536 -#define ACE_TEMPLATES_REQUIRE_SOURCE -#define ACE_THR_PRI_FIFO_DEF 10 -#define ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB 1 -#define ACE_HAS_SIGTIMEDWAIT -#define ACE_HAS_SIGSUSPEND - -#include /**/ "ace/post.h" -#endif /* ACE_CONFIG_H */ diff --git a/dep/ACE_wrappers/ace/config-qnx-rtp-common.h b/dep/ACE_wrappers/ace/config-qnx-rtp-common.h deleted file mode 100644 index 9d9e0aced..000000000 --- a/dep/ACE_wrappers/ace/config-qnx-rtp-common.h +++ /dev/null @@ -1,50 +0,0 @@ -// -*- C++ -*- -// $Id: config-qnx-rtp-common.h 92120 2010-10-01 12:00:01Z johnnyw $ -// several macros common to various qnx neutrino version. - -#ifndef ACE_CONFIG_QNX_RTP_COMMON_H -#define ACE_CONFIG_QNX_RTP_COMMON_H -#include /**/ "ace/pre.h" - -#define _POSIX_C_SOURCE 199506 -#define _QNX_SOURCE - -// These constants are in i386-nto/include/limits.h, but egcs -// picks up its own limits.h instead: -#define _POSIX_NAME_MAX 14 /* Max bytes in a filename */ -#define _POSIX_PATH_MAX 256 /* Num. bytes in pathname (excl. NULL) */ - -#if defined(__OPTIMIZE__) -# if defined(__X86__) - // string.h can't be used by ACE with __OPTIMIZE__. -# undef __OPTIMIZE__ -# include -# define __OPTIMIZE__ -# endif /* __X86__ */ -#endif /* __OPTIMIZE__ */ - -// The following defines the Neutrino compiler. -// gcc should know to call g++ as necessary -#ifdef __GNUC__ -# define ACE_CC_NAME ACE_TEXT ("gcc") -#else -# define ACE_CC_NAME ACE_TEXT ("QNX-RTP compiler ??") -#endif - -#include "ace/config-g++-common.h" - -// /usr/nto/include/float.h defines -// FLT_MAX_EXP 127 -// DBL_MAX_EXP 1023 -// ace expects 128 & 1024 respectively -// to set the following macros in ace/Basic_Types.h -// These macros are: -#define ACE_SIZEOF_DOUBLE 8 -#define ACE_SIZEOF_FLOAT 4 - -// At least qnx 6.3.2 uses a void return for unsetenv -// This assumes that older versions do too. -#define ACE_HAS_VOID_UNSETENV - -#include /**/ "ace/post.h" -#endif /* ACE_CONFIG_QNX_RTP_COMMON_H */ diff --git a/dep/ACE_wrappers/ace/config-qnx-rtp-pre62x.h b/dep/ACE_wrappers/ace/config-qnx-rtp-pre62x.h deleted file mode 100644 index 504d3a3ac..000000000 --- a/dep/ACE_wrappers/ace/config-qnx-rtp-pre62x.h +++ /dev/null @@ -1,152 +0,0 @@ -// -*- C++ -*- -// $Id: config-qnx-rtp-pre62x.h 87167 2009-10-19 19:33:53Z olli $ -// The following configuration file is designed to work for QNX RTP -// GNU C++ and the POSIX (pthread) threads package. You can get QNX -// RTP at http://get.qnx.com - -#ifndef ACE_CONFIG_RTP_PRE62x_H -#define ACE_CONFIG_RTP_PRE62x_H -#include /**/ "ace/pre.h" -#include /**/ "ace/config-qnx-rtp-common.h" - -///////////////////////////////////////////////////////////////// -// Definition of the features that are available. -// -// ACE_HAS Section -///////////////////////////////////////////////////////////////// - -#define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R -#define ACE_HAS_4_4BSD_SENDMSG_RECVMSG -// Although ACE does have alloca() on this compiler/platform combination, it is -// disabled by default since it can be dangerous. Uncomment the following line -// if you ACE to use it. -//#define ACE_HAS_ALLOCA -#define ACE_HAS_ALLOCA_H -#define ACE_HAS_AUTOMATIC_INIT_FINI -#define ACE_HAS_CLOCK_GETTIME -#define ACE_HAS_CLOCK_SETTIME -#define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES -#define ACE_HAS_DIRENT -#define ACE_HAS_GETPAGESIZE -// Enable gperf, this is a hosted configuration. -#define ACE_HAS_GPERF -#define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT -//#define ACE_HAS_NONSTATIC_OBJECT_MANAGER -#define ACE_HAS_INLINED_OSCALLS -#define ACE_HAS_IP_MULTICAST -#define ACE_HAS_MSG -#define ACE_HAS_MT_SAFE_MKTIME -#define ACE_HAS_MUTEX_TIMEOUTS -#define ACE_HAS_NONCONST_SELECT_TIMEVAL -#define ACE_HAS_POSIX_SEM -#define ACE_HAS_POSIX_TIME -#define ACE_HAS_PTHREADS -#define ACE_HAS_P_READ_WRITE -#define ACE_HAS_REENTRANT_FUNCTIONS -#define ACE_HAS_SELECT_H -#define ACE_HAS_SIGINFO_T -#define ACE_HAS_SIGISMEMBER_BUG -#define ACE_HAS_SIGWAIT -#define ACE_HAS_SIG_ATOMIC_T -#define ACE_HAS_SOCKADDR_IN_SIN_LEN -// #define ACE_HAS_SIZET_SOCKET_LEN -#define ACE_HAS_SOCKLEN_T -#define ACE_HAS_SSIZE_T -#define ACE_HAS_STRINGS -#define ACE_HAS_SVR4_GETTIMEOFDAY -#define ACE_HAS_TERMIOS -#define ACE_HAS_THREADS -#define ACE_HAS_THREAD_SPECIFIC_STORAGE -#define ACE_HAS_THR_C_DEST -#define ACE_HAS_THR_C_FUNC -#define ACE_HAS_TIMEZONE_GETTIMEOFDAY -#define ACE_HAS_UALARM -#define ACE_HAS_UCONTEXT_T -#define ACE_HAS_VOIDPTR_MMAP -#define ACE_HAS_VOIDPTR_SOCKOPT - -///////////////////////////////////////////////////////////////// -// Definition of the features that are not available. -// -// ACE_LACKS Section -///////////////////////////////////////////////////////////////// -#define ACE_LACKS_CONDATTR_PSHARED -#define ACE_LACKS_CONST_TIMESPEC_PTR -#define ACE_LACKS_LINEBUFFERED_STREAMBUF -#define ACE_LACKS_MADVISE -#define ACE_LACKS_MUTEXATTR_PSHARED -#define ACE_LACKS_NAMED_POSIX_SEM -#define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS -#define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS -#define ACE_LACKS_PTHREAD_THR_SIGSETMASK -#define ACE_LACKS_RWLOCK_T -#define ACE_LACKS_SBRK -#define ACE_LACKS_SEEKDIR -#define ACE_LACKS_SO_SNDBUF -#define ACE_LACKS_SO_RCVBUF -#define ACE_LACKS_SOCKETPAIR -// Even if the QNX RTP docs says that socket pair are -// available, there is actually no implementation of -// soket-pairs. -#define ACE_LACKS_STREAM_MODULES -#define ACE_LACKS_STRRECVFD -#define ACE_LACKS_SYSCALL -#define ACE_LACKS_SYS_MSG_H -#define ACE_LACKS_SYSV_SHMEM -#define ACE_LACKS_ALPHASORT -//#define ACE_LACKS_TCP_NODELAY // Based on the QNX RTP documentation, this option seems to - // to be supported. -#define ACE_LACKS_TELLDIR -#define ACE_LACKS_TIMESPEC_T -#define ACE_LACKS_TRUNCATE -#define ACE_LACKS_T_ERRNO -#define ACE_LACKS_UALARM_PROTOTYPE -#define ACE_LACKS_UCONTEXT_H -#define ACE_LACKS_UNIX_DOMAIN_SOCKETS -#define ACE_LACKS_U_LONGLONG_T -#define ACE_LACKS_FD_MASK -#define ACE_LACKS_NFDBITS - -#define ACE_LACKS_RLIMIT // QNX rlimit syscalls don't work properly with ACE. - -#define ACE_MT_SAFE 1 -#define ACE_NEEDS_FUNC_DEFINITIONS -#define ACE_NEEDS_HUGE_THREAD_STACKSIZE 64000 -#define ACE_TEMPLATES_REQUIRE_SOURCE -#define ACE_THR_PRI_FIFO_DEF 10 -#define ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB 1 -#define ACE_HAS_SIGTIMEDWAIT -#define ACE_HAS_SIGSUSPEND - -#define ACE_HAS_BROKEN_PREALLOCATED_OBJECTS_AFTER_FORK 1 - -#define ACE_SIZEOF_WCHAR 4 - -// Not really, but the prototype returns wchar_t instead of wchar_t * -#define ACE_LACKS_WCSSTR - -// No prototypes -#define ACE_LACKS_ITOW -#define ACE_LACKS_WCSICMP -#define ACE_LACKS_WCSNICMP -#define ACE_LACKS_WCSDUP - -// And these have prototypes but no implementation -#define ACE_LACKS_WCSLEN -#define ACE_LACKS_WCSNCMP -#define ACE_LACKS_WCSCPY -#define ACE_LACKS_WCSNCPY -#define ACE_LACKS_TOWLOWER -#define ACE_LACKS_TOWUPPER -#define ACE_LACKS_WCSCMP -#define ACE_LACKS_WCSCAT -#define ACE_LACKS_WCSNCAT -#define ACE_LACKS_WCSSPN -#define ACE_LACKS_WCSCHR -#define ACE_LACKS_WCSPBRK -#define ACE_LACKS_WCSRCHR - -#define ACE_LACKS_ACE_IOSTREAM - -#include /**/ "ace/post.h" -#endif /* ACE_CONFIG_RTP_PRE62x_H */ diff --git a/dep/ACE_wrappers/ace/config-qnx-rtp.h b/dep/ACE_wrappers/ace/config-qnx-rtp.h deleted file mode 100644 index 02ee89bc5..000000000 --- a/dep/ACE_wrappers/ace/config-qnx-rtp.h +++ /dev/null @@ -1,25 +0,0 @@ -// -*- C++ -*- -// $Id: config-qnx-rtp.h 91743 2010-09-13 18:24:51Z johnnyw $ -// The following configuration file is designed to work for QNX RTP -// GNU C++ and the POSIX (pthread) threads package. You can get QNX -// RTP at http://get.qnx.com. -// This header is intended to switch between configuration for -// various NTO versions. -#ifndef ACE_CONFIG_QNX_RTP_H -#define ACE_CONFIG_QNX_RTP_H -#include /**/ "ace/pre.h" - -#include -#if !defined(_NTO_VERSION) -# error "Could not detect QNX version from macro _NTO_VERSION" -#else -# define ACE_NTO_VERS _NTO_VERSION -# if ACE_NTO_VERS < 620 -# include /**/ "ace/config-qnx-rtp-pre62x.h" -# else -# include /**/ "ace/config-qnx-rtp-62x.h" -# endif -#endif - -#include /**/ "ace/post.h" -#endif /* ACE_CONFIG_QNX_RTP_H */ diff --git a/dep/ACE_wrappers/ace/config-tandem-nsk-mips-v2.h b/dep/ACE_wrappers/ace/config-tandem-nsk-mips-v2.h deleted file mode 100644 index ff2111cf5..000000000 --- a/dep/ACE_wrappers/ace/config-tandem-nsk-mips-v2.h +++ /dev/null @@ -1,384 +0,0 @@ -// -*- C++ -*- -// -// $Id: config-tandem-nsk-mips-v2.h 91685 2010-09-09 09:35:14Z johnnyw $ - -#ifndef ACE_CONFIG_NSK_H -#define ACE_CONFIG_NSK_H - -#include /**/ "ace/pre.h" - -// The following configuration file contains defines for Tandem NSK -// platform, MIPS processor, version 2 C++ compiler. - - -//========================================================================= -// Tandem NSK specific parts -//========================================================================= - - -// Disable pthread renaming of symbols such as "open" and "close" -#define _CMA_NOWRAPPERS_ 1 - -// Get Handle_Set.cpp to generate correct bit operations for NSK platform -#define ACE_TANDEM_NSK_BIT_ORDER - -// Use facilities provided by T1248 version of pthreads. -// (If not defined, will use old version of pthreads.) -#define ACE_TANDEM_T1248_PTHREADS - -// Use all available T1248 thread aware wrapper functions for providing -// non-blocking I/O. -// [@note this causes a significant performance degradation] -//#define ACE_TANDEM_T1248_PTHREADS_ALL_IO_WRAPPERS - - -// Need this include here because some symbols defined by pthreads -// (e.g. timespec_t) are needed before spthread.h is normally included -// by ACE -#ifdef ACE_TANDEM_T1248_PTHREADS -#include -#else -#include "pthread.h" -#include "dce/cma_dispatch_coop.h" -#endif - -// The following #defines are hacks to get around things -// that seem to be missing or different in Tandem land -#define NSIG 32 // missing from Signal.h - // note: on nsk TNS/R there is room in - // sigset_t for 128 signals but those - // above 31 are not valid. -#define MAXNAMLEN 248 // missing from dirent.h -#define ERRMAX 4218 // from errno.h - -// Following seems to be missing from G06.20 version of standard -// pthreads includes (it appeared in older version of standard pthreads) -// (SCHED_FIFO (aka cma_c_sched_fifo) used in Dynamic_Priority_Test) -#ifdef ACE_TANDEM_T1248_PTHREADS -typedef enum CMA_T_SCHED_POLICY { - cma_c_sched_fifo = 0, - cma_c_sched_rr = 1, - cma_c_sched_throughput = 2, - cma_c_sched_background = 3, - cma_c_sched_ada_low = 4 - } cma_t_sched_policy; -#endif - -// T1248 doesn't define these constants. They're defined in spt/cma.h -// (formerly dce/cma.h), but this header is not included or provided -// by T1248 G07-AAL. -#define cma_c_prio_fifo_min 16 -#define cma_c_prio_fifo_mid 24 -#define cma_c_prio_fifo_max 31 -#define cma_c_prio_rr_min 16 -#define cma_c_prio_rr_mid 24 -#define cma_c_prio_rr_max 31 -#define cma_c_prio_through_min 8 -#define cma_c_prio_through_mid 12 -#define cma_c_prio_through_max 15 -#define cma_c_prio_back_min 1 -#define cma_c_prio_back_mid 4 -#define cma_c_prio_back_max 7 - -// Enable NSK Pluggable Protocols -#define TAO_HAS_NSKPW 1 -#define TAO_HAS_NSKFS 1 - -//========================================================================= -// Platform specific parts -//========================================================================= - -// Platform lacks getpwnam_r() methods (e.g., SGI 6.2). -#define ACE_LACKS_PWD_REENTRANT_FUNCTIONS - -// Platform/compiler lacks {get,set}rlimit() function -#define ACE_LACKS_RLIMIT - -// The platform doesn't have mmap(2) -#define ACE_LACKS_MMAP - -// Platform lacks streambuf "linebuffered ()". [C++ iostream] -#define ACE_LACKS_LINEBUFFERED_STREAMBUF - -// Platform supports recvmsg and sendmsg -#define ACE_HAS_MSG - -// Platform defines ACE_HAS_MSG, but lacks msg_accrights{,len}. -#define ACE_LACKS_MSG_ACCRIGHTS - -// Platform supports sigsuspend() -#define ACE_HAS_SIGSUSPEND - -// Platform/compiler has the sigwait(2) prototype -#define ACE_HAS_SIGWAIT - -// Compiler/platform defines the sig_atomic_t typedef -#define ACE_HAS_SIG_ATOMIC_T - -// OS/compiler uses size_t * rather than int * for socket lengths -#define ACE_HAS_SIZET_SOCKET_LEN - -// OS/compiler uses void * arg 4 setsockopt() rather than const char * -#define ACE_HAS_VOIDPTR_SOCKOPT - -// The platform doesn't have mprotect(2) -#define ACE_LACKS_MPROTECT - -// Platform lacks msync() -#define ACE_LACKS_MSYNC - -// Platform does not support reentrant netdb functions (getprotobyname_r, -// getprotobynumber_r, gethostbyaddr_r, gethostbyname_r, getservbyname_r). -#define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS Platform does not support - -// Platform lacks madvise() -#define ACE_LACKS_MADVISE - -// Platform lacks pri_t -#define ACE_LACKS_PRI_T - -// Platform lacks a working sbrk() -#define ACE_LACKS_SBRK - -// Platform doesn't have syscall() prototype -#define ACE_LACKS_SYSCALL - -// Platform lacks the inet_aton() function. -#define ACE_LACKS_INET_ATON - -// Compiler/platform has Dirent iterator functions -#define ACE_HAS_DIRENT - -// Platform uses ACE_HAS_DIRENT but does not have readdir_r() -#define ACE_LACKS_READDIR_R - -// Platform supports getpagesize() call (otherwise, -// ACE_PAGE_SIZE must be defined) -#define ACE_HAS_GETPAGESIZE - -// Platform supports IP multicast -#define ACE_HAS_IP_MULTICAST - -// Platform's select() uses non-const timeval* -#define ACE_HAS_NONCONST_SELECT_TIMEVAL - -// Platform supports POSIX O_NONBLOCK semantics -#define ACE_HAS_POSIX_NONBLOCK - -// Platform lacks named POSIX semaphores -#define ACE_LACKS_NAMED_POSIX_SEM - -// Platform has support for multi-byte character support compliant -// with the XPG4 Worldwide Portability Interface wide-character -// classification. -#define ACE_HAS_XPG4_MULTIBYTE_CHAR - -// No wcsstr function available for this compiler -#define ACE_LACKS_WCSSTR - -// No wctype.h available for this compiler -#define ACE_LACKS_WCTYPE_H - -// Platform supports the POSIX regular expression library. -// [Note Tandem NSK platform does have regular expresson support but it -// does not follow the assumptions made by ACE. To use it would need -// to make some ACE modifications.] -//#define ACE_HAS_REGEX - -// Platform doesn't have truncate() -#define ACE_LACKS_TRUNCATE - -// Platform lacks readers/writer locks. -#define ACE_LACKS_RWLOCK_T - -// Compiler's 'new' throws exception on failure (ANSI C++ behavior). -#define ACE_NEW_THROWS_EXCEPTIONS - -// Optimize ACE_Handle_Set::count_bits for select() operations (common -// case) -#define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT - -// Platform lacks setreuid() -#define ACE_LACKS_SETREUID - -// Platform lacks setregid() -#define ACE_LACKS_SETREGID - -// Compile using multi-thread libraries -#define ACE_MT_SAFE 1 - - - -// Platform supports System V IPC -#define ACE_HAS_SYSV_IPC - -#define ACE_LACKS_SO_SNDBUF -#define ACE_LACKS_SO_RCVBUF - -// Platform lacks the socketpair() call -#define ACE_LACKS_SOCKETPAIR - -// Platform limits the maximum socket message size. -#define ACE_HAS_SOCK_BUF_SIZE_MAX - -// hrtime_t is a basic type that doesn't require ACE_U64_TO_U32 conversion -#define ACE_HRTIME_T_IS_BASIC_TYPE - -// printf format specifiers for 64 bit integers -# define ACE_UINT64_FORMAT_SPECIFIER_ASCII "%Ld" -# define ACE_INT64_FORMAT_SPECIFIER_ASCII "%Ld" - -//========================================================================= -// Threads specific parts -//========================================================================= - -// Platform supports threads -#define ACE_HAS_THREADS - -// Platform supports POSIX Pthreads, of one form or another. This -// macro says the platform has a pthreads variety - should also define -// one of the below to say which one. Also may need some -// ACE_HAS_... thing for extensions. -#define ACE_HAS_PTHREADS - -// Standard pthreads supports only SCHED_FIFO -#define ACE_HAS_ONLY_SCHED_FIFO - -// Compiler/platform has thread-specific storage -#define ACE_HAS_THREAD_SPECIFIC_STORAGE - -// Platform has no implementation of pthread_condattr_setpshared(), -// even though it supports pthreads! -#define ACE_LACKS_CONDATTR_PSHARED - -// pthread_cond_timedwait does *not* reset the time argument when the -// lock is acquired. -#define ACE_LACKS_COND_TIMEDWAIT_RESET - -// Platform lacks pthread_attr_setsched() -#define ACE_LACKS_SETSCHED - -// Platform has pthread_mutexattr_setkind_np(). -#define ACE_HAS_PTHREAD_MUTEXATTR_SETKIND_NP - -// Platform lacks pthread_mutexattr_setpshared(). -#define ACE_LACKS_MUTEXATTR_PSHARED - -// Platform lacks pthread_attr_setscope() -#define ACE_LACKS_THREAD_PROCESS_SCOPING - -// Platform lacks pthread_attr_setstackaddr -#define ACE_LACKS_PTHREAD_ATTR_SETSTACKADDR - -// Defining ACE_HAS_UCONTEXT_T since G06.21 version of spthreads has -// a definition for it. -#ifdef ACE_TANDEM_T1248_PTHREADS -#define ACE_HAS_UCONTEXT_T -#endif - -#define ACE_LACKS_FD_MASK - -//========================================================================= -// Include file characteristics -//========================================================================= - -// Compiler/platform contains the file. -#define ACE_HAS_SYS_SYSCALL_H - -// Platform lacks malloc.h -#define ACE_LACKS_MALLOC_H - -// Platform lacks the siginfo.h include file -#define ACE_LACKS_SIGINFO_H - -// Platform doesn't define struct strrecvfd. -#define ACE_LACKS_STRRECVFD - -// Platform lacks the ucontext.h file -#define ACE_LACKS_UCONTEXT_H - -// Prototypes for both signal() and struct sigaction are consistent. -#define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES - -// Platform supports the POSIX struct timespec type -#define ACE_HAS_POSIX_TIME - -// Platform/compiler supports timezone * as second parameter to gettimeofday() -#define ACE_HAS_TIMEZONE_GETTIMEOFDAY - -// Platform has (which contains bzero() prototype) -#define ACE_HAS_STRINGS 1 - - -// OS/compiler omits the const from the iovec parameter in the -// writev() prototype. -#define ACE_HAS_NONCONST_WRITEV - -// Platform lacks -#define ACE_LACKS_STDINT_H - -// Platform lacks -#define ACE_LACKS_INTTYPES_H - -// Platform lacks -#define ACE_LACKS_SYS_SELECT_H - -// Platform lacks -#define ACE_LACKS_DLFCN_H - -// Platform lacks -#define ACE_LACKS_SEMAPHORE_H - -// Platform lacks -#define ACE_LACKS_POLL_H - -//========================================================================= -// Compiler specific parts -//========================================================================= - -// Compiler/platform has correctly prototyped header files -#define ACE_HAS_CPLUSPLUS_HEADERS - -// Compiler/platform does not support the unsigned long long datatype. -#define ACE_LACKS_LONGLONG_T - -// Compiler supports the ssize_t typedef -#define ACE_HAS_SSIZE_T - -// Platform/compiler supports Standard C++ Library -#define ACE_HAS_STANDARD_CPP_LIBRARY 0 - -// Compiler's template mechanism must see source code (i.e., -// .cpp files). -#define ACE_TEMPLATES_REQUIRE_SOURCE - -// Platform has its standard c++ library in the namespace std. -#define ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB 1 - -// Compiler doesn't support static data member templates -#define ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES - -// Platform lacks "signed char" type (broken!) -// Following will not be needed if use standard c library (G06.20 and later) -#define ACE_LACKS_SIGNED_CHAR - -//========================================================================= -// Build options -//========================================================================= - -// For debugging problems in os calls (but this doesn't work too well -// since output is not interleaved properly with output from ACE_TRACE -//# define ACE_OS_TRACE(X) ::printf(X) - -// Uncomment the following if timed message blocks are needed (e.g. -// for Dynamic_Priority_Test. Otherwise leave this disabled because -// enabling it adds overhead to message blocks and timed message blocks -// are "rarely used." -//#define ACE_HAS_TIMED_MESSAGE_BLOCKS - -// Uncomment the following if tokens library is needed. -//#define ACE_HAS_TOKENS_LIBRARY - -#include /**/ "ace/post.h" - -#endif /* ACE_CONFIG_NSK_H */ diff --git a/dep/ACE_wrappers/ace/config-tandem-nsk-mips-v3.h b/dep/ACE_wrappers/ace/config-tandem-nsk-mips-v3.h deleted file mode 100644 index c037bed4e..000000000 --- a/dep/ACE_wrappers/ace/config-tandem-nsk-mips-v3.h +++ /dev/null @@ -1,454 +0,0 @@ -// -*- C++ -*- -// -// $Id: config-tandem-nsk-mips-v3.h 91685 2010-09-09 09:35:14Z johnnyw $ - - -#ifndef ACE_CONFIG_NSK_H -#define ACE_CONFIG_NSK_H - -#include /**/ "ace/pre.h" - -// The following configuration file contains defines for Tandem NSK -// platform, MIPS processor, version 3 C++ compiler. - - -//========================================================================= -// Tandem NSK specific parts -//========================================================================= - - -// Disable pthread renaming of symbols such as "open" and "close" -#define _CMA_NOWRAPPERS_ 1 - -// Get Handle_Set.cpp to generate correct bit operations for NSK platform -#define ACE_TANDEM_NSK_BIT_ORDER - -// Use facilities provided by T1248 version of pthreads. -// (If not defined, will use old version of pthreads.) -#define ACE_TANDEM_T1248_PTHREADS - -// Use all available T1248 thread aware wrapper functions for providing -// non-blocking I/O. -// [Note: this causes a significant performance degradation] -//#define ACE_TANDEM_T1248_PTHREADS_ALL_IO_WRAPPERS - - -// Need this include here because some symbols defined by pthreads -// (e.g. timespec_t) are needed before spthread.h is normally included -// by ACE -#ifdef ACE_TANDEM_T1248_PTHREADS -#include -#else -#include "pthread.h" -#include "dce/cma_dispatch_coop.h" -#endif - -// The following #defines are hacks to get around things -// that seem to be missing or different in Tandem land -#define NSIG 32 // missing from Signal.h - // note: on nsk TNS/R there is room in - // sigset_t for 128 signals but those - // above 31 are not valid. -#define MAXNAMLEN 248 // missing from dirent.h -#define ERRMAX 4218 // from errno.h - -// Following seems to be missing from G06.20 version of standard -// pthreads includes (it appeared in older version of standard pthreads) -// (SCHED_FIFO (aka cma_c_sched_fifo) used in Dynamic_Priority_Test) -#ifdef ACE_TANDEM_T1248_PTHREADS -typedef enum CMA_T_SCHED_POLICY { - cma_c_sched_fifo = 0, - cma_c_sched_rr = 1, - cma_c_sched_throughput = 2, - cma_c_sched_background = 3, - cma_c_sched_ada_low = 4 - } cma_t_sched_policy; -#endif - -// T1248 doesn't define these constants. They're defined in spt/cma.h -// (formerly dce/cma.h), but this header is not included or provided -// by T1248 G07-AAL. -#define cma_c_prio_fifo_min 16 -#define cma_c_prio_fifo_mid 24 -#define cma_c_prio_fifo_max 31 -#define cma_c_prio_rr_min 16 -#define cma_c_prio_rr_mid 24 -#define cma_c_prio_rr_max 31 -#define cma_c_prio_through_min 8 -#define cma_c_prio_through_mid 12 -#define cma_c_prio_through_max 15 -#define cma_c_prio_back_min 1 -#define cma_c_prio_back_mid 4 -#define cma_c_prio_back_max 7 - -// Enable NSK Pluggable Protocols -#define TAO_HAS_NSKPW 1 -#define TAO_HAS_NSKFS 1 - -//========================================================================= -// Platform specific parts -//========================================================================= - -// Platform lacks getpwnam_r() methods (e.g., SGI 6.2). -#define ACE_LACKS_PWD_REENTRANT_FUNCTIONS - -// Platform/compiler lacks {get,set}rlimit() function -#define ACE_LACKS_RLIMIT - -// The platform doesn't have mmap(2) -#define ACE_LACKS_MMAP - -// Platform lacks streambuf "linebuffered ()". [C++ iostream] -#define ACE_LACKS_LINEBUFFERED_STREAMBUF - -// Platform supports recvmsg and sendmsg -#define ACE_HAS_MSG - -// Platform defines ACE_HAS_MSG, but lacks msg_accrights{,len}. -#define ACE_LACKS_MSG_ACCRIGHTS - -// Platform supports sigsuspend() -#define ACE_HAS_SIGSUSPEND - -// Platform/compiler has the sigwait(2) prototype -#define ACE_HAS_SIGWAIT - -// Compiler/platform defines the sig_atomic_t typedef -#define ACE_HAS_SIG_ATOMIC_T - -// OS/compiler uses size_t * rather than int * for socket lengths -#define ACE_HAS_SIZET_SOCKET_LEN - -// OS/compiler uses void * arg 4 setsockopt() rather than const char * -#define ACE_HAS_VOIDPTR_SOCKOPT - -// The platform doesn't have mprotect(2) -#define ACE_LACKS_MPROTECT - -// Platform lacks msync() -#define ACE_LACKS_MSYNC - -// Platform does not support reentrant netdb functions (getprotobyname_r, -// getprotobynumber_r, gethostbyaddr_r, gethostbyname_r, getservbyname_r). -#define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS Platform does not support - -// Platform lacks madvise() -#define ACE_LACKS_MADVISE - -// Platform lacks pri_t -#define ACE_LACKS_PRI_T - -// Platform lacks a working sbrk() -#define ACE_LACKS_SBRK - -// Platform doesn't have syscall() prototype -#define ACE_LACKS_SYSCALL - -// Platform lacks the inet_aton() function. -#define ACE_LACKS_INET_ATON - -// Compiler/platform has Dirent iterator functions -#define ACE_HAS_DIRENT - -// Platform uses ACE_HAS_DIRENT but does not have readdir_r() -#define ACE_LACKS_READDIR_R - -// Platform supports getpagesize() call (otherwise, -// ACE_PAGE_SIZE must be defined) -#define ACE_HAS_GETPAGESIZE - -// Platform supports IP multicast -#define ACE_HAS_IP_MULTICAST - -// Platform's select() uses non-const timeval* -#define ACE_HAS_NONCONST_SELECT_TIMEVAL - -// Platform supports POSIX O_NONBLOCK semantics -#define ACE_HAS_POSIX_NONBLOCK - -// Platform lacks named POSIX semaphores -#define ACE_LACKS_NAMED_POSIX_SEM - -// Platform has support for multi-byte character support compliant -// with the XPG4 Worldwide Portability Interface wide-character -// classification. -#define ACE_HAS_XPG4_MULTIBYTE_CHAR - -// No wcsstr function available for this compiler -#define ACE_LACKS_WCSSTR - -// No wctype.h available for this compiler -#define ACE_LACKS_WCTYPE_H - -// Platform supports the POSIX regular expression library. -// [Note Tandem NSK platform does have regular expresson support but it -// does not follow the assumptions made by ACE. To use it would need -// to make some ACE modifications.] -//#define ACE_HAS_REGEX - -// Platform doesn't have truncate() -#define ACE_LACKS_TRUNCATE - -// Platform lacks readers/writer locks. -#define ACE_LACKS_RWLOCK_T - -// Compiler's 'new' throws exception on failure (ANSI C++ behavior). -#define ACE_NEW_THROWS_EXCEPTIONS - -// Optimize ACE_Handle_Set::count_bits for select() operations (common -// case) -#define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT - -// Platform lacks setreuid() -#define ACE_LACKS_SETREUID - -// Platform lacks setregid() -#define ACE_LACKS_SETREGID - -// Compile using multi-thread libraries -#define ACE_MT_SAFE 1 - - - -// Platform supports System V IPC -#define ACE_HAS_SYSV_IPC - -#define ACE_LACKS_SO_SNDBUF -#define ACE_LACKS_SO_RCVBUF - -// Platform lacks the socketpair() call -#define ACE_LACKS_SOCKETPAIR - -// Platform limits the maximum socket message size. -#define ACE_HAS_SOCK_BUF_SIZE_MAX - -// hrtime_t is a basic type that doesn't require ACE_U64_TO_U32 conversion -#define ACE_HRTIME_T_IS_BASIC_TYPE - -// printf format specifiers for 64 bit integers -# define ACE_UINT64_FORMAT_SPECIFIER_ASCII "%Ld" -# define ACE_INT64_FORMAT_SPECIFIER_ASCII "%Ld" - -// Use larger default buffer size for ease of interoperability -#define ACE_DEFAULT_CDR_BUFSIZE 4096 - -// Size of a wchar -#define ACE_SIZEOF_WCHAR 2 - -// Platform lacks time typedefs -#define ACE_LACKS_SUSECONDS_T -#define ACE_LACKS_USECONDS_T - -// Platform lacks setegid() and seteuid() -#define ACE_LACKS_SETEGID -#define ACE_LACKS_SETEUID - -// Platform lacks vsnprintf() -#define ACE_LACKS_VSNPRINTF - -// Platform lacks log2() -#define ACE_LACKS_LOG2 - -// Platform lacks alphasort() -#define ACE_LACKS_ALPHASORT - -#define ACE_LACKS_FD_MASK -#define ACE_LACKS_NFDBITS - -//========================================================================= -// Threads specific parts -//========================================================================= - -// Platform supports threads -#define ACE_HAS_THREADS - -// Platform supports POSIX Pthreads, of one form or another. This -// macro says the platform has a pthreads variety - should also define -// one of the below to say which one. Also may need some -// ACE_HAS_... thing for extensions. -#define ACE_HAS_PTHREADS - -// Standard pthreads supports only SCHED_FIFO -#define ACE_HAS_ONLY_SCHED_FIFO - -// Compiler/platform has thread-specific storage -#define ACE_HAS_THREAD_SPECIFIC_STORAGE - -// Platform has no implementation of pthread_condattr_setpshared(), -// even though it supports pthreads! -#define ACE_LACKS_CONDATTR_PSHARED - -// pthread_cond_timedwait does *not* reset the time argument when the -// lock is acquired. -#define ACE_LACKS_COND_TIMEDWAIT_RESET - -// Platform lacks pthread_attr_setsched() -#define ACE_LACKS_SETSCHED - -// Platform has pthread_getschedparam and pthread_setschedparam -// even when ACE_LACKS_SETSCHED is defined. -#define ACE_HAS_PTHREAD_SCHEDPARAM - -// Platform has pthread_mutexattr_setkind_np(). -#define ACE_HAS_PTHREAD_MUTEXATTR_SETKIND_NP - -// Platform lacks pthread_mutexattr_setpshared(). -#define ACE_LACKS_MUTEXATTR_PSHARED - -// Platform lacks pthread_attr_setscope() -#define ACE_LACKS_THREAD_PROCESS_SCOPING - -// Platform lacks pthread_attr_setstackaddr -#define ACE_LACKS_PTHREAD_ATTR_SETSTACKADDR - -// Platform lacks pthread_attr_setstack -#define ACE_LACKS_PTHREAD_ATTR_SETSTACK - -// Defining ACE_HAS_UCONTEXT_T since G06.21 version of spthreads has -// a definition for it. -#ifdef ACE_TANDEM_T1248_PTHREADS -#define ACE_HAS_UCONTEXT_T -#endif - -//========================================================================= -// Include file characteristics -//========================================================================= - -// Compiler/platform contains the file. -#define ACE_HAS_SYS_SYSCALL_H - -// Platform lacks malloc.h -#define ACE_LACKS_MALLOC_H - -// Platform lacks the siginfo.h include file -#define ACE_LACKS_SIGINFO_H - -// Platform doesn't define struct strrecvfd. -#define ACE_LACKS_STRRECVFD - -// Platform lacks the ucontext.h file -#define ACE_LACKS_UCONTEXT_H - -// Prototypes for both signal() and struct sigaction are consistent. -#define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES - -// Platform supports the POSIX struct timespec type -#define ACE_HAS_POSIX_TIME - -// Platform/compiler supports timezone * as second parameter to gettimeofday() -#define ACE_HAS_TIMEZONE_GETTIMEOFDAY - -// Platform has (which contains bzero() prototype) -#define ACE_HAS_STRINGS 1 - - -// OS/compiler omits the const from the iovec parameter in the -// writev() prototype. -#define ACE_HAS_NONCONST_WRITEV - -// Platform lacks -#define ACE_LACKS_STDINT_H - -// Platform lacks -#define ACE_LACKS_INTTYPES_H - -// Platform lacks -#define ACE_LACKS_SYS_SELECT_H - -// Platform lacks -#define ACE_LACKS_DLFCN_H - -// Platform lacks -#define ACE_LACKS_SEMAPHORE_H - -// Platform lacks -#define ACE_LACKS_POLL_H - -// Platform lacks -#define ACE_LACKS_SYS_SYSCTL_H - -//========================================================================= -// Compiler specific parts -//========================================================================= - -// Compiler/platform has correctly prototyped header files -#define ACE_HAS_CPLUSPLUS_HEADERS - -// Compiler/platform does not support the unsigned long long datatype. -#define ACE_LACKS_UNSIGNEDLONGLONG_T - -// Compiler supports the ssize_t typedef -#define ACE_HAS_SSIZE_T - -// Platform/compiler supports Standard C++ Library -#define ACE_HAS_STANDARD_CPP_LIBRARY 1 - -// Compiler's template mechanism must see source code (i.e., -// .cpp files). -#define ACE_TEMPLATES_REQUIRE_SOURCE - -// Platform/Compiler supports a String class -#define ACE_HAS_STRING_CLASS -#define ACE_HAS_STDCPP_STL_INCLUDES - -// Platform has its standard c++ library in the namespace std. -#define ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB 1 - -// Compiler doesn't support static data member templates -#define ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES - -// Platform lacks "signed char" type (broken!) -// Following will not be needed if use standard c library (G06.20 and later) -#define ACE_LACKS_SIGNED_CHAR - -// Compiler can handle any operators in namespace -#define ACE_ANY_OPS_USE_NAMESPACE - -// Platform lacks intptr_t typedef -#define ACE_LACKS_INTPTR_T - -//========================================================================= -// C++ version3 import/export macros -//========================================================================= - -// Define the export macros needed to export symbols outside a DLL -// The ACE_IMPORT_SINGLETON_DECLARE macro has been modified to not explicitly -// instantiate the class template. -#if defined(USE_EXPLICIT_EXPORT) -#define ACE_LACKS_INLINE_FUNCTIONS - -#define ACE_HAS_CUSTOM_EXPORT_MACROS -#define ACE_Proper_Export_Flag export$ -#define ACE_Proper_Import_Flag import$ -#define ACE_EXPORT_SINGLETON_DECLARATION(T) template class export$ T -#define ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) template class export$ SINGLETON_TYPE; -#define ACE_IMPORT_SINGLETON_DECLARATION(T) template class import$ T -#define ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) template class import$ SINGLETON_TYPE ; -#endif - - -//========================================================================= -// Build options -//========================================================================= - -// For debugging problems in os calls (but this doesn't work too well -// since output is not interleaved properly with output from ACE_TRACE -//# define ACE_OS_TRACE(X) ::printf(X) - -// Uncomment the following if timed message blocks are needed (e.g. -// for Dynamic_Priority_Test. Otherwise leave this disabled because -// enabling it adds overhead to message blocks and timed message blocks -// are "rarely used." -//#define ACE_HAS_TIMED_MESSAGE_BLOCKS - -// Uncomment the following if tokens library is needed. -//#define ACE_HAS_TOKENS_LIBRARY - -// NonStop CORBA uses the XML Service Configurator -#define ACE_HAS_XML_SVC_CONF - -#define ACE_LD_SEARCH_PATH "_RLD_LIB_PATH" - -#include /**/ "ace/post.h" - -#endif /* ACE_CONFIG_NSK_H */ diff --git a/dep/ACE_wrappers/ace/config-tandem.h b/dep/ACE_wrappers/ace/config-tandem.h deleted file mode 100644 index fa2869b3c..000000000 --- a/dep/ACE_wrappers/ace/config-tandem.h +++ /dev/null @@ -1,189 +0,0 @@ -/* -*- C++ -*- */ -// Testing TANDEM -// $Id: config-tandem.h 91781 2010-09-15 12:49:15Z johnnyw $ - -// The following configuration file is designed to work for Tandems NonStop-UX -// 4.2MP platforms using the NCC 3.20 compiler. - -// Note this is a test version it might include several errors I -// have done a test and set/unset until I errors disappered. -// Some of the options that should be set aren't because of the simple fact -// that i haven't the time to check what is wrong. -// e.g. widecharacter are supported but a wcstok which only take 2 parameters -// are included by the compiler, to get the correct wcstok that takes 3 params -// we must set _XOPEN_SOURCE and we get ALOT of errors and warnings. -// So this config is done to get things to start to work it isn't finished. -// Janne (Jan.Perman@osd.Ericsson.se) - -#ifndef ACE_CONFIG_H -#define ACE_CONFIG_H -#include /**/ "ace/pre.h" - -#if ! defined (__ACE_INLINE__) -# define __ACE_INLINE__ -#endif /* ! __ACE_INLINE__ */ - -#define ACE_HAS_IDTYPE_T -// Optimize ACE_Handle_Set for select(). -#define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT - -// Tandem doesn't include this although they are defined -// in sys/time.h and sys/resource.h -#define ACE_LACKS_RLIMIT_PROTOTYPE // jjpp -// Tandem has a function to set t_errno (set_t_errno) -#define ACE_HAS_SET_T_ERRNO // jjpp - -//Platform supports System V IPC (most versions of UNIX, but not Win32) -#define ACE_HAS_SYSV_IPC - -// OS/compiler omits the const from the sendmsg() prototype. -#define ACE_HAS_NONCONST_SENDMSG - -//Platform supports system configuration information -#define ACE_HAS_SYS_SYSTEMINFO_H -#define ACE_HAS_SYSV_SYSINFO - -//Platform supports the POSIX regular expression library -#define ACE_HAS_REGEX - -// Platform supports recvmsg and sendmsg -#define ACE_HAS_MSG - -//Compiler/platform contains the file. -#define ACE_HAS_SYS_SYSCALL_H - -//Platform provides header -#define ACE_HAS_SYSENT_H - -// Platform has POSIX terminal interface. -#define ACE_HAS_TERMIOS - -//Platform supports POSIX O_NONBLOCK semantics -#define ACE_HAS_POSIX_NONBLOCK - -// Compiler/platform has correctly prototyped header files -#define ACE_HAS_CPLUSPLUS_HEADERS - -//Compiler/platform supports alloca() -// Although ACE does have alloca() on this compiler/platform combination, it is -// disabled by default since it can be dangerous. Uncomment the following line -// if you ACE to use it. -//#define ACE_HAS_ALLOCA - -//Compiler/platform has -#define ACE_HAS_ALLOCA_H - -//Platform contains -#define ACE_HAS_POLL - -// Platform supports the POSIX struct timespec type -#define ACE_HAS_POSIX_TIME // As i understand it, but i'm in deep water -//Platform supports the SVR4 timestruc_t type - -// To get this to work a patch in sys/signal must be made -// typedef void SIG_FUNC_TYPE(int); -//#if defined (__cplusplus) -// void (*sa_handler)(int); -//#else -// ... -//#endif -//#define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES -#define ACE_HAS_TANDEM_SIGNALS -//Compiler/platform defines the sig_atomic_t typedef -#define ACE_HAS_SIG_ATOMIC_T -//Platform supports SVR4 extended signals -#define ACE_HAS_SIGINFO_T -//Platform supports ucontext_t (which is used in the extended signal API). -#define ACE_HAS_UCONTEXT_T - -// Platform/compiler has the sigwait(2) prototype -#define ACE_HAS_SIGWAIT - -//Compiler/platform provides the sockio.h file -#define ACE_HAS_SYS_SOCKIO_H - -// Compiler supports the ssize_t typedef -#define ACE_HAS_SSIZE_T // Limits.h must be included - -//Platform supports STREAMS -#define ACE_HAS_STREAMS - -#define ACE_HAS_STREAM_PIPES -//Platform supports STREAM pipes - -//Compiler/platform supports struct strbuf -#define ACE_HAS_STRBUF_T - -//Compiler/platform supports SVR4 dynamic linking semantics -#define ACE_HAS_SVR4_DYNAMIC_LINKING - -//Compiler/platform supports SVR4 TLI (in particular, T_GETNAME stuff)... -#define ACE_HAS_SVR4_TLI - -//Platform provides header -#define ACE_HAS_SYS_FILIO_H - -//Platform supports TLI timod STREAMS module -#define ACE_HAS_TIMOD_H -//Platform supports TLI tiuser header -#define ACE_HAS_TIUSER_H - -//Platform supports TLI -#define ACE_HAS_TLI -//Platform provides TLI function prototypes -#define ACE_HAS_TLI_PROTOTYPES - -//Platform lacks streambuf "linebuffered ()". -#define ACE_LACKS_LINEBUFFERED_STREAMBUF - -// Platform lacks "signed char" type (broken!) -#define ACE_LACKS_SIGNED_CHAR - - -#define ACE_PAGE_SIZE 4096 -// Defines the page size of the system (not used on Win32 or -// with ACE_HAS_GETPAGESIZE). - -/****** THREAD SPECIFIC **********/ -/* If you want to remove threading then comment out the following four #defines .*/ -#if !defined (ACE_MT_SAFE) - #define ACE_MT_SAFE 1 //Compile using multi-thread libraries -#endif -#define ACE_HAS_THREADS //Platform supports threads -#define ACE_HAS_STHREADS //Platform supports Solaris threads - -// Compiler/platform has threadspecific storage -#define ACE_HAS_THREAD_SPECIFIC_STORAGE - -#define ACE_HAS_THR_MINSTACK // Tandem uses thr_minstack instead of thr_min_stack -#define ACE_LACKS_PRI_T // Tandem lacks pri_t -#define ACE_HAS_THR_KEYDELETE - -//************************************* - -/*********************************/ - -/******* SIGNAL STUFF *******/ - -//Platform uses non-const char * in calls to gethostbyaddr, gethostbyname, -// getservbyname -#define ACE_HAS_NONCONST_GETBY -#define ACE_HAS_NONCONST_INET_ADDR -// Platform's select() uses non-const timeval* (only found on Linux right now) -#define ACE_HAS_NONCONST_SELECT_TIMEVAL -// And on Tandem :-) -//Uses ctime_r & asctime_r with only two parameters vs. three. -#define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R -//Platform has special header for select(). -#define ACE_HAS_SELECT_H -// Platform/compiler supports Standard C++ Library -#define ACE_HAS_STANDARD_CPP_LIBRARY -//Platform lacks madvise() (e.g., Linux) -#define ACE_LACKS_MADVISE -#define ACE_LACKS_STRCASECMP - -// Defines the page size of the system. -#define ACE_PAGE_SIZE 4096 - -#include /**/ "ace/post.h" -#endif /* ACE_CONFIG_H */ diff --git a/dep/ACE_wrappers/ace/config-visualage.h b/dep/ACE_wrappers/ace/config-visualage.h deleted file mode 100644 index 4cef8108b..000000000 --- a/dep/ACE_wrappers/ace/config-visualage.h +++ /dev/null @@ -1,20 +0,0 @@ -/* -*- C++ -*- */ -// $Id: config-visualage.h 80826 2008-03-04 14:51:23Z wotte $ - -// This configuration file automatically includes the proper -// configurations for IBM's VisualAge C++ compiler on Win32 and AIX. - -#ifndef CONFIG_VISUALAGE_H -#define CONFIG_VISUALAGE_H -#include /**/ "ace/pre.h" - -#ifdef __TOS_WIN__ - #include "ace/config-win32.h" -#elif __TOS_AIX__ - #include "ace/config-aix-4.x.h" -#else - #include "PLATFORM NOT SPECIFIED" -#endif /* __TOS_WIN__ */ - -#include /**/ "ace/post.h" -#endif //CONFIG_VISUALAGE_H diff --git a/dep/ACE_wrappers/ace/config-win32-borland.h b/dep/ACE_wrappers/ace/config-win32-borland.h deleted file mode 100644 index f5305d3b0..000000000 --- a/dep/ACE_wrappers/ace/config-win32-borland.h +++ /dev/null @@ -1,172 +0,0 @@ -// -*- C++ -*- -//$Id: config-win32-borland.h 92102 2010-09-30 08:14:15Z johnnyw $ - -// The following configuration file contains defines for Borland compilers. - -#ifndef ACE_CONFIG_WIN32_BORLAND_H -#define ACE_CONFIG_WIN32_BORLAND_H -#include /**/ "ace/pre.h" - -#ifndef ACE_CONFIG_WIN32_H -#error Use config-win32.h in config.h instead of this header -#endif /* ACE_CONFIG_WIN32_H */ - -#define ACE_HAS_CUSTOM_EXPORT_MACROS -#define ACE_Proper_Export_Flag __declspec (dllexport) -#define ACE_Proper_Import_Flag __declspec (dllimport) -#define ACE_EXPORT_SINGLETON_DECLARATION(T) template class __declspec (dllexport) T -#define ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) template class __declspec (dllexport) SINGLETON_TYPE; -#define ACE_IMPORT_SINGLETON_DECLARATION(T) template class __declspec (dllimport) T -#define ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) template class __declspec (dllimport) SINGLETON_TYPE ; - -// In later versions of C++Builder we will prefer inline functions by -// default. The debug configuration of ACE is built with functions -// out-of-line, so when linking your application against a debug ACE -// build, you can choose to use the out-of-line functions by adding -// ACE_NO_INLINE=1 to your project settings. -# if !defined (__ACE_INLINE__) -# define __ACE_INLINE__ 1 -# endif /* __ACE_INLINE__ */ - -# define ACE_CC_NAME ACE_TEXT ("Embarcadero C++ Builder") -# define ACE_CC_MAJOR_VERSION (__BORLANDC__ / 0x100) -# define ACE_CC_MINOR_VERSION (__BORLANDC__ % 0x100) -# define ACE_CC_BETA_VERSION (0) - -#if (__BORLANDC__ >= 0x620) -# define ACE_CC_PREPROCESSOR_ARGS "-q -Sl -o%s" -#else -# define ACE_CC_PREPROCESSOR_ARGS "-q -P- -o%s" -#endif - -// Automatically define WIN32 macro if the compiler tells us it is our -// target platform. -# if defined (__WIN32__) && !defined (WIN32) -# define WIN32 1 -# endif - -// When building a VCL application, the main VCL header file should be -// included before anything else. You can define ACE_HAS_VCL=1 in your -// project settings to have this file included for you automatically. -# if defined (ACE_HAS_VCL) && (ACE_HAS_VCL != 0) -# include /**/ -# endif - -# define ACE_CC_PREPROCESSOR "CPP32.EXE" - -# include "ace/config-win32-common.h" - -# define ACE_WSTRING_HAS_USHORT_SUPPORT 1 -# define ACE_HAS_DIRENT - -#define ACE_USES_STD_NAMESPACE_FOR_STDC_LIB 1 - -#define ACE_NEEDS_DL_UNDERSCORE - -#define ACE_LACKS_TERMIOS_H -#define ACE_LACKS_NETINET_TCP_H -#define ACE_LACKS_REGEX_H -#define ACE_LACKS_SYS_MSG_H -#define ACE_LACKS_PWD_H -#define ACE_LACKS_POLL_H -#define ACE_LACKS_SYS_SHM_H -#define ACE_LACKS_STRINGS_H -#define ACE_LACKS_SEMAPHORE_H -#define ACE_LACKS_INTTYPES_H -#define ACE_LACKS_UCONTEXT_H -#define ACE_LACKS_SYS_SELECT_H -#define ACE_LACKS_SYS_TIME_H -#define ACE_LACKS_SYS_RESOURCE_H -#define ACE_LACKS_SYS_WAIT_H -#define ACE_LACKS_DLFCN_H -#define ACE_LACKS_SYS_MMAN_H -#define ACE_LACKS_SYS_UIO_H -#define ACE_LACKS_SYS_SOCKET_H -#define ACE_LACKS_NETINET_IN_H -#define ACE_LACKS_NETDB_H -#define ACE_LACKS_NET_IF_H -#define ACE_LACKS_SYS_IPC_H -#define ACE_LACKS_SYS_SEM_H -#define ACE_LACKS_SYS_IOCTL_H -#define ACE_LACKS_STROPTS_H - -#undef ACE_LACKS_STRUCT_DIR -#undef ACE_LACKS_CLOSEDIR -#undef ACE_LACKS_OPENDIR -#undef ACE_LACKS_READDIR -#undef ACE_LACKS_REWINDDIR - -#define ACE_HAS_WOPENDIR -#define ACE_HAS_WCLOSEDIR -#define ACE_HAS_WREADDIR -#define ACE_HAS_WREWINDDIR - -#define ACE_LACKS_STRRECVFD -#define ACE_USES_EXPLICIT_STD_NAMESPACE - -#define ACE_HAS_TIME_T_LONG_MISMATCH - -#define ACE_EXPORT_NESTED_CLASSES 1 -#define ACE_HAS_CPLUSPLUS_HEADERS 1 -#define ACE_HAS_NONCONST_SELECT_TIMEVAL -#define ACE_HAS_SIG_ATOMIC_T -#define ACE_HAS_STANDARD_CPP_LIBRARY 1 -#define ACE_HAS_STDCPP_STL_INCLUDES 1 -#define ACE_HAS_STRING_CLASS 1 -#define ACE_HAS_USER_MODE_MASKS 1 -#define ACE_LACKS_ACE_IOSTREAM 1 -#define ACE_LACKS_LINEBUFFERED_STREAMBUF 1 -#define ACE_HAS_NEW_NOTHROW -#define ACE_TEMPLATES_REQUIRE_SOURCE 1 -#define ACE_SIZEOF_LONG_DOUBLE 10 -#define ACE_UINT64_FORMAT_SPECIFIER_ASCII "%Lu" -#define ACE_INT64_FORMAT_SPECIFIER_ASCII "%Ld" -#define ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB 1 -#define ACE_USES_STD_NAMESPACE_FOR_ABS 1 -#define ACE_ENDTHREADEX(STATUS) ::_endthreadex ((DWORD) STATUS) - -#if defined(ACE_MT_SAFE) && (ACE_MT_SAFE != 0) -// must have _MT defined to include multithreading -// features from win32 headers -# if !defined(__MT__) -// *** DO NOT *** defeat this error message by defining __MT__ yourself. -// You must link with the multi threaded libraries. Add -tWM to your -// compiler options -# error You must link against multi-threaded libraries when using ACE (check your project settings) -# endif /* !_MT && !ACE_HAS_WINCE */ -#endif /* ACE_MT_SAFE && ACE_MT_SAFE != 0 */ - -#if (__BORLANDC__ < 0x620) -# define ACE_LACKS_ISBLANK -# define ACE_LACKS_ISWBLANK -# define ACE_LACKS_PRAGMA_ONCE 1 -#endif - -#if (__BORLANDC__ < 0x630) -# define ACE_LACKS_ISWCTYPE -# define ACE_LACKS_ISCTYPE -#endif - -#if (__BORLANDC__ < 0x620) -// Older Borland compilers can't handle assembly in inline methods or -// templates (E2211). When we build for pentium optimized and we are inlining -// then we disable inline assembly -# if defined (ACE_HAS_PENTIUM) && defined(__ACE_INLINE__) -# define ACE_LACKS_INLINE_ASSEMBLY -# endif -#endif - -#if (__BORLANDC__ == 0x621) -// C++ Builder 2010 wcsncat seems broken -# define ACE_LACKS_WCSNCAT -#endif - -#define ACE_WCSDUP_EQUIVALENT ::_wcsdup -#define ACE_STRCASECMP_EQUIVALENT ::stricmp -#define ACE_STRNCASECMP_EQUIVALENT ::strnicmp -#define ACE_WTOF_EQUIVALENT ::_wtof -#define ACE_FILENO_EQUIVALENT(X) (_get_osfhandle (::_fileno (X))) -#define ACE_HAS_ITOA 1 - -#include /**/ "ace/post.h" -#endif /* ACE_CONFIG_WIN32_BORLAND_H */ diff --git a/dep/ACE_wrappers/ace/config.h.in b/dep/ACE_wrappers/ace/config.h.in deleted file mode 100644 index 7fcbcff66..000000000 --- a/dep/ACE_wrappers/ace/config.h.in +++ /dev/null @@ -1,2211 +0,0 @@ -/* ace/config.h.in. Generated from configure.ac by autoheader. */ - - -#ifndef ACE_CONFIG_H -#define ACE_CONFIG_H - -// ACE configuration header file - - - - -/* Compiler/platform standard C++ auto_ptr implementation lacks reset() method - */ -#undef ACE_AUTO_PTR_LACKS_RESET - -/* Enable ACE_Timeprobes */ -#undef ACE_COMPILE_TIMEPROBES - -/* */ -#undef ACE_DEFAULT_BASE_ADDR - -/* */ -#undef ACE_DEFAULT_BASE_ADDRL - -/* */ -#undef ACE_DEFAULT_CLOSE_ALL_HANDLES - -/* */ -#undef ACE_DEFAULT_MAX_SOCKET_BUFSIZ - -/* The default number of handles the select()-based reactor should handle */ -#undef ACE_DEFAULT_SELECT_REACTOR_SIZE - -/* Number of TSS keys, with ACE_HAS_TSS_EMULATION _only_. Defaults to 64. */ -#undef ACE_DEFAULT_THREAD_KEYS - -/* Define this if you don't want debug version ACE search for debug version - DLLs first before looking for the DLL names specified. */ -#undef ACE_DISABLE_DEBUG_DLL_CHECK - -/* Do not include emulation for timed semaphore acquisitions. */ -#undef ACE_DISABLE_POSIX_SEM_TIMEOUT_EMULATION - -/* Define to 1 to disable swapping swapping CDR on read */ -#undef ACE_DISABLE_SWAP_ON_READ - -/* Define to DLL file suffix */ -#undef ACE_DLL_SUFFIX - -/* Define to 1 to enable swapping swapping CDR on write */ -#undef ACE_ENABLE_SWAP_ON_WRITE - -/* Compiler requires template args when explicitly calling template - destructor. */ -#undef ACE_EXPLICIT_TEMPLATE_DESTRUCTOR_TAKES_ARGS - -/* Define to 1 if the getsockname() and getpeername() return random values in - the sockaddr_in.sin_zero field. */ -#undef ACE_GETNAME_RETURNS_RANDOM_SIN_ZERO - -/* Uses ctime_r & asctime_r with only two parameters vs. three. */ -#undef ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R - -/* Define to 1 if platform has 2 parameter sched_getaffinity() */ -#undef ACE_HAS_2_PARAM_SCHED_GETAFFINITY - -/* Define to 1 if platform has 2 parameter sched_setaffinity() */ -#undef ACE_HAS_2_PARAM_SCHED_SETAFFINITY - -/* Define to 1 if platform has 3 parameter readdir_r() */ -#undef ACE_HAS_3_PARAM_READDIR_R - -/* Define to 1 if platform has 3 parameter wcstok() */ -#undef ACE_HAS_3_PARAM_WCSTOK - -/* Platform has BSD 4.4 sendmsg()/recvmsg() APIs. */ -#undef ACE_HAS_4_4BSD_SENDMSG_RECVMSG - -/* Platform supports Asynchronous IO calls */ -#undef ACE_HAS_AIO_CALLS - -/* Platform has AIX4 ::read_real_time() */ -#undef ACE_HAS_AIX_HI_RES_TIMER - -/* Compiler/platform supports alloca(). */ -#undef ACE_HAS_ALLOCA - -/* Compiler/platform has */ -#undef ACE_HAS_ALLOCA_H - -/* Define to 1 if system should use Alpha's cycle counter */ -#undef ACE_HAS_ALPHA_TIMER - -/* Use ACE's alternate cuserid() implementation since a system cuserid() may - not exist, or it is not desirable to use it. The implementation requires - ACE_LACKS_PWD_FUNCTIONS to be undefined and that the geteuid() system call - exists. */ -#undef ACE_HAS_ALT_CUSERID - -/* Compiler/platform correctly calls init()/fini() for shared libraries. */ -#undef ACE_HAS_AUTOMATIC_INIT_FINI - -/* Compiler/platform has "big" fd_set, i.e. large number of bits set in fd_set - passed back from select(). */ -#undef ACE_HAS_BIG_FD_SET - -/* Platform sendv() does not work properly with datagrams, i.e. it fails when - the iovec size is IOV_MAX. */ -#undef ACE_HAS_BROKEN_DGRAM_SENDV - -/* Platform doesn't cast MAP_FAILED to a (void *). */ -#undef ACE_HAS_BROKEN_MAP_FAILED - -/* HP/UX does not wrap the mmap(2) header files with extern "C". */ -#undef ACE_HAS_BROKEN_MMAP_H - -/* Platform headers don't support prototypes */ -#undef ACE_HAS_BROKEN_MSG_H - -/* Platform defines struct timespec in */ -#undef ACE_HAS_BROKEN_POSIX_TIME - -/* OS/compiler's header files are inconsistent with libC definition of - rand_r(). */ -#undef ACE_HAS_BROKEN_RANDR - -/* Compiler/platform has the wrong prototype for t_error(), i.e., t_error(char - *) rather than t_error(const char *). */ -#undef ACE_HAS_BROKEN_T_ERROR - -/* Platform has (which contains bzero() prototype) */ -#undef ACE_HAS_BSTRING - -/* Define to 1 if platform has bswap16(). */ -#undef ACE_HAS_BSWAP16 - -/* Define to 1 if platform has bswap32(). */ -#undef ACE_HAS_BSWAP32 - -/* Define to 1 if platform has bswap64(). */ -#undef ACE_HAS_BSWAP64 - -/* Define to 1 if platform has bswap_16(). */ -#undef ACE_HAS_BSWAP_16 - -/* Define to 1 if platform has bswap_32(). */ -#undef ACE_HAS_BSWAP_32 - -/* Define to 1 if platform has bswap_64(). */ -#undef ACE_HAS_BSWAP_64 - -/* Define to 1 if platform has the header file. */ -#undef ACE_HAS_BYTESEX_H - -/* Define to 1 if platform has the header file. */ -#undef ACE_HAS_BYTESWAP_H - -/* Platform supports the Win32 CancelIO() function. (WinNT 4.0 and beyond) */ -#undef ACE_HAS_CANCEL_IO - -/* OS/platform uses char * for dlopen/dlsym args, rather than const char *. */ -#undef ACE_HAS_CHARPTR_DL - -/* Define to 1 if arg 2 of 'shmat' is char *' */ -#undef ACE_HAS_CHARPTR_SHMAT - -/* Define to 1 if arg 1 of 'shmdt' is char *' */ -#undef ACE_HAS_CHARPTR_SHMDT - -/* OS/platform uses char * for sockopt, rather than const char * */ -#undef ACE_HAS_CHARPTR_SOCKOPT - -/* Define to 1 if platform has clock_gettime(). */ -#undef ACE_HAS_CLOCK_GETTIME - -/* Define to 1 if platform has clock_settime(). */ -#undef ACE_HAS_CLOCK_SETTIME - -/* OS header files have some problems with XTI (HP/UX 11). */ -#undef ACE_HAS_CONFLICTING_XTI_MACROS - -/* Prototypes for both signal() and struct sigaction are consistent. */ -#undef ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES - -/* Platform has swab(const char*, char*, ssize_t) variant. */ -#undef ACE_HAS_CONST_CHAR_SWAB - -/* Compiler/platform has correctly prototyped header files. */ -#undef ACE_HAS_CPLUSPLUS_HEADERS - -/* Define to 1 if the system has the type `cpu_set_t'. */ -#undef ACE_HAS_CPU_SET_T - -/* Platform defines custom DSO/DLL symbol export macros. */ -#undef ACE_HAS_CUSTOM_EXPORT_MACROS - -/* Platform supports /dev/poll character device. */ -#undef ACE_HAS_DEV_POLL - -/* Platform supports operations on directories via struct dirent, readdir_r, - etc. */ -#undef ACE_HAS_DIRENT - -/* Build ACE using the frigging PC DLL nonsense... */ -#undef ACE_HAS_DLL - -/* Define to 1 if the dlsym() call segfaults when passed an invalid handle. */ -#undef ACE_HAS_DLSYM_SEGFAULT_ON_INVALID_HANDLE - -/* Platform (Linux) supports event poll interface. */ -#undef ACE_HAS_EVENT_POLL - -/* Compiler supports C++ exception handling. */ -#undef ACE_HAS_EXCEPTIONS - -/* Platform has Fast-Light (FL) toolkit installed. */ -#undef ACE_HAS_FL - -/* Define to 1 if compiler has builtin atomic support */ -#undef ACE_HAS_GCC_ATOMIC_BUILTINS - -/* Define to 1 if platform has getifaddrs(). */ -#undef ACE_HAS_GETIFADDRS - -/* Platform supports getpagesize() call (otherwise, ACE_PAGE_SIZE must be - defined, except on Win32). */ -#undef ACE_HAS_GETPAGESIZE - -/* Define to 1 if platform has getprogname(). */ -#undef ACE_HAS_GETPROGNAME - -/* Define to 1 if platform has getrusage(). */ -#undef ACE_HAS_GETRUSAGE - -/* Define to 1 if platform has the declaration of getrusage(). */ -#undef ACE_HAS_GETRUSAGE_PROTOTYPE - -/* Enable use of GNU template repositories. GNU C++ w/repo patch and EGCS only - */ -#undef ACE_HAS_GNU_REPO - -/* The GPERF utility is compiled for this platform */ -#undef ACE_HAS_GPERF - -/* Optimize ACE_Handle_Set::count_bits for select() operations (common case) - */ -#undef ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT - -/* Define to 1 if system has SunOS high resolution timer. */ -#undef ACE_HAS_HI_RES_TIMER - -/* Define to 1 if platform has the header file. */ -#undef ACE_HAS_IA32INTRIN_H - -/* Define to 1 if platform has the header file. */ -#undef ACE_HAS_IA64INTRIN_H - -/* Defined to 1 if platform supports ICMP over raw sockets */ -#undef ACE_HAS_ICMP_SUPPORT - -/* Define to 1 if the system has the type `idtype_t'. */ -#undef ACE_HAS_IDTYPE_T - -/* Inline all the static class OS methods to remove call overhead Note: This - gets defined by OS.h if __ACE_INLINE__ is defined */ -#undef ACE_HAS_INLINED_OSCALLS - -/* Define to 1 if the system has the type `int16_t'. */ -#undef ACE_HAS_INT16_T - -/* Define to 1 if the system has the type `int32_t'. */ -#undef ACE_HAS_INT32_T - -/* Define to 1 if the system has the type `int64_t'. */ -#undef ACE_HAS_INT64_T - -/* Define to 1 if the system has the type `int8_t'. */ -#undef ACE_HAS_INT8_T - -/* Define to 1 if the system supports x86/x86_64 inline assembly */ -#undef ACE_HAS_INTEL_ASSEMBLY - -/* Platform supports the intrinsic interlocked optimizations. */ -#undef ACE_HAS_INTRINSIC_INTERLOCKED - -/* Define to 1 if platform has the header file. */ -#undef ACE_HAS_INTRIN_H - -/* Platform supports IPv6 */ -#undef ACE_HAS_IPV6 - -/* Platform supports IP multicast */ -#undef ACE_HAS_IP_MULTICAST - -/* Platform supports the very odd IRIX 6.2 threads... */ -#undef ACE_HAS_IRIX62_THREADS - -/* Define to 1 if platform has the declaration of isastream(). */ -#undef ACE_HAS_ISASTREAM_PROTOTYPE - -/* Define to 1 if platform has itoa(). */ -#undef ACE_HAS_ITOA - -/* The rusage_t structure has only two fields. */ -#undef ACE_HAS_LIMITED_RUSAGE_T - -/* Define to 1 if system has Linux version of sysinfo(). */ -#undef ACE_HAS_LINUX_SYSINFO - -/* Platform supports llseek(). This should not be defined if ACE_HAS_LSEEK64 - is defined. */ -#undef ACE_HAS_LLSEEK - -/* Platform defines MAP_FAILED as a long constant. */ -#undef ACE_HAS_LONG_MAP_FAILED - -/* Platform supports lseek64(). This should not be defined if ACE_HAS_LLSEEK - is defined. */ -#undef ACE_HAS_LSEEK64 - -/* */ -#undef ACE_HAS_LYNXOS4_SIGNALS - -/* Enabled malloc statistics collection. */ -#undef ACE_HAS_MALLOC_STATS - -/* Define to 1 if platform has memchr(). */ -#undef ACE_HAS_MEMCHR - -/* Define to 1 if unrolled ACE_OS::fast_memcpy() is faster than system - memcpy() */ -#undef ACE_HAS_MEMCPY_LOOP_UNROLL - -/* Platform supports Microsoft Foundation Classes */ -#undef ACE_HAS_MFC - -/* Define to 1 if platform has mkdir(). */ -#undef ACE_HAS_MKDIR - -/* Platform supports recvmsg and sendmsg */ -#undef ACE_HAS_MSG - -/* Platform supports MT safe mktime() call (do any of them?) */ -#undef ACE_HAS_MT_SAFE_MKTIME - -/* Sockets may be called in multi-threaded programs */ -#undef ACE_HAS_MT_SAFE_SOCKETS - -/* Compiler supports timed mutex acquisitions (e.g. - pthread_mutex_timedlock()). */ -#undef ACE_HAS_MUTEX_TIMEOUTS - -/* Define to 1 if platform has nanosleep(). */ -#undef ACE_HAS_NANOSLEEP - -/* Define to 1 if platform has the header file. */ -#undef ACE_HAS_NEW_H - -/* Compiler supports new (std::nothrow) */ -#undef ACE_HAS_NEW_NOTHROW - -/* Platform provides new style C++ header */ -#undef ACE_HAS_NEW_NO_H - -/* Define to 1 if system has nonconst FD_ISSET() macro. */ -#undef ACE_HAS_NONCONST_FD_ISSET - -/* Platform uses non-const char * in calls to gethostbyaddr, gethostbyname, - getservbyname */ -#undef ACE_HAS_NONCONST_GETBY - -/* Platform has a non-const parameter to msgsnd() (e.g., SCO). */ -#undef ACE_HAS_NONCONST_MSGSND - -/* Platform omits const qualifier from iovec parameter in readv() prototype. - */ -#undef ACE_HAS_NONCONST_READV - -/* Platform's select() uses non-const timeval* (only found on Linux right now) - */ -#undef ACE_HAS_NONCONST_SELECT_TIMEVAL - -/* Platform omits const qualifier from msghdr parameter in sendmsg() - prototype. */ -#undef ACE_HAS_NONCONST_SENDMSG - -/* Platform omits const qualifier from rlimit parameter in setrlimit() - prototype. */ -#undef ACE_HAS_NONCONST_SETRLIMIT - -/* Platform has swab(char*, char*, ssize_t) variant. */ -#undef ACE_HAS_NONCONST_SWAB - -/* Platform omits const qualifier from iovec parameter in writev() prototype. - */ -#undef ACE_HAS_NONCONST_WRITEV - -/* Causes the ACE_Object_Manager instance to be created in main (int, char - *[]), instead of as a static (global) instance. */ -#undef ACE_HAS_NONSTATIC_OBJECT_MANAGER - -/* Compiler/platform uses old malloc()/free() prototypes (ugh) */ -#undef ACE_HAS_OLD_MALLOC - -/* Platform, e.g., Solaris 2.5, only supports SCHED_OTHER POSIX scheduling - policy. */ -#undef ACE_HAS_ONLY_SCHED_OTHER - -/* Use the semaphore implementation of ACE_Message_Queue rather than the - emulated condition variable (NT and VxWorks). */ -#undef ACE_HAS_OPTIMIZED_MESSAGE_QUEUE - -/* timezone* 2nd parameter & no prototype */ -#undef ACE_HAS_OSF1_GETTIMEOFDAY - -/* Platform supports the OSF TLI timod STREAMS module */ -#undef ACE_HAS_OSF_TIMOD_H - -/* Define to 1 if platform has the header file. */ -#undef ACE_HAS_PDH_H - -/* Define to 1 if system is using Intel Pentium(tm) processor */ -#undef ACE_HAS_PENTIUM - -/* Platform contains */ -#undef ACE_HAS_POLL - -/* Platform supports "position-independent" features provided by - ACE_Based_Pointer<>. */ -#undef ACE_HAS_POSITION_INDEPENDENT_POINTERS - -/* Platform supports POSIX getpwnam_r() function */ -#undef ACE_HAS_POSIX_GETPWNAM_R - -/* Platform supports POSIX O_NONBLOCK semantics */ -#undef ACE_HAS_POSIX_NONBLOCK - -/* Platform supports POSIX realtime signals */ -#undef ACE_HAS_POSIX_REALTIME_SIGNALS - -/* Platform supports POSIX real-time semaphores (e.g., VxWorks and Solaris) */ -#undef ACE_HAS_POSIX_SEM - -/* Platform supports timed POSIX semaphore acquisitions (sem_timedwait()). */ -#undef ACE_HAS_POSIX_SEM_TIMEOUT - -/* Platform supports the POSIX struct timespec type */ -#undef ACE_HAS_POSIX_TIME - -/* Define to 1 if system should use PowerPC's cycle counter */ -#undef ACE_HAS_POWERPC_TIMER - -/* OS has priocntl (2) */ -#undef ACE_HAS_PRIOCNTL - -/* Platform supports the /proc file system and defines tid_t in - */ -#undef ACE_HAS_PROC_FS - -/* Define to 1 if the system has the type `prusage_t'. */ -#undef ACE_HAS_PRUSAGE_T - -/* Define to 1 if platform has POSIX threads */ -#undef ACE_HAS_PTHREADS - -/* Platform supports POSIX Threads .4a Draft 4 */ -#undef ACE_HAS_PTHREADS_DRAFT4 - -/* Platform supports POSIX Threads .4a Draft 6 */ -#undef ACE_HAS_PTHREADS_DRAFT6 - -/* Platform supports POSIX Threads .1c Draft 7 */ -#undef ACE_HAS_PTHREADS_DRAFT7 - -/* Platform supports POSIX.1c-1995 threads */ -#undef ACE_HAS_PTHREADS_STD - -/* Platform has the UNIX98 extensions to Pthreads (rwlocks) */ -#undef ACE_HAS_PTHREADS_UNIX98_EXT - -/* Define to 1 if platform has pthread_attr_setcreatesuspend_np(). */ -#undef ACE_HAS_PTHREAD_ATTR_SETCREATESUSPEND_NP - -/* Define to 1 if platform has pthread_condattr_setkind_np(). */ -#undef ACE_HAS_PTHREAD_CONDATTR_SETKIND_NP - -/* Define to 1 if platform has pthread_continue(). */ -#undef ACE_HAS_PTHREAD_CONTINUE - -/* Define to 1 if platform has pthread_continue_np(). */ -#undef ACE_HAS_PTHREAD_CONTINUE_NP - -/* Define to 1 if platform has pthread_getaffinity_np(). */ -#undef ACE_HAS_PTHREAD_GETAFFINITY_NP - -/* Define to 1 if platform has pthread_getconcurrency(). */ -#undef ACE_HAS_PTHREAD_GETCONCURRENCY - -/* Define to 1 if platform has pthread_mutexattr_setkind_np(). */ -#undef ACE_HAS_PTHREAD_MUTEXATTR_SETKIND_NP - -/* Define to 1 if platform has the header file. */ -#undef ACE_HAS_PTHREAD_NP_H - -/* pthread.h declares an enum with PTHREAD_PROCESS_PRIVATE and - PTHREAD_PROCESS_SHARED values */ -#undef ACE_HAS_PTHREAD_PROCESS_ENUM - -/* Define to 1 if platform has pthread_resume_np(). */ -#undef ACE_HAS_PTHREAD_RESUME_NP - -/* Define to 1 if platform has pthread_setaffinity_np(). */ -#undef ACE_HAS_PTHREAD_SETAFFINITY_NP - -/* Define to 1 if platform has pthread_setconcurrency(). */ -#undef ACE_HAS_PTHREAD_SETCONCURRENCY - -/* Define to 1 if platform has the declaration of pthread_sigmask(). */ -#undef ACE_HAS_PTHREAD_SIGMASK_PROTOTYPE - -/* Define to 1 if platform has pthread_suspend(). */ -#undef ACE_HAS_PTHREAD_SUSPEND - -/* Define to 1 if platform has pthread_suspend_np(). */ -#undef ACE_HAS_PTHREAD_SUSPEND_NP - -/* Purify'ing. Defined on command line. */ -#undef ACE_HAS_PURIFY - -/* Platform has pread() and pwrite() support. */ -#undef ACE_HAS_P_READ_WRITE - -/* Quantify'ing. Defined on command line. */ -#undef ACE_HAS_QUANTIFY - -/* Define to 1 to configure Reactor to use a user-space queue for - notifications */ -#undef ACE_HAS_REACTOR_NOTIFICATION_QUEUE - -/* Mutexes are inherently recursive (e.g., Win32) */ -#undef ACE_HAS_RECURSIVE_MUTEXES - -/* Platform will recurse infinitely on thread exits from TSS cleanup routines - (e.g., AIX) */ -#undef ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS - -/* Platform supports reentrant functions (i.e., all the POSIX *_r functions). - */ -#undef ACE_HAS_REENTRANT_FUNCTIONS - -/* Platform supports the POSIX regular expression library */ -#undef ACE_HAS_REGEX - -/* Platform has enum instead of int for first argument to ::{get,set}rlimit - (). The value of this macro is the enum definition, e.g., enum - __rlimit_resource, for Linux glibc 2.0. */ -#undef ACE_HAS_RLIMIT_RESOURCE_ENUM - -/* Platform has enum instead of int for first argument to ::getrusage (). The - value of this macro is the enum definition, e.g., enum __rusage_who, for - Linux glibc 2.0. */ -#undef ACE_HAS_RUSAGE_WHO_ENUM - -/* Define to 1 if platform has sched_getaffinity(). */ -#undef ACE_HAS_SCHED_GETAFFINITY - -/* Define to 1 if platform has sched_setaffinity(). */ -#undef ACE_HAS_SCHED_SETAFFINITY - -/* Define to 1 if platform has the header file. */ -#undef ACE_HAS_SELECT_H - -/* Compiler/platform defines a union semun for SysV shared memory */ -#undef ACE_HAS_SEMUN - -/* Define to 1 if platform has setprogname(). */ -#undef ACE_HAS_SETPROGNAME - -/* Define to 1 if platform has set_t_errno(). */ -#undef ACE_HAS_SET_T_ERRNO - -/* Platform has shm_open() */ -#undef ACE_HAS_SHM_OPEN - -/* Platform's sigaction() function takes const sigaction* as 2nd parameter */ -#undef ACE_HAS_SIGACTION_CONSTP2 - -/* Define to 1 if the system has the type `siginfo_t'. */ -#undef ACE_HAS_SIGINFO_T - -/* Platform has bug with sigismember() (HP/UX 11). */ -#undef ACE_HAS_SIGISMEMBER_BUG - -/* Platform supports the Win32 SignalObjectAndWait() function (WinNT 4.0 and - beyond). */ -#undef ACE_HAS_SIGNAL_OBJECT_AND_WAIT - -/* Define to 1 if platform has sigsuspend(). */ -#undef ACE_HAS_SIGSUSPEND - -/* Define to 1 if platform has sigtimedwait(). */ -#undef ACE_HAS_SIGTIMEDWAIT - -/* Define to 1 if `sigval_int' is a member of `union sigval'. */ -#undef ACE_HAS_SIGVAL_SIGVAL_INT - -/* Define to 1 if `sigval_ptr' is a member of `union sigval'. */ -#undef ACE_HAS_SIGVAL_SIGVAL_PTR - -/* Define to 1 if platform has sigwait(). */ -#undef ACE_HAS_SIGWAIT - -/* Define to 1 if the system has the type 'sig_atomic_t'. */ -#undef ACE_HAS_SIG_ATOMIC_T - -/* Compiler requires extern "C" functions for signals. */ -#undef ACE_HAS_SIG_C_FUNC - -/* OS/compiler uses size_t * rather than int * for socket lengths */ -#undef ACE_HAS_SIZET_SOCKET_LEN - -/* Define to 1 if `sin6_len' is a member of `sockaddr_in6'. */ -#undef ACE_HAS_SOCKADDR_IN6_SIN6_LEN - -/* Define to 1 if `sin_len' is a member of `sockaddr_in'. */ -#undef ACE_HAS_SOCKADDR_IN_SIN_LEN - -/* Platform requires (struct sockaddr *) for msg_name field of struct msghdr. - */ -#undef ACE_HAS_SOCKADDR_MSG_NAME - -/* Define to 1 if the system has the type `socklen_t'. */ -#undef ACE_HAS_SOCKLEN_T - -/* Define to 1 if the system has the type `ssize_t'. */ -#undef ACE_HAS_SSIZE_T - -/* Platform/compiler supports Standard C++ Library */ -#undef ACE_HAS_STANDARD_CPP_LIBRARY - -/* Platform has void (*)(...) prototype for pthread_key_create() destructor - (e.g., LynxOS). */ -#undef ACE_HAS_STDARG_THR_DEST - -/* */ -#undef ACE_HAS_STDCPP_STL_INCLUDES - -/* Platform provides C++ header */ -#undef ACE_HAS_STDEXCEPT_NO_H - -/* Define to 1 if platform has UNIX International Threads */ -#undef ACE_HAS_STHREADS - -/* Define to 1 if the system has the type `struct strbuf'. */ -#undef ACE_HAS_STRBUF_T - -/* Define to 1 use ACE's strdup() emulation */ -#undef ACE_HAS_STRDUP_EMULATION - -/* Platform supports STREAMS */ -#undef ACE_HAS_STREAMS - -/* Platform supports STREAM pipes */ -#undef ACE_HAS_STREAM_PIPES - -/* Use the STRICT compilation mode on Win32. */ -#undef ACE_HAS_STRICT - -/* Platform has (which contains bzero() prototype) */ -#undef ACE_HAS_STRINGS - -/* Platform/Compiler supports a String class (e.g., GNU or Win32). */ -#undef ACE_HAS_STRING_CLASS - -/* Define to 1 if platform has strnlen(). */ -#undef ACE_HAS_STRNLEN - -/* Define to 1 if platform has strsignal(). */ -#undef ACE_HAS_STRSIGNAL - -/* Compiler/platform has strange hostent API for socket *_r() calls */ -#undef ACE_HAS_STRUCT_NETDB_DATA - -/* Compiler/platform supports SVR4 dynamic linking semantics */ -#undef ACE_HAS_SVR4_DYNAMIC_LINKING - -/* Compiler/platform supports SVR4 gettimeofday() prototype but doesn't have a - prototype */ -#undef ACE_HAS_SVR4_GETTIMEOFDAY - -/* Compiler/platform supports SVR4 signal typedef. */ -#undef ACE_HAS_SVR4_SIGNAL_T - -/* Compiler/platform supports SVR4 TLI (in particular, T_GETNAME stuff). */ -#undef ACE_HAS_SVR4_TLI - -/* Define to 1 if platform has sysctl(). */ -#undef ACE_HAS_SYSCTL - -/* Define to 1 if platform has the header file. */ -#undef ACE_HAS_SYSENT_H - -/* Platform supports System V IPC (most versions of UNIX, but not Win32) */ -#undef ACE_HAS_SYSV_IPC - -/* Define to 1 if system has SysV version of sysinfo(). */ -#undef ACE_HAS_SYSV_SYSINFO - -/* Define to 1 if platform has the header file. */ -#undef ACE_HAS_SYS_FILIO_H - -/* Define to 1 if platform has the header file. */ -#undef ACE_HAS_SYS_LOADAVG_H - -/* Define to 1 if platform has the header file. */ -#undef ACE_HAS_SYS_PSTAT_H - -/* Compiler/platform supports _sys_siglist array */ -#undef ACE_HAS_SYS_SIGLIST - -/* Define to 1 if platform has the header file. */ -#undef ACE_HAS_SYS_SOCKIO_H - -/* Define to 1 if platform has the header file. */ -#undef ACE_HAS_SYS_SYSCALL_H - -/* Define to 1 if platform has the header file. */ -#undef ACE_HAS_SYS_SYSINFO_H - -/* Define to 1 if platform has the header file. */ -#undef ACE_HAS_SYS_SYSTEMINFO_H - -/* Platform provides header */ -#undef ACE_HAS_SYS_XTI_H - -/* */ -#undef ACE_HAS_TANDEM_SIGNALS - -/* Compiler implements templates that support typedefs inside of classes used - as formal arguments to a template class. */ -#undef ACE_HAS_TEMPLATE_TYPEDEFS - -/* Define to 1 if system supports SysV tty API. */ -#undef ACE_HAS_TERMIO - -/* Define to 1 if system supports POSIX tty API. */ -#undef ACE_HAS_TERMIOS - -/* Platform supports threads. */ -#undef ACE_HAS_THREADS - -/* Platform allows multiple threads to call accept() on the same port (e.g., - WinNT). */ -#undef ACE_HAS_THREAD_SAFE_ACCEPT - -/* Platform has thread_self() rather than pthread_self() (e.g., DCETHREADS and - AIX) */ -#undef ACE_HAS_THREAD_SELF - -/* Compiler/platform has thread-specific storage */ -#undef ACE_HAS_THREAD_SPECIFIC_STORAGE - -/* The pthread_keycreate() routine *must* take extern C functions. */ -#undef ACE_HAS_THR_C_DEST - -/* The pthread_create() routine *must* take extern C functions. */ -#undef ACE_HAS_THR_C_FUNC - -/* Platform supports thr_keydelete (e.g,. UNIXWARE) */ -#undef ACE_HAS_THR_KEYDELETE - -/* Platform calls thr_minstack() rather than thr_min_stack() (e.g., Tandem). - */ -#undef ACE_HAS_THR_MINSTACK - -/* Platform has thr_yield() */ -#undef ACE_HAS_THR_YIELD - -/* Define to 1 if platform has global timezone variable */ -#undef ACE_HAS_TIMEZONE - -/* Platform/compiler supports timezone * as second parameter to gettimeofday() - and has a prototype. */ -#undef ACE_HAS_TIMEZONE_GETTIMEOFDAY - -/* Platform supports TLI timod STREAMS module */ -#undef ACE_HAS_TIMOD_H - -/* Platform supports TLI tiuser header */ -#undef ACE_HAS_TIUSER_H - -/* Platform does not protect with extern "C" */ -#undef ACE_HAS_TIUSER_H_BROKEN_EXTERN_C - -/* Platform supports TLI. Also see ACE_TLI_TCP_DEVICE. */ -#undef ACE_HAS_TLI - -/* Platform provides TLI function prototypes */ -#undef ACE_HAS_TLI_PROTOTYPES - -/* ACE provides TSS emulation. See also ACE_DEFAULT_THREAD_KEYS. */ -#undef ACE_HAS_TSS_EMULATION - -/* Define to 1 if platform has ualarm(). */ -#undef ACE_HAS_UALARM - -/* Define to 1 if the system has the type `ucontext_t'. */ -#undef ACE_HAS_UCONTEXT_T - -/* Define to 1 if the system has the type `uint16_t'. */ -#undef ACE_HAS_UINT16_T - -/* Define to 1 if the system has the type `uint32_t'. */ -#undef ACE_HAS_UINT32_T - -/* Define to 1 if the system has the type `uint64_t'. */ -#undef ACE_HAS_UINT64_T - -/* Define to 1 if the system has the type `uint8_t'. */ -#undef ACE_HAS_UINT8_T - -/* Has inconsistent SVR4 signal stuff, but not the same as the other platforms - */ -#undef ACE_HAS_UNIXWARE_SVR4_SIGNAL_T - -/* Define to 1 if platform has vasprintf(). */ -#undef ACE_HAS_VASPRINTF - -/* Define to 1 if platform has vaswprintf(). */ -#undef ACE_HAS_VASWPRINTF - -/* Prints out console message in ACE_NOTSUP. Useful for tracking down origin - of ACE_NOTSUP. */ -#undef ACE_HAS_VERBOSE_NOTSUP - -/* Define to 1 if platform has vfwprintf(). */ -#undef ACE_HAS_VFWPRINTF - -/* Platform/compiler supports void * as second parameter to gettimeofday() and - has a prototype. */ -#undef ACE_HAS_VOIDPTR_GETTIMEOFDAY - -/* Platform requires void * for mmap(). */ -#undef ACE_HAS_VOIDPTR_MMAP - -/* OS/compiler uses void * arg 4 setsockopt() rather than const char * */ -#undef ACE_HAS_VOIDPTR_SOCKOPT - -/* Define to 1 if platform has vswprintf(). */ -#undef ACE_HAS_VSWPRINTF - -/* Platform/compiler supports wchar_t */ -#undef ACE_HAS_WCHAR - -/* Define to 1 use ACE's wcsdup() emulation */ -#undef ACE_HAS_WCSDUP_EMULATION - -/* Define to 1 if platform has wcsnlen(). */ -#undef ACE_HAS_WCSNLEN - -/* Platform/compiler supports Win32 structural exceptions. */ -#undef ACE_HAS_WIN32_STRUCTURAL_EXCEPTIONS - -/* The Win32 platform support TryEnterCriticalSection(). (WinNT 4.0 and - beyond) */ -#undef ACE_HAS_WIN32_TRYLOCK - -/* The Win32 platform supports WinSock 2.0. */ -#undef ACE_HAS_WINSOCK2 - -/* Compiler handles explicit calling of template destructor correctly. */ -#undef ACE_HAS_WORKING_EXPLICIT_TEMPLATE_DESTRUCTOR - -/* Solaris for intel uses macros for fstat() and stat(), these are wrappers - for _fxstat() and _xstat() uses of the macros. Causes compile and runtime - problems. */ -#undef ACE_HAS_X86_STAT_MACROS - -/* Platform has the XLI version of TLI */ -#undef ACE_HAS_XLI - -/* Platform has support for multi-byte character support compliant with the - XPG4 Worldwide Portability Interface wide-character classification. */ -#undef ACE_HAS_XPG4_MULTIBYTE_CHAR - -/* Platform has Xt Intrinsics Toolkit */ -#undef ACE_HAS_XT - -/* Platform has XTI (X/Open-standardized superset of TLI). Implies ACE_HAS_TLI - but uses a different header file. */ -#undef ACE_HAS_XTI - -/* Define to 1 if platform has _InterlockedDecrement(). */ -#undef ACE_HAS__INTERLOCKEDDECREMENT - -/* Define to 1 if platform has _InterlockedExchangeAdd(). */ -#undef ACE_HAS__INTERLOCKEDEXCHANGEADD - -/* Define to 1 if platform has _InterlockedIncrement(). */ -#undef ACE_HAS__INTERLOCKEDINCREMENT - -/* Define to the *printf format specifier (e.g. "%lld") for ACE_INT64 */ -#undef ACE_INT64_FORMAT_SPECIFIER - -/* Define to signed 64 bit integer type */ -#undef ACE_INT64_TYPE - -/* Define to the type of arg 2 for `ioctl'. */ -#undef ACE_IOCTL_TYPE_ARG2 - -/* Define to 1 if platform lacks access(). */ -#undef ACE_LACKS_ACCESS - -/* Do not compile support for the "Codecs" ACE features. */ -#undef ACE_LACKS_ACE_CODECS - -/* Platform can not build ace/IOStream{,_T}.cpp. This does not necessarily - mean that the platform does not support iostreams. */ -#undef ACE_LACKS_ACE_IOSTREAM - -/* Do not compile support for the "other" ACE features, such as CORBA - handling, name services, and QoS. */ -#undef ACE_LACKS_ACE_OTHER - -/* Do not compile support for the ACE Service Configurator. */ -#undef ACE_LACKS_ACE_SVCCONF - -/* Do not compile support for the ACE Token feature. */ -#undef ACE_LACKS_ACE_TOKEN - -/* Do not compile support for the ACE UUID feature. */ -#undef ACE_LACKS_ACE_UUID - -/* Define to 1 if platform lacks alarm(). */ -#undef ACE_LACKS_ALARM - -/* Define to 1 if platform lacks alphasort(). */ -#undef ACE_LACKS_ALPHASORT - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_ARPA_INET_H - -/* Define to 1 if platform lacks asctime(). */ -#undef ACE_LACKS_ASCTIME - -/* Define to 1 if platform lacks asctime_r(). */ -#undef ACE_LACKS_ASCTIME_R - -/* No system support for replacing any previous mappings. */ -#undef ACE_LACKS_AUTO_MMAP_REPLACEMENT - -/* Platform lacks support for the standard C++ auto_ptr class */ -#undef ACE_LACKS_AUTO_PTR - -/* Define to 1 if platform lacks bsearch(). */ -#undef ACE_LACKS_BSEARCH - -/* Define to 1 to support unaligned CDR */ -#undef ACE_LACKS_CDR_ALIGNMENT - -/* Compiler does not have any istream operator>> for chars, u_chars, or signed - chars. */ -#undef ACE_LACKS_CHAR_RIGHT_SHIFTS - -/* Compiler does not have operator>> (istream &, u_char *) or operator>> - (istream &, signed char *) */ -#undef ACE_LACKS_CHAR_STAR_RIGHT_SHIFTS - -/* Define to 1 if platform lacks chdir(). */ -#undef ACE_LACKS_CHDIR - -/* Define to 1 if system lacks pthread_condattr_setpshared() */ -#undef ACE_LACKS_CONDATTR_PSHARED - -/* Platform lacks condition variables (e.g., Win32 and VxWorks) */ -#undef ACE_LACKS_COND_T - -/* pthread_cond_timedwait does *not* reset the time argument when the lock is - acquired. */ -#undef ACE_LACKS_COND_TIMEDWAIT_RESET - -/* Platform uses struct strbuf * rather than const struct strbuf * (e.g., - HP/UX 10.x) */ -#undef ACE_LACKS_CONST_STRBUF_PTR - -/* Platform forgot const in cond_timewait (e.g., HP/UX). */ -#undef ACE_LACKS_CONST_TIMESPEC_PTR - -/* Define to 1 if platform lacks difftime(). */ -#undef ACE_LACKS_DIFFTIME - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_DIRENT_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_DLFCN_H - -/* Define to 1 if platform lacks dup(). */ -#undef ACE_LACKS_DUP - -/* Define to 1 if platform lacks dup2(). */ -#undef ACE_LACKS_DUP2 - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_ERRNO_H - -/* Platform lacks the exec() family of system calls (e.g., Win32, VxWorks, - Chorus) */ -#undef ACE_LACKS_EXEC - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_EXECINFO_H - -/* Define to 1 if platform lacks fcntl(). */ -#undef ACE_LACKS_FCNTL - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_FCNTL_H - -/* Define to 1 if platform lacks fgetwc(). */ -#undef ACE_LACKS_FGETWC - -/* Define to 1 if platform lacks fgetws(). */ -#undef ACE_LACKS_FGETWS - -/* Define to 1 if the system lacks the type `struct flock'. */ -#undef ACE_LACKS_FILELOCKS - -/* Define to 1 if platform lacks fork(). */ -#undef ACE_LACKS_FORK - -/* Define to 1 if platform lacks fputws(). */ -#undef ACE_LACKS_FPUTWS - -/* Define to 1 if platform lacks fsync(). */ -#undef ACE_LACKS_FSYNC - -/* Define to 1 if platform lacks getcwd(). */ -#undef ACE_LACKS_GETCWD - -/* Define to 1 if platform lacks getegid(). */ -#undef ACE_LACKS_GETEGID - -/* Define to 1 if platform lacks geteuid(). */ -#undef ACE_LACKS_GETEUID - -/* Define to 1 if platform lacks getgid(). */ -#undef ACE_LACKS_GETGID - -/* Define to 1 if platform lacks gethostent(). */ -#undef ACE_LACKS_GETHOSTENT - -/* Define to 1 if platform lacks getipnodebyaddr(). */ -#undef ACE_LACKS_GETIPNODEBYADDR - -/* Define to 1 if platform lacks getipnodebyname(). */ -#undef ACE_LACKS_GETIPNODEBYNAME - -/* Define to 1 if platform lacks getopt(). */ -#undef ACE_LACKS_GETOPT - -/* Define to 1 if platform lacks the declaration of getopt(). */ -#undef ACE_LACKS_GETOPT_PROTOTYPE - -/* Define to 1 if platform lacks getpgid(). */ -#undef ACE_LACKS_GETPGID - -/* Define to 1 if platform lacks getpgid() declaration in . */ -#undef ACE_LACKS_GETPGID_PROTOTYPE - -/* Define to 1 if platform lacks getpid(). */ -#undef ACE_LACKS_GETPID - -/* Define to 1 if platform lacks getppid(). */ -#undef ACE_LACKS_GETPPID - -/* Platforms lacks getservbyname() (e.g., VxWorks and Chorus). */ -#undef ACE_LACKS_GETSERVBYNAME - -/* Define to 1 if platform lacks getuid(). */ -#undef ACE_LACKS_GETUID - -/* Define to 1 if platform lacks gmtime(). */ -#undef ACE_LACKS_GMTIME - -/* Define to 1 if platform lacks gmtime_r(). */ -#undef ACE_LACKS_GMTIME_R - -/* Define to 1 if platform lacks inet_aton(). */ -#undef ACE_LACKS_INET_ATON - -/* Platform can't handle "inline" keyword correctly. */ -#undef ACE_LACKS_INLINE_FUNCTIONS - -/* Define to 1 if the system lacks the type `intmax_t'. */ -#undef ACE_LACKS_INTMAX_T - -/* Define to 1 if the system lacks the type `intptr_t'. */ -#undef ACE_LACKS_INTPTR_T - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_INTTYPES_H - -/* iostream header does not declare ipfx (), opfx (), etc. */ -#undef ACE_LACKS_IOSTREAM_FX - -/* iostreams are not supported adequately on the given platform. */ -#undef ACE_LACKS_IOSTREAM_TOTALLY - -/* Define to 1 if platform lacks isatty(). */ -#undef ACE_LACKS_ISATTY - -/* Define to 1 if platform lacks isblank(). */ -#undef ACE_LACKS_ISBLANK - -/* Define to 1 if platform lacks isctype(). */ -#undef ACE_LACKS_ISCTYPE - -/* Define to 1 if platform lacks iswblank(). */ -#undef ACE_LACKS_ISWBLANK - -/* Define to 1 if platform lacks iswctype(). */ -#undef ACE_LACKS_ISWCTYPE - -/* Define to 1 if platform lacks itow(). */ -#undef ACE_LACKS_ITOW - -/* Define to 1 if the system lacks the type `key_t'. */ -#undef ACE_LACKS_KEY_T - -/* Define to 1 if platform lacks kill(). */ -#undef ACE_LACKS_KILL - -/* Platform lacks streambuf "linebuffered ()". */ -#undef ACE_LACKS_LINEBUFFERED_STREAMBUF - -/* Platform/compiler lacks the llseek() prototype. This should not be defined - if ACE_LACKS_LSEEK64_PROTOTYPE is defined. */ -#undef ACE_LACKS_LLSEEK_PROTOTYPE - -/* Define to 1 if platform lacks localtime(). */ -#undef ACE_LACKS_LOCALTIME - -/* Define to 1 if platform lacks log2(). */ -#undef ACE_LACKS_LOG2 - -/* Compiler/platform does not support the unsigned long long datatype. */ -#undef ACE_LACKS_LONGLONG_T - -/* Platform/compiler lacks the lseek64() prototype. This should not be defined - if ACE_LACKS_LLSEEK_PROTOTYPE is defined. */ -#undef ACE_LACKS_LSEEK64_PROTOTYPE - -/* Define to 1 if platform lacks lstat(). */ -#undef ACE_LACKS_LSTAT - -/* Define to 1 if platform lacks madvise(). */ -#undef ACE_LACKS_MADVISE - -/* Define to 1 if platform lacks the declaration of madvise(). */ -#undef ACE_LACKS_MADVISE_PROTOTYPE - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_MALLOC_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_MEMORY_H - -/* Define to 1 if platform lacks mkfifo(). */ -#undef ACE_LACKS_MKFIFO - -/* Define to 1 if platform lacks mkstemp(). */ -#undef ACE_LACKS_MKSTEMP - -/* Define to 1 if platform lacks the declaration of mkstemp(). */ -#undef ACE_LACKS_MKSTEMP_PROTOTYPE - -/* Define to 1 if platform lacks mktemp(). */ -#undef ACE_LACKS_MKTEMP - -/* Define to 1 if platform lacks the declaration of mktemp(). */ -#undef ACE_LACKS_MKTEMP_PROTOTYPE - -/* The platform doesn't have mmap(2) (e.g., SCO UNIX). */ -#undef ACE_LACKS_MMAP - -/* Platform/compiler doesn't have open() mode masks. */ -#undef ACE_LACKS_MODE_MASKS - -/* Platform does not have Motif X toolkit available */ -#undef ACE_LACKS_MOTIF - -/* Define to 1 if platform lacks mprotect(). */ -#undef ACE_LACKS_MPROTECT - -/* Platform defines ACE_HAS_MSG, but lacks msg_accrights{len}. */ -#undef ACE_LACKS_MSG_ACCRIGHTS - -/* Define to 1 if platform lacks msync(). */ -#undef ACE_LACKS_MSYNC - -/* Define to 1 if system lacks pthread_mutexattr_setpshared(). */ -#undef ACE_LACKS_MUTEXATTR_PSHARED - -/* Platform lacks named POSIX semaphores (e.g., Chorus) */ -#undef ACE_LACKS_NAMED_POSIX_SEM - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_NETDB_H - -/* Platform does not support reentrant netdb functions (getprotobyname_r, - getprotobynumber_r, gethostbyaddr_r, gethostbyname_r, getservbyname_r). */ -#undef ACE_LACKS_NETDB_REENTRANT_FUNCTIONS - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_NETINET_IN_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_NETINET_TCP_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_NET_IF_H - -/* OS requires non-null status pointer for pthread_join () */ -#undef ACE_LACKS_NULL_PTHREAD_STATUS - -/* Platform lacks std::numeric_limits<> */ -#undef ACE_LACKS_NUMERIC_LIMITS - -/* Define to 1 if platform lacks IGMPv3 "perfect" filtering of multicast - datagrams at the socket level. If defined, ACE_SOCK_Dgram_Mcast will bind - the first joined multicast group to the socket, and all future joins on - that socket will fail with an error. */ -#undef ACE_LACKS_PERFECT_MULTICAST_FILTERING - -/* Define to 1 if platform lacks pipe(). */ -#undef ACE_LACKS_PIPE - -/* Compiler doesn't support placement operator delete(void *, void *). */ -#undef ACE_LACKS_PLACEMENT_OPERATOR_DELETE - -/* Compiler complains about use of obsolete "pragma once" */ -#undef ACE_LACKS_PRAGMA_ONCE - -/* Define to 1 if the system lacks the type 'pri_t'. */ -#undef ACE_LACKS_PRI_T - -/* Define to 1 if platform lacks pthread_attr_setstack() */ -#undef ACE_LACKS_PTHREAD_ATTR_SETSTACK - -/* Define to 1 if platform lacks pthread_attr_setstackaddr(). */ -#undef ACE_LACKS_PTHREAD_ATTR_SETSTACKADDR - -/* Define to 1 if platform lacks pthread_attr_setstacksize(). */ -#undef ACE_LACKS_PTHREAD_ATTR_SETSTACKSIZE - -/* Platform lacks pthread_cancel() */ -#undef ACE_LACKS_PTHREAD_CANCEL - -/* Define to 1 if platform lacks pthread_sigmask(). */ -#undef ACE_LACKS_PTHREAD_SIGMASK - -/* Define to 1 if platform lacks pthread_thr_sigsetmask(). */ -#undef ACE_LACKS_PTHREAD_THR_SIGSETMASK - -/* Define to 1 if platform lacks pthread_yield(). */ -#undef ACE_LACKS_PTHREAD_YIELD - -/* Platform lacks, getpwnam(), etc. */ -#undef ACE_LACKS_PWD_FUNCTIONS - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_PWD_H - -/* Platform lacks getpwnam_r() methods (e.g., SGI 6.2). */ -#undef ACE_LACKS_PWD_REENTRANT_FUNCTIONS - -/* Define to 1 if platform lacks qsort(). */ -#undef ACE_LACKS_QSORT - -/* Define to 1 if platform lacks readdir_r(). */ -#undef ACE_LACKS_READDIR_R - -/* Define to 1 if platform lacks readlink(). */ -#undef ACE_LACKS_READLINK - -/* Define to 1 if platform lacks readv(). */ -#undef ACE_LACKS_READV - -/* Define to 1 if platform lacks realpath(). */ -#undef ACE_LACKS_REALPATH - -/* Define to 1 if platform lacks recvmsg(). */ -#undef ACE_LACKS_RECVMSG - -/* Define to 1 if platform lacks rename(). */ -#undef ACE_LACKS_RENAME - -/* Platform/compiler lacks {get,set}rlimit() function (e.g., VxWorks, Chorus, - and SCO UNIX) */ -#undef ACE_LACKS_RLIMIT - -/* Define to 1 if platform lacks the declaration of {get,set}rlimit(). */ -#undef ACE_LACKS_RLIMIT_PROTOTYPE - -/* Define to 1 if system lacks pthread_rwlockattr_setpshared(). */ -#undef ACE_LACKS_RWLOCKATTR_PSHARED - -/* Define to 1 if the system lacks the type `rwlock_t'. */ -#undef ACE_LACKS_RWLOCK_T - -/* Define to 1 if platform lacks sbrk(). */ -#undef ACE_LACKS_SBRK - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_SCHED_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_SEARCH_H - -/* Define to 1 if platform lacks seekdir(). */ -#undef ACE_LACKS_SEEKDIR - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_SEMAPHORE_H - -/* Define to 1 if the system lacks the type `struct sembuf'. */ -#undef ACE_LACKS_SEMBUF_T - -/* Define to 1 if platform lacks sendmsg(). */ -#undef ACE_LACKS_SENDMSG - -/* Platform lacks pthread_attr_setdetachstate() (e.g., HP/UX 10.x) */ -#undef ACE_LACKS_SETDETACH - -/* Define to 1 if platform lacks setegid(). */ -#undef ACE_LACKS_SETEGID - -/* Define to 1 if platform lacks setenv(). */ -#undef ACE_LACKS_SETENV - -/* Define to 1 if platform lacks seteuid(). */ -#undef ACE_LACKS_SETEUID - -/* Define to 1 if platform lacks setgid(). */ -#undef ACE_LACKS_SETGID - -/* Define to 1 if platform lacks setpgid(). */ -#undef ACE_LACKS_SETPGID - -/* Define to 1 if platform lacks setpgid() declaration in . */ -#undef ACE_LACKS_SETPGID_PROTOTYPE - -/* Define to 1 if platform lacks setregid(). */ -#undef ACE_LACKS_SETREGID - -/* Define to 1 if platform lacks setregid() declaration in . */ -#undef ACE_LACKS_SETREGID_PROTOTYPE - -/* Define to 1 if platform lacks setreuid(). */ -#undef ACE_LACKS_SETREUID - -/* Define to 1 if platform lacks setreuid() declaration in . */ -#undef ACE_LACKS_SETREUID_PROTOTYPE - -/* Platform lacks pthread_attr_setsched() (e.g. MVS) */ -#undef ACE_LACKS_SETSCHED - -/* Define to 1 if platform lacks setsid(). */ -#undef ACE_LACKS_SETSID - -/* Define to 1 if platform lacks setuid(). */ -#undef ACE_LACKS_SETUID - -/* Define to 1 if platform lacks sigaction(). */ -#undef ACE_LACKS_SIGACTION - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_SIGINFO_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_SIGNAL_H - -/* Platform lacks "signed char" type (broken!) */ -#undef ACE_LACKS_SIGNED_CHAR - -/* Define to 1 if the system lacks the type `sigset_t'. */ -#undef ACE_LACKS_SIGSET - -/* Define to 1 if `si_addr' is not a member of `siginfo_t'. */ -#undef ACE_LACKS_SI_ADDR - -/* Define to 1 if platform lacks socketpair(). */ -#undef ACE_LACKS_SOCKETPAIR - -/* Platform doesn't support SO_SNDBUF/SO_RCVBUF (used in TAO) */ -#undef ACE_LACKS_SOCKET_BUFSIZ - -/* Compiler doesn't support static data member templates */ -#undef ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_STDINT_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_STDLIB_H - -/* Define to 1 if platform lacks strcasecmp(). */ -#undef ACE_LACKS_STRCASECMP - -/* Define to 1 if platform lacks a declaration for strcasecmp() */ -#undef ACE_LACKS_STRCASECMP_PROTOTYPE - -/* Define to 1 if platform lacks strchr(). */ -#undef ACE_LACKS_STRCHR - -/* Define to 1 if platform lacks strdup(). */ -#undef ACE_LACKS_STRDUP - -/* Define to 1 if platform lacks strerror(). */ -#undef ACE_LACKS_STRERROR - -/* Define to 1 if platform lacks strftime(). */ -#undef ACE_LACKS_STRFTIME - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_STRINGS_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_STRING_H - -/* Define to 1 if platform lacks strncasecmp(). */ -#undef ACE_LACKS_STRNCASECMP - -/* Define to 1 if platform lacks a declaration for strncasecmp() */ -#undef ACE_LACKS_STRNCASECMP_PROTOTYPE - -/* Define to 1 if platform lacks the declaration of strnlen(). */ -#undef ACE_LACKS_STRNLEN_PROTOTYPE - -/* Platform lacks stropts.h */ -#undef ACE_LACKS_STROPTS_H - -/* Define to 1 if platform lacks strpbrk(). */ -#undef ACE_LACKS_STRPBRK - -/* Define to 1 if platform lacks strptime(). */ -#undef ACE_LACKS_STRPTIME - -/* Define to 1 if platform lacks the declaration of strptime(). */ -#undef ACE_LACKS_STRPTIME_PROTOTYPE - -/* Define to 1 if platform lacks strrchr(). */ -#undef ACE_LACKS_STRRCHR - -/* Define to 1 if the system lacks the type `struct strrecvfd'. */ -#undef ACE_LACKS_STRRECVFD - -/* Define to 1 if platform lacks strspn(). */ -#undef ACE_LACKS_STRSPN - -/* Define to 1 if platform lacks strtod(). */ -#undef ACE_LACKS_STRTOD - -/* Platform/compiler lacks the strtok_r() prototype */ -#undef ACE_LACKS_STRTOK_R_PROTOTYPE - -/* Define to 1 if platform lacks strtol(). */ -#undef ACE_LACKS_STRTOL - -/* Define to 1 if platform lacks strtoll(). */ -#undef ACE_LACKS_STRTOLL - -/* Define to 1 if platform lacks a declaration for strtoll() */ -#undef ACE_LACKS_STRTOLL_PROTOTYPE - -/* Define to 1 if platform lacks strtoul(). */ -#undef ACE_LACKS_STRTOUL - -/* Define to 1 if platform lacks strtoull(). */ -#undef ACE_LACKS_STRTOULL - -/* Define to 1 if platform lacks a declaration for strtoull() */ -#undef ACE_LACKS_STRTOULL_PROTOTYPE - -/* Define to 1 if the system lacks the type `struct dirent'. */ -#undef ACE_LACKS_STRUCT_DIR - -/* Define to 1 if the system uses int instead of `struct lifnum' for - SIOCGIFNUM ioctl. */ -#undef ACE_LACKS_STRUCT_LIFNUM - -/* Define to 1 if the system lacks the type 'suseconds_t'. */ -#undef ACE_LACKS_SUSECONDS_T - -/* Define to 1 if platform lacks swab(). */ -#undef ACE_LACKS_SWAB - -/* Define to 1 if platform lacks syscall(). */ -#undef ACE_LACKS_SYSCALL - -/* Define to 1 if platform lacks sysconf(). */ -#undef ACE_LACKS_SYSCONF - -/* Define to 1 if platform lacks system(). */ -#undef ACE_LACKS_SYSTEM - -/* Platform lacks SYSV message queue prototypes */ -#undef ACE_LACKS_SYSV_MSQ_PROTOS - -/* Platform lacks System V shared memory (e.g., Win32 and VxWorks) */ -#undef ACE_LACKS_SYSV_SHMEM - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_SYS_IOCTL_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_SYS_IPC_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_SYS_MMAN_H - -/* Platform lacks sys/msg.h (e.g., Chorus and VxWorks) */ -#undef ACE_LACKS_SYS_MSG_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_SYS_PARAM_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_SYS_RESOURCE_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_SYS_SELECT_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_SYS_SEM_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_SYS_SHM_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_SYS_SOCKET_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_SYS_STAT_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_SYS_SYSCTL_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_SYS_TIME_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_SYS_TYPES_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_SYS_UIO_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_SYS_UN_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_SYS_WAIT_H - -/* OS does not support TCP_NODELAY */ -#undef ACE_LACKS_TCP_NODELAY - -/* Define to 1 if platform lacks telldir(). */ -#undef ACE_LACKS_TELLDIR - -/* Define to 1 if platform lacks tempnam(). */ -#undef ACE_LACKS_TEMPNAM - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_TERMIOS_H - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_TERMIO_H - -/* Platform lacks pthread_attr_setscope() */ -#undef ACE_LACKS_THREAD_PROCESS_SCOPING - -/* Define to 1 if platform lacks the declarations of recv_timedwait, - send_timedwait, etc. */ -#undef ACE_LACKS_TIMEDWAIT_PROTOTYPES - -/* Platform does not define timepec_t as a typedef for struct timespec. */ -#undef ACE_LACKS_TIMESPEC_T - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_TIME_H - -/* Define to 1 if platform lacks towlower(). */ -#undef ACE_LACKS_TOWLOWER - -/* Define to 1 if platform lacks towupper(). */ -#undef ACE_LACKS_TOWUPPER - -/* Define to 1 if platform lacks truncate(). */ -#undef ACE_LACKS_TRUNCATE - -/* Header files lack t_errno for TLI */ -#undef ACE_LACKS_T_ERRNO - -/* Define to 1 if platform lacks the declaration of ualarm(). */ -#undef ACE_LACKS_UALARM_PROTOTYPE - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_UCONTEXT_H - -/* Define to 1 if the system lacks the type `uintmax_t'. */ -#undef ACE_LACKS_UINTMAX_T - -/* Define to 1 if the system lacks the type `uintptr_t'. */ -#undef ACE_LACKS_UINTPTR_T - -/* Define to 1 if platform lacks umask(). */ -#undef ACE_LACKS_UMASK - -/* Define to 1 if platform lacks uname(). */ -#undef ACE_LACKS_UNAME - -/* */ -#undef ACE_LACKS_UNBUFFERED_STREAMBUF - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_UNISTD_H - -/* ACE platform has no UNIX domain sockets */ -#undef ACE_LACKS_UNIX_DOMAIN_SOCKETS - -/* Platform lacks full signal support (e.g., Win32 and Chorus). */ -#undef ACE_LACKS_UNIX_SIGNALS - -/* Define to 1 if platform lacks unlink(). */ -#undef ACE_LACKS_UNLINK - -/* Define to 1 if platform lacks unsetenv(). */ -#undef ACE_LACKS_UNSETENV - -/* Define to 1 if the system lacks the type 'useconds_t'. */ -#undef ACE_LACKS_USECONDS_T - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_UTIME_H - -/* Define to 1 if the system lacks the type `struct utsname'. */ -#undef ACE_LACKS_UTSNAME_T - -/* Define to 1 if the system lacks the type `u_long_long_t'. */ -#undef ACE_LACKS_U_LONGLONG_T - -/* Define to 1 if platform lacks vsnprintf(). */ -#undef ACE_LACKS_VSNPRINTF - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_WCHAR_H - -/* Define to 1 if the system lacks the type `wchar_t'. */ -#undef ACE_LACKS_WCHAR_T - -/* Define to 1 if platform lacks wcscasecmp(). */ -#undef ACE_LACKS_WCSCASECMP - -/* Define to 1 if platform lacks wcscat(). */ -#undef ACE_LACKS_WCSCAT - -/* Define to 1 if platform lacks wcschr(). */ -#undef ACE_LACKS_WCSCHR - -/* Define to 1 if platform lacks wcscmp(). */ -#undef ACE_LACKS_WCSCMP - -/* Define to 1 if platform lacks wcscpy(). */ -#undef ACE_LACKS_WCSCPY - -/* Define to 1 if platform lacks wcscspn(). */ -#undef ACE_LACKS_WCSCSPN - -/* Define to 1 if platform lacks wcsdup(). */ -#undef ACE_LACKS_WCSDUP - -/* Define to 1 if platform lacks wcslen(). */ -#undef ACE_LACKS_WCSLEN - -/* Define to 1 if platform lacks wcsncasecmp(). */ -#undef ACE_LACKS_WCSNCASECMP - -/* Define to 1 if platform lacks wcsncat(). */ -#undef ACE_LACKS_WCSNCAT - -/* Define to 1 if platform lacks wcsncmp(). */ -#undef ACE_LACKS_WCSNCMP - -/* Define to 1 if platform lacks wcsncpy(). */ -#undef ACE_LACKS_WCSNCPY - -/* Define to 1 if platform lacks wcsnicmp(). */ -#undef ACE_LACKS_WCSNICMP - -/* Define to 1 if platform lacks wcspbrk(). */ -#undef ACE_LACKS_WCSPBRK - -/* Define to 1 if platform lacks wcsrchr(). */ -#undef ACE_LACKS_WCSRCHR - -/* Define to 1 if platform lacks wcsspn(). */ -#undef ACE_LACKS_WCSSPN - -/* Define to 1 if platform lacks wcsstr(). */ -#undef ACE_LACKS_WCSSTR - -/* Define to 1 if platform lacks wcstod(). */ -#undef ACE_LACKS_WCSTOD - -/* Define to 1 if platform lacks wcstok(). */ -#undef ACE_LACKS_WCSTOK - -/* Define to 1 if platform lacks wcstol(). */ -#undef ACE_LACKS_WCSTOL - -/* Define to 1 if platform lacks wcstoll(). */ -#undef ACE_LACKS_WCSTOLL - -/* Define to 1 if platform lacks a declaration for wcstoll() */ -#undef ACE_LACKS_WCSTOLL_PROTOTYPE - -/* Define to 1 if platform lacks wcstoul(). */ -#undef ACE_LACKS_WCSTOUL - -/* Define to 1 if platform lacks wcstoull(). */ -#undef ACE_LACKS_WCSTOULL - -/* Define to 1 if platform lacks a declaration for wcstoull() */ -#undef ACE_LACKS_WCSTOULL_PROTOTYPE - -/* Define to 1 if platform lacks the header file. */ -#undef ACE_LACKS_WCTYPE_H - -/* Define to 1 if platform lacks writev(). */ -#undef ACE_LACKS_WRITEV - -/* Define to environment variable used for DLL search path */ -#undef ACE_LD_SEARCH_PATH - -/* typedef for ACE_LOFF_T */ -#undef ACE_LOFF_T_TYPEDEF - -/* Renames "main (int, char *[])", for platforms such as g++/VxWorks that - don't allow main. Requires the use of ACE_HAS_NONSTATIC_OBJECT_MANAGER. */ -#undef ACE_MAIN - -/* */ -#undef ACE_MALLOC_ALIGN - -/* */ -#undef ACE_MAP_PRIVATE - -/* Define to 1 if platform has 1 parameter mkdir() */ -#undef ACE_MKDIR_LACKS_MODE - -/* Compile using multi-thread libraries */ -#undef ACE_MT_SAFE - -/* Turns off debugging features */ -#undef ACE_NDEBUG - -/* Necessary with some compilers to pass ACE_TTY_IO as parameter to - DEV_Connector. */ -#undef ACE_NEEDS_DEV_IO_CONVERSION - -/* Compiler requires a definition for a "hidden" function, e.g., a private, - unimplemented copy constructor or assignment operator. The SGI C++ compiler - needs this, in template classes, with - ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA. */ -#undef ACE_NEEDS_FUNC_DEFINITIONS - -/* Required by platforms with small default stacks. */ -#undef ACE_NEEDS_HUGE_THREAD_STACKSIZE - -/* OS has LWPs, and when the priority of a bound thread is set, then the LWP - priority must be set also. */ -#undef ACE_NEEDS_LWP_PRIO_SET - -/* Platform needs to #include to get thread scheduling defs. */ -#undef ACE_NEEDS_SCHED_H - -/* Compiler's 'new' throws exception on failure (ANSI C++ behavior). */ -#undef ACE_NEW_THROWS_EXCEPTIONS - -/* Turns off the LM_DEBUG and LM_ERROR logging macros... */ -#undef ACE_NLOGGING - -/* Explicitly disable ACE inlining */ -#undef ACE_NO_INLINE - -/* Turns off the tracing feature. */ -#undef ACE_NTRACE - -/* Defines the page size of the system (not used on Win32 or with - ACE_HAS_GETPAGESIZE). */ -#undef ACE_PAGE_SIZE - -/* Flag that denotes the symbol should be exported from the DSO/DLL. */ -#undef ACE_Proper_Export_Flag - -/* Flag that denotes the symbol should be imported from the DSO/DLL. */ -#undef ACE_Proper_Import_Flag - -/* Platform redefines the t_... names (UnixWare) */ -#undef ACE_REDEFINES_XTI_FUNCTIONS - -/* shm_open() requires a leading slash in name */ -#undef ACE_SHM_OPEN_REQUIRES_ONE_SLASH - -/* Size of the native "double" type */ -#undef ACE_SIZEOF_DOUBLE - -/* Size of the native "float" type */ -#undef ACE_SIZEOF_FLOAT - -/* Size of the native "int" type */ -#undef ACE_SIZEOF_INT - -/* Size of the native "long" type */ -#undef ACE_SIZEOF_LONG - -/* Size of the native "long double" type */ -#undef ACE_SIZEOF_LONG_DOUBLE - -/* Size of the native "long long" type */ -#undef ACE_SIZEOF_LONG_LONG - -/* Size of the native "short" type */ -#undef ACE_SIZEOF_SHORT - -/* Size of the native "pointer to void" type */ -#undef ACE_SIZEOF_VOID_P - -/* Size of the native "wchar_t" type */ -#undef ACE_SIZEOF_WCHAR - -/* Define to the *printf format specifier (e.g. "%u") for size_t */ -#undef ACE_SIZE_T_FORMAT_SPECIFIER - -/* Define to the *printf format specifier (e.g. "%d") for ssize_t */ -#undef ACE_SSIZE_T_FORMAT_SPECIFIER - -/* Define to function that is equivalent to strcasecmp() */ -#undef ACE_STRCASECMP_EQUIVALENT - -/* Define to function that is equivalent to strdup() */ -#undef ACE_STRDUP_EQUIVALENT - -/* Define to function that is equivalent to strncasecmp() */ -#undef ACE_STRNCASECMP_EQUIVALENT - -/* Define to function that is equivalent to strtoll() */ -#undef ACE_STRTOLL_EQUIVALENT - -/* Define to function that is equivalent to strtoull() */ -#undef ACE_STRTOULL_EQUIVALENT - -/* Compiler's template mechanism must use a pragma. This is used for AIX's C++ - compiler. */ -#undef ACE_TEMPLATES_REQUIRE_PRAGMA - -/* Compiler's template mechanim must see source code (i.e., .cpp files). This - is used for GNU G++. */ -#undef ACE_TEMPLATES_REQUIRE_SOURCE - -/* Specify this if you don't want threads to inherit parent thread's - ACE_Log_Msg properties. */ -#undef ACE_THREADS_DONT_INHERIT_LOG_MSG - -/* */ -#undef ACE_THR_PRI_FIFO_DEF - -/* */ -#undef ACE_TIMER_SKEW - -/* Device the platform uses for TCP on TLI. Only needed if not /dev/tcp. */ -#undef ACE_TLI_TCP_DEVICE - -/* Define to the *printf format specifier (e.g. "%llu") for ACE_UINT64 */ -#undef ACE_UINT64_FORMAT_SPECIFIER - -/* Define to unsigned 64 bit integer type */ -#undef ACE_UINT64_TYPE - -/* Platform uses assembly symbols instead of C symbols in dlsym() */ -#undef ACE_USES_ASM_SYMBOL_IN_DLSYM - -/* Enable IPv6 support on platforms that don't have IPv6 turned on by default - */ -#undef ACE_USES_IPV4_IPV6_MIGRATION - -/* Some files, such as ace/streams.h, want to include new style C++ stream - headers. These headers are iomanip, ios, iostream, istream, ostream, - fstream and streambuf. If _all_ of these headers aren't available, then - assume that only iostream.h and fstream.h are available. */ -#undef ACE_USES_OLD_IOSTREAMS - -/* When linking MFC as a static library is desired */ -#undef ACE_USES_STATIC_MFC - -/* Platform has its standard C++ library in the namespace std. */ -#undef ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB - -/* ACE is built to use wide characters internally */ -#undef ACE_USES_WCHAR - -/* The OS/platform supports the poll() event demultiplexor */ -#undef ACE_USE_POLL - -/* Define to 1 to embed RCS ID strings into compiled object files. */ -#undef ACE_USE_RCSID - -/* For Win32: Use Select_Reactor as default implementation of Reactor instead - of WFMO_Reactor. */ -#undef ACE_USE_SELECT_REACTOR_FOR_REACTOR_IMPL - -/* Define to function that is equivalent to wcscasecmp() */ -#undef ACE_WCSCASECMP_EQUIVALENT - -/* Define to function that is equivalent to wcsdup() */ -#undef ACE_WCSDUP_EQUIVALENT - -/* Define to function that is equivalent to wcsncasecmp() */ -#undef ACE_WCSNCASECMP_EQUIVALENT - -/* Define to function that is equivalent to wcstoll() */ -#undef ACE_WCSTOLL_EQUIVALENT - -/* Define to function that is equivalent to wcstoull() */ -#undef ACE_WCSTOULL_EQUIVALENT - -/* Configure for use on Win32 */ -#undef ACE_WIN32 - -/* A parameter list indicating the version of WinSock (e.g., "1, 1" is version - 1.1). */ -#undef ACE_WSOCK_VERSION - -/* Define if building universal (internal helper macro) */ -#undef AC_APPLE_UNIVERSAL_BUILD - -/* Configure for use on AIX */ -#undef AIX - -/* Define to 1 if the `closedir' function returns void instead of `int'. */ -#undef CLOSEDIR_VOID - -/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP - systems. This function is required for `alloca.c' support on those systems. - */ -#undef CRAY_STACKSEG_END - -/* GNU Win32 environement */ -#undef CYGWIN32 - -/* Define to 1 if using `alloca.c'. */ -#undef C_ALLOCA - -/* */ -#undef DEC_CXX - -/* Configure for use on Digital Unix */ -#undef DIGITAL_UNIX - -/* Define to 1 if you have `alloca', as a function or macro. */ -#undef HAVE_ALLOCA - -/* Define to 1 if you have and it should be used (not on Ultrix). - */ -#undef HAVE_ALLOCA_H - -/* Define to 1 if you have the header file, and it defines `DIR'. - */ -#undef HAVE_DIRENT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_DLFCN_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_FSTREAM - -/* Define to 1 if you have the header file. */ -#undef HAVE_FSTREAM_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_INTTYPES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_IOMANIP - -/* Define to 1 if you have the header file. */ -#undef HAVE_IOS - -/* Define to 1 if you have the header file. */ -#undef HAVE_IOSTREAM - -/* Define to 1 if you have the header file. */ -#undef HAVE_IOSTREAM_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_ISTREAM - -/* Define to 1 if you have the `dld' library (-ldld). */ -#undef HAVE_LIBDLD - -/* Define to 1 if you have the header file. */ -#undef HAVE_MEMORY_H - -/* Define to 1 if you have the header file, and it defines `DIR'. */ -#undef HAVE_NDIR_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_OSTREAM - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDINT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDLIB_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STREAMBUF - -/* Define to 1 if you have the `strftime' function. */ -#undef HAVE_STRFTIME - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRINGS_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRING_H - -/* Define to 1 if you have the header file, and it defines `DIR'. - */ -#undef HAVE_SYS_DIR_H - -/* Define to 1 if you have the header file, and it defines `DIR'. - */ -#undef HAVE_SYS_NDIR_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_STAT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TYPES_H - -/* Define to 1 if you have that is POSIX.1 compatible. */ -#undef HAVE_SYS_WAIT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_UNISTD_H - -/* Configure for use on HP-UX */ -#undef HPUX - -/* Configure for use on HP-UX 10 */ -#undef HPUX_10 - -/* Configure for use on HP-UX 11 */ -#undef HPUX_11 - -/* */ -#undef IP_ADD_MEMBERSHIP - -/* */ -#undef IP_DROP_MEMBERSHIP - -/* Configure for use on Irix 5 */ -#undef IRIX5 - -/* Configure for use on Irix 6 */ -#undef IRIX6 - -/* Define to the sub-directory in which libtool stores uninstalled libraries. - */ -#undef LT_OBJDIR - -/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT - -/* Define to the full name of this package. */ -#undef PACKAGE_NAME - -/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME - -/* Define to the home page for this package. */ -#undef PACKAGE_URL - -/* Define to the version of this package. */ -#undef PACKAGE_VERSION - -/* Maximum thread priority */ -#undef PTHREAD_MAX_PRIORITY - -/* Minimum thread priority */ -#undef PTHREAD_MIN_PRIORITY - -/* */ -#undef PTHREAD_STACK_MIN - -/* */ -#undef SCO - -/* The size of `double', as computed by sizeof. */ -#undef SIZEOF_DOUBLE - -/* The size of `float', as computed by sizeof. */ -#undef SIZEOF_FLOAT - -/* The size of `int', as computed by sizeof. */ -#undef SIZEOF_INT - -/* The size of `long', as computed by sizeof. */ -#undef SIZEOF_LONG - -/* The size of `long double', as computed by sizeof. */ -#undef SIZEOF_LONG_DOUBLE - -/* The size of `long long', as computed by sizeof. */ -#undef SIZEOF_LONG_LONG - -/* The size of `short', as computed by sizeof. */ -#undef SIZEOF_SHORT - -/* The size of `signed char', as computed by sizeof. */ -#undef SIZEOF_SIGNED_CHAR - -/* The size of `void *', as computed by sizeof. */ -#undef SIZEOF_VOID_P - -/* The size of `wchar_t', as computed by sizeof. */ -#undef SIZEOF_WCHAR_T - -/* If using the C implementation of alloca, define if you know the - direction of stack growth for your system; otherwise it will be - automatically deduced at runtime. - STACK_DIRECTION > 0 => grows toward higher addresses - STACK_DIRECTION < 0 => grows toward lower addresses - STACK_DIRECTION = 0 => direction of growth unknown */ -#undef STACK_DIRECTION - -/* Define to 1 if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Configure for use on UnixWare */ -#undef UNIXWARE - -/* */ -#undef UNIXWARE_2_0 - -/* */ -#undef UNIXWARE_2_1 - -/* */ -#undef UNIXWARE_7_1 - -/* Configure for use on VxWorks */ -#undef VXWORKS - -/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most - significant byte first (like Motorola and SPARC, unlike Intel). */ -#if defined AC_APPLE_UNIVERSAL_BUILD -# if defined __BIG_ENDIAN__ -# define WORDS_BIGENDIAN 1 -# endif -#else -# ifndef WORDS_BIGENDIAN -# undef WORDS_BIGENDIAN -# endif -#endif - -/* Define to 1 if the X Window System is missing or not being used. */ -#undef X_DISPLAY_MISSING - -/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a - `char[]'. */ -#undef YYTEXT_POINTER - -/* Enable ACE inlining */ -#undef __ACE_INLINE__ - -/* */ -#undef __IOCTL_VERSIONED__ - -/* */ -#undef __NO_INCLUDE_WARN__ - -/* Define to `unsigned int' if does not define. */ -#undef size_t - - - - -#endif /* ACE_CONFIG_H */ - - -// Local Variables: -// mode:C++ -// End: - - diff --git a/dep/ACE_wrappers/ace/config.h.win b/dep/ACE_wrappers/ace/config.h.win deleted file mode 100755 index d3408e611..000000000 --- a/dep/ACE_wrappers/ace/config.h.win +++ /dev/null @@ -1 +0,0 @@ -#include "ace/config-win32.h" \ No newline at end of file diff --git a/dep/ACE_wrappers/ace/filecache.mpb b/dep/ACE_wrappers/ace/filecache.mpb deleted file mode 100644 index 16c714833..000000000 --- a/dep/ACE_wrappers/ace/filecache.mpb +++ /dev/null @@ -1,8 +0,0 @@ -// -*- MPC -*- -// $Id: filecache.mpb 80826 2008-03-04 14:51:23Z wotte $ - -feature(ace_filecache) { - Source_Files(ACE_COMPONENTS) { - Filecache.cpp - } -} diff --git a/dep/ACE_wrappers/ace/gethrtime.cpp b/dep/ACE_wrappers/ace/gethrtime.cpp deleted file mode 100644 index 5c32d16da..000000000 --- a/dep/ACE_wrappers/ace/gethrtime.cpp +++ /dev/null @@ -1,60 +0,0 @@ -// $Id: gethrtime.cpp 91286 2010-08-05 09:04:31Z johnnyw $ -// -// Build this file with g++. It can be linked in to a ACE application -// that was compiled with GreenHills. It wouldn't be necessary if I -// knew a way to correctly move values from registers to a 64-bit -// variable in GHS asm code. That's easy with g++ asm. - -#include "ace/config-all.h" - - - -#if defined (ghs) && (defined (i386) || defined(__i386__)) - -#include "ace/OS_NS_time.h" - -extern "C" -ACE_hrtime_t -ACE_GETHRTIME_NAME (void) -{ -#if defined (ACE_HAS_PENTIUM) - // ACE_TRACE ("ACE_GETHRTIME_NAME"); - -#if defined (ACE_LACKS_LONGLONG_T) - double now; -#else /* ! ACE_LACKS_LONGLONG_T */ - ACE_hrtime_t now; -#endif /* ! ACE_LACKS_LONGLONG_T */ - - // Read the high-res tick counter directly into memory variable - // "now". The A constraint signifies a 64-bit int. -#if defined (__GNUG__) - asm volatile ("rdtsc" : "=A" (now) : : "memory"); -// #elif defined (ghs) -// The following doesn't work. For now, this file must be compile with g++. -// asm ("rdtsc"); -// asm ("movl %edx,-16(%ebp)"); -// asm ("movl %eax,-12(%ebp)"); -#else -# error unsupported compiler -#endif - -#if defined (ACE_LACKS_LONGLONG_T) - // ACE_U_LongLong doesn't have the same layout as now, so construct - // it "properly". - ACE_UINT32 least, most; - ACE_OS::memcpy (&least, &now, sizeof (ACE_UINT32)); - ACE_OS::memcpy (&most, (unsigned char *) &now + sizeof (ACE_UINT32), - sizeof (ACE_UINT32)); - - const ACE_hrtime_t ret (least, most); - return ret; -#else /* ! ACE_LACKS_LONGLONG_T */ - return now; -#endif /* ! ACE_LACKS_LONGLONG_T */ - -#else /* ! ACE_HAS_PENTIUM */ -# error This file can _only_ be compiled with ACE_HAS_PENTIUM. -#endif /* ! ACE_HAS_PENTIUM */ -} -#endif /* ghs */ diff --git a/dep/ACE_wrappers/ace/other.mpb b/dep/ACE_wrappers/ace/other.mpb deleted file mode 100644 index 88adc8fa8..000000000 --- a/dep/ACE_wrappers/ace/other.mpb +++ /dev/null @@ -1,15 +0,0 @@ -// -*- MPC -*- -// $Id: other.mpb 80826 2008-03-04 14:51:23Z wotte $ - -feature(ace_other) { - Source_Files(ACE_COMPONENTS) { - Local_Name_Space.cpp - Name_Proxy.cpp - Name_Request_Reply.cpp - Name_Space.cpp - Naming_Context.cpp - Registry_Name_Space.cpp - Remote_Name_Space.cpp - NT_Service.cpp - } -} diff --git a/dep/ACE_wrappers/ace/svcconf.mpb b/dep/ACE_wrappers/ace/svcconf.mpb deleted file mode 100644 index 4ac633b80..000000000 --- a/dep/ACE_wrappers/ace/svcconf.mpb +++ /dev/null @@ -1,29 +0,0 @@ -// -*- MPC -*- -// $Id: svcconf.mpb 89216 2010-02-25 07:39:30Z johnnyw $ - -feature(ace_svcconf) { - macros -= ACE_LACKS_ACE_SVCCONF - - Source_Files(ACE_COMPONENTS) { - DLL.cpp - Dynamic_Service_Base.cpp - Dynamic_Service_Dependency.cpp - Parse_Node.cpp - Service_Config.cpp - Service_Gestalt.cpp - Service_Manager.cpp - Service_Object.cpp - Service_Repository.cpp - Service_Types.cpp - Shared_Object.cpp - Svc_Conf_Lexer.cpp - Svc_Conf_y.cpp - Encoding_Converter.cpp - Encoding_Converter_Factory.cpp - UTF8_Encoding_Converter.cpp - UTF16_Encoding_Converter.cpp - UTF32_Encoding_Converter.cpp - XML_Svc_Conf.cpp - } -} - diff --git a/dep/ACE_wrappers/ace/svcconfgen.mpc b/dep/ACE_wrappers/ace/svcconfgen.mpc deleted file mode 100644 index 35aecd1e8..000000000 --- a/dep/ACE_wrappers/ace/svcconfgen.mpc +++ /dev/null @@ -1,35 +0,0 @@ -// -*- MPC -*- -// $Id: svcconfgen.mpc 89216 2010-02-25 07:39:30Z johnnyw $ - -project(ace_svcconf_gen) { - requires += ace_svcconf_gen - verbatim(gnuace, local) { - "Svc_Conf_y.cpp: Svc_Conf.y" - "ifeq ($(notdir $(YACC)), bison)" - " $(YACC) -l -d Svc_Conf.y" - " sed -e 's/fprintf/ACE_OS::fprintf/g' \\" // Use ACE's fprintf, not library's - " -e 's/\\t/ /g' \\" // Eliminate tabs (replace with 2 spaces) - " -e 's/yy/ace_yy/g' \\" - " -e 's/->ace_yyerrno/->yyerrno/g' \\" // This reverses the ace_ prefix where it - " -e 's/->ace_yylineno/->yylineno/g' \\" // should not have been added by the substitution, above. - " -e 's/ NULL/ 0/g' \\" - " -e 's/ace_yyerror[ ]*([ ]*\"/ace_yyerror (ACE_SVC_CONF_PARAM->yyerrno, ACE_SVC_CONF_PARAM->yylineno, \"/g' \\" - " -e 's/ace_yyerror[ ]*([ ]*ace_yymsg/ace_yyerror (ACE_SVC_CONF_PARAM->yyerrno, ACE_SVC_CONF_PARAM->yylineno, ace_yymsg/g' \\" - " -e 's/ace_yyerror[ ]*([ ]*YY_/ace_yyerror (ACE_SVC_CONF_PARAM->yyerrno, ACE_SVC_CONF_PARAM->yylineno, YY_/g' \\" - " -e 's@#include @@' \\" - " -e 's/Svc_Conf\\.tab\\.c/Svc_Conf_y.cpp/g' $@" - " $(RM) -f Svc_Conf.tab.c Svc_Conf_y.cpp.orig" - "else" - " @echo 'ERROR: You must use bison 1.35 or higher to process this file'" - " @/bin/false" - "endif" - - "Svc_Conf_Token_Table.h: Svc_Conf.y Svc_Conf_y.cpp" - "ifeq ($(notdir $(YACC)), bison)" - " mv Svc_Conf.tab.h Svc_Conf_Token_Table.h" - "else" - " @echo 'ERROR: You must use bison 1.35 or higher to process this file'" - " @/bin/false" - "endif" - } -} diff --git a/dep/ACE_wrappers/ace/token.mpb b/dep/ACE_wrappers/ace/token.mpb deleted file mode 100644 index 169afe1bb..000000000 --- a/dep/ACE_wrappers/ace/token.mpb +++ /dev/null @@ -1,15 +0,0 @@ -// -*- MPC -*- -// $Id: token.mpb 80826 2008-03-04 14:51:23Z wotte $ - -feature(ace_token) { - macros -= ACE_LACKS_ACE_TOKEN - - Source_Files(ACE_COMPONENTS) { - Local_Tokens.cpp - Remote_Tokens.cpp - Token_Collection.cpp - Token_Invariants.cpp - Token_Manager.cpp - Token_Request_Reply.cpp - } -} diff --git a/dep/ACE_wrappers/ace/uuid.mpb b/dep/ACE_wrappers/ace/uuid.mpb deleted file mode 100644 index 2d249aba7..000000000 --- a/dep/ACE_wrappers/ace/uuid.mpb +++ /dev/null @@ -1,8 +0,0 @@ -// -*- MPC -*- -// $Id: uuid.mpb 80826 2008-03-04 14:51:23Z wotte $ - -feature(ace_uuid) { - Source_Files(ACE_COMPONENTS) { - UUID.cpp - } -} diff --git a/dep/ACE_wrappers/aclocal.m4 b/dep/ACE_wrappers/aclocal.m4 deleted file mode 100644 index 248b7dc78..000000000 --- a/dep/ACE_wrappers/aclocal.m4 +++ /dev/null @@ -1,991 +0,0 @@ -# generated automatically by aclocal 1.11.1 -*- Autoconf -*- - -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -m4_ifndef([AC_AUTOCONF_VERSION], - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],, -[m4_warning([this file was generated for autoconf 2.65. -You have another version of autoconf. It may work, but is not guaranteed to. -If you have problems, you may need to regenerate the build system entirely. -To do so, use the procedure documented by the package, typically `autoreconf'.])]) - -# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_AUTOMAKE_VERSION(VERSION) -# ---------------------------- -# Automake X.Y traces this macro to ensure aclocal.m4 has been -# generated from the m4 files accompanying Automake X.Y. -# (This private macro should not be called outside this file.) -AC_DEFUN([AM_AUTOMAKE_VERSION], -[am__api_version='1.11' -dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to -dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.11.1], [], - [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl -]) - -# _AM_AUTOCONF_VERSION(VERSION) -# ----------------------------- -# aclocal traces this macro to find the Autoconf version. -# This is a private macro too. Using m4_define simplifies -# the logic in aclocal, which can simply ignore this definition. -m4_define([_AM_AUTOCONF_VERSION], []) - -# AM_SET_CURRENT_AUTOMAKE_VERSION -# ------------------------------- -# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. -# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. -AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.11.1])dnl -m4_ifndef([AC_AUTOCONF_VERSION], - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) - -# AM_AUX_DIR_EXPAND -*- Autoconf -*- - -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets -# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to -# `$srcdir', `$srcdir/..', or `$srcdir/../..'. -# -# Of course, Automake must honor this variable whenever it calls a -# tool from the auxiliary directory. The problem is that $srcdir (and -# therefore $ac_aux_dir as well) can be either absolute or relative, -# depending on how configure is run. This is pretty annoying, since -# it makes $ac_aux_dir quite unusable in subdirectories: in the top -# source directory, any form will work fine, but in subdirectories a -# relative path needs to be adjusted first. -# -# $ac_aux_dir/missing -# fails when called from a subdirectory if $ac_aux_dir is relative -# $top_srcdir/$ac_aux_dir/missing -# fails if $ac_aux_dir is absolute, -# fails when called from a subdirectory in a VPATH build with -# a relative $ac_aux_dir -# -# The reason of the latter failure is that $top_srcdir and $ac_aux_dir -# are both prefixed by $srcdir. In an in-source build this is usually -# harmless because $srcdir is `.', but things will broke when you -# start a VPATH build or use an absolute $srcdir. -# -# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, -# iff we strip the leading $srcdir from $ac_aux_dir. That would be: -# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` -# and then we would define $MISSING as -# MISSING="\${SHELL} $am_aux_dir/missing" -# This will work as long as MISSING is not called from configure, because -# unfortunately $(top_srcdir) has no meaning in configure. -# However there are other variables, like CC, which are often used in -# configure, and could therefore not use this "fixed" $ac_aux_dir. -# -# Another solution, used here, is to always expand $ac_aux_dir to an -# absolute PATH. The drawback is that using absolute paths prevent a -# configured tree to be moved without reconfiguration. - -AC_DEFUN([AM_AUX_DIR_EXPAND], -[dnl Rely on autoconf to set up CDPATH properly. -AC_PREREQ([2.50])dnl -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` -]) - -# AM_CONDITIONAL -*- Autoconf -*- - -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 9 - -# AM_CONDITIONAL(NAME, SHELL-CONDITION) -# ------------------------------------- -# Define a conditional. -AC_DEFUN([AM_CONDITIONAL], -[AC_PREREQ(2.52)dnl - ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl -AC_SUBST([$1_TRUE])dnl -AC_SUBST([$1_FALSE])dnl -_AM_SUBST_NOTMAKE([$1_TRUE])dnl -_AM_SUBST_NOTMAKE([$1_FALSE])dnl -m4_define([_AM_COND_VALUE_$1], [$2])dnl -if $2; then - $1_TRUE= - $1_FALSE='#' -else - $1_TRUE='#' - $1_FALSE= -fi -AC_CONFIG_COMMANDS_PRE( -[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then - AC_MSG_ERROR([[conditional "$1" was never defined. -Usually this means the macro was only invoked conditionally.]]) -fi])]) - -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 10 - -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be -# written in clear, in which case automake, when reading aclocal.m4, -# will think it sees a *use*, and therefore will trigger all it's -# C support machinery. Also note that it means that autoscan, seeing -# CC etc. in the Makefile, will ask for an AC_PROG_CC use... - - -# _AM_DEPENDENCIES(NAME) -# ---------------------- -# See how the compiler implements dependency checking. -# NAME is "CC", "CXX", "GCJ", or "OBJC". -# We try a few techniques and use that to set a single cache variable. -# -# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was -# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular -# dependency, and given that the user is not expected to run this macro, -# just rely on AC_PROG_CC. -AC_DEFUN([_AM_DEPENDENCIES], -[AC_REQUIRE([AM_SET_DEPDIR])dnl -AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl -AC_REQUIRE([AM_MAKE_INCLUDE])dnl -AC_REQUIRE([AM_DEP_TRACK])dnl - -ifelse([$1], CC, [depcc="$CC" am_compiler_list=], - [$1], CXX, [depcc="$CXX" am_compiler_list=], - [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], - [$1], UPC, [depcc="$UPC" am_compiler_list=], - [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], - [depcc="$$1" am_compiler_list=]) - -AC_CACHE_CHECK([dependency style of $depcc], - [am_cv_$1_dependencies_compiler_type], -[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_$1_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` - fi - am__universal=false - m4_case([$1], [CC], - [case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac], - [CXX], - [case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac]) - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_$1_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_$1_dependencies_compiler_type=none -fi -]) -AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) -AM_CONDITIONAL([am__fastdep$1], [ - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) -]) - - -# AM_SET_DEPDIR -# ------------- -# Choose a directory name for dependency files. -# This macro is AC_REQUIREd in _AM_DEPENDENCIES -AC_DEFUN([AM_SET_DEPDIR], -[AC_REQUIRE([AM_SET_LEADING_DOT])dnl -AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl -]) - - -# AM_DEP_TRACK -# ------------ -AC_DEFUN([AM_DEP_TRACK], -[AC_ARG_ENABLE(dependency-tracking, -[ --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors]) -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' -fi -AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) -AC_SUBST([AMDEPBACKSLASH])dnl -_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl -]) - -# Generate code to set up dependency tracking. -*- Autoconf -*- - -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -#serial 5 - -# _AM_OUTPUT_DEPENDENCY_COMMANDS -# ------------------------------ -AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], -[{ - # 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")` - 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_MKDIR_P([$dirpart/$fdir]) - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done - done -} -])# _AM_OUTPUT_DEPENDENCY_COMMANDS - - -# AM_OUTPUT_DEPENDENCY_COMMANDS -# ----------------------------- -# This macro should only be invoked once -- use via AC_REQUIRE. -# -# This code is only required when automatic dependency tracking -# is enabled. FIXME. This creates each `.P' file that we will -# need in order to bootstrap the dependency handling code. -AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], -[AC_CONFIG_COMMANDS([depfiles], - [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], - [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) -]) - -# Do all the work for Automake. -*- Autoconf -*- - -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 16 - -# This macro actually does too much. Some checks are only needed if -# your package does certain things. But this isn't really a big deal. - -# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) -# AM_INIT_AUTOMAKE([OPTIONS]) -# ----------------------------------------------- -# The call with PACKAGE and VERSION arguments is the old style -# call (pre autoconf-2.50), which is being phased out. PACKAGE -# and VERSION should now be passed to AC_INIT and removed from -# the call to AM_INIT_AUTOMAKE. -# We support both call styles for the transition. After -# the next Automake release, Autoconf can make the AC_INIT -# arguments mandatory, and then we can depend on a new Autoconf -# release and drop the old call support. -AC_DEFUN([AM_INIT_AUTOMAKE], -[AC_PREREQ([2.62])dnl -dnl Autoconf wants to disallow AM_ names. We explicitly allow -dnl the ones we care about. -m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl -AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl -AC_REQUIRE([AC_PROG_INSTALL])dnl -if test "`cd $srcdir && pwd`" != "`pwd`"; then - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output - # is not polluted with repeated "-I." - AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl - # test to see if srcdir already configured - if test -f $srcdir/config.status; then - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) - fi -fi - -# test whether we have cygpath -if test -z "$CYGPATH_W"; then - if (cygpath --version) >/dev/null 2>/dev/null; then - CYGPATH_W='cygpath -w' - else - CYGPATH_W=echo - fi -fi -AC_SUBST([CYGPATH_W]) - -# Define the identity of the package. -dnl Distinguish between old-style and new-style calls. -m4_ifval([$2], -[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl - AC_SUBST([PACKAGE], [$1])dnl - AC_SUBST([VERSION], [$2])], -[_AM_SET_OPTIONS([$1])dnl -dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. -m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, - [m4_fatal([AC_INIT should be called with package and version arguments])])dnl - AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl - AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl - -_AM_IF_OPTION([no-define],, -[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl - -# Some tools Automake needs. -AC_REQUIRE([AM_SANITY_CHECK])dnl -AC_REQUIRE([AC_ARG_PROGRAM])dnl -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) -AM_MISSING_PROG(AUTOCONF, autoconf) -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) -AM_MISSING_PROG(AUTOHEADER, autoheader) -AM_MISSING_PROG(MAKEINFO, makeinfo) -AC_REQUIRE([AM_PROG_INSTALL_SH])dnl -AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl -AC_REQUIRE([AM_PROG_MKDIR_P])dnl -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. -AC_REQUIRE([AC_PROG_AWK])dnl -AC_REQUIRE([AC_PROG_MAKE_SET])dnl -AC_REQUIRE([AM_SET_LEADING_DOT])dnl -_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], - [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], - [_AM_PROG_TAR([v7])])]) -_AM_IF_OPTION([no-dependencies],, -[AC_PROVIDE_IFELSE([AC_PROG_CC], - [_AM_DEPENDENCIES(CC)], - [define([AC_PROG_CC], - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl -AC_PROVIDE_IFELSE([AC_PROG_CXX], - [_AM_DEPENDENCIES(CXX)], - [define([AC_PROG_CXX], - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl -AC_PROVIDE_IFELSE([AC_PROG_OBJC], - [_AM_DEPENDENCIES(OBJC)], - [define([AC_PROG_OBJC], - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl -]) -_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl -dnl The `parallel-tests' driver may need to know about EXEEXT, so add the -dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro -dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. -AC_CONFIG_COMMANDS_PRE(dnl -[m4_provide_if([_AM_COMPILER_EXEEXT], - [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl -]) - -dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not -dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further -dnl mangled by Autoconf and run in a shell conditional statement. -m4_define([_AC_COMPILER_EXEEXT], -m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) - - -# When config.status generates a header, we must update the stamp-h file. -# This file resides in the same directory as the config header -# that is generated. The stamp files are numbered to have different names. - -# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the -# loop where config.status creates the headers, so we can generate -# our stamp files there. -AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], -[# Compute $1's index in $config_headers. -_am_arg=$1 -_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"])`/stamp-h[]$_am_stamp_count]) - -# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PROG_INSTALL_SH -# ------------------ -# Define $install_sh. -AC_DEFUN([AM_PROG_INSTALL_SH], -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -if test x"${install_sh}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; - *) - install_sh="\${SHELL} $am_aux_dir/install-sh" - esac -fi -AC_SUBST(install_sh)]) - -# Copyright (C) 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 2 - -# Check whether the underlying file-system supports filenames -# with a leading dot. For instance MS-DOS doesn't. -AC_DEFUN([AM_SET_LEADING_DOT], -[rm -rf .tst 2>/dev/null -mkdir .tst 2>/dev/null -if test -d .tst; then - am__leading_dot=. -else - am__leading_dot=_ -fi -rmdir .tst 2>/dev/null -AC_SUBST([am__leading_dot])]) - -# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 5 - -# AM_PROG_LEX -# ----------- -# Autoconf leaves LEX=: if lex or flex can't be found. Change that to a -# "missing" invocation, for better error output. -AC_DEFUN([AM_PROG_LEX], -[AC_PREREQ(2.50)dnl -AC_REQUIRE([AM_MISSING_HAS_RUN])dnl -AC_REQUIRE([AC_PROG_LEX])dnl -if test "$LEX" = :; then - LEX=${am_missing_run}flex -fi]) - -# Check to see how 'make' treats includes. -*- Autoconf -*- - -# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 4 - -# AM_MAKE_INCLUDE() -# ----------------- -# Check to see how make treats includes. -AC_DEFUN([AM_MAKE_INCLUDE], -[am_make=${MAKE-make} -cat > confinc << 'END' -am__doit: - @echo this is the am__doit target -.PHONY: am__doit -END -# If we don't find an include directive, just comment out the code. -AC_MSG_CHECKING([for style of include used by $am_make]) -am__include="#" -am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# Ignore all kinds of additional output from `make'. -case `$am_make -s -f confmf 2> /dev/null` in #( -*the\ am__doit\ target*) - am__include=include - am__quote= - _am_result=GNU - ;; -esac -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - case `$am_make -s -f confmf 2> /dev/null` in #( - *the\ am__doit\ target*) - am__include=.include - am__quote="\"" - _am_result=BSD - ;; - esac -fi -AC_SUBST([am__include]) -AC_SUBST([am__quote]) -AC_MSG_RESULT([$_am_result]) -rm -f confinc confmf -]) - -# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- - -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 6 - -# AM_MISSING_PROG(NAME, PROGRAM) -# ------------------------------ -AC_DEFUN([AM_MISSING_PROG], -[AC_REQUIRE([AM_MISSING_HAS_RUN]) -$1=${$1-"${am_missing_run}$2"} -AC_SUBST($1)]) - - -# AM_MISSING_HAS_RUN -# ------------------ -# Define MISSING if not defined so far and test if it supports --run. -# If it does, set am_missing_run to use it, otherwise, to nothing. -AC_DEFUN([AM_MISSING_HAS_RUN], -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -AC_REQUIRE_AUX_FILE([missing])dnl -if test x"${MISSING+set}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; - *) - MISSING="\${SHELL} $am_aux_dir/missing" ;; - esac -fi -# Use eval to expand $SHELL -if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " -else - am_missing_run= - AC_MSG_WARN([`missing' script is too old or missing]) -fi -]) - -# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PROG_MKDIR_P -# --------------- -# Check for `mkdir -p'. -AC_DEFUN([AM_PROG_MKDIR_P], -[AC_PREREQ([2.60])dnl -AC_REQUIRE([AC_PROG_MKDIR_P])dnl -dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, -dnl while keeping a definition of mkdir_p for backward compatibility. -dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. -dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of -dnl Makefile.ins that do not define MKDIR_P, so we do our own -dnl adjustment using top_builddir (which is defined more often than -dnl MKDIR_P). -AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl -case $mkdir_p in - [[\\/$]]* | ?:[[\\/]]*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac -]) - -# Helper functions for option handling. -*- Autoconf -*- - -# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 4 - -# _AM_MANGLE_OPTION(NAME) -# ----------------------- -AC_DEFUN([_AM_MANGLE_OPTION], -[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) - -# _AM_SET_OPTION(NAME) -# ------------------------------ -# Set option NAME. Presently that only means defining a flag for this option. -AC_DEFUN([_AM_SET_OPTION], -[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) - -# _AM_SET_OPTIONS(OPTIONS) -# ---------------------------------- -# OPTIONS is a space-separated list of Automake options. -AC_DEFUN([_AM_SET_OPTIONS], -[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) - -# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) -# ------------------------------------------- -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. -AC_DEFUN([_AM_IF_OPTION], -[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) - -# Check to make sure that the build environment is sane. -*- Autoconf -*- - -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 5 - -# AM_SANITY_CHECK -# --------------- -AC_DEFUN([AM_SANITY_CHECK], -[AC_MSG_CHECKING([whether build environment is sane]) -# Just in case -sleep 1 -echo timestamp > conftest.file -# Reject unsafe characters in $srcdir or the absolute working directory -# name. Accept space and tab only in the latter. -am_lf=' -' -case `pwd` in - *[[\\\"\#\$\&\'\`$am_lf]]*) - AC_MSG_ERROR([unsafe absolute working directory name]);; -esac -case $srcdir in - *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) - AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; -esac - -# Do `set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$[*]" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - rm -f conftest.file - if test "$[*]" != "X $srcdir/configure conftest.file" \ - && test "$[*]" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken -alias in your environment]) - fi - - test "$[2]" = conftest.file - ) -then - # Ok. - : -else - AC_MSG_ERROR([newly created file is older than distributed files! -Check your system clock]) -fi -AC_MSG_RESULT(yes)]) - -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PROG_INSTALL_STRIP -# --------------------- -# One issue with vendor `install' (even GNU) is that you can't -# specify the program used to strip binaries. This is especially -# annoying in cross-compiling environments, where the build's strip -# is unlikely to handle the host's binaries. -# Fortunately install-sh will honor a STRIPPROG variable, so we -# always use install-sh in `make install-strip', and initialize -# STRIPPROG with the value of the STRIP variable (set by the user). -AC_DEFUN([AM_PROG_INSTALL_STRIP], -[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right -# tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. -dnl Don't test for $cross_compiling = yes, because it might be `maybe'. -if test "$cross_compiling" != no; then - AC_CHECK_TOOL([STRIP], [strip], :) -fi -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" -AC_SUBST([INSTALL_STRIP_PROGRAM])]) - -# Copyright (C) 2006, 2008 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 2 - -# _AM_SUBST_NOTMAKE(VARIABLE) -# --------------------------- -# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. -# This macro is traced by Automake. -AC_DEFUN([_AM_SUBST_NOTMAKE]) - -# AM_SUBST_NOTMAKE(VARIABLE) -# --------------------------- -# Public sister of _AM_SUBST_NOTMAKE. -AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) - -# Check how to create a tarball. -*- Autoconf -*- - -# Copyright (C) 2004, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 2 - -# _AM_PROG_TAR(FORMAT) -# -------------------- -# Check how to create a tarball in format FORMAT. -# FORMAT should be one of `v7', `ustar', or `pax'. -# -# Substitute a variable $(am__tar) that is a command -# writing to stdout a FORMAT-tarball containing the directory -# $tardir. -# tardir=directory && $(am__tar) > result.tar -# -# Substitute a variable $(am__untar) that extract such -# a tarball read from stdin. -# $(am__untar) < result.tar -AC_DEFUN([_AM_PROG_TAR], -[# Always define AMTAR for backward compatibility. -AM_MISSING_PROG([AMTAR], [tar]) -m4_if([$1], [v7], - [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], - [m4_case([$1], [ustar],, [pax],, - [m4_fatal([Unknown tar format])]) -AC_MSG_CHECKING([how to create a $1 tar archive]) -# Loop over all known methods to create a tar archive until one works. -_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' -_am_tools=${am_cv_prog_tar_$1-$_am_tools} -# Do not fold the above two line into one, because Tru64 sh and -# Solaris sh will not grok spaces in the rhs of `-'. -for _am_tool in $_am_tools -do - case $_am_tool in - gnutar) - for _am_tar in tar gnutar gtar; - do - AM_RUN_LOG([$_am_tar --version]) && break - done - am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' - am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' - am__untar="$_am_tar -xf -" - ;; - plaintar) - # Must skip GNU tar: if it does not support --format= it doesn't create - # ustar tarball either. - (tar --version) >/dev/null 2>&1 && continue - am__tar='tar chf - "$$tardir"' - am__tar_='tar chf - "$tardir"' - am__untar='tar xf -' - ;; - pax) - am__tar='pax -L -x $1 -w "$$tardir"' - am__tar_='pax -L -x $1 -w "$tardir"' - am__untar='pax -r' - ;; - cpio) - am__tar='find "$$tardir" -print | cpio -o -H $1 -L' - am__tar_='find "$tardir" -print | cpio -o -H $1 -L' - am__untar='cpio -i -H $1 -d' - ;; - none) - am__tar=false - am__tar_=false - am__untar=false - ;; - esac - - # If the value was cached, stop now. We just wanted to have am__tar - # and am__untar set. - test -n "${am_cv_prog_tar_$1}" && break - - # tar/untar a dummy directory, and stop if the command works - rm -rf conftest.dir - mkdir conftest.dir - echo GrepMe > conftest.dir/file - AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) - rm -rf conftest.dir - if test -s conftest.tar; then - AM_RUN_LOG([$am__untar /dev/null 2>&1 && break - fi -done -rm -rf conftest.dir - -AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) -AC_MSG_RESULT([$am_cv_prog_tar_$1])]) -AC_SUBST([am__tar]) -AC_SUBST([am__untar]) -]) # _AM_PROG_TAR - -m4_include([m4/ace.m4]) -m4_include([m4/ace_defines.m4]) -m4_include([m4/ace_func.m4]) -m4_include([m4/ace_functions.m4]) -m4_include([m4/ace_headers.m4]) -m4_include([m4/acinclude.m4]) -m4_include([m4/aio.m4]) -m4_include([m4/compiler.m4]) -m4_include([m4/config_h.m4]) -m4_include([m4/libtool.m4]) -m4_include([m4/ltoptions.m4]) -m4_include([m4/ltsugar.m4]) -m4_include([m4/ltversion.m4]) -m4_include([m4/lt~obsolete.m4]) -m4_include([m4/pkg.m4]) -m4_include([m4/platform.m4]) -m4_include([m4/subsets.m4]) -m4_include([m4/threads.m4]) -m4_include([m4/tls.m4]) diff --git a/dep/ACE_wrappers/aux_config/config.guess b/dep/ACE_wrappers/aux_config/config.guess deleted file mode 100755 index dc84c68ef..000000000 --- a/dep/ACE_wrappers/aux_config/config.guess +++ /dev/null @@ -1,1501 +0,0 @@ -#! /bin/sh -# Attempt to guess a canonical system name. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 -# Free Software Foundation, Inc. - -timestamp='2009-11-20' - -# This file 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. -# -# This program 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 this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA -# 02110-1301, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - - -# Originally written by Per Bothner. Please send patches (context -# diff format) to and include a ChangeLog -# entry. -# -# This script attempts to guess a canonical system name similar to -# config.sub. If it succeeds, it prints the system name on stdout, and -# exits with 0. Otherwise, it exits with 1. -# -# You can get the latest version of this script from: -# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD - -me=`echo "$0" | sed -e 's,.*/,,'` - -usage="\ -Usage: $0 [OPTION] - -Output the configuration name of the system \`$me' is run on. - -Operation modes: - -h, --help print this help, then exit - -t, --time-stamp print date of last modification, then exit - -v, --version print version number, then exit - -Report bugs and patches to ." - -version="\ -GNU config.guess ($timestamp) - -Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006, 2007, 2008 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." - -help=" -Try \`$me --help' for more information." - -# Parse command line -while test $# -gt 0 ; do - case $1 in - --time-stamp | --time* | -t ) - echo "$timestamp" ; exit ;; - --version | -v ) - echo "$version" ; exit ;; - --help | --h* | -h ) - echo "$usage"; exit ;; - -- ) # Stop option processing - shift; break ;; - - ) # Use stdin as input. - break ;; - -* ) - echo "$me: invalid option $1$help" >&2 - exit 1 ;; - * ) - break ;; - esac -done - -if test $# != 0; then - echo "$me: too many arguments$help" >&2 - exit 1 -fi - -trap 'exit 1' 1 2 15 - -# CC_FOR_BUILD -- compiler used by this script. Note that the use of a -# compiler to aid in system detection is discouraged as it requires -# temporary files to be created and, as you can see below, it is a -# headache to deal with in a portable fashion. - -# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still -# use `HOST_CC' if defined, but it is deprecated. - -# Portable tmp directory creation inspired by the Autoconf team. - -set_cc_for_build=' -trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; -trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; -: ${TMPDIR=/tmp} ; - { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || - { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || - { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || - { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; -dummy=$tmp/dummy ; -tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; -case $CC_FOR_BUILD,$HOST_CC,$CC in - ,,) echo "int x;" > $dummy.c ; - for c in cc gcc c89 c99 ; do - if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then - CC_FOR_BUILD="$c"; break ; - fi ; - done ; - if test x"$CC_FOR_BUILD" = x ; then - CC_FOR_BUILD=no_compiler_found ; - fi - ;; - ,,*) CC_FOR_BUILD=$CC ;; - ,*,*) CC_FOR_BUILD=$HOST_CC ;; -esac ; set_cc_for_build= ;' - -# This is needed to find uname on a Pyramid OSx when run in the BSD universe. -# (ghazi@noc.rutgers.edu 1994-08-24) -if (test -f /.attbin/uname) >/dev/null 2>&1 ; then - PATH=$PATH:/.attbin ; export PATH -fi - -UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown -UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown -UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown - -# Note: order is significant - the case branches are not exclusive. - -case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in - *:NetBSD:*:*) - # NetBSD (nbsd) targets should (where applicable) match one or - # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, - # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently - # switched to ELF, *-*-netbsd* would select the old - # object file format. This provides both forward - # compatibility and a consistent mechanism for selecting the - # object file format. - # - # Note: NetBSD doesn't particularly care about the vendor - # portion of the name. We always set it to "unknown". - sysctl="sysctl -n hw.machine_arch" - UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ - /usr/sbin/$sysctl 2>/dev/null || echo unknown)` - case "${UNAME_MACHINE_ARCH}" in - armeb) machine=armeb-unknown ;; - arm*) machine=arm-unknown ;; - sh3el) machine=shl-unknown ;; - sh3eb) machine=sh-unknown ;; - sh5el) machine=sh5le-unknown ;; - *) machine=${UNAME_MACHINE_ARCH}-unknown ;; - esac - # The Operating System including object format, if it has switched - # to ELF recently, or will in the future. - case "${UNAME_MACHINE_ARCH}" in - arm*|i386|m68k|ns32k|sh3*|sparc|vax) - eval $set_cc_for_build - if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep -q __ELF__ - then - # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). - # Return netbsd for either. FIX? - os=netbsd - else - os=netbsdelf - fi - ;; - *) - os=netbsd - ;; - esac - # The OS release - # Debian GNU/NetBSD machines have a different userland, and - # thus, need a distinct triplet. However, they do not need - # kernel version information, so it can be replaced with a - # suitable tag, in the style of linux-gnu. - case "${UNAME_VERSION}" in - Debian*) - release='-gnu' - ;; - *) - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` - ;; - esac - # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: - # contains redundant information, the shorter form: - # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. - echo "${machine}-${os}${release}" - exit ;; - *:OpenBSD:*:*) - UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` - echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} - exit ;; - *:ekkoBSD:*:*) - echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} - exit ;; - *:SolidBSD:*:*) - echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} - exit ;; - macppc:MirBSD:*:*) - echo powerpc-unknown-mirbsd${UNAME_RELEASE} - exit ;; - *:MirBSD:*:*) - echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} - exit ;; - alpha:OSF1:*:*) - case $UNAME_RELEASE in - *4.0) - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` - ;; - *5.*) - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` - ;; - esac - # According to Compaq, /usr/sbin/psrinfo has been available on - # OSF/1 and Tru64 systems produced since 1995. I hope that - # covers most systems running today. This code pipes the CPU - # types through head -n 1, so we only detect the type of CPU 0. - ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` - case "$ALPHA_CPU_TYPE" in - "EV4 (21064)") - UNAME_MACHINE="alpha" ;; - "EV4.5 (21064)") - UNAME_MACHINE="alpha" ;; - "LCA4 (21066/21068)") - UNAME_MACHINE="alpha" ;; - "EV5 (21164)") - UNAME_MACHINE="alphaev5" ;; - "EV5.6 (21164A)") - UNAME_MACHINE="alphaev56" ;; - "EV5.6 (21164PC)") - UNAME_MACHINE="alphapca56" ;; - "EV5.7 (21164PC)") - UNAME_MACHINE="alphapca57" ;; - "EV6 (21264)") - UNAME_MACHINE="alphaev6" ;; - "EV6.7 (21264A)") - UNAME_MACHINE="alphaev67" ;; - "EV6.8CB (21264C)") - UNAME_MACHINE="alphaev68" ;; - "EV6.8AL (21264B)") - UNAME_MACHINE="alphaev68" ;; - "EV6.8CX (21264D)") - UNAME_MACHINE="alphaev68" ;; - "EV6.9A (21264/EV69A)") - UNAME_MACHINE="alphaev69" ;; - "EV7 (21364)") - UNAME_MACHINE="alphaev7" ;; - "EV7.9 (21364A)") - UNAME_MACHINE="alphaev79" ;; - esac - # A Pn.n version is a patched version. - # A Vn.n version is a released version. - # A Tn.n version is a released field test version. - # A Xn.n version is an unreleased experimental baselevel. - # 1.2 uses "1.2" for uname -r. - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - exit ;; - Alpha\ *:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # Should we change UNAME_MACHINE based on the output of uname instead - # of the specific Alpha model? - echo alpha-pc-interix - exit ;; - 21064:Windows_NT:50:3) - echo alpha-dec-winnt3.5 - exit ;; - Amiga*:UNIX_System_V:4.0:*) - echo m68k-unknown-sysv4 - exit ;; - *:[Aa]miga[Oo][Ss]:*:*) - echo ${UNAME_MACHINE}-unknown-amigaos - exit ;; - *:[Mm]orph[Oo][Ss]:*:*) - echo ${UNAME_MACHINE}-unknown-morphos - exit ;; - *:OS/390:*:*) - echo i370-ibm-openedition - exit ;; - *:z/VM:*:*) - echo s390-ibm-zvmoe - exit ;; - *:OS400:*:*) - echo powerpc-ibm-os400 - exit ;; - arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) - echo arm-acorn-riscix${UNAME_RELEASE} - exit ;; - arm:riscos:*:*|arm:RISCOS:*:*) - echo arm-unknown-riscos - exit ;; - SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) - echo hppa1.1-hitachi-hiuxmpp - exit ;; - Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) - # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. - if test "`(/bin/universe) 2>/dev/null`" = att ; then - echo pyramid-pyramid-sysv3 - else - echo pyramid-pyramid-bsd - fi - exit ;; - NILE*:*:*:dcosx) - echo pyramid-pyramid-svr4 - exit ;; - DRS?6000:unix:4.0:6*) - echo sparc-icl-nx6 - exit ;; - DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) - case `/usr/bin/uname -p` in - sparc) echo sparc-icl-nx7; exit ;; - esac ;; - s390x:SunOS:*:*) - echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit ;; - sun4H:SunOS:5.*:*) - echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit ;; - sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) - echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit ;; - i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) - echo i386-pc-auroraux${UNAME_RELEASE} - exit ;; - i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) - eval $set_cc_for_build - SUN_ARCH="i386" - # If there is a compiler, see if it is configured for 64-bit objects. - # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. - # This test works for both compilers. - if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then - if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_64BIT_ARCH >/dev/null - then - SUN_ARCH="x86_64" - fi - fi - echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit ;; - sun4*:SunOS:6*:*) - # According to config.sub, this is the proper way to canonicalize - # SunOS6. Hard to guess exactly what SunOS6 will be like, but - # it's likely to be more like Solaris than SunOS4. - echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit ;; - sun4*:SunOS:*:*) - case "`/usr/bin/arch -k`" in - Series*|S4*) - UNAME_RELEASE=`uname -v` - ;; - esac - # Japanese Language versions have a version number like `4.1.3-JL'. - echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` - exit ;; - sun3*:SunOS:*:*) - echo m68k-sun-sunos${UNAME_RELEASE} - exit ;; - sun*:*:4.2BSD:*) - UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` - test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 - case "`/bin/arch`" in - sun3) - echo m68k-sun-sunos${UNAME_RELEASE} - ;; - sun4) - echo sparc-sun-sunos${UNAME_RELEASE} - ;; - esac - exit ;; - aushp:SunOS:*:*) - echo sparc-auspex-sunos${UNAME_RELEASE} - exit ;; - # The situation for MiNT is a little confusing. The machine name - # can be virtually everything (everything which is not - # "atarist" or "atariste" at least should have a processor - # > m68000). The system name ranges from "MiNT" over "FreeMiNT" - # to the lowercase version "mint" (or "freemint"). Finally - # the system name "TOS" denotes a system which is actually not - # MiNT. But MiNT is downward compatible to TOS, so this should - # be no problem. - atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit ;; - atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit ;; - *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit ;; - milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) - echo m68k-milan-mint${UNAME_RELEASE} - exit ;; - hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) - echo m68k-hades-mint${UNAME_RELEASE} - exit ;; - *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) - echo m68k-unknown-mint${UNAME_RELEASE} - exit ;; - m68k:machten:*:*) - echo m68k-apple-machten${UNAME_RELEASE} - exit ;; - powerpc:machten:*:*) - echo powerpc-apple-machten${UNAME_RELEASE} - exit ;; - RISC*:Mach:*:*) - echo mips-dec-mach_bsd4.3 - exit ;; - RISC*:ULTRIX:*:*) - echo mips-dec-ultrix${UNAME_RELEASE} - exit ;; - VAX*:ULTRIX*:*:*) - echo vax-dec-ultrix${UNAME_RELEASE} - exit ;; - 2020:CLIX:*:* | 2430:CLIX:*:*) - echo clipper-intergraph-clix${UNAME_RELEASE} - exit ;; - mips:*:*:UMIPS | mips:*:*:RISCos) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c -#ifdef __cplusplus -#include /* for printf() prototype */ - int main (int argc, char *argv[]) { -#else - int main (argc, argv) int argc; char *argv[]; { -#endif - #if defined (host_mips) && defined (MIPSEB) - #if defined (SYSTYPE_SYSV) - printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); - #endif - #if defined (SYSTYPE_SVR4) - printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); - #endif - #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) - printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); - #endif - #endif - exit (-1); - } -EOF - $CC_FOR_BUILD -o $dummy $dummy.c && - dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && - SYSTEM_NAME=`$dummy $dummyarg` && - { echo "$SYSTEM_NAME"; exit; } - echo mips-mips-riscos${UNAME_RELEASE} - exit ;; - Motorola:PowerMAX_OS:*:*) - echo powerpc-motorola-powermax - exit ;; - Motorola:*:4.3:PL8-*) - echo powerpc-harris-powermax - exit ;; - Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) - echo powerpc-harris-powermax - exit ;; - Night_Hawk:Power_UNIX:*:*) - echo powerpc-harris-powerunix - exit ;; - m88k:CX/UX:7*:*) - echo m88k-harris-cxux7 - exit ;; - m88k:*:4*:R4*) - echo m88k-motorola-sysv4 - exit ;; - m88k:*:3*:R3*) - echo m88k-motorola-sysv3 - exit ;; - AViiON:dgux:*:*) - # DG/UX returns AViiON for all architectures - UNAME_PROCESSOR=`/usr/bin/uname -p` - if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] - then - if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ - [ ${TARGET_BINARY_INTERFACE}x = x ] - then - echo m88k-dg-dgux${UNAME_RELEASE} - else - echo m88k-dg-dguxbcs${UNAME_RELEASE} - fi - else - echo i586-dg-dgux${UNAME_RELEASE} - fi - exit ;; - M88*:DolphinOS:*:*) # DolphinOS (SVR3) - echo m88k-dolphin-sysv3 - exit ;; - M88*:*:R3*:*) - # Delta 88k system running SVR3 - echo m88k-motorola-sysv3 - exit ;; - XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) - echo m88k-tektronix-sysv3 - exit ;; - Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) - echo m68k-tektronix-bsd - exit ;; - *:IRIX*:*:*) - echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` - exit ;; - ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id - exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' - i*86:AIX:*:*) - echo i386-ibm-aix - exit ;; - ia64:AIX:*:*) - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` - else - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} - fi - echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} - exit ;; - *:AIX:2:3) - if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - - main() - { - if (!__power_pc()) - exit(1); - puts("powerpc-ibm-aix3.2.5"); - exit(0); - } -EOF - if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` - then - echo "$SYSTEM_NAME" - else - echo rs6000-ibm-aix3.2.5 - fi - elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then - echo rs6000-ibm-aix3.2.4 - else - echo rs6000-ibm-aix3.2 - fi - exit ;; - *:AIX:*:[456]) - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` - if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then - IBM_ARCH=rs6000 - else - IBM_ARCH=powerpc - fi - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` - else - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} - fi - echo ${IBM_ARCH}-ibm-aix${IBM_REV} - exit ;; - *:AIX:*:*) - echo rs6000-ibm-aix - exit ;; - ibmrt:4.4BSD:*|romp-ibm:BSD:*) - echo romp-ibm-bsd4.4 - exit ;; - ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and - echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to - exit ;; # report: romp-ibm BSD 4.3 - *:BOSX:*:*) - echo rs6000-bull-bosx - exit ;; - DPX/2?00:B.O.S.:*:*) - echo m68k-bull-sysv3 - exit ;; - 9000/[34]??:4.3bsd:1.*:*) - echo m68k-hp-bsd - exit ;; - hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) - echo m68k-hp-bsd4.4 - exit ;; - 9000/[34678]??:HP-UX:*:*) - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` - case "${UNAME_MACHINE}" in - 9000/31? ) HP_ARCH=m68000 ;; - 9000/[34]?? ) HP_ARCH=m68k ;; - 9000/[678][0-9][0-9]) - if [ -x /usr/bin/getconf ]; then - sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` - sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` - case "${sc_cpu_version}" in - 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 - 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 - 532) # CPU_PA_RISC2_0 - case "${sc_kernel_bits}" in - 32) HP_ARCH="hppa2.0n" ;; - 64) HP_ARCH="hppa2.0w" ;; - '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 - esac ;; - esac - fi - if [ "${HP_ARCH}" = "" ]; then - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - - #define _HPUX_SOURCE - #include - #include - - int main () - { - #if defined(_SC_KERNEL_BITS) - long bits = sysconf(_SC_KERNEL_BITS); - #endif - long cpu = sysconf (_SC_CPU_VERSION); - - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1"); break; - case CPU_PA_RISC2_0: - #if defined(_SC_KERNEL_BITS) - switch (bits) - { - case 64: puts ("hppa2.0w"); break; - case 32: puts ("hppa2.0n"); break; - default: puts ("hppa2.0"); break; - } break; - #else /* !defined(_SC_KERNEL_BITS) */ - puts ("hppa2.0"); break; - #endif - default: puts ("hppa1.0"); break; - } - exit (0); - } -EOF - (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` - test -z "$HP_ARCH" && HP_ARCH=hppa - fi ;; - esac - if [ ${HP_ARCH} = "hppa2.0w" ] - then - eval $set_cc_for_build - - # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating - # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler - # generating 64-bit code. GNU and HP use different nomenclature: - # - # $ CC_FOR_BUILD=cc ./config.guess - # => hppa2.0w-hp-hpux11.23 - # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess - # => hppa64-hp-hpux11.23 - - if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | - grep -q __LP64__ - then - HP_ARCH="hppa2.0w" - else - HP_ARCH="hppa64" - fi - fi - echo ${HP_ARCH}-hp-hpux${HPUX_REV} - exit ;; - ia64:HP-UX:*:*) - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` - echo ia64-hp-hpux${HPUX_REV} - exit ;; - 3050*:HI-UX:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - int - main () - { - long cpu = sysconf (_SC_CPU_VERSION); - /* The order matters, because CPU_IS_HP_MC68K erroneously returns - true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct - results, however. */ - if (CPU_IS_PA_RISC (cpu)) - { - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; - case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; - default: puts ("hppa-hitachi-hiuxwe2"); break; - } - } - else if (CPU_IS_HP_MC68K (cpu)) - puts ("m68k-hitachi-hiuxwe2"); - else puts ("unknown-hitachi-hiuxwe2"); - exit (0); - } -EOF - $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && - { echo "$SYSTEM_NAME"; exit; } - echo unknown-hitachi-hiuxwe2 - exit ;; - 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) - echo hppa1.1-hp-bsd - exit ;; - 9000/8??:4.3bsd:*:*) - echo hppa1.0-hp-bsd - exit ;; - *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) - echo hppa1.0-hp-mpeix - exit ;; - hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) - echo hppa1.1-hp-osf - exit ;; - hp8??:OSF1:*:*) - echo hppa1.0-hp-osf - exit ;; - i*86:OSF1:*:*) - if [ -x /usr/sbin/sysversion ] ; then - echo ${UNAME_MACHINE}-unknown-osf1mk - else - echo ${UNAME_MACHINE}-unknown-osf1 - fi - exit ;; - parisc*:Lites*:*:*) - echo hppa1.1-hp-lites - exit ;; - C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) - echo c1-convex-bsd - exit ;; - C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit ;; - C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) - echo c34-convex-bsd - exit ;; - C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) - echo c38-convex-bsd - exit ;; - C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) - echo c4-convex-bsd - exit ;; - CRAY*Y-MP:*:*:*) - echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit ;; - CRAY*[A-Z]90:*:*:*) - echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ - | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ - -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ - -e 's/\.[^.]*$/.X/' - exit ;; - CRAY*TS:*:*:*) - echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit ;; - CRAY*T3E:*:*:*) - echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit ;; - CRAY*SV1:*:*:*) - echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit ;; - *:UNICOS/mp:*:*) - echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit ;; - F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) - FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit ;; - 5000:UNIX_System_V:4.*:*) - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` - echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit ;; - i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) - echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} - exit ;; - sparc*:BSD/OS:*:*) - echo sparc-unknown-bsdi${UNAME_RELEASE} - exit ;; - *:BSD/OS:*:*) - echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} - exit ;; - *:FreeBSD:*:*) - case ${UNAME_MACHINE} in - pc98) - echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - amd64) - echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - *) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - esac - exit ;; - i*:CYGWIN*:*) - echo ${UNAME_MACHINE}-pc-cygwin - exit ;; - *:MINGW*:*) - echo ${UNAME_MACHINE}-pc-mingw32 - exit ;; - i*:windows32*:*) - # uname -m includes "-pc" on this system. - echo ${UNAME_MACHINE}-mingw32 - exit ;; - i*:PW*:*) - echo ${UNAME_MACHINE}-pc-pw32 - exit ;; - *:Interix*:*) - case ${UNAME_MACHINE} in - x86) - echo i586-pc-interix${UNAME_RELEASE} - exit ;; - authenticamd | genuineintel | EM64T) - echo x86_64-unknown-interix${UNAME_RELEASE} - exit ;; - IA64) - echo ia64-unknown-interix${UNAME_RELEASE} - exit ;; - esac ;; - [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) - echo i${UNAME_MACHINE}-pc-mks - exit ;; - 8664:Windows_NT:*) - echo x86_64-pc-mks - exit ;; - i*:Windows_NT*:* | Pentium*:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we - # UNAME_MACHINE based on the output of uname instead of i386? - echo i586-pc-interix - exit ;; - i*:UWIN*:*) - echo ${UNAME_MACHINE}-pc-uwin - exit ;; - amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) - echo x86_64-unknown-cygwin - exit ;; - p*:CYGWIN*:*) - echo powerpcle-unknown-cygwin - exit ;; - prep*:SunOS:5.*:*) - echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit ;; - *:GNU:*:*) - # the GNU system - echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` - exit ;; - *:GNU/*:*:*) - # other systems with GNU libc and userland - echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu - exit ;; - i*86:Minix:*:*) - echo ${UNAME_MACHINE}-pc-minix - exit ;; - alpha:Linux:*:*) - case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in - EV5) UNAME_MACHINE=alphaev5 ;; - EV56) UNAME_MACHINE=alphaev56 ;; - PCA56) UNAME_MACHINE=alphapca56 ;; - PCA57) UNAME_MACHINE=alphapca56 ;; - EV6) UNAME_MACHINE=alphaev6 ;; - EV67) UNAME_MACHINE=alphaev67 ;; - EV68*) UNAME_MACHINE=alphaev68 ;; - esac - objdump --private-headers /bin/sh | grep -q ld.so.1 - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} - exit ;; - arm*:Linux:*:*) - eval $set_cc_for_build - if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep -q __ARM_EABI__ - then - echo ${UNAME_MACHINE}-unknown-linux-gnu - else - echo ${UNAME_MACHINE}-unknown-linux-gnueabi - fi - exit ;; - avr32*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - cris:Linux:*:*) - echo cris-axis-linux-gnu - exit ;; - crisv32:Linux:*:*) - echo crisv32-axis-linux-gnu - exit ;; - frv:Linux:*:*) - echo frv-unknown-linux-gnu - exit ;; - i*86:Linux:*:*) - LIBC=gnu - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #ifdef __dietlibc__ - LIBC=dietlibc - #endif -EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` - echo "${UNAME_MACHINE}-pc-linux-${LIBC}" - exit ;; - ia64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - m32r*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - m68*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - mips:Linux:*:* | mips64:Linux:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #undef CPU - #undef ${UNAME_MACHINE} - #undef ${UNAME_MACHINE}el - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=${UNAME_MACHINE}el - #else - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=${UNAME_MACHINE} - #else - CPU= - #endif - #endif -EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } - ;; - or32:Linux:*:*) - echo or32-unknown-linux-gnu - exit ;; - padre:Linux:*:*) - echo sparc-unknown-linux-gnu - exit ;; - parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-unknown-linux-gnu - exit ;; - parisc:Linux:*:* | hppa:Linux:*:*) - # Look for CPU level - case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in - PA7*) echo hppa1.1-unknown-linux-gnu ;; - PA8*) echo hppa2.0-unknown-linux-gnu ;; - *) echo hppa-unknown-linux-gnu ;; - esac - exit ;; - ppc64:Linux:*:*) - echo powerpc64-unknown-linux-gnu - exit ;; - ppc:Linux:*:*) - echo powerpc-unknown-linux-gnu - exit ;; - s390:Linux:*:* | s390x:Linux:*:*) - echo ${UNAME_MACHINE}-ibm-linux - exit ;; - sh64*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - sh*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - sparc:Linux:*:* | sparc64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - vax:Linux:*:*) - echo ${UNAME_MACHINE}-dec-linux-gnu - exit ;; - x86_64:Linux:*:*) - echo x86_64-unknown-linux-gnu - exit ;; - xtensa*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - i*86:DYNIX/ptx:4*:*) - # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. - # earlier versions are messed up and put the nodename in both - # sysname and nodename. - echo i386-sequent-sysv4 - exit ;; - i*86:UNIX_SV:4.2MP:2.*) - # Unixware is an offshoot of SVR4, but it has its own version - # number series starting with 2... - # I am not positive that other SVR4 systems won't match this, - # I just have to hope. -- rms. - # Use sysv4.2uw... so that sysv4* matches it. - echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} - exit ;; - i*86:OS/2:*:*) - # If we were able to find `uname', then EMX Unix compatibility - # is probably installed. - echo ${UNAME_MACHINE}-pc-os2-emx - exit ;; - i*86:XTS-300:*:STOP) - echo ${UNAME_MACHINE}-unknown-stop - exit ;; - i*86:atheos:*:*) - echo ${UNAME_MACHINE}-unknown-atheos - exit ;; - i*86:syllable:*:*) - echo ${UNAME_MACHINE}-pc-syllable - exit ;; - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) - echo i386-unknown-lynxos${UNAME_RELEASE} - exit ;; - i*86:*DOS:*:*) - echo ${UNAME_MACHINE}-pc-msdosdjgpp - exit ;; - i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) - UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` - if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then - echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} - else - echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} - fi - exit ;; - i*86:*:5:[678]*) - # UnixWare 7.x, OpenUNIX and OpenServer 6. - case `/bin/uname -X | grep "^Machine"` in - *486*) UNAME_MACHINE=i486 ;; - *Pentium) UNAME_MACHINE=i586 ;; - *Pent*|*Celeron) UNAME_MACHINE=i686 ;; - esac - echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} - exit ;; - i*86:*:3.2:*) - if test -f /usr/options/cb.name; then - UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then - UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` - (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 - (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ - && UNAME_MACHINE=i586 - (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ - && UNAME_MACHINE=i686 - (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ - && UNAME_MACHINE=i686 - echo ${UNAME_MACHINE}-pc-sco$UNAME_REL - else - echo ${UNAME_MACHINE}-pc-sysv32 - fi - exit ;; - pc:*:*:*) - # Left here for compatibility: - # uname -m prints for DJGPP always 'pc', but it prints nothing about - # the processor, so we play safe by assuming i586. - # Note: whatever this is, it MUST be the same as what config.sub - # prints for the "djgpp" host, or else GDB configury will decide that - # this is a cross-build. - echo i586-pc-msdosdjgpp - exit ;; - Intel:Mach:3*:*) - echo i386-pc-mach3 - exit ;; - paragon:*:*:*) - echo i860-intel-osf1 - exit ;; - i860:*:4.*:*) # i860-SVR4 - if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then - echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 - else # Add other i860-SVR4 vendors below as they are discovered. - echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 - fi - exit ;; - mini*:CTIX:SYS*5:*) - # "miniframe" - echo m68010-convergent-sysv - exit ;; - mc68k:UNIX:SYSTEM5:3.51m) - echo m68k-convergent-sysv - exit ;; - M680?0:D-NIX:5.3:*) - echo m68k-diab-dnix - exit ;; - M68*:*:R3V[5678]*:*) - test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; - 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) - OS_REL='' - test -r /etc/.relid \ - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && { echo i486-ncr-sysv4.3${OS_REL}; exit; } - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ - && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; - 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && { echo i486-ncr-sysv4; exit; } ;; - NCR*:*:4.2:* | MPRAS*:*:4.2:*) - OS_REL='.3' - test -r /etc/.relid \ - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && { echo i486-ncr-sysv4.3${OS_REL}; exit; } - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ - && { echo i586-ncr-sysv4.3${OS_REL}; exit; } - /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ - && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; - m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) - echo m68k-unknown-lynxos${UNAME_RELEASE} - exit ;; - mc68030:UNIX_System_V:4.*:*) - echo m68k-atari-sysv4 - exit ;; - TSUNAMI:LynxOS:2.*:*) - echo sparc-unknown-lynxos${UNAME_RELEASE} - exit ;; - rs6000:LynxOS:2.*:*) - echo rs6000-unknown-lynxos${UNAME_RELEASE} - exit ;; - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) - echo powerpc-unknown-lynxos${UNAME_RELEASE} - exit ;; - SM[BE]S:UNIX_SV:*:*) - echo mips-dde-sysv${UNAME_RELEASE} - exit ;; - RM*:ReliantUNIX-*:*:*) - echo mips-sni-sysv4 - exit ;; - RM*:SINIX-*:*:*) - echo mips-sni-sysv4 - exit ;; - *:SINIX-*:*:*) - if uname -p 2>/dev/null >/dev/null ; then - UNAME_MACHINE=`(uname -p) 2>/dev/null` - echo ${UNAME_MACHINE}-sni-sysv4 - else - echo ns32k-sni-sysv - fi - exit ;; - PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort - # says - echo i586-unisys-sysv4 - exit ;; - *:UNIX_System_V:4*:FTX*) - # From Gerald Hewes . - # How about differentiating between stratus architectures? -djm - echo hppa1.1-stratus-sysv4 - exit ;; - *:*:*:FTX*) - # From seanf@swdc.stratus.com. - echo i860-stratus-sysv4 - exit ;; - i*86:VOS:*:*) - # From Paul.Green@stratus.com. - echo ${UNAME_MACHINE}-stratus-vos - exit ;; - *:VOS:*:*) - # From Paul.Green@stratus.com. - echo hppa1.1-stratus-vos - exit ;; - mc68*:A/UX:*:*) - echo m68k-apple-aux${UNAME_RELEASE} - exit ;; - news*:NEWS-OS:6*:*) - echo mips-sony-newsos6 - exit ;; - R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) - if [ -d /usr/nec ]; then - echo mips-nec-sysv${UNAME_RELEASE} - else - echo mips-unknown-sysv${UNAME_RELEASE} - fi - exit ;; - BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. - echo powerpc-be-beos - exit ;; - BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. - echo powerpc-apple-beos - exit ;; - BePC:BeOS:*:*) # BeOS running on Intel PC compatible. - echo i586-pc-beos - exit ;; - BePC:Haiku:*:*) # Haiku running on Intel PC compatible. - echo i586-pc-haiku - exit ;; - SX-4:SUPER-UX:*:*) - echo sx4-nec-superux${UNAME_RELEASE} - exit ;; - SX-5:SUPER-UX:*:*) - echo sx5-nec-superux${UNAME_RELEASE} - exit ;; - SX-6:SUPER-UX:*:*) - echo sx6-nec-superux${UNAME_RELEASE} - exit ;; - SX-7:SUPER-UX:*:*) - echo sx7-nec-superux${UNAME_RELEASE} - exit ;; - SX-8:SUPER-UX:*:*) - echo sx8-nec-superux${UNAME_RELEASE} - exit ;; - SX-8R:SUPER-UX:*:*) - echo sx8r-nec-superux${UNAME_RELEASE} - exit ;; - Power*:Rhapsody:*:*) - echo powerpc-apple-rhapsody${UNAME_RELEASE} - exit ;; - *:Rhapsody:*:*) - echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} - exit ;; - *:Darwin:*:*) - UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown - case $UNAME_PROCESSOR in - i386) - eval $set_cc_for_build - if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then - if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_64BIT_ARCH >/dev/null - then - UNAME_PROCESSOR="x86_64" - fi - fi ;; - unknown) UNAME_PROCESSOR=powerpc ;; - esac - echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} - exit ;; - *:procnto*:*:* | *:QNX:[0123456789]*:*) - UNAME_PROCESSOR=`uname -p` - if test "$UNAME_PROCESSOR" = "x86"; then - UNAME_PROCESSOR=i386 - UNAME_MACHINE=pc - fi - echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} - exit ;; - *:QNX:*:4*) - echo i386-pc-qnx - exit ;; - NSE-?:NONSTOP_KERNEL:*:*) - echo nse-tandem-nsk${UNAME_RELEASE} - exit ;; - NSR-?:NONSTOP_KERNEL:*:*) - echo nsr-tandem-nsk${UNAME_RELEASE} - exit ;; - *:NonStop-UX:*:*) - echo mips-compaq-nonstopux - exit ;; - BS2000:POSIX*:*:*) - echo bs2000-siemens-sysv - exit ;; - DS/*:UNIX_System_V:*:*) - echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} - exit ;; - *:Plan9:*:*) - # "uname -m" is not consistent, so use $cputype instead. 386 - # is converted to i386 for consistency with other x86 - # operating systems. - if test "$cputype" = "386"; then - UNAME_MACHINE=i386 - else - UNAME_MACHINE="$cputype" - fi - echo ${UNAME_MACHINE}-unknown-plan9 - exit ;; - *:TOPS-10:*:*) - echo pdp10-unknown-tops10 - exit ;; - *:TENEX:*:*) - echo pdp10-unknown-tenex - exit ;; - KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) - echo pdp10-dec-tops20 - exit ;; - XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) - echo pdp10-xkl-tops20 - exit ;; - *:TOPS-20:*:*) - echo pdp10-unknown-tops20 - exit ;; - *:ITS:*:*) - echo pdp10-unknown-its - exit ;; - SEI:*:*:SEIUX) - echo mips-sei-seiux${UNAME_RELEASE} - exit ;; - *:DragonFly:*:*) - echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` - exit ;; - *:*VMS:*:*) - UNAME_MACHINE=`(uname -p) 2>/dev/null` - case "${UNAME_MACHINE}" in - A*) echo alpha-dec-vms ; exit ;; - I*) echo ia64-dec-vms ; exit ;; - V*) echo vax-dec-vms ; exit ;; - esac ;; - *:XENIX:*:SysV) - echo i386-pc-xenix - exit ;; - i*86:skyos:*:*) - echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' - exit ;; - i*86:rdos:*:*) - echo ${UNAME_MACHINE}-pc-rdos - exit ;; - i*86:AROS:*:*) - echo ${UNAME_MACHINE}-pc-aros - exit ;; -esac - -#echo '(No uname command or uname output not recognized.)' 1>&2 -#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 - -eval $set_cc_for_build -cat >$dummy.c < -# include -#endif -main () -{ -#if defined (sony) -#if defined (MIPSEB) - /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, - I don't know.... */ - printf ("mips-sony-bsd\n"); exit (0); -#else -#include - printf ("m68k-sony-newsos%s\n", -#ifdef NEWSOS4 - "4" -#else - "" -#endif - ); exit (0); -#endif -#endif - -#if defined (__arm) && defined (__acorn) && defined (__unix) - printf ("arm-acorn-riscix\n"); exit (0); -#endif - -#if defined (hp300) && !defined (hpux) - printf ("m68k-hp-bsd\n"); exit (0); -#endif - -#if defined (NeXT) -#if !defined (__ARCHITECTURE__) -#define __ARCHITECTURE__ "m68k" -#endif - int version; - version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; - if (version < 4) - printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); - else - printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); - exit (0); -#endif - -#if defined (MULTIMAX) || defined (n16) -#if defined (UMAXV) - printf ("ns32k-encore-sysv\n"); exit (0); -#else -#if defined (CMU) - printf ("ns32k-encore-mach\n"); exit (0); -#else - printf ("ns32k-encore-bsd\n"); exit (0); -#endif -#endif -#endif - -#if defined (__386BSD__) - printf ("i386-pc-bsd\n"); exit (0); -#endif - -#if defined (sequent) -#if defined (i386) - printf ("i386-sequent-dynix\n"); exit (0); -#endif -#if defined (ns32000) - printf ("ns32k-sequent-dynix\n"); exit (0); -#endif -#endif - -#if defined (_SEQUENT_) - struct utsname un; - - uname(&un); - - if (strncmp(un.version, "V2", 2) == 0) { - printf ("i386-sequent-ptx2\n"); exit (0); - } - if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ - printf ("i386-sequent-ptx1\n"); exit (0); - } - printf ("i386-sequent-ptx\n"); exit (0); - -#endif - -#if defined (vax) -# if !defined (ultrix) -# include -# if defined (BSD) -# if BSD == 43 - printf ("vax-dec-bsd4.3\n"); exit (0); -# else -# if BSD == 199006 - printf ("vax-dec-bsd4.3reno\n"); exit (0); -# else - printf ("vax-dec-bsd\n"); exit (0); -# endif -# endif -# else - printf ("vax-dec-bsd\n"); exit (0); -# endif -# else - printf ("vax-dec-ultrix\n"); exit (0); -# endif -#endif - -#if defined (alliant) && defined (i860) - printf ("i860-alliant-bsd\n"); exit (0); -#endif - - exit (1); -} -EOF - -$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && - { echo "$SYSTEM_NAME"; exit; } - -# Apollos put the system type in the environment. - -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } - -# Convex versions that predate uname can use getsysinfo(1) - -if [ -x /usr/convex/getsysinfo ] -then - case `getsysinfo -f cpu_type` in - c1*) - echo c1-convex-bsd - exit ;; - c2*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit ;; - c34*) - echo c34-convex-bsd - exit ;; - c38*) - echo c38-convex-bsd - exit ;; - c4*) - echo c4-convex-bsd - exit ;; - esac -fi - -cat >&2 < in order to provide the needed -information to handle your system. - -config.guess timestamp = $timestamp - -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null` - -hostinfo = `(hostinfo) 2>/dev/null` -/bin/universe = `(/bin/universe) 2>/dev/null` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` -/bin/arch = `(/bin/arch) 2>/dev/null` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` - -UNAME_MACHINE = ${UNAME_MACHINE} -UNAME_RELEASE = ${UNAME_RELEASE} -UNAME_SYSTEM = ${UNAME_SYSTEM} -UNAME_VERSION = ${UNAME_VERSION} -EOF - -exit 1 - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "timestamp='" -# time-stamp-format: "%:y-%02m-%02d" -# time-stamp-end: "'" -# End: diff --git a/dep/ACE_wrappers/aux_config/config.sub b/dep/ACE_wrappers/aux_config/config.sub deleted file mode 100755 index 2a55a5075..000000000 --- a/dep/ACE_wrappers/aux_config/config.sub +++ /dev/null @@ -1,1705 +0,0 @@ -#! /bin/sh -# Configuration validation subroutine script. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 -# Free Software Foundation, Inc. - -timestamp='2009-11-20' - -# This file is (in principle) common to ALL GNU software. -# The presence of a machine in this file suggests that SOME GNU software -# can handle that machine. It does not imply ALL GNU software can. -# -# This file 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. -# -# This program 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 this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA -# 02110-1301, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - - -# Please send patches to . Submit a context -# diff and a properly formatted GNU ChangeLog entry. -# -# Configuration subroutine to validate and canonicalize a configuration type. -# Supply the specified configuration type as an argument. -# If it is invalid, we print an error message on stderr and exit with code 1. -# Otherwise, we print the canonical config type on stdout and succeed. - -# You can get the latest version of this script from: -# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD - -# This file is supposed to be the same for all GNU packages -# and recognize all the CPU types, system types and aliases -# that are meaningful with *any* GNU software. -# Each package is responsible for reporting which valid configurations -# it does not support. The user should be able to distinguish -# a failure to support a valid configuration from a meaningless -# configuration. - -# The goal of this file is to map all the various variations of a given -# machine specification into a single specification in the form: -# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM -# or in some cases, the newer four-part form: -# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM -# It is wrong to echo any other type of specification. - -me=`echo "$0" | sed -e 's,.*/,,'` - -usage="\ -Usage: $0 [OPTION] CPU-MFR-OPSYS - $0 [OPTION] ALIAS - -Canonicalize a configuration name. - -Operation modes: - -h, --help print this help, then exit - -t, --time-stamp print date of last modification, then exit - -v, --version print version number, then exit - -Report bugs and patches to ." - -version="\ -GNU config.sub ($timestamp) - -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006, 2007, 2008 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." - -help=" -Try \`$me --help' for more information." - -# Parse command line -while test $# -gt 0 ; do - case $1 in - --time-stamp | --time* | -t ) - echo "$timestamp" ; exit ;; - --version | -v ) - echo "$version" ; exit ;; - --help | --h* | -h ) - echo "$usage"; exit ;; - -- ) # Stop option processing - shift; break ;; - - ) # Use stdin as input. - break ;; - -* ) - echo "$me: invalid option $1$help" - exit 1 ;; - - *local*) - # First pass through any local machine types. - echo $1 - exit ;; - - * ) - break ;; - esac -done - -case $# in - 0) echo "$me: missing argument$help" >&2 - exit 1;; - 1) ;; - *) echo "$me: too many arguments$help" >&2 - exit 1;; -esac - -# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). -# Here we must recognize all the valid KERNEL-OS combinations. -maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` -case $maybe_os in - nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ - uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ - kopensolaris*-gnu* | \ - storm-chaos* | os2-emx* | rtmk-nova*) - os=-$maybe_os - basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` - ;; - *) - basic_machine=`echo $1 | sed 's/-[^-]*$//'` - if [ $basic_machine != $1 ] - then os=`echo $1 | sed 's/.*-/-/'` - else os=; fi - ;; -esac - -### Let's recognize common machines as not being operating systems so -### that things like config.sub decstation-3100 work. We also -### recognize some manufacturers as not being operating systems, so we -### can provide default operating systems below. -case $os in - -sun*os*) - # Prevent following clause from handling this invalid input. - ;; - -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ - -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ - -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ - -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ - -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ - -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple | -axis | -knuth | -cray | -microblaze) - os= - basic_machine=$1 - ;; - -bluegene*) - os=-cnk - ;; - -sim | -cisco | -oki | -wec | -winbond) - os= - basic_machine=$1 - ;; - -scout) - ;; - -wrs) - os=-vxworks - basic_machine=$1 - ;; - -chorusos*) - os=-chorusos - basic_machine=$1 - ;; - -chorusrdb) - os=-chorusrdb - basic_machine=$1 - ;; - -hiux*) - os=-hiuxwe2 - ;; - -sco6) - os=-sco5v6 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco5) - os=-sco3.2v5 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco4) - os=-sco3.2v4 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2.[4-9]*) - os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2v[4-9]*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco5v6*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco*) - os=-sco3.2v2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -udk*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -isc) - os=-isc2.2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -clix*) - basic_machine=clipper-intergraph - ;; - -isc*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -lynx*) - os=-lynxos - ;; - -ptx*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` - ;; - -windowsnt*) - os=`echo $os | sed -e 's/windowsnt/winnt/'` - ;; - -psos*) - os=-psos - ;; - -mint | -mint[0-9]*) - basic_machine=m68k-atari - os=-mint - ;; -esac - -# Decode aliases for certain CPU-COMPANY combinations. -case $basic_machine in - # Recognize the basic CPU types without company name. - # Some are omitted here because they have special meanings below. - 1750a | 580 \ - | a29k \ - | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ - | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ - | am33_2.0 \ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ - | bfin \ - | c4x | clipper \ - | d10v | d30v | dlx | dsp16xx \ - | fido | fr30 | frv \ - | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ - | i370 | i860 | i960 | ia64 \ - | ip2k | iq2000 \ - | lm32 \ - | m32c | m32r | m32rle | m68000 | m68k | m88k \ - | maxq | mb | microblaze | mcore | mep | metag \ - | mips | mipsbe | mipseb | mipsel | mipsle \ - | mips16 \ - | mips64 | mips64el \ - | mips64octeon | mips64octeonel \ - | mips64orion | mips64orionel \ - | mips64r5900 | mips64r5900el \ - | mips64vr | mips64vrel \ - | mips64vr4100 | mips64vr4100el \ - | mips64vr4300 | mips64vr4300el \ - | mips64vr5000 | mips64vr5000el \ - | mips64vr5900 | mips64vr5900el \ - | mipsisa32 | mipsisa32el \ - | mipsisa32r2 | mipsisa32r2el \ - | mipsisa64 | mipsisa64el \ - | mipsisa64r2 | mipsisa64r2el \ - | mipsisa64sb1 | mipsisa64sb1el \ - | mipsisa64sr71k | mipsisa64sr71kel \ - | mipstx39 | mipstx39el \ - | mn10200 | mn10300 \ - | moxie \ - | mt \ - | msp430 \ - | nios | nios2 \ - | ns16k | ns32k \ - | or32 \ - | pdp10 | pdp11 | pj | pjl \ - | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ - | pyramid \ - | rx \ - | score \ - | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ - | sh64 | sh64le \ - | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ - | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ - | spu | strongarm \ - | tahoe | thumb | tic4x | tic80 | tron \ - | ubicom32 \ - | v850 | v850e \ - | we32k \ - | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ - | z8k | z80) - basic_machine=$basic_machine-unknown - ;; - m6811 | m68hc11 | m6812 | m68hc12 | picochip) - # Motorola 68HC11/12. - basic_machine=$basic_machine-unknown - os=-none - ;; - m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) - ;; - ms1) - basic_machine=mt-unknown - ;; - - # We use `pc' rather than `unknown' - # because (1) that's what they normally are, and - # (2) the word "unknown" tends to confuse beginning users. - i*86 | x86_64) - basic_machine=$basic_machine-pc - ;; - # Object if more than one company name word. - *-*-*) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 - exit 1 - ;; - # Recognize the basic CPU types with company name. - 580-* \ - | a29k-* \ - | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ - | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ - | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ - | avr-* | avr32-* \ - | bfin-* | bs2000-* \ - | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ - | clipper-* | craynv-* | cydra-* \ - | d10v-* | d30v-* | dlx-* \ - | elxsi-* \ - | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ - | h8300-* | h8500-* \ - | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ - | i*86-* | i860-* | i960-* | ia64-* \ - | ip2k-* | iq2000-* \ - | lm32-* \ - | m32c-* | m32r-* | m32rle-* \ - | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ - | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ - | mips16-* \ - | mips64-* | mips64el-* \ - | mips64octeon-* | mips64octeonel-* \ - | mips64orion-* | mips64orionel-* \ - | mips64r5900-* | mips64r5900el-* \ - | mips64vr-* | mips64vrel-* \ - | mips64vr4100-* | mips64vr4100el-* \ - | mips64vr4300-* | mips64vr4300el-* \ - | mips64vr5000-* | mips64vr5000el-* \ - | mips64vr5900-* | mips64vr5900el-* \ - | mipsisa32-* | mipsisa32el-* \ - | mipsisa32r2-* | mipsisa32r2el-* \ - | mipsisa64-* | mipsisa64el-* \ - | mipsisa64r2-* | mipsisa64r2el-* \ - | mipsisa64sb1-* | mipsisa64sb1el-* \ - | mipsisa64sr71k-* | mipsisa64sr71kel-* \ - | mipstx39-* | mipstx39el-* \ - | mmix-* \ - | mt-* \ - | msp430-* \ - | nios-* | nios2-* \ - | none-* | np1-* | ns16k-* | ns32k-* \ - | orion-* \ - | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ - | pyramid-* \ - | romp-* | rs6000-* | rx-* \ - | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ - | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ - | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ - | tahoe-* | thumb-* \ - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ - | tron-* \ - | ubicom32-* \ - | v850-* | v850e-* | vax-* \ - | we32k-* \ - | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ - | xstormy16-* | xtensa*-* \ - | ymp-* \ - | z8k-* | z80-*) - ;; - # Recognize the basic CPU types without company name, with glob match. - xtensa*) - basic_machine=$basic_machine-unknown - ;; - # Recognize the various machine names and aliases which stand - # for a CPU type and a company and sometimes even an OS. - 386bsd) - basic_machine=i386-unknown - os=-bsd - ;; - 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) - basic_machine=m68000-att - ;; - 3b*) - basic_machine=we32k-att - ;; - a29khif) - basic_machine=a29k-amd - os=-udi - ;; - abacus) - basic_machine=abacus-unknown - ;; - adobe68k) - basic_machine=m68010-adobe - os=-scout - ;; - alliant | fx80) - basic_machine=fx80-alliant - ;; - altos | altos3068) - basic_machine=m68k-altos - ;; - am29k) - basic_machine=a29k-none - os=-bsd - ;; - amd64) - basic_machine=x86_64-pc - ;; - amd64-*) - basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - amdahl) - basic_machine=580-amdahl - os=-sysv - ;; - amiga | amiga-*) - basic_machine=m68k-unknown - ;; - amigaos | amigados) - basic_machine=m68k-unknown - os=-amigaos - ;; - amigaunix | amix) - basic_machine=m68k-unknown - os=-sysv4 - ;; - apollo68) - basic_machine=m68k-apollo - os=-sysv - ;; - apollo68bsd) - basic_machine=m68k-apollo - os=-bsd - ;; - aros) - basic_machine=i386-pc - os=-aros - ;; - aux) - basic_machine=m68k-apple - os=-aux - ;; - balance) - basic_machine=ns32k-sequent - os=-dynix - ;; - blackfin) - basic_machine=bfin-unknown - os=-linux - ;; - blackfin-*) - basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` - os=-linux - ;; - bluegene*) - basic_machine=powerpc-ibm - os=-cnk - ;; - c90) - basic_machine=c90-cray - os=-unicos - ;; - cegcc) - basic_machine=arm-unknown - os=-cegcc - ;; - convex-c1) - basic_machine=c1-convex - os=-bsd - ;; - convex-c2) - basic_machine=c2-convex - os=-bsd - ;; - convex-c32) - basic_machine=c32-convex - os=-bsd - ;; - convex-c34) - basic_machine=c34-convex - os=-bsd - ;; - convex-c38) - basic_machine=c38-convex - os=-bsd - ;; - cray | j90) - basic_machine=j90-cray - os=-unicos - ;; - craynv) - basic_machine=craynv-cray - os=-unicosmp - ;; - cr16) - basic_machine=cr16-unknown - os=-elf - ;; - crds | unos) - basic_machine=m68k-crds - ;; - crisv32 | crisv32-* | etraxfs*) - basic_machine=crisv32-axis - ;; - cris | cris-* | etrax*) - basic_machine=cris-axis - ;; - crx) - basic_machine=crx-unknown - os=-elf - ;; - da30 | da30-*) - basic_machine=m68k-da30 - ;; - decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) - basic_machine=mips-dec - ;; - decsystem10* | dec10*) - basic_machine=pdp10-dec - os=-tops10 - ;; - decsystem20* | dec20*) - basic_machine=pdp10-dec - os=-tops20 - ;; - delta | 3300 | motorola-3300 | motorola-delta \ - | 3300-motorola | delta-motorola) - basic_machine=m68k-motorola - ;; - delta88) - basic_machine=m88k-motorola - os=-sysv3 - ;; - dicos) - basic_machine=i686-pc - os=-dicos - ;; - djgpp) - basic_machine=i586-pc - os=-msdosdjgpp - ;; - dpx20 | dpx20-*) - basic_machine=rs6000-bull - os=-bosx - ;; - dpx2* | dpx2*-bull) - basic_machine=m68k-bull - os=-sysv3 - ;; - ebmon29k) - basic_machine=a29k-amd - os=-ebmon - ;; - elxsi) - basic_machine=elxsi-elxsi - os=-bsd - ;; - encore | umax | mmax) - basic_machine=ns32k-encore - ;; - es1800 | OSE68k | ose68k | ose | OSE) - basic_machine=m68k-ericsson - os=-ose - ;; - fx2800) - basic_machine=i860-alliant - ;; - genix) - basic_machine=ns32k-ns - ;; - gmicro) - basic_machine=tron-gmicro - os=-sysv - ;; - go32) - basic_machine=i386-pc - os=-go32 - ;; - h3050r* | hiux*) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - h8300hms) - basic_machine=h8300-hitachi - os=-hms - ;; - h8300xray) - basic_machine=h8300-hitachi - os=-xray - ;; - h8500hms) - basic_machine=h8500-hitachi - os=-hms - ;; - harris) - basic_machine=m88k-harris - os=-sysv3 - ;; - hp300-*) - basic_machine=m68k-hp - ;; - hp300bsd) - basic_machine=m68k-hp - os=-bsd - ;; - hp300hpux) - basic_machine=m68k-hp - os=-hpux - ;; - hp3k9[0-9][0-9] | hp9[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hp9k2[0-9][0-9] | hp9k31[0-9]) - basic_machine=m68000-hp - ;; - hp9k3[2-9][0-9]) - basic_machine=m68k-hp - ;; - hp9k6[0-9][0-9] | hp6[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hp9k7[0-79][0-9] | hp7[0-79][0-9]) - basic_machine=hppa1.1-hp - ;; - hp9k78[0-9] | hp78[0-9]) - # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp - ;; - hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) - # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp - ;; - hp9k8[0-9][13679] | hp8[0-9][13679]) - basic_machine=hppa1.1-hp - ;; - hp9k8[0-9][0-9] | hp8[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hppa-next) - os=-nextstep3 - ;; - hppaosf) - basic_machine=hppa1.1-hp - os=-osf - ;; - hppro) - basic_machine=hppa1.1-hp - os=-proelf - ;; - i370-ibm* | ibm*) - basic_machine=i370-ibm - ;; -# I'm not sure what "Sysv32" means. Should this be sysv3.2? - i*86v32) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv32 - ;; - i*86v4*) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv4 - ;; - i*86v) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv - ;; - i*86sol2) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-solaris2 - ;; - i386mach) - basic_machine=i386-mach - os=-mach - ;; - i386-vsta | vsta) - basic_machine=i386-unknown - os=-vsta - ;; - iris | iris4d) - basic_machine=mips-sgi - case $os in - -irix*) - ;; - *) - os=-irix4 - ;; - esac - ;; - isi68 | isi) - basic_machine=m68k-isi - os=-sysv - ;; - m68knommu) - basic_machine=m68k-unknown - os=-linux - ;; - m68knommu-*) - basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` - os=-linux - ;; - m88k-omron*) - basic_machine=m88k-omron - ;; - magnum | m3230) - basic_machine=mips-mips - os=-sysv - ;; - merlin) - basic_machine=ns32k-utek - os=-sysv - ;; - microblaze) - basic_machine=microblaze-xilinx - ;; - mingw32) - basic_machine=i386-pc - os=-mingw32 - ;; - mingw32ce) - basic_machine=arm-unknown - os=-mingw32ce - ;; - miniframe) - basic_machine=m68000-convergent - ;; - *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) - basic_machine=m68k-atari - os=-mint - ;; - mips3*-*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` - ;; - mips3*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown - ;; - monitor) - basic_machine=m68k-rom68k - os=-coff - ;; - morphos) - basic_machine=powerpc-unknown - os=-morphos - ;; - msdos) - basic_machine=i386-pc - os=-msdos - ;; - ms1-*) - basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` - ;; - mvs) - basic_machine=i370-ibm - os=-mvs - ;; - ncr3000) - basic_machine=i486-ncr - os=-sysv4 - ;; - netbsd386) - basic_machine=i386-unknown - os=-netbsd - ;; - netwinder) - basic_machine=armv4l-rebel - os=-linux - ;; - news | news700 | news800 | news900) - basic_machine=m68k-sony - os=-newsos - ;; - news1000) - basic_machine=m68030-sony - os=-newsos - ;; - news-3600 | risc-news) - basic_machine=mips-sony - os=-newsos - ;; - necv70) - basic_machine=v70-nec - os=-sysv - ;; - next | m*-next ) - basic_machine=m68k-next - case $os in - -nextstep* ) - ;; - -ns2*) - os=-nextstep2 - ;; - *) - os=-nextstep3 - ;; - esac - ;; - nh3000) - basic_machine=m68k-harris - os=-cxux - ;; - nh[45]000) - basic_machine=m88k-harris - os=-cxux - ;; - nindy960) - basic_machine=i960-intel - os=-nindy - ;; - mon960) - basic_machine=i960-intel - os=-mon960 - ;; - nonstopux) - basic_machine=mips-compaq - os=-nonstopux - ;; - np1) - basic_machine=np1-gould - ;; - nsr-tandem) - basic_machine=nsr-tandem - ;; - op50n-* | op60c-*) - basic_machine=hppa1.1-oki - os=-proelf - ;; - openrisc | openrisc-*) - basic_machine=or32-unknown - ;; - os400) - basic_machine=powerpc-ibm - os=-os400 - ;; - OSE68000 | ose68000) - basic_machine=m68000-ericsson - os=-ose - ;; - os68k) - basic_machine=m68k-none - os=-os68k - ;; - pa-hitachi) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - paragon) - basic_machine=i860-intel - os=-osf - ;; - parisc) - basic_machine=hppa-unknown - os=-linux - ;; - parisc-*) - basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` - os=-linux - ;; - pbd) - basic_machine=sparc-tti - ;; - pbb) - basic_machine=m68k-tti - ;; - pc532 | pc532-*) - basic_machine=ns32k-pc532 - ;; - pc98) - basic_machine=i386-pc - ;; - pc98-*) - basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentium | p5 | k5 | k6 | nexgen | viac3) - basic_machine=i586-pc - ;; - pentiumpro | p6 | 6x86 | athlon | athlon_*) - basic_machine=i686-pc - ;; - pentiumii | pentium2 | pentiumiii | pentium3) - basic_machine=i686-pc - ;; - pentium4) - basic_machine=i786-pc - ;; - pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) - basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentiumpro-* | p6-* | 6x86-* | athlon-*) - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentium4-*) - basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pn) - basic_machine=pn-gould - ;; - power) basic_machine=power-ibm - ;; - ppc) basic_machine=powerpc-unknown - ;; - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppcle | powerpclittle | ppc-le | powerpc-little) - basic_machine=powerpcle-unknown - ;; - ppcle-* | powerpclittle-*) - basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppc64) basic_machine=powerpc64-unknown - ;; - ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppc64le | powerpc64little | ppc64-le | powerpc64-little) - basic_machine=powerpc64le-unknown - ;; - ppc64le-* | powerpc64little-*) - basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ps2) - basic_machine=i386-ibm - ;; - pw32) - basic_machine=i586-unknown - os=-pw32 - ;; - rdos) - basic_machine=i386-pc - os=-rdos - ;; - rom68k) - basic_machine=m68k-rom68k - os=-coff - ;; - rm[46]00) - basic_machine=mips-siemens - ;; - rtpc | rtpc-*) - basic_machine=romp-ibm - ;; - s390 | s390-*) - basic_machine=s390-ibm - ;; - s390x | s390x-*) - basic_machine=s390x-ibm - ;; - sa29200) - basic_machine=a29k-amd - os=-udi - ;; - sb1) - basic_machine=mipsisa64sb1-unknown - ;; - sb1el) - basic_machine=mipsisa64sb1el-unknown - ;; - sde) - basic_machine=mipsisa32-sde - os=-elf - ;; - sei) - basic_machine=mips-sei - os=-seiux - ;; - sequent) - basic_machine=i386-sequent - ;; - sh) - basic_machine=sh-hitachi - os=-hms - ;; - sh5el) - basic_machine=sh5le-unknown - ;; - sh64) - basic_machine=sh64-unknown - ;; - sparclite-wrs | simso-wrs) - basic_machine=sparclite-wrs - os=-vxworks - ;; - sps7) - basic_machine=m68k-bull - os=-sysv2 - ;; - spur) - basic_machine=spur-unknown - ;; - st2000) - basic_machine=m68k-tandem - ;; - stratus) - basic_machine=i860-stratus - os=-sysv4 - ;; - sun2) - basic_machine=m68000-sun - ;; - sun2os3) - basic_machine=m68000-sun - os=-sunos3 - ;; - sun2os4) - basic_machine=m68000-sun - os=-sunos4 - ;; - sun3os3) - basic_machine=m68k-sun - os=-sunos3 - ;; - sun3os4) - basic_machine=m68k-sun - os=-sunos4 - ;; - sun4os3) - basic_machine=sparc-sun - os=-sunos3 - ;; - sun4os4) - basic_machine=sparc-sun - os=-sunos4 - ;; - sun4sol2) - basic_machine=sparc-sun - os=-solaris2 - ;; - sun3 | sun3-*) - basic_machine=m68k-sun - ;; - sun4) - basic_machine=sparc-sun - ;; - sun386 | sun386i | roadrunner) - basic_machine=i386-sun - ;; - sv1) - basic_machine=sv1-cray - os=-unicos - ;; - symmetry) - basic_machine=i386-sequent - os=-dynix - ;; - t3e) - basic_machine=alphaev5-cray - os=-unicos - ;; - t90) - basic_machine=t90-cray - os=-unicos - ;; - tic54x | c54x*) - basic_machine=tic54x-unknown - os=-coff - ;; - tic55x | c55x*) - basic_machine=tic55x-unknown - os=-coff - ;; - tic6x | c6x*) - basic_machine=tic6x-unknown - os=-coff - ;; - tile*) - basic_machine=tile-unknown - os=-linux-gnu - ;; - tx39) - basic_machine=mipstx39-unknown - ;; - tx39el) - basic_machine=mipstx39el-unknown - ;; - toad1) - basic_machine=pdp10-xkl - os=-tops20 - ;; - tower | tower-32) - basic_machine=m68k-ncr - ;; - tpf) - basic_machine=s390x-ibm - os=-tpf - ;; - udi29k) - basic_machine=a29k-amd - os=-udi - ;; - ultra3) - basic_machine=a29k-nyu - os=-sym1 - ;; - v810 | necv810) - basic_machine=v810-nec - os=-none - ;; - vaxv) - basic_machine=vax-dec - os=-sysv - ;; - vms) - basic_machine=vax-dec - os=-vms - ;; - vpp*|vx|vx-*) - basic_machine=f301-fujitsu - ;; - vxworks960) - basic_machine=i960-wrs - os=-vxworks - ;; - vxworks68) - basic_machine=m68k-wrs - os=-vxworks - ;; - vxworks29k) - basic_machine=a29k-wrs - os=-vxworks - ;; - w65*) - basic_machine=w65-wdc - os=-none - ;; - w89k-*) - basic_machine=hppa1.1-winbond - os=-proelf - ;; - xbox) - basic_machine=i686-pc - os=-mingw32 - ;; - xps | xps100) - basic_machine=xps100-honeywell - ;; - ymp) - basic_machine=ymp-cray - os=-unicos - ;; - z8k-*-coff) - basic_machine=z8k-unknown - os=-sim - ;; - z80-*-coff) - basic_machine=z80-unknown - os=-sim - ;; - none) - basic_machine=none-none - os=-none - ;; - -# Here we handle the default manufacturer of certain CPU types. It is in -# some cases the only manufacturer, in others, it is the most popular. - w89k) - basic_machine=hppa1.1-winbond - ;; - op50n) - basic_machine=hppa1.1-oki - ;; - op60c) - basic_machine=hppa1.1-oki - ;; - romp) - basic_machine=romp-ibm - ;; - mmix) - basic_machine=mmix-knuth - ;; - rs6000) - basic_machine=rs6000-ibm - ;; - vax) - basic_machine=vax-dec - ;; - pdp10) - # there are many clones, so DEC is not a safe bet - basic_machine=pdp10-unknown - ;; - pdp11) - basic_machine=pdp11-dec - ;; - we32k) - basic_machine=we32k-att - ;; - sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) - basic_machine=sh-unknown - ;; - sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) - basic_machine=sparc-sun - ;; - cydra) - basic_machine=cydra-cydrome - ;; - orion) - basic_machine=orion-highlevel - ;; - orion105) - basic_machine=clipper-highlevel - ;; - mac | mpw | mac-mpw) - basic_machine=m68k-apple - ;; - pmac | pmac-mpw) - basic_machine=powerpc-apple - ;; - *-unknown) - # Make sure to match an already-canonicalized machine name. - ;; - *) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 - exit 1 - ;; -esac - -# Here we canonicalize certain aliases for manufacturers. -case $basic_machine in - *-digital*) - basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` - ;; - *-commodore*) - basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` - ;; - *) - ;; -esac - -# Decode manufacturer-specific aliases for certain operating systems. - -if [ x"$os" != x"" ] -then -case $os in - # First match some system type aliases - # that might get confused with valid system types. - # -solaris* is a basic system type, with this one exception. - -auroraux) - os=-auroraux - ;; - -solaris1 | -solaris1.*) - os=`echo $os | sed -e 's|solaris1|sunos4|'` - ;; - -solaris) - os=-solaris2 - ;; - -svr4*) - os=-sysv4 - ;; - -unixware*) - os=-sysv4.2uw - ;; - -gnu/linux*) - os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` - ;; - # First accept the basic system types. - # The portable systems comes first. - # Each alternative MUST END IN A *, to match a version number. - # -sysv* is not here because it comes later, after sysvr4. - -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ - | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ - | -sym* | -kopensolaris* \ - | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ - | -aos* | -aros* \ - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ - | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ - | -openbsd* | -solidbsd* \ - | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ - | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ - | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ - | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ - | -chorusos* | -chorusrdb* | -cegcc* \ - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ - | -uxpv* | -beos* | -mpeix* | -udk* \ - | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ - | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ - | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ - | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ - | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ - | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) - # Remember, each alternative MUST END IN *, to match a version number. - ;; - -qnx*) - case $basic_machine in - x86-* | i*86-*) - ;; - *) - os=-nto$os - ;; - esac - ;; - -nto-qnx*) - ;; - -nto*) - os=`echo $os | sed -e 's|nto|nto-qnx|'` - ;; - -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ - | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ - | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) - ;; - -mac*) - os=`echo $os | sed -e 's|mac|macos|'` - ;; - -linux-dietlibc) - os=-linux-dietlibc - ;; - -linux*) - os=`echo $os | sed -e 's|linux|linux-gnu|'` - ;; - -sunos5*) - os=`echo $os | sed -e 's|sunos5|solaris2|'` - ;; - -sunos6*) - os=`echo $os | sed -e 's|sunos6|solaris3|'` - ;; - -opened*) - os=-openedition - ;; - -os400*) - os=-os400 - ;; - -wince*) - os=-wince - ;; - -osfrose*) - os=-osfrose - ;; - -osf*) - os=-osf - ;; - -utek*) - os=-bsd - ;; - -dynix*) - os=-bsd - ;; - -acis*) - os=-aos - ;; - -atheos*) - os=-atheos - ;; - -syllable*) - os=-syllable - ;; - -386bsd) - os=-bsd - ;; - -ctix* | -uts*) - os=-sysv - ;; - -nova*) - os=-rtmk-nova - ;; - -ns2 ) - os=-nextstep2 - ;; - -nsk*) - os=-nsk - ;; - # Preserve the version number of sinix5. - -sinix5.*) - os=`echo $os | sed -e 's|sinix|sysv|'` - ;; - -sinix*) - os=-sysv4 - ;; - -tpf*) - os=-tpf - ;; - -triton*) - os=-sysv3 - ;; - -oss*) - os=-sysv3 - ;; - -svr4) - os=-sysv4 - ;; - -svr3) - os=-sysv3 - ;; - -sysvr4) - os=-sysv4 - ;; - # This must come after -sysvr4. - -sysv*) - ;; - -ose*) - os=-ose - ;; - -es1800*) - os=-ose - ;; - -xenix) - os=-xenix - ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) - os=-mint - ;; - -aros*) - os=-aros - ;; - -kaos*) - os=-kaos - ;; - -zvmoe) - os=-zvmoe - ;; - -dicos*) - os=-dicos - ;; - -none) - ;; - *) - # Get rid of the `-' at the beginning of $os. - os=`echo $os | sed 's/[^-]*-//'` - echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 - exit 1 - ;; -esac -else - -# Here we handle the default operating systems that come with various machines. -# The value should be what the vendor currently ships out the door with their -# machine or put another way, the most popular os provided with the machine. - -# Note that if you're going to try to match "-MANUFACTURER" here (say, -# "-sun"), then you have to tell the case statement up towards the top -# that MANUFACTURER isn't an operating system. Otherwise, code above -# will signal an error saying that MANUFACTURER isn't an operating -# system, and we'll never get to this point. - -case $basic_machine in - score-*) - os=-elf - ;; - spu-*) - os=-elf - ;; - *-acorn) - os=-riscix1.2 - ;; - arm*-rebel) - os=-linux - ;; - arm*-semi) - os=-aout - ;; - c4x-* | tic4x-*) - os=-coff - ;; - # This must come before the *-dec entry. - pdp10-*) - os=-tops20 - ;; - pdp11-*) - os=-none - ;; - *-dec | vax-*) - os=-ultrix4.2 - ;; - m68*-apollo) - os=-domain - ;; - i386-sun) - os=-sunos4.0.2 - ;; - m68000-sun) - os=-sunos3 - # This also exists in the configure program, but was not the - # default. - # os=-sunos4 - ;; - m68*-cisco) - os=-aout - ;; - mep-*) - os=-elf - ;; - mips*-cisco) - os=-elf - ;; - mips*-*) - os=-elf - ;; - or32-*) - os=-coff - ;; - *-tti) # must be before sparc entry or we get the wrong os. - os=-sysv3 - ;; - sparc-* | *-sun) - os=-sunos4.1.1 - ;; - *-be) - os=-beos - ;; - *-haiku) - os=-haiku - ;; - *-ibm) - os=-aix - ;; - *-knuth) - os=-mmixware - ;; - *-wec) - os=-proelf - ;; - *-winbond) - os=-proelf - ;; - *-oki) - os=-proelf - ;; - *-hp) - os=-hpux - ;; - *-hitachi) - os=-hiux - ;; - i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) - os=-sysv - ;; - *-cbm) - os=-amigaos - ;; - *-dg) - os=-dgux - ;; - *-dolphin) - os=-sysv3 - ;; - m68k-ccur) - os=-rtu - ;; - m88k-omron*) - os=-luna - ;; - *-next ) - os=-nextstep - ;; - *-sequent) - os=-ptx - ;; - *-crds) - os=-unos - ;; - *-ns) - os=-genix - ;; - i370-*) - os=-mvs - ;; - *-next) - os=-nextstep3 - ;; - *-gould) - os=-sysv - ;; - *-highlevel) - os=-bsd - ;; - *-encore) - os=-bsd - ;; - *-sgi) - os=-irix - ;; - *-siemens) - os=-sysv4 - ;; - *-masscomp) - os=-rtu - ;; - f30[01]-fujitsu | f700-fujitsu) - os=-uxpv - ;; - *-rom68k) - os=-coff - ;; - *-*bug) - os=-coff - ;; - *-apple) - os=-macos - ;; - *-atari*) - os=-mint - ;; - *) - os=-none - ;; -esac -fi - -# Here we handle the case where we know the os, and the CPU type, but not the -# manufacturer. We pick the logical manufacturer. -vendor=unknown -case $basic_machine in - *-unknown) - case $os in - -riscix*) - vendor=acorn - ;; - -sunos*) - vendor=sun - ;; - -cnk*|-aix*) - vendor=ibm - ;; - -beos*) - vendor=be - ;; - -hpux*) - vendor=hp - ;; - -mpeix*) - vendor=hp - ;; - -hiux*) - vendor=hitachi - ;; - -unos*) - vendor=crds - ;; - -dgux*) - vendor=dg - ;; - -luna*) - vendor=omron - ;; - -genix*) - vendor=ns - ;; - -mvs* | -opened*) - vendor=ibm - ;; - -os400*) - vendor=ibm - ;; - -ptx*) - vendor=sequent - ;; - -tpf*) - vendor=ibm - ;; - -vxsim* | -vxworks* | -windiss*) - vendor=wrs - ;; - -aux*) - vendor=apple - ;; - -hms*) - vendor=hitachi - ;; - -mpw* | -macos*) - vendor=apple - ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) - vendor=atari - ;; - -vos*) - vendor=stratus - ;; - esac - basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` - ;; -esac - -echo $basic_machine$os -exit - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "timestamp='" -# time-stamp-format: "%:y-%02m-%02d" -# time-stamp-end: "'" -# End: diff --git a/dep/ACE_wrappers/aux_config/depcomp b/dep/ACE_wrappers/aux_config/depcomp deleted file mode 100755 index df8eea7e4..000000000 --- a/dep/ACE_wrappers/aux_config/depcomp +++ /dev/null @@ -1,630 +0,0 @@ -#! /bin/sh -# depcomp - compile a program generating dependencies as side-effects - -scriptversion=2009-04-28.21; # UTC - -# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free -# Software Foundation, Inc. - -# This program 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, or (at your option) -# any later version. - -# This program 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 this program. If not, see . - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Originally written by Alexandre Oliva . - -case $1 in - '') - echo "$0: No command. Try \`$0 --help' for more information." 1>&2 - exit 1; - ;; - -h | --h*) - cat <<\EOF -Usage: depcomp [--help] [--version] PROGRAM [ARGS] - -Run PROGRAMS ARGS to compile a file, generating dependencies -as side-effects. - -Environment variables: - depmode Dependency tracking mode. - source Source file read by `PROGRAMS ARGS'. - object Object file output by `PROGRAMS ARGS'. - DEPDIR directory where to store dependencies. - depfile Dependency file to output. - tmpdepfile Temporary file to use when outputing dependencies. - libtool Whether libtool is used (yes/no). - -Report bugs to . -EOF - exit $? - ;; - -v | --v*) - echo "depcomp $scriptversion" - exit $? - ;; -esac - -if test -z "$depmode" || test -z "$source" || test -z "$object"; then - echo "depcomp: Variables source, object and depmode must be set" 1>&2 - exit 1 -fi - -# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. -depfile=${depfile-`echo "$object" | - sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} -tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} - -rm -f "$tmpdepfile" - -# Some modes work just like other modes, but use different flags. We -# parameterize here, but still list the modes in the big case below, -# to make depend.m4 easier to write. Note that we *cannot* use a case -# here, because this file can only contain one case statement. -if test "$depmode" = hp; then - # HP compiler uses -M and no extra arg. - gccflag=-M - depmode=gcc -fi - -if test "$depmode" = dashXmstdout; then - # This is just like dashmstdout with a different argument. - dashmflag=-xM - depmode=dashmstdout -fi - -cygpath_u="cygpath -u -f -" -if test "$depmode" = msvcmsys; then - # This is just like msvisualcpp but w/o cygpath translation. - # Just convert the backslash-escaped backslashes to single forward - # slashes to satisfy depend.m4 - cygpath_u="sed s,\\\\\\\\,/,g" - depmode=msvisualcpp -fi - -case "$depmode" in -gcc3) -## gcc 3 implements dependency tracking that does exactly what -## we want. Yay! Note: for some reason libtool 1.4 doesn't like -## it if -MD -MP comes after the -MF stuff. Hmm. -## Unfortunately, FreeBSD c89 acceptance of flags depends upon -## the command line argument order; so add the flags where they -## appear in depend2.am. Note that the slowdown incurred here -## affects only configure: in makefiles, %FASTDEP% shortcuts this. - for arg - do - case $arg in - -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; - *) set fnord "$@" "$arg" ;; - esac - shift # fnord - shift # $arg - done - "$@" - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - mv "$tmpdepfile" "$depfile" - ;; - -gcc) -## There are various ways to get dependency output from gcc. Here's -## why we pick this rather obscure method: -## - Don't want to use -MD because we'd like the dependencies to end -## up in a subdir. Having to rename by hand is ugly. -## (We might end up doing this anyway to support other compilers.) -## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like -## -MM, not -M (despite what the docs say). -## - Using -M directly means running the compiler twice (even worse -## than renaming). - if test -z "$gccflag"; then - gccflag=-MD, - fi - "$@" -Wp,"$gccflag$tmpdepfile" - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - echo "$object : \\" > "$depfile" - alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz -## The second -e expression handles DOS-style file names with drive letters. - sed -e 's/^[^:]*: / /' \ - -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" -## This next piece of magic avoids the `deleted header file' problem. -## The problem is that when a header file which appears in a .P file -## is deleted, the dependency causes make to die (because there is -## typically no way to rebuild the header). We avoid this by adding -## dummy dependencies for each header file. Too bad gcc doesn't do -## this for us directly. - tr ' ' ' -' < "$tmpdepfile" | -## Some versions of gcc put a space before the `:'. On the theory -## that the space means something, we add a space to the output as -## well. -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -hp) - # This case exists only to let depend.m4 do its work. It works by - # looking at the text of this script. This case will never be run, - # since it is checked for above. - exit 1 - ;; - -sgi) - if test "$libtool" = yes; then - "$@" "-Wp,-MDupdate,$tmpdepfile" - else - "$@" -MDupdate "$tmpdepfile" - fi - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - - if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files - echo "$object : \\" > "$depfile" - - # Clip off the initial element (the dependent). Don't try to be - # clever and replace this with sed code, as IRIX sed won't handle - # lines with more than a fixed number of characters (4096 in - # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; - # the IRIX cc adds comments like `#:fec' to the end of the - # dependency line. - tr ' ' ' -' < "$tmpdepfile" \ - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ - tr ' -' ' ' >> "$depfile" - echo >> "$depfile" - - # The second pass generates a dummy entry for each header file. - tr ' ' ' -' < "$tmpdepfile" \ - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ - >> "$depfile" - else - # The sourcefile does not contain any dependencies, so just - # store a dummy comment line, to avoid errors with the Makefile - # "include basename.Plo" scheme. - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -aix) - # The C for AIX Compiler uses -M and outputs the dependencies - # in a .u file. In older versions, this file always lives in the - # current directory. Also, the AIX compiler puts `$object:' at the - # start of each line; $object doesn't have directory information. - # Version 6 uses the directory in both cases. - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` - if test "$libtool" = yes; then - tmpdepfile1=$dir$base.u - tmpdepfile2=$base.u - tmpdepfile3=$dir.libs/$base.u - "$@" -Wc,-M - else - tmpdepfile1=$dir$base.u - tmpdepfile2=$dir$base.u - tmpdepfile3=$dir$base.u - "$@" -M - fi - stat=$? - - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" - exit $stat - fi - - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" - do - test -f "$tmpdepfile" && break - done - if test -f "$tmpdepfile"; then - # Each line is of the form `foo.o: dependent.h'. - # Do two passes, one to just change these to - # `$object: dependent.h' and one to simply `dependent.h:'. - sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" - # That's a tab and a space in the []. - sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" - else - # The sourcefile does not contain any dependencies, so just - # store a dummy comment line, to avoid errors with the Makefile - # "include basename.Plo" scheme. - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -icc) - # Intel's C compiler understands `-MD -MF file'. However on - # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c - # ICC 7.0 will fill foo.d with something like - # foo.o: sub/foo.c - # foo.o: sub/foo.h - # which is wrong. We want: - # sub/foo.o: sub/foo.c - # sub/foo.o: sub/foo.h - # sub/foo.c: - # sub/foo.h: - # ICC 7.1 will output - # foo.o: sub/foo.c sub/foo.h - # and will wrap long lines using \ : - # foo.o: sub/foo.c ... \ - # sub/foo.h ... \ - # ... - - "$@" -MD -MF "$tmpdepfile" - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - # Each line is of the form `foo.o: dependent.h', - # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. - # Do two passes, one to just change these to - # `$object: dependent.h' and one to simply `dependent.h:'. - sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" - # Some versions of the HPUX 10.20 sed can't process this invocation - # correctly. Breaking it into two sed invocations is a workaround. - sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | - sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -hp2) - # The "hp" stanza above does not work with aCC (C++) and HP's ia64 - # compilers, which have integrated preprocessors. The correct option - # to use with these is +Maked; it writes dependencies to a file named - # 'foo.d', which lands next to the object file, wherever that - # happens to be. - # Much of this is similar to the tru64 case; see comments there. - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` - if test "$libtool" = yes; then - tmpdepfile1=$dir$base.d - tmpdepfile2=$dir.libs/$base.d - "$@" -Wc,+Maked - else - tmpdepfile1=$dir$base.d - tmpdepfile2=$dir$base.d - "$@" +Maked - fi - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile1" "$tmpdepfile2" - exit $stat - fi - - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" - do - test -f "$tmpdepfile" && break - done - if test -f "$tmpdepfile"; then - sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" - # Add `dependent.h:' lines. - sed -ne '2,${ - s/^ *// - s/ \\*$// - s/$/:/ - p - }' "$tmpdepfile" >> "$depfile" - else - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" "$tmpdepfile2" - ;; - -tru64) - # The Tru64 compiler uses -MD to generate dependencies as a side - # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. - # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put - # dependencies in `foo.d' instead, so we check for that too. - # Subdirectories are respected. - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` - - if test "$libtool" = yes; then - # With Tru64 cc, shared objects can also be used to make a - # static library. This mechanism is used in libtool 1.4 series to - # handle both shared and static libraries in a single compilation. - # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. - # - # With libtool 1.5 this exception was removed, and libtool now - # generates 2 separate objects for the 2 libraries. These two - # compilations output dependencies in $dir.libs/$base.o.d and - # in $dir$base.o.d. We have to check for both files, because - # one of the two compilations can be disabled. We should prefer - # $dir$base.o.d over $dir.libs/$base.o.d because the latter is - # automatically cleaned when .libs/ is deleted, while ignoring - # the former would cause a distcleancheck panic. - tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 - tmpdepfile2=$dir$base.o.d # libtool 1.5 - tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 - tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 - "$@" -Wc,-MD - else - tmpdepfile1=$dir$base.o.d - tmpdepfile2=$dir$base.d - tmpdepfile3=$dir$base.d - tmpdepfile4=$dir$base.d - "$@" -MD - fi - - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" - exit $stat - fi - - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" - do - test -f "$tmpdepfile" && break - done - if test -f "$tmpdepfile"; then - sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" - # That's a tab and a space in the []. - sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" - else - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -#nosideeffect) - # This comment above is used by automake to tell side-effect - # dependency tracking mechanisms from slower ones. - -dashmstdout) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout, regardless of -o. - "$@" || exit $? - - # Remove the call to Libtool. - if test "$libtool" = yes; then - while test "X$1" != 'X--mode=compile'; do - shift - done - shift - fi - - # Remove `-o $object'. - IFS=" " - for arg - do - case $arg in - -o) - shift - ;; - $object) - shift - ;; - *) - set fnord "$@" "$arg" - shift # fnord - shift # $arg - ;; - esac - done - - test -z "$dashmflag" && dashmflag=-M - # Require at least two characters before searching for `:' - # in the target name. This is to cope with DOS-style filenames: - # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. - "$@" $dashmflag | - sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" - rm -f "$depfile" - cat < "$tmpdepfile" > "$depfile" - tr ' ' ' -' < "$tmpdepfile" | \ -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -dashXmstdout) - # This case only exists to satisfy depend.m4. It is never actually - # run, as this mode is specially recognized in the preamble. - exit 1 - ;; - -makedepend) - "$@" || exit $? - # Remove any Libtool call - if test "$libtool" = yes; then - while test "X$1" != 'X--mode=compile'; do - shift - done - shift - fi - # X makedepend - shift - cleared=no eat=no - for arg - do - case $cleared in - no) - set ""; shift - cleared=yes ;; - esac - if test $eat = yes; then - eat=no - continue - fi - case "$arg" in - -D*|-I*) - set fnord "$@" "$arg"; shift ;; - # Strip any option that makedepend may not understand. Remove - # the object too, otherwise makedepend will parse it as a source file. - -arch) - eat=yes ;; - -*|$object) - ;; - *) - set fnord "$@" "$arg"; shift ;; - esac - done - obj_suffix=`echo "$object" | sed 's/^.*\././'` - touch "$tmpdepfile" - ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" - rm -f "$depfile" - cat < "$tmpdepfile" > "$depfile" - sed '1,2d' "$tmpdepfile" | tr ' ' ' -' | \ -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" "$tmpdepfile".bak - ;; - -cpp) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout. - "$@" || exit $? - - # Remove the call to Libtool. - if test "$libtool" = yes; then - while test "X$1" != 'X--mode=compile'; do - shift - done - shift - fi - - # Remove `-o $object'. - IFS=" " - for arg - do - case $arg in - -o) - shift - ;; - $object) - shift - ;; - *) - set fnord "$@" "$arg" - shift # fnord - shift # $arg - ;; - esac - done - - "$@" -E | - sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ - -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | - sed '$ s: \\$::' > "$tmpdepfile" - rm -f "$depfile" - echo "$object : \\" > "$depfile" - cat < "$tmpdepfile" >> "$depfile" - sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -msvisualcpp) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout. - "$@" || exit $? - - # Remove the call to Libtool. - if test "$libtool" = yes; then - while test "X$1" != 'X--mode=compile'; do - shift - done - shift - fi - - IFS=" " - for arg - do - case "$arg" in - -o) - shift - ;; - $object) - shift - ;; - "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") - set fnord "$@" - shift - shift - ;; - *) - set fnord "$@" "$arg" - shift - shift - ;; - esac - done - "$@" -E 2>/dev/null | - sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" - rm -f "$depfile" - echo "$object : \\" > "$depfile" - sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" - echo " " >> "$depfile" - sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -msvcmsys) - # This case exists only to let depend.m4 do its work. It works by - # looking at the text of this script. This case will never be run, - # since it is checked for above. - exit 1 - ;; - -none) - exec "$@" - ;; - -*) - echo "Unknown depmode $depmode" 1>&2 - exit 1 - ;; -esac - -exit 0 - -# Local Variables: -# mode: shell-script -# sh-indentation: 2 -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" -# time-stamp-end: "; # UTC" -# End: diff --git a/dep/ACE_wrappers/aux_config/install-sh b/dep/ACE_wrappers/aux_config/install-sh deleted file mode 100755 index 6781b987b..000000000 --- a/dep/ACE_wrappers/aux_config/install-sh +++ /dev/null @@ -1,520 +0,0 @@ -#!/bin/sh -# install - install a program, script, or datafile - -scriptversion=2009-04-28.21; # UTC - -# This originates from X11R5 (mit/util/scripts/install.sh), which was -# later released in X11R6 (xc/config/util/install.sh) with the -# following copyright and license. -# -# Copyright (C) 1994 X Consortium -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to -# deal in the Software without restriction, including without limitation the -# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -# sell copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- -# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# -# Except as contained in this notice, the name of the X Consortium shall not -# be used in advertising or otherwise to promote the sale, use or other deal- -# ings in this Software without prior written authorization from the X Consor- -# tium. -# -# -# FSF changes to this file are in the public domain. -# -# Calling this script install-sh is preferred over install.sh, to prevent -# `make' implicit rules from creating a file called install from it -# when there is no Makefile. -# -# This script is compatible with the BSD install script, but was written -# from scratch. - -nl=' -' -IFS=" "" $nl" - -# set DOITPROG to echo to test this script - -# Don't use :- since 4.3BSD and earlier shells don't like it. -doit=${DOITPROG-} -if test -z "$doit"; then - doit_exec=exec -else - doit_exec=$doit -fi - -# Put in absolute file names if you don't have them in your path; -# or use environment vars. - -chgrpprog=${CHGRPPROG-chgrp} -chmodprog=${CHMODPROG-chmod} -chownprog=${CHOWNPROG-chown} -cmpprog=${CMPPROG-cmp} -cpprog=${CPPROG-cp} -mkdirprog=${MKDIRPROG-mkdir} -mvprog=${MVPROG-mv} -rmprog=${RMPROG-rm} -stripprog=${STRIPPROG-strip} - -posix_glob='?' -initialize_posix_glob=' - test "$posix_glob" != "?" || { - if (set -f) 2>/dev/null; then - posix_glob= - else - posix_glob=: - fi - } -' - -posix_mkdir= - -# Desired mode of installed file. -mode=0755 - -chgrpcmd= -chmodcmd=$chmodprog -chowncmd= -mvcmd=$mvprog -rmcmd="$rmprog -f" -stripcmd= - -src= -dst= -dir_arg= -dst_arg= - -copy_on_change=false -no_target_directory= - -usage="\ -Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE - or: $0 [OPTION]... SRCFILES... DIRECTORY - or: $0 [OPTION]... -t DIRECTORY SRCFILES... - or: $0 [OPTION]... -d DIRECTORIES... - -In the 1st form, copy SRCFILE to DSTFILE. -In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. -In the 4th, create DIRECTORIES. - -Options: - --help display this help and exit. - --version display version info and exit. - - -c (ignored) - -C install only if different (preserve the last data modification time) - -d create directories instead of installing files. - -g GROUP $chgrpprog installed files to GROUP. - -m MODE $chmodprog installed files to MODE. - -o USER $chownprog installed files to USER. - -s $stripprog installed files. - -t DIRECTORY install into DIRECTORY. - -T report an error if DSTFILE is a directory. - -Environment variables override the default commands: - CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG - RMPROG STRIPPROG -" - -while test $# -ne 0; do - case $1 in - -c) ;; - - -C) copy_on_change=true;; - - -d) dir_arg=true;; - - -g) chgrpcmd="$chgrpprog $2" - shift;; - - --help) echo "$usage"; exit $?;; - - -m) mode=$2 - case $mode in - *' '* | *' '* | *' -'* | *'*'* | *'?'* | *'['*) - echo "$0: invalid mode: $mode" >&2 - exit 1;; - esac - shift;; - - -o) chowncmd="$chownprog $2" - shift;; - - -s) stripcmd=$stripprog;; - - -t) dst_arg=$2 - shift;; - - -T) no_target_directory=true;; - - --version) echo "$0 $scriptversion"; exit $?;; - - --) shift - break;; - - -*) echo "$0: invalid option: $1" >&2 - exit 1;; - - *) break;; - esac - shift -done - -if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then - # When -d is used, all remaining arguments are directories to create. - # When -t is used, the destination is already specified. - # Otherwise, the last argument is the destination. Remove it from $@. - for arg - do - if test -n "$dst_arg"; then - # $@ is not empty: it contains at least $arg. - set fnord "$@" "$dst_arg" - shift # fnord - fi - shift # arg - dst_arg=$arg - done -fi - -if test $# -eq 0; then - if test -z "$dir_arg"; then - echo "$0: no input file specified." >&2 - exit 1 - fi - # It's OK to call `install-sh -d' without argument. - # This can happen when creating conditional directories. - exit 0 -fi - -if test -z "$dir_arg"; then - trap '(exit $?); exit' 1 2 13 15 - - # Set umask so as not to create temps with too-generous modes. - # However, 'strip' requires both read and write access to temps. - case $mode in - # Optimize common cases. - *644) cp_umask=133;; - *755) cp_umask=22;; - - *[0-7]) - if test -z "$stripcmd"; then - u_plus_rw= - else - u_plus_rw='% 200' - fi - cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; - *) - if test -z "$stripcmd"; then - u_plus_rw= - else - u_plus_rw=,u+rw - fi - cp_umask=$mode$u_plus_rw;; - esac -fi - -for src -do - # Protect names starting with `-'. - case $src in - -*) src=./$src;; - esac - - if test -n "$dir_arg"; then - dst=$src - dstdir=$dst - test -d "$dstdir" - dstdir_status=$? - else - - # Waiting for this to be detected by the "$cpprog $src $dsttmp" command - # might cause directories to be created, which would be especially bad - # if $src (and thus $dsttmp) contains '*'. - if test ! -f "$src" && test ! -d "$src"; then - echo "$0: $src does not exist." >&2 - exit 1 - fi - - if test -z "$dst_arg"; then - echo "$0: no destination specified." >&2 - exit 1 - fi - - dst=$dst_arg - # Protect names starting with `-'. - case $dst in - -*) dst=./$dst;; - esac - - # If destination is a directory, append the input filename; won't work - # if double slashes aren't ignored. - if test -d "$dst"; then - if test -n "$no_target_directory"; then - echo "$0: $dst_arg: Is a directory" >&2 - exit 1 - fi - dstdir=$dst - dst=$dstdir/`basename "$src"` - dstdir_status=0 - else - # Prefer dirname, but fall back on a substitute if dirname fails. - dstdir=` - (dirname "$dst") 2>/dev/null || - expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$dst" : 'X\(//\)[^/]' \| \ - X"$dst" : 'X\(//\)$' \| \ - X"$dst" : 'X\(/\)' \| . 2>/dev/null || - echo X"$dst" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q' - ` - - test -d "$dstdir" - dstdir_status=$? - fi - fi - - obsolete_mkdir_used=false - - if test $dstdir_status != 0; then - case $posix_mkdir in - '') - # Create intermediate dirs using mode 755 as modified by the umask. - # This is like FreeBSD 'install' as of 1997-10-28. - umask=`umask` - case $stripcmd.$umask in - # Optimize common cases. - *[2367][2367]) mkdir_umask=$umask;; - .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; - - *[0-7]) - mkdir_umask=`expr $umask + 22 \ - - $umask % 100 % 40 + $umask % 20 \ - - $umask % 10 % 4 + $umask % 2 - `;; - *) mkdir_umask=$umask,go-w;; - esac - - # With -d, create the new directory with the user-specified mode. - # Otherwise, rely on $mkdir_umask. - if test -n "$dir_arg"; then - mkdir_mode=-m$mode - else - mkdir_mode= - fi - - posix_mkdir=false - case $umask in - *[123567][0-7][0-7]) - # POSIX mkdir -p sets u+wx bits regardless of umask, which - # is incompatible with FreeBSD 'install' when (umask & 300) != 0. - ;; - *) - tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ - trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 - - if (umask $mkdir_umask && - exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 - then - if test -z "$dir_arg" || { - # Check for POSIX incompatibilities with -m. - # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or - # other-writeable bit of parent directory when it shouldn't. - # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. - ls_ld_tmpdir=`ls -ld "$tmpdir"` - case $ls_ld_tmpdir in - d????-?r-*) different_mode=700;; - d????-?--*) different_mode=755;; - *) false;; - esac && - $mkdirprog -m$different_mode -p -- "$tmpdir" && { - ls_ld_tmpdir_1=`ls -ld "$tmpdir"` - test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" - } - } - then posix_mkdir=: - fi - rmdir "$tmpdir/d" "$tmpdir" - else - # Remove any dirs left behind by ancient mkdir implementations. - rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null - fi - trap '' 0;; - esac;; - esac - - if - $posix_mkdir && ( - umask $mkdir_umask && - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" - ) - then : - else - - # The umask is ridiculous, or mkdir does not conform to POSIX, - # or it failed possibly due to a race condition. Create the - # directory the slow way, step by step, checking for races as we go. - - case $dstdir in - /*) prefix='/';; - -*) prefix='./';; - *) prefix='';; - esac - - eval "$initialize_posix_glob" - - oIFS=$IFS - IFS=/ - $posix_glob set -f - set fnord $dstdir - shift - $posix_glob set +f - IFS=$oIFS - - prefixes= - - for d - do - test -z "$d" && continue - - prefix=$prefix$d - if test -d "$prefix"; then - prefixes= - else - if $posix_mkdir; then - (umask=$mkdir_umask && - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break - # Don't fail if two instances are running concurrently. - test -d "$prefix" || exit 1 - else - case $prefix in - *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; - *) qprefix=$prefix;; - esac - prefixes="$prefixes '$qprefix'" - fi - fi - prefix=$prefix/ - done - - if test -n "$prefixes"; then - # Don't fail if two instances are running concurrently. - (umask $mkdir_umask && - eval "\$doit_exec \$mkdirprog $prefixes") || - test -d "$dstdir" || exit 1 - obsolete_mkdir_used=true - fi - fi - fi - - if test -n "$dir_arg"; then - { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && - { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && - { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || - test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 - else - - # Make a couple of temp file names in the proper directory. - dsttmp=$dstdir/_inst.$$_ - rmtmp=$dstdir/_rm.$$_ - - # Trap to clean up those temp files at exit. - trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 - - # Copy the file name to the temp name. - (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && - - # and set any options; do chmod last to preserve setuid bits. - # - # If any of these fail, we abort the whole thing. If we want to - # ignore errors from any of these, just make sure not to ignore - # errors from the above "$doit $cpprog $src $dsttmp" command. - # - { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && - { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && - { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && - { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && - - # If -C, don't bother to copy if it wouldn't change the file. - if $copy_on_change && - old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && - new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && - - eval "$initialize_posix_glob" && - $posix_glob set -f && - set X $old && old=:$2:$4:$5:$6 && - set X $new && new=:$2:$4:$5:$6 && - $posix_glob set +f && - - test "$old" = "$new" && - $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 - then - rm -f "$dsttmp" - else - # Rename the file to the real destination. - $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || - - # The rename failed, perhaps because mv can't rename something else - # to itself, or perhaps because mv is so ancient that it does not - # support -f. - { - # Now remove or move aside any old file at destination location. - # We try this two ways since rm can't unlink itself on some - # systems and the destination file might be busy for other - # reasons. In this case, the final cleanup might fail but the new - # file should still install successfully. - { - test ! -f "$dst" || - $doit $rmcmd -f "$dst" 2>/dev/null || - { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && - { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } - } || - { echo "$0: cannot unlink or rename $dst" >&2 - (exit 1); exit 1 - } - } && - - # Now rename the file to the real destination. - $doit $mvcmd "$dsttmp" "$dst" - } - fi || exit 1 - - trap '' 0 - fi -done - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" -# time-stamp-end: "; # UTC" -# End: diff --git a/dep/ACE_wrappers/aux_config/ltmain.sh b/dep/ACE_wrappers/aux_config/ltmain.sh deleted file mode 100755 index a72f2fd78..000000000 --- a/dep/ACE_wrappers/aux_config/ltmain.sh +++ /dev/null @@ -1,8406 +0,0 @@ -# Generated from ltmain.m4sh. - -# ltmain.sh (GNU libtool) 2.2.6b -# Written by Gordon Matzigkeit , 1996 - -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 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. - -# 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. - -# Usage: $progname [OPTION]... [MODE-ARG]... -# -# Provide generalized library-building support services. -# -# --config show all configuration variables -# --debug enable verbose shell tracing -# -n, --dry-run display commands without modifying any files -# --features display basic configuration information and exit -# --mode=MODE use operation mode MODE -# --preserve-dup-deps don't remove duplicate dependency libraries -# --quiet, --silent don't print informational messages -# --tag=TAG use configuration variables from tag TAG -# -v, --verbose print informational messages (default) -# --version print version information -# -h, --help print short or long help message -# -# MODE must be one of the following: -# -# clean remove files from the build directory -# compile compile a source file into a libtool object -# execute automatically set library path, then run a program -# finish complete the installation of libtool libraries -# install install libraries or executables -# link create a library or an executable -# uninstall remove libraries from an installed directory -# -# MODE-ARGS vary depending on the MODE. -# Try `$progname --help --mode=MODE' for a more detailed description of MODE. -# -# When reporting a bug, please describe a test case to reproduce it and -# include the following information: -# -# host-triplet: $host -# shell: $SHELL -# compiler: $LTCC -# compiler flags: $LTCFLAGS -# linker: $LD (gnu? $with_gnu_ld) -# $progname: (GNU libtool) 2.2.6b -# automake: $automake_version -# autoconf: $autoconf_version -# -# Report bugs to . - -PROGRAM=ltmain.sh -PACKAGE=libtool -VERSION=2.2.6b -TIMESTAMP="" -package_revision=1.3017 - -# Be Bourne compatible -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs 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 -BIN_SH=xpg4; export BIN_SH # for Tru64 -DUALCASE=1; export DUALCASE # for MKS sh - -# NLS nuisances: We save the old values to restore during execute mode. -# Only set LANG and LC_ALL to C if already set. -# These must not be set unconditionally because not all systems understand -# e.g. LANG=C (notably SCO). -lt_user_locale= -lt_safe_locale= -for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES -do - eval "if test \"\${$lt_var+set}\" = set; then - save_$lt_var=\$$lt_var - $lt_var=C - export $lt_var - lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\" - lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" - fi" -done - -$lt_unset CDPATH - - - - - -: ${CP="cp -f"} -: ${ECHO="echo"} -: ${EGREP="/bin/grep -E"} -: ${FGREP="/bin/grep -F"} -: ${GREP="/bin/grep"} -: ${LN_S="ln -s"} -: ${MAKE="make"} -: ${MKDIR="mkdir"} -: ${MV="mv -f"} -: ${RM="rm -f"} -: ${SED="/bin/sed"} -: ${SHELL="${CONFIG_SHELL-/bin/sh}"} -: ${Xsed="$SED -e 1s/^X//"} - -# Global variables: -EXIT_SUCCESS=0 -EXIT_FAILURE=1 -EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. -EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. - -exit_status=$EXIT_SUCCESS - -# Make sure IFS has a sensible default -lt_nl=' -' -IFS=" $lt_nl" - -dirname="s,/[^/]*$,," -basename="s,^.*/,," - -# func_dirname_and_basename file append nondir_replacement -# perform func_basename and func_dirname in a single function -# call: -# dirname: Compute the dirname of FILE. If nonempty, -# add APPEND to the result, otherwise set result -# to NONDIR_REPLACEMENT. -# value returned in "$func_dirname_result" -# basename: Compute filename of FILE. -# value retuned in "$func_basename_result" -# Implementation must be kept synchronized with func_dirname -# and func_basename. For efficiency, we do not delegate to -# those functions but instead duplicate the functionality here. -func_dirname_and_basename () -{ - # Extract subdirectory from the argument. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` - if test "X$func_dirname_result" = "X${1}"; then - func_dirname_result="${3}" - else - func_dirname_result="$func_dirname_result${2}" - fi - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` -} - -# Generated shell functions inserted here. - -# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh -# is ksh but when the shell is invoked as "sh" and the current value of -# the _XPG environment variable is not equal to 1 (one), the special -# positional parameter $0, within a function call, is the name of the -# function. -progpath="$0" - -# The name of this program: -# In the unlikely event $progname began with a '-', it would play havoc with -# func_echo (imagine progname=-n), so we prepend ./ in that case: -func_dirname_and_basename "$progpath" -progname=$func_basename_result -case $progname in - -*) progname=./$progname ;; -esac - -# Make sure we have an absolute path for reexecution: -case $progpath in - [\\/]*|[A-Za-z]:\\*) ;; - *[\\/]*) - progdir=$func_dirname_result - progdir=`cd "$progdir" && pwd` - progpath="$progdir/$progname" - ;; - *) - save_IFS="$IFS" - IFS=: - for progdir in $PATH; do - IFS="$save_IFS" - test -x "$progdir/$progname" && break - done - IFS="$save_IFS" - test -n "$progdir" || progdir=`pwd` - progpath="$progdir/$progname" - ;; -esac - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed="${SED}"' -e 1s/^X//' -sed_quote_subst='s/\([`"$\\]\)/\\\1/g' - -# Same as above, but do not quote variable references. -double_quote_subst='s/\(["`\\]\)/\\\1/g' - -# Re-`\' parameter expansions in output of double_quote_subst that were -# `\'-ed in input to the same. If an odd number of `\' preceded a '$' -# in input to double_quote_subst, that '$' was protected from expansion. -# Since each input `\' is now two `\'s, look for any number of runs of -# four `\'s followed by two `\'s and then a '$'. `\' that '$'. -bs='\\' -bs2='\\\\' -bs4='\\\\\\\\' -dollar='\$' -sed_double_backslash="\ - s/$bs4/&\\ -/g - s/^$bs2$dollar/$bs&/ - s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g - s/\n//g" - -# Standard options: -opt_dry_run=false -opt_help=false -opt_quiet=false -opt_verbose=false -opt_warning=: - -# func_echo arg... -# Echo program name prefixed message, along with the current mode -# name if it has been set yet. -func_echo () -{ - $ECHO "$progname${mode+: }$mode: $*" -} - -# func_verbose arg... -# Echo program name prefixed message in verbose mode only. -func_verbose () -{ - $opt_verbose && func_echo ${1+"$@"} - - # A bug in bash halts the script if the last line of a function - # fails when set -e is in force, so we need another command to - # work around that: - : -} - -# func_error arg... -# Echo program name prefixed message to standard error. -func_error () -{ - $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2 -} - -# func_warning arg... -# Echo program name prefixed warning message to standard error. -func_warning () -{ - $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2 - - # bash bug again: - : -} - -# func_fatal_error arg... -# Echo program name prefixed message to standard error, and exit. -func_fatal_error () -{ - func_error ${1+"$@"} - exit $EXIT_FAILURE -} - -# func_fatal_help arg... -# Echo program name prefixed message to standard error, followed by -# a help hint, and exit. -func_fatal_help () -{ - func_error ${1+"$@"} - func_fatal_error "$help" -} -help="Try \`$progname --help' for more information." ## default - - -# func_grep expression filename -# Check whether EXPRESSION matches any line of FILENAME, without output. -func_grep () -{ - $GREP "$1" "$2" >/dev/null 2>&1 -} - - -# func_mkdir_p directory-path -# Make sure the entire path to DIRECTORY-PATH is available. -func_mkdir_p () -{ - my_directory_path="$1" - my_dir_list= - - if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then - - # Protect directory names starting with `-' - case $my_directory_path in - -*) my_directory_path="./$my_directory_path" ;; - esac - - # While some portion of DIR does not yet exist... - while test ! -d "$my_directory_path"; do - # ...make a list in topmost first order. Use a colon delimited - # list incase some portion of path contains whitespace. - my_dir_list="$my_directory_path:$my_dir_list" - - # If the last portion added has no slash in it, the list is done - case $my_directory_path in */*) ;; *) break ;; esac - - # ...otherwise throw away the child directory and loop - my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"` - done - my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'` - - save_mkdir_p_IFS="$IFS"; IFS=':' - for my_dir in $my_dir_list; do - IFS="$save_mkdir_p_IFS" - # mkdir can fail with a `File exist' error if two processes - # try to create one of the directories concurrently. Don't - # stop in that case! - $MKDIR "$my_dir" 2>/dev/null || : - done - IFS="$save_mkdir_p_IFS" - - # Bail out if we (or some other process) failed to create a directory. - test -d "$my_directory_path" || \ - func_fatal_error "Failed to create \`$1'" - fi -} - - -# func_mktempdir [string] -# Make a temporary directory that won't clash with other running -# libtool processes, and avoids race conditions if possible. If -# given, STRING is the basename for that directory. -func_mktempdir () -{ - my_template="${TMPDIR-/tmp}/${1-$progname}" - - if test "$opt_dry_run" = ":"; then - # Return a directory name, but don't create it in dry-run mode - my_tmpdir="${my_template}-$$" - else - - # If mktemp works, use that first and foremost - my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` - - if test ! -d "$my_tmpdir"; then - # Failing that, at least try and use $RANDOM to avoid a race - my_tmpdir="${my_template}-${RANDOM-0}$$" - - save_mktempdir_umask=`umask` - umask 0077 - $MKDIR "$my_tmpdir" - umask $save_mktempdir_umask - fi - - # If we're not in dry-run mode, bomb out on failure - test -d "$my_tmpdir" || \ - func_fatal_error "cannot create temporary directory \`$my_tmpdir'" - fi - - $ECHO "X$my_tmpdir" | $Xsed -} - - -# func_quote_for_eval arg -# Aesthetically quote ARG to be evaled later. -# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT -# is double-quoted, suitable for a subsequent eval, whereas -# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters -# which are still active within double quotes backslashified. -func_quote_for_eval () -{ - case $1 in - *[\\\`\"\$]*) - func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;; - *) - func_quote_for_eval_unquoted_result="$1" ;; - esac - - case $func_quote_for_eval_unquoted_result in - # Double-quote args containing shell metacharacters to delay - # word splitting, command substitution and and variable - # expansion for a subsequent eval. - # Many Bourne shells cannot handle close brackets correctly - # in scan sets, so we specify it separately. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\"" - ;; - *) - func_quote_for_eval_result="$func_quote_for_eval_unquoted_result" - esac -} - - -# func_quote_for_expand arg -# Aesthetically quote ARG to be evaled later; same as above, -# but do not quote variable references. -func_quote_for_expand () -{ - case $1 in - *[\\\`\"]*) - my_arg=`$ECHO "X$1" | $Xsed \ - -e "$double_quote_subst" -e "$sed_double_backslash"` ;; - *) - my_arg="$1" ;; - esac - - case $my_arg in - # Double-quote args containing shell metacharacters to delay - # word splitting and command substitution for a subsequent eval. - # Many Bourne shells cannot handle close brackets correctly - # in scan sets, so we specify it separately. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - my_arg="\"$my_arg\"" - ;; - esac - - func_quote_for_expand_result="$my_arg" -} - - -# func_show_eval cmd [fail_exp] -# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is -# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP -# is given, then evaluate it. -func_show_eval () -{ - my_cmd="$1" - my_fail_exp="${2-:}" - - ${opt_silent-false} || { - func_quote_for_expand "$my_cmd" - eval "func_echo $func_quote_for_expand_result" - } - - if ${opt_dry_run-false}; then :; else - eval "$my_cmd" - my_status=$? - if test "$my_status" -eq 0; then :; else - eval "(exit $my_status); $my_fail_exp" - fi - fi -} - - -# func_show_eval_locale cmd [fail_exp] -# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is -# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP -# is given, then evaluate it. Use the saved locale for evaluation. -func_show_eval_locale () -{ - my_cmd="$1" - my_fail_exp="${2-:}" - - ${opt_silent-false} || { - func_quote_for_expand "$my_cmd" - eval "func_echo $func_quote_for_expand_result" - } - - if ${opt_dry_run-false}; then :; else - eval "$lt_user_locale - $my_cmd" - my_status=$? - eval "$lt_safe_locale" - if test "$my_status" -eq 0; then :; else - eval "(exit $my_status); $my_fail_exp" - fi - fi -} - - - - - -# func_version -# Echo version message to standard output and exit. -func_version () -{ - $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / { - s/^# // - s/^# *$// - s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ - p - }' < "$progpath" - exit $? -} - -# func_usage -# Echo short help message to standard output and exit. -func_usage () -{ - $SED -n '/^# Usage:/,/# -h/ { - s/^# // - s/^# *$// - s/\$progname/'$progname'/ - p - }' < "$progpath" - $ECHO - $ECHO "run \`$progname --help | more' for full usage" - exit $? -} - -# func_help -# Echo long help message to standard output and exit. -func_help () -{ - $SED -n '/^# Usage:/,/# Report bugs to/ { - s/^# // - s/^# *$// - s*\$progname*'$progname'* - s*\$host*'"$host"'* - s*\$SHELL*'"$SHELL"'* - s*\$LTCC*'"$LTCC"'* - s*\$LTCFLAGS*'"$LTCFLAGS"'* - s*\$LD*'"$LD"'* - s/\$with_gnu_ld/'"$with_gnu_ld"'/ - s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/ - s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/ - p - }' < "$progpath" - exit $? -} - -# func_missing_arg argname -# Echo program name prefixed message to standard error and set global -# exit_cmd. -func_missing_arg () -{ - func_error "missing argument for $1" - exit_cmd=exit -} - -exit_cmd=: - - - - - -# Check that we have a working $ECHO. -if test "X$1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X$1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then - # Yippee, $ECHO works! - : -else - # Restart under the correct shell, and then maybe $ECHO will work. - exec $SHELL "$progpath" --no-reexec ${1+"$@"} -fi - -if test "X$1" = X--fallback-echo; then - # used as fallback echo - shift - cat </dev/null 2>&1; then - taglist="$taglist $tagname" - - # Evaluate the configuration. Be careful to quote the path - # and the sed script, to avoid splitting on whitespace, but - # also don't use non-portable quotes within backquotes within - # quotes we have to do it in 2 steps: - extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"` - eval "$extractedcf" - else - func_error "ignoring unknown tag $tagname" - fi - ;; - esac -} - -# Parse options once, thoroughly. This comes as soon as possible in -# the script to make things like `libtool --version' happen quickly. -{ - - # Shorthand for --mode=foo, only valid as the first argument - case $1 in - clean|clea|cle|cl) - shift; set dummy --mode clean ${1+"$@"}; shift - ;; - compile|compil|compi|comp|com|co|c) - shift; set dummy --mode compile ${1+"$@"}; shift - ;; - execute|execut|execu|exec|exe|ex|e) - shift; set dummy --mode execute ${1+"$@"}; shift - ;; - finish|finis|fini|fin|fi|f) - shift; set dummy --mode finish ${1+"$@"}; shift - ;; - install|instal|insta|inst|ins|in|i) - shift; set dummy --mode install ${1+"$@"}; shift - ;; - link|lin|li|l) - shift; set dummy --mode link ${1+"$@"}; shift - ;; - uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) - shift; set dummy --mode uninstall ${1+"$@"}; shift - ;; - esac - - # Parse non-mode specific arguments: - while test "$#" -gt 0; do - opt="$1" - shift - - case $opt in - --config) func_config ;; - - --debug) preserve_args="$preserve_args $opt" - func_echo "enabling shell trace mode" - opt_debug='set -x' - $opt_debug - ;; - - -dlopen) test "$#" -eq 0 && func_missing_arg "$opt" && break - execute_dlfiles="$execute_dlfiles $1" - shift - ;; - - --dry-run | -n) opt_dry_run=: ;; - --features) func_features ;; - --finish) mode="finish" ;; - - --mode) test "$#" -eq 0 && func_missing_arg "$opt" && break - case $1 in - # Valid mode arguments: - clean) ;; - compile) ;; - execute) ;; - finish) ;; - install) ;; - link) ;; - relink) ;; - uninstall) ;; - - # Catch anything else as an error - *) func_error "invalid argument for $opt" - exit_cmd=exit - break - ;; - esac - - mode="$1" - shift - ;; - - --preserve-dup-deps) - opt_duplicate_deps=: ;; - - --quiet|--silent) preserve_args="$preserve_args $opt" - opt_silent=: - ;; - - --verbose| -v) preserve_args="$preserve_args $opt" - opt_silent=false - ;; - - --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break - preserve_args="$preserve_args $opt $1" - func_enable_tag "$1" # tagname is set here - shift - ;; - - # Separate optargs to long options: - -dlopen=*|--mode=*|--tag=*) - func_opt_split "$opt" - set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"} - shift - ;; - - -\?|-h) func_usage ;; - --help) opt_help=: ;; - --version) func_version ;; - - -*) func_fatal_help "unrecognized option \`$opt'" ;; - - *) nonopt="$opt" - break - ;; - esac - done - - - case $host in - *cygwin* | *mingw* | *pw32* | *cegcc*) - # don't eliminate duplications in $postdeps and $predeps - opt_duplicate_compiler_generated_deps=: - ;; - *) - opt_duplicate_compiler_generated_deps=$opt_duplicate_deps - ;; - esac - - # Having warned about all mis-specified options, bail out if - # anything was wrong. - $exit_cmd $EXIT_FAILURE -} - -# func_check_version_match -# Ensure that we are using m4 macros, and libtool script from the same -# release of libtool. -func_check_version_match () -{ - if test "$package_revision" != "$macro_revision"; then - if test "$VERSION" != "$macro_version"; then - if test -z "$macro_version"; then - cat >&2 <<_LT_EOF -$progname: Version mismatch error. This is $PACKAGE $VERSION, but the -$progname: definition of this LT_INIT comes from an older release. -$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION -$progname: and run autoconf again. -_LT_EOF - else - cat >&2 <<_LT_EOF -$progname: Version mismatch error. This is $PACKAGE $VERSION, but the -$progname: definition of this LT_INIT comes from $PACKAGE $macro_version. -$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION -$progname: and run autoconf again. -_LT_EOF - fi - else - cat >&2 <<_LT_EOF -$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, -$progname: but the definition of this LT_INIT comes from revision $macro_revision. -$progname: You should recreate aclocal.m4 with macros from revision $package_revision -$progname: of $PACKAGE $VERSION and run autoconf again. -_LT_EOF - fi - - exit $EXIT_MISMATCH - fi -} - - -## ----------- ## -## Main. ## -## ----------- ## - -$opt_help || { - # Sanity checks first: - func_check_version_match - - if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then - func_fatal_configuration "not configured to build any kind of library" - fi - - test -z "$mode" && func_fatal_error "error: you must specify a MODE." - - - # Darwin sucks - eval std_shrext=\"$shrext_cmds\" - - - # Only execute mode is allowed to have -dlopen flags. - if test -n "$execute_dlfiles" && test "$mode" != execute; then - func_error "unrecognized option \`-dlopen'" - $ECHO "$help" 1>&2 - exit $EXIT_FAILURE - fi - - # Change the help message to a mode-specific one. - generic_help="$help" - help="Try \`$progname --help --mode=$mode' for more information." -} - - -# func_lalib_p file -# True iff FILE is a libtool `.la' library or `.lo' object file. -# This function is only a basic sanity check; it will hardly flush out -# determined imposters. -func_lalib_p () -{ - test -f "$1" && - $SED -e 4q "$1" 2>/dev/null \ - | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 -} - -# func_lalib_unsafe_p file -# True iff FILE is a libtool `.la' library or `.lo' object file. -# This function implements the same check as func_lalib_p without -# resorting to external programs. To this end, it redirects stdin and -# closes it afterwards, without saving the original file descriptor. -# As a safety measure, use it only where a negative result would be -# fatal anyway. Works if `file' does not exist. -func_lalib_unsafe_p () -{ - lalib_p=no - if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then - for lalib_p_l in 1 2 3 4 - do - read lalib_p_line - case "$lalib_p_line" in - \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; - esac - done - exec 0<&5 5<&- - fi - test "$lalib_p" = yes -} - -# func_ltwrapper_script_p file -# True iff FILE is a libtool wrapper script -# This function is only a basic sanity check; it will hardly flush out -# determined imposters. -func_ltwrapper_script_p () -{ - func_lalib_p "$1" -} - -# func_ltwrapper_executable_p file -# True iff FILE is a libtool wrapper executable -# This function is only a basic sanity check; it will hardly flush out -# determined imposters. -func_ltwrapper_executable_p () -{ - func_ltwrapper_exec_suffix= - case $1 in - *.exe) ;; - *) func_ltwrapper_exec_suffix=.exe ;; - esac - $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 -} - -# func_ltwrapper_scriptname file -# Assumes file is an ltwrapper_executable -# uses $file to determine the appropriate filename for a -# temporary ltwrapper_script. -func_ltwrapper_scriptname () -{ - func_ltwrapper_scriptname_result="" - if func_ltwrapper_executable_p "$1"; then - func_dirname_and_basename "$1" "" "." - func_stripname '' '.exe' "$func_basename_result" - func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper" - fi -} - -# func_ltwrapper_p file -# True iff FILE is a libtool wrapper script or wrapper executable -# This function is only a basic sanity check; it will hardly flush out -# determined imposters. -func_ltwrapper_p () -{ - func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" -} - - -# func_execute_cmds commands fail_cmd -# Execute tilde-delimited COMMANDS. -# If FAIL_CMD is given, eval that upon failure. -# FAIL_CMD may read-access the current command in variable CMD! -func_execute_cmds () -{ - $opt_debug - save_ifs=$IFS; IFS='~' - for cmd in $1; do - IFS=$save_ifs - eval cmd=\"$cmd\" - func_show_eval "$cmd" "${2-:}" - done - IFS=$save_ifs -} - - -# func_source file -# Source FILE, adding directory component if necessary. -# Note that it is not necessary on cygwin/mingw to append a dot to -# FILE even if both FILE and FILE.exe exist: automatic-append-.exe -# behavior happens only for exec(3), not for open(2)! Also, sourcing -# `FILE.' does not work on cygwin managed mounts. -func_source () -{ - $opt_debug - case $1 in - */* | *\\*) . "$1" ;; - *) . "./$1" ;; - esac -} - - -# func_infer_tag arg -# Infer tagged configuration to use if any are available and -# if one wasn't chosen via the "--tag" command line option. -# Only attempt this if the compiler in the base compile -# command doesn't match the default compiler. -# arg is usually of the form 'gcc ...' -func_infer_tag () -{ - $opt_debug - if test -n "$available_tags" && test -z "$tagname"; then - CC_quoted= - for arg in $CC; do - func_quote_for_eval "$arg" - CC_quoted="$CC_quoted $func_quote_for_eval_result" - done - case $@ in - # Blanks in the command may have been stripped by the calling shell, - # but not from the CC environment variable when configure was run. - " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;; - # Blanks at the start of $base_compile will cause this to fail - # if we don't check for them as well. - *) - for z in $available_tags; do - if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then - # Evaluate the configuration. - eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" - CC_quoted= - for arg in $CC; do - # Double-quote args containing other shell metacharacters. - func_quote_for_eval "$arg" - CC_quoted="$CC_quoted $func_quote_for_eval_result" - done - case "$@ " in - " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) - # The compiler in the base compile command matches - # the one in the tagged configuration. - # Assume this is the tagged configuration we want. - tagname=$z - break - ;; - esac - fi - done - # If $tagname still isn't set, then no tagged configuration - # was found and let the user know that the "--tag" command - # line option must be used. - if test -z "$tagname"; then - func_echo "unable to infer tagged configuration" - func_fatal_error "specify a tag with \`--tag'" -# else -# func_verbose "using $tagname tagged configuration" - fi - ;; - esac - fi -} - - - -# func_write_libtool_object output_name pic_name nonpic_name -# Create a libtool object file (analogous to a ".la" file), -# but don't create it if we're doing a dry run. -func_write_libtool_object () -{ - write_libobj=${1} - if test "$build_libtool_libs" = yes; then - write_lobj=\'${2}\' - else - write_lobj=none - fi - - if test "$build_old_libs" = yes; then - write_oldobj=\'${3}\' - else - write_oldobj=none - fi - - $opt_dry_run || { - cat >${write_libobj}T <?"'"'"' &()|`$[]' \ - && func_warning "libobj name \`$libobj' may not contain shell special characters." - func_dirname_and_basename "$obj" "/" "" - objname="$func_basename_result" - xdir="$func_dirname_result" - lobj=${xdir}$objdir/$objname - - test -z "$base_compile" && \ - func_fatal_help "you must specify a compilation command" - - # Delete any leftover library objects. - if test "$build_old_libs" = yes; then - removelist="$obj $lobj $libobj ${libobj}T" - else - removelist="$lobj $libobj ${libobj}T" - fi - - # On Cygwin there's no "real" PIC flag so we must build both object types - case $host_os in - cygwin* | mingw* | pw32* | os2* | cegcc*) - pic_mode=default - ;; - esac - if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then - # non-PIC code in shared libraries is not supported - pic_mode=default - fi - - # Calculate the filename of the output object if compiler does - # not support -o with -c - if test "$compiler_c_o" = no; then - output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} - lockfile="$output_obj.lock" - else - output_obj= - need_locks=no - lockfile= - fi - - # Lock this critical section if it is needed - # We use this script file to make the link, it avoids creating a new file - if test "$need_locks" = yes; then - until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do - func_echo "Waiting for $lockfile to be removed" - sleep 2 - done - elif test "$need_locks" = warn; then - if test -f "$lockfile"; then - $ECHO "\ -*** ERROR, $lockfile exists and contains: -`cat $lockfile 2>/dev/null` - -This indicates that another process is trying to use the same -temporary object file, and libtool could not work around it because -your compiler does not support \`-c' and \`-o' together. If you -repeat this compilation, it may succeed, by chance, but you had better -avoid parallel builds (make -j) in this platform, or get a better -compiler." - - $opt_dry_run || $RM $removelist - exit $EXIT_FAILURE - fi - removelist="$removelist $output_obj" - $ECHO "$srcfile" > "$lockfile" - fi - - $opt_dry_run || $RM $removelist - removelist="$removelist $lockfile" - trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 - - if test -n "$fix_srcfile_path"; then - eval srcfile=\"$fix_srcfile_path\" - fi - func_quote_for_eval "$srcfile" - qsrcfile=$func_quote_for_eval_result - - # Only build a PIC object if we are building libtool libraries. - if test "$build_libtool_libs" = yes; then - # Without this assignment, base_compile gets emptied. - fbsd_hideous_sh_bug=$base_compile - - if test "$pic_mode" != no; then - command="$base_compile $qsrcfile $pic_flag" - else - # Don't build PIC code - command="$base_compile $qsrcfile" - fi - - func_mkdir_p "$xdir$objdir" - - if test -z "$output_obj"; then - # Place PIC objects in $objdir - command="$command -o $lobj" - fi - - func_show_eval_locale "$command" \ - 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' - - if test "$need_locks" = warn && - test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then - $ECHO "\ -*** ERROR, $lockfile contains: -`cat $lockfile 2>/dev/null` - -but it should contain: -$srcfile - -This indicates that another process is trying to use the same -temporary object file, and libtool could not work around it because -your compiler does not support \`-c' and \`-o' together. If you -repeat this compilation, it may succeed, by chance, but you had better -avoid parallel builds (make -j) in this platform, or get a better -compiler." - - $opt_dry_run || $RM $removelist - exit $EXIT_FAILURE - fi - - # Just move the object if needed, then go on to compile the next one - if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then - func_show_eval '$MV "$output_obj" "$lobj"' \ - 'error=$?; $opt_dry_run || $RM $removelist; exit $error' - fi - - # Allow error messages only from the first compilation. - if test "$suppress_opt" = yes; then - suppress_output=' >/dev/null 2>&1' - fi - fi - - # Only build a position-dependent object if we build old libraries. - if test "$build_old_libs" = yes; then - if test "$pic_mode" != yes; then - # Don't build PIC code - command="$base_compile $qsrcfile$pie_flag" - else - command="$base_compile $qsrcfile $pic_flag" - fi - if test "$compiler_c_o" = yes; then - command="$command -o $obj" - fi - - # Suppress compiler output if we already did a PIC compilation. - command="$command$suppress_output" - func_show_eval_locale "$command" \ - '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' - - if test "$need_locks" = warn && - test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then - $ECHO "\ -*** ERROR, $lockfile contains: -`cat $lockfile 2>/dev/null` - -but it should contain: -$srcfile - -This indicates that another process is trying to use the same -temporary object file, and libtool could not work around it because -your compiler does not support \`-c' and \`-o' together. If you -repeat this compilation, it may succeed, by chance, but you had better -avoid parallel builds (make -j) in this platform, or get a better -compiler." - - $opt_dry_run || $RM $removelist - exit $EXIT_FAILURE - fi - - # Just move the object if needed - if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then - func_show_eval '$MV "$output_obj" "$obj"' \ - 'error=$?; $opt_dry_run || $RM $removelist; exit $error' - fi - fi - - $opt_dry_run || { - func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" - - # Unlock the critical section if it was locked - if test "$need_locks" != no; then - removelist=$lockfile - $RM "$lockfile" - fi - } - - exit $EXIT_SUCCESS -} - -$opt_help || { -test "$mode" = compile && func_mode_compile ${1+"$@"} -} - -func_mode_help () -{ - # We need to display help for each of the modes. - case $mode in - "") - # Generic help is extracted from the usage comments - # at the start of this file. - func_help - ;; - - clean) - $ECHO \ -"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE... - -Remove files from the build directory. - -RM is the name of the program to use to delete files associated with each FILE -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed -to RM. - -If FILE is a libtool library, object or program, all the files associated -with it are deleted. Otherwise, only FILE itself is deleted using RM." - ;; - - compile) - $ECHO \ -"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE - -Compile a source file into a libtool library object. - -This mode accepts the following additional options: - - -o OUTPUT-FILE set the output file name to OUTPUT-FILE - -no-suppress do not suppress compiler output for multiple passes - -prefer-pic try to building PIC objects only - -prefer-non-pic try to building non-PIC objects only - -shared do not build a \`.o' file suitable for static linking - -static only build a \`.o' file suitable for static linking - -COMPILE-COMMAND is a command to be used in creating a \`standard' object file -from the given SOURCEFILE. - -The output file name is determined by removing the directory component from -SOURCEFILE, then substituting the C source code suffix \`.c' with the -library object suffix, \`.lo'." - ;; - - execute) - $ECHO \ -"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]... - -Automatically set library path, then run a program. - -This mode accepts the following additional options: - - -dlopen FILE add the directory containing FILE to the library path - -This mode sets the library path environment variable according to \`-dlopen' -flags. - -If any of the ARGS are libtool executable wrappers, then they are translated -into their corresponding uninstalled binary, and any of their required library -directories are added to the library path. - -Then, COMMAND is executed, with ARGS as arguments." - ;; - - finish) - $ECHO \ -"Usage: $progname [OPTION]... --mode=finish [LIBDIR]... - -Complete the installation of libtool libraries. - -Each LIBDIR is a directory that contains libtool libraries. - -The commands that this mode executes may require superuser privileges. Use -the \`--dry-run' option if you just want to see what would be executed." - ;; - - install) - $ECHO \ -"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND... - -Install executables or libraries. - -INSTALL-COMMAND is the installation command. The first component should be -either the \`install' or \`cp' program. - -The following components of INSTALL-COMMAND are treated specially: - - -inst-prefix PREFIX-DIR Use PREFIX-DIR as a staging area for installation - -The rest of the components are interpreted as arguments to that command (only -BSD-compatible install options are recognized)." - ;; - - link) - $ECHO \ -"Usage: $progname [OPTION]... --mode=link LINK-COMMAND... - -Link object files or libraries together to form another library, or to -create an executable program. - -LINK-COMMAND is a command using the C compiler that you would use to create -a program from several object files. - -The following components of LINK-COMMAND are treated specially: - - -all-static do not do any dynamic linking at all - -avoid-version do not add a version suffix if possible - -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime - -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols - -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) - -export-symbols SYMFILE - try to export only the symbols listed in SYMFILE - -export-symbols-regex REGEX - try to export only the symbols matching REGEX - -LLIBDIR search LIBDIR for required installed libraries - -lNAME OUTPUT-FILE requires the installed library libNAME - -module build a library that can dlopened - -no-fast-install disable the fast-install mode - -no-install link a not-installable executable - -no-undefined declare that a library does not refer to external symbols - -o OUTPUT-FILE create OUTPUT-FILE from the specified objects - -objectlist FILE Use a list of object files found in FILE to specify objects - -precious-files-regex REGEX - don't remove output files matching REGEX - -release RELEASE specify package release information - -rpath LIBDIR the created library will eventually be installed in LIBDIR - -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries - -shared only do dynamic linking of libtool libraries - -shrext SUFFIX override the standard shared library file extension - -static do not do any dynamic linking of uninstalled libtool libraries - -static-libtool-libs - do not do any dynamic linking of libtool libraries - -version-info CURRENT[:REVISION[:AGE]] - specify library version info [each variable defaults to 0] - -weak LIBNAME declare that the target provides the LIBNAME interface - -All other options (arguments beginning with \`-') are ignored. - -Every other argument is treated as a filename. Files ending in \`.la' are -treated as uninstalled libtool libraries, other files are standard or library -object files. - -If the OUTPUT-FILE ends in \`.la', then a libtool library is created, -only library objects (\`.lo' files) may be specified, and \`-rpath' is -required, except when creating a convenience library. - -If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created -using \`ar' and \`ranlib', or on Windows using \`lib'. - -If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file -is created, otherwise an executable program is created." - ;; - - uninstall) - $ECHO \ -"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... - -Remove libraries from an installation directory. - -RM is the name of the program to use to delete files associated with each FILE -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed -to RM. - -If FILE is a libtool library, all the files associated with it are deleted. -Otherwise, only FILE itself is deleted using RM." - ;; - - *) - func_fatal_help "invalid operation mode \`$mode'" - ;; - esac - - $ECHO - $ECHO "Try \`$progname --help' for more information about other modes." - - exit $? -} - - # Now that we've collected a possible --mode arg, show help if necessary - $opt_help && func_mode_help - - -# func_mode_execute arg... -func_mode_execute () -{ - $opt_debug - # The first argument is the command name. - cmd="$nonopt" - test -z "$cmd" && \ - func_fatal_help "you must specify a COMMAND" - - # Handle -dlopen flags immediately. - for file in $execute_dlfiles; do - test -f "$file" \ - || func_fatal_help "\`$file' is not a file" - - dir= - case $file in - *.la) - # Check to see that this really is a libtool archive. - func_lalib_unsafe_p "$file" \ - || func_fatal_help "\`$lib' is not a valid libtool archive" - - # Read the libtool library. - dlname= - library_names= - func_source "$file" - - # Skip this library if it cannot be dlopened. - if test -z "$dlname"; then - # Warn if it was a shared library. - test -n "$library_names" && \ - func_warning "\`$file' was not linked with \`-export-dynamic'" - continue - fi - - func_dirname "$file" "" "." - dir="$func_dirname_result" - - if test -f "$dir/$objdir/$dlname"; then - dir="$dir/$objdir" - else - if test ! -f "$dir/$dlname"; then - func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" - fi - fi - ;; - - *.lo) - # Just add the directory containing the .lo file. - func_dirname "$file" "" "." - dir="$func_dirname_result" - ;; - - *) - func_warning "\`-dlopen' is ignored for non-libtool libraries and objects" - continue - ;; - esac - - # Get the absolute pathname. - absdir=`cd "$dir" && pwd` - test -n "$absdir" && dir="$absdir" - - # Now add the directory to shlibpath_var. - if eval "test -z \"\$$shlibpath_var\""; then - eval "$shlibpath_var=\"\$dir\"" - else - eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" - fi - done - - # This variable tells wrapper scripts just to set shlibpath_var - # rather than running their programs. - libtool_execute_magic="$magic" - - # Check if any of the arguments is a wrapper script. - args= - for file - do - case $file in - -*) ;; - *) - # Do a test to see if this is really a libtool program. - if func_ltwrapper_script_p "$file"; then - func_source "$file" - # Transform arg to wrapped name. - file="$progdir/$program" - elif func_ltwrapper_executable_p "$file"; then - func_ltwrapper_scriptname "$file" - func_source "$func_ltwrapper_scriptname_result" - # Transform arg to wrapped name. - file="$progdir/$program" - fi - ;; - esac - # Quote arguments (to preserve shell metacharacters). - func_quote_for_eval "$file" - args="$args $func_quote_for_eval_result" - done - - if test "X$opt_dry_run" = Xfalse; then - if test -n "$shlibpath_var"; then - # Export the shlibpath_var. - eval "export $shlibpath_var" - fi - - # Restore saved environment variables - for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES - do - eval "if test \"\${save_$lt_var+set}\" = set; then - $lt_var=\$save_$lt_var; export $lt_var - else - $lt_unset $lt_var - fi" - done - - # Now prepare to actually exec the command. - exec_cmd="\$cmd$args" - else - # Display what would be done. - if test -n "$shlibpath_var"; then - eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" - $ECHO "export $shlibpath_var" - fi - $ECHO "$cmd$args" - exit $EXIT_SUCCESS - fi -} - -test "$mode" = execute && func_mode_execute ${1+"$@"} - - -# func_mode_finish arg... -func_mode_finish () -{ - $opt_debug - libdirs="$nonopt" - admincmds= - - if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then - for dir - do - libdirs="$libdirs $dir" - done - - for libdir in $libdirs; do - if test -n "$finish_cmds"; then - # Do each command in the finish commands. - func_execute_cmds "$finish_cmds" 'admincmds="$admincmds -'"$cmd"'"' - fi - if test -n "$finish_eval"; then - # Do the single finish_eval. - eval cmds=\"$finish_eval\" - $opt_dry_run || eval "$cmds" || admincmds="$admincmds - $cmds" - fi - done - fi - - # Exit here if they wanted silent mode. - $opt_silent && exit $EXIT_SUCCESS - - $ECHO "X----------------------------------------------------------------------" | $Xsed - $ECHO "Libraries have been installed in:" - for libdir in $libdirs; do - $ECHO " $libdir" - done - $ECHO - $ECHO "If you ever happen to want to link against installed libraries" - $ECHO "in a given directory, LIBDIR, you must either use libtool, and" - $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'" - $ECHO "flag during linking and do at least one of the following:" - if test -n "$shlibpath_var"; then - $ECHO " - add LIBDIR to the \`$shlibpath_var' environment variable" - $ECHO " during execution" - fi - if test -n "$runpath_var"; then - $ECHO " - add LIBDIR to the \`$runpath_var' environment variable" - $ECHO " during linking" - fi - if test -n "$hardcode_libdir_flag_spec"; then - libdir=LIBDIR - eval flag=\"$hardcode_libdir_flag_spec\" - - $ECHO " - use the \`$flag' linker flag" - fi - if test -n "$admincmds"; then - $ECHO " - have your system administrator run these commands:$admincmds" - fi - if test -f /etc/ld.so.conf; then - $ECHO " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" - fi - $ECHO - - $ECHO "See any operating system documentation about shared libraries for" - case $host in - solaris2.[6789]|solaris2.1[0-9]) - $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual" - $ECHO "pages." - ;; - *) - $ECHO "more information, such as the ld(1) and ld.so(8) manual pages." - ;; - esac - $ECHO "X----------------------------------------------------------------------" | $Xsed - exit $EXIT_SUCCESS -} - -test "$mode" = finish && func_mode_finish ${1+"$@"} - - -# func_mode_install arg... -func_mode_install () -{ - $opt_debug - # There may be an optional sh(1) argument at the beginning of - # install_prog (especially on Windows NT). - if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || - # Allow the use of GNU shtool's install command. - $ECHO "X$nonopt" | $GREP shtool >/dev/null; then - # Aesthetically quote it. - func_quote_for_eval "$nonopt" - install_prog="$func_quote_for_eval_result " - arg=$1 - shift - else - install_prog= - arg=$nonopt - fi - - # The real first argument should be the name of the installation program. - # Aesthetically quote it. - func_quote_for_eval "$arg" - install_prog="$install_prog$func_quote_for_eval_result" - - # We need to accept at least all the BSD install flags. - dest= - files= - opts= - prev= - install_type= - isdir=no - stripme= - for arg - do - if test -n "$dest"; then - files="$files $dest" - dest=$arg - continue - fi - - case $arg in - -d) isdir=yes ;; - -f) - case " $install_prog " in - *[\\\ /]cp\ *) ;; - *) prev=$arg ;; - esac - ;; - -g | -m | -o) - prev=$arg - ;; - -s) - stripme=" -s" - continue - ;; - -*) - ;; - *) - # If the previous option needed an argument, then skip it. - if test -n "$prev"; then - prev= - else - dest=$arg - continue - fi - ;; - esac - - # Aesthetically quote the argument. - func_quote_for_eval "$arg" - install_prog="$install_prog $func_quote_for_eval_result" - done - - test -z "$install_prog" && \ - func_fatal_help "you must specify an install program" - - test -n "$prev" && \ - func_fatal_help "the \`$prev' option requires an argument" - - if test -z "$files"; then - if test -z "$dest"; then - func_fatal_help "no file or destination specified" - else - func_fatal_help "you must specify a destination" - fi - fi - - # Strip any trailing slash from the destination. - func_stripname '' '/' "$dest" - dest=$func_stripname_result - - # Check to see that the destination is a directory. - test -d "$dest" && isdir=yes - if test "$isdir" = yes; then - destdir="$dest" - destname= - else - func_dirname_and_basename "$dest" "" "." - destdir="$func_dirname_result" - destname="$func_basename_result" - - # Not a directory, so check to see that there is only one file specified. - set dummy $files; shift - test "$#" -gt 1 && \ - func_fatal_help "\`$dest' is not a directory" - fi - case $destdir in - [\\/]* | [A-Za-z]:[\\/]*) ;; - *) - for file in $files; do - case $file in - *.lo) ;; - *) - func_fatal_help "\`$destdir' must be an absolute directory name" - ;; - esac - done - ;; - esac - - # This variable tells wrapper scripts just to set variables rather - # than running their programs. - libtool_install_magic="$magic" - - staticlibs= - future_libdirs= - current_libdirs= - for file in $files; do - - # Do each installation. - case $file in - *.$libext) - # Do the static libraries later. - staticlibs="$staticlibs $file" - ;; - - *.la) - # Check to see that this really is a libtool archive. - func_lalib_unsafe_p "$file" \ - || func_fatal_help "\`$file' is not a valid libtool archive" - - library_names= - old_library= - relink_command= - func_source "$file" - - # Add the libdir to current_libdirs if it is the destination. - if test "X$destdir" = "X$libdir"; then - case "$current_libdirs " in - *" $libdir "*) ;; - *) current_libdirs="$current_libdirs $libdir" ;; - esac - else - # Note the libdir as a future libdir. - case "$future_libdirs " in - *" $libdir "*) ;; - *) future_libdirs="$future_libdirs $libdir" ;; - esac - fi - - func_dirname "$file" "/" "" - dir="$func_dirname_result" - dir="$dir$objdir" - - if test -n "$relink_command"; then - # Determine the prefix the user has applied to our future dir. - inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"` - - # Don't allow the user to place us outside of our expected - # location b/c this prevents finding dependent libraries that - # are installed to the same prefix. - # At present, this check doesn't affect windows .dll's that - # are installed into $libdir/../bin (currently, that works fine) - # but it's something to keep an eye on. - test "$inst_prefix_dir" = "$destdir" && \ - func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir" - - if test -n "$inst_prefix_dir"; then - # Stick the inst_prefix_dir data into the link command. - relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` - else - relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"` - fi - - func_warning "relinking \`$file'" - func_show_eval "$relink_command" \ - 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"' - fi - - # See the names of the shared library. - set dummy $library_names; shift - if test -n "$1"; then - realname="$1" - shift - - srcname="$realname" - test -n "$relink_command" && srcname="$realname"T - - # Install the shared library and build the symlinks. - func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \ - 'exit $?' - tstripme="$stripme" - case $host_os in - cygwin* | mingw* | pw32* | cegcc*) - case $realname in - *.dll.a) - tstripme="" - ;; - esac - ;; - esac - if test -n "$tstripme" && test -n "$striplib"; then - func_show_eval "$striplib $destdir/$realname" 'exit $?' - fi - - if test "$#" -gt 0; then - # Delete the old symlinks, and create new ones. - # Try `ln -sf' first, because the `ln' binary might depend on - # the symlink we replace! Solaris /bin/ln does not understand -f, - # so we also need to try rm && ln -s. - for linkname - do - test "$linkname" != "$realname" \ - && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" - done - fi - - # Do each command in the postinstall commands. - lib="$destdir/$realname" - func_execute_cmds "$postinstall_cmds" 'exit $?' - fi - - # Install the pseudo-library for information purposes. - func_basename "$file" - name="$func_basename_result" - instname="$dir/$name"i - func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' - - # Maybe install the static library, too. - test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" - ;; - - *.lo) - # Install (i.e. copy) a libtool object. - - # Figure out destination file name, if it wasn't already specified. - if test -n "$destname"; then - destfile="$destdir/$destname" - else - func_basename "$file" - destfile="$func_basename_result" - destfile="$destdir/$destfile" - fi - - # Deduce the name of the destination old-style object file. - case $destfile in - *.lo) - func_lo2o "$destfile" - staticdest=$func_lo2o_result - ;; - *.$objext) - staticdest="$destfile" - destfile= - ;; - *) - func_fatal_help "cannot copy a libtool object to \`$destfile'" - ;; - esac - - # Install the libtool object if requested. - test -n "$destfile" && \ - func_show_eval "$install_prog $file $destfile" 'exit $?' - - # Install the old object if enabled. - if test "$build_old_libs" = yes; then - # Deduce the name of the old-style object file. - func_lo2o "$file" - staticobj=$func_lo2o_result - func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' - fi - exit $EXIT_SUCCESS - ;; - - *) - # Figure out destination file name, if it wasn't already specified. - if test -n "$destname"; then - destfile="$destdir/$destname" - else - func_basename "$file" - destfile="$func_basename_result" - destfile="$destdir/$destfile" - fi - - # If the file is missing, and there is a .exe on the end, strip it - # because it is most likely a libtool script we actually want to - # install - stripped_ext="" - case $file in - *.exe) - if test ! -f "$file"; then - func_stripname '' '.exe' "$file" - file=$func_stripname_result - stripped_ext=".exe" - fi - ;; - esac - - # Do a test to see if this is really a libtool program. - case $host in - *cygwin* | *mingw*) - if func_ltwrapper_executable_p "$file"; then - func_ltwrapper_scriptname "$file" - wrapper=$func_ltwrapper_scriptname_result - else - func_stripname '' '.exe' "$file" - wrapper=$func_stripname_result - fi - ;; - *) - wrapper=$file - ;; - esac - if func_ltwrapper_script_p "$wrapper"; then - notinst_deplibs= - relink_command= - - func_source "$wrapper" - - # Check the variables that should have been set. - test -z "$generated_by_libtool_version" && \ - func_fatal_error "invalid libtool wrapper script \`$wrapper'" - - finalize=yes - for lib in $notinst_deplibs; do - # Check to see that each library is installed. - libdir= - if test -f "$lib"; then - func_source "$lib" - fi - libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test - if test -n "$libdir" && test ! -f "$libfile"; then - func_warning "\`$lib' has not been installed in \`$libdir'" - finalize=no - fi - done - - relink_command= - func_source "$wrapper" - - outputname= - if test "$fast_install" = no && test -n "$relink_command"; then - $opt_dry_run || { - if test "$finalize" = yes; then - tmpdir=`func_mktempdir` - func_basename "$file$stripped_ext" - file="$func_basename_result" - outputname="$tmpdir/$file" - # Replace the output file specification. - relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` - - $opt_silent || { - func_quote_for_expand "$relink_command" - eval "func_echo $func_quote_for_expand_result" - } - if eval "$relink_command"; then : - else - func_error "error: relink \`$file' with the above command before installing it" - $opt_dry_run || ${RM}r "$tmpdir" - continue - fi - file="$outputname" - else - func_warning "cannot relink \`$file'" - fi - } - else - # Install the binary that we compiled earlier. - file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` - fi - fi - - # remove .exe since cygwin /usr/bin/install will append another - # one anyway - case $install_prog,$host in - */usr/bin/install*,*cygwin*) - case $file:$destfile in - *.exe:*.exe) - # this is ok - ;; - *.exe:*) - destfile=$destfile.exe - ;; - *:*.exe) - func_stripname '' '.exe' "$destfile" - destfile=$func_stripname_result - ;; - esac - ;; - esac - func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' - $opt_dry_run || if test -n "$outputname"; then - ${RM}r "$tmpdir" - fi - ;; - esac - done - - for file in $staticlibs; do - func_basename "$file" - name="$func_basename_result" - - # Set up the ranlib parameters. - oldlib="$destdir/$name" - - func_show_eval "$install_prog \$file \$oldlib" 'exit $?' - - if test -n "$stripme" && test -n "$old_striplib"; then - func_show_eval "$old_striplib $oldlib" 'exit $?' - fi - - # Do each command in the postinstall commands. - func_execute_cmds "$old_postinstall_cmds" 'exit $?' - done - - test -n "$future_libdirs" && \ - func_warning "remember to run \`$progname --finish$future_libdirs'" - - if test -n "$current_libdirs"; then - # Maybe just do a dry run. - $opt_dry_run && current_libdirs=" -n$current_libdirs" - exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' - else - exit $EXIT_SUCCESS - fi -} - -test "$mode" = install && func_mode_install ${1+"$@"} - - -# func_generate_dlsyms outputname originator pic_p -# Extract symbols from dlprefiles and create ${outputname}S.o with -# a dlpreopen symbol table. -func_generate_dlsyms () -{ - $opt_debug - my_outputname="$1" - my_originator="$2" - my_pic_p="${3-no}" - my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'` - my_dlsyms= - - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then - if test -n "$NM" && test -n "$global_symbol_pipe"; then - my_dlsyms="${my_outputname}S.c" - else - func_error "not configured to extract global symbols from dlpreopened files" - fi - fi - - if test -n "$my_dlsyms"; then - case $my_dlsyms in - "") ;; - *.c) - # Discover the nlist of each of the dlfiles. - nlist="$output_objdir/${my_outputname}.nm" - - func_show_eval "$RM $nlist ${nlist}S ${nlist}T" - - # Parse the name list into a source file. - func_verbose "creating $output_objdir/$my_dlsyms" - - $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ -/* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */ -/* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */ - -#ifdef __cplusplus -extern \"C\" { -#endif - -/* External symbol declarations for the compiler. */\ -" - - if test "$dlself" = yes; then - func_verbose "generating symbol list for \`$output'" - - $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" - - # Add our own program objects to the symbol list. - progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` - for progfile in $progfiles; do - func_verbose "extracting global C symbols from \`$progfile'" - $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'" - done - - if test -n "$exclude_expsyms"; then - $opt_dry_run || { - eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' - eval '$MV "$nlist"T "$nlist"' - } - fi - - if test -n "$export_symbols_regex"; then - $opt_dry_run || { - eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' - eval '$MV "$nlist"T "$nlist"' - } - fi - - # Prepare the list of exported symbols - if test -z "$export_symbols"; then - export_symbols="$output_objdir/$outputname.exp" - $opt_dry_run || { - $RM $export_symbols - eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' - case $host in - *cygwin* | *mingw* | *cegcc* ) - eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' - eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' - ;; - esac - } - else - $opt_dry_run || { - eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' - eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' - eval '$MV "$nlist"T "$nlist"' - case $host in - *cygwin | *mingw* | *cegcc* ) - eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' - eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' - ;; - esac - } - fi - fi - - for dlprefile in $dlprefiles; do - func_verbose "extracting global C symbols from \`$dlprefile'" - func_basename "$dlprefile" - name="$func_basename_result" - $opt_dry_run || { - eval '$ECHO ": $name " >> "$nlist"' - eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'" - } - done - - $opt_dry_run || { - # Make sure we have at least an empty file. - test -f "$nlist" || : > "$nlist" - - if test -n "$exclude_expsyms"; then - $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T - $MV "$nlist"T "$nlist" - fi - - # Try sorting and uniquifying the output. - if $GREP -v "^: " < "$nlist" | - if sort -k 3 /dev/null 2>&1; then - sort -k 3 - else - sort +2 - fi | - uniq > "$nlist"S; then - : - else - $GREP -v "^: " < "$nlist" > "$nlist"S - fi - - if test -f "$nlist"S; then - eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' - else - $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms" - fi - - $ECHO >> "$output_objdir/$my_dlsyms" "\ - -/* The mapping between symbol names and symbols. */ -typedef struct { - const char *name; - void *address; -} lt_dlsymlist; -" - case $host in - *cygwin* | *mingw* | *cegcc* ) - $ECHO >> "$output_objdir/$my_dlsyms" "\ -/* DATA imports from DLLs on WIN32 con't be const, because - runtime relocations are performed -- see ld's documentation - on pseudo-relocs. */" - lt_dlsym_const= ;; - *osf5*) - echo >> "$output_objdir/$my_dlsyms" "\ -/* This system does not cope well with relocations in const data */" - lt_dlsym_const= ;; - *) - lt_dlsym_const=const ;; - esac - - $ECHO >> "$output_objdir/$my_dlsyms" "\ -extern $lt_dlsym_const lt_dlsymlist -lt_${my_prefix}_LTX_preloaded_symbols[]; -$lt_dlsym_const lt_dlsymlist -lt_${my_prefix}_LTX_preloaded_symbols[] = -{\ - { \"$my_originator\", (void *) 0 }," - - case $need_lib_prefix in - no) - eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" - ;; - *) - eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" - ;; - esac - $ECHO >> "$output_objdir/$my_dlsyms" "\ - {0, (void *) 0} -}; - -/* This works around a problem in FreeBSD linker */ -#ifdef FREEBSD_WORKAROUND -static const void *lt_preloaded_setup() { - return lt_${my_prefix}_LTX_preloaded_symbols; -} -#endif - -#ifdef __cplusplus -} -#endif\ -" - } # !$opt_dry_run - - pic_flag_for_symtable= - case "$compile_command " in - *" -static "*) ;; - *) - case $host in - # compiling the symbol table file with pic_flag works around - # a FreeBSD bug that causes programs to crash when -lm is - # linked before any other PIC object. But we must not use - # pic_flag when linking with -static. The problem exists in - # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. - *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) - pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; - *-*-hpux*) - pic_flag_for_symtable=" $pic_flag" ;; - *) - if test "X$my_pic_p" != Xno; then - pic_flag_for_symtable=" $pic_flag" - fi - ;; - esac - ;; - esac - symtab_cflags= - for arg in $LTCFLAGS; do - case $arg in - -pie | -fpie | -fPIE) ;; - *) symtab_cflags="$symtab_cflags $arg" ;; - esac - done - - # Now compile the dynamic symbol file. - func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' - - # Clean up the generated files. - func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"' - - # Transform the symbol file into the correct name. - symfileobj="$output_objdir/${my_outputname}S.$objext" - case $host in - *cygwin* | *mingw* | *cegcc* ) - if test -f "$output_objdir/$my_outputname.def"; then - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` - else - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` - fi - ;; - *) - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` - ;; - esac - ;; - *) - func_fatal_error "unknown suffix for \`$my_dlsyms'" - ;; - esac - else - # We keep going just in case the user didn't refer to - # lt_preloaded_symbols. The linker will fail if global_symbol_pipe - # really was required. - - # Nullify the symbol file. - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` - fi -} - -# func_win32_libid arg -# return the library type of file 'arg' -# -# Need a lot of goo to handle *both* DLLs and import libs -# Has to be a shell function in order to 'eat' the argument -# that is supplied when $file_magic_command is called. -func_win32_libid () -{ - $opt_debug - win32_libid_type="unknown" - win32_fileres=`file -L $1 2>/dev/null` - case $win32_fileres in - *ar\ archive\ import\ library*) # definitely import - win32_libid_type="x86 archive import" - ;; - *ar\ archive*) # could be an import, or static - if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | - $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then - win32_nmres=`eval $NM -f posix -A $1 | - $SED -n -e ' - 1,100{ - / I /{ - s,.*,import, - p - q - } - }'` - case $win32_nmres in - import*) win32_libid_type="x86 archive import";; - *) win32_libid_type="x86 archive static";; - esac - fi - ;; - *DLL*) - win32_libid_type="x86 DLL" - ;; - *executable*) # but shell scripts are "executable" too... - case $win32_fileres in - *MS\ Windows\ PE\ Intel*) - win32_libid_type="x86 DLL" - ;; - esac - ;; - esac - $ECHO "$win32_libid_type" -} - - - -# func_extract_an_archive dir oldlib -func_extract_an_archive () -{ - $opt_debug - f_ex_an_ar_dir="$1"; shift - f_ex_an_ar_oldlib="$1" - func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?' - if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then - : - else - func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" - fi -} - - -# func_extract_archives gentop oldlib ... -func_extract_archives () -{ - $opt_debug - my_gentop="$1"; shift - my_oldlibs=${1+"$@"} - my_oldobjs="" - my_xlib="" - my_xabs="" - my_xdir="" - - for my_xlib in $my_oldlibs; do - # Extract the objects. - case $my_xlib in - [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; - *) my_xabs=`pwd`"/$my_xlib" ;; - esac - func_basename "$my_xlib" - my_xlib="$func_basename_result" - my_xlib_u=$my_xlib - while :; do - case " $extracted_archives " in - *" $my_xlib_u "*) - func_arith $extracted_serial + 1 - extracted_serial=$func_arith_result - my_xlib_u=lt$extracted_serial-$my_xlib ;; - *) break ;; - esac - done - extracted_archives="$extracted_archives $my_xlib_u" - my_xdir="$my_gentop/$my_xlib_u" - - func_mkdir_p "$my_xdir" - - case $host in - *-darwin*) - func_verbose "Extracting $my_xabs" - # Do not bother doing anything if just a dry run - $opt_dry_run || { - darwin_orig_dir=`pwd` - cd $my_xdir || exit $? - darwin_archive=$my_xabs - darwin_curdir=`pwd` - darwin_base_archive=`basename "$darwin_archive"` - darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` - if test -n "$darwin_arches"; then - darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` - darwin_arch= - func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" - for darwin_arch in $darwin_arches ; do - func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}" - $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" - cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" - func_extract_an_archive "`pwd`" "${darwin_base_archive}" - cd "$darwin_curdir" - $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" - done # $darwin_arches - ## Okay now we've a bunch of thin objects, gotta fatten them up :) - darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u` - darwin_file= - darwin_files= - for darwin_file in $darwin_filelist; do - darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP` - $LIPO -create -output "$darwin_file" $darwin_files - done # $darwin_filelist - $RM -rf unfat-$$ - cd "$darwin_orig_dir" - else - cd $darwin_orig_dir - func_extract_an_archive "$my_xdir" "$my_xabs" - fi # $darwin_arches - } # !$opt_dry_run - ;; - *) - func_extract_an_archive "$my_xdir" "$my_xabs" - ;; - esac - my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` - done - - func_extract_archives_result="$my_oldobjs" -} - - - -# func_emit_wrapper_part1 [arg=no] -# -# Emit the first part of a libtool wrapper script on stdout. -# For more information, see the description associated with -# func_emit_wrapper(), below. -func_emit_wrapper_part1 () -{ - func_emit_wrapper_part1_arg1=no - if test -n "$1" ; then - func_emit_wrapper_part1_arg1=$1 - fi - - $ECHO "\ -#! $SHELL - -# $output - temporary wrapper script for $objdir/$outputname -# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION -# -# The $output program cannot be directly executed until all the libtool -# libraries that it depends on are installed. -# -# This wrapper script should never be moved out of the build directory. -# If it is, it will not operate correctly. - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed='${SED} -e 1s/^X//' -sed_quote_subst='$sed_quote_subst' - -# Be Bourne compatible -if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs 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 -BIN_SH=xpg4; export BIN_SH # for Tru64 -DUALCASE=1; export DUALCASE # for MKS sh - -# 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 - -relink_command=\"$relink_command\" - -# This environment variable determines our operation mode. -if test \"\$libtool_install_magic\" = \"$magic\"; then - # install mode needs the following variables: - generated_by_libtool_version='$macro_version' - notinst_deplibs='$notinst_deplibs' -else - # When we are sourced in execute mode, \$file and \$ECHO are already set. - if test \"\$libtool_execute_magic\" != \"$magic\"; then - ECHO=\"$qecho\" - file=\"\$0\" - # Make sure echo works. - if test \"X\$1\" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift - elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then - # Yippee, \$ECHO works! - : - else - # Restart under the correct shell, and then maybe \$ECHO will work. - exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} - fi - fi\ -" - $ECHO "\ - - # Find the directory that this script lives in. - thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` - test \"x\$thisdir\" = \"x\$file\" && thisdir=. - - # Follow symbolic links until we get to the real thisdir. - file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` - while test -n \"\$file\"; do - destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` - - # If there was a directory component, then change thisdir. - if test \"x\$destdir\" != \"x\$file\"; then - case \"\$destdir\" in - [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; - *) thisdir=\"\$thisdir/\$destdir\" ;; - esac - fi - - file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\` - file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` - done -" -} -# end: func_emit_wrapper_part1 - -# func_emit_wrapper_part2 [arg=no] -# -# Emit the second part of a libtool wrapper script on stdout. -# For more information, see the description associated with -# func_emit_wrapper(), below. -func_emit_wrapper_part2 () -{ - func_emit_wrapper_part2_arg1=no - if test -n "$1" ; then - func_emit_wrapper_part2_arg1=$1 - fi - - $ECHO "\ - - # Usually 'no', except on cygwin/mingw when embedded into - # the cwrapper. - WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1 - if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then - # special case for '.' - if test \"\$thisdir\" = \".\"; then - thisdir=\`pwd\` - fi - # remove .libs from thisdir - case \"\$thisdir\" in - *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;; - $objdir ) thisdir=. ;; - esac - fi - - # Try to get the absolute directory name. - absdir=\`cd \"\$thisdir\" && pwd\` - test -n \"\$absdir\" && thisdir=\"\$absdir\" -" - - if test "$fast_install" = yes; then - $ECHO "\ - program=lt-'$outputname'$exeext - progdir=\"\$thisdir/$objdir\" - - if test ! -f \"\$progdir/\$program\" || - { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ - test \"X\$file\" != \"X\$progdir/\$program\"; }; then - - file=\"\$\$-\$program\" - - if test ! -d \"\$progdir\"; then - $MKDIR \"\$progdir\" - else - $RM \"\$progdir/\$file\" - fi" - - $ECHO "\ - - # relink executable if necessary - if test -n \"\$relink_command\"; then - if relink_command_output=\`eval \$relink_command 2>&1\`; then : - else - $ECHO \"\$relink_command_output\" >&2 - $RM \"\$progdir/\$file\" - exit 1 - fi - fi - - $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || - { $RM \"\$progdir/\$program\"; - $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } - $RM \"\$progdir/\$file\" - fi" - else - $ECHO "\ - program='$outputname' - progdir=\"\$thisdir/$objdir\" -" - fi - - $ECHO "\ - - if test -f \"\$progdir/\$program\"; then" - - # Export our shlibpath_var if we have one. - if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then - $ECHO "\ - # Add our own library path to $shlibpath_var - $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" - - # Some systems cannot cope with colon-terminated $shlibpath_var - # The second colon is a workaround for a bug in BeOS R4 sed - $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` - - export $shlibpath_var -" - fi - - # fixup the dll searchpath if we need to. - if test -n "$dllsearchpath"; then - $ECHO "\ - # Add the dll search path components to the executable PATH - PATH=$dllsearchpath:\$PATH -" - fi - - $ECHO "\ - if test \"\$libtool_execute_magic\" != \"$magic\"; then - # Run the actual program with our arguments. -" - case $host in - # Backslashes separate directories on plain windows - *-*-mingw | *-*-os2* | *-cegcc*) - $ECHO "\ - exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} -" - ;; - - *) - $ECHO "\ - exec \"\$progdir/\$program\" \${1+\"\$@\"} -" - ;; - esac - $ECHO "\ - \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 - exit 1 - fi - else - # The program doesn't exist. - \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 - \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 - $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 - exit 1 - fi -fi\ -" -} -# end: func_emit_wrapper_part2 - - -# func_emit_wrapper [arg=no] -# -# Emit a libtool wrapper script on stdout. -# Don't directly open a file because we may want to -# incorporate the script contents within a cygwin/mingw -# wrapper executable. Must ONLY be called from within -# func_mode_link because it depends on a number of variables -# set therein. -# -# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR -# variable will take. If 'yes', then the emitted script -# will assume that the directory in which it is stored is -# the $objdir directory. This is a cygwin/mingw-specific -# behavior. -func_emit_wrapper () -{ - func_emit_wrapper_arg1=no - if test -n "$1" ; then - func_emit_wrapper_arg1=$1 - fi - - # split this up so that func_emit_cwrapperexe_src - # can call each part independently. - func_emit_wrapper_part1 "${func_emit_wrapper_arg1}" - func_emit_wrapper_part2 "${func_emit_wrapper_arg1}" -} - - -# func_to_host_path arg -# -# Convert paths to host format when used with build tools. -# Intended for use with "native" mingw (where libtool itself -# is running under the msys shell), or in the following cross- -# build environments: -# $build $host -# mingw (msys) mingw [e.g. native] -# cygwin mingw -# *nix + wine mingw -# where wine is equipped with the `winepath' executable. -# In the native mingw case, the (msys) shell automatically -# converts paths for any non-msys applications it launches, -# but that facility isn't available from inside the cwrapper. -# Similar accommodations are necessary for $host mingw and -# $build cygwin. Calling this function does no harm for other -# $host/$build combinations not listed above. -# -# ARG is the path (on $build) that should be converted to -# the proper representation for $host. The result is stored -# in $func_to_host_path_result. -func_to_host_path () -{ - func_to_host_path_result="$1" - if test -n "$1" ; then - case $host in - *mingw* ) - lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' - case $build in - *mingw* ) # actually, msys - # awkward: cmd appends spaces to result - lt_sed_strip_trailing_spaces="s/[ ]*\$//" - func_to_host_path_tmp1=`( cmd //c echo "$1" |\ - $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ - $SED -e "$lt_sed_naive_backslashify"` - ;; - *cygwin* ) - func_to_host_path_tmp1=`cygpath -w "$1"` - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ - $SED -e "$lt_sed_naive_backslashify"` - ;; - * ) - # Unfortunately, winepath does not exit with a non-zero - # error code, so we are forced to check the contents of - # stdout. On the other hand, if the command is not - # found, the shell will set an exit code of 127 and print - # *an error message* to stdout. So we must check for both - # error code of zero AND non-empty stdout, which explains - # the odd construction: - func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null` - if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ - $SED -e "$lt_sed_naive_backslashify"` - else - # Allow warning below. - func_to_host_path_result="" - fi - ;; - esac - if test -z "$func_to_host_path_result" ; then - func_error "Could not determine host path corresponding to" - func_error " '$1'" - func_error "Continuing, but uninstalled executables may not work." - # Fallback: - func_to_host_path_result="$1" - fi - ;; - esac - fi -} -# end: func_to_host_path - -# func_to_host_pathlist arg -# -# Convert pathlists to host format when used with build tools. -# See func_to_host_path(), above. This function supports the -# following $build/$host combinations (but does no harm for -# combinations not listed here): -# $build $host -# mingw (msys) mingw [e.g. native] -# cygwin mingw -# *nix + wine mingw -# -# Path separators are also converted from $build format to -# $host format. If ARG begins or ends with a path separator -# character, it is preserved (but converted to $host format) -# on output. -# -# ARG is a pathlist (on $build) that should be converted to -# the proper representation on $host. The result is stored -# in $func_to_host_pathlist_result. -func_to_host_pathlist () -{ - func_to_host_pathlist_result="$1" - if test -n "$1" ; then - case $host in - *mingw* ) - lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' - # Remove leading and trailing path separator characters from - # ARG. msys behavior is inconsistent here, cygpath turns them - # into '.;' and ';.', and winepath ignores them completely. - func_to_host_pathlist_tmp2="$1" - # Once set for this call, this variable should not be - # reassigned. It is used in tha fallback case. - func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\ - $SED -e 's|^:*||' -e 's|:*$||'` - case $build in - *mingw* ) # Actually, msys. - # Awkward: cmd appends spaces to result. - lt_sed_strip_trailing_spaces="s/[ ]*\$//" - func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\ - $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ - $SED -e "$lt_sed_naive_backslashify"` - ;; - *cygwin* ) - func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"` - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ - $SED -e "$lt_sed_naive_backslashify"` - ;; - * ) - # unfortunately, winepath doesn't convert pathlists - func_to_host_pathlist_result="" - func_to_host_pathlist_oldIFS=$IFS - IFS=: - for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do - IFS=$func_to_host_pathlist_oldIFS - if test -n "$func_to_host_pathlist_f" ; then - func_to_host_path "$func_to_host_pathlist_f" - if test -n "$func_to_host_path_result" ; then - if test -z "$func_to_host_pathlist_result" ; then - func_to_host_pathlist_result="$func_to_host_path_result" - else - func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result" - fi - fi - fi - IFS=: - done - IFS=$func_to_host_pathlist_oldIFS - ;; - esac - if test -z "$func_to_host_pathlist_result" ; then - func_error "Could not determine the host path(s) corresponding to" - func_error " '$1'" - func_error "Continuing, but uninstalled executables may not work." - # Fallback. This may break if $1 contains DOS-style drive - # specifications. The fix is not to complicate the expression - # below, but for the user to provide a working wine installation - # with winepath so that path translation in the cross-to-mingw - # case works properly. - lt_replace_pathsep_nix_to_dos="s|:|;|g" - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\ - $SED -e "$lt_replace_pathsep_nix_to_dos"` - fi - # Now, add the leading and trailing path separators back - case "$1" in - :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result" - ;; - esac - case "$1" in - *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;" - ;; - esac - ;; - esac - fi -} -# end: func_to_host_pathlist - -# func_emit_cwrapperexe_src -# emit the source code for a wrapper executable on stdout -# Must ONLY be called from within func_mode_link because -# it depends on a number of variable set therein. -func_emit_cwrapperexe_src () -{ - cat < -#include -#ifdef _MSC_VER -# include -# include -# include -# define setmode _setmode -#else -# include -# include -# ifdef __CYGWIN__ -# include -# define HAVE_SETENV -# ifdef __STRICT_ANSI__ -char *realpath (const char *, char *); -int putenv (char *); -int setenv (const char *, const char *, int); -# endif -# endif -#endif -#include -#include -#include -#include -#include -#include -#include -#include - -#if defined(PATH_MAX) -# define LT_PATHMAX PATH_MAX -#elif defined(MAXPATHLEN) -# define LT_PATHMAX MAXPATHLEN -#else -# define LT_PATHMAX 1024 -#endif - -#ifndef S_IXOTH -# define S_IXOTH 0 -#endif -#ifndef S_IXGRP -# define S_IXGRP 0 -#endif - -#ifdef _MSC_VER -# define S_IXUSR _S_IEXEC -# define stat _stat -# ifndef _INTPTR_T_DEFINED -# define intptr_t int -# endif -#endif - -#ifndef DIR_SEPARATOR -# define DIR_SEPARATOR '/' -# define PATH_SEPARATOR ':' -#endif - -#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ - defined (__OS2__) -# define HAVE_DOS_BASED_FILE_SYSTEM -# define FOPEN_WB "wb" -# ifndef DIR_SEPARATOR_2 -# define DIR_SEPARATOR_2 '\\' -# endif -# ifndef PATH_SEPARATOR_2 -# define PATH_SEPARATOR_2 ';' -# endif -#endif - -#ifndef DIR_SEPARATOR_2 -# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) -#else /* DIR_SEPARATOR_2 */ -# define IS_DIR_SEPARATOR(ch) \ - (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) -#endif /* DIR_SEPARATOR_2 */ - -#ifndef PATH_SEPARATOR_2 -# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) -#else /* PATH_SEPARATOR_2 */ -# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) -#endif /* PATH_SEPARATOR_2 */ - -#ifdef __CYGWIN__ -# define FOPEN_WB "wb" -#endif - -#ifndef FOPEN_WB -# define FOPEN_WB "w" -#endif -#ifndef _O_BINARY -# define _O_BINARY 0 -#endif - -#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) -#define XFREE(stale) do { \ - if (stale) { free ((void *) stale); stale = 0; } \ -} while (0) - -#undef LTWRAPPER_DEBUGPRINTF -#if defined DEBUGWRAPPER -# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args -static void -ltwrapper_debugprintf (const char *fmt, ...) -{ - va_list args; - va_start (args, fmt); - (void) vfprintf (stderr, fmt, args); - va_end (args); -} -#else -# define LTWRAPPER_DEBUGPRINTF(args) -#endif - -const char *program_name = NULL; - -void *xmalloc (size_t num); -char *xstrdup (const char *string); -const char *base_name (const char *name); -char *find_executable (const char *wrapper); -char *chase_symlinks (const char *pathspec); -int make_executable (const char *path); -int check_executable (const char *path); -char *strendzap (char *str, const char *pat); -void lt_fatal (const char *message, ...); -void lt_setenv (const char *name, const char *value); -char *lt_extend_str (const char *orig_value, const char *add, int to_end); -void lt_opt_process_env_set (const char *arg); -void lt_opt_process_env_prepend (const char *arg); -void lt_opt_process_env_append (const char *arg); -int lt_split_name_value (const char *arg, char** name, char** value); -void lt_update_exe_path (const char *name, const char *value); -void lt_update_lib_path (const char *name, const char *value); - -static const char *script_text_part1 = -EOF - - func_emit_wrapper_part1 yes | - $SED -e 's/\([\\"]\)/\\\1/g' \ - -e 's/^/ "/' -e 's/$/\\n"/' - echo ";" - cat <"))); - for (i = 0; i < newargc; i++) - { - LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : ""))); - } - -EOF - - case $host_os in - mingw*) - cat <<"EOF" - /* execv doesn't actually work on mingw as expected on unix */ - rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz); - if (rval == -1) - { - /* failed to start process */ - LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno)); - return 127; - } - return rval; -EOF - ;; - *) - cat <<"EOF" - execv (lt_argv_zero, newargz); - return rval; /* =127, but avoids unused variable warning */ -EOF - ;; - esac - - cat <<"EOF" -} - -void * -xmalloc (size_t num) -{ - void *p = (void *) malloc (num); - if (!p) - lt_fatal ("Memory exhausted"); - - return p; -} - -char * -xstrdup (const char *string) -{ - return string ? strcpy ((char *) xmalloc (strlen (string) + 1), - string) : NULL; -} - -const char * -base_name (const char *name) -{ - const char *base; - -#if defined (HAVE_DOS_BASED_FILE_SYSTEM) - /* Skip over the disk name in MSDOS pathnames. */ - if (isalpha ((unsigned char) name[0]) && name[1] == ':') - name += 2; -#endif - - for (base = name; *name; name++) - if (IS_DIR_SEPARATOR (*name)) - base = name + 1; - return base; -} - -int -check_executable (const char *path) -{ - struct stat st; - - LTWRAPPER_DEBUGPRINTF (("(check_executable) : %s\n", - path ? (*path ? path : "EMPTY!") : "NULL!")); - if ((!path) || (!*path)) - return 0; - - if ((stat (path, &st) >= 0) - && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) - return 1; - else - return 0; -} - -int -make_executable (const char *path) -{ - int rval = 0; - struct stat st; - - LTWRAPPER_DEBUGPRINTF (("(make_executable) : %s\n", - path ? (*path ? path : "EMPTY!") : "NULL!")); - if ((!path) || (!*path)) - return 0; - - if (stat (path, &st) >= 0) - { - rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); - } - return rval; -} - -/* Searches for the full path of the wrapper. Returns - newly allocated full path name if found, NULL otherwise - Does not chase symlinks, even on platforms that support them. -*/ -char * -find_executable (const char *wrapper) -{ - int has_slash = 0; - const char *p; - const char *p_next; - /* static buffer for getcwd */ - char tmp[LT_PATHMAX + 1]; - int tmp_len; - char *concat_name; - - LTWRAPPER_DEBUGPRINTF (("(find_executable) : %s\n", - wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!")); - - if ((wrapper == NULL) || (*wrapper == '\0')) - return NULL; - - /* Absolute path? */ -#if defined (HAVE_DOS_BASED_FILE_SYSTEM) - if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') - { - concat_name = xstrdup (wrapper); - if (check_executable (concat_name)) - return concat_name; - XFREE (concat_name); - } - else - { -#endif - if (IS_DIR_SEPARATOR (wrapper[0])) - { - concat_name = xstrdup (wrapper); - if (check_executable (concat_name)) - return concat_name; - XFREE (concat_name); - } -#if defined (HAVE_DOS_BASED_FILE_SYSTEM) - } -#endif - - for (p = wrapper; *p; p++) - if (*p == '/') - { - has_slash = 1; - break; - } - if (!has_slash) - { - /* no slashes; search PATH */ - const char *path = getenv ("PATH"); - if (path != NULL) - { - for (p = path; *p; p = p_next) - { - const char *q; - size_t p_len; - for (q = p; *q; q++) - if (IS_PATH_SEPARATOR (*q)) - break; - p_len = q - p; - p_next = (*q == '\0' ? q : q + 1); - if (p_len == 0) - { - /* empty path: current directory */ - if (getcwd (tmp, LT_PATHMAX) == NULL) - lt_fatal ("getcwd failed"); - tmp_len = strlen (tmp); - concat_name = - XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); - memcpy (concat_name, tmp, tmp_len); - concat_name[tmp_len] = '/'; - strcpy (concat_name + tmp_len + 1, wrapper); - } - else - { - concat_name = - XMALLOC (char, p_len + 1 + strlen (wrapper) + 1); - memcpy (concat_name, p, p_len); - concat_name[p_len] = '/'; - strcpy (concat_name + p_len + 1, wrapper); - } - if (check_executable (concat_name)) - return concat_name; - XFREE (concat_name); - } - } - /* not found in PATH; assume curdir */ - } - /* Relative path | not found in path: prepend cwd */ - if (getcwd (tmp, LT_PATHMAX) == NULL) - lt_fatal ("getcwd failed"); - tmp_len = strlen (tmp); - concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); - memcpy (concat_name, tmp, tmp_len); - concat_name[tmp_len] = '/'; - strcpy (concat_name + tmp_len + 1, wrapper); - - if (check_executable (concat_name)) - return concat_name; - XFREE (concat_name); - return NULL; -} - -char * -chase_symlinks (const char *pathspec) -{ -#ifndef S_ISLNK - return xstrdup (pathspec); -#else - char buf[LT_PATHMAX]; - struct stat s; - char *tmp_pathspec = xstrdup (pathspec); - char *p; - int has_symlinks = 0; - while (strlen (tmp_pathspec) && !has_symlinks) - { - LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n", - tmp_pathspec)); - if (lstat (tmp_pathspec, &s) == 0) - { - if (S_ISLNK (s.st_mode) != 0) - { - has_symlinks = 1; - break; - } - - /* search backwards for last DIR_SEPARATOR */ - p = tmp_pathspec + strlen (tmp_pathspec) - 1; - while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) - p--; - if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) - { - /* no more DIR_SEPARATORS left */ - break; - } - *p = '\0'; - } - else - { - char *errstr = strerror (errno); - lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr); - } - } - XFREE (tmp_pathspec); - - if (!has_symlinks) - { - return xstrdup (pathspec); - } - - tmp_pathspec = realpath (pathspec, buf); - if (tmp_pathspec == 0) - { - lt_fatal ("Could not follow symlinks for %s", pathspec); - } - return xstrdup (tmp_pathspec); -#endif -} - -char * -strendzap (char *str, const char *pat) -{ - size_t len, patlen; - - assert (str != NULL); - assert (pat != NULL); - - len = strlen (str); - patlen = strlen (pat); - - if (patlen <= len) - { - str += len - patlen; - if (strcmp (str, pat) == 0) - *str = '\0'; - } - return str; -} - -static void -lt_error_core (int exit_status, const char *mode, - const char *message, va_list ap) -{ - fprintf (stderr, "%s: %s: ", program_name, mode); - vfprintf (stderr, message, ap); - fprintf (stderr, ".\n"); - - if (exit_status >= 0) - exit (exit_status); -} - -void -lt_fatal (const char *message, ...) -{ - va_list ap; - va_start (ap, message); - lt_error_core (EXIT_FAILURE, "FATAL", message, ap); - va_end (ap); -} - -void -lt_setenv (const char *name, const char *value) -{ - LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n", - (name ? name : ""), - (value ? value : ""))); - { -#ifdef HAVE_SETENV - /* always make a copy, for consistency with !HAVE_SETENV */ - char *str = xstrdup (value); - setenv (name, str, 1); -#else - int len = strlen (name) + 1 + strlen (value) + 1; - char *str = XMALLOC (char, len); - sprintf (str, "%s=%s", name, value); - if (putenv (str) != EXIT_SUCCESS) - { - XFREE (str); - } -#endif - } -} - -char * -lt_extend_str (const char *orig_value, const char *add, int to_end) -{ - char *new_value; - if (orig_value && *orig_value) - { - int orig_value_len = strlen (orig_value); - int add_len = strlen (add); - new_value = XMALLOC (char, add_len + orig_value_len + 1); - if (to_end) - { - strcpy (new_value, orig_value); - strcpy (new_value + orig_value_len, add); - } - else - { - strcpy (new_value, add); - strcpy (new_value + add_len, orig_value); - } - } - else - { - new_value = xstrdup (add); - } - return new_value; -} - -int -lt_split_name_value (const char *arg, char** name, char** value) -{ - const char *p; - int len; - if (!arg || !*arg) - return 1; - - p = strchr (arg, (int)'='); - - if (!p) - return 1; - - *value = xstrdup (++p); - - len = strlen (arg) - strlen (*value); - *name = XMALLOC (char, len); - strncpy (*name, arg, len-1); - (*name)[len - 1] = '\0'; - - return 0; -} - -void -lt_opt_process_env_set (const char *arg) -{ - char *name = NULL; - char *value = NULL; - - if (lt_split_name_value (arg, &name, &value) != 0) - { - XFREE (name); - XFREE (value); - lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg); - } - - lt_setenv (name, value); - XFREE (name); - XFREE (value); -} - -void -lt_opt_process_env_prepend (const char *arg) -{ - char *name = NULL; - char *value = NULL; - char *new_value = NULL; - - if (lt_split_name_value (arg, &name, &value) != 0) - { - XFREE (name); - XFREE (value); - lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg); - } - - new_value = lt_extend_str (getenv (name), value, 0); - lt_setenv (name, new_value); - XFREE (new_value); - XFREE (name); - XFREE (value); -} - -void -lt_opt_process_env_append (const char *arg) -{ - char *name = NULL; - char *value = NULL; - char *new_value = NULL; - - if (lt_split_name_value (arg, &name, &value) != 0) - { - XFREE (name); - XFREE (value); - lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg); - } - - new_value = lt_extend_str (getenv (name), value, 1); - lt_setenv (name, new_value); - XFREE (new_value); - XFREE (name); - XFREE (value); -} - -void -lt_update_exe_path (const char *name, const char *value) -{ - LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n", - (name ? name : ""), - (value ? value : ""))); - - if (name && *name && value && *value) - { - char *new_value = lt_extend_str (getenv (name), value, 0); - /* some systems can't cope with a ':'-terminated path #' */ - int len = strlen (new_value); - while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1])) - { - new_value[len-1] = '\0'; - } - lt_setenv (name, new_value); - XFREE (new_value); - } -} - -void -lt_update_lib_path (const char *name, const char *value) -{ - LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n", - (name ? name : ""), - (value ? value : ""))); - - if (name && *name && value && *value) - { - char *new_value = lt_extend_str (getenv (name), value, 0); - lt_setenv (name, new_value); - XFREE (new_value); - } -} - - -EOF -} -# end: func_emit_cwrapperexe_src - -# func_mode_link arg... -func_mode_link () -{ - $opt_debug - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) - # It is impossible to link a dll without this setting, and - # we shouldn't force the makefile maintainer to figure out - # which system we are compiling for in order to pass an extra - # flag for every libtool invocation. - # allow_undefined=no - - # FIXME: Unfortunately, there are problems with the above when trying - # to make a dll which has undefined symbols, in which case not - # even a static library is built. For now, we need to specify - # -no-undefined on the libtool link line when we can be certain - # that all symbols are satisfied, otherwise we get a static library. - allow_undefined=yes - ;; - *) - allow_undefined=yes - ;; - esac - libtool_args=$nonopt - base_compile="$nonopt $@" - compile_command=$nonopt - finalize_command=$nonopt - - compile_rpath= - finalize_rpath= - compile_shlibpath= - finalize_shlibpath= - convenience= - old_convenience= - deplibs= - old_deplibs= - compiler_flags= - linker_flags= - dllsearchpath= - lib_search_path=`pwd` - inst_prefix_dir= - new_inherited_linker_flags= - - avoid_version=no - dlfiles= - dlprefiles= - dlself=no - export_dynamic=no - export_symbols= - export_symbols_regex= - generated= - libobjs= - ltlibs= - module=no - no_install=no - objs= - non_pic_objects= - precious_files_regex= - prefer_static_libs=no - preload=no - prev= - prevarg= - release= - rpath= - xrpath= - perm_rpath= - temp_rpath= - thread_safe=no - vinfo= - vinfo_number=no - weak_libs= - single_module="${wl}-single_module" - func_infer_tag $base_compile - - # We need to know -static, to get the right output filenames. - for arg - do - case $arg in - -shared) - test "$build_libtool_libs" != yes && \ - func_fatal_configuration "can not build a shared library" - build_old_libs=no - break - ;; - -all-static | -static | -static-libtool-libs) - case $arg in - -all-static) - if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then - func_warning "complete static linking is impossible in this configuration" - fi - if test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=yes - ;; - -static) - if test -z "$pic_flag" && test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=built - ;; - -static-libtool-libs) - if test -z "$pic_flag" && test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=yes - ;; - esac - build_libtool_libs=no - build_old_libs=yes - break - ;; - esac - done - - # See if our shared archives depend on static archives. - test -n "$old_archive_from_new_cmds" && build_old_libs=yes - - # Go through the arguments, transforming them on the way. - while test "$#" -gt 0; do - arg="$1" - shift - func_quote_for_eval "$arg" - qarg=$func_quote_for_eval_unquoted_result - func_append libtool_args " $func_quote_for_eval_result" - - # If the previous option needs an argument, assign it. - if test -n "$prev"; then - case $prev in - output) - func_append compile_command " @OUTPUT@" - func_append finalize_command " @OUTPUT@" - ;; - esac - - case $prev in - dlfiles|dlprefiles) - if test "$preload" = no; then - # Add the symbol object into the linking commands. - func_append compile_command " @SYMFILE@" - func_append finalize_command " @SYMFILE@" - preload=yes - fi - case $arg in - *.la | *.lo) ;; # We handle these cases below. - force) - if test "$dlself" = no; then - dlself=needless - export_dynamic=yes - fi - prev= - continue - ;; - self) - if test "$prev" = dlprefiles; then - dlself=yes - elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then - dlself=yes - else - dlself=needless - export_dynamic=yes - fi - prev= - continue - ;; - *) - if test "$prev" = dlfiles; then - dlfiles="$dlfiles $arg" - else - dlprefiles="$dlprefiles $arg" - fi - prev= - continue - ;; - esac - ;; - expsyms) - export_symbols="$arg" - test -f "$arg" \ - || func_fatal_error "symbol file \`$arg' does not exist" - prev= - continue - ;; - expsyms_regex) - export_symbols_regex="$arg" - prev= - continue - ;; - framework) - case $host in - *-*-darwin*) - case "$deplibs " in - *" $qarg.ltframework "*) ;; - *) deplibs="$deplibs $qarg.ltframework" # this is fixed later - ;; - esac - ;; - esac - prev= - continue - ;; - inst_prefix) - inst_prefix_dir="$arg" - prev= - continue - ;; - objectlist) - if test -f "$arg"; then - save_arg=$arg - moreargs= - for fil in `cat "$save_arg"` - do -# moreargs="$moreargs $fil" - arg=$fil - # A libtool-controlled object. - - # Check to see that this really is a libtool object. - if func_lalib_unsafe_p "$arg"; then - pic_object= - non_pic_object= - - # Read the .lo file - func_source "$arg" - - if test -z "$pic_object" || - test -z "$non_pic_object" || - test "$pic_object" = none && - test "$non_pic_object" = none; then - func_fatal_error "cannot find name of object for \`$arg'" - fi - - # Extract subdirectory from the argument. - func_dirname "$arg" "/" "" - xdir="$func_dirname_result" - - if test "$pic_object" != none; then - # Prepend the subdirectory the object is found in. - pic_object="$xdir$pic_object" - - if test "$prev" = dlfiles; then - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then - dlfiles="$dlfiles $pic_object" - prev= - continue - else - # If libtool objects are unsupported, then we need to preload. - prev=dlprefiles - fi - fi - - # CHECK ME: I think I busted this. -Ossama - if test "$prev" = dlprefiles; then - # Preload the old-style object. - dlprefiles="$dlprefiles $pic_object" - prev= - fi - - # A PIC object. - func_append libobjs " $pic_object" - arg="$pic_object" - fi - - # Non-PIC object. - if test "$non_pic_object" != none; then - # Prepend the subdirectory the object is found in. - non_pic_object="$xdir$non_pic_object" - - # A standard non-PIC object - func_append non_pic_objects " $non_pic_object" - if test -z "$pic_object" || test "$pic_object" = none ; then - arg="$non_pic_object" - fi - else - # If the PIC object exists, use it instead. - # $xdir was prepended to $pic_object above. - non_pic_object="$pic_object" - func_append non_pic_objects " $non_pic_object" - fi - else - # Only an error if not doing a dry-run. - if $opt_dry_run; then - # Extract subdirectory from the argument. - func_dirname "$arg" "/" "" - xdir="$func_dirname_result" - - func_lo2o "$arg" - pic_object=$xdir$objdir/$func_lo2o_result - non_pic_object=$xdir$func_lo2o_result - func_append libobjs " $pic_object" - func_append non_pic_objects " $non_pic_object" - else - func_fatal_error "\`$arg' is not a valid libtool object" - fi - fi - done - else - func_fatal_error "link input file \`$arg' does not exist" - fi - arg=$save_arg - prev= - continue - ;; - precious_regex) - precious_files_regex="$arg" - prev= - continue - ;; - release) - release="-$arg" - prev= - continue - ;; - rpath | xrpath) - # We need an absolute path. - case $arg in - [\\/]* | [A-Za-z]:[\\/]*) ;; - *) - func_fatal_error "only absolute run-paths are allowed" - ;; - esac - if test "$prev" = rpath; then - case "$rpath " in - *" $arg "*) ;; - *) rpath="$rpath $arg" ;; - esac - else - case "$xrpath " in - *" $arg "*) ;; - *) xrpath="$xrpath $arg" ;; - esac - fi - prev= - continue - ;; - shrext) - shrext_cmds="$arg" - prev= - continue - ;; - weak) - weak_libs="$weak_libs $arg" - prev= - continue - ;; - xcclinker) - linker_flags="$linker_flags $qarg" - compiler_flags="$compiler_flags $qarg" - prev= - func_append compile_command " $qarg" - func_append finalize_command " $qarg" - continue - ;; - xcompiler) - compiler_flags="$compiler_flags $qarg" - prev= - func_append compile_command " $qarg" - func_append finalize_command " $qarg" - continue - ;; - xlinker) - linker_flags="$linker_flags $qarg" - compiler_flags="$compiler_flags $wl$qarg" - prev= - func_append compile_command " $wl$qarg" - func_append finalize_command " $wl$qarg" - continue - ;; - *) - eval "$prev=\"\$arg\"" - prev= - continue - ;; - esac - fi # test -n "$prev" - - prevarg="$arg" - - case $arg in - -all-static) - if test -n "$link_static_flag"; then - # See comment for -static flag below, for more details. - func_append compile_command " $link_static_flag" - func_append finalize_command " $link_static_flag" - fi - continue - ;; - - -allow-undefined) - # FIXME: remove this flag sometime in the future. - func_fatal_error "\`-allow-undefined' must not be used because it is the default" - ;; - - -avoid-version) - avoid_version=yes - continue - ;; - - -dlopen) - prev=dlfiles - continue - ;; - - -dlpreopen) - prev=dlprefiles - continue - ;; - - -export-dynamic) - export_dynamic=yes - continue - ;; - - -export-symbols | -export-symbols-regex) - if test -n "$export_symbols" || test -n "$export_symbols_regex"; then - func_fatal_error "more than one -exported-symbols argument is not allowed" - fi - if test "X$arg" = "X-export-symbols"; then - prev=expsyms - else - prev=expsyms_regex - fi - continue - ;; - - -framework) - prev=framework - continue - ;; - - -inst-prefix-dir) - prev=inst_prefix - continue - ;; - - # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* - # so, if we see these flags be careful not to treat them like -L - -L[A-Z][A-Z]*:*) - case $with_gcc/$host in - no/*-*-irix* | /*-*-irix*) - func_append compile_command " $arg" - func_append finalize_command " $arg" - ;; - esac - continue - ;; - - -L*) - func_stripname '-L' '' "$arg" - dir=$func_stripname_result - if test -z "$dir"; then - if test "$#" -gt 0; then - func_fatal_error "require no space between \`-L' and \`$1'" - else - func_fatal_error "need path for \`-L' option" - fi - fi - # We need an absolute path. - case $dir in - [\\/]* | [A-Za-z]:[\\/]*) ;; - *) - absdir=`cd "$dir" && pwd` - test -z "$absdir" && \ - func_fatal_error "cannot determine absolute directory name of \`$dir'" - dir="$absdir" - ;; - esac - case "$deplibs " in - *" -L$dir "*) ;; - *) - deplibs="$deplibs -L$dir" - lib_search_path="$lib_search_path $dir" - ;; - esac - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) - testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'` - case :$dllsearchpath: in - *":$dir:"*) ;; - ::) dllsearchpath=$dir;; - *) dllsearchpath="$dllsearchpath:$dir";; - esac - case :$dllsearchpath: in - *":$testbindir:"*) ;; - ::) dllsearchpath=$testbindir;; - *) dllsearchpath="$dllsearchpath:$testbindir";; - esac - ;; - esac - continue - ;; - - -l*) - if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*) - # These systems don't actually have a C or math library (as such) - continue - ;; - *-*-os2*) - # These systems don't actually have a C library (as such) - test "X$arg" = "X-lc" && continue - ;; - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) - # Do not include libc due to us having libc/libc_r. - test "X$arg" = "X-lc" && continue - ;; - *-*-rhapsody* | *-*-darwin1.[012]) - # Rhapsody C and math libraries are in the System framework - deplibs="$deplibs System.ltframework" - continue - ;; - *-*-sco3.2v5* | *-*-sco5v6*) - # Causes problems with __ctype - test "X$arg" = "X-lc" && continue - ;; - *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) - # Compiler inserts libc in the correct place for threads to work - test "X$arg" = "X-lc" && continue - ;; - esac - elif test "X$arg" = "X-lc_r"; then - case $host in - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) - # Do not include libc_r directly, use -pthread flag. - continue - ;; - esac - fi - deplibs="$deplibs $arg" - continue - ;; - - -module) - module=yes - continue - ;; - - # Tru64 UNIX uses -model [arg] to determine the layout of C++ - # classes, name mangling, and exception handling. - # Darwin uses the -arch flag to determine output architecture. - -model|-arch|-isysroot) - compiler_flags="$compiler_flags $arg" - func_append compile_command " $arg" - func_append finalize_command " $arg" - prev=xcompiler - continue - ;; - - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) - compiler_flags="$compiler_flags $arg" - func_append compile_command " $arg" - func_append finalize_command " $arg" - case "$new_inherited_linker_flags " in - *" $arg "*) ;; - * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;; - esac - continue - ;; - - -multi_module) - single_module="${wl}-multi_module" - continue - ;; - - -no-fast-install) - fast_install=no - continue - ;; - - -no-install) - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) - # The PATH hackery in wrapper scripts is required on Windows - # and Darwin in order for the loader to find any dlls it needs. - func_warning "\`-no-install' is ignored for $host" - func_warning "assuming \`-no-fast-install' instead" - fast_install=no - ;; - *) no_install=yes ;; - esac - continue - ;; - - -no-undefined) - allow_undefined=no - continue - ;; - - -objectlist) - prev=objectlist - continue - ;; - - -o) prev=output ;; - - -precious-files-regex) - prev=precious_regex - continue - ;; - - -release) - prev=release - continue - ;; - - -rpath) - prev=rpath - continue - ;; - - -R) - prev=xrpath - continue - ;; - - -R*) - func_stripname '-R' '' "$arg" - dir=$func_stripname_result - # We need an absolute path. - case $dir in - [\\/]* | [A-Za-z]:[\\/]*) ;; - *) - func_fatal_error "only absolute run-paths are allowed" - ;; - esac - case "$xrpath " in - *" $dir "*) ;; - *) xrpath="$xrpath $dir" ;; - esac - continue - ;; - - -shared) - # The effects of -shared are defined in a previous loop. - continue - ;; - - -shrext) - prev=shrext - continue - ;; - - -static | -static-libtool-libs) - # The effects of -static are defined in a previous loop. - # We used to do the same as -all-static on platforms that - # didn't have a PIC flag, but the assumption that the effects - # would be equivalent was wrong. It would break on at least - # Digital Unix and AIX. - continue - ;; - - -thread-safe) - thread_safe=yes - continue - ;; - - -version-info) - prev=vinfo - continue - ;; - - -version-number) - prev=vinfo - vinfo_number=yes - continue - ;; - - -weak) - prev=weak - continue - ;; - - -Wc,*) - func_stripname '-Wc,' '' "$arg" - args=$func_stripname_result - arg= - save_ifs="$IFS"; IFS=',' - for flag in $args; do - IFS="$save_ifs" - func_quote_for_eval "$flag" - arg="$arg $wl$func_quote_for_eval_result" - compiler_flags="$compiler_flags $func_quote_for_eval_result" - done - IFS="$save_ifs" - func_stripname ' ' '' "$arg" - arg=$func_stripname_result - ;; - - -Wl,*) - func_stripname '-Wl,' '' "$arg" - args=$func_stripname_result - arg= - save_ifs="$IFS"; IFS=',' - for flag in $args; do - IFS="$save_ifs" - func_quote_for_eval "$flag" - arg="$arg $wl$func_quote_for_eval_result" - compiler_flags="$compiler_flags $wl$func_quote_for_eval_result" - linker_flags="$linker_flags $func_quote_for_eval_result" - done - IFS="$save_ifs" - func_stripname ' ' '' "$arg" - arg=$func_stripname_result - ;; - - -Xcompiler) - prev=xcompiler - continue - ;; - - -Xlinker) - prev=xlinker - continue - ;; - - -XCClinker) - prev=xcclinker - continue - ;; - - # -msg_* for osf cc - -msg_*) - func_quote_for_eval "$arg" - arg="$func_quote_for_eval_result" - ;; - - # -64, -mips[0-9] enable 64-bit mode on the SGI compiler - # -r[0-9][0-9]* specifies the processor on the SGI compiler - # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler - # +DA*, +DD* enable 64-bit mode on the HP compiler - # -q* pass through compiler args for the IBM compiler - # -m*, -t[45]*, -txscale* pass through architecture-specific - # compiler args for GCC - # -F/path gives path to uninstalled frameworks, gcc on darwin - # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC - # @file GCC response files - -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) - func_quote_for_eval "$arg" - arg="$func_quote_for_eval_result" - func_append compile_command " $arg" - func_append finalize_command " $arg" - compiler_flags="$compiler_flags $arg" - continue - ;; - - # Some other compiler flag. - -* | +*) - func_quote_for_eval "$arg" - arg="$func_quote_for_eval_result" - ;; - - *.$objext) - # A standard object. - objs="$objs $arg" - ;; - - *.lo) - # A libtool-controlled object. - - # Check to see that this really is a libtool object. - if func_lalib_unsafe_p "$arg"; then - pic_object= - non_pic_object= - - # Read the .lo file - func_source "$arg" - - if test -z "$pic_object" || - test -z "$non_pic_object" || - test "$pic_object" = none && - test "$non_pic_object" = none; then - func_fatal_error "cannot find name of object for \`$arg'" - fi - - # Extract subdirectory from the argument. - func_dirname "$arg" "/" "" - xdir="$func_dirname_result" - - if test "$pic_object" != none; then - # Prepend the subdirectory the object is found in. - pic_object="$xdir$pic_object" - - if test "$prev" = dlfiles; then - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then - dlfiles="$dlfiles $pic_object" - prev= - continue - else - # If libtool objects are unsupported, then we need to preload. - prev=dlprefiles - fi - fi - - # CHECK ME: I think I busted this. -Ossama - if test "$prev" = dlprefiles; then - # Preload the old-style object. - dlprefiles="$dlprefiles $pic_object" - prev= - fi - - # A PIC object. - func_append libobjs " $pic_object" - arg="$pic_object" - fi - - # Non-PIC object. - if test "$non_pic_object" != none; then - # Prepend the subdirectory the object is found in. - non_pic_object="$xdir$non_pic_object" - - # A standard non-PIC object - func_append non_pic_objects " $non_pic_object" - if test -z "$pic_object" || test "$pic_object" = none ; then - arg="$non_pic_object" - fi - else - # If the PIC object exists, use it instead. - # $xdir was prepended to $pic_object above. - non_pic_object="$pic_object" - func_append non_pic_objects " $non_pic_object" - fi - else - # Only an error if not doing a dry-run. - if $opt_dry_run; then - # Extract subdirectory from the argument. - func_dirname "$arg" "/" "" - xdir="$func_dirname_result" - - func_lo2o "$arg" - pic_object=$xdir$objdir/$func_lo2o_result - non_pic_object=$xdir$func_lo2o_result - func_append libobjs " $pic_object" - func_append non_pic_objects " $non_pic_object" - else - func_fatal_error "\`$arg' is not a valid libtool object" - fi - fi - ;; - - *.$libext) - # An archive. - deplibs="$deplibs $arg" - old_deplibs="$old_deplibs $arg" - continue - ;; - - *.la) - # A libtool-controlled library. - - if test "$prev" = dlfiles; then - # This library was specified with -dlopen. - dlfiles="$dlfiles $arg" - prev= - elif test "$prev" = dlprefiles; then - # The library was specified with -dlpreopen. - dlprefiles="$dlprefiles $arg" - prev= - else - deplibs="$deplibs $arg" - fi - continue - ;; - - # Some other compiler argument. - *) - # Unknown arguments in both finalize_command and compile_command need - # to be aesthetically quoted because they are evaled later. - func_quote_for_eval "$arg" - arg="$func_quote_for_eval_result" - ;; - esac # arg - - # Now actually substitute the argument into the commands. - if test -n "$arg"; then - func_append compile_command " $arg" - func_append finalize_command " $arg" - fi - done # argument parsing loop - - test -n "$prev" && \ - func_fatal_help "the \`$prevarg' option requires an argument" - - if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then - eval arg=\"$export_dynamic_flag_spec\" - func_append compile_command " $arg" - func_append finalize_command " $arg" - fi - - oldlibs= - # calculate the name of the file, without its directory - func_basename "$output" - outputname="$func_basename_result" - libobjs_save="$libobjs" - - if test -n "$shlibpath_var"; then - # get the directories listed in $shlibpath_var - eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` - else - shlib_search_path= - fi - eval sys_lib_search_path=\"$sys_lib_search_path_spec\" - eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" - - func_dirname "$output" "/" "" - output_objdir="$func_dirname_result$objdir" - # Create the object directory. - func_mkdir_p "$output_objdir" - - # Determine the type of output - case $output in - "") - func_fatal_help "you must specify an output file" - ;; - *.$libext) linkmode=oldlib ;; - *.lo | *.$objext) linkmode=obj ;; - *.la) linkmode=lib ;; - *) linkmode=prog ;; # Anything else should be a program. - esac - - specialdeplibs= - - libs= - # Find all interdependent deplibs by searching for libraries - # that are linked more than once (e.g. -la -lb -la) - for deplib in $deplibs; do - if $opt_duplicate_deps ; then - case "$libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac - fi - libs="$libs $deplib" - done - - if test "$linkmode" = lib; then - libs="$predeps $libs $compiler_lib_search_path $postdeps" - - # Compute libraries that are listed more than once in $predeps - # $postdeps and mark them as special (i.e., whose duplicates are - # not to be eliminated). - pre_post_deps= - if $opt_duplicate_compiler_generated_deps; then - for pre_post_dep in $predeps $postdeps; do - case "$pre_post_deps " in - *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; - esac - pre_post_deps="$pre_post_deps $pre_post_dep" - done - fi - pre_post_deps= - fi - - deplibs= - newdependency_libs= - newlib_search_path= - need_relink=no # whether we're linking any uninstalled libtool libraries - notinst_deplibs= # not-installed libtool libraries - notinst_path= # paths that contain not-installed libtool libraries - - case $linkmode in - lib) - passes="conv dlpreopen link" - for file in $dlfiles $dlprefiles; do - case $file in - *.la) ;; - *) - func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file" - ;; - esac - done - ;; - prog) - compile_deplibs= - finalize_deplibs= - alldeplibs=no - newdlfiles= - newdlprefiles= - passes="conv scan dlopen dlpreopen link" - ;; - *) passes="conv" - ;; - esac - - for pass in $passes; do - # The preopen pass in lib mode reverses $deplibs; put it back here - # so that -L comes before libs that need it for instance... - if test "$linkmode,$pass" = "lib,link"; then - ## FIXME: Find the place where the list is rebuilt in the wrong - ## order, and fix it there properly - tmp_deplibs= - for deplib in $deplibs; do - tmp_deplibs="$deplib $tmp_deplibs" - done - deplibs="$tmp_deplibs" - fi - - if test "$linkmode,$pass" = "lib,link" || - test "$linkmode,$pass" = "prog,scan"; then - libs="$deplibs" - deplibs= - fi - if test "$linkmode" = prog; then - case $pass in - dlopen) libs="$dlfiles" ;; - dlpreopen) libs="$dlprefiles" ;; - link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; - esac - fi - if test "$linkmode,$pass" = "lib,dlpreopen"; then - # Collect and forward deplibs of preopened libtool libs - for lib in $dlprefiles; do - # Ignore non-libtool-libs - dependency_libs= - case $lib in - *.la) func_source "$lib" ;; - esac - - # Collect preopened libtool deplibs, except any this library - # has declared as weak libs - for deplib in $dependency_libs; do - deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"` - case " $weak_libs " in - *" $deplib_base "*) ;; - *) deplibs="$deplibs $deplib" ;; - esac - done - done - libs="$dlprefiles" - fi - if test "$pass" = dlopen; then - # Collect dlpreopened libraries - save_deplibs="$deplibs" - deplibs= - fi - - for deplib in $libs; do - lib= - found=no - case $deplib in - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) - if test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - compiler_flags="$compiler_flags $deplib" - if test "$linkmode" = lib ; then - case "$new_inherited_linker_flags " in - *" $deplib "*) ;; - * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;; - esac - fi - fi - continue - ;; - -l*) - if test "$linkmode" != lib && test "$linkmode" != prog; then - func_warning "\`-l' is ignored for archives/objects" - continue - fi - func_stripname '-l' '' "$deplib" - name=$func_stripname_result - if test "$linkmode" = lib; then - searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" - else - searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" - fi - for searchdir in $searchdirs; do - for search_ext in .la $std_shrext .so .a; do - # Search the libtool library - lib="$searchdir/lib${name}${search_ext}" - if test -f "$lib"; then - if test "$search_ext" = ".la"; then - found=yes - else - found=no - fi - break 2 - fi - done - done - if test "$found" != yes; then - # deplib doesn't seem to be a libtool library - if test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - deplibs="$deplib $deplibs" - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" - fi - continue - else # deplib is a libtool library - # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, - # We need to do some special things here, and not later. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then - case " $predeps $postdeps " in - *" $deplib "*) - if func_lalib_p "$lib"; then - library_names= - old_library= - func_source "$lib" - for l in $old_library $library_names; do - ll="$l" - done - if test "X$ll" = "X$old_library" ; then # only static version available - found=no - func_dirname "$lib" "" "." - ladir="$func_dirname_result" - lib=$ladir/$old_library - if test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - deplibs="$deplib $deplibs" - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" - fi - continue - fi - fi - ;; - *) ;; - esac - fi - fi - ;; # -l - *.ltframework) - if test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - deplibs="$deplib $deplibs" - if test "$linkmode" = lib ; then - case "$new_inherited_linker_flags " in - *" $deplib "*) ;; - * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;; - esac - fi - fi - continue - ;; - -L*) - case $linkmode in - lib) - deplibs="$deplib $deplibs" - test "$pass" = conv && continue - newdependency_libs="$deplib $newdependency_libs" - func_stripname '-L' '' "$deplib" - newlib_search_path="$newlib_search_path $func_stripname_result" - ;; - prog) - if test "$pass" = conv; then - deplibs="$deplib $deplibs" - continue - fi - if test "$pass" = scan; then - deplibs="$deplib $deplibs" - else - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - fi - func_stripname '-L' '' "$deplib" - newlib_search_path="$newlib_search_path $func_stripname_result" - ;; - *) - func_warning "\`-L' is ignored for archives/objects" - ;; - esac # linkmode - continue - ;; # -L - -R*) - if test "$pass" = link; then - func_stripname '-R' '' "$deplib" - dir=$func_stripname_result - # Make sure the xrpath contains only unique directories. - case "$xrpath " in - *" $dir "*) ;; - *) xrpath="$xrpath $dir" ;; - esac - fi - deplibs="$deplib $deplibs" - continue - ;; - *.la) lib="$deplib" ;; - *.$libext) - if test "$pass" = conv; then - deplibs="$deplib $deplibs" - continue - fi - case $linkmode in - lib) - # Linking convenience modules into shared libraries is allowed, - # but linking other static libraries is non-portable. - case " $dlpreconveniencelibs " in - *" $deplib "*) ;; - *) - valid_a_lib=no - case $deplibs_check_method in - match_pattern*) - set dummy $deplibs_check_method; shift - match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` - if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \ - | $EGREP "$match_pattern_regex" > /dev/null; then - valid_a_lib=yes - fi - ;; - pass_all) - valid_a_lib=yes - ;; - esac - if test "$valid_a_lib" != yes; then - $ECHO - $ECHO "*** Warning: Trying to link with static lib archive $deplib." - $ECHO "*** I have the capability to make that library automatically link in when" - $ECHO "*** you link to this library. But I can only do this if you have a" - $ECHO "*** shared version of the library, which you do not appear to have" - $ECHO "*** because the file extensions .$libext of this argument makes me believe" - $ECHO "*** that it is just a static archive that I should not use here." - else - $ECHO - $ECHO "*** Warning: Linking the shared library $output against the" - $ECHO "*** static library $deplib is not portable!" - deplibs="$deplib $deplibs" - fi - ;; - esac - continue - ;; - prog) - if test "$pass" != link; then - deplibs="$deplib $deplibs" - else - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - fi - continue - ;; - esac # linkmode - ;; # *.$libext - *.lo | *.$objext) - if test "$pass" = conv; then - deplibs="$deplib $deplibs" - elif test "$linkmode" = prog; then - if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then - # If there is no dlopen support or we're linking statically, - # we need to preload. - newdlprefiles="$newdlprefiles $deplib" - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - newdlfiles="$newdlfiles $deplib" - fi - fi - continue - ;; - %DEPLIBS%) - alldeplibs=yes - continue - ;; - esac # case $deplib - - if test "$found" = yes || test -f "$lib"; then : - else - func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'" - fi - - # Check to see that this really is a libtool archive. - func_lalib_unsafe_p "$lib" \ - || func_fatal_error "\`$lib' is not a valid libtool archive" - - func_dirname "$lib" "" "." - ladir="$func_dirname_result" - - dlname= - dlopen= - dlpreopen= - libdir= - library_names= - old_library= - inherited_linker_flags= - # If the library was installed with an old release of libtool, - # it will not redefine variables installed, or shouldnotlink - installed=yes - shouldnotlink=no - avoidtemprpath= - - - # Read the .la file - func_source "$lib" - - # Convert "-framework foo" to "foo.ltframework" - if test -n "$inherited_linker_flags"; then - tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'` - for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do - case " $new_inherited_linker_flags " in - *" $tmp_inherited_linker_flag "*) ;; - *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";; - esac - done - fi - dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - if test "$linkmode,$pass" = "lib,link" || - test "$linkmode,$pass" = "prog,scan" || - { test "$linkmode" != prog && test "$linkmode" != lib; }; then - test -n "$dlopen" && dlfiles="$dlfiles $dlopen" - test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" - fi - - if test "$pass" = conv; then - # Only check for convenience libraries - deplibs="$lib $deplibs" - if test -z "$libdir"; then - if test -z "$old_library"; then - func_fatal_error "cannot find name of link library for \`$lib'" - fi - # It is a libtool convenience library, so add in its objects. - convenience="$convenience $ladir/$objdir/$old_library" - old_convenience="$old_convenience $ladir/$objdir/$old_library" - elif test "$linkmode" != prog && test "$linkmode" != lib; then - func_fatal_error "\`$lib' is not a convenience library" - fi - tmp_libs= - for deplib in $dependency_libs; do - deplibs="$deplib $deplibs" - if $opt_duplicate_deps ; then - case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac - fi - tmp_libs="$tmp_libs $deplib" - done - continue - fi # $pass = conv - - - # Get the name of the library we link against. - linklib= - for l in $old_library $library_names; do - linklib="$l" - done - if test -z "$linklib"; then - func_fatal_error "cannot find name of link library for \`$lib'" - fi - - # This library was specified with -dlopen. - if test "$pass" = dlopen; then - if test -z "$libdir"; then - func_fatal_error "cannot -dlopen a convenience library: \`$lib'" - fi - if test -z "$dlname" || - test "$dlopen_support" != yes || - test "$build_libtool_libs" = no; then - # If there is no dlname, no dlopen support or we're linking - # statically, we need to preload. We also need to preload any - # dependent libraries so libltdl's deplib preloader doesn't - # bomb out in the load deplibs phase. - dlprefiles="$dlprefiles $lib $dependency_libs" - else - newdlfiles="$newdlfiles $lib" - fi - continue - fi # $pass = dlopen - - # We need an absolute path. - case $ladir in - [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; - *) - abs_ladir=`cd "$ladir" && pwd` - if test -z "$abs_ladir"; then - func_warning "cannot determine absolute directory name of \`$ladir'" - func_warning "passing it literally to the linker, although it might fail" - abs_ladir="$ladir" - fi - ;; - esac - func_basename "$lib" - laname="$func_basename_result" - - # Find the relevant object directory and library name. - if test "X$installed" = Xyes; then - if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then - func_warning "library \`$lib' was moved." - dir="$ladir" - absdir="$abs_ladir" - libdir="$abs_ladir" - else - dir="$libdir" - absdir="$libdir" - fi - test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes - else - if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then - dir="$ladir" - absdir="$abs_ladir" - # Remove this search path later - notinst_path="$notinst_path $abs_ladir" - else - dir="$ladir/$objdir" - absdir="$abs_ladir/$objdir" - # Remove this search path later - notinst_path="$notinst_path $abs_ladir" - fi - fi # $installed = yes - func_stripname 'lib' '.la' "$laname" - name=$func_stripname_result - - # This library was specified with -dlpreopen. - if test "$pass" = dlpreopen; then - if test -z "$libdir" && test "$linkmode" = prog; then - func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'" - fi - # Prefer using a static library (so that no silly _DYNAMIC symbols - # are required to link). - if test -n "$old_library"; then - newdlprefiles="$newdlprefiles $dir/$old_library" - # Keep a list of preopened convenience libraries to check - # that they are being used correctly in the link pass. - test -z "$libdir" && \ - dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library" - # Otherwise, use the dlname, so that lt_dlopen finds it. - elif test -n "$dlname"; then - newdlprefiles="$newdlprefiles $dir/$dlname" - else - newdlprefiles="$newdlprefiles $dir/$linklib" - fi - fi # $pass = dlpreopen - - if test -z "$libdir"; then - # Link the convenience library - if test "$linkmode" = lib; then - deplibs="$dir/$old_library $deplibs" - elif test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$dir/$old_library $compile_deplibs" - finalize_deplibs="$dir/$old_library $finalize_deplibs" - else - deplibs="$lib $deplibs" # used for prog,scan pass - fi - continue - fi - - - if test "$linkmode" = prog && test "$pass" != link; then - newlib_search_path="$newlib_search_path $ladir" - deplibs="$lib $deplibs" - - linkalldeplibs=no - if test "$link_all_deplibs" != no || test -z "$library_names" || - test "$build_libtool_libs" = no; then - linkalldeplibs=yes - fi - - tmp_libs= - for deplib in $dependency_libs; do - case $deplib in - -L*) func_stripname '-L' '' "$deplib" - newlib_search_path="$newlib_search_path $func_stripname_result" - ;; - esac - # Need to link against all dependency_libs? - if test "$linkalldeplibs" = yes; then - deplibs="$deplib $deplibs" - else - # Need to hardcode shared library paths - # or/and link against static libraries - newdependency_libs="$deplib $newdependency_libs" - fi - if $opt_duplicate_deps ; then - case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac - fi - tmp_libs="$tmp_libs $deplib" - done # for deplib - continue - fi # $linkmode = prog... - - if test "$linkmode,$pass" = "prog,link"; then - if test -n "$library_names" && - { { test "$prefer_static_libs" = no || - test "$prefer_static_libs,$installed" = "built,yes"; } || - test -z "$old_library"; }; then - # We need to hardcode the library path - if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then - # Make sure the rpath contains only unique directories. - case "$temp_rpath:" in - *"$absdir:"*) ;; - *) temp_rpath="$temp_rpath$absdir:" ;; - esac - fi - - # Hardcode the library path. - # Skip directories that are in the system default run-time - # search path. - case " $sys_lib_dlsearch_path " in - *" $absdir "*) ;; - *) - case "$compile_rpath " in - *" $absdir "*) ;; - *) compile_rpath="$compile_rpath $absdir" - esac - ;; - esac - case " $sys_lib_dlsearch_path " in - *" $libdir "*) ;; - *) - case "$finalize_rpath " in - *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" - esac - ;; - esac - fi # $linkmode,$pass = prog,link... - - if test "$alldeplibs" = yes && - { test "$deplibs_check_method" = pass_all || - { test "$build_libtool_libs" = yes && - test -n "$library_names"; }; }; then - # We only need to search for static libraries - continue - fi - fi - - link_static=no # Whether the deplib will be linked statically - use_static_libs=$prefer_static_libs - if test "$use_static_libs" = built && test "$installed" = yes; then - use_static_libs=no - fi - if test -n "$library_names" && - { test "$use_static_libs" = no || test -z "$old_library"; }; then - case $host in - *cygwin* | *mingw* | *cegcc*) - # No point in relinking DLLs because paths are not encoded - notinst_deplibs="$notinst_deplibs $lib" - need_relink=no - ;; - *) - if test "$installed" = no; then - notinst_deplibs="$notinst_deplibs $lib" - need_relink=yes - fi - ;; - esac - # This is a shared library - - # Warn about portability, can't link against -module's on some - # systems (darwin). Don't bleat about dlopened modules though! - dlopenmodule="" - for dlpremoduletest in $dlprefiles; do - if test "X$dlpremoduletest" = "X$lib"; then - dlopenmodule="$dlpremoduletest" - break - fi - done - if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then - $ECHO - if test "$linkmode" = prog; then - $ECHO "*** Warning: Linking the executable $output against the loadable module" - else - $ECHO "*** Warning: Linking the shared library $output against the loadable module" - fi - $ECHO "*** $linklib is not portable!" - fi - if test "$linkmode" = lib && - test "$hardcode_into_libs" = yes; then - # Hardcode the library path. - # Skip directories that are in the system default run-time - # search path. - case " $sys_lib_dlsearch_path " in - *" $absdir "*) ;; - *) - case "$compile_rpath " in - *" $absdir "*) ;; - *) compile_rpath="$compile_rpath $absdir" - esac - ;; - esac - case " $sys_lib_dlsearch_path " in - *" $libdir "*) ;; - *) - case "$finalize_rpath " in - *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" - esac - ;; - esac - fi - - if test -n "$old_archive_from_expsyms_cmds"; then - # figure out the soname - set dummy $library_names - shift - realname="$1" - shift - libname=`eval "\\$ECHO \"$libname_spec\""` - # use dlname if we got it. it's perfectly good, no? - if test -n "$dlname"; then - soname="$dlname" - elif test -n "$soname_spec"; then - # bleh windows - case $host in - *cygwin* | mingw* | *cegcc*) - func_arith $current - $age - major=$func_arith_result - versuffix="-$major" - ;; - esac - eval soname=\"$soname_spec\" - else - soname="$realname" - fi - - # Make a new name for the extract_expsyms_cmds to use - soroot="$soname" - func_basename "$soroot" - soname="$func_basename_result" - func_stripname 'lib' '.dll' "$soname" - newlib=libimp-$func_stripname_result.a - - # If the library has no export list, then create one now - if test -f "$output_objdir/$soname-def"; then : - else - func_verbose "extracting exported symbol list from \`$soname'" - func_execute_cmds "$extract_expsyms_cmds" 'exit $?' - fi - - # Create $newlib - if test -f "$output_objdir/$newlib"; then :; else - func_verbose "generating import library for \`$soname'" - func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' - fi - # make sure the library variables are pointing to the new library - dir=$output_objdir - linklib=$newlib - fi # test -n "$old_archive_from_expsyms_cmds" - - if test "$linkmode" = prog || test "$mode" != relink; then - add_shlibpath= - add_dir= - add= - lib_linked=yes - case $hardcode_action in - immediate | unsupported) - if test "$hardcode_direct" = no; then - add="$dir/$linklib" - case $host in - *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; - *-*-sysv4*uw2*) add_dir="-L$dir" ;; - *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ - *-*-unixware7*) add_dir="-L$dir" ;; - *-*-darwin* ) - # if the lib is a (non-dlopened) module then we can not - # link against it, someone is ignoring the earlier warnings - if /usr/bin/file -L $add 2> /dev/null | - $GREP ": [^:]* bundle" >/dev/null ; then - if test "X$dlopenmodule" != "X$lib"; then - $ECHO "*** Warning: lib $linklib is a module, not a shared library" - if test -z "$old_library" ; then - $ECHO - $ECHO "*** And there doesn't seem to be a static archive available" - $ECHO "*** The link will probably fail, sorry" - else - add="$dir/$old_library" - fi - elif test -n "$old_library"; then - add="$dir/$old_library" - fi - fi - esac - elif test "$hardcode_minus_L" = no; then - case $host in - *-*-sunos*) add_shlibpath="$dir" ;; - esac - add_dir="-L$dir" - add="-l$name" - elif test "$hardcode_shlibpath_var" = no; then - add_shlibpath="$dir" - add="-l$name" - else - lib_linked=no - fi - ;; - relink) - if test "$hardcode_direct" = yes && - test "$hardcode_direct_absolute" = no; then - add="$dir/$linklib" - elif test "$hardcode_minus_L" = yes; then - add_dir="-L$dir" - # Try looking first in the location we're being installed to. - if test -n "$inst_prefix_dir"; then - case $libdir in - [\\/]*) - add_dir="$add_dir -L$inst_prefix_dir$libdir" - ;; - esac - fi - add="-l$name" - elif test "$hardcode_shlibpath_var" = yes; then - add_shlibpath="$dir" - add="-l$name" - else - lib_linked=no - fi - ;; - *) lib_linked=no ;; - esac - - if test "$lib_linked" != yes; then - func_fatal_configuration "unsupported hardcode properties" - fi - - if test -n "$add_shlibpath"; then - case :$compile_shlibpath: in - *":$add_shlibpath:"*) ;; - *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; - esac - fi - if test "$linkmode" = prog; then - test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" - test -n "$add" && compile_deplibs="$add $compile_deplibs" - else - test -n "$add_dir" && deplibs="$add_dir $deplibs" - test -n "$add" && deplibs="$add $deplibs" - if test "$hardcode_direct" != yes && - test "$hardcode_minus_L" != yes && - test "$hardcode_shlibpath_var" = yes; then - case :$finalize_shlibpath: in - *":$libdir:"*) ;; - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; - esac - fi - fi - fi - - if test "$linkmode" = prog || test "$mode" = relink; then - add_shlibpath= - add_dir= - add= - # Finalize command for both is simple: just hardcode it. - if test "$hardcode_direct" = yes && - test "$hardcode_direct_absolute" = no; then - add="$libdir/$linklib" - elif test "$hardcode_minus_L" = yes; then - add_dir="-L$libdir" - add="-l$name" - elif test "$hardcode_shlibpath_var" = yes; then - case :$finalize_shlibpath: in - *":$libdir:"*) ;; - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; - esac - add="-l$name" - elif test "$hardcode_automatic" = yes; then - if test -n "$inst_prefix_dir" && - test -f "$inst_prefix_dir$libdir/$linklib" ; then - add="$inst_prefix_dir$libdir/$linklib" - else - add="$libdir/$linklib" - fi - else - # We cannot seem to hardcode it, guess we'll fake it. - add_dir="-L$libdir" - # Try looking first in the location we're being installed to. - if test -n "$inst_prefix_dir"; then - case $libdir in - [\\/]*) - add_dir="$add_dir -L$inst_prefix_dir$libdir" - ;; - esac - fi - add="-l$name" - fi - - if test "$linkmode" = prog; then - test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" - test -n "$add" && finalize_deplibs="$add $finalize_deplibs" - else - test -n "$add_dir" && deplibs="$add_dir $deplibs" - test -n "$add" && deplibs="$add $deplibs" - fi - fi - elif test "$linkmode" = prog; then - # Here we assume that one of hardcode_direct or hardcode_minus_L - # is not unsupported. This is valid on all known static and - # shared platforms. - if test "$hardcode_direct" != unsupported; then - test -n "$old_library" && linklib="$old_library" - compile_deplibs="$dir/$linklib $compile_deplibs" - finalize_deplibs="$dir/$linklib $finalize_deplibs" - else - compile_deplibs="-l$name -L$dir $compile_deplibs" - finalize_deplibs="-l$name -L$dir $finalize_deplibs" - fi - elif test "$build_libtool_libs" = yes; then - # Not a shared library - if test "$deplibs_check_method" != pass_all; then - # We're trying link a shared library against a static one - # but the system doesn't support it. - - # Just print a warning and add the library to dependency_libs so - # that the program can be linked against the static library. - $ECHO - $ECHO "*** Warning: This system can not link to static lib archive $lib." - $ECHO "*** I have the capability to make that library automatically link in when" - $ECHO "*** you link to this library. But I can only do this if you have a" - $ECHO "*** shared version of the library, which you do not appear to have." - if test "$module" = yes; then - $ECHO "*** But as you try to build a module library, libtool will still create " - $ECHO "*** a static module, that should work as long as the dlopening application" - $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime." - if test -z "$global_symbol_pipe"; then - $ECHO - $ECHO "*** However, this would only work if libtool was able to extract symbol" - $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could" - $ECHO "*** not find such a program. So, this module is probably useless." - $ECHO "*** \`nm' from GNU binutils and a full rebuild may help." - fi - if test "$build_old_libs" = no; then - build_libtool_libs=module - build_old_libs=yes - else - build_libtool_libs=no - fi - fi - else - deplibs="$dir/$old_library $deplibs" - link_static=yes - fi - fi # link shared/static library? - - if test "$linkmode" = lib; then - if test -n "$dependency_libs" && - { test "$hardcode_into_libs" != yes || - test "$build_old_libs" = yes || - test "$link_static" = yes; }; then - # Extract -R from dependency_libs - temp_deplibs= - for libdir in $dependency_libs; do - case $libdir in - -R*) func_stripname '-R' '' "$libdir" - temp_xrpath=$func_stripname_result - case " $xrpath " in - *" $temp_xrpath "*) ;; - *) xrpath="$xrpath $temp_xrpath";; - esac;; - *) temp_deplibs="$temp_deplibs $libdir";; - esac - done - dependency_libs="$temp_deplibs" - fi - - newlib_search_path="$newlib_search_path $absdir" - # Link against this library - test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" - # ... and its dependency_libs - tmp_libs= - for deplib in $dependency_libs; do - newdependency_libs="$deplib $newdependency_libs" - if $opt_duplicate_deps ; then - case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac - fi - tmp_libs="$tmp_libs $deplib" - done - - if test "$link_all_deplibs" != no; then - # Add the search paths of all dependency libraries - for deplib in $dependency_libs; do - case $deplib in - -L*) path="$deplib" ;; - *.la) - func_dirname "$deplib" "" "." - dir="$func_dirname_result" - # We need an absolute path. - case $dir in - [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; - *) - absdir=`cd "$dir" && pwd` - if test -z "$absdir"; then - func_warning "cannot determine absolute directory name of \`$dir'" - absdir="$dir" - fi - ;; - esac - if $GREP "^installed=no" $deplib > /dev/null; then - case $host in - *-*-darwin*) - depdepl= - eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` - if test -n "$deplibrary_names" ; then - for tmp in $deplibrary_names ; do - depdepl=$tmp - done - if test -f "$absdir/$objdir/$depdepl" ; then - depdepl="$absdir/$objdir/$depdepl" - darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` - if test -z "$darwin_install_name"; then - darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` - fi - compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}" - linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}" - path= - fi - fi - ;; - *) - path="-L$absdir/$objdir" - ;; - esac - else - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` - test -z "$libdir" && \ - func_fatal_error "\`$deplib' is not a valid libtool archive" - test "$absdir" != "$libdir" && \ - func_warning "\`$deplib' seems to be moved" - - path="-L$absdir" - fi - ;; - esac - case " $deplibs " in - *" $path "*) ;; - *) deplibs="$path $deplibs" ;; - esac - done - fi # link_all_deplibs != no - fi # linkmode = lib - done # for deplib in $libs - if test "$pass" = link; then - if test "$linkmode" = "prog"; then - compile_deplibs="$new_inherited_linker_flags $compile_deplibs" - finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" - else - compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - fi - fi - dependency_libs="$newdependency_libs" - if test "$pass" = dlpreopen; then - # Link the dlpreopened libraries before other libraries - for deplib in $save_deplibs; do - deplibs="$deplib $deplibs" - done - fi - if test "$pass" != dlopen; then - if test "$pass" != conv; then - # Make sure lib_search_path contains only unique directories. - lib_search_path= - for dir in $newlib_search_path; do - case "$lib_search_path " in - *" $dir "*) ;; - *) lib_search_path="$lib_search_path $dir" ;; - esac - done - newlib_search_path= - fi - - if test "$linkmode,$pass" != "prog,link"; then - vars="deplibs" - else - vars="compile_deplibs finalize_deplibs" - fi - for var in $vars dependency_libs; do - # Add libraries to $var in reverse order - eval tmp_libs=\"\$$var\" - new_libs= - for deplib in $tmp_libs; do - # FIXME: Pedantically, this is the right thing to do, so - # that some nasty dependency loop isn't accidentally - # broken: - #new_libs="$deplib $new_libs" - # Pragmatically, this seems to cause very few problems in - # practice: - case $deplib in - -L*) new_libs="$deplib $new_libs" ;; - -R*) ;; - *) - # And here is the reason: when a library appears more - # than once as an explicit dependence of a library, or - # is implicitly linked in more than once by the - # compiler, it is considered special, and multiple - # occurrences thereof are not removed. Compare this - # with having the same library being listed as a - # dependency of multiple other libraries: in this case, - # we know (pedantically, we assume) the library does not - # need to be listed more than once, so we keep only the - # last copy. This is not always right, but it is rare - # enough that we require users that really mean to play - # such unportable linking tricks to link the library - # using -Wl,-lname, so that libtool does not consider it - # for duplicate removal. - case " $specialdeplibs " in - *" $deplib "*) new_libs="$deplib $new_libs" ;; - *) - case " $new_libs " in - *" $deplib "*) ;; - *) new_libs="$deplib $new_libs" ;; - esac - ;; - esac - ;; - esac - done - tmp_libs= - for deplib in $new_libs; do - case $deplib in - -L*) - case " $tmp_libs " in - *" $deplib "*) ;; - *) tmp_libs="$tmp_libs $deplib" ;; - esac - ;; - *) tmp_libs="$tmp_libs $deplib" ;; - esac - done - eval $var=\"$tmp_libs\" - done # for var - fi - # Last step: remove runtime libs from dependency_libs - # (they stay in deplibs) - tmp_libs= - for i in $dependency_libs ; do - case " $predeps $postdeps $compiler_lib_search_path " in - *" $i "*) - i="" - ;; - esac - if test -n "$i" ; then - tmp_libs="$tmp_libs $i" - fi - done - dependency_libs=$tmp_libs - done # for pass - if test "$linkmode" = prog; then - dlfiles="$newdlfiles" - fi - if test "$linkmode" = prog || test "$linkmode" = lib; then - dlprefiles="$newdlprefiles" - fi - - case $linkmode in - oldlib) - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then - func_warning "\`-dlopen' is ignored for archives" - fi - - case " $deplibs" in - *\ -l* | *\ -L*) - func_warning "\`-l' and \`-L' are ignored for archives" ;; - esac - - test -n "$rpath" && \ - func_warning "\`-rpath' is ignored for archives" - - test -n "$xrpath" && \ - func_warning "\`-R' is ignored for archives" - - test -n "$vinfo" && \ - func_warning "\`-version-info/-version-number' is ignored for archives" - - test -n "$release" && \ - func_warning "\`-release' is ignored for archives" - - test -n "$export_symbols$export_symbols_regex" && \ - func_warning "\`-export-symbols' is ignored for archives" - - # Now set the variables for building old libraries. - build_libtool_libs=no - oldlibs="$output" - objs="$objs$old_deplibs" - ;; - - lib) - # Make sure we only generate libraries of the form `libNAME.la'. - case $outputname in - lib*) - func_stripname 'lib' '.la' "$outputname" - name=$func_stripname_result - eval shared_ext=\"$shrext_cmds\" - eval libname=\"$libname_spec\" - ;; - *) - test "$module" = no && \ - func_fatal_help "libtool library \`$output' must begin with \`lib'" - - if test "$need_lib_prefix" != no; then - # Add the "lib" prefix for modules if required - func_stripname '' '.la' "$outputname" - name=$func_stripname_result - eval shared_ext=\"$shrext_cmds\" - eval libname=\"$libname_spec\" - else - func_stripname '' '.la' "$outputname" - libname=$func_stripname_result - fi - ;; - esac - - if test -n "$objs"; then - if test "$deplibs_check_method" != pass_all; then - func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs" - else - $ECHO - $ECHO "*** Warning: Linking the shared library $output against the non-libtool" - $ECHO "*** objects $objs is not portable!" - libobjs="$libobjs $objs" - fi - fi - - test "$dlself" != no && \ - func_warning "\`-dlopen self' is ignored for libtool libraries" - - set dummy $rpath - shift - test "$#" -gt 1 && \ - func_warning "ignoring multiple \`-rpath's for a libtool library" - - install_libdir="$1" - - oldlibs= - if test -z "$rpath"; then - if test "$build_libtool_libs" = yes; then - # Building a libtool convenience library. - # Some compilers have problems with a `.al' extension so - # convenience libraries should have the same extension an - # archive normally would. - oldlibs="$output_objdir/$libname.$libext $oldlibs" - build_libtool_libs=convenience - build_old_libs=yes - fi - - test -n "$vinfo" && \ - func_warning "\`-version-info/-version-number' is ignored for convenience libraries" - - test -n "$release" && \ - func_warning "\`-release' is ignored for convenience libraries" - else - - # Parse the version information argument. - save_ifs="$IFS"; IFS=':' - set dummy $vinfo 0 0 0 - shift - IFS="$save_ifs" - - test -n "$7" && \ - func_fatal_help "too many parameters to \`-version-info'" - - # convert absolute version numbers to libtool ages - # this retains compatibility with .la files and attempts - # to make the code below a bit more comprehensible - - case $vinfo_number in - yes) - number_major="$1" - number_minor="$2" - number_revision="$3" - # - # There are really only two kinds -- those that - # use the current revision as the major version - # and those that subtract age and use age as - # a minor version. But, then there is irix - # which has an extra 1 added just for fun - # - case $version_type in - darwin|linux|osf|windows|none) - func_arith $number_major + $number_minor - current=$func_arith_result - age="$number_minor" - revision="$number_revision" - ;; - freebsd-aout|freebsd-elf|sunos) - current="$number_major" - revision="$number_minor" - age="0" - ;; - irix|nonstopux) - func_arith $number_major + $number_minor - current=$func_arith_result - age="$number_minor" - revision="$number_minor" - lt_irix_increment=no - ;; - esac - ;; - no) - current="$1" - revision="$2" - age="$3" - ;; - esac - - # Check that each of the things are valid numbers. - case $current in - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; - *) - func_error "CURRENT \`$current' must be a nonnegative integer" - func_fatal_error "\`$vinfo' is not valid version information" - ;; - esac - - case $revision in - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; - *) - func_error "REVISION \`$revision' must be a nonnegative integer" - func_fatal_error "\`$vinfo' is not valid version information" - ;; - esac - - case $age in - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; - *) - func_error "AGE \`$age' must be a nonnegative integer" - func_fatal_error "\`$vinfo' is not valid version information" - ;; - esac - - if test "$age" -gt "$current"; then - func_error "AGE \`$age' is greater than the current interface number \`$current'" - func_fatal_error "\`$vinfo' is not valid version information" - fi - - # Calculate the version variables. - major= - versuffix= - verstring= - case $version_type in - none) ;; - - darwin) - # Like Linux, but with the current version available in - # verstring for coding it into the library header - func_arith $current - $age - major=.$func_arith_result - versuffix="$major.$age.$revision" - # Darwin ld doesn't like 0 for these options... - func_arith $current + 1 - minor_current=$func_arith_result - xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" - verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" - ;; - - freebsd-aout) - major=".$current" - versuffix=".$current.$revision"; - ;; - - freebsd-elf) - major=".$current" - versuffix=".$current" - ;; - - irix | nonstopux) - if test "X$lt_irix_increment" = "Xno"; then - func_arith $current - $age - else - func_arith $current - $age + 1 - fi - major=$func_arith_result - - case $version_type in - nonstopux) verstring_prefix=nonstopux ;; - *) verstring_prefix=sgi ;; - esac - verstring="$verstring_prefix$major.$revision" - - # Add in all the interfaces that we are compatible with. - loop=$revision - while test "$loop" -ne 0; do - func_arith $revision - $loop - iface=$func_arith_result - func_arith $loop - 1 - loop=$func_arith_result - verstring="$verstring_prefix$major.$iface:$verstring" - done - - # Before this point, $major must not contain `.'. - major=.$major - versuffix="$major.$revision" - ;; - - linux) - func_arith $current - $age - major=.$func_arith_result - versuffix="$major.$age.$revision" - ;; - - osf) - func_arith $current - $age - major=.$func_arith_result - versuffix=".$current.$age.$revision" - verstring="$current.$age.$revision" - - # Add in all the interfaces that we are compatible with. - loop=$age - while test "$loop" -ne 0; do - func_arith $current - $loop - iface=$func_arith_result - func_arith $loop - 1 - loop=$func_arith_result - verstring="$verstring:${iface}.0" - done - - # Make executables depend on our current version. - verstring="$verstring:${current}.0" - ;; - - qnx) - major=".$current" - versuffix=".$current" - ;; - - sunos) - major=".$current" - versuffix=".$current.$revision" - ;; - - windows) - # Use '-' rather than '.', since we only want one - # extension on DOS 8.3 filesystems. - func_arith $current - $age - major=$func_arith_result - versuffix="-$major" - ;; - - *) - func_fatal_configuration "unknown library version type \`$version_type'" - ;; - esac - - # Clear the version info if we defaulted, and they specified a release. - if test -z "$vinfo" && test -n "$release"; then - major= - case $version_type in - darwin) - # we can't check for "0.0" in archive_cmds due to quoting - # problems, so we reset it completely - verstring= - ;; - *) - verstring="0.0" - ;; - esac - if test "$need_version" = no; then - versuffix= - else - versuffix=".0.0" - fi - fi - - # Remove version info from name if versioning should be avoided - if test "$avoid_version" = yes && test "$need_version" = no; then - major= - versuffix= - verstring="" - fi - - # Check to see if the archive will have undefined symbols. - if test "$allow_undefined" = yes; then - if test "$allow_undefined_flag" = unsupported; then - func_warning "undefined symbols not allowed in $host shared libraries" - build_libtool_libs=no - build_old_libs=yes - fi - else - # Don't allow undefined symbols. - allow_undefined_flag="$no_undefined_flag" - fi - - fi - - func_generate_dlsyms "$libname" "$libname" "yes" - libobjs="$libobjs $symfileobj" - test "X$libobjs" = "X " && libobjs= - - if test "$mode" != relink; then - # Remove our outputs, but don't remove object files since they - # may have been created when compiling PIC objects. - removelist= - tempremovelist=`$ECHO "$output_objdir/*"` - for p in $tempremovelist; do - case $p in - *.$objext | *.gcno) - ;; - $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) - if test "X$precious_files_regex" != "X"; then - if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 - then - continue - fi - fi - removelist="$removelist $p" - ;; - *) ;; - esac - done - test -n "$removelist" && \ - func_show_eval "${RM}r \$removelist" - fi - - # Now set the variables for building old libraries. - if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then - oldlibs="$oldlibs $output_objdir/$libname.$libext" - - # Transform .lo files to .o files. - oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` - fi - - # Eliminate all temporary directories. - #for path in $notinst_path; do - # lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"` - # deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"` - # dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"` - #done - - if test -n "$xrpath"; then - # If the user specified any rpath flags, then add them. - temp_xrpath= - for libdir in $xrpath; do - temp_xrpath="$temp_xrpath -R$libdir" - case "$finalize_rpath " in - *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" ;; - esac - done - if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then - dependency_libs="$temp_xrpath $dependency_libs" - fi - fi - - # Make sure dlfiles contains only unique files that won't be dlpreopened - old_dlfiles="$dlfiles" - dlfiles= - for lib in $old_dlfiles; do - case " $dlprefiles $dlfiles " in - *" $lib "*) ;; - *) dlfiles="$dlfiles $lib" ;; - esac - done - - # Make sure dlprefiles contains only unique files - old_dlprefiles="$dlprefiles" - dlprefiles= - for lib in $old_dlprefiles; do - case "$dlprefiles " in - *" $lib "*) ;; - *) dlprefiles="$dlprefiles $lib" ;; - esac - done - - if test "$build_libtool_libs" = yes; then - if test -n "$rpath"; then - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*) - # these systems don't actually have a c library (as such)! - ;; - *-*-rhapsody* | *-*-darwin1.[012]) - # Rhapsody C library is in the System framework - deplibs="$deplibs System.ltframework" - ;; - *-*-netbsd*) - # Don't link with libc until the a.out ld.so is fixed. - ;; - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) - # Do not include libc due to us having libc/libc_r. - ;; - *-*-sco3.2v5* | *-*-sco5v6*) - # Causes problems with __ctype - ;; - *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) - # Compiler inserts libc in the correct place for threads to work - ;; - *) - # Add libc to deplibs on all other systems if necessary. - if test "$build_libtool_need_lc" = "yes"; then - deplibs="$deplibs -lc" - fi - ;; - esac - fi - - # Transform deplibs into only deplibs that can be linked in shared. - name_save=$name - libname_save=$libname - release_save=$release - versuffix_save=$versuffix - major_save=$major - # I'm not sure if I'm treating the release correctly. I think - # release should show up in the -l (ie -lgmp5) so we don't want to - # add it in twice. Is that correct? - release="" - versuffix="" - major="" - newdeplibs= - droppeddeps=no - case $deplibs_check_method in - pass_all) - # Don't check for shared/static. Everything works. - # This might be a little naive. We might want to check - # whether the library exists or not. But this is on - # osf3 & osf4 and I'm not really sure... Just - # implementing what was already the behavior. - newdeplibs=$deplibs - ;; - test_compile) - # This code stresses the "libraries are programs" paradigm to its - # limits. Maybe even breaks it. We compile a program, linking it - # against the deplibs as a proxy for the library. Then we can check - # whether they linked in statically or dynamically with ldd. - $opt_dry_run || $RM conftest.c - cat > conftest.c </dev/null` - for potent_lib in $potential_libs; do - # Follow soft links. - if ls -lLd "$potent_lib" 2>/dev/null | - $GREP " -> " >/dev/null; then - continue - fi - # The statement above tries to avoid entering an - # endless loop below, in case of cyclic links. - # We might still enter an endless loop, since a link - # loop can be closed while we follow links, - # but so what? - potlib="$potent_lib" - while test -h "$potlib" 2>/dev/null; do - potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` - case $potliblink in - [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; - *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; - esac - done - if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | - $SED -e 10q | - $EGREP "$file_magic_regex" > /dev/null; then - newdeplibs="$newdeplibs $a_deplib" - a_deplib="" - break 2 - fi - done - done - fi - if test -n "$a_deplib" ; then - droppeddeps=yes - $ECHO - $ECHO "*** Warning: linker path does not have real file for library $a_deplib." - $ECHO "*** I have the capability to make that library automatically link in when" - $ECHO "*** you link to this library. But I can only do this if you have a" - $ECHO "*** shared version of the library, which you do not appear to have" - $ECHO "*** because I did check the linker path looking for a file starting" - if test -z "$potlib" ; then - $ECHO "*** with $libname but no candidates were found. (...for file magic test)" - else - $ECHO "*** with $libname and none of the candidates passed a file format test" - $ECHO "*** using a file magic. Last file checked: $potlib" - fi - fi - ;; - *) - # Add a -L argument. - newdeplibs="$newdeplibs $a_deplib" - ;; - esac - done # Gone through all deplibs. - ;; - match_pattern*) - set dummy $deplibs_check_method; shift - match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` - for a_deplib in $deplibs; do - case $a_deplib in - -l*) - func_stripname -l '' "$a_deplib" - name=$func_stripname_result - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then - case " $predeps $postdeps " in - *" $a_deplib "*) - newdeplibs="$newdeplibs $a_deplib" - a_deplib="" - ;; - esac - fi - if test -n "$a_deplib" ; then - libname=`eval "\\$ECHO \"$libname_spec\""` - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do - potential_libs=`ls $i/$libname[.-]* 2>/dev/null` - for potent_lib in $potential_libs; do - potlib="$potent_lib" # see symlink-check above in file_magic test - if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \ - $EGREP "$match_pattern_regex" > /dev/null; then - newdeplibs="$newdeplibs $a_deplib" - a_deplib="" - break 2 - fi - done - done - fi - if test -n "$a_deplib" ; then - droppeddeps=yes - $ECHO - $ECHO "*** Warning: linker path does not have real file for library $a_deplib." - $ECHO "*** I have the capability to make that library automatically link in when" - $ECHO "*** you link to this library. But I can only do this if you have a" - $ECHO "*** shared version of the library, which you do not appear to have" - $ECHO "*** because I did check the linker path looking for a file starting" - if test -z "$potlib" ; then - $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" - else - $ECHO "*** with $libname and none of the candidates passed a file format test" - $ECHO "*** using a regex pattern. Last file checked: $potlib" - fi - fi - ;; - *) - # Add a -L argument. - newdeplibs="$newdeplibs $a_deplib" - ;; - esac - done # Gone through all deplibs. - ;; - none | unknown | *) - newdeplibs="" - tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \ - -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'` - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then - for i in $predeps $postdeps ; do - # can't use Xsed below, because $i might contain '/' - tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"` - done - fi - if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' | - $GREP . >/dev/null; then - $ECHO - if test "X$deplibs_check_method" = "Xnone"; then - $ECHO "*** Warning: inter-library dependencies are not supported in this platform." - else - $ECHO "*** Warning: inter-library dependencies are not known to be supported." - fi - $ECHO "*** All declared inter-library dependencies are being dropped." - droppeddeps=yes - fi - ;; - esac - versuffix=$versuffix_save - major=$major_save - release=$release_save - libname=$libname_save - name=$name_save - - case $host in - *-*-rhapsody* | *-*-darwin1.[012]) - # On Rhapsody replace the C library with the System framework - newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'` - ;; - esac - - if test "$droppeddeps" = yes; then - if test "$module" = yes; then - $ECHO - $ECHO "*** Warning: libtool could not satisfy all declared inter-library" - $ECHO "*** dependencies of module $libname. Therefore, libtool will create" - $ECHO "*** a static module, that should work as long as the dlopening" - $ECHO "*** application is linked with the -dlopen flag." - if test -z "$global_symbol_pipe"; then - $ECHO - $ECHO "*** However, this would only work if libtool was able to extract symbol" - $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could" - $ECHO "*** not find such a program. So, this module is probably useless." - $ECHO "*** \`nm' from GNU binutils and a full rebuild may help." - fi - if test "$build_old_libs" = no; then - oldlibs="$output_objdir/$libname.$libext" - build_libtool_libs=module - build_old_libs=yes - else - build_libtool_libs=no - fi - else - $ECHO "*** The inter-library dependencies that have been dropped here will be" - $ECHO "*** automatically added whenever a program is linked with this library" - $ECHO "*** or is declared to -dlopen it." - - if test "$allow_undefined" = no; then - $ECHO - $ECHO "*** Since this library must not contain undefined symbols," - $ECHO "*** because either the platform does not support them or" - $ECHO "*** it was explicitly requested with -no-undefined," - $ECHO "*** libtool will only create a static version of it." - if test "$build_old_libs" = no; then - oldlibs="$output_objdir/$libname.$libext" - build_libtool_libs=module - build_old_libs=yes - else - build_libtool_libs=no - fi - fi - fi - fi - # Done checking deplibs! - deplibs=$newdeplibs - fi - # Time to change all our "foo.ltframework" stuff back to "-framework foo" - case $host in - *-*-darwin*) - newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - ;; - esac - - # move library search paths that coincide with paths to not yet - # installed libraries to the beginning of the library search list - new_libs= - for path in $notinst_path; do - case " $new_libs " in - *" -L$path/$objdir "*) ;; - *) - case " $deplibs " in - *" -L$path/$objdir "*) - new_libs="$new_libs -L$path/$objdir" ;; - esac - ;; - esac - done - for deplib in $deplibs; do - case $deplib in - -L*) - case " $new_libs " in - *" $deplib "*) ;; - *) new_libs="$new_libs $deplib" ;; - esac - ;; - *) new_libs="$new_libs $deplib" ;; - esac - done - deplibs="$new_libs" - - # All the library-specific variables (install_libdir is set above). - library_names= - old_library= - dlname= - - # Test again, we may have decided not to build it any more - if test "$build_libtool_libs" = yes; then - if test "$hardcode_into_libs" = yes; then - # Hardcode the library paths - hardcode_libdirs= - dep_rpath= - rpath="$finalize_rpath" - test "$mode" != relink && rpath="$compile_rpath$rpath" - for libdir in $rpath; do - if test -n "$hardcode_libdir_flag_spec"; then - if test -n "$hardcode_libdir_separator"; then - if test -z "$hardcode_libdirs"; then - hardcode_libdirs="$libdir" - else - # Just accumulate the unique libdirs. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) - ;; - *) - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" - ;; - esac - fi - else - eval flag=\"$hardcode_libdir_flag_spec\" - dep_rpath="$dep_rpath $flag" - fi - elif test -n "$runpath_var"; then - case "$perm_rpath " in - *" $libdir "*) ;; - *) perm_rpath="$perm_rpath $libdir" ;; - esac - fi - done - # Substitute the hardcoded libdirs into the rpath. - if test -n "$hardcode_libdir_separator" && - test -n "$hardcode_libdirs"; then - libdir="$hardcode_libdirs" - if test -n "$hardcode_libdir_flag_spec_ld"; then - eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" - else - eval dep_rpath=\"$hardcode_libdir_flag_spec\" - fi - fi - if test -n "$runpath_var" && test -n "$perm_rpath"; then - # We should set the runpath_var. - rpath= - for dir in $perm_rpath; do - rpath="$rpath$dir:" - done - eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" - fi - test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" - fi - - shlibpath="$finalize_shlibpath" - test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" - if test -n "$shlibpath"; then - eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" - fi - - # Get the real and link names of the library. - eval shared_ext=\"$shrext_cmds\" - eval library_names=\"$library_names_spec\" - set dummy $library_names - shift - realname="$1" - shift - - if test -n "$soname_spec"; then - eval soname=\"$soname_spec\" - else - soname="$realname" - fi - if test -z "$dlname"; then - dlname=$soname - fi - - lib="$output_objdir/$realname" - linknames= - for link - do - linknames="$linknames $link" - done - - # Use standard objects if they are pic - test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` - test "X$libobjs" = "X " && libobjs= - - delfiles= - if test -n "$export_symbols" && test -n "$include_expsyms"; then - $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" - export_symbols="$output_objdir/$libname.uexp" - delfiles="$delfiles $export_symbols" - fi - - orig_export_symbols= - case $host_os in - cygwin* | mingw* | cegcc*) - if test -n "$export_symbols" && test -z "$export_symbols_regex"; then - # exporting using user supplied symfile - if test "x`$SED 1q $export_symbols`" != xEXPORTS; then - # and it's NOT already a .def file. Must figure out - # which of the given symbols are data symbols and tag - # them as such. So, trigger use of export_symbols_cmds. - # export_symbols gets reassigned inside the "prepare - # the list of exported symbols" if statement, so the - # include_expsyms logic still works. - orig_export_symbols="$export_symbols" - export_symbols= - always_export_symbols=yes - fi - fi - ;; - esac - - # Prepare the list of exported symbols - if test -z "$export_symbols"; then - if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then - func_verbose "generating symbol list for \`$libname.la'" - export_symbols="$output_objdir/$libname.exp" - $opt_dry_run || $RM $export_symbols - cmds=$export_symbols_cmds - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - func_len " $cmd" - len=$func_len_result - if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then - func_show_eval "$cmd" 'exit $?' - skipped_export=false - else - # The command line is too long to execute in one step. - func_verbose "using reloadable object file for export list..." - skipped_export=: - # Break out early, otherwise skipped_export may be - # set to false by a later but shorter cmd. - break - fi - done - IFS="$save_ifs" - if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then - func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' - func_show_eval '$MV "${export_symbols}T" "$export_symbols"' - fi - fi - fi - - if test -n "$export_symbols" && test -n "$include_expsyms"; then - tmp_export_symbols="$export_symbols" - test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" - $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"' - fi - - if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then - # The given exports_symbols file has to be filtered, so filter it. - func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" - # FIXME: $output_objdir/$libname.filter potentially contains lots of - # 's' commands which not all seds can handle. GNU sed should be fine - # though. Also, the filter scales superlinearly with the number of - # global variables. join(1) would be nice here, but unfortunately - # isn't a blessed tool. - $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter - delfiles="$delfiles $export_symbols $output_objdir/$libname.filter" - export_symbols=$output_objdir/$libname.def - $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols - fi - - tmp_deplibs= - for test_deplib in $deplibs; do - case " $convenience " in - *" $test_deplib "*) ;; - *) - tmp_deplibs="$tmp_deplibs $test_deplib" - ;; - esac - done - deplibs="$tmp_deplibs" - - if test -n "$convenience"; then - if test -n "$whole_archive_flag_spec" && - test "$compiler_needs_object" = yes && - test -z "$libobjs"; then - # extract the archives, so we have objects to list. - # TODO: could optimize this to just extract one archive. - whole_archive_flag_spec= - fi - if test -n "$whole_archive_flag_spec"; then - save_libobjs=$libobjs - eval libobjs=\"\$libobjs $whole_archive_flag_spec\" - test "X$libobjs" = "X " && libobjs= - else - gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" - - func_extract_archives $gentop $convenience - libobjs="$libobjs $func_extract_archives_result" - test "X$libobjs" = "X " && libobjs= - fi - fi - - if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then - eval flag=\"$thread_safe_flag_spec\" - linker_flags="$linker_flags $flag" - fi - - # Make a backup of the uninstalled library when relinking - if test "$mode" = relink; then - $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? - fi - - # Do each of the archive commands. - if test "$module" = yes && test -n "$module_cmds" ; then - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then - eval test_cmds=\"$module_expsym_cmds\" - cmds=$module_expsym_cmds - else - eval test_cmds=\"$module_cmds\" - cmds=$module_cmds - fi - else - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then - eval test_cmds=\"$archive_expsym_cmds\" - cmds=$archive_expsym_cmds - else - eval test_cmds=\"$archive_cmds\" - cmds=$archive_cmds - fi - fi - - if test "X$skipped_export" != "X:" && - func_len " $test_cmds" && - len=$func_len_result && - test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then - : - else - # The command line is too long to link in one step, link piecewise - # or, if using GNU ld and skipped_export is not :, use a linker - # script. - - # Save the value of $output and $libobjs because we want to - # use them later. If we have whole_archive_flag_spec, we - # want to use save_libobjs as it was before - # whole_archive_flag_spec was expanded, because we can't - # assume the linker understands whole_archive_flag_spec. - # This may have to be revisited, in case too many - # convenience libraries get linked in and end up exceeding - # the spec. - if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then - save_libobjs=$libobjs - fi - save_output=$output - output_la=`$ECHO "X$output" | $Xsed -e "$basename"` - - # Clear the reloadable object creation command queue and - # initialize k to one. - test_cmds= - concat_cmds= - objlist= - last_robj= - k=1 - - if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then - output=${output_objdir}/${output_la}.lnkscript - func_verbose "creating GNU ld script: $output" - $ECHO 'INPUT (' > $output - for obj in $save_libobjs - do - $ECHO "$obj" >> $output - done - $ECHO ')' >> $output - delfiles="$delfiles $output" - elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then - output=${output_objdir}/${output_la}.lnk - func_verbose "creating linker input file list: $output" - : > $output - set x $save_libobjs - shift - firstobj= - if test "$compiler_needs_object" = yes; then - firstobj="$1 " - shift - fi - for obj - do - $ECHO "$obj" >> $output - done - delfiles="$delfiles $output" - output=$firstobj\"$file_list_spec$output\" - else - if test -n "$save_libobjs"; then - func_verbose "creating reloadable object files..." - output=$output_objdir/$output_la-${k}.$objext - eval test_cmds=\"$reload_cmds\" - func_len " $test_cmds" - len0=$func_len_result - len=$len0 - - # Loop over the list of objects to be linked. - for obj in $save_libobjs - do - func_len " $obj" - func_arith $len + $func_len_result - len=$func_arith_result - if test "X$objlist" = X || - test "$len" -lt "$max_cmd_len"; then - func_append objlist " $obj" - else - # The command $test_cmds is almost too long, add a - # command to the queue. - if test "$k" -eq 1 ; then - # The first file doesn't have a previous command to add. - eval concat_cmds=\"$reload_cmds $objlist $last_robj\" - else - # All subsequent reloadable object files will link in - # the last one created. - eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\" - fi - last_robj=$output_objdir/$output_la-${k}.$objext - func_arith $k + 1 - k=$func_arith_result - output=$output_objdir/$output_la-${k}.$objext - objlist=$obj - func_len " $last_robj" - func_arith $len0 + $func_len_result - len=$func_arith_result - fi - done - # Handle the remaining objects by creating one last - # reloadable object file. All subsequent reloadable object - # files will link in the last one created. - test -z "$concat_cmds" || concat_cmds=$concat_cmds~ - eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" - if test -n "$last_robj"; then - eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\" - fi - delfiles="$delfiles $output" - - else - output= - fi - - if ${skipped_export-false}; then - func_verbose "generating symbol list for \`$libname.la'" - export_symbols="$output_objdir/$libname.exp" - $opt_dry_run || $RM $export_symbols - libobjs=$output - # Append the command to create the export file. - test -z "$concat_cmds" || concat_cmds=$concat_cmds~ - eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" - if test -n "$last_robj"; then - eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" - fi - fi - - test -n "$save_libobjs" && - func_verbose "creating a temporary reloadable object file: $output" - - # Loop through the commands generated above and execute them. - save_ifs="$IFS"; IFS='~' - for cmd in $concat_cmds; do - IFS="$save_ifs" - $opt_silent || { - func_quote_for_expand "$cmd" - eval "func_echo $func_quote_for_expand_result" - } - $opt_dry_run || eval "$cmd" || { - lt_exit=$? - - # Restore the uninstalled library and exit - if test "$mode" = relink; then - ( cd "$output_objdir" && \ - $RM "${realname}T" && \ - $MV "${realname}U" "$realname" ) - fi - - exit $lt_exit - } - done - IFS="$save_ifs" - - if test -n "$export_symbols_regex" && ${skipped_export-false}; then - func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' - func_show_eval '$MV "${export_symbols}T" "$export_symbols"' - fi - fi - - if ${skipped_export-false}; then - if test -n "$export_symbols" && test -n "$include_expsyms"; then - tmp_export_symbols="$export_symbols" - test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" - $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"' - fi - - if test -n "$orig_export_symbols"; then - # The given exports_symbols file has to be filtered, so filter it. - func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" - # FIXME: $output_objdir/$libname.filter potentially contains lots of - # 's' commands which not all seds can handle. GNU sed should be fine - # though. Also, the filter scales superlinearly with the number of - # global variables. join(1) would be nice here, but unfortunately - # isn't a blessed tool. - $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter - delfiles="$delfiles $export_symbols $output_objdir/$libname.filter" - export_symbols=$output_objdir/$libname.def - $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols - fi - fi - - libobjs=$output - # Restore the value of output. - output=$save_output - - if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then - eval libobjs=\"\$libobjs $whole_archive_flag_spec\" - test "X$libobjs" = "X " && libobjs= - fi - # Expand the library linking commands again to reset the - # value of $libobjs for piecewise linking. - - # Do each of the archive commands. - if test "$module" = yes && test -n "$module_cmds" ; then - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then - cmds=$module_expsym_cmds - else - cmds=$module_cmds - fi - else - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then - cmds=$archive_expsym_cmds - else - cmds=$archive_cmds - fi - fi - fi - - if test -n "$delfiles"; then - # Append the command to remove temporary files to $cmds. - eval cmds=\"\$cmds~\$RM $delfiles\" - fi - - # Add any objects from preloaded convenience libraries - if test -n "$dlprefiles"; then - gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" - - func_extract_archives $gentop $dlprefiles - libobjs="$libobjs $func_extract_archives_result" - test "X$libobjs" = "X " && libobjs= - fi - - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $opt_silent || { - func_quote_for_expand "$cmd" - eval "func_echo $func_quote_for_expand_result" - } - $opt_dry_run || eval "$cmd" || { - lt_exit=$? - - # Restore the uninstalled library and exit - if test "$mode" = relink; then - ( cd "$output_objdir" && \ - $RM "${realname}T" && \ - $MV "${realname}U" "$realname" ) - fi - - exit $lt_exit - } - done - IFS="$save_ifs" - - # Restore the uninstalled library and exit - if test "$mode" = relink; then - $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? - - if test -n "$convenience"; then - if test -z "$whole_archive_flag_spec"; then - func_show_eval '${RM}r "$gentop"' - fi - fi - - exit $EXIT_SUCCESS - fi - - # Create links to the real library. - for linkname in $linknames; do - if test "$realname" != "$linkname"; then - func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' - fi - done - - # If -module or -export-dynamic was specified, set the dlname. - if test "$module" = yes || test "$export_dynamic" = yes; then - # On all known operating systems, these are identical. - dlname="$soname" - fi - fi - ;; - - obj) - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then - func_warning "\`-dlopen' is ignored for objects" - fi - - case " $deplibs" in - *\ -l* | *\ -L*) - func_warning "\`-l' and \`-L' are ignored for objects" ;; - esac - - test -n "$rpath" && \ - func_warning "\`-rpath' is ignored for objects" - - test -n "$xrpath" && \ - func_warning "\`-R' is ignored for objects" - - test -n "$vinfo" && \ - func_warning "\`-version-info' is ignored for objects" - - test -n "$release" && \ - func_warning "\`-release' is ignored for objects" - - case $output in - *.lo) - test -n "$objs$old_deplibs" && \ - func_fatal_error "cannot build library object \`$output' from non-libtool objects" - - libobj=$output - func_lo2o "$libobj" - obj=$func_lo2o_result - ;; - *) - libobj= - obj="$output" - ;; - esac - - # Delete the old objects. - $opt_dry_run || $RM $obj $libobj - - # Objects from convenience libraries. This assumes - # single-version convenience libraries. Whenever we create - # different ones for PIC/non-PIC, this we'll have to duplicate - # the extraction. - reload_conv_objs= - gentop= - # reload_cmds runs $LD directly, so let us get rid of - # -Wl from whole_archive_flag_spec and hope we can get by with - # turning comma into space.. - wl= - - if test -n "$convenience"; then - if test -n "$whole_archive_flag_spec"; then - eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" - reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'` - else - gentop="$output_objdir/${obj}x" - generated="$generated $gentop" - - func_extract_archives $gentop $convenience - reload_conv_objs="$reload_objs $func_extract_archives_result" - fi - fi - - # Create the old-style object. - reload_objs="$objs$old_deplibs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test - - output="$obj" - func_execute_cmds "$reload_cmds" 'exit $?' - - # Exit if we aren't doing a library object file. - if test -z "$libobj"; then - if test -n "$gentop"; then - func_show_eval '${RM}r "$gentop"' - fi - - exit $EXIT_SUCCESS - fi - - if test "$build_libtool_libs" != yes; then - if test -n "$gentop"; then - func_show_eval '${RM}r "$gentop"' - fi - - # Create an invalid libtool object if no PIC, so that we don't - # accidentally link it into a program. - # $show "echo timestamp > $libobj" - # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? - exit $EXIT_SUCCESS - fi - - if test -n "$pic_flag" || test "$pic_mode" != default; then - # Only do commands if we really have different PIC objects. - reload_objs="$libobjs $reload_conv_objs" - output="$libobj" - func_execute_cmds "$reload_cmds" 'exit $?' - fi - - if test -n "$gentop"; then - func_show_eval '${RM}r "$gentop"' - fi - - exit $EXIT_SUCCESS - ;; - - prog) - case $host in - *cygwin*) func_stripname '' '.exe' "$output" - output=$func_stripname_result.exe;; - esac - test -n "$vinfo" && \ - func_warning "\`-version-info' is ignored for programs" - - test -n "$release" && \ - func_warning "\`-release' is ignored for programs" - - test "$preload" = yes \ - && test "$dlopen_support" = unknown \ - && test "$dlopen_self" = unknown \ - && test "$dlopen_self_static" = unknown && \ - func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support." - - case $host in - *-*-rhapsody* | *-*-darwin1.[012]) - # On Rhapsody replace the C library is the System framework - compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'` - finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'` - ;; - esac - - case $host in - *-*-darwin*) - # Don't allow lazy linking, it breaks C++ global constructors - # But is supposedly fixed on 10.4 or later (yay!). - if test "$tagname" = CXX ; then - case ${MACOSX_DEPLOYMENT_TARGET-10.0} in - 10.[0123]) - compile_command="$compile_command ${wl}-bind_at_load" - finalize_command="$finalize_command ${wl}-bind_at_load" - ;; - esac - fi - # Time to change all our "foo.ltframework" stuff back to "-framework foo" - compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - ;; - esac - - - # move library search paths that coincide with paths to not yet - # installed libraries to the beginning of the library search list - new_libs= - for path in $notinst_path; do - case " $new_libs " in - *" -L$path/$objdir "*) ;; - *) - case " $compile_deplibs " in - *" -L$path/$objdir "*) - new_libs="$new_libs -L$path/$objdir" ;; - esac - ;; - esac - done - for deplib in $compile_deplibs; do - case $deplib in - -L*) - case " $new_libs " in - *" $deplib "*) ;; - *) new_libs="$new_libs $deplib" ;; - esac - ;; - *) new_libs="$new_libs $deplib" ;; - esac - done - compile_deplibs="$new_libs" - - - compile_command="$compile_command $compile_deplibs" - finalize_command="$finalize_command $finalize_deplibs" - - if test -n "$rpath$xrpath"; then - # If the user specified any rpath flags, then add them. - for libdir in $rpath $xrpath; do - # This is the magic to use -rpath. - case "$finalize_rpath " in - *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" ;; - esac - done - fi - - # Now hardcode the library paths - rpath= - hardcode_libdirs= - for libdir in $compile_rpath $finalize_rpath; do - if test -n "$hardcode_libdir_flag_spec"; then - if test -n "$hardcode_libdir_separator"; then - if test -z "$hardcode_libdirs"; then - hardcode_libdirs="$libdir" - else - # Just accumulate the unique libdirs. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) - ;; - *) - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" - ;; - esac - fi - else - eval flag=\"$hardcode_libdir_flag_spec\" - rpath="$rpath $flag" - fi - elif test -n "$runpath_var"; then - case "$perm_rpath " in - *" $libdir "*) ;; - *) perm_rpath="$perm_rpath $libdir" ;; - esac - fi - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) - testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'` - case :$dllsearchpath: in - *":$libdir:"*) ;; - ::) dllsearchpath=$libdir;; - *) dllsearchpath="$dllsearchpath:$libdir";; - esac - case :$dllsearchpath: in - *":$testbindir:"*) ;; - ::) dllsearchpath=$testbindir;; - *) dllsearchpath="$dllsearchpath:$testbindir";; - esac - ;; - esac - done - # Substitute the hardcoded libdirs into the rpath. - if test -n "$hardcode_libdir_separator" && - test -n "$hardcode_libdirs"; then - libdir="$hardcode_libdirs" - eval rpath=\" $hardcode_libdir_flag_spec\" - fi - compile_rpath="$rpath" - - rpath= - hardcode_libdirs= - for libdir in $finalize_rpath; do - if test -n "$hardcode_libdir_flag_spec"; then - if test -n "$hardcode_libdir_separator"; then - if test -z "$hardcode_libdirs"; then - hardcode_libdirs="$libdir" - else - # Just accumulate the unique libdirs. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) - ;; - *) - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" - ;; - esac - fi - else - eval flag=\"$hardcode_libdir_flag_spec\" - rpath="$rpath $flag" - fi - elif test -n "$runpath_var"; then - case "$finalize_perm_rpath " in - *" $libdir "*) ;; - *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; - esac - fi - done - # Substitute the hardcoded libdirs into the rpath. - if test -n "$hardcode_libdir_separator" && - test -n "$hardcode_libdirs"; then - libdir="$hardcode_libdirs" - eval rpath=\" $hardcode_libdir_flag_spec\" - fi - finalize_rpath="$rpath" - - if test -n "$libobjs" && test "$build_old_libs" = yes; then - # Transform all the library objects into standard objects. - compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` - finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` - fi - - func_generate_dlsyms "$outputname" "@PROGRAM@" "no" - - # template prelinking step - if test -n "$prelink_cmds"; then - func_execute_cmds "$prelink_cmds" 'exit $?' - fi - - wrappers_required=yes - case $host in - *cygwin* | *mingw* ) - if test "$build_libtool_libs" != yes; then - wrappers_required=no - fi - ;; - *cegcc) - # Disable wrappers for cegcc, we are cross compiling anyway. - wrappers_required=no - ;; - *) - if test "$need_relink" = no || test "$build_libtool_libs" != yes; then - wrappers_required=no - fi - ;; - esac - if test "$wrappers_required" = no; then - # Replace the output file specification. - compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` - link_command="$compile_command$compile_rpath" - - # We have no uninstalled library dependencies, so finalize right now. - exit_status=0 - func_show_eval "$link_command" 'exit_status=$?' - - # Delete the generated files. - if test -f "$output_objdir/${outputname}S.${objext}"; then - func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"' - fi - - exit $exit_status - fi - - if test -n "$compile_shlibpath$finalize_shlibpath"; then - compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" - fi - if test -n "$finalize_shlibpath"; then - finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" - fi - - compile_var= - finalize_var= - if test -n "$runpath_var"; then - if test -n "$perm_rpath"; then - # We should set the runpath_var. - rpath= - for dir in $perm_rpath; do - rpath="$rpath$dir:" - done - compile_var="$runpath_var=\"$rpath\$$runpath_var\" " - fi - if test -n "$finalize_perm_rpath"; then - # We should set the runpath_var. - rpath= - for dir in $finalize_perm_rpath; do - rpath="$rpath$dir:" - done - finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " - fi - fi - - if test "$no_install" = yes; then - # We don't need to create a wrapper script. - link_command="$compile_var$compile_command$compile_rpath" - # Replace the output file specification. - link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` - # Delete the old output file. - $opt_dry_run || $RM $output - # Link the executable and exit - func_show_eval "$link_command" 'exit $?' - exit $EXIT_SUCCESS - fi - - if test "$hardcode_action" = relink; then - # Fast installation is not supported - link_command="$compile_var$compile_command$compile_rpath" - relink_command="$finalize_var$finalize_command$finalize_rpath" - - func_warning "this platform does not like uninstalled shared libraries" - func_warning "\`$output' will be relinked during installation" - else - if test "$fast_install" != no; then - link_command="$finalize_var$compile_command$finalize_rpath" - if test "$fast_install" = yes; then - relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'` - else - # fast_install is set to needless - relink_command= - fi - else - link_command="$compile_var$compile_command$compile_rpath" - relink_command="$finalize_var$finalize_command$finalize_rpath" - fi - fi - - # Replace the output file specification. - link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` - - # Delete the old output files. - $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname - - func_show_eval "$link_command" 'exit $?' - - # Now create the wrapper script. - func_verbose "creating $output" - - # Quote the relink command for shipping. - if test -n "$relink_command"; then - # Preserve any variables that may affect compiler behavior - for var in $variables_saved_for_relink; do - if eval test -z \"\${$var+set}\"; then - relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" - elif eval var_value=\$$var; test -z "$var_value"; then - relink_command="$var=; export $var; $relink_command" - else - func_quote_for_eval "$var_value" - relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" - fi - done - relink_command="(cd `pwd`; $relink_command)" - relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"` - fi - - # Quote $ECHO for shipping. - if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then - case $progpath in - [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";; - *) qecho="$SHELL `pwd`/$progpath --fallback-echo";; - esac - qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"` - else - qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"` - fi - - # Only actually do things if not in dry run mode. - $opt_dry_run || { - # win32 will think the script is a binary if it has - # a .exe suffix, so we strip it off here. - case $output in - *.exe) func_stripname '' '.exe' "$output" - output=$func_stripname_result ;; - esac - # test for cygwin because mv fails w/o .exe extensions - case $host in - *cygwin*) - exeext=.exe - func_stripname '' '.exe' "$outputname" - outputname=$func_stripname_result ;; - *) exeext= ;; - esac - case $host in - *cygwin* | *mingw* ) - func_dirname_and_basename "$output" "" "." - output_name=$func_basename_result - output_path=$func_dirname_result - cwrappersource="$output_path/$objdir/lt-$output_name.c" - cwrapper="$output_path/$output_name.exe" - $RM $cwrappersource $cwrapper - trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 - - func_emit_cwrapperexe_src > $cwrappersource - - # The wrapper executable is built using the $host compiler, - # because it contains $host paths and files. If cross- - # compiling, it, like the target executable, must be - # executed on the $host or under an emulation environment. - $opt_dry_run || { - $LTCC $LTCFLAGS -o $cwrapper $cwrappersource - $STRIP $cwrapper - } - - # Now, create the wrapper script for func_source use: - func_ltwrapper_scriptname $cwrapper - $RM $func_ltwrapper_scriptname_result - trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 - $opt_dry_run || { - # note: this script will not be executed, so do not chmod. - if test "x$build" = "x$host" ; then - $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result - else - func_emit_wrapper no > $func_ltwrapper_scriptname_result - fi - } - ;; - * ) - $RM $output - trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 - - func_emit_wrapper no > $output - chmod +x $output - ;; - esac - } - exit $EXIT_SUCCESS - ;; - esac - - # See if we need to build an old-fashioned archive. - for oldlib in $oldlibs; do - - if test "$build_libtool_libs" = convenience; then - oldobjs="$libobjs_save $symfileobj" - addlibs="$convenience" - build_libtool_libs=no - else - if test "$build_libtool_libs" = module; then - oldobjs="$libobjs_save" - build_libtool_libs=no - else - oldobjs="$old_deplibs $non_pic_objects" - if test "$preload" = yes && test -f "$symfileobj"; then - oldobjs="$oldobjs $symfileobj" - fi - fi - addlibs="$old_convenience" - fi - - if test -n "$addlibs"; then - gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" - - func_extract_archives $gentop $addlibs - oldobjs="$oldobjs $func_extract_archives_result" - fi - - # Do each command in the archive commands. - if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then - cmds=$old_archive_from_new_cmds - else - - # Add any objects from preloaded convenience libraries - if test -n "$dlprefiles"; then - gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" - - func_extract_archives $gentop $dlprefiles - oldobjs="$oldobjs $func_extract_archives_result" - fi - - # POSIX demands no paths to be encoded in archives. We have - # to avoid creating archives with duplicate basenames if we - # might have to extract them afterwards, e.g., when creating a - # static archive out of a convenience library, or when linking - # the entirety of a libtool archive into another (currently - # not supported by libtool). - if (for obj in $oldobjs - do - func_basename "$obj" - $ECHO "$func_basename_result" - done | sort | sort -uc >/dev/null 2>&1); then - : - else - $ECHO "copying selected object files to avoid basename conflicts..." - gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" - func_mkdir_p "$gentop" - save_oldobjs=$oldobjs - oldobjs= - counter=1 - for obj in $save_oldobjs - do - func_basename "$obj" - objbase="$func_basename_result" - case " $oldobjs " in - " ") oldobjs=$obj ;; - *[\ /]"$objbase "*) - while :; do - # Make sure we don't pick an alternate name that also - # overlaps. - newobj=lt$counter-$objbase - func_arith $counter + 1 - counter=$func_arith_result - case " $oldobjs " in - *[\ /]"$newobj "*) ;; - *) if test ! -f "$gentop/$newobj"; then break; fi ;; - esac - done - func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" - oldobjs="$oldobjs $gentop/$newobj" - ;; - *) oldobjs="$oldobjs $obj" ;; - esac - done - fi - eval cmds=\"$old_archive_cmds\" - - func_len " $cmds" - len=$func_len_result - if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then - cmds=$old_archive_cmds - else - # the command line is too long to link in one step, link in parts - func_verbose "using piecewise archive linking..." - save_RANLIB=$RANLIB - RANLIB=: - objlist= - concat_cmds= - save_oldobjs=$oldobjs - oldobjs= - # Is there a better way of finding the last object in the list? - for obj in $save_oldobjs - do - last_oldobj=$obj - done - eval test_cmds=\"$old_archive_cmds\" - func_len " $test_cmds" - len0=$func_len_result - len=$len0 - for obj in $save_oldobjs - do - func_len " $obj" - func_arith $len + $func_len_result - len=$func_arith_result - func_append objlist " $obj" - if test "$len" -lt "$max_cmd_len"; then - : - else - # the above command should be used before it gets too long - oldobjs=$objlist - if test "$obj" = "$last_oldobj" ; then - RANLIB=$save_RANLIB - fi - test -z "$concat_cmds" || concat_cmds=$concat_cmds~ - eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" - objlist= - len=$len0 - fi - done - RANLIB=$save_RANLIB - oldobjs=$objlist - if test "X$oldobjs" = "X" ; then - eval cmds=\"\$concat_cmds\" - else - eval cmds=\"\$concat_cmds~\$old_archive_cmds\" - fi - fi - fi - func_execute_cmds "$cmds" 'exit $?' - done - - test -n "$generated" && \ - func_show_eval "${RM}r$generated" - - # Now create the libtool archive. - case $output in - *.la) - old_library= - test "$build_old_libs" = yes && old_library="$libname.$libext" - func_verbose "creating $output" - - # Preserve any variables that may affect compiler behavior - for var in $variables_saved_for_relink; do - if eval test -z \"\${$var+set}\"; then - relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" - elif eval var_value=\$$var; test -z "$var_value"; then - relink_command="$var=; export $var; $relink_command" - else - func_quote_for_eval "$var_value" - relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" - fi - done - # Quote the link command for shipping. - relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" - relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"` - if test "$hardcode_automatic" = yes ; then - relink_command= - fi - - # Only create the output if not a dry run. - $opt_dry_run || { - for installed in no yes; do - if test "$installed" = yes; then - if test -z "$install_libdir"; then - break - fi - output="$output_objdir/$outputname"i - # Replace all uninstalled libtool libraries with the installed ones - newdependency_libs= - for deplib in $dependency_libs; do - case $deplib in - *.la) - func_basename "$deplib" - name="$func_basename_result" - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` - test -z "$libdir" && \ - func_fatal_error "\`$deplib' is not a valid libtool archive" - newdependency_libs="$newdependency_libs $libdir/$name" - ;; - *) newdependency_libs="$newdependency_libs $deplib" ;; - esac - done - dependency_libs="$newdependency_libs" - newdlfiles= - - for lib in $dlfiles; do - case $lib in - *.la) - func_basename "$lib" - name="$func_basename_result" - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` - test -z "$libdir" && \ - func_fatal_error "\`$lib' is not a valid libtool archive" - newdlfiles="$newdlfiles $libdir/$name" - ;; - *) newdlfiles="$newdlfiles $lib" ;; - esac - done - dlfiles="$newdlfiles" - newdlprefiles= - for lib in $dlprefiles; do - case $lib in - *.la) - # Only pass preopened files to the pseudo-archive (for - # eventual linking with the app. that links it) if we - # didn't already link the preopened objects directly into - # the library: - func_basename "$lib" - name="$func_basename_result" - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` - test -z "$libdir" && \ - func_fatal_error "\`$lib' is not a valid libtool archive" - newdlprefiles="$newdlprefiles $libdir/$name" - ;; - esac - done - dlprefiles="$newdlprefiles" - else - newdlfiles= - for lib in $dlfiles; do - case $lib in - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; - *) abs=`pwd`"/$lib" ;; - esac - newdlfiles="$newdlfiles $abs" - done - dlfiles="$newdlfiles" - newdlprefiles= - for lib in $dlprefiles; do - case $lib in - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; - *) abs=`pwd`"/$lib" ;; - esac - newdlprefiles="$newdlprefiles $abs" - done - dlprefiles="$newdlprefiles" - fi - $RM $output - # place dlname in correct position for cygwin - tdlname=$dlname - case $host,$output,$installed,$module,$dlname in - *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; - esac - $ECHO > $output "\ -# $outputname - a libtool library file -# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION -# -# Please DO NOT delete this file! -# It is necessary for linking the library. - -# The name that we can dlopen(3). -dlname='$tdlname' - -# Names of this library. -library_names='$library_names' - -# The name of the static archive. -old_library='$old_library' - -# Linker flags that can not go in dependency_libs. -inherited_linker_flags='$new_inherited_linker_flags' - -# Libraries that this one depends upon. -dependency_libs='$dependency_libs' - -# Names of additional weak libraries provided by this library -weak_library_names='$weak_libs' - -# Version information for $libname. -current=$current -age=$age -revision=$revision - -# Is this an already installed library? -installed=$installed - -# Should we warn about portability when linking against -modules? -shouldnotlink=$module - -# Files to dlopen/dlpreopen -dlopen='$dlfiles' -dlpreopen='$dlprefiles' - -# Directory that this library needs to be installed in: -libdir='$install_libdir'" - if test "$installed" = no && test "$need_relink" = yes; then - $ECHO >> $output "\ -relink_command=\"$relink_command\"" - fi - done - } - - # Do a symbolic link so that the libtool archive can be found in - # LD_LIBRARY_PATH before the program is installed. - func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' - ;; - esac - exit $EXIT_SUCCESS -} - -{ test "$mode" = link || test "$mode" = relink; } && - func_mode_link ${1+"$@"} - - -# func_mode_uninstall arg... -func_mode_uninstall () -{ - $opt_debug - RM="$nonopt" - files= - rmforce= - exit_status=0 - - # This variable tells wrapper scripts just to set variables rather - # than running their programs. - libtool_install_magic="$magic" - - for arg - do - case $arg in - -f) RM="$RM $arg"; rmforce=yes ;; - -*) RM="$RM $arg" ;; - *) files="$files $arg" ;; - esac - done - - test -z "$RM" && \ - func_fatal_help "you must specify an RM program" - - rmdirs= - - origobjdir="$objdir" - for file in $files; do - func_dirname "$file" "" "." - dir="$func_dirname_result" - if test "X$dir" = X.; then - objdir="$origobjdir" - else - objdir="$dir/$origobjdir" - fi - func_basename "$file" - name="$func_basename_result" - test "$mode" = uninstall && objdir="$dir" - - # Remember objdir for removal later, being careful to avoid duplicates - if test "$mode" = clean; then - case " $rmdirs " in - *" $objdir "*) ;; - *) rmdirs="$rmdirs $objdir" ;; - esac - fi - - # Don't error if the file doesn't exist and rm -f was used. - if { test -L "$file"; } >/dev/null 2>&1 || - { test -h "$file"; } >/dev/null 2>&1 || - test -f "$file"; then - : - elif test -d "$file"; then - exit_status=1 - continue - elif test "$rmforce" = yes; then - continue - fi - - rmfiles="$file" - - case $name in - *.la) - # Possibly a libtool archive, so verify it. - if func_lalib_p "$file"; then - func_source $dir/$name - - # Delete the libtool libraries and symlinks. - for n in $library_names; do - rmfiles="$rmfiles $objdir/$n" - done - test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" - - case "$mode" in - clean) - case " $library_names " in - # " " in the beginning catches empty $dlname - *" $dlname "*) ;; - *) rmfiles="$rmfiles $objdir/$dlname" ;; - esac - test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" - ;; - uninstall) - if test -n "$library_names"; then - # Do each command in the postuninstall commands. - func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' - fi - - if test -n "$old_library"; then - # Do each command in the old_postuninstall commands. - func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' - fi - # FIXME: should reinstall the best remaining shared library. - ;; - esac - fi - ;; - - *.lo) - # Possibly a libtool object, so verify it. - if func_lalib_p "$file"; then - - # Read the .lo file - func_source $dir/$name - - # Add PIC object to the list of files to remove. - if test -n "$pic_object" && - test "$pic_object" != none; then - rmfiles="$rmfiles $dir/$pic_object" - fi - - # Add non-PIC object to the list of files to remove. - if test -n "$non_pic_object" && - test "$non_pic_object" != none; then - rmfiles="$rmfiles $dir/$non_pic_object" - fi - fi - ;; - - *) - if test "$mode" = clean ; then - noexename=$name - case $file in - *.exe) - func_stripname '' '.exe' "$file" - file=$func_stripname_result - func_stripname '' '.exe' "$name" - noexename=$func_stripname_result - # $file with .exe has already been added to rmfiles, - # add $file without .exe - rmfiles="$rmfiles $file" - ;; - esac - # Do a test to see if this is a libtool program. - if func_ltwrapper_p "$file"; then - if func_ltwrapper_executable_p "$file"; then - func_ltwrapper_scriptname "$file" - relink_command= - func_source $func_ltwrapper_scriptname_result - rmfiles="$rmfiles $func_ltwrapper_scriptname_result" - else - relink_command= - func_source $dir/$noexename - fi - - # note $name still contains .exe if it was in $file originally - # as does the version of $file that was added into $rmfiles - rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" - if test "$fast_install" = yes && test -n "$relink_command"; then - rmfiles="$rmfiles $objdir/lt-$name" - fi - if test "X$noexename" != "X$name" ; then - rmfiles="$rmfiles $objdir/lt-${noexename}.c" - fi - fi - fi - ;; - esac - func_show_eval "$RM $rmfiles" 'exit_status=1' - done - objdir="$origobjdir" - - # Try to remove the ${objdir}s in the directories where we deleted files - for dir in $rmdirs; do - if test -d "$dir"; then - func_show_eval "rmdir $dir >/dev/null 2>&1" - fi - done - - exit $exit_status -} - -{ test "$mode" = uninstall || test "$mode" = clean; } && - func_mode_uninstall ${1+"$@"} - -test -z "$mode" && { - help="$generic_help" - func_fatal_help "you must specify a MODE" -} - -test -z "$exec_cmd" && \ - func_fatal_help "invalid operation mode \`$mode'" - -if test -n "$exec_cmd"; then - eval exec "$exec_cmd" - exit $EXIT_FAILURE -fi - -exit $exit_status - - -# The TAGs below are defined such that we never get into a situation -# in which we disable both kinds of libraries. Given conflicting -# choices, we go for a static library, that is the most portable, -# since we can't tell whether shared libraries were disabled because -# the user asked for that or because the platform doesn't support -# them. This is particularly important on AIX, because we don't -# support having both static and shared libraries enabled at the same -# time on that platform, so we default to a shared-only configuration. -# If a disable-shared tag is given, we'll fallback to a static-only -# configuration. But we'll never go from static-only to shared-only. - -# ### BEGIN LIBTOOL TAG CONFIG: disable-shared -build_libtool_libs=no -build_old_libs=yes -# ### END LIBTOOL TAG CONFIG: disable-shared - -# ### BEGIN LIBTOOL TAG CONFIG: disable-static -build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` -# ### END LIBTOOL TAG CONFIG: disable-static - -# Local Variables: -# mode:shell-script -# sh-indentation:2 -# End: -# vi:sw=2 - diff --git a/dep/ACE_wrappers/aux_config/missing b/dep/ACE_wrappers/aux_config/missing deleted file mode 100755 index 28055d2ae..000000000 --- a/dep/ACE_wrappers/aux_config/missing +++ /dev/null @@ -1,376 +0,0 @@ -#! /bin/sh -# Common stub for a few missing GNU programs while installing. - -scriptversion=2009-04-28.21; # UTC - -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, -# 2008, 2009 Free Software Foundation, Inc. -# Originally by Fran,cois Pinard , 1996. - -# This program 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, or (at your option) -# any later version. - -# This program 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 this program. If not, see . - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -if test $# -eq 0; then - echo 1>&2 "Try \`$0 --help' for more information" - exit 1 -fi - -run=: -sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' -sed_minuso='s/.* -o \([^ ]*\).*/\1/p' - -# In the cases where this matters, `missing' is being run in the -# srcdir already. -if test -f configure.ac; then - configure_ac=configure.ac -else - configure_ac=configure.in -fi - -msg="missing on your system" - -case $1 in ---run) - # Try to run requested program, and just exit if it succeeds. - run= - shift - "$@" && exit 0 - # Exit code 63 means version mismatch. This often happens - # when the user try to use an ancient version of a tool on - # a file that requires a minimum version. In this case we - # we should proceed has if the program had been absent, or - # if --run hadn't been passed. - if test $? = 63; then - run=: - msg="probably too old" - fi - ;; - - -h|--h|--he|--hel|--help) - echo "\ -$0 [OPTION]... PROGRAM [ARGUMENT]... - -Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an -error status if there is no known handling for PROGRAM. - -Options: - -h, --help display this help and exit - -v, --version output version information and exit - --run try to run the given command, and emulate it if it fails - -Supported PROGRAM values: - aclocal touch file \`aclocal.m4' - autoconf touch file \`configure' - autoheader touch file \`config.h.in' - autom4te touch the output file, or create a stub one - automake touch all \`Makefile.in' files - bison create \`y.tab.[ch]', if possible, from existing .[ch] - flex create \`lex.yy.c', if possible, from existing .c - help2man touch the output file - lex create \`lex.yy.c', if possible, from existing .c - makeinfo touch the output file - tar try tar, gnutar, gtar, then tar without non-portable flags - yacc create \`y.tab.[ch]', if possible, from existing .[ch] - -Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and -\`g' are ignored when checking the name. - -Send bug reports to ." - exit $? - ;; - - -v|--v|--ve|--ver|--vers|--versi|--versio|--version) - echo "missing $scriptversion (GNU Automake)" - exit $? - ;; - - -*) - echo 1>&2 "$0: Unknown \`$1' option" - echo 1>&2 "Try \`$0 --help' for more information" - exit 1 - ;; - -esac - -# normalize program name to check for. -program=`echo "$1" | sed ' - s/^gnu-//; t - s/^gnu//; t - s/^g//; t'` - -# Now exit if we have it, but it failed. Also exit now if we -# don't have it and --version was passed (most likely to detect -# the program). This is about non-GNU programs, so use $1 not -# $program. -case $1 in - lex*|yacc*) - # Not GNU programs, they don't have --version. - ;; - - tar*) - if test -n "$run"; then - echo 1>&2 "ERROR: \`tar' requires --run" - exit 1 - elif test "x$2" = "x--version" || test "x$2" = "x--help"; then - exit 1 - fi - ;; - - *) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - elif test "x$2" = "x--version" || test "x$2" = "x--help"; then - # Could not run --version or --help. This is probably someone - # running `$TOOL --version' or `$TOOL --help' to check whether - # $TOOL exists and not knowing $TOOL uses missing. - exit 1 - fi - ;; -esac - -# If it does not exist, or fails to run (possibly an outdated version), -# try to emulate it. -case $program in - aclocal*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`acinclude.m4' or \`${configure_ac}'. You might want - to install the \`Automake' and \`Perl' packages. Grab them from - any GNU archive site." - touch aclocal.m4 - ;; - - autoconf*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`${configure_ac}'. You might want to install the - \`Autoconf' and \`GNU m4' packages. Grab them from any GNU - archive site." - touch configure - ;; - - autoheader*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`acconfig.h' or \`${configure_ac}'. You might want - to install the \`Autoconf' and \`GNU m4' packages. Grab them - from any GNU archive site." - files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` - test -z "$files" && files="config.h" - touch_files= - for f in $files; do - case $f in - *:*) touch_files="$touch_files "`echo "$f" | - sed -e 's/^[^:]*://' -e 's/:.*//'`;; - *) touch_files="$touch_files $f.in";; - esac - done - touch $touch_files - ;; - - automake*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. - You might want to install the \`Automake' and \`Perl' packages. - Grab them from any GNU archive site." - find . -type f -name Makefile.am -print | - sed 's/\.am$/.in/' | - while read f; do touch "$f"; done - ;; - - autom4te*) - echo 1>&2 "\ -WARNING: \`$1' is needed, but is $msg. - You might have modified some files without having the - proper tools for further handling them. - You can get \`$1' as part of \`Autoconf' from any GNU - archive site." - - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` - if test -f "$file"; then - touch $file - else - test -z "$file" || exec >$file - echo "#! /bin/sh" - echo "# Created by GNU Automake missing as a replacement of" - echo "# $ $@" - echo "exit 0" - chmod +x $file - exit 1 - fi - ;; - - bison*|yacc*) - echo 1>&2 "\ -WARNING: \`$1' $msg. You should only need it if - you modified a \`.y' file. You may need the \`Bison' package - in order for those modifications to take effect. You can get - \`Bison' from any GNU archive site." - rm -f y.tab.c y.tab.h - if test $# -ne 1; then - eval LASTARG="\${$#}" - case $LASTARG in - *.y) - SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` - if test -f "$SRCFILE"; then - cp "$SRCFILE" y.tab.c - fi - SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` - if test -f "$SRCFILE"; then - cp "$SRCFILE" y.tab.h - fi - ;; - esac - fi - if test ! -f y.tab.h; then - echo >y.tab.h - fi - if test ! -f y.tab.c; then - echo 'main() { return 0; }' >y.tab.c - fi - ;; - - lex*|flex*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a \`.l' file. You may need the \`Flex' package - in order for those modifications to take effect. You can get - \`Flex' from any GNU archive site." - rm -f lex.yy.c - if test $# -ne 1; then - eval LASTARG="\${$#}" - case $LASTARG in - *.l) - SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` - if test -f "$SRCFILE"; then - cp "$SRCFILE" lex.yy.c - fi - ;; - esac - fi - if test ! -f lex.yy.c; then - echo 'main() { return 0; }' >lex.yy.c - fi - ;; - - help2man*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a dependency of a manual page. You may need the - \`Help2man' package in order for those modifications to take - effect. You can get \`Help2man' from any GNU archive site." - - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` - if test -f "$file"; then - touch $file - else - test -z "$file" || exec >$file - echo ".ab help2man is required to generate this page" - exit $? - fi - ;; - - makeinfo*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a \`.texi' or \`.texinfo' file, or any other file - indirectly affecting the aspect of the manual. The spurious - call might also be the consequence of using a buggy \`make' (AIX, - DU, IRIX). You might want to install the \`Texinfo' package or - the \`GNU make' package. Grab either from any GNU archive site." - # The file to touch is that specified with -o ... - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` - if test -z "$file"; then - # ... or it is the one specified with @setfilename ... - infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` - file=`sed -n ' - /^@setfilename/{ - s/.* \([^ ]*\) *$/\1/ - p - q - }' $infile` - # ... or it is derived from the source name (dir/f.texi becomes f.info) - test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info - fi - # If the file does not exist, the user really needs makeinfo; - # let's fail without touching anything. - test -f $file || exit 1 - touch $file - ;; - - tar*) - shift - - # We have already tried tar in the generic part. - # Look for gnutar/gtar before invocation to avoid ugly error - # messages. - if (gnutar --version > /dev/null 2>&1); then - gnutar "$@" && exit 0 - fi - if (gtar --version > /dev/null 2>&1); then - gtar "$@" && exit 0 - fi - firstarg="$1" - if shift; then - case $firstarg in - *o*) - firstarg=`echo "$firstarg" | sed s/o//` - tar "$firstarg" "$@" && exit 0 - ;; - esac - case $firstarg in - *h*) - firstarg=`echo "$firstarg" | sed s/h//` - tar "$firstarg" "$@" && exit 0 - ;; - esac - fi - - echo 1>&2 "\ -WARNING: I can't seem to be able to run \`tar' with the given arguments. - You may want to install GNU tar or Free paxutils, or check the - command line arguments." - exit 1 - ;; - - *) - echo 1>&2 "\ -WARNING: \`$1' is needed, and is $msg. - You might have modified some files without having the - proper tools for further handling them. Check the \`README' file, - it often tells you about the needed prerequisites for installing - this package. You may also peek at any GNU archive site, in case - some other package would contain this missing \`$1' program." - exit 1 - ;; -esac - -exit 0 - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" -# time-stamp-end: "; # UTC" -# End: diff --git a/dep/ACE_wrappers/bin/ACE-casts-convert b/dep/ACE_wrappers/bin/ACE-casts-convert deleted file mode 100755 index f216015f4..000000000 --- a/dep/ACE_wrappers/bin/ACE-casts-convert +++ /dev/null @@ -1,50 +0,0 @@ -#! /bin/sh - -# ============================================================================= -# -# @file ACE-casts-convert -# -# $Id: ACE-casts-convert 80826 2008-03-04 14:51:23Z wotte $ -# -# Script to convert all ACE cast macro calls (e.g. -# ACE_static_cast (foo, bar)) to their standard C++ counterparts (e.g. -# static_cast (bar)). -# -# Use this script at your own risk. It appears to work correctly for -# most cases, but verify the results "just in case". -# -# @note Wildcards may be supplied as the "FILE" arguments to this -# script since the shell should expand the wildcards before -# executing the script. -# -# @bug The sed program used in this script may loop indefinitely on -# ACE casts with arguments split across multiple lines -# containing patterns it doesn't recognize. -# -# @author Ossama Othman -# -# ============================================================================= - - -if test "$#" -eq 0; then - echo "Usage: $0 FILE [FILE2] ..." - echo "" - exit 1 -fi - -echo "" -echo "Converting ACE cast macro calls to standard C++ syntax in:" - -while test "$#" -gt 0 -do - arg="$1" - shift - - if grep "ACE_\(static\|dynamic\|const\|reinterpret\)_cast" $arg > /dev/null 2>&1; then - echo " $arg" - sed -e :a -e 's/ACE_\(const\|static\|reinterpret\|dynamic\)_cast[ \t]*([ \t]*\([^,]*\)[ \t]*,[ \t]*\([^ \t].*\)/\1_cast<\2> (\3/g; /ACE_\(const\|static\|reinterpret\|dynamic\)_cast[ \t]*([ \t]*\([^,]*\)[ \t]*,[ \t]*$/{N;s/\n//;ba;}; /ACE_\(const\|static\|reinterpret\|dynamic\)_cast[ \t]*([ \t]*$/{N;s/\n//;ba;}; /ACE_\(const\|static\|reinterpret\|dynamic\)_cast[ \t]*$/{N;s/\n//;ba;}; /ACE_\(const\|static\|reinterpret\|dynamic\)_cast[ \t]*(/ba' \ - -e :aa -e 's/ACE_\(const\|static\|reinterpret\|dynamic\)_cast_[1-5]_ref[ \t]*([ \t]*\([^,]*\)[ \t]*,\(.*\),[ \t]*\([^,]*\)/\1_cast<\2<\3> \&> (\4/g; /ACE_\(const\|static\|reinterpret\|dynamic\)_cast_[1-5]_ref[ \t]*([ \t]*\([^,]*\)[ \t]*,[ \t]*$/{N;s/\n//;baa;}; /ACE_\(const\|static\|reinterpret\|dynamic\)_cast_[1-5]_ref[ \t]*([ \t]*$/{N;s/\n//;baa;}; /ACE_\(const\|static\|reinterpret\|dynamic\)_cast_[1-5]_ref[ \t]*$/{N;s/\n//;baa;}; /ACE_\(const\|static\|reinterpret\|dynamic\)_cast_[1-5]_ref[ \t]*(/baa' \ - -e :aaa -e 's/ACE_\(const\|static\|reinterpret\|dynamic\)_cast_[1-5]_ptr[ \t]*([ \t]*\([^,]*\)[ \t]*,\(.*\),[ \t]*\([^,]*\)/\1_cast<\2<\3> \*> (\4/g; /ACE_\(const\|static\|reinterpret\|dynamic\)_cast_[1-5]_ptr[ \t]*([ \t]*\([^,]*\)[ \t]*,[ \t]*$/{N;s/\n//;baaa;}; /ACE_\(const\|static\|reinterpret\|dynamic\)_cast_[1-5]_ptr[ \t]*([ \t]*$/{N;s/\n//;baaa;}; /ACE_\(const\|static\|reinterpret\|dynamic\)_cast_[1-5]_ptr[ \t]*$/{N;s/\n//;baaa;}; /ACE_\(const\|static\|reinterpret\|dynamic\)_cast_[1-5]_ptr[ \t]*(/baaa' $arg > ${arg}.new - mv ${arg}.new $arg - fi -done diff --git a/dep/ACE_wrappers/bin/ACETAOCIAO.style b/dep/ACE_wrappers/bin/ACETAOCIAO.style deleted file mode 100644 index 3e20fc492..000000000 --- a/dep/ACE_wrappers/bin/ACETAOCIAO.style +++ /dev/null @@ -1,340 +0,0 @@ - - diff --git a/dep/ACE_wrappers/bin/ACEutils.pm b/dep/ACE_wrappers/bin/ACEutils.pm deleted file mode 100644 index fe67f50f7..000000000 --- a/dep/ACE_wrappers/bin/ACEutils.pm +++ /dev/null @@ -1,117 +0,0 @@ -# $Id: ACEutils.pm 91813 2010-09-17 07:52:52Z johnnyw $ - -require Process; -$EXEPREFIX = ".".$DIR_SEPARATOR; -$TARGETHOSTNAME = "localhost"; - -package ACE; - -sub CheckForExeDir -{ - for($i = 0; $i <= $#ARGV; $i++) { - if ($ARGV[$i] eq '-ExeSubDir') { - if (defined $ARGV[$i + 1]) { - $::EXEPREFIX = $ARGV[$i + 1].$::DIR_SEPARATOR; - } - else { - print STDERR "You must pass a directory with ExeSubDir\n"; - exit(1); - } - splice(@ARGV, $i, 2); - } - } -} - - -### Check and remove, but don't actually use -sub CheckForConfig -{ - for($i = 0; $i <= $#ARGV;) { - if ($ARGV[$i] eq '-Config') { - if (!defined $ARGV[$i + 1]) { - print STDERR "You must pass a configuration with Config\n"; - exit(1); - } - splice(@ARGV, $i, 2); - } else { - $i++; - } - } -} - -sub checkForTarget -{ - my($cwd) = shift; - - for($i = 0; $i <= $#ARGV; $i++) { - if ($ARGV[$i] eq '-chorus') { - if (defined $ARGV[$i + 1]) { - $::TARGETHOSTNAME = $ARGV[$i + 1]; - $::EXEPREFIX = "rsh $::TARGETHOSTNAME arun $cwd$::DIR_SEPARATOR"; - } - else { - print STDERR "The -chorus option requires " . - "the hostname of the target\n"; - exit(1); - } - splice(@ARGV, $i, 2); - # Don't break from the loop just in case there - # is an accidental duplication of the -chorus option - } - } -} - - -# Returns a unique id, uid for unix, last digit of IP for NT -sub uniqueid -{ - if ($^O eq "MSWin32") - { - my $uid = 1; - - open (IPNUM, "ipconfig|") || die "Can't run ipconfig: $!\n"; - - while () - { - if (/Address/) - { - $uid = (split (/: (\d+)\.(\d+)\.(\d+)\.(\d+)/))[4]; - } - } - - close IPNUM; - - return $uid; - } - else - { - return getpwnam (getlogin ()); - } -} - -# Waits until a file exists -sub waitforfile -{ - local($file) = @_; - sleep 1 while (!(-e $file && -s $file)); -} - -sub waitforfile_timed -{ - my $file = shift; - my $maxtime = shift; - while ($maxtime-- != 0) { - if (-e $file && -s $file) { - return 0; - } - sleep 1; - } - return -1; -} - -$sleeptime = 5; - -CheckForExeDir (); -CheckForConfig (); - -1; diff --git a/dep/ACE_wrappers/bin/GNUmakefile b/dep/ACE_wrappers/bin/GNUmakefile deleted file mode 100644 index b158c2558..000000000 --- a/dep/ACE_wrappers/bin/GNUmakefile +++ /dev/null @@ -1,41 +0,0 @@ -# -*- makefile -*- -#---------------------------------------------------------------------------- -# GNU ACE Workspace -# -# $Id: GNUACEWorkspaceCreator.pm 91813 2010-09-17 07:52:52Z johnnyw $ -# -# This file was generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -# MPC Command: -# /tmp/DOC_ROOT/stage-1367/ACE_wrappers/bin/mwc.pl -type gnuace -exclude "TAO/TAO_*.mwc,TAO/CIAO/CIAO_*.mwc" -recurse -hierarchy -relative ACE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers -relative TAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO -relative CIAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/CIAO -relative DANCE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/DAnCE -# -#---------------------------------------------------------------------------- - -MAKEFILE = GNUmakefile - -ifeq ($(findstring k,$(MAKEFLAGS)),k) - KEEP_GOING = - -endif - -include $(ACE_ROOT)/include/makeinclude/macros.GNU - -all: bin PerlACE-target - -REMAINING_TARGETS := $(filter-out all,$(TARGETS_NESTED:.nested=)) $(CUSTOM_TARGETS) - -$(REMAINING_TARGETS): - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.bin $(@) - $(KEEP_GOING)@cd PerlACE && $(MAKE) -f GNUmakefile.PerlACE $(@) - -.PHONY: bin -bin: - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.bin all - -.PHONY: PerlACE-target -PerlACE-target: - $(KEEP_GOING)@cd PerlACE && $(MAKE) -f GNUmakefile.PerlACE all - -project_name_list: - @echo bin - @echo PerlACE-target diff --git a/dep/ACE_wrappers/bin/GNUmakefile.bin b/dep/ACE_wrappers/bin/GNUmakefile.bin deleted file mode 100644 index 853530d18..000000000 --- a/dep/ACE_wrappers/bin/GNUmakefile.bin +++ /dev/null @@ -1,178 +0,0 @@ -# -*- Makefile -*- -#---------------------------------------------------------------------------- -# GNU Makefile -# -# @file GNUmakefile.bin -# -# $Id: gnu.mpd 91974 2010-09-23 16:17:42Z mitza $ -# -# This file was automatically generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -#---------------------------------------------------------------------------- -MAKEFILE = GNUmakefile.bin -DEPENDENCY_FILE = .depend.bin -BIN_UNCHECKED = envinfo - -LIB_PREFIX ?= lib - -FILES = \ - envinfo.cpp - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- -LDLIBS = -lACE - -PRJ_TYPE = rtp - -ifeq ($(INSBIN),.) - ifeq ($(CURDIR),) - ifeq ($(PWD),) - PWD=$(shell pwd) - endif - else - PWD=$(CURDIR) - endif - INSBIN = $(PWD) -endif -OUTPUT_DIRECTORY = $(if $(ARCH),./$(ARCH)) - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU - - -GNUACE_PROJECT_VERSION ?= $(ACE_VERSION) - -# To build multiple targets in the same directory on AIX, it works -# best to have a template directory per project. -# The compiler/linker isn't too smart about instantiating templates... -ifdef TEMPINCDIR -TEMPINCDIR := $(TEMPINCDIR)/bin -all: $(TEMPINCDIR) -endif - -ifneq ($(OUTPUT_DIRECTORY),) -.PHONY: create_output_directory.local -all: create_output_directory.local -create_output_directory.local: - -@$(MKDIR) "$(OUTPUT_DIRECTORY)" $(ACE_NUL_STDERR) -endif - -# turn off libcheck if doing a dry run -ifeq ($(findstring n, $(MAKEFLAGS)),n) - LIBCHECK = 1 -else - # turn off libcheck if keep going was passed too - ifeq ($(findstring k, $(MAKEFLAGS)),k) - LIBCHECK = 1 - else - LIBCHECK ?= $(filter-out $(foreach lib,ACE,$(findstring $(lib),$(foreach libpath,. $(if $(ARCH),./$(ARCH)) ../lib $(if $(ARCH),../lib/$(ARCH)) /usr/lib /usr/lib64 $(INSLIB),$(wildcard $(libpath)/$(LIB_PREFIX)$(lib).* $(libpath)/$(lib).lib)))),ACE) - ifeq ($(LIBCHECK),) - LIBCHECK = 1 - endif - endif -endif -ifeq ($(LIBCHECK), 1) -BIN = $(BIN_UNCHECKED)$(EXEEXT) -ifdef ARCH - ARCH_BIN = $(ARCH)/$(BIN) -endif #ARCH -else - all: lib_warning -endif - -# If it contains ../ at all use notdir. -OBJS = $(foreach var, $(addsuffix .$(OBJEXT), $(basename $(FILES)) $(RESOURCES)), $(if $(findstring ../,$(var)),$(notdir $(var)),$(var))) -SRC = $(FILES) - -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU - -ifneq ($(INSBIN),) -ifneq ($(INSBIN),.) - INSTALL = $(VBIN:%=$(INSBIN)/%) - CLEANUP_INSTALL += $(CLEANUP_BIN:%=$(INSBIN)/$(if $(ARCH),$(ARCH)/)%$(VAR)$(EXEEXT)) -endif -endif - -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -ifeq ($(VXWORKSLINK),1) -include $(TGT_DIR)/h/make/rules.$(PRJ_TYPE) -endif - -ifeq ($(VXWORKSLINK),1) -LDLIBPATH = -L. -L../lib -else -LDFLAGS += -L. $(if $(ARCH),-L./$(ARCH)) -L../lib $(if $(ARCH),-L../lib/$(ARCH)) -endif -CPPFLAGS += -I.. -ifeq ($(static_libs),1) - CPPFLAGS += -DACE_AS_STATIC_LIBS - ifeq ($(link_groups), 1) - LDLIBS := -Wl,--start-group $(LDLIBS) -Wl,--end-group - endif -endif - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- -lib_warning: - @echo bin will not be built due to the following missing library: $(LIBCHECK) >&2 - -## Some OS's have /bin/test others only have /usr/bin/test -ifeq ($(wildcard /bin/test), /bin/test) - TEST_EXE = /bin/test -else -ifeq ($(wildcard /usr/bin/test), /usr/bin/test) - TEST_EXE = /usr/bin/test -endif -endif - -SPACE = $(should_be_unset) $(should_be_unset) -ifneq ($(GENERATED_DIRTY),) -.PRECIOUS: $(GENERATED_DIRTY) -## If the generated files are anything but source files, we need to -## ensure that those files are generated before we attempt to build anything -## else. -ifeq ($(OBJS_DEPEND_ON_GENERATED),1) -$(VDIR)$(ACE_PCH_FILE) $(addprefix $(VDIR), $(OBJS)): $(GENERATED_DIRTY) -$(VSHDIR)$(ACE_PCH_FILE) $(VSHOBJS): $(GENERATED_DIRTY) -endif -endif - - -ifneq ($(VXWORKSLINK),1) -ifeq ($(static_libs_only), 1) - ifeq ($(use_dep_libs), 1) - DEPLIBS = $(foreach lib, ACE , $(foreach libpath, . ../lib, $(wildcard $(libpath)/lib$(lib).a))) - endif -endif - -$(VBIN): $(addprefix $(VDIR), $(OBJS)) $(DEPLIBS) - ifneq (,$(LINK.cc.override)) - $(LINK.cc.override) - else - $(LINK.cc) $(LDFLAGS) $(CC_OUTPUT_FLAG) $@ $(filter-out %.a,$^) $(VLDLIBS) $(POSTLINK) - endif -endif - -realclean: clean -ifneq ($(GENERATED_DIRTY),) - -$(RM) -r $(GENERATED_DIRTY) -endif - -__prebuild__: - @-: - - -.PHONY: install -install: all -INSTALL_LIB ?= lib -ifneq ($(INSTALL_PREFIX),) -ifneq ($(install_rpath),0) -LDFLAGS += -Wl,-R$(INSTALL_PREFIX)/$(INSTALL_LIB) -endif -endif - - diff --git a/dep/ACE_wrappers/bin/Makefile.am b/dep/ACE_wrappers/bin/Makefile.am deleted file mode 100644 index 96aad5a6e..000000000 --- a/dep/ACE_wrappers/bin/Makefile.am +++ /dev/null @@ -1,40 +0,0 @@ -## Process this file with automake to create Makefile.in -## -## $Id: Makefile.am 80826 2008-03-04 14:51:23Z wotte $ -## -## This file was generated by MPC. Any changes made directly to -## this file will be lost the next time it is generated. -## -## MPC Command: -## bin/mwc.pl -type automake -noreldefs -features ssl=1,qos=1 ACE.mwc - -ACE_BUILDDIR = $(top_builddir) -ACE_ROOT = $(top_srcdir) - -SUBDIRS = \ - . \ - PerlACE - -## Makefile.bin.am - -noinst_SCRIPTS = auto_run_tests.pl ace_tests.lst - -noinst_PROGRAMS = envinfo - -envinfo_CPPFLAGS = \ - -I$(ACE_ROOT) \ - -I$(ACE_BUILDDIR) - -envinfo_SOURCES = \ - envinfo.cpp - -envinfo_LDADD = \ - $(ACE_BUILDDIR)/ace/libACE.la - -## Clean up template repositories, etc. -clean-local: - -rm -f *~ *.bak *.rpo *.sym lib*.*_pure_* core core.* - -rm -f gcctemp.c gcctemp so_locations *.ics - -rm -rf cxx_repository ptrepository ti_files - -rm -rf templateregistry ir.out - -rm -rf ptrepository SunWS_cache Templates.DB diff --git a/dep/ACE_wrappers/bin/Makefile.in b/dep/ACE_wrappers/bin/Makefile.in deleted file mode 100644 index b21d3c6a3..000000000 --- a/dep/ACE_wrappers/bin/Makefile.in +++ /dev/null @@ -1,739 +0,0 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -target_triplet = @target@ -noinst_PROGRAMS = envinfo$(EXEEXT) -subdir = bin -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ace.m4 \ - $(top_srcdir)/m4/ace_defines.m4 $(top_srcdir)/m4/ace_func.m4 \ - $(top_srcdir)/m4/ace_functions.m4 \ - $(top_srcdir)/m4/ace_headers.m4 $(top_srcdir)/m4/acinclude.m4 \ - $(top_srcdir)/m4/aio.m4 $(top_srcdir)/m4/compiler.m4 \ - $(top_srcdir)/m4/config_h.m4 $(top_srcdir)/m4/libtool.m4 \ - $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ - $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ - $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/platform.m4 \ - $(top_srcdir)/m4/subsets.m4 $(top_srcdir)/m4/threads.m4 \ - $(top_srcdir)/m4/tls.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/ace/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -PROGRAMS = $(noinst_PROGRAMS) -am_envinfo_OBJECTS = envinfo-envinfo.$(OBJEXT) -envinfo_OBJECTS = $(am_envinfo_OBJECTS) -envinfo_DEPENDENCIES = $(ACE_BUILDDIR)/ace/libACE.la -SCRIPTS = $(noinst_SCRIPTS) -DEFAULT_INCLUDES = -depcomp = $(SHELL) $(top_srcdir)/aux_config/depcomp -am__depfiles_maybe = depfiles -am__mv = mv -f -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -CXXLD = $(CXX) -CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ -SOURCES = $(envinfo_SOURCES) -DIST_SOURCES = $(envinfo_SOURCES) -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ - install-html-recursive install-info-recursive \ - install-pdf-recursive install-ps-recursive install-recursive \ - installcheck-recursive installdirs-recursive pdf-recursive \ - ps-recursive uninstall-recursive -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ - distclean-recursive maintainer-clean-recursive -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ - distdir -ETAGS = etags -CTAGS = ctags -DIST_SUBDIRS = $(SUBDIRS) -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -am__relativize = \ - dir0=`pwd`; \ - sed_first='s,^\([^/]*\)/.*$$,\1,'; \ - sed_rest='s,^[^/]*/*,,'; \ - sed_last='s,^.*/\([^/]*\)$$,\1,'; \ - sed_butlast='s,/*[^/]*$$,,'; \ - while test -n "$$dir1"; do \ - first=`echo "$$dir1" | sed -e "$$sed_first"`; \ - if test "$$first" != "."; then \ - if test "$$first" = ".."; then \ - dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ - dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ - else \ - first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ - if test "$$first2" = "$$first"; then \ - dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ - else \ - dir2="../$$dir2"; \ - fi; \ - dir0="$$dir0"/"$$first"; \ - fi; \ - fi; \ - dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ - done; \ - reldir="$$dir2" -ACEXML = @ACEXML@ -ACE_BETA = @ACE_BETA@ -ACE_BZIP2_CPPFLAGS = @ACE_BZIP2_CPPFLAGS@ -ACE_BZIP2_LDFLAGS = @ACE_BZIP2_LDFLAGS@ -ACE_BZIP2_LIBS = @ACE_BZIP2_LIBS@ -ACE_FLTK_CPPFLAGS = @ACE_FLTK_CPPFLAGS@ -ACE_FLTK_LIBS = @ACE_FLTK_LIBS@ -ACE_FOX_CPPFLAGS = @ACE_FOX_CPPFLAGS@ -ACE_FOX_LIBS = @ACE_FOX_LIBS@ -ACE_KERBEROS_INCLUDES = @ACE_KERBEROS_INCLUDES@ -ACE_MAJOR = @ACE_MAJOR@ -ACE_MINOR = @ACE_MINOR@ -ACE_QT_CPPFLAGS = @ACE_QT_CPPFLAGS@ -ACE_QT_LIBS = @ACE_QT_LIBS@ -ACE_TCL_CPPFLAGS = @ACE_TCL_CPPFLAGS@ -ACE_TCL_LIBS = @ACE_TCL_LIBS@ -ACE_TESTS_DIR = @ACE_TESTS_DIR@ -ACE_TK_CPPFLAGS = @ACE_TK_CPPFLAGS@ -ACE_TK_LIBS = @ACE_TK_LIBS@ -ACE_TLS_CPPFLAGS = @ACE_TLS_CPPFLAGS@ -ACE_TLS_LDFLAGS = @ACE_TLS_LDFLAGS@ -ACE_TLS_LIBS = @ACE_TLS_LIBS@ -ACE_VERSION_NAME = @ACE_VERSION_NAME@ -ACE_X11_CPPFLAGS = @ACE_X11_CPPFLAGS@ -ACE_X11_LDFLAGS = @ACE_X11_LDFLAGS@ -ACE_X11_LIBS = @ACE_X11_LIBS@ -ACE_XLIBS = @ACE_XLIBS@ -ACE_XT_CPPFLAGS = @ACE_XT_CPPFLAGS@ -ACE_XT_LDFLAGS = @ACE_XT_LDFLAGS@ -ACE_XT_LIBS = @ACE_XT_LIBS@ -ACE_ZLIB_CPPFLAGS = @ACE_ZLIB_CPPFLAGS@ -ACE_ZLIB_LDFLAGS = @ACE_ZLIB_LDFLAGS@ -ACE_ZLIB_LIBS = @ACE_ZLIB_LIBS@ -ACE_ZZIP_CPPFLAGS = @ACE_ZZIP_CPPFLAGS@ -ACE_ZZIP_LDFLAGS = @ACE_ZZIP_LDFLAGS@ -ACE_ZZIP_LIBS = @ACE_ZZIP_LIBS@ -ACLOCAL = @ACLOCAL@ -ALLOCA = @ALLOCA@ -AMTAR = @AMTAR@ -AR = @AR@ -ASNMP = @ASNMP@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FGREP = @FGREP@ -FLTKCONFIG = @FLTKCONFIG@ -FOXCONFIG = @FOXCONFIG@ -GPERF = @GPERF@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -KOKYU = @KOKYU@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LEX = @LEX@ -LEXLIB = @LEXLIB@ -LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PROF = @PROF@ -PURIFY = @PURIFY@ -QTDIR = @QTDIR@ -QUANTIFY = @QUANTIFY@ -Qt_CFLAGS = @Qt_CFLAGS@ -Qt_LIBS = @Qt_LIBS@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -TAO = @TAO@ -VERSION = @VERSION@ -XMKMF = @XMKMF@ -XTREACTOR_TEST_XLIBS = @XTREACTOR_TEST_XLIBS@ -X_CFLAGS = @X_CFLAGS@ -X_EXTRA_LIBS = @X_EXTRA_LIBS@ -X_LIBS = @X_LIBS@ -X_PRE_LIBS = @X_PRE_LIBS@ -YACC = @YACC@ -YFLAGS = @YFLAGS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -protocols = @protocols@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -subdirs = @subdirs@ -sysconfdir = @sysconfdir@ -target = @target@ -target_alias = @target_alias@ -target_cpu = @target_cpu@ -target_os = @target_os@ -target_vendor = @target_vendor@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -ACE_BUILDDIR = $(top_builddir) -ACE_ROOT = $(top_srcdir) -SUBDIRS = \ - . \ - PerlACE - -noinst_SCRIPTS = auto_run_tests.pl ace_tests.lst -envinfo_CPPFLAGS = \ - -I$(ACE_ROOT) \ - -I$(ACE_BUILDDIR) - -envinfo_SOURCES = \ - envinfo.cpp - -envinfo_LDADD = \ - $(ACE_BUILDDIR)/ace/libACE.la - -all: all-recursive - -.SUFFIXES: -.SUFFIXES: .cpp .lo .o .obj -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign bin/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign bin/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): - -clean-noinstPROGRAMS: - @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ - echo " rm -f" $$list; \ - rm -f $$list || exit $$?; \ - test -n "$(EXEEXT)" || exit 0; \ - list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f" $$list; \ - rm -f $$list -envinfo$(EXEEXT): $(envinfo_OBJECTS) $(envinfo_DEPENDENCIES) - @rm -f envinfo$(EXEEXT) - $(CXXLINK) $(envinfo_OBJECTS) $(envinfo_LDADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/envinfo-envinfo.Po@am__quote@ - -.cpp.o: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< - -.cpp.obj: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.cpp.lo: -@am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< - -envinfo-envinfo.o: envinfo.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(envinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT envinfo-envinfo.o -MD -MP -MF $(DEPDIR)/envinfo-envinfo.Tpo -c -o envinfo-envinfo.o `test -f 'envinfo.cpp' || echo '$(srcdir)/'`envinfo.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/envinfo-envinfo.Tpo $(DEPDIR)/envinfo-envinfo.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='envinfo.cpp' object='envinfo-envinfo.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(envinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o envinfo-envinfo.o `test -f 'envinfo.cpp' || echo '$(srcdir)/'`envinfo.cpp - -envinfo-envinfo.obj: envinfo.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(envinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT envinfo-envinfo.obj -MD -MP -MF $(DEPDIR)/envinfo-envinfo.Tpo -c -o envinfo-envinfo.obj `if test -f 'envinfo.cpp'; then $(CYGPATH_W) 'envinfo.cpp'; else $(CYGPATH_W) '$(srcdir)/envinfo.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/envinfo-envinfo.Tpo $(DEPDIR)/envinfo-envinfo.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='envinfo.cpp' object='envinfo-envinfo.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(envinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o envinfo-envinfo.obj `if test -f 'envinfo.cpp'; then $(CYGPATH_W) 'envinfo.cpp'; else $(CYGPATH_W) '$(srcdir)/envinfo.cpp'; fi` - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -$(RECURSIVE_CLEAN_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - set x; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ - $(am__relativize); \ - new_distdir=$$reldir; \ - dir1=$$subdir; dir2="$(top_distdir)"; \ - $(am__relativize); \ - new_top_distdir=$$reldir; \ - echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ - echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ - ($(am__cd) $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$new_top_distdir" \ - distdir="$$new_distdir" \ - am__remove_distdir=: \ - am__skip_length_check=: \ - am__skip_mode_fix=: \ - distdir) \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-recursive -all-am: Makefile $(PROGRAMS) $(SCRIPTS) -installdirs: installdirs-recursive -installdirs-am: -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-recursive - -clean-am: clean-generic clean-libtool clean-local clean-noinstPROGRAMS \ - mostlyclean-am - -distclean: distclean-recursive - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -html-am: - -info: info-recursive - -info-am: - -install-data-am: - -install-dvi: install-dvi-recursive - -install-dvi-am: - -install-exec-am: - -install-html: install-html-recursive - -install-html-am: - -install-info: install-info-recursive - -install-info-am: - -install-man: - -install-pdf: install-pdf-recursive - -install-pdf-am: - -install-ps: install-ps-recursive - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: - -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ - install-am install-strip tags-recursive - -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ - all all-am check check-am clean clean-generic clean-libtool \ - clean-local clean-noinstPROGRAMS ctags ctags-recursive \ - distclean distclean-compile distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags tags-recursive uninstall uninstall-am - - -clean-local: - -rm -f *~ *.bak *.rpo *.sym lib*.*_pure_* core core.* - -rm -f gcctemp.c gcctemp so_locations *.ics - -rm -rf cxx_repository ptrepository ti_files - -rm -rf templateregistry ir.out - -rm -rf ptrepository SunWS_cache Templates.DB - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/dep/ACE_wrappers/bin/PerlACE/ConfigList.pm b/dep/ACE_wrappers/bin/PerlACE/ConfigList.pm deleted file mode 100644 index 5688c2144..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/ConfigList.pm +++ /dev/null @@ -1,177 +0,0 @@ -#! /usr/bin/perl -# $Id: ConfigList.pm 82648 2008-08-21 06:55:54Z johnnyw $ - -package PerlACE::ConfigList; -use strict; -use FileHandle; - -@PerlACE::ConfigList::Configs = (); -@PerlACE::ConfigList::Excludes = (); - -my @new_argv = (); - -for(my $i = 0; $i <= $#ARGV; ++$i) { - if ($ARGV[$i] eq '-Config') { - if (defined $ARGV[$i + 1]) { - push @PerlACE::ConfigList::Configs, $ARGV[++$i]; - } - else { - print STDERR "You must pass a configuration with -Config\n"; - exit(1); - } - } - elsif ($ARGV[$i] eq '-Exclude') { - if (defined $ARGV[$i + 1]) { - push @PerlACE::ConfigList::Excludes, $ARGV[++$i]; - } - else { - print STDERR "You must pass an exclude pattern with -Exclude\n"; - exit(1); - } - } - else { - push @new_argv, $ARGV[$i]; - } -} -@ARGV = @new_argv; - - -sub new () -{ - my $self = {}; - @{$self->{MY_CONFIGS}} = @PerlACE::ConfigList::Configs; - bless $self; - return $self; -} - -sub my_config_list -{ - my $self = shift; - if (@_) { @{$self->{MY_CONFIGS}} = @_; } - return @{$self->{MY_CONFIGS}}; -} - -sub add_one_config ($) -{ - my $self = shift; - my $newconfig = shift; - push @{$self->{MY_CONFIGS}}, $newconfig; -} - -sub check_config (@) -{ - my $self = shift; - my @testconfigs = @_; - my $the_config_allows_this = 1; # default case is true - - # Go though each ID on the line in turn... - foreach my $config (@testconfigs) { - my $required_found = !($config =~ /^\w/); - foreach my $myconfig (@{$self->{MY_CONFIGS}}) { - if ($config eq "!$myconfig") { $the_config_allows_this = 0; } - if ($config eq $myconfig) { $required_found = 1; } - } - if (!$required_found) { $the_config_allows_this = 0; } - } - return $the_config_allows_this; -} - -sub load ($) -{ - my $self = shift; - my $filename = shift; - - my $fh = new FileHandle; - if (!$fh->open ("< $filename")) { - print STDERR "Could not open $filename: $!\n"; - exit (1); - } - - while (<$fh>) { - chomp; - if (/^\s*$/ || /^#/) { - next; - } - # compress white space - s/\s+/ /g; - - my $entry = ''; - my $configs = ''; - - ($entry, $configs) = split /:/; - - # remove trailing white spaces - $entry =~ s/\s+$//; - - push @{$self->{ENTRIES}}, $entry; - if (defined $configs) { - @{$self->{CONFIGS}->{$entry}} = split (" ", $configs); - } - } - - $fh->close (); -} - -sub valid_entries () -{ - my $self = shift; - my @entries = (); - my $exclude = 0; - - foreach my $entry (@{$self->{ENTRIES}}) { - $exclude = 0; - foreach my $expat (@PerlACE::ConfigList::Excludes) { - if ($entry =~ /$expat/) { - $exclude = 1; - last; - } - } - if (!$exclude && $self->check_config (@{$self->{CONFIGS}->{$entry}})) { - push @entries, $entry; - } - } - return @entries; -} - -sub list_configs () -{ - my $self = shift; - my %allconfigs = {}; - my $list = ''; - - foreach my $entry (@{$self->{ENTRIES}}) { - - foreach my $config (@{$self->{CONFIGS}->{$entry}}) { - $config =~ s/!//g; - if ($allconfigs{$config} != 1) { - $list .= $config.' '; - $allconfigs{$config} = 1; - } - } - } - - return $list; -} - -sub dump () -{ - my $self = shift; - - print "============================================================\n"; - print "Config\n"; - foreach my $config (@{$self->{MY_CONFIGS}}) { - print $config, "\n"; - } - print "\n"; - print "Entries\n"; - foreach my $entry (@{$self->{ENTRIES}}) { - print "- ", $entry, ": "; - foreach my $config (@{$self->{CONFIGS}->{$entry}}) { - print $config, " "; - } - print "\n"; - } - print "============================================================\n"; -} - -1; diff --git a/dep/ACE_wrappers/bin/PerlACE/GNUmakefile b/dep/ACE_wrappers/bin/PerlACE/GNUmakefile deleted file mode 100644 index eeeaba8a9..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/GNUmakefile +++ /dev/null @@ -1,35 +0,0 @@ -# -*- makefile -*- -#---------------------------------------------------------------------------- -# GNU ACE Workspace -# -# $Id: GNUACEWorkspaceCreator.pm 91813 2010-09-17 07:52:52Z johnnyw $ -# -# This file was generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -# MPC Command: -# /tmp/DOC_ROOT/stage-1367/ACE_wrappers/bin/mwc.pl -type gnuace -exclude "TAO/TAO_*.mwc,TAO/CIAO/CIAO_*.mwc" -recurse -hierarchy -relative ACE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers -relative TAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO -relative CIAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/CIAO -relative DANCE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/DAnCE -# -#---------------------------------------------------------------------------- - -MAKEFILE = GNUmakefile - -ifeq ($(findstring k,$(MAKEFLAGS)),k) - KEEP_GOING = - -endif - -include $(ACE_ROOT)/include/makeinclude/macros.GNU - -all: PerlACE - -REMAINING_TARGETS := $(filter-out all,$(TARGETS_NESTED:.nested=)) $(CUSTOM_TARGETS) - -$(REMAINING_TARGETS): - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.PerlACE $(@) - -.PHONY: PerlACE -PerlACE: - $(KEEP_GOING)@$(MAKE) -f GNUmakefile.PerlACE all - -project_name_list: - @echo PerlACE diff --git a/dep/ACE_wrappers/bin/PerlACE/GNUmakefile.PerlACE b/dep/ACE_wrappers/bin/PerlACE/GNUmakefile.PerlACE deleted file mode 100644 index eed698cda..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/GNUmakefile.PerlACE +++ /dev/null @@ -1,120 +0,0 @@ -# -*- Makefile -*- -#---------------------------------------------------------------------------- -# GNU Makefile -# -# @file GNUmakefile.PerlACE -# -# $Id: gnu.mpd 91974 2010-09-23 16:17:42Z mitza $ -# -# This file was automatically generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -#---------------------------------------------------------------------------- -MAKEFILE = GNUmakefile.PerlACE -DEPENDENCY_FILE = .depend.PerlACE - -LIB_PREFIX ?= lib - -FILES = \ - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -PRJ_TYPE = library - -COLLAPSE_SLASHES = $(if $(findstring //,$(1)),$(call COLLAPSE_SLASHES,$(subst //,/,$(1))),$(1)) -INSLIB ?= $(call COLLAPSE_SLASHES,.) -ifeq ($(INSLIB),.) - ifeq ($(CURDIR),) - ifeq ($(PWD),) - PWD=$(shell pwd) - endif - else - PWD=$(CURDIR) - endif - INSLIB = $(PWD) -endif -OUTPUT_DIRECTORY = $(INSLIB) - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU - - -GNUACE_PROJECT_VERSION ?= $(ACE_VERSION) - -# To build multiple targets in the same directory on AIX, it works -# best to have a template directory per project. -# The compiler/linker isn't too smart about instantiating templates... -ifdef TEMPINCDIR -TEMPINCDIR := $(TEMPINCDIR)/PerlACE -all: $(TEMPINCDIR) -endif - -ifneq ($(OUTPUT_DIRECTORY),) -.PHONY: create_output_directory.local -all: create_output_directory.local -create_output_directory.local: - -@$(MKDIR) "$(OUTPUT_DIRECTORY)" $(ACE_NUL_STDERR) -endif - -LIBCHECK = 1 -ifneq ($(LIBCHECK), 1) - all: lib_warning -endif - - -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -ifeq ($(VXWORKSLINK),1) -include $(TGT_DIR)/h/make/rules.$(PRJ_TYPE) -endif - -ifeq ($(VXWORKSLINK),1) -LDLIBPATH = -L. -else -LDFLAGS += -L. $(if $(ARCH),-L./$(ARCH)) -endif - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- -lib_warning: - @echo PerlACE will not be built due to the following missing library: $(LIBCHECK) >&2 - -## Some OS's have /bin/test others only have /usr/bin/test -ifeq ($(wildcard /bin/test), /bin/test) - TEST_EXE = /bin/test -else -ifeq ($(wildcard /usr/bin/test), /usr/bin/test) - TEST_EXE = /usr/bin/test -endif -endif - -SPACE = $(should_be_unset) $(should_be_unset) -ifneq ($(GENERATED_DIRTY),) -.PRECIOUS: $(GENERATED_DIRTY) -all: $(GENERATED_DIRTY) -endif - - -realclean: clean -ifneq ($(GENERATED_DIRTY),) - -$(RM) -r $(GENERATED_DIRTY) -endif - -__prebuild__: - @-: - - -.PHONY: install -install: all -INSTALL_LIB ?= lib -ifneq ($(INSTALL_PREFIX),) -ifneq ($(install_rpath),0) -LDFLAGS += -Wl,-R$(INSTALL_PREFIX)/$(INSTALL_LIB) -endif -endif - - diff --git a/dep/ACE_wrappers/bin/PerlACE/MSProject.pm b/dep/ACE_wrappers/bin/PerlACE/MSProject.pm deleted file mode 100644 index b761a1040..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/MSProject.pm +++ /dev/null @@ -1,394 +0,0 @@ -#! /usr/bin/perl -# $Id: MSProject.pm 91813 2010-09-17 07:52:52Z johnnyw $ - -package PerlACE::MSProject; - -use strict; -use FileHandle; - -############################################################################### - -# Constructor - -sub new -{ - my $proto = shift; - my $class = ref ($proto) || $proto; - my $self = {}; - - $self->{FILENAME} = shift; - $self->{VERSION} = undef; - $self->{NAME} = undef; - %{$self->{CONFIGS}} = (); - - bless ($self, $class); - return $self; -} - -############################################################################### - -# Accessors - -sub Filename -{ - my $self = shift; - - if (@_ != 0) { - $self->{FILENAME} = shift; - } - - return $self->{FILENAME}; -} - -sub Version () -{ - my $self = shift; - return $self->{VERSION}; -} - -sub Name () -{ - my $self = shift; - return $self->{NAME}; -} - -sub Configs () -{ - my $self = shift; - return keys %{$self->{CONFIGS}}; -} - -sub DepOutputFile ($) -{ - my $self = shift; - my $config = shift; - - if (!defined $config) { - print STDERR "Error: No configuration specified\n"; - return; - } - - my $name = $self->OutputFile ($config); - - if ($name =~ m/\.dll$/) { - $name = $self->LibraryFile ($config); - } - - $name =~ s/.*\\//; # / <- For devenv - $name =~ s/.*\///; - - return $name; -} - -sub OutputFile ($) -{ - my $self = shift; - my $config = shift; - - if (!defined $config) { - print STDERR "Error: No configuration specified\n"; - return; - } - - if (%{$self->{CONFIGS}}->{$config}->{LINK} =~ m/out\:\"([^\"]*)\"/) { - return $1; - } - elsif (defined $self->Name ()) { - my $filename = $self->Filename; - my $ext = ""; - - if (%{$self->{CONFIGS}}->{$config}->{LINK} =~ m/\/dll/) { - $ext = ".dll"; - } - elsif (%{$self->{CONFIGS}}->{$config}->{LINK} =~ m/\/subsystem\:/) { - $ext = ".exe"; - } - else { - $ext = ".lib"; - } - - $filename =~ s/\.[^\.]*$/$ext/; - return $filename; - } -} - - -sub LibraryFile ($) -{ - my $self = shift; - my $config = shift; - my $dll = undef; - - if (!defined $config) { - print STDERR "Error: No configuration specified\n"; - return; - } - - if ($self->OutputFile ($config) =~ m/([^\/\\]*)\.dll$/i) { - $dll = $1; - } - - if (defined $dll) { - if (%{$self->{CONFIGS}}->{$config}->{LINK} =~ m/implib\:\"([^\"]*)\"/i) { - return $1; - } - else { - $dll =~ s/.*\\//ig; # / <- Just here to fix color coding in devenv beta - return $self->OutputDir ($config). $dll . ".lib"; - } - } -} - -sub OutputDir ($) -{ - my $self = shift; - my $config = shift; - - if (!defined $config) { - print STDERR "Error: No configuration specified\n"; - return; - } - - return %{$self->{CONFIGS}}->{$config}->{OUTPUTDIR}; -} - -sub IntermidiateDir ($) -{ - my $self = shift; - my $config = shift; - - if (!defined $config) { - print STDERR "Error: No configuration specified\n"; - return; - } - - return %{$self->{CONFIGS}}->{$config}->{INTERMEDIATEDIR}; -} - -sub TargetDir ($) -{ - my $self = shift; - my $config = shift; - - if (!defined $config) { - print STDERR "Error: No configuration specified\n"; - return; - } - - return %{$self->{CONFIGS}}->{$config}->{TARGETDIR}; -} - -sub CPPOptions ($) -{ - my $self = shift; - my $config = shift; - - if (!defined $config) { - print STDERR "Error: No configuration specified\n"; - return; - } - - return %{$self->{CONFIGS}}->{$config}->{CPP}; -} - -sub LINKOptions ($) -{ - my $self = shift; - my $config = shift; - - if (!defined $config) { - print STDERR "Error: No configuration specified\n"; - return; - } - - return %{$self->{CONFIGS}}->{$config}->{LINK}; -} - -sub Libs($) -{ - my $self = shift; - my $config = shift; - - if (!defined $config) { - print STDERR "Error: No configuration specified\n"; - return; - } - - return %{$self->{CONFIGS}}->{$config}->{LIBS}; -} - -sub UsesTAOIDL () -{ - my $self = shift; - - return $self->{TAOIDL}; -} - -sub Compiler () -{ - my $self = shift; - - return $self->{COMPILER}; -} - -############################################################################### - -# Big methods - -sub Load () -{ - my $self = shift; - my $config = "Unknown"; - - $self->{valid} = 0; - - my $fh = new FileHandle; - - unless ($fh->open ("<" . $self->{FILENAME})) { - print "Could not open file ", $self->{FILENAME}, ": ", $_; - return; - } - - while (<$fh>) { - if (m/^\#.*Project File - Name=\"([^\"]*)\"/) { - $self->{NAME} = $1; - } - - if (m/^\#.*Format Version (.*)/) { - $self->{VERSION} = $1; - } - - # Check for configurations - - if (m/^\!.*IF \"\$\(CFG\)\" == \".* - (.*)$\"/) { - $config = $1; - } - elsif (m/^\!ENDIF$/) { - $config = ""; - } - - # Check for directories - - if (m/\# PROP Output_Dir \"(.*)\"/) { - %{$self->{CONFIGS}}->{$config}->{OUTPUTDIR} = $1; - } - elsif (m/\# PROP Intermediate_Dir \"(.*)\"/) { - %{$self->{CONFIGS}}->{$config}->{INTERMEDIATEDIR} = $1; - } - elsif (m/\# PROP Target_Dir \"(.*)\"/) { - %{$self->{CONFIGS}}->{$config}->{TARGETDIR} = $1; - } - - # Look at CPP options - - if (m/\# ADD BASE CPP(.*)$/ || m/\# ADD CPP(.*)$/) { - my @flags = split (/ \//, $1); - - foreach my $flag (@flags) { - if ($flag && %{$self->{CONFIGS}}->{$config}->{CPP} !~ m/$flag/) { - %{$self->{CONFIGS}}->{$config}->{CPP} .= " /$flag"; - } - } - } - elsif (m/\# SUBTRACT CPP(.*)$/ || m/\# SUBTRACT BASE CPP(.*)$/) { - my @flags = split (/ \//, $1); - - foreach my $flag (@flags) { - if ($flag && %{$self->{CONFIGS}}->{$config}->{CPP} =~ m/$flag/) { - %{$self->{CONFIGS}}->{$config}->{CPP} =~ s/ \/$flag//g; - } - } - } - - # Look at LINK32 options - - if (m/\# ADD BASE LINK32(.*)$/ || m/\# ADD LINK32(.*)$/ - || m/\# ADD BASE LIB32(.*)$/ || m/\# ADD LIB32(.*)$/) { - my @flags = split (/ \//, $1); - - foreach my $flag (@flags) { - my $found = 0; - my @libs = split (/ /, $flag); - - foreach my $lib (@libs) { - if ($lib =~ m/\.lib$/) { - if (%{$self->{CONFIGS}}->{$config}->{LIBS} !~ m/\Q$lib\E/) { - %{$self->{CONFIGS}}->{$config}->{LIBS} .= " $lib"; - } - $found = 1; - } - } - - if (!$found && $flag) { - my $shortflag = $flag; - if ($flag =~ m/^(.*)\:/) { - $shortflag = $1; - } - - if (%{$self->{CONFIGS}}->{$config}->{LINK} !~ m/ \/$shortflag/) { - %{$self->{CONFIGS}}->{$config}->{LINK} .= " /$flag"; - } - } - } - } - elsif (m/\# SUBTRACT BASE LINK32(.*)$/ || m/\# SUBTRACT LINK32(.*)$/ - || m/\# SUBTRACT BASE LIB32(.*)$/ || m/\# SUBTRACT LIB32(.*)$/) { - my @flags = split (/ \//, $1); - - foreach my $flag (@flags) { - my $shortflag = $flag; - if ($flag =~ m/^(.*)\:/) { - $shortflag = $1; - } - - if ($flag && %{$self->{CONFIGS}}->{$config}->{LINK} =~ m/ (\/$shortflag\:[^ ]*)/) { - %{$self->{CONFIGS}}->{$config}->{LINK} =~ s/ \Q$1\E//ig; - } - } - } - - if (m/^\# Name \".* - (.*)\"/ && defined %{$self->{CONFIGS}}->{"Unknown"}) { - %{$self->{CONFIGS}}->{$1} = %{$self->{CONFIGS}}->{"Unknown"}; - delete %{$self->{CONFIGS}}->{"Unknown"}; - } - - if (m/tao\_idl/ && m/\$\(InputName\)\.idl/ || m/tao\_idl/ && m/\$\(InputPath\)/) { - $self->{TAOIDL} = 1; - } - } - $fh->close (); - $self->{valid} = 1; -} - -############################################################################### - -# Build functions - -sub Build ($) -{ - my $self = shift; - my ($config) = @_; - - my $command = $self->Compiler () . " " . $self->Filename () - . " /USEENV" - . " /MAKE \"" . $self->Name () - . " - " . $config . "\""; - - system $command; -} - -sub Clean ($) -{ - my $self = shift; - my ($config) = @_; - - my $command = $self->Compiler () . " " . $self->Filename () - . " /USEENV" - . " /MAKE \"" . $self->Name () - . " - " . $config . "\" /CLEAN"; - - system $command; -} - - -1; \ No newline at end of file diff --git a/dep/ACE_wrappers/bin/PerlACE/MSProject/DSP.pm b/dep/ACE_wrappers/bin/PerlACE/MSProject/DSP.pm deleted file mode 100644 index f8274af4a..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/MSProject/DSP.pm +++ /dev/null @@ -1,28 +0,0 @@ -# $Id: DSP.pm 91813 2010-09-17 07:52:52Z johnnyw $ - -package PerlACE::MSProject::DSP; - -use strict; -use PerlACE::MSProject; - -our @ISA = ("PerlACE::MSProject"); - -############################################################################### - -# Constructor - -sub new -{ - my $proto = shift; - my $class = ref ($proto) || $proto; - my $self = $class->SUPER::new (@_); - - $self->{COMPILER} = "msdev.com"; - - bless ($self, $class); - return $self; -} - -############################################################################### - -1; \ No newline at end of file diff --git a/dep/ACE_wrappers/bin/PerlACE/MSProject/VCP.pm b/dep/ACE_wrappers/bin/PerlACE/MSProject/VCP.pm deleted file mode 100644 index ac16bacec..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/MSProject/VCP.pm +++ /dev/null @@ -1,30 +0,0 @@ -# $Id: VCP.pm 91813 2010-09-17 07:52:52Z johnnyw $ - -package PerlACE::MSProject::VCP; - -use strict; -use PerlACE::MSProject; - -our @ISA = ("PerlACE::MSProject"); - -############################################################################### - -# Constructor - -sub new -{ - my $proto = shift; - my $class = ref ($proto) || $proto; - my $self = $class->SUPER::new (@_); - - $self->{COMPILER} = "evc.com"; - - bless ($self, $class); - return $self; -} - -############################################################################### - -# Accessors - -1; \ No newline at end of file diff --git a/dep/ACE_wrappers/bin/PerlACE/Makefile.am b/dep/ACE_wrappers/bin/PerlACE/Makefile.am deleted file mode 100644 index 04f843389..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/Makefile.am +++ /dev/null @@ -1,23 +0,0 @@ -## Process this file with automake to create Makefile.in -## -## $Id: Makefile.am 80826 2008-03-04 14:51:23Z wotte $ -## -## This file was generated by MPC. Any changes made directly to -## this file will be lost the next time it is generated. -## -## MPC Command: -## /acebuilds/ACE_wrappers-repository/bin/mwc.pl -include /acebuilds/MPC/config -include /acebuilds/MPC/templates -feature_file /acebuilds/ACE_wrappers-repository/local.features -noreldefs -type automake -exclude build,Kokyu - - -## Makefile.PerlACE.am - -noinst_SCRIPTS = ConfigList.pm Process.pm Process_Unix.pm Process_Win32.pm Run_Test.pm - - -## Clean up template repositories, etc. -clean-local: - -rm -f *~ *.bak *.rpo *.sym lib*.*_pure_* core core.* - -rm -f gcctemp.c gcctemp so_locations *.ics - -rm -rf cxx_repository ptrepository ti_files - -rm -rf templateregistry ir.out - -rm -rf ptrepository SunWS_cache Templates.DB diff --git a/dep/ACE_wrappers/bin/PerlACE/Makefile.in b/dep/ACE_wrappers/bin/PerlACE/Makefile.in deleted file mode 100644 index 7f4bdad58..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/Makefile.in +++ /dev/null @@ -1,441 +0,0 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -target_triplet = @target@ -subdir = bin/PerlACE -DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ace.m4 \ - $(top_srcdir)/m4/ace_defines.m4 $(top_srcdir)/m4/ace_func.m4 \ - $(top_srcdir)/m4/ace_functions.m4 \ - $(top_srcdir)/m4/ace_headers.m4 $(top_srcdir)/m4/acinclude.m4 \ - $(top_srcdir)/m4/aio.m4 $(top_srcdir)/m4/compiler.m4 \ - $(top_srcdir)/m4/config_h.m4 $(top_srcdir)/m4/libtool.m4 \ - $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ - $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ - $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/platform.m4 \ - $(top_srcdir)/m4/subsets.m4 $(top_srcdir)/m4/threads.m4 \ - $(top_srcdir)/m4/tls.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/ace/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -SCRIPTS = $(noinst_SCRIPTS) -SOURCES = -DIST_SOURCES = -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACEXML = @ACEXML@ -ACE_BETA = @ACE_BETA@ -ACE_BZIP2_CPPFLAGS = @ACE_BZIP2_CPPFLAGS@ -ACE_BZIP2_LDFLAGS = @ACE_BZIP2_LDFLAGS@ -ACE_BZIP2_LIBS = @ACE_BZIP2_LIBS@ -ACE_FLTK_CPPFLAGS = @ACE_FLTK_CPPFLAGS@ -ACE_FLTK_LIBS = @ACE_FLTK_LIBS@ -ACE_FOX_CPPFLAGS = @ACE_FOX_CPPFLAGS@ -ACE_FOX_LIBS = @ACE_FOX_LIBS@ -ACE_KERBEROS_INCLUDES = @ACE_KERBEROS_INCLUDES@ -ACE_MAJOR = @ACE_MAJOR@ -ACE_MINOR = @ACE_MINOR@ -ACE_QT_CPPFLAGS = @ACE_QT_CPPFLAGS@ -ACE_QT_LIBS = @ACE_QT_LIBS@ -ACE_TCL_CPPFLAGS = @ACE_TCL_CPPFLAGS@ -ACE_TCL_LIBS = @ACE_TCL_LIBS@ -ACE_TESTS_DIR = @ACE_TESTS_DIR@ -ACE_TK_CPPFLAGS = @ACE_TK_CPPFLAGS@ -ACE_TK_LIBS = @ACE_TK_LIBS@ -ACE_TLS_CPPFLAGS = @ACE_TLS_CPPFLAGS@ -ACE_TLS_LDFLAGS = @ACE_TLS_LDFLAGS@ -ACE_TLS_LIBS = @ACE_TLS_LIBS@ -ACE_VERSION_NAME = @ACE_VERSION_NAME@ -ACE_X11_CPPFLAGS = @ACE_X11_CPPFLAGS@ -ACE_X11_LDFLAGS = @ACE_X11_LDFLAGS@ -ACE_X11_LIBS = @ACE_X11_LIBS@ -ACE_XLIBS = @ACE_XLIBS@ -ACE_XT_CPPFLAGS = @ACE_XT_CPPFLAGS@ -ACE_XT_LDFLAGS = @ACE_XT_LDFLAGS@ -ACE_XT_LIBS = @ACE_XT_LIBS@ -ACE_ZLIB_CPPFLAGS = @ACE_ZLIB_CPPFLAGS@ -ACE_ZLIB_LDFLAGS = @ACE_ZLIB_LDFLAGS@ -ACE_ZLIB_LIBS = @ACE_ZLIB_LIBS@ -ACE_ZZIP_CPPFLAGS = @ACE_ZZIP_CPPFLAGS@ -ACE_ZZIP_LDFLAGS = @ACE_ZZIP_LDFLAGS@ -ACE_ZZIP_LIBS = @ACE_ZZIP_LIBS@ -ACLOCAL = @ACLOCAL@ -ALLOCA = @ALLOCA@ -AMTAR = @AMTAR@ -AR = @AR@ -ASNMP = @ASNMP@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FGREP = @FGREP@ -FLTKCONFIG = @FLTKCONFIG@ -FOXCONFIG = @FOXCONFIG@ -GPERF = @GPERF@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -KOKYU = @KOKYU@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LEX = @LEX@ -LEXLIB = @LEXLIB@ -LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PROF = @PROF@ -PURIFY = @PURIFY@ -QTDIR = @QTDIR@ -QUANTIFY = @QUANTIFY@ -Qt_CFLAGS = @Qt_CFLAGS@ -Qt_LIBS = @Qt_LIBS@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -TAO = @TAO@ -VERSION = @VERSION@ -XMKMF = @XMKMF@ -XTREACTOR_TEST_XLIBS = @XTREACTOR_TEST_XLIBS@ -X_CFLAGS = @X_CFLAGS@ -X_EXTRA_LIBS = @X_EXTRA_LIBS@ -X_LIBS = @X_LIBS@ -X_PRE_LIBS = @X_PRE_LIBS@ -YACC = @YACC@ -YFLAGS = @YFLAGS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -protocols = @protocols@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -subdirs = @subdirs@ -sysconfdir = @sysconfdir@ -target = @target@ -target_alias = @target_alias@ -target_cpu = @target_cpu@ -target_os = @target_os@ -target_vendor = @target_vendor@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -noinst_SCRIPTS = ConfigList.pm Process.pm Process_Unix.pm Process_Win32.pm Run_Test.pm -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign bin/PerlACE/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign bin/PerlACE/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -tags: TAGS -TAGS: - -ctags: CTAGS -CTAGS: - - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(SCRIPTS) -installdirs: -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool clean-local mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: - -.MAKE: install-am install-strip - -.PHONY: all all-am check check-am clean clean-generic clean-libtool \ - clean-local distclean distclean-generic distclean-libtool \ - distdir dvi dvi-am html html-am info info-am install \ - install-am install-data install-data-am install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ - install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - uninstall uninstall-am - - -clean-local: - -rm -f *~ *.bak *.rpo *.sym lib*.*_pure_* core core.* - -rm -f gcctemp.c gcctemp so_locations *.ics - -rm -rf cxx_repository ptrepository ti_files - -rm -rf templateregistry ir.out - -rm -rf ptrepository SunWS_cache Templates.DB - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/dep/ACE_wrappers/bin/PerlACE/PerlACE_vc10.sln b/dep/ACE_wrappers/bin/PerlACE/PerlACE_vc10.sln deleted file mode 100644 index 223094cef..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/PerlACE_vc10.sln +++ /dev/null @@ -1,33 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -# $Id: VC10WorkspaceCreator.pm 1890 2010-08-24 19:48:23Z mitza $ -# -# This file was generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -# MPC Command: -# /tmp/DOC_ROOT/stage-1367/ACE_wrappers/bin/mwc.pl -type vc10 -recurse -hierarchy -relative ACE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers -relative TAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO -relative CIAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/CIAO -relative DANCE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/DAnCE -name_modifier "*_vc10" -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PerlACE", "PerlACE_vc10.vcxproj", "{47B934A1-FECA-1BAD-A757-FC47A624E189}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Debug|Win32.ActiveCfg = Debug|Win32 - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Debug|Win32.Build.0 = Debug|Win32 - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Debug|x64.ActiveCfg = Debug|x64 - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Debug|x64.Build.0 = Debug|x64 - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Release|Win32.ActiveCfg = Release|Win32 - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Release|Win32.Build.0 = Release|Win32 - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Release|x64.ActiveCfg = Release|x64 - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/dep/ACE_wrappers/bin/PerlACE/PerlACE_vc10.vcxproj b/dep/ACE_wrappers/bin/PerlACE/PerlACE_vc10.vcxproj deleted file mode 100644 index 6a25cf2b5..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/PerlACE_vc10.vcxproj +++ /dev/null @@ -1,290 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - - - PerlACE - {47B934A1-FECA-1BAD-A757-FC47A624E189} - PerlACE - Win32Proj - - - - Utility - true - NotSet - - - Utility - false - NotSet - true - - - Utility - true - NotSet - - - Utility - false - NotSet - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - .\ - Debug\PerlACE_vc10\I386\ - true - - AllRules.ruleset - - - Release\ - Release\PerlACE_vc10\I386\ - false - - AllRules.ruleset - - - .\ - Debug\PerlACE_vc10\AMD64\ - true - - AllRules.ruleset - - - Release\ - Release\PerlACE_vc10\AMD64\ - false - - AllRules.ruleset - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - Win32 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - Disabled - _DEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;%(PreprocessorDefinitions) - false - MultiThreadedDebugDLL - true - Level3 - - - _DEBUG;%(PreprocessorDefinitions) - 1033 - %(AdditionalIncludeDirectories) - - - true - %(AdditionalDependencies) - .;%(AdditionalLibraryDirectories) - /noentry %(AdditionalOptions) - - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - Win32 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - MaxSpeed - true - NDEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;%(PreprocessorDefinitions) - MultiThreadedDLL - true - Level3 - - - NDEBUG;%(PreprocessorDefinitions) - 1033 - %(AdditionalIncludeDirectories) - - - true - %(AdditionalDependencies) - .;%(AdditionalLibraryDirectories) - true - true - /noentry %(AdditionalOptions) - - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - x64 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - Disabled - _DEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;_AMD64_;_WIN64;%(PreprocessorDefinitions) - false - MultiThreadedDebugDLL - true - Level3 - - - _DEBUG;_WIN64;%(PreprocessorDefinitions) - 1033 - %(AdditionalIncludeDirectories) - - - true - %(AdditionalDependencies) - .;%(AdditionalLibraryDirectories) - - - /noentry /machine:AMD64 %(AdditionalOptions) - - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - x64 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - MaxSpeed - true - NDEBUG;WIN32;_WINDOWS;_CRT_NONSTDC_NO_WARNINGS;_AMD64_;_WIN64;%(PreprocessorDefinitions) - MultiThreadedDLL - true - Level3 - - - NDEBUG;_WIN64;%(PreprocessorDefinitions) - 1033 - %(AdditionalIncludeDirectories) - - - true - %(AdditionalDependencies) - .;%(AdditionalLibraryDirectories) - true - true - - - /noentry /machine:AMD64 %(AdditionalOptions) - - - - - - - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - - - - diff --git a/dep/ACE_wrappers/bin/PerlACE/PerlACE_vc10.vcxproj.filters b/dep/ACE_wrappers/bin/PerlACE/PerlACE_vc10.vcxproj.filters deleted file mode 100644 index 8265ba23d..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/PerlACE_vc10.vcxproj.filters +++ /dev/null @@ -1,26 +0,0 @@ - - - - - {7197AE6D-FECA-1BAD-A757-FC47A624E189} - sh - - - - - Script Files - - - Script Files - - - Script Files - - - Script Files - - - Script Files - - - diff --git a/dep/ACE_wrappers/bin/PerlACE/Process.pm b/dep/ACE_wrappers/bin/PerlACE/Process.pm deleted file mode 100644 index ec945500d..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/Process.pm +++ /dev/null @@ -1,74 +0,0 @@ -#! /usr/bin/perl -# $Id: Process.pm 83679 2008-11-12 09:31:17Z johnnyw $ - -package PerlACE::Process; - -use strict; -use English; -use POSIX qw(:time_h); - -$PerlACE::Process::ExeSubDir = './'; - -sub delay_factor { - my($lps) = 128; - my($factor) = 1; - - ## Keep increasing the loops per second until the amount of time - ## exceeds the number of clocks per second. The original code - ## did not multiply $ticks by 8 but, for faster machines, it doesn't - ## seem to return false values. The multiplication is done to minimize - ## the amount of time it takes to determine the correct factor. - while(($lps <<= 1)) { - my($ticks) = clock(); - for(my $i = $lps; $i >= 0; $i--) { - } - $ticks = clock() - $ticks; - if ($ticks * 8 >= CLOCKS_PER_SEC) { - $factor = 500000 / (($lps / $ticks) * CLOCKS_PER_SEC); - last; - } - } - - return $factor; -} - -### Check for -ExeSubDir commands, store the last one -my @new_argv = (); - -for(my $i = 0; $i <= $#ARGV; ++$i) { - if ($ARGV[$i] eq '-ExeSubDir') { - if (defined $ARGV[$i + 1]) { - $PerlACE::Process::ExeSubDir = $ARGV[++$i].'/'; - } - else { - print STDERR "You must pass a directory with ExeSubDir\n"; - exit(1); - } - } - else { - push @new_argv, $ARGV[$i]; - } -} -@ARGV = @new_argv; - -$PerlACE::Process::WAIT_DELAY_FACTOR = (defined $ENV{"ACE_RUNTEST_DELAY"}) ? $ENV{"ACE_RUNTEST_DELAY"} : 1; - -# Set the process's target. If there's none, behavior falls back to pre-target -# behavior. -sub Target($) -{ - my $self = shift; - $self->{TARGET} = shift; -} - -if ($OSNAME eq "MSWin32") { - require PerlACE::Process_Win32; -} -elsif ($OSNAME eq "VMS") { - require PerlACE::Process_VMS; -} -else { - require PerlACE::Process_Unix; -} - -1; diff --git a/dep/ACE_wrappers/bin/PerlACE/ProcessLVRT.pm b/dep/ACE_wrappers/bin/PerlACE/ProcessLVRT.pm deleted file mode 100644 index 5759836fa..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/ProcessLVRT.pm +++ /dev/null @@ -1,357 +0,0 @@ -#! /usr/bin/perl -# $Id: ProcessLVRT.pm 89840 2010-04-12 09:36:32Z mcorino $ -# -# ProcessLVRT - how to run ACE+TAO tests on a LabVIEW RT target. -# Tests on LabVIEW RT are not executables - LabVIEW RT can't start plain -# executables; the tests are built/packaged as DLLs and loaded and executed -# from a DLL loaded at LabVIEW RT boot time. The DLL on the target listens -# on a TCP port (8888 by default) for connections from the host. Host requests -# actions using text commands to the target. -# -# NOTE: This module requires the Net-Telnet Perl module. -# -# We can FTP files to and from the LabVIEW target, but there's no NFS or -# SMB shares. - -package PerlACE::ProcessLVRT; -our @ISA = "PerlACE::Process"; - -use strict; -use Cwd; -use English; -use File::Basename; -use Net::FTP; -use Net::Telnet; -use POSIX qw(:time_h); - -$PerlACE::ProcessLVRT::ExeSubDir = './'; - -### Check for -ExeSubDir commands, store the last one -my @new_argv = (); - -for(my $i = 0; $i <= $#ARGV; ++$i) { - if ($ARGV[$i] eq '-ExeSubDir') { - if (defined $ARGV[$i + 1]) { - $PerlACE::ProcessLVRT::ExeSubDir = $ARGV[++$i].'/'; - } - else { - print STDERR "You must pass a directory with ExeSubDir\n"; - exit(1); - } - } - else { - push @new_argv, $ARGV[$i]; - } -} -@ARGV = @new_argv; - -### Constructor and Destructor - -sub new -{ - my $proto = shift; - my $class = ref ($proto) || $proto; - my $self = {}; - - $self->{TARGET} = shift; - $self->{EXECUTABLE} = shift; - $self->{ARGUMENTS} = shift; - $self->{RUNNING} = 0; - $self->{IGNOREEXESUBDIR} = 1; - - bless ($self, $class); - return $self; -} - -sub DESTROY -{ - my $self = shift; - - if ($self->{RUNNING} == 1) { - print STDERR "ERROR: <", $self->{EXECUTABLE}, - "> still running upon object destruction\n"; - $self->Kill (); - } - if (defined $self->{TELNET}) { - $self->{TELNET}->close(); - $self->{TELNET} = undef; - } -} - -############################################################################### - -# Adjust executable name for LabVIEW RT testing needs. These tests are DLLs. - -sub Executable -{ - my $self = shift; - - if (@_ != 0) { - $self->{EXECUTABLE} = shift; - } - - my $executable = $self->{EXECUTABLE}; - - my $basename = basename ($executable); - my $dirname = dirname ($executable). '/'; - my $subdir = $PerlACE::ProcessLVRT::ExeSubDir; - if (defined $self->{TARGET}) { - $subdir = $self->{TARGET}->ExeSubDir(); - } - $executable = $dirname.$subdir.$basename.".DLL"; - $executable =~ s/\//\\/g; # / <- # color coding issue in devenv - - return $executable; -} - -sub Arguments -{ - my $self = shift; - - if (@_ != 0) { - $self->{ARGUMENTS} = shift; - } - - return $self->{ARGUMENTS}; -} - -sub CommandLine () -{ - my $self = shift; - - my $commandline = "run " . basename($self->Executable(), ".dll"); - if (defined $self->{ARGUMENTS}) { - $commandline .= ' '.$self->{ARGUMENTS}; - } - - return $commandline; -} - -############################################################################### - -# Spawn the process and continue. - -sub Spawn () -{ - my $self = shift; - - if ($self->{RUNNING} == 1) { - print STDERR "ERROR: Cannot Spawn: <", $self->Executable (), - "> already running\n"; - return -1; - } - - if (!defined $self->{EXECUTABLE}) { - print STDERR "ERROR: Cannot Spawn: No executable specified\n"; - return -1; - } - - if ($self->{IGNOREEXESUBDIR} == 0) { - if (!-f $self->Executable ()) { - print STDERR "ERROR: Cannot Spawn: <", $self->Executable (), - "> not found\n"; - return -1; - } - } - - my $status = 0; - - my $program = $self->Executable (); - my $cwdrel = dirname ($program); - my $target_ace_root = $self->{TARGET}->ACE_ROOT(); - if (length ($cwdrel) > 0) { - $cwdrel = File::Spec->abs2rel(cwd(), $target_ace_root); - } - else { - $cwdrel = File::Spec->abs2rel($cwdrel, $target_ace_root); - } - - $self->{TARGET}->{FTP}->cwd($self->{TARGET}->{FSROOT}); - $self->{TARGET}->{FTP}->binary(); - $self->{TARGET}->{FTP}->put($program); - - my $targethost = $self->{TARGET}->{IPNAME}; - my $targetport = $self->{TARGET}->{CTLPORT}; - $self->{TELNET} = new Net::Telnet(Errmode => 'return'); - if (!$self->{TELNET}->open(Host => $targethost, Port => $targetport)) { - print STDERR "ERROR: target $targethost:$targetport: ", - $self->{TELNET}->errmsg(), "\n"; - $self->{TELNET} = undef; - $self->{TARGET}->NeedReboot; - $self->{TARGET}->{FTP}->delete($program); - return -1; - } - my $cmdline = $self->CommandLine(); - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "-> $cmdline\n"; - } - $self->{TELNET}->print("$cmdline"); - my $reply; - $reply = $self->{TELNET}->getline(); - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "<- $reply\n"; - } - if ($reply eq "OK\n") { - $self->{RUNNING} = 1; - return 0; - } - print STDERR "ERROR: can't $cmdline: " . $reply . "\n"; - $self->{TARGET}->{FTP}->delete($program); - # Not unless can't get the response. $self->{TARGET}->NeedReboot; - return -1; -} - - -# Wait for the process to exit or kill after a time period - -sub WaitKill ($) -{ - my $self = shift; - my $timeout = shift; - - my $status = $self->TimedWait ($timeout); - - $self->{RUNNING} = 0; - - # If the test timed out, the target is probably toast. Don't bother - # trying to get the log file until after rebooting and resetting FTP. - if ($status == -1) { - print STDERR "ERROR: $self->{EXECUTABLE} timedout\n"; - $self->Kill(); - } - - # Now get the log file from the test, and delete the test from - # the target. The FTP session should still be open. - my $program = $self->Executable (); - my $logname = basename($program,".dll") . ".log"; - my $target_log_path = $self->{TARGET}->{FSROOT} . "\\log\\" . $logname; - $program = basename($program); - $self->{TARGET}->{FTP}->delete($program); - $self->{TARGET}->{FTP}->get($target_log_path,"log\\$logname"); - $self->{TARGET}->{FTP}->delete($target_log_path); - - return $status; -} - - -# Do a Spawn and immediately WaitKill - -sub SpawnWaitKill ($) -{ - my $self = shift; - my $timeout = shift; - my $status = $self->Spawn (); - if ($status == 0) { - $status = $self->WaitKill ($timeout); - } - - return $status; -} - -sub TerminateWaitKill ($) -{ - my $self = shift; - my $timeout = shift; - - if ($self->{RUNNING}) { - print STDERR "INFO: $self->{EXECUTABLE} being killed.\n"; - $self->Kill(); - } - - return $self->WaitKill ($timeout); -} - -sub Kill () -{ - my $self = shift; - - if ($self->{RUNNING}) { - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "-> kill\n"; - } - $self->{TELNET}->print("kill"); - # Just wait for any reply; don't care what it is. - my $reply = $self->{TELNET}->getline(); - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "<- $reply\n"; - } - } - - $self->{RUNNING} = 0; - # Trying to kill a LabVIEW RT thread and recover is probably futile. Just - # reboot and reset the FTP connection. - if (defined $self->{TELNET}) { - $self->{TELNET}->close(); - $self->{TELNET} = undef; - } - $self->{TARGET}->RebootReset; -} - -# Wait until a process exits. -# return -1 if the process is still alive. -sub Wait ($) -{ - my $self = shift; - my $timeout = shift; - if (!defined $timeout || $timeout < 0) { - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "-> wait\n"; - } - $self->{TELNET}->print("wait"); - my $reply = $self->{TELNET}->getline(Timeout => 300); - $self->{RUNNING} = 0; - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "<- $reply\n"; - } - return 0+ $reply; - } else { - return TimedWait($self, $timeout); - } - -} - -sub TimedWait ($) -{ - my $self = shift; - my $timeout = shift; - my $reply; - if (!$self->{RUNNING}) { - return -1; - } - -CHECK: - while ($timeout > 0) { - $self->{TELNET}->print ("status"); - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "-> status\n"; - } - $reply = $self->{TELNET}->getline(Timeout => $timeout); - if (!defined $reply) { - last CHECK; - } - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "<- $reply\n"; - } - if ($reply =~ /^RUNNING/) { - sleep 2; - $timeout -= 2; - next CHECK; - } - # Have a status; return it. - $self->{RUNNING} = 0; - return 0+ $reply; - } - - return -1; -} - -### - -sub kill_all -{ - my $procmask = shift; - my $target = shift; - ## NOT IMPLEMENTED YET -} - -1; diff --git a/dep/ACE_wrappers/bin/PerlACE/ProcessVX.pm b/dep/ACE_wrappers/bin/PerlACE/ProcessVX.pm deleted file mode 100644 index 77692e648..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/ProcessVX.pm +++ /dev/null @@ -1,464 +0,0 @@ -#! /usr/bin/perl -# $Id: ProcessVX.pm 89840 2010-04-12 09:36:32Z mcorino $ - -package PerlACE::ProcessVX; - -use strict; -use English; -use POSIX qw(:time_h); - -$PerlACE::ProcessVX::ExeSubDir = './'; -$PerlACE::ProcessVX::DoVxInit = (defined $ENV{"ACE_RUN_VX_NO_INITIAL_REBOOT"}) ? 0 : 1; -$PerlACE::ProcessVX::VxDefGw = 1; -$PerlACE::ProcessVX::RebootTime = (defined $ENV{"ACE_RUN_VX_REBOOT_TIME"}) ? $ENV{"ACE_RUN_VX_REBOOT_TIME"} : 90; -$PerlACE::ProcessVX::ExeExt = ($PerlACE::VxWorks_RTP_Test) ? '.vxe' : '.out'; -$PerlACE::ProcessVX::RebootCmd = $ENV{"ACE_RUN_VX_REBOOT_CMD"}; - -# Wait for the process to exit or kill after a time period - -sub WaitKill ($) -{ - my $self = shift; - my $timeout = shift; - - my $status = $self->TimedWait ($timeout); - - if ($status == -1) { - print STDERR "ERROR: $self->{EXECUTABLE} timedout\n"; - $self->Kill (); - # Don't need to Wait since we are on Win32 - - $PerlACE::ProcessVX::DoVxInit = 1; # force reboot on next run - } - - $self->{RUNNING} = 0; - - return $status; -} - - -# Do a Spawn and immediately WaitKill - -sub SpawnWaitKill ($) -{ - my $self = shift; - my $timeout = shift; - - if ($self->Spawn () == -1) { - return -1; - } - - return $self->WaitKill ($timeout); -} - - -############################################################################### - -### Some Accessors - -sub Normalize_Executable_Name -{ - my $self = shift; - my $executable = shift; - - my $basename = basename ($executable); - my $dirname = dirname ($executable). '/'; - - $executable = $dirname.$PerlACE::ProcessVX::ExeSubDir.$basename.$PerlACE::ProcessVX::ExeExt; - - ## Installed executables do not conform to the ExeSubDir - if (! -e $executable && -e $dirname.$basename.$PerlACE::ProcessVX::ExeExt) { - $executable = $dirname.$basename.$PerlACE::ProcessVX::ExeExt; - } - - return $executable; -} - - -sub Executable -{ - my $self = shift; - - if (@_ != 0) { - $self->{EXECUTABLE} = shift; - } - - my $executable = $self->{EXECUTABLE}; - - if ($self->{IGNOREEXESUBDIR} == 0) { - $executable = $self->Normalize_Executable_Name ($executable); - } - else { - $executable = $executable.$PerlACE::ProcessVX::ExeExt; - } - - return $executable; -} - -sub Arguments -{ - my $self = shift; - - if (@_ != 0) { - $self->{ARGUMENTS} = shift; - } - - return $self->{ARGUMENTS}; -} - -sub CommandLine () -{ - my $self = shift; - - my $commandline = $self->Executable (); - - if (defined $self->{ARGUMENTS}) { - $commandline .= ' '.$self->{ARGUMENTS}; - } - - return $commandline; -} - -sub IgnoreExeSubDir -{ - my $self = shift; - - if (@_ != 0) { - $self->{IGNOREEXESUBDIR} = shift; - } - - return $self->{IGNOREEXESUBDIR}; -} - -sub IgnoreHostRoot -{ - my $self = shift; - - if (@_ != 0) { - $self->{IGNOREHOSTROOT} = shift; - } - - return $self->{IGNOREHOSTROOT}; -} - -sub delay_factor { - my($lps) = 128; - my($factor) = 1; - - ## Keep increasing the loops per second until the amount of time - ## exceeds the number of clocks per second. The original code - ## did not multiply $ticks by 8 but, for faster machines, it doesn't - ## seem to return false values. The multiplication is done to minimize - ## the amount of time it takes to determine the correct factor. - while(($lps <<= 1)) { - my($ticks) = clock(); - for(my $i = $lps; $i >= 0; $i--) { - } - $ticks = clock() - $ticks; - if ($ticks * 8 >= CLOCKS_PER_SEC) { - $factor = 500000 / (($lps / $ticks) * CLOCKS_PER_SEC); - last; - } - } - - return $factor; -} - -sub iboot_cycle_power { - my $self = shift; - my $mode = shift; - - # mode 0 is reboot, mode 1 is just shutdown - - my ($iboot_host, - $iboot_outlet, - $iboot_user, - $iboot_passwd ) = ($ENV{'ACE_RUN_VX_IBOOT'}, - $ENV{'ACE_RUN_VX_IBOOT_OUTLET'}, - $ENV{'ACE_RUN_VX_IBOOT_USER'}, - $ENV{'ACE_RUN_VX_IBOOT_PASSWORD'}); - - my $v = $ENV{'ACE_TEST_VERBOSE'}; - - if ($v) { - print "Using iBoot: $iboot_host\n"; - if (defined $iboot_outlet) { - print "Using iBoot Outlet #: $iboot_outlet\n"; - } - } - - # There are three cases to handle here: - # 1. using a single-outlet iBoot - # 2. using a multi-outlet iBootBar with custom firmware - # 3. using a multi-outlet iBootBar with standard firmware - # - # In cases 1 & 2, we use the iPAL protocol; in case 3 we - # use a telnet connection and the command-line syntax. - # - # We determine that it's case #3 by the concurrent presence - # of an outlet number, an iboot username, and an iboot password - # in the environment. - # - - if (defined($iboot_outlet) && defined($iboot_user) && defined($iboot_passwd)) { - # We perform case #3 - # This case doesn't support shutdown - return if $mode == 1; - - my $t = new Net::Telnet(); - - $t->prompt('/iBootBar \> /'); - my $savedmode = $t->errmode(); - $t->errmode("return"); - - my $retries = 5; - my $is_open = 0; - - while ($retries--) { - my $r = $t->open($iboot_host); - if ($r == 1) { - $is_open = 1; - last; - } - } - continue { - print "Couldn't open connection; sleeping then retrying\n" if ($v); - sleep(5); - } - - if (! $is_open) { - print "Unable to open $iboot_host.\n" if ($v); - return 0; - } - - $t->errmode($savedmode); - - # Simple login b/c Net::Telnet::login hardcodes the prompts - $t->waitfor('/User Name:\s*$/i'); - $t->print($iboot_user); - $t->waitfor('/password:\s*/i'); - $t->print($iboot_passwd); - - $t->waitfor($t->prompt); - - print "successfully logged in to $iboot_host\n" if ($v); - - my $output = $t->cmd("set outlet $iboot_outlet cycle"); - - print "successfully cycled power on outlet $iboot_outlet\n" if ($v); - - $t->close(); - } - else { - # Perform cases 1 & 2 - my $iboot; - my $text; - if (!defined($iboot_passwd)) { - $iboot_passwd = "PASS"; - } - - my $ipal_command_series; - if (defined $iboot_outlet) { - $ipal_command_series = ($mode == 0 ? ['E', 'D'] : ['E']); - } else { - $ipal_command_series = ($mode == 0 ? ['f', 'n'] : ['f']); - } - - foreach my $ipal_cmd (@$ipal_command_series) { - my $retries = 3; - my $is_open = 0; - while ($retries--) { - $iboot = IO::Socket::INET->new ("$iboot_host"); - if ($iboot) { - # if ACE_RUN_VX_IBOOT_OUTLET is defined, we're using - # the iBootBar, and we're using the iPAL Protocol - # to communicate with the iBootBar - if (defined $iboot_outlet) { - $iboot->send ("\e".$iboot_passwd."\e".$iboot_outlet.$ipal_cmd); - } - else { - $iboot->send ("\e".$iboot_passwd."\e$ipal_cmd\r"); - } - $iboot->recv ($text,128); - print "iBoot is currently: $text\n" if ($v); - $iboot->close(); - if (defined $iboot_outlet) { - $text = substr $text, $iboot_outlet - 1, 1; - if ($text eq "0" || $text eq "1") { - $is_open = 1; - last; - } - else { - print "iBoot is $text; sleeping then retrying\n" if ($v); - sleep(5); - } - } - else { - if ($text eq "OFF" || $text eq "ON") { - $is_open = 1; - last; - } - else { - print "iBoot is $text; sleeping then retrying\n" if ($v); - sleep(5); - } - } - } - else { - print "ERROR: FAILED to execute 'reboot' command!\n"; - } - } - if (!$is_open) { - print "Unable to reboot using $iboot_host.\n" if ($v); - return 0; - } - } - } -} - -sub reboot { - my $self = shift; - my $iboot; - my $text; - my $t; - my $ok; - - my $target_login = $ENV{'ACE_RUN_VX_LOGIN'}; - my $target_password = $ENV{'ACE_RUN_VX_PASSWORD'}; - - ## - ## initialize VxWorks kernel (reboot!) if needed - if ($PerlACE::ProcessVX::DoVxInit || $ENV{'ACE_RUN_VX_TGT_REBOOT'}) { - if (defined $ENV{'ACE_RUN_VX_REBOOT_TOOL'}) { - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "Calling: $ENV{'ACE_RUN_VX_REBOOT_TOOL'}\n"; - } - system ($ENV{'ACE_RUN_VX_REBOOT_TOOL'}); - } - else { - if (defined $ENV{'ACE_RUN_VX_IBOOT'}) { - $self->iboot_cycle_power(0); - } - else { - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "Executing 'reboot' command over Telnet to ".$ENV{'ACE_RUN_VX_TGTHOST'}.".\n"; - } - $t = new Net::Telnet(Timeout => 10, - Prompt => '/-> $/', - Errmode => 'return'); - $t->open($ENV{'ACE_RUN_VX_TGTHOST'}); - $t->print(""); - if (defined $target_login) { - $t->waitfor('/VxWorks login: $/'); - $t->print("$target_login"); - } - if (defined $target_password) { - $t->waitfor('/Password: $/'); - $t->print("$target_password"); - } - $ok = $t->waitfor('/-> $/'); - if ($ok) { - $t->print($PerlACE::ProcessVX::RebootCmd); - } - else { - print "ERROR: FAILED to execute 'reboot' command!\n"; - } - $t->close(); - } - } - $PerlACE::ProcessVX::VxDefGw = 1; - $PerlACE::ProcessVX::DoVxInit = 0; - sleep($PerlACE::ProcessVX::RebootTime); - } -} - -# Helper for spawning with list of kernel modules in a .vxtest file -sub handle_vxtest_file -{ - my $self = shift; - my $vxtestfile = shift; - my $vx_ref = shift; - my $unld_ref = shift; - my $fh = new FileHandle; - if (open ($fh, $vxtestfile)) { - my $line1 = <$fh>; - chomp $line1; - while(<$fh>) { - $line1 = $_; - chomp $line1; - push @$vx_ref, "ld < lib$line1" . ".so"; - unshift @$unld_ref, "unld \"lib$line1" . ".so\""; - } - close $fh; - } else { - return 0; - } - return 1; -} - -# Load a file that is used as startup script. This script has to be -# located on the host system -sub handle_startup_script -{ - my $script = shift; - my $cmds = shift; - my $fh = new FileHandle; - if (open ($fh, $script)) { - while(<$fh>) { - my $line1 = $_; - chomp $line1; - push @$cmds, "$line1"; - } - close $fh; - } else { - return 0; - } - return 1; -} - -### Check for -ExeSubDir commands, store the last one -my @new_argv = (); - -for(my $i = 0; $i <= $#ARGV; ++$i) { - if ($ARGV[$i] eq '-ExeSubDir') { - if (defined $ARGV[$i + 1]) { - $PerlACE::ProcessVX::ExeSubDir = $ARGV[++$i].'/'; - } - else { - print STDERR "You must pass a directory with ExeSubDir\n"; - exit(1); - } - } - else { - push @new_argv, $ARGV[$i]; - } -} -@ARGV = @new_argv; - -$PerlACE::ProcessVX::WAIT_DELAY_FACTOR = $ENV{"ACE_RUNTEST_DELAY"}; - -if (defined $ENV{'ACE_TEST_WINCE'}) { - if ($OSNAME eq "MSWin32") { - require PerlACE::ProcessWinCE; - } else { - require PerlACE::ProcessWinCE_Unix; - } -} else { - if ($OSNAME eq "MSWin32") { - require PerlACE::ProcessVX_Win32; - } - else { - require PerlACE::ProcessVX_Unix; - } -} - -### - -sub kill_all -{ - my $procmask = shift; - my $target = shift; - ## NOT IMPLEMENTED YET -} - -1; diff --git a/dep/ACE_wrappers/bin/PerlACE/ProcessVX_Unix.pm b/dep/ACE_wrappers/bin/PerlACE/ProcessVX_Unix.pm deleted file mode 100644 index 9f83387a3..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/ProcessVX_Unix.pm +++ /dev/null @@ -1,526 +0,0 @@ -#! /usr/bin/perl -# $Id: ProcessVX_Unix.pm 89840 2010-04-12 09:36:32Z mcorino $ - -package PerlACE::ProcessVX; - -use strict; -use POSIX "sys_wait_h"; -use File::Basename; -use File::Spec; -use Config; -use FileHandle; -use Cwd; - -eval { require Net::Telnet; }; - -############################################################################### - -### Grab signal names - -my @signame; - -if (defined $Config{sig_name}) { - my $i = 0; - foreach my $name (split (' ', $Config{sig_name})) { - $signame[$i] = $name; - $i++; - } -} -else { - my $i; - for ($i = 0; $i < 255; ++$i) { - $signame[$i] = $i; - } -} - -############################################################################### - -# This is what GetExitCode will return if the process is still running. -my $STILL_ACTIVE = 259; - -############################################################################### - -### Constructor and Destructor - -sub new -{ - my $proto = shift; - my $class = ref ($proto) || $proto; - my $self = {}; - - $self->{RUNNING} = 0; - $self->{IGNOREEXESUBDIR} = 1; - $self->{IGNOREHOSTROOT} = 0; - $self->{PROCESS} = undef; - $self->{EXECUTABLE} = shift; - $self->{ARGUMENTS} = shift; - if (!defined $PerlACE::ProcessVX::WAIT_DELAY_FACTOR) { - $PerlACE::ProcessVX::WAIT_DELAY_FACTOR = 2; - } - if (!defined $PerlACE::ProcessVX::RebootCmd) { - $PerlACE::ProcessVX::RebootCmd = "reboot 0x02"; - } - bless ($self, $class); - return $self; -} - -sub DESTROY -{ - my $self = shift; - - if ($self->{RUNNING} == 1) { - print STDERR "ERROR: <", $self->{EXECUTABLE}, - "> still running upon object destruction\n"; - $self->Kill (); - } - - if (defined $ENV{'ACE_RUN_VX_IBOOT'} && !defined $ENV{'ACE_RUN_VX_NO_SHUTDOWN'}) { - # Shutdown the target to save power - $self->iboot_cycle_power(1); - } -} - -############################################################################### - -# Use the "expect" program to invoke telnet, doesn't need Perl's Net::Telnet. -# This is run by the child process which was forked from Spawn(). -sub expect_telnet -{ - my($host, $port, $prompt, $cmdsRef) = @_; - my $pid = open(EXP, "|expect -f -") or die "ERROR: Could not run 'expect'"; - $SIG{'TERM'} = sub { # If the parent wants to Kill() this process, - kill 'TERM', $pid; # send a SIGTERM to the expect process and - $SIG{'TERM'} = 'DEFAULT'; # then go back to the normal handler for TERM - kill 'TERM', $$; # and invoke it. - }; - print EXP <{RUNNING} == 1) { - print STDERR "ERROR: Cannot Spawn: <", $self->Executable (), - "> already running\n"; - return -1; - } - - if (!defined $self->{EXECUTABLE}) { - print STDERR "ERROR: Cannot Spawn: No executable specified\n"; - return -1; - } - - if ($self->{IGNOREEXESUBDIR} == 0) { - if (!-f $self->Executable ()) { - print STDERR "ERROR: Cannot Spawn: <", $self->Executable (), - "> not found\n"; - return -1; - } - } - - my $status = 0; - - my $cmdline; - - # Reboot the target if necessery - $self->reboot(); - - my $program = $self->Executable (); - my $exe_cwdrel = dirname ($program); - my $prjroot = defined $ENV{"ACE_RUN_VX_PRJ_ROOT"} ? $ENV{"ACE_RUN_VX_PRJ_ROOT"} : $ENV{"ACE_ROOT"}; - $exe_cwdrel = cwd() if length ($exe_cwdrel) == 0; - $exe_cwdrel = File::Spec->abs2rel($exe_cwdrel, $prjroot); - my $cwdrel = File::Spec->abs2rel(cwd(), $prjroot); - $program = basename($program, $PerlACE::ProcessVX::ExeExt); - - my @cmds; - my $cmdnr = 0; - my $arguments = ""; - my $prompt = ''; - my $exesubdir = defined $ENV{"ACE_RUN_VX_EXE_SUBDIR"} ? $ENV{"ACE_RUN_VX_EXE_SUBDIR"} : ""; - - if (defined $ENV{"ACE_RUN_VX_STARTUP_SCRIPT"}) { - if (defined $ENV{"ACE_RUN_VX_STARTUP_SCRIPT_ROOT"}) { - @cmds[$cmdnr++] = 'cd "' . $ENV{'ACE_RUN_VX_STARTUP_SCRIPT_ROOT'} . '"'; - } - @cmds[$cmdnr++] = '< ' . $ENV{"ACE_RUN_VX_STARTUP_SCRIPT"}; - } - - if (defined $ENV{"ACE_RUN_VX_STARTUP_COMMAND"}) { - @cmds[$cmdnr++] = $ENV{"ACE_RUN_VX_STARTUP_COMMAND"}; - } - - if ($PerlACE::VxWorks_RTP_Test) { - @cmds[$cmdnr++] = 'cmd'; - if ( defined $ENV{"ACE_RUN_VX_TGTSVR_DEFGW"} && $self->{SET_VX_DEFGW}) { - @cmds[$cmdnr++] = "C mRouteAdd(\"0.0.0.0\", \"" . $ENV{"ACE_RUN_VX_TGTSVR_DEFGW"} . "\", 0,0,0)"; - $PerlACE::ProcessVX::VxDefGw = 0; - } - - if (defined $ENV{"ACE_RUN_VX_TGT_STARTUP_SCRIPT"}) { - my(@start_commands); - if (handle_startup_script ($ENV{"ACE_RUN_VX_TGT_STARTUP_SCRIPT"}, \@start_commands)) { - push @cmds, @start_commands; - $cmdnr += scalar @start_commands; - } - } - - @cmds[$cmdnr++] = 'cd "' . $ENV{'ACE_RUN_VX_TGTSVR_ROOT'} . "/" . $cwdrel . '"'; - @cmds[$cmdnr++] = 'C putenv("TMPDIR=' . $ENV{"ACE_RUN_VX_TGTSVR_ROOT"} . "/" . $cwdrel . '")'; - - if (defined $ENV{'ACE_RUN_ACE_DEBUG'}) { - @cmds[$cmdnr++] = 'C putenv("ACE_DEBUG=' . $ENV{"ACE_RUN_ACE_DEBUG"} . '")'; - } - - if (defined $ENV{'ACE_RUN_TAO_ORB_DEBUG'}) { - @cmds[$cmdnr++] = 'C putenv("TAO_ORB_DEBUG=' . $ENV{"ACE_RUN_TAO_ORB_DEBUG"} . '")'; - } - - if (defined $ENV{'ACE_RUN_ACE_LD_SEARCH_PATH'}) { - @cmds[$cmdnr++] = 'C putenv("ACE_LD_SEARCH_PATH=' . $ENV{"ACE_RUN_ACE_LD_SEARCH_PATH"} . '")'; - } - if (defined $self->{TARGET}) { - my $x_env_ref = $self->{TARGET}->{EXTRA_ENV}; - while ( my ($env_key, $env_value) = each(%$x_env_ref) ) { - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "INFO: adding target environment $env_key=$env_value\n"; - } - @cmds[$cmdnr++] = 'C putenv("' . $env_key. '=' . $env_value . '")'; - } - } - - if (defined $ENV{'ACE_RUN_VX_CHECK_RESOURCES'}) { - @cmds[$cmdnr++] = 'C memShow()'; - } - - $cmdline = $program . $PerlACE::ProcessVX::ExeExt . ' ' . $self->{ARGUMENTS}; - @cmds[$cmdnr++] = $cmdline; - $prompt = '\[vxWorks \*\]\# $'; - } - if ($PerlACE::VxWorks_Test) { - if ( defined $ENV{"ACE_RUN_VX_TGTSVR_DEFGW"} && $PerlACE::ProcessVX::VxDefGw) { - @cmds[$cmdnr++] = "mRouteAdd(\"0.0.0.0\", \"" . $ENV{"ACE_RUN_VX_TGTSVR_DEFGW"} . "\", 0,0,0)"; - $PerlACE::ProcessVX::VxDefGw = 0; - } - - if (defined $ENV{"ACE_RUN_VX_TGT_STARTUP_SCRIPT"}) { - my(@start_commands); - if (handle_startup_script ($ENV{"ACE_RUN_VX_TGT_STARTUP_SCRIPT"}, \@start_commands)) { - push @cmds, @start_commands; - $cmdnr += scalar @start_commands; - } - } - - my(@load_commands); - my(@unload_commands); - if (!$PerlACE::Static && !$PerlACE::VxWorks_RTP_Test) { - my $vxtest_file = $program . '.vxtest'; - if (handle_vxtest_file($self, $vxtest_file, \@load_commands, \@unload_commands)) { - @cmds[$cmdnr++] = "cd \"$ENV{'ACE_RUN_VX_TGTSVR_ROOT'}/lib\""; - push @cmds, @load_commands; - $cmdnr += scalar @load_commands; - } else { - print STDERR "ERROR: Cannot find <", $vxtest_file, ">\n"; - return -1; - } - } - - @cmds[$cmdnr++] = 'cd "' . $ENV{'ACE_RUN_VX_TGTSVR_ROOT'} . "/" . $exe_cwdrel . "/" . $exesubdir . '"'; - @cmds[$cmdnr++] = 'putenv("TMPDIR=' . $ENV{"ACE_RUN_VX_TGTSVR_ROOT"} . "/" . $cwdrel . '")'; - - if (defined $ENV{'ACE_RUN_VX_CHECK_RESOURCES'}) { - @cmds[$cmdnr++] = 'memShow()'; - } - - if (defined $ENV{'ACE_RUN_ACE_DEBUG'}) { - @cmds[$cmdnr++] = 'putenv("ACE_DEBUG=' . $ENV{"ACE_RUN_ACE_DEBUG"} . '")'; - } - - if (defined $ENV{'ACE_RUN_TAO_ORB_DEBUG'}) { - @cmds[$cmdnr++] = 'putenv("TAO_ORB_DEBUG=' . $ENV{"ACE_RUN_TAO_ORB_DEBUG"} . '")'; - } - - if (defined $ENV{'ACE_RUN_ACE_LD_SEARCH_PATH'}) { - @cmds[$cmdnr++] = 'putenv("ACE_LD_SEARCH_PATH=' . $ENV{"ACE_RUN_ACE_LD_SEARCH_PATH"} . '")'; - } - if (defined $self->{TARGET}) { - my $x_env_ref = $self->{TARGET}->{EXTRA_ENV}; - while ( my ($env_key, $env_value) = each(%$x_env_ref) ) { - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "INFO: adding target environment $env_key=$env_value\n"; - } - @cmds[$cmdnr++] = 'putenv("' . $env_key. '=' . $env_value . '")'; - } - } - - @cmds[$cmdnr++] = 'ld <'. $program . $PerlACE::ProcessVX::ExeExt; - $cmdline = $program . $PerlACE::ProcessVX::ExeExt . ' ' . $self->{ARGUMENTS}; - if (defined $self->{ARGUMENTS}) { - ($arguments = $self->{ARGUMENTS})=~ s/\"/\\\"/g; - ($arguments = $self->{ARGUMENTS})=~ s/\'/\\\'/g; - $arguments = ",\"" . $arguments . "\""; - } - if (defined $ENV{'ACE_RUN_VX_TGTSRV_WORKINGDIR'}) { - @cmds[$cmdnr++] = 'cd "' . $ENV{'ACE_RUN_VX_TGTSRV_WORKINGDIR'} . '"'; - } else { - @cmds[$cmdnr++] = 'cd "' . $ENV{'ACE_RUN_VX_TGTSVR_ROOT'} . "/" . $cwdrel . '"'; - } - @cmds[$cmdnr++] = 'ace_vx_rc = vx_execae(ace_main' . $arguments . ')'; - @cmds[$cmdnr++] = 'unld "'. $program . $PerlACE::ProcessVX::ExeExt . '"'; - push @cmds, @unload_commands; - $cmdnr += scalar @unload_commands; - $prompt = '-> $'; - } - - FORK: - { - if ($self->{PROCESS} = fork) { - #parent here - bless $self; - } - elsif (defined $self->{PROCESS}) { - #child here - my $telnet_port = $ENV{'ACE_RUN_VX_TGT_TELNET_PORT'}; - my $telnet_host = $ENV{'ACE_RUN_VX_TGT_TELNET_HOST'}; - if (!defined $telnet_host) { - $telnet_host = $ENV{'ACE_RUN_VX_TGTHOST'}; - } - if (!defined $telnet_port) { - $telnet_port = 23; - } - if (defined $ENV{'ACE_RUN_VX_USE_EXPECT'}) { - expect_telnet($telnet_host, $telnet_port, $prompt, \@cmds); - sleep(2); - exit; - } - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "Opening telnet connection <" . $telnet_host . ":". $telnet_port . ">\n"; - } - my $t = new Net::Telnet(Timeout => 600, Errmode => 'return', Host => $telnet_host, Port => $telnet_port); - if (!defined $t) { - die "ERROR: Telnet failed to <" . $telnet_host . ":". $telnet_port . ">"; - } - my $retries = 10; - while ($retries--) { - if (!$t->open()) { - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "Couldn't open telnet connection; sleeping then retrying\n"; - } - if ($retries == 0) { - die "ERROR: Telnet open to <" . $telnet_host . ":". $telnet_port . "> " . $t->errmsg; - } - sleep(5); - } else { - last; - } - } - - my $target_login = $ENV{'ACE_RUN_VX_LOGIN'}; - my $target_password = $ENV{'ACE_RUN_VX_PASSWORD'}; - - if (defined $target_login) { - $t->waitfor('/VxWorks login: $/'); - $t->print("$target_login"); - } - - if (defined $target_password) { - $t->waitfor('/Password: $/'); - $t->print("$target_password"); - } - - my $buf = ''; - # wait for the prompt - my $prompt1 = '->[\ ]$'; - while (1) { - my $blk = $t->get; - print $blk; - $buf .= $blk; - if ($buf =~ /$prompt1/) { - last; - } - } - if ($buf !~ /$prompt1/) { - die "ERROR: Didn't got prompt but got <$buf>"; - } - my $i = 0; - my @lines; - while($i < $cmdnr) { - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print @cmds[$i]."\n"; - } - if ($t->print (@cmds[$i++])) { - # After each command wait for the prompt - my $buf = ''; - while (1) { - my $blk = $t->get; - print $blk; - $buf .= $blk; - if ($buf =~ /$prompt/) { - last; - } - } - } else { - print $t->errmsg; - } - } - $t->close(); - sleep(2); - exit; - } - elsif ($! =~ /No more process/) { - #EAGAIN, supposedly recoverable fork error - sleep 5; - redo FORK; - } - else { - # weird fork error - print STDERR "ERROR: Can't fork <" . $cmdline . ">: $!\n"; - } - } - $self->{RUNNING} = 1; - return 0; -} - - -# Terminate the process and wait for it to finish - -sub TerminateWaitKill ($) -{ - my $self = shift; - my $timeout = shift; - - if ($self->{RUNNING}) { - print STDERR "INFO: $self->{EXECUTABLE} being killed.\n"; - kill ('TERM', $self->{PROCESS}); - - $PerlACE::ProcessVX::DoVxInit = 1; # force reboot on next run - } - - return $self->WaitKill ($timeout); -} - -# really only for internal use -sub check_return_value ($) -{ - my $self = shift; - my $rc = shift; - - my $CC_MASK = 0xff00; - - # Exit code processing - if ($rc == 0) { - return 0; - } - elsif ($rc == $CC_MASK) { - print STDERR "ERROR: <", $self->{EXECUTABLE}, - "> failed: $!\n"; - - $PerlACE::ProcessVX::DoVxInit = 1; # force reboot on next run - - return ($rc >> 8); - } - elsif (($rc & 0xff) == 0) { - $rc >>= 8; - return $rc; - } - - # Remember Core dump flag - my $dump = 0; - - if ($rc & 0x80) { - $rc &= ~0x80; - $dump = 1; - } - - # check for ABRT, KILL or TERM - if ($rc == 6 || $rc == 9 || $rc == 15) { - return 0; - } - - print STDERR "ERROR: <", $self->{EXECUTABLE}, - "> exited with "; - - print STDERR "coredump from " if ($dump == 1); - - print STDERR "signal $rc : ", $signame[$rc], "\n"; - - $PerlACE::ProcessVX::DoVxInit = 1; # force reboot on next run - - return 0; -} - -sub Kill () -{ - my $self = shift; - - if ($self->{RUNNING} && !defined $ENV{'ACE_TEST_WINDOW'}) { - kill ((defined $ENV{'ACE_RUN_VX_USE_EXPECT'}) ? 'TERM' : 'KILL', - $self->{PROCESS}); - waitpid ($self->{PROCESS}, 0); - $self->check_return_value ($?); - } - - $self->{RUNNING} = 0; -} - -# Wait until a process exits. -# return -1 if the process is still alive. -sub Wait ($) -{ - my $self = shift; - my $timeout = shift; - if (!defined $timeout || $timeout < 0) { - waitpid ($self->{PROCESS}, 0); - } else { - return TimedWait($self, $timeout); - } - -} - -sub TimedWait ($) -{ - my $self = shift; - my $timeout = shift; - - if ($PerlACE::Process::WAIT_DELAY_FACTOR > 0) { - $timeout *= $PerlACE::Process::WAIT_DELAY_FACTOR; - } - - while ($timeout-- != 0) { - my $pid = waitpid ($self->{PROCESS}, &WNOHANG); - if ($pid != 0 && $? != -1) { - return $self->check_return_value ($?); - } - sleep 1; - } - - $PerlACE::ProcessVX::DoVxInit = 1; # force reboot on next run - - return -1; -} - -1; diff --git a/dep/ACE_wrappers/bin/PerlACE/ProcessVX_Win32.pm b/dep/ACE_wrappers/bin/PerlACE/ProcessVX_Win32.pm deleted file mode 100644 index 4d0807df3..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/ProcessVX_Win32.pm +++ /dev/null @@ -1,428 +0,0 @@ -#! /usr/bin/perl -# $Id: ProcessVX_Win32.pm 89840 2010-04-12 09:36:32Z mcorino $ - -package PerlACE::ProcessVX; - -use strict; -use Win32::Process; -use File::Basename; -use File::Spec; -use FileHandle; -use Cwd; - -eval { require Net::Telnet; }; - -############################################################################### - -# This is what GetExitCode will return if the process is still running. -my $STILL_ACTIVE = 259; - -############################################################################### - -### Constructor and Destructor - -sub new -{ - my $proto = shift; - my $class = ref ($proto) || $proto; - my $self = {}; - - $self->{RUNNING} = 0; - $self->{IGNOREEXESUBDIR} = 1; - $self->{IGNOREHOSTROOT} = 0; - $self->{PROCESS} = undef; - $self->{EXECUTABLE} = shift; - $self->{ARGUMENTS} = shift; - if (!defined $PerlACE::ProcessVX::WAIT_DELAY_FACTOR) { - $PerlACE::ProcessVX::WAIT_DELAY_FACTOR = 3; - } - if (!defined $PerlACE::ProcessVX::RebootCmd) { - $PerlACE::ProcessVX::RebootCmd = "reboot"; - } - bless ($self, $class); - return $self; -} - -sub DESTROY -{ - my $self = shift; - - if ($self->{RUNNING} == 1) { - print STDERR "ERROR: <", $self->{EXECUTABLE}, - "> still running upon object destruction\n"; - $self->Kill (); - } - - if (!defined $ENV{'ACE_TEST_VERBOSE'}) { - unlink "run_vx.pl"; - } - - if (defined $ENV{'ACE_RUN_VX_IBOOT'} && !defined $ENV{'ACE_RUN_VX_NO_SHUTDOWN'}) { - # Shutdown the target to save power - $self->iboot_cycle_power(1); - } -} - -############################################################################### - -### Spawning processes - - -# Spawn the process and continue. - -sub Spawn () -{ - my $self = shift; - - if ($self->{RUNNING} == 1) { - print STDERR "ERROR: Cannot Spawn: <", $self->Executable (), - "> already running\n"; - return -1; - } - - if (!defined $self->{EXECUTABLE}) { - print STDERR "ERROR: Cannot Spawn: No executable specified\n"; - return -1; - } - - if ($self->{IGNOREEXESUBDIR} == 0) { - if (!-f $self->Executable ()) { - print STDERR "ERROR: Cannot Spawn: <", $self->Executable (), - "> not found\n"; - return -1; - } - } - - my $status = 0; - - my $cmdline; - - # Reboot the target if necessery - $self->reboot(); - - my $program = $self->Executable (); - my $cwdrel = dirname ($program); - my $prjroot = defined $ENV{"ACE_RUN_VX_PRJ_ROOT"} ? $ENV{"ACE_RUN_VX_PRJ_ROOT"} : $ENV{"ACE_ROOT"}; - if (length ($cwdrel) > 0) { - $cwdrel = File::Spec->abs2rel( cwd(), $prjroot ); - } - else { - $cwdrel = File::Spec->abs2rel( $cwdrel, $prjroot ); - } - $cwdrel =~ s/\\/\//g; - $program = basename($program, $PerlACE::ProcessVX::ExeExt); - - unlink "run_vx.pl"; - my $oh = new FileHandle(); - if (!open($oh, ">run_vx.pl")) { - print STDERR "ERROR: Unable to write to run_vx.pl\n"; - exit -1; - } - - my @cmds; - my $cmdnr = 0; - my $arguments = ""; - my $prompt = ''; - my $exesubdir = defined $ENV{"ACE_RUN_VX_EXE_SUBDIR"} ? $ENV{"ACE_RUN_VX_EXE_SUBDIR"} : ""; - - if (defined $ENV{"ACE_RUN_VX_STARTUP_SCRIPT"}) { - if (defined $ENV{"ACE_RUN_VX_STARTUP_SCRIPT_ROOT"}) { - @cmds[$cmdnr++] = 'cd "' . $ENV{'ACE_RUN_VX_STARTUP_SCRIPT_ROOT'} . '"'; - } - @cmds[$cmdnr++] = '< ' . $ENV{"ACE_RUN_VX_STARTUP_SCRIPT"}; - } - - if (defined $ENV{"ACE_RUN_VX_STARTUP_COMMAND"}) { - @cmds[$cmdnr++] = $ENV{"ACE_RUN_VX_STARTUP_COMMAND"}; - } - - if ($PerlACE::VxWorks_RTP_Test) { - @cmds[$cmdnr++] = 'cmd'; - if ( defined $ENV{"ACE_RUN_VX_TGTSVR_DEFGW"} && $PerlACE::ProcessVX::VxDefGw) { - @cmds[$cmdnr++] = "C mRouteAdd(\"0.0.0.0\", \"" . $ENV{"ACE_RUN_VX_TGTSVR_DEFGW"} . "\", 0,0,0)"; - $PerlACE::ProcessVX::VxDefGw = 0; - } - - if (defined $ENV{"ACE_RUN_VX_TGT_STARTUP_SCRIPT"}) { - my(@start_commands); - if (handle_startup_script ($ENV{"ACE_RUN_VX_TGT_STARTUP_SCRIPT"}, \@start_commands)) { - push @cmds, @start_commands; - $cmdnr += scalar @start_commands; - } - } - - @cmds[$cmdnr++] = 'cd "' . $ENV{"ACE_RUN_VX_TGTSVR_ROOT"} . "/" . $cwdrel . '"'; - @cmds[$cmdnr++] = 'C putenv("TMPDIR=' . $ENV{"ACE_RUN_VX_TGTSVR_ROOT"} . "/" . $cwdrel . '")'; - - if (defined $ENV{'ACE_RUN_ACE_DEBUG'}) { - @cmds[$cmdnr++] = 'C putenv("ACE_DEBUG=' . $ENV{"ACE_RUN_ACE_DEBUG"} . '")'; - } - - if (defined $ENV{'ACE_RUN_TAO_ORB_DEBUG'}) { - @cmds[$cmdnr++] = 'C putenv("TAO_ORB_DEBUG=' . $ENV{"ACE_RUN_TAO_ORB_DEBUG"} . '")'; - } - - if (defined $ENV{'ACE_RUN_ACE_LD_SEARCH_PATH'}) { - @cmds[$cmdnr++] = 'C putenv("ACE_LD_SEARCH_PATH=' . $ENV{"ACE_RUN_ACE_LD_SEARCH_PATH"} . '")'; - } - if (defined $self->{TARGET}) { - my $x_env_ref = $self->{TARGET}->{EXTRA_ENV}; - while ( my ($env_key, $env_value) = each(%$x_env_ref) ) { - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "INFO: adding target environment $env_key=$env_value\n"; - } - @cmds[$cmdnr++] = 'C putenv("' . $env_key. '=' . $env_value . '")'; - } - } - - if (defined $ENV{'ACE_RUN_VX_CHECK_RESOURCES'}) { - @cmds[$cmdnr++] = 'C memShow()'; - } - - $cmdline = $program . $PerlACE::ProcessVX::ExeExt . ' ' . $self->{ARGUMENTS}; - @cmds[$cmdnr++] = $cmdline; - $prompt = '\[vxWorks \*\]\# $'; - } - if ($PerlACE::VxWorks_Test) { - if ( defined $ENV{"ACE_RUN_VX_TGTSVR_DEFGW"} && $PerlACE::ProcessVX::VxDefGw) { - @cmds[$cmdnr++] = "mRouteAdd(\"0.0.0.0\", \"" . $ENV{"ACE_RUN_VX_TGTSVR_DEFGW"} . "\", 0,0,0)"; - $PerlACE::ProcessVX::VxDefGw = 0; - } - - if (defined $ENV{"ACE_RUN_VX_TGT_STARTUP_SCRIPT"}) { - my(@start_commands); - if (handle_startup_script ($ENV{"ACE_RUN_VX_TGT_STARTUP_SCRIPT"}, \@start_commands)) { - push @cmds, @start_commands; - $cmdnr += scalar @start_commands; - } - } - - my(@load_commands); - my(@unload_commands); - if (!$PerlACE::Static && !$PerlACE::VxWorks_RTP_Test) { - my $vxtest_file = $program . '.vxtest'; - if (handle_vxtest_file($self, $vxtest_file, \@load_commands, \@unload_commands)) { - @cmds[$cmdnr++] = "cd \"$ENV{'ACE_RUN_VX_TGTSVR_ROOT'}/lib\""; - push @cmds, @load_commands; - $cmdnr += scalar @load_commands; - } else { - print STDERR "ERROR: Cannot find <", $vxtest_file, ">\n"; - return -1; - } - } - - @cmds[$cmdnr++] = 'cd "' . $ENV{"ACE_RUN_VX_TGTSVR_ROOT"} . "/" . $cwdrel . "/" . $exesubdir . '"'; - @cmds[$cmdnr++] = 'putenv("TMPDIR=' . $ENV{"ACE_RUN_VX_TGTSVR_ROOT"} . "/" . $cwdrel . '")'; - - if (defined $ENV{'ACE_RUN_VX_CHECK_RESOURCES'}) { - @cmds[$cmdnr++] = 'memShow()'; - } - - if (defined $ENV{'ACE_RUN_ACE_DEBUG'}) { - @cmds[$cmdnr++] = 'putenv("ACE_DEBUG=' . $ENV{"ACE_RUN_ACE_DEBUG"} . '")'; - } - - if (defined $ENV{'ACE_RUN_TAO_ORB_DEBUG'}) { - @cmds[$cmdnr++] = 'putenv("TAO_ORB_DEBUG=' . $ENV{"ACE_RUN_TAO_ORB_DEBUG"} . '")'; - } - - if (defined $ENV{'ACE_RUN_ACE_LD_SEARCH_PATH'}) { - @cmds[$cmdnr++] = 'putenv("ACE_LD_SEARCH_PATH=' . $ENV{"ACE_RUN_ACE_LD_SEARCH_PATH"} . '")'; - } - if (defined $self->{TARGET}) { - my $x_env_ref = $self->{TARGET}->{EXTRA_ENV}; - while ( my ($env_key, $env_value) = each(%$x_env_ref) ) { - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "INFO: adding target environment $env_key=$env_value\n"; - } - @cmds[$cmdnr++] = 'putenv("' . $env_key. '=' . $env_value . '")'; - } - } - - @cmds[$cmdnr++] = 'ld <'. $program . $PerlACE::ProcessVX::ExeExt; - if (defined $self->{ARGUMENTS}) { - ($arguments = $self->{ARGUMENTS})=~ s/\"/\\\"/g; - ($arguments = $self->{ARGUMENTS})=~ s/\'/\\\'/g; - $arguments = ",\"" . $arguments . "\""; - } - if (defined $ENV{'ACE_RUN_VX_TGTSRV_WORKINGDIR'}) { - @cmds[$cmdnr++] = 'cd "' . $ENV{'ACE_RUN_VX_TGTSRV_WORKINGDIR'} . '"'; - } else { - @cmds[$cmdnr++] = 'cd "' . $ENV{'ACE_RUN_VX_TGTSVR_ROOT'} . "/" . $cwdrel . '"'; - } - @cmds[$cmdnr++] = 'ace_vx_rc = vx_execae(ace_main' . $arguments . ')'; - @cmds[$cmdnr++] = 'unld "'. $program . $PerlACE::ProcessVX::ExeExt . '"'; - push @cmds, @unload_commands; - $cmdnr += scalar @unload_commands; - $prompt = '-> $'; - } - - print $oh "require Net::Telnet;\n"; - print $oh "my \@cmds;\n"; - print $oh "my \$prompt = '$prompt';\n"; - my $i = 0; - while($i < $cmdnr) { - print $oh "\@cmds[$i] = '" . @cmds[$i++] . "';\n"; - } - print $oh "my \$cmdnr = $cmdnr;\n\n"; - - print $oh <<'__END__'; - -my $ok; -my $telnet_port = $ENV{'ACE_RUN_VX_TGT_TELNET_PORT'}; -my $telnet_host = $ENV{'ACE_RUN_VX_TGT_TELNET_HOST'}; -if (!defined $telnet_host) { - $telnet_host = $ENV{'ACE_RUN_VX_TGTHOST'}; -} -if (!defined $telnet_port) { - $telnet_port = 23; -} -my $t = new Net::Telnet(Timeout => 600, Errmode => 'return', Host => $telnet_host, Port => $telnet_port); -if (!defined $t) { - die "ERROR: Telnet failed to <" . $telnet_host . ":". $telnet_port . ">"; -} -if (!$t->open()) { - die "ERROR: Telnet open to <" . $telnet_host . ":". $telnet_port . "> " . $t->errmsg; -} - -my $target_login = $ENV{'ACE_RUN_VX_LOGIN'}; -my $target_password = $ENV{'ACE_RUN_VX_PASSWORD'}; - -if (defined $target_login) { - $t->waitfor('/VxWorks login: $/'); - $t->print("$target_login"); -} - -if (defined $target_password) { - $t->waitfor('/Password: $/'); - $t->print("$target_password"); -} - -# wait for the prompt -my $buf = ''; -my $prompt1 = '-> $'; -while (1) { - my $blk = $t->get; - print $blk; - $buf .= $blk; - if ($buf =~ /$prompt1/) { - last; - } -} -if ($buf !~ /$prompt1/) { - die "ERROR: Didn't got prompt but got <$buf>"; -} -my $i = 0; -my @lines; -while($i < $cmdnr) { - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print @cmds[$i]."\n"; - } - if ($t->print (@cmds[$i++])) { - my $buf = ''; - while (1) { - my $blk = $t->get; - print $blk; - $buf .= $blk; - if ($buf =~ /$prompt/) { - last; - } - } - } else { - print $t->errmsg; - } -} -$t->close(); -sleep(2); -exit; -__END__ - - close($oh); - - Win32::Process::Create ($self->{PROCESS}, - "$^X", - "$^X run_vx.pl", - 0, - 0, - '.'); - - Win32::Process::GetExitCode ($self->{PROCESS}, $status); - - if ($status != $STILL_ACTIVE) { - print STDERR "ERROR: Spawn failed for <", "$^X run_vx.pl", ">\n"; - exit $status; - } - - $self->{RUNNING} = 1; - return 0; -} - -# Wait for a process to exit with a timeout - -sub TimedWait ($) -{ - my($self) = shift; - my($timeout) = shift; - return $self->Wait($timeout); -} - - -# Terminate the process and wait for it to finish - -sub TerminateWaitKill ($) -{ - my $self = shift; - my $timeout = shift; - - if ($self->{RUNNING}) { - print STDERR "INFO: $self->{EXECUTABLE} being killed.\n"; - Win32::Process::Kill ($self->{PROCESS}, 0); - $PerlACE::ProcessVX::DoVxInit = 1; # force reboot on next run - } - - return $self->WaitKill ($timeout); -} - -# Wait until a process exits. -# return -1 if the process is still alive. -sub Wait ($) -{ - my $self = shift; - my $timeout = shift; - if (!defined $timeout || $timeout < 0) { - $timeout = INFINITE; - } else { - $timeout = $timeout * 1000 * $PerlACE::ProcessVX::WAIT_DELAY_FACTOR; - } - - my $result = 0; - - if ($self->{RUNNING}) { - $result = Win32::Process::Wait ($self->{PROCESS}, $timeout); - if ($result == 0) { - return -1; - } - } - Win32::Process::GetExitCode ($self->{PROCESS}, $result); - if ($result != 0) { - $PerlACE::ProcessVX::DoVxInit = 1; # force reboot on next run - } - return $result; -} - - - -# Kill the process - -sub Kill () -{ - my $self = shift; - - if ($self->{RUNNING}) { - Win32::Process::Kill ($self->{PROCESS}, -1); - } - - $self->{RUNNING} = 0; -} - -1; diff --git a/dep/ACE_wrappers/bin/PerlACE/ProcessWinCE.pm b/dep/ACE_wrappers/bin/PerlACE/ProcessWinCE.pm deleted file mode 100644 index 12addd571..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/ProcessWinCE.pm +++ /dev/null @@ -1,370 +0,0 @@ -#! /usr/bin/perl -# $Id: ProcessWinCE.pm 88363 2009-12-30 10:51:36Z johnnyw $ - -package PerlACE::ProcessVX; - -use strict; -use Win32::Process; -use File::Basename; -use File::Spec; -use FileHandle; -use Cwd; - -eval { require Net::Telnet; }; - -############################################################################### - -# This is what GetExitCode will return if the process is still running. -my $STILL_ACTIVE = 259; - -############################################################################### - -### Constructor and Destructor - -sub new -{ - my $proto = shift; - my $class = ref ($proto) || $proto; - my $self = {}; - - $self->{RUNNING} = 0; - $self->{IGNOREEXESUBDIR} = 1; - $self->{IGNOREHOSTROOT} = 0; - $self->{PROCESS} = undef; - $self->{TARGET} = shift; - $self->{EXECUTABLE} = shift; - $self->{ARGUMENTS} = shift; - if (!defined $PerlACE::ProcessVX::WAIT_DELAY_FACTOR) { - $PerlACE::ProcessVX::WAIT_DELAY_FACTOR = 3; - } - if (!defined $PerlACE::ProcessVX::RebootCmd) { - $PerlACE::ProcessVX::RebootCmd = "reboot"; - } - bless ($self, $class); - return $self; -} - -sub DESTROY -{ - my $self = shift; - - if ($self->{RUNNING} == 1) { - print STDERR "ERROR: <", $self->{EXECUTABLE}, - "> still running upon object destruction\n"; - $self->Kill (); - } - - if (!defined $ENV{'ACE_TEST_VERBOSE'}) { - unlink "run_vx.pl"; - } - - if (defined $ENV{'ACE_RUN_VX_IBOOT'} && !defined $ENV{'ACE_RUN_VX_NO_SHUTDOWN'}) { - # Shutdown the target to save power - $self->iboot_cycle_power(1); - } -} - -############################################################################### - -### Spawning processes - - -# Spawn the process and continue. - -sub Spawn () -{ - my $self = shift; - - if ($self->{RUNNING} == 1) { - print STDERR "ERROR: Cannot Spawn: <", $self->Executable (), - "> already running\n"; - return -1; - } - - if (!defined $self->{EXECUTABLE}) { - print STDERR "ERROR: Cannot Spawn: No executable specified\n"; - return -1; - } - - if ($self->{IGNOREEXESUBDIR} == 0) { - if (!-f $self->Executable ()) { - print STDERR "ERROR: Cannot Spawn: <", $self->Executable (), - "> not found\n"; - return -1; - } - } - - my $status = 0; - - my $cmdline; - - # Reboot the target if necessery - $self->reboot(); - - my $program = $self->Executable (); - my $cwdrel = dirname ($program); - my $prjroot = defined $ENV{"ACE_RUN_VX_PRJ_ROOT"} ? $ENV{"ACE_RUN_VX_PRJ_ROOT"} : $ENV{"ACE_ROOT"}; - if (length ($cwdrel) > 0) { - $cwdrel = File::Spec->abs2rel( cwd(), $prjroot ); - } - else { - $cwdrel = File::Spec->abs2rel( $cwdrel, $prjroot ); - } - $cwdrel =~ s/\\/\//g; - $program = basename($program, $PerlACE::ProcessVX::ExeExt); - - unlink "run_vx.pl"; - my $oh = new FileHandle(); - if (!open($oh, ">run_vx.pl")) { - print STDERR "ERROR: Unable to write to run_vx.pl\n"; - exit -1; - } - - my @cmds; - my $cmdnr = 0; - my $arguments = ""; - my $prompt = ''; - my $exesubdir = defined $ENV{"ACE_RUN_VX_EXE_SUBDIR"} ? $ENV{"ACE_RUN_VX_EXE_SUBDIR"} : ""; - - if (defined $ENV{"ACE_RUN_VX_STARTUP_SCRIPT"}) { - if (defined $ENV{"ACE_RUN_VX_STARTUP_SCRIPT_ROOT"}) { - @cmds[$cmdnr++] = 'cd "' . $ENV{'ACE_RUN_VX_STARTUP_SCRIPT_ROOT'} . '"'; - } - @cmds[$cmdnr++] = '< ' . $ENV{"ACE_RUN_VX_STARTUP_SCRIPT"}; - } - - if (defined $ENV{"ACE_RUN_VX_STARTUP_COMMAND"}) { - @cmds[$cmdnr++] = $ENV{"ACE_RUN_VX_STARTUP_COMMAND"}; - } - - @cmds[$cmdnr++] = 'cd ' . $ENV{"ACE_RUN_VX_TGTSVR_ROOT"} . "/" . $cwdrel . "/" . $exesubdir; - @cmds[$cmdnr++] = 'set TMPDIR=' . $ENV{"ACE_RUN_VX_TGTSVR_ROOT"} . "/" . $cwdrel; - - if (defined $ENV{'ACE_RUN_ACE_DEBUG'}) { - @cmds[$cmdnr++] = 'set ACE_DEBUG=' . $ENV{"ACE_RUN_ACE_DEBUG"}; - } - - if (defined $ENV{'ACE_RUN_TAO_ORB_DEBUG'}) { - @cmds[$cmdnr++] = 'set TAO_ORB_DEBUG=' . $ENV{"ACE_RUN_TAO_ORB_DEBUG"}; - } - - if (defined $ENV{'ACE_RUN_ACE_LD_SEARCH_PATH'}) { - @cmds[$cmdnr++] = 'set ACE_LD_SEARCH_PATH=' . $ENV{"ACE_RUN_ACE_LD_SEARCH_PATH"}; - } - - my(@load_commands); - my(@unload_commands); - my $vxtest_file = $program . '.vxtest'; - if (handle_vxtest_file($self, $vxtest_file, \@load_commands, \@unload_commands)) { - push @cmds, @load_commands; - $cmdnr += scalar @load_commands; - } else { - print STDERR "ERROR: Cannot find <", $vxtest_file, ">\n"; - } - - if (defined $self->{ARGUMENTS}) { - ($arguments = $self->{ARGUMENTS})=~ s/\"/\\\"/g; - ($arguments = $self->{ARGUMENTS})=~ s/\'/\\\'/g; - } - $cmdline = $program . ' ' . $arguments; - if (defined $ENV{'ACE_RUN_VX_TGTSRV_WORKINGDIR'}) { - @cmds[$cmdnr++] = 'cd ' . $ENV{'ACE_RUN_VX_TGTSRV_WORKINGDIR'}; - } else { - @cmds[$cmdnr++] = 'cd ' . $ENV{'ACE_RUN_VX_TGTSVR_ROOT'} . "/" . $cwdrel; - } - @cmds[$cmdnr++] = $cmdline; - if (!defined $ENV{'ACE_TEST_VERBOSE'}) { - push @cmds, @unload_commands; - $cmdnr += scalar @unload_commands; - } - $prompt = '\> $'; - - print $oh "require Net::Telnet;\n"; - print $oh "my \@cmds;\n"; - print $oh "my \$prompt = '$prompt';\n"; - my $i = 0; - while($i < $cmdnr) { - print $oh "\@cmds[$i] = '" . @cmds[$i++] . "';\n"; - } - print $oh "my \$cmdnr = $cmdnr;\n\n"; - - print $oh <<'__END__'; - -my $telnet_port = $ENV{'ACE_RUN_VX_TGT_TELNET_PORT'}; -my $telnet_host = $ENV{'ACE_RUN_VX_TGT_TELNET_HOST'}; -if (!defined $telnet_host) { - $telnet_host = $ENV{'ACE_RUN_VX_TGTHOST'}; -} -if (!defined $telnet_port) { - $telnet_port = 23; -} -my $t = new Net::Telnet(Timeout => 600, Errmode => 'return', Host => $telnet_host, Port => $telnet_port); -if (!defined $t) { - die "ERROR: Telnet failed to <" . $telnet_host . ":". $telnet_port . ">"; -} -$t->open(); - -my $ok = false; -my $buf = ''; -while (1) { - my $blk = $t->get; - print $blk; - $buf .= $blk; - if ($buf =~ /$prompt/) { - $ok = true; - last; - } -} -if ($ok) { - my $i = 0; - my @lines; - while($i < $cmdnr) { - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print @cmds[$i]."\n"; - } - if ($t->print (@cmds[$i++])) { - my $buf = ''; - while (1) { - my $blk = $t->get; - printf $blk; - $buf .= $blk; - if ($buf =~ /$prompt/) { - last; - } - } - } else { - print $t->errmsg; - } - } -} -else { - die "ERROR: No prompt appeared\n"; -} -$t->close(); -sleep(2); -exit; -__END__ - - close($oh); - - Win32::Process::Create ($self->{PROCESS}, - "$^X", - "$^X run_vx.pl", - 0, - 0, - '.'); - - Win32::Process::GetExitCode ($self->{PROCESS}, $status); - - if ($status != $STILL_ACTIVE) { - print STDERR "ERROR: Spawn failed for <", "$^X run_vx.pl", ">\n"; - exit $status; - } - - $self->{RUNNING} = 1; - return 0; -} - -# Wait for a process to exit with a timeout - -sub TimedWait ($) -{ - my($self) = shift; - my($timeout) = shift; - return $self->Wait($timeout); -} - - -# Terminate the process and wait for it to finish - -sub TerminateWaitKill ($) -{ - my $self = shift; - my $timeout = shift; - - if ($self->{RUNNING}) { - print STDERR "INFO: $self->{EXECUTABLE} being killed.\n"; - Win32::Process::Kill ($self->{PROCESS}, 0); - $PerlACE::ProcessVX::DoVxInit = 1; # force reboot on next run - } - - return $self->WaitKill ($timeout); -} - -# Wait until a process exits. -# return -1 if the process is still alive. -sub Wait ($) -{ - my $self = shift; - my $timeout = shift; - if (!defined $timeout || $timeout < 0) { - $timeout = INFINITE; - } else { - $timeout = $timeout * 1000 * $PerlACE::ProcessVX::WAIT_DELAY_FACTOR; - } - - my $result = 0; - - if ($self->{RUNNING}) { - $result = Win32::Process::Wait ($self->{PROCESS}, $timeout); - if ($result == 0) { - return -1; - } - } - Win32::Process::GetExitCode ($self->{PROCESS}, $result); - if ($result != 0) { - $PerlACE::ProcessVX::DoVxInit = 1; # force reboot on next run - } - return $result; -} - - - -# Kill the process - -sub Kill () -{ - my $self = shift; - - if ($self->{RUNNING}) { - Win32::Process::Kill ($self->{PROCESS}, -1); - } - - $self->{RUNNING} = 0; -} - -sub handle_vxtest_file -{ - my $self = shift; - my $vxtestfile = shift; - my $vx_ref = shift; - my $unld_ref = shift; - my $fh = new FileHandle; - - if (defined $self->{TARGET} && $self->{TARGET}->SystemLibs()) - { - my @tokens = split(/;/, $self->{TARGET}->SystemLibs()); - foreach my $token (@tokens) { - push @$vx_ref, "copy " . $ENV{"ACE_RUN_VX_TGTSVR_ROOT"} . "/lib/" . $token . " ."; - } - } - if (!$PerlACE::Static) { - if (open ($fh, $vxtestfile)) { - my $line1 = <$fh>; - chomp $line1; - while(<$fh>) { - $line1 = $_; - chomp $line1; - push @$vx_ref, "copy " . $ENV{"ACE_RUN_VX_TGTSVR_ROOT"} . "/lib/$line1" . "d.dll ."; - unshift @$unld_ref, "del $line1" . "d.dll"; - } - close $fh; - } else { - return 0; - } - } - return 1; -} - - -1; diff --git a/dep/ACE_wrappers/bin/PerlACE/ProcessWinCE_Unix.pm b/dep/ACE_wrappers/bin/PerlACE/ProcessWinCE_Unix.pm deleted file mode 100644 index d171624f8..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/ProcessWinCE_Unix.pm +++ /dev/null @@ -1,442 +0,0 @@ -#! /usr/bin/perl -# $Id: ProcessWinCE_Unix.pm 88363 2009-12-30 10:51:36Z johnnyw $ - -package PerlACE::ProcessVX; - -use strict; -use POSIX "sys_wait_h"; -use File::Basename; -use File::Spec; -use Config; -use FileHandle; -use Cwd; - -eval { require Net::Telnet; }; - -############################################################################### - -### Grab signal names - -my @signame; - -if (defined $Config{sig_name}) { - my $i = 0; - foreach my $name (split (' ', $Config{sig_name})) { - $signame[$i] = $name; - $i++; - } -} -else { - my $i; - for ($i = 0; $i < 255; ++$i) { - $signame[$i] = $i; - } -} - -############################################################################### - -# This is what GetExitCode will return if the process is still running. -my $STILL_ACTIVE = 259; - -############################################################################### - -### Constructor and Destructor - -sub new -{ - my $proto = shift; - my $class = ref ($proto) || $proto; - my $self = {}; - - $self->{RUNNING} = 0; - $self->{IGNOREEXESUBDIR} = 1; - $self->{IGNOREHOSTROOT} = 0; - $self->{PROCESS} = undef; - $self->{EXECUTABLE} = shift; - $self->{ARGUMENTS} = shift; - $self->{TARGET} = shift; - if (!defined $PerlACE::ProcessVX::WAIT_DELAY_FACTOR) { - $PerlACE::ProcessVX::WAIT_DELAY_FACTOR = 2; - } - if (!defined $PerlACE::ProcessVX::RebootCmd) { - $PerlACE::ProcessVX::RebootCmd = "reboot 0x02"; - } - bless ($self, $class); - return $self; -} - -sub DESTROY -{ - my $self = shift; - - if ($self->{RUNNING} == 1) { - print STDERR "ERROR: <", $self->{EXECUTABLE}, - "> still running upon object destruction\n"; - $self->Kill (); - } - - if (defined $ENV{'ACE_RUN_VX_IBOOT'} && !defined $ENV{'ACE_RUN_VX_NO_SHUTDOWN'}) { - # Shutdown the target to save power - $self->iboot_cycle_power(1); - } -} - -############################################################################### - -# Spawn the process and continue. - -sub Spawn () -{ - my $self = shift; - - if ($self->{RUNNING} == 1) { - print STDERR "ERROR: Cannot Spawn: <", $self->Executable (), - "> already running\n"; - return -1; - } - - if (!defined $self->{EXECUTABLE}) { - print STDERR "ERROR: Cannot Spawn: No executable specified\n"; - return -1; - } - - if ($self->{IGNOREEXESUBDIR} == 0) { - if (!-f $self->Executable ()) { - print STDERR "ERROR: Cannot Spawn: <", $self->Executable (), - "> not found\n"; - return -1; - } - } - - my $status = 0; - - my $cmdline; - - # Reboot the target if necessery - $self->reboot(); - - my $program = $self->Executable (); - my $cwdrel = dirname ($program); - my $prjroot = defined $ENV{"ACE_RUN_VX_PRJ_ROOT"} ? $ENV{"ACE_RUN_VX_PRJ_ROOT"} : $ENV{"ACE_ROOT"}; - if (length ($cwdrel) > 0) { - $cwdrel = File::Spec->abs2rel( cwd(), $prjroot ); - } - else { - $cwdrel = File::Spec->abs2rel( $cwdrel, $prjroot ); - } - $program = basename($program, $PerlACE::ProcessVX::ExeExt); - - my @cmds; - my $cmdnr = 0; - my $arguments = ""; - my $prompt = ''; - my $exesubdir = defined $ENV{"ACE_RUN_VX_EXE_SUBDIR"} ? $ENV{"ACE_RUN_VX_EXE_SUBDIR"} : ""; - - if (defined $ENV{"ACE_RUN_VX_STARTUP_SCRIPT"}) { - if (defined $ENV{"ACE_RUN_VX_STARTUP_SCRIPT_ROOT"}) { - @cmds[$cmdnr++] = 'cd "' . $ENV{'ACE_RUN_VX_STARTUP_SCRIPT_ROOT'} . '"'; - } - @cmds[$cmdnr++] = '< ' . $ENV{"ACE_RUN_VX_STARTUP_SCRIPT"}; - } - - if (defined $ENV{"ACE_RUN_VX_STARTUP_COMMAND"}) { - @cmds[$cmdnr++] = $ENV{"ACE_RUN_VX_STARTUP_COMMAND"}; - } - - @cmds[$cmdnr++] = 'cd ' . $ENV{"ACE_RUN_VX_TGTSVR_ROOT"} . "/" . $cwdrel . "/" . $exesubdir; - @cmds[$cmdnr++] = 'set TMPDIR=' . $ENV{"ACE_RUN_VX_TGTSVR_ROOT"} . "/" . $cwdrel; - - if (defined $ENV{'ACE_RUN_ACE_DEBUG'}) { - @cmds[$cmdnr++] = 'set ACE_DEBUG=' . $ENV{"ACE_RUN_ACE_DEBUG"}; - } - - if (defined $ENV{'ACE_RUN_TAO_ORB_DEBUG'}) { - @cmds[$cmdnr++] = 'set TAO_ORB_DEBUG=' . $ENV{"ACE_RUN_TAO_ORB_DEBUG"}; - } - - if (defined $ENV{'ACE_RUN_ACE_LD_SEARCH_PATH'}) { - @cmds[$cmdnr++] = 'set ACE_LD_SEARCH_PATH=' . $ENV{"ACE_RUN_ACE_LD_SEARCH_PATH"}; - } - - my(@load_commands); - my(@unload_commands); - my $vxtest_file = $program . '.vxtest'; - if (handle_vxtest_file($self, $vxtest_file, \@load_commands, \@unload_commands)) { - push @cmds, @load_commands; - $cmdnr += scalar @load_commands; - } else { - print STDERR "ERROR: Cannot find <", $vxtest_file, ">\n"; - } - - if (defined $self->{ARGUMENTS}) { - ($arguments = $self->{ARGUMENTS})=~ s/\"/\\\"/g; - ($arguments = $self->{ARGUMENTS})=~ s/\'/\\\'/g; - } - $cmdline = $program . ' ' . $arguments; - if (defined $ENV{'ACE_RUN_VX_TGTSRV_WORKINGDIR'}) { - @cmds[$cmdnr++] = 'cd ' . $ENV{'ACE_RUN_VX_TGTSRV_WORKINGDIR'}; - } else { - @cmds[$cmdnr++] = 'cd ' . $ENV{'ACE_RUN_VX_TGTSVR_ROOT'} . "/" . $cwdrel; - } - @cmds[$cmdnr++] = $cmdline; - if (!defined $ENV{'ACE_TEST_VERBOSE'}) { - push @cmds, @unload_commands; - $cmdnr += scalar @unload_commands; - } - $prompt = '[\\\\].*>[\ ]$'; - - FORK: - { - if ($self->{PROCESS} = fork) { - #parent here - bless $self; - } - elsif (defined $self->{PROCESS}) { - #child here - my $telnet_port = $ENV{'ACE_RUN_VX_TGT_TELNET_PORT'}; - my $telnet_host = $ENV{'ACE_RUN_VX_TGT_TELNET_HOST'}; - if (!defined $telnet_host) { - $telnet_host = $ENV{'ACE_RUN_VX_TGTHOST'}; - } - if (!defined $telnet_port) { - $telnet_port = 23; - } - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "Opening telnet connection <" . $telnet_host . ":". $telnet_port . ">\n"; - } - my $t = new Net::Telnet(Timeout => 600, Errmode => 'return', Host => $telnet_host, Port => $telnet_port); - if (!defined $t) { - die "ERROR: Telnet failed to <" . $telnet_host . ":". $telnet_port . ">"; - } - my $retries = 10; - while ($retries--) { - if (!$t->open()) { - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "Couldn't open telnet connection; sleeping then retrying\n"; - } - if ($retries == 0) { - die "ERROR: Telnet open to <" . $telnet_host . ":". $telnet_port . "> " . $t->errmsg; - } - sleep(5); - } else { - last; - } - } - - my $target_login = $ENV{'ACE_RUN_VX_LOGIN'}; - my $target_password = $ENV{'ACE_RUN_VX_PASSWORD'}; - - if (defined $target_login) { - $t->waitfor('/VxWorks login: $/'); - $t->print("$target_login"); - } - - if (defined $target_password) { - $t->waitfor('/Password: $/'); - $t->print("$target_password"); - } - - my $buf = ''; - # wait for the prompt - while (1) { - my $blk = $t->get; - print $blk; - $buf .= $blk; - if ($buf =~ /$prompt/) { - last; - } - } - if ($buf !~ /$prompt/) { - die "ERROR: Didn't got prompt but got <$buf>"; - } - my $i = 0; - my @lines; - while($i < $cmdnr) { - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print @cmds[$i]."\n"; - } - if ($t->print (@cmds[$i++])) { - # After each command wait for the prompt - my $buf = ''; - while (1) { - my $blk = $t->get; - print $blk; - $buf .= $blk; - if ($buf =~ /$prompt/) { - last; - } - } - } else { - print $t->errmsg; - } - } - $t->close(); - sleep(2); - exit; - } - elsif ($! =~ /No more process/) { - #EAGAIN, supposedly recoverable fork error - sleep 5; - redo FORK; - } - else { - # weird fork error - print STDERR "ERROR: Can't fork <" . $cmdline . ">: $!\n"; - } - } - $self->{RUNNING} = 1; - return 0; -} - - -# Terminate the process and wait for it to finish - -sub TerminateWaitKill ($) -{ - my $self = shift; - my $timeout = shift; - - if ($self->{RUNNING}) { - print STDERR "INFO: $self->{EXECUTABLE} being killed.\n"; - kill ('TERM', $self->{PROCESS}); - - $PerlACE::ProcessVX::DoVxInit = 1; # force reboot on next run - } - - return $self->WaitKill ($timeout); -} - -# really only for internal use -sub check_return_value ($) -{ - my $self = shift; - my $rc = shift; - - my $CC_MASK = 0xff00; - - # Exit code processing - if ($rc == 0) { - return 0; - } - elsif ($rc == $CC_MASK) { - print STDERR "ERROR: <", $self->{EXECUTABLE}, - "> failed: $!\n"; - - $PerlACE::ProcessVX::DoVxInit = 1; # force reboot on next run - - return ($rc >> 8); - } - elsif (($rc & 0xff) == 0) { - $rc >>= 8; - return $rc; - } - - # Remember Core dump flag - my $dump = 0; - - if ($rc & 0x80) { - $rc &= ~0x80; - $dump = 1; - } - - # check for ABRT, KILL or TERM - if ($rc == 6 || $rc == 9 || $rc == 15) { - return 0; - } - - print STDERR "ERROR: <", $self->{EXECUTABLE}, - "> exited with "; - - print STDERR "coredump from " if ($dump == 1); - - print STDERR "signal $rc : ", $signame[$rc], "\n"; - - $PerlACE::ProcessVX::DoVxInit = 1; # force reboot on next run - - return 0; -} - -sub Kill () -{ - my $self = shift; - - if ($self->{RUNNING} && !defined $ENV{'ACE_TEST_WINDOW'}) { - kill ('KILL', $self->{PROCESS}); - waitpid ($self->{PROCESS}, 0); - $self->check_return_value ($?); - } - - $self->{RUNNING} = 0; -} - -# Wait until a process exits. -# return -1 if the process is still alive. -sub Wait ($) -{ - my $self = shift; - my $timeout = shift; - if (!defined $timeout || $timeout < 0) { - waitpid ($self->{PROCESS}, 0); - } else { - return TimedWait($self, $timeout); - } - -} - -sub TimedWait ($) -{ - my $self = shift; - my $timeout = shift; - - if ($PerlACE::Process::WAIT_DELAY_FACTOR > 0) { - $timeout *= $PerlACE::Process::WAIT_DELAY_FACTOR; - } - - while ($timeout-- != 0) { - my $pid = waitpid ($self->{PROCESS}, &WNOHANG); - if ($pid != 0 && $? != -1) { - return $self->check_return_value ($?); - } - sleep 1; - } - - $PerlACE::ProcessVX::DoVxInit = 1; # force reboot on next run - - return -1; -} - -sub handle_vxtest_file -{ - my $self = shift; - my $vxtestfile = shift; - my $vx_ref = shift; - my $unld_ref = shift; - my $fh = new FileHandle; - - if (defined $self->{TARGET} && $self->{TARGET}->SystemLibs()) - { - my @tokens = split(/;/, $self->{TARGET}->SystemLibs()); - foreach my $token (@tokens) { - push @$vx_ref, "copy " . $ENV{"ACE_RUN_VX_TGTSVR_ROOT"} . "/lib/" . $token . " ."; - unshift @$unld_ref, "del " . $token; - } - } - if (!$PerlACE::Static) { - if (open ($fh, $vxtestfile)) { - my $line1 = <$fh>; - chomp $line1; - while(<$fh>) { - $line1 = $_; - chomp $line1; - push @$vx_ref, "copy " . $ENV{"ACE_RUN_VX_TGTSVR_ROOT"} . "/lib/$line1" . ".dll ."; - unshift @$unld_ref, "del $line1" . ".dll"; - } - close $fh; - } else { - return 0; - } - } - return 1; -} - -1; diff --git a/dep/ACE_wrappers/bin/PerlACE/Process_Unix.pm b/dep/ACE_wrappers/bin/PerlACE/Process_Unix.pm deleted file mode 100644 index a8be8ad75..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/Process_Unix.pm +++ /dev/null @@ -1,762 +0,0 @@ -#! /usr/bin/perl -# $Id: Process_Unix.pm 91052 2010-07-09 08:36:01Z mcorino $ - -package PerlACE::Process; - -use strict; -use POSIX "sys_wait_h"; -use Cwd; -use File::Basename; -use Config; - -############################################################################### - -### Grab signal names - -my @signame; - -if (defined $Config{sig_name}) { - my $i = 0; - foreach my $name (split (' ', $Config{sig_name})) { - $signame[$i] = $name; - $i++; - } -} -else { - my $i; - for ($i = 0; $i < 255; ++$i) { - $signame[$i] = $i; - } -} - -############################################################################### - -### Constructor and Destructor - -sub new -{ - my $proto = shift; - my $class = ref ($proto) || $proto; - my $self = {}; - - $self->{RUNNING} = 0; - $self->{IGNOREEXESUBDIR} = 0; - $self->{IGNOREHOSTROOT} = 0; - $self->{PROCESS} = undef; - $self->{EXECUTABLE} = shift; - $self->{ARGUMENTS} = shift; - $self->{VALGRIND_CMD} = $ENV{"ACE_RUN_VALGRIND_CMD"}; - - if (!defined $PerlACE::Process::WAIT_DELAY_FACTOR) { - if (defined $self->{PURIFY_CMD}) { - $PerlACE::Process::WAIT_DELAY_FACTOR = 10; - } - elsif (defined $self->{VALGRIND_CMD}) { - $PerlACE::Process::WAIT_DELAY_FACTOR = 5; - } - else { - $PerlACE::Process::WAIT_DELAY_FACTOR = 1; - } - } - - bless ($self, $class); - return $self; -} - -sub DESTROY -{ - my $self = shift; - - if ($self->{RUNNING} == 1) { - print STDERR "ERROR: <", $self->{EXECUTABLE}, - "> still running upon object destruction\n"; - $self->Kill (); - } - - if (defined $self->{SCRIPTFILE}) { - unlink $self->{SCRIPTFILE}; - } -} - -############################################################################### - -### Some Accessors - -sub Executable -{ - my $self = shift; - - if (@_ != 0) { - $self->{EXECUTABLE} = shift; - } - - my $executable = $self->{EXECUTABLE}; - - # If the target's config has a different ACE_ROOT, rebase the executable - # from $ACE_ROOT to the target's root. - if (defined $self->{TARGET} && - $self->{TARGET}->ACE_ROOT() ne $ENV{"ACE_ROOT"}) { - $executable = PerlACE::rebase_path ($executable, - $ENV{"ACE_ROOT"}, - $self->{TARGET}->ACE_ROOT()); - } - - if ($self->{IGNOREHOSTROOT} == 0) { - if (PerlACE::is_vxworks_test()) { - $executable = PerlACE::VX_HostFile ($executable); - } - } - - if ($self->{IGNOREEXESUBDIR}) { - return $executable; - } - - my $basename = basename ($executable); - my $dirname = dirname ($executable).'/'; - - my $subdir = $PerlACE::Process::ExeSubDir; - if (defined $self->{TARGET} && defined $self->{TARGET}->{EXE_SUBDIR}) { - $subdir = $self->{TARGET}->{EXE_SUBDIR}; - } - - $executable = $dirname . $subdir . $basename; - - return $executable; -} - -sub Arguments -{ - my $self = shift; - - if (@_ != 0) { - $self->{ARGUMENTS} = shift; - } - - return $self->{ARGUMENTS}; -} - -sub CommandLine () -{ - my $self = shift; - - my $exe = $self->Executable (); - my $commandline = $exe; - - if (defined $self->{REMOTEINFO}) { - my($method) = $self->{REMOTEINFO}->{method}; - my($username) = $self->{REMOTEINFO}->{username}; - my($remote) = $self->{REMOTEINFO}->{hostname}; - my($exepath) = $self->{REMOTEINFO}->{exepath}; - my($libpath) = $self->{REMOTEINFO}->{libpath}; - my($exe) = (defined $exepath ? - "$exepath/" . basename($commandline) : $commandline); - $commandline = "$method -l $username $remote \""; - if (defined $libpath) { - my($csh) = (defined $self->{REMOTEINFO}->{shell} && - $self->{REMOTEINFO}->{shell} =~ /csh/); - foreach my $pvar ('DYLD_LIBRARY_PATH', 'LD_LIBRARY_PATH', - 'LIBPATH', 'SHLIB_PATH') { - if ($csh) { - $commandline .= "if (! \\\$?$pvar) setenv $pvar; " . - "setenv $pvar $libpath:\\\$$pvar; "; - } - else { - $commandline .= "$pvar=$libpath:\\\$$pvar; export $pvar; "; - } - } - my($env) = $self->{REMOTEINFO}->{env}; - if (defined $env) { - foreach my $pvar (keys %$env) { - if ($csh) { - $commandline .= "setenv $pvar $$env{$pvar}; "; - } - else { - $commandline .= "$pvar=$$env{$pvar}; export $pvar; "; - } - } - } - } - $commandline .= $exe; - } - - if (defined $self->{ARGUMENTS}) { - $commandline .= ' '.$self->{ARGUMENTS}; - } - - # Avoid modifying TAO/tests run_test.pl scripts by using the - # ACE_RUNTEST_ARGS environment variable to append command line - # arguments. - if ($^O eq "nonstop_kernel") { - my $global_args = $ENV{"ACE_RUNTEST_ARGS"}; - if ((length($global_args) > 0) - && ($commandline !~ /tao_idl/)) { - $commandline = $commandline - . ' ' - . $global_args; - } - } - - if (defined $self->{REMOTEINFO}) { - $commandline .= '"'; - } elsif (defined $self->{TARGET} && defined $self->{TARGET}->{REMOTE_SHELL}) { - my($shell) = $self->{TARGET}->{REMOTE_SHELL}; - my $x_env_ref = $self->{TARGET}->{EXTRA_ENV}; - my($root) = $self->{TARGET}->ACE_ROOT(); - if (!defined $root) { - $root = $ENV{'ACE_ROOT'}; - } - my($exedir) = dirname ($exe); - my($local_xdir)= File::Spec->rel2abs($self->{EXECUTABLE}); - if ($exedir == '.' || $exedir == './' || $exedir == '') { - $exedir = cwd (); - $local_xdir = $exedir; - } - if (!defined $self->{PIDFILE}) { - $self->{PIDFILE} = "/tmp/.acerun/ace-".rand(time).".pid"; - } - if (!defined $self->{SCRIPTFILE}) { - $self->{SCRIPTFILE} = "$local_xdir/run-".rand(time).".sh"; - } - ## create scriptfile - my $libpath = "$root/lib"; - if (defined $self->{TARGET}->{LIBPATH}) { - $libpath = PerlACE::concat_path ($libpath, $self->{TARGET}->{LIBPATH}); - } - my $run_script = - "if [ ! -e /tmp/.acerun ]; then mkdir /tmp/.acerun; fi\n". - "cd $exedir\n". - "export LD_LIBRARY_PATH=$libpath:\$LD_LIBRARY_PATH\n". - "export DYLD_LIBRARY_PATH=$libpath:\$DYLD_LIBRARY_PATH\n". - "export LIBPATH=$libpath:\$LIBPATH\n". - "export SHLIB_PATH=$libpath:\$SHLIB_PATH\n". - "export PATH=\$PATH:$root/bin:$root/lib:$libpath\n"; - while ( my ($env_key, $env_value) = each(%$x_env_ref) ) { - $run_script .= - "export $env_key=$env_value\n"; - } - $run_script .= - "$commandline &\n"; - $run_script .= - "MY_PID=\$!\n". - "echo \$MY_PID > ".$self->{PIDFILE}."\n"; - $run_script .= - "wait \$MY_PID\n"; - - unless (open (RUN_SCRIPT, ">".$self->{SCRIPTFILE})) { - print STDERR "ERROR: Cannot Spawn: <", $self->Executable (), - "> failed to create ",$self->{SCRIPTFILE},"\n"; - return -1; - } - print RUN_SCRIPT $run_script; - close RUN_SCRIPT; - - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print STDERR "INFO: created run script [",$self->{SCRIPTFILE},"]\n", $run_script; - } - - $commandline = "$shell \"source $exedir/".basename ($self->{SCRIPTFILE})."\""; - } - - return $commandline; -} - -sub IgnoreExeSubDir -{ - my $self = shift; - - # If we have -Config ARCH, do not set IGNOREEXESUBDIR, since with ARCH - # all executables (even those in $ACE_ROOT/bin, etc.) are located in the - # architecture-specific subdirectory. - if (@_ != 0 && !grep(($_ eq 'ARCH'), @PerlACE::ConfigList::Configs)) { - $self->{IGNOREEXESUBDIR} = shift; - } - elsif (@_ != 0 && $self->{EXECUTABLE} =~ /perl$/) { - $self->{IGNOREEXESUBDIR} = shift; - } - - return $self->{IGNOREEXESUBDIR}; -} - -sub IgnoreHostRoot -{ - my $self = shift; - - if (@_ != 0) { - $self->{IGNOREHOSTROOT} = shift; - } - - return $self->{IGNOREHOSTROOT}; -} - -sub RemoteInformation -{ - my($self) = shift; - my(%params) = @_; - - ## Valid keys for %params - ## hostname - The remote hostname - ## method - either rsh or ssh - ## username - The remote user name - ## exepath - The remote path to the executable - ## shell - The shell of the remote user - ## libpath - A library path for libraries required by the executable - ## env - A hash reference of name value pairs to be set in the - ## environment prior to executing the executable. - ## - ## At a minimum, the user must provide the remote hostname. - - if (defined $params{'hostname'}) { - my(@pwd) = getpwuid($<); - $self->{REMOTEINFO} = \%params; - if (!defined $self->{REMOTEINFO}->{'method'}) { - $self->{REMOTEINFO}->{'method'} = 'ssh'; - } - if (!defined $self->{REMOTEINFO}->{'username'}) { - $self->{REMOTEINFO}->{'username'} = $pwd[0] || - $ENV{LOGNAME} || $ENV{USERNAME}; - } - if (!defined $self->{REMOTEINFO}->{'shell'}) { - $self->{REMOTEINFO}->{'shell'} = basename($pwd[8]); - } - } -} - -############################################################################### - -# Spawn the process and continue; - -sub Normalize_Executable_Name -{ - my $executable = shift; - - my $basename = basename ($executable); - my $dirname = dirname ($executable). '/'; - - $executable = $dirname.$PerlACE::Process::ExeSubDir.$basename; - - return $executable; -} - -sub Spawn () -{ - my $self = shift; - - if ($self->{RUNNING} == 1) { - print STDERR "ERROR: Cannot Spawn: <", $self->Executable (), - "> already running\n"; - return -1; - } - - if (!defined $self->{EXECUTABLE}) { - print STDERR "ERROR: Cannot Spawn: No executable specified\n"; - return -1; - } - - if ($self->{IGNOREEXESUBDIR} == 0) { - if (!defined $self->{REMOTEINFO} && !-f $self->Executable ()) { - print STDERR "ERROR: Cannot Spawn: <", $self->Executable (), - "> not found\n"; - return -1; - } - } - - my $cmdline = ""; - my $executable = ""; - - if (defined $self->{VALGRIND_CMD}) { - my $orig_cmdline = $self->CommandLine(); - $executable = $self->{VALGRIND_CMD}; - my $basename = basename ($self->{EXECUTABLE}); - - $cmdline = "$executable $orig_cmdline"; - } - elsif (defined $ENV{'ACE_TEST_WINDOW'}) { - $cmdline = $ENV{'ACE_TEST_WINDOW'} . ' ' . $self->CommandLine(); - } - else { - $executable = $self->Executable(); - $cmdline = $self->CommandLine(); - } - - FORK: - { - if ($self->{PROCESS} = fork) { - #parent here - bless $self; - } - elsif (defined $self->{PROCESS}) { - #child here - my @cmdlist = $self->parse_command_line($cmdline); - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "INFO: $cmdline\n"; - foreach my $arg (@cmdlist) { - print "INFO: argument - '$arg'\n"; - } - } - # update environment for target - if (defined $self->{TARGET}) { - if (!(defined $self->{TARGET}->{REMOTE_SHELL} || defined $self->{REMOTEINFO})) { - my $x_env_ref = $self->{TARGET}->{EXTRA_ENV}; - while ( my ($env_key, $env_value) = each(%$x_env_ref) ) { - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "INFO: adding target environment $env_key=$env_value\n"; - } - $ENV{$env_key} = $env_value; - } - } - if ($self->{TARGET}->{LIBPATH}) { - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "INFO: adding target libpath ".$self->{TARGET}->{LIBPATH}."\n"; - } - PerlACE::add_lib_path ($self->{TARGET}->{LIBPATH}); - } - } - if (!(defined $self->{VALGRIND_CMD} || defined $ENV{'ACE_TEST_WINDOW'}) && - (defined $self->{TARGET}) && ($ENV{'ACE_ROOT'} ne $self->{TARGET}->ACE_ROOT ())) { - my $x_dir = dirname ($executable); - chdir ($x_dir); - } - exec @cmdlist; - die "ERROR: exec failed for <" . $cmdline . ">\n"; - } - elsif ($! =~ /No more process/) { - #EAGAIN, supposedly recoverable fork error - sleep 5; - redo FORK; - } - else { - # weird fork error - print STDERR "ERROR: Can't fork <" . $cmdline . ">: $!\n"; - } - } - - if (defined $self->{TARGET} && defined $self->{TARGET}->{REMOTE_SHELL}) { - my $shell = $self->{TARGET}->{REMOTE_SHELL}; - my $pidfile = $self->{PIDFILE}; - ## wait max 5 sec for pid file to appear - my $timeout = 5; - my $rc = 1; - while ($timeout-- != 0) { - $rc = int(`$shell 'test -e $pidfile && test -s $pidfile ; echo \$?'`); - if ($rc == 0) { - $timeout = 0; - } else { - sleep 1; - } - } - if ($rc != 0) { - print STDERR "ERROR: Remote command failed <" . $cmdline . ">: $! No PID found.\n"; - return -1; - } - $self->{REMOTE_PID} = `$shell cat $pidfile`; - $self->{REMOTE_PID} =~ s/\s+//g; - system("$shell rm -f $pidfile 2>&1 >/dev/null"); - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print STDERR "INFO: Process started remote with pid [",$self->{REMOTE_PID},"]\n"; - } - } - - $self->{RUNNING} = 1; - return 0; -} - -sub WaitKill ($) -{ - my $self = shift; - my $timeout = shift; - - if ($self->{RUNNING} == 0) { - return 0; - } - - my $status = $self->TimedWait ($timeout); - - if ($status == -1) { - print STDERR "ERROR: $self->{EXECUTABLE} timedout\n"; - $self->Kill (); - } - - $self->{RUNNING} = 0; - - return $status; -} - - -# Do a Spawn and immediately WaitKill - -sub SpawnWaitKill ($) -{ - my $self = shift; - my $timeout = shift; - - if ($self->Spawn () == -1) { - return -1; - } - - return $self->WaitKill ($timeout); -} - -sub TerminateWaitKill ($) -{ - my $self = shift; - my $timeout = shift; - - if ($self->{RUNNING}) { - print STDERR "INFO: $self->{EXECUTABLE} being killed.\n"; - kill ('TERM', $self->{PROCESS}); - } - - return $self->WaitKill ($timeout); -} - -# really only for internal use -sub check_return_value ($) -{ - my $self = shift; - my $rc = shift; - - # NSK OSS has a 32-bit waitpid() status - my $is_NSK = ($^O eq "nonstop_kernel"); - my $CC_MASK = $is_NSK ? 0xffff00 : 0xff00; - - # Exit code processing - if ($rc == 0) { - return 0; - } - elsif ($rc == $CC_MASK) { - print STDERR "ERROR: <", $self->{EXECUTABLE}, - "> failed: $!\n"; - return ($rc >> 8); - } - elsif (($rc & 0xff) == 0) { - $rc >>= 8; - return $rc; - } - - # Ignore NSK 16-bit completion code - $rc &= 0xff if $is_NSK; - - # Remember Core dump flag - my $dump = 0; - - if ($rc & 0x80) { - $rc &= ~0x80; - $dump = 1; - } - - # check for ABRT, KILL or TERM - if ($rc == 6 || $rc == 9 || $rc == 15) { - return 0; - } - - print STDERR "ERROR: <", $self->{EXECUTABLE}, - "> exited with "; - - print STDERR "coredump from " if ($dump == 1); - - print STDERR "signal $rc : ", $signame[$rc], "\n"; - - return 255; -} - -# for internal use -sub parse_command_line ($) -{ - my $self = shift; - my $cmdline = shift; - $cmdline =~ s/^\s+//; - - my @cmdlist = (); - while ($cmdline ne '') { - if ($cmdline =~ /^\"([^\"\\]*(?:\\.[^\"\\]*)*)\"(.*)/) { - my $unquoted = $1; - $cmdline = $2; - $unquoted =~ s/\\\"/\"/g; - push @cmdlist, $unquoted; - } - elsif ($cmdline =~ /^\'([^\'\\]*(?:\\.[^\'\\]*)*)\'(.*)/) { - my $unquoted = $1; - $cmdline = $2; - $unquoted =~ s/\\\'/\'/g; - push @cmdlist, $unquoted; - } - elsif ($cmdline =~ /^([^\s]*)(.*)/) { - push @cmdlist, $1; - $cmdline = $2; - } - else { - # this must be some kind of error - push @cmdlist, $cmdline; - } - $cmdline =~ s/^\s+//; - } - - return @cmdlist; -} - -sub Kill ($) -{ - my $self = shift; - my $ignore_return_value = shift; - - if ($self->{RUNNING} && !defined $ENV{'ACE_TEST_WINDOW'}) { - if (defined $self->{TARGET} && defined $self->{TARGET}->{REMOTE_SHELL}) { - my $cmd = $self->{TARGET}->{REMOTE_SHELL}." kill -s KILL ".$self->{REMOTE_PID}; - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print STDERR "INFO: Killing remote process <", $cmd, ">\n"; - } - $cmd = `$cmd 2>&1`; - } else { - kill ('KILL', $self->{PROCESS}); - } - for(my $i = 0; $i < 10; $i++) { - my $pid = waitpid ($self->{PROCESS}, WNOHANG); - if ($pid > 0) { - if (! $ignore_return_value) { - $self->check_return_value ($?); - } - last; - } - else { - select(undef, undef, undef, .5); - } - } - } - - $self->{RUNNING} = 0; -} - -# Wait until a process exits. -# return -1 if the process is still alive. -sub Wait ($) -{ - my $self = shift; - my $timeout = shift; - if (!defined $self->{PROCESS}) { - return 0; - } - if (!defined $timeout || $timeout < 0) { - return waitpid ($self->{PROCESS}, 0); - } else { - return TimedWait($self, $timeout); - } - -} - -sub TimedWait ($) -{ - my $self = shift; - my $timeout = shift; - - if (!defined $self->{PROCESS}) { - return 0; - } - - $timeout *= $PerlACE::Process::WAIT_DELAY_FACTOR; - - while ($timeout-- != 0) { - my $pid = waitpid ($self->{PROCESS}, &WNOHANG); - if ($pid != 0 && $? != -1) { - return $self->check_return_value ($?); - } - sleep 1; - } - - return -1; -} - -### - -sub kill_all -{ - my $procmask = shift; - my $target = shift; - my $pid = -1; - my $cmd; - my $valgrind_cmd = $ENV{"ACE_RUN_VALGRIND_CMD"}; - my $ps_cmd = 'ps -ef'; - my $ps_pid_field = 1; - my $ps_cmd_field = 7; - my $ps_skip_first = 1; - my @ps_fields = 0; - if (defined $target && defined $target->{PS_CMD}) { - ## in case a special command is required - ## format: ::[:] - $ps_cmd_field = -1; - @ps_fields = split (/:/, $target->{PS_CMD}); - $ps_cmd = @ps_fields[0]; - if (@ps_fields > 1) { - $ps_pid_field = @ps_fields[1]; - if (@ps_fields > 2) { - $ps_cmd_field = @ps_fields[2]; - if (@ps_fields > 3) { - $ps_skip_first = (@ps_fields[3] == '1' ? 1 : 0); - } - } - } else { - print STDERR "ERROR: Missing field index for PID in [PS_CMD=".$target->{PS_CMD}."]\n"; - return 0; - } - @ps_fields = 0; - } elsif (! (defined $target && defined $target->{REMOTE_SHELL}) ) { - my $ps_file = `which ps`; - $ps_file =~ s/^\s+//; - $ps_file =~ s/\s+$//; - if ((-l $ps_file) and (readlink ($ps_file)) =~ /busybox/) { - ## some embedded targets use BusyBox for base tools - ## with different arguments - $ps_cmd = 'ps w'; - $ps_pid_field = 0; - $ps_cmd_field = 4; - } - } - if (defined $target && defined $target->{REMOTE_SHELL}) { - $ps_cmd = $target->{REMOTE_SHELL}.' '.$ps_cmd; - } - for my $line (`$ps_cmd`) { - if ($ps_skip_first) { - # skip first line (headers) - $ps_skip_first = 0; - } else { - # split line - @ps_fields = split (/\s+/, $line); - if (@ps_fields > $ps_pid_field && @ps_fields > $ps_cmd_field) { - - $pid = @ps_fields[$ps_pid_field]; # process PID - # take care of valgrind runs - if (defined $valgrind_cmd) { - my $pos = index ($line, $valgrind_cmd); - if ($pos >= 0) { - $cmd = substr ($line, $pos + length ($valgrind_cmd)); - $cmd =~ s/^\s+//; # strip leading ws - @ps_fields = split (/\s+/, $cmd); - $cmd = @ps_fields[0]; - } else { - $cmd = $line; - } - } else { - if ($ps_cmd_field >= 0) { - $cmd = @ps_fields[$ps_cmd_field]; # process cmd / executable - } else { - $cmd = $line; - } - } - - # match process cmd - if ($cmd =~ /$procmask/) { - if (defined $target && defined $target->{REMOTE_SHELL}) { - my $kill_cmd = $target->{REMOTE_SHELL}." kill -s KILL $pid"; - $kill_cmd = `$kill_cmd`; - } else { - kill ('KILL', $pid); # kill process - } - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print STDERR "INFO: Killed process at [$line]\n"; - } - } - } - } - } -} - -1; diff --git a/dep/ACE_wrappers/bin/PerlACE/Process_VMS.pm b/dep/ACE_wrappers/bin/PerlACE/Process_VMS.pm deleted file mode 100644 index f7e333e0f..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/Process_VMS.pm +++ /dev/null @@ -1,368 +0,0 @@ -#! /usr/bin/perl -# $Id: Process_VMS.pm 89840 2010-04-12 09:36:32Z mcorino $ - -package PerlACE::Process; - -use strict; -use POSIX "sys_wait_h"; -use Cwd; -use File::Basename; -use Config; -use VmsProcess; - -############################################################################### - -### Chorus stuff - -$PerlACE::Process::chorushostname = "localhost"; -$PerlACE::Process::chorus = 0; - -$PerlACE::Process::cwd = getcwd(); - -for(my $i = 0; $i <= $#ARGV; $i++) { - if ($ARGV[$i] eq '-chorus') { - if (defined $ARGV[$i + 1]) { - $PerlACE::Process::chorus = 1; - $PerlACE::Process::chorushostname = $ARGV[$1 + 1]; - } - else { - print STDERR "The -chorus option requires " . - "the hostname of the target\n"; - exit(1); - } - - splice(@ARGV, $i, 2); - # Don't break from the loop just in case there - # is an accidental duplication of the -chorus option - } -} - -############################################################################### - -### Grab signal names - -my @signame; - -if (defined $Config{sig_name}) { - my $i = 0; - foreach my $name (split (' ', $Config{sig_name})) { - $signame[$i] = $name; - $i++; - } -} -else { - my $i; - for ($i = 0; $i < 255; ++$i) { - $signame[$i] = $i; - } -} - -############################################################################### - -### Constructor and Destructor - -sub new -{ - my $proto = shift; - my $class = ref ($proto) || $proto; - my $self = {}; - - $self->{RUNNING} = 0; - $self->{IGNOREEXESUBDIR} = 0; - $self->{PROCESS} = undef; - $self->{EXECUTABLE} = shift; - $self->{ARGUMENTS} = shift; - $self->{VALGRIND_CMD} = $ENV{"ACE_RUN_VALGRIND_CMD"}; - - if (!defined $PerlACE::Process::WAIT_DELAY_FACTOR) { - if (defined $self->{PURIFY_CMD}) { - $PerlACE::Process::WAIT_DELAY_FACTOR = 10; - } - elsif (defined $self->{VALGRIND_CMD}) { - $PerlACE::Process::WAIT_DELAY_FACTOR = 5; - } - else { - $PerlACE::Process::WAIT_DELAY_FACTOR = 1; - } - } - - bless ($self, $class); - return $self; -} - -sub DESTROY -{ - my $self = shift; - - if ($self->{RUNNING} == 1) { - print STDERR "ERROR: <", $self->{EXECUTABLE}, - "> still running upon object destruction\n"; - $self->Kill (); - } -} - -############################################################################### - -### Some Accessors - -sub Executable -{ - my $self = shift; - - if (@_ != 0) { - $self->{EXECUTABLE} = shift; - } - - my $executable = $self->{EXECUTABLE}; - - if ($self->{IGNOREEXESUBDIR}) { - return $executable; - } - - my $basename = basename ($executable); - my $dirname = dirname ($executable). '/'; - if ($dirname != "") { - $executable = $dirname.$PerlACE::Process::ExeSubDir.$basename; - } - else { - $executable = $dirname.$basename; - } - - if ( !-x $executable ) { - if ( -x $executable.'.exe' ) { - $executable = $executable.'.exe'; - } - } - - return $executable; -} - -sub Arguments -{ - my $self = shift; - - if (@_ != 0) { - $self->{ARGUMENTS} = shift; - } - - return $self->{ARGUMENTS}; -} - -sub CommandLine () -{ - my $self = shift; - - my $commandline = $self->Executable (); - - if (defined $self->{ARGUMENTS}) { - $commandline .= ' '.$self->{ARGUMENTS}; - } - - if ($PerlACE::Process::chorus == 1) { - $commandline = "rsh " - . $PerlACE::Process::chorushostname - . " arun " - . $PerlACE::Process::cwd - . "/" - . $commandline; - } - - return $commandline; -} - -sub IgnoreExeSubDir -{ - my $self = shift; - - if (@_ != 0) { - $self->{IGNOREEXESUBDIR} = shift; - } - - return $self->{IGNOREEXESUBDIR}; -} - -############################################################################### - -# Spawn the process and continue; - -sub Spawn () -{ - my $self = shift; - - if ($self->{RUNNING} == 1) { - print STDERR "ERROR: Cannot Spawn: <", $self->Executable (), - "> already running\n"; - return -1; - } - - if (!defined $self->{EXECUTABLE}) { - print STDERR "ERROR: Cannot Spawn: No executable specified\n"; - return -1; - } - - if ($self->{IGNOREEXESUBDIR} == 0) { - if (!-f $self->Executable ()) { - print STDERR "ERROR: Cannot Spawn: <", $self->Executable (), - "> not found\n"; - return -1; - } - - if (!$PerlACE::Process::chorus && !-x $self->Executable ()) { - print STDERR "ERROR: Cannot Spawn: <", $self->Executable (), - "> not executable\n"; - return -1; - } - } - - { - $self->{PROCESS} = VmsProcess::Spawn $self->{EXECUTABLE}, $self->{ARGUMENTS}; - if ($self->{PROCESS}) { - #parent here - bless $self; - } - else { - # weird fork error - print STDERR "ERROR: Can't spawn <" . $self->CommandLine () . ">: $!\n"; - } - } - $self->{RUNNING} = 1; - return 0; -} - -sub WaitKill ($) -{ - my $self = shift; - my $timeout = shift; - my $status = $self->TimedWait ($timeout); - - if ($status == -1) { - print STDERR "ERROR: $self->{EXECUTABLE} timedout\n"; - $self->Kill (); - } - - $self->{RUNNING} = 0; - - return $status; -} - - -# Do a Spawn and immediately WaitKill - -sub SpawnWaitKill ($) -{ - my $self = shift; - my $timeout = shift; - - if ($self->Spawn () == -1) { - return -1; - } - - return $self->WaitKill ($timeout); -} - -sub TerminateWaitKill ($) -{ - my $self = shift; - my $timeout = shift; - - if ($self->{RUNNING}) { - print STDERR "INFO: $self->{EXECUTABLE} being killed.\n"; - kill ('TERM', $self->{PROCESS}); - } - - return $self->WaitKill ($timeout); -} - -# really only for internal use -sub check_return_value ($) -{ - my $self = shift; - my $rc = shift; - - if ($rc == 0) { - return 0; - } - elsif ($rc == 0xff00) { - print STDERR "ERROR: <", $self->{EXECUTABLE}, - "> failed: $!\n"; - return ($rc >> 8); - } - elsif (($rc & 0xff) == 0) { - $rc >>= 8; - return $rc; - } - - my $dump = 0; - - if ($rc & 0x80) { - $rc &= ~0x80; - $dump = 1; - } - - # check for ABRT, KILL or TERM - if ($rc == 6 || $rc == 9 || $rc == 15) { - return 0; - } - - print STDERR "ERROR: <", $self->{EXECUTABLE}, - "> exited with "; - - print STDERR "coredump from " if ($dump == 1); - - print STDERR "signal $rc : ", $signame[$rc], "\n"; - - return 0; -} - -sub Kill () -{ - my $self = shift; - - if ($self->{RUNNING}) { - kill ('KILL', $self->{PROCESS}); - waitpid ($self->{PROCESS}, 0); - $self->check_return_value ($?); - } - - $self->{RUNNING} = 0; -} - -# Wait until a process exits. -# return -1 if the process is still alive. -sub Wait ($) -{ - my $self = shift; - my $timeout = shift; - if (!defined $timeout || $timeout < 0) { - waitpid ($self->{PROCESS}, 0); - } else { - return TimedWait($self, $timeout); - } - -} - -sub TimedWait ($) -{ - my $self = shift; - my $timeout = shift; - - $timeout *= $PerlACE::Process::WAIT_DELAY_FACTOR; - - my $status; - my $pid = VmsProcess::TimedWaitPid ($self->{PROCESS}, $timeout, $status); - if ($pid > 0) { - return $self->check_return_value ($status); - } - return -1; -} - -### - -sub kill_all -{ - my $procmask = shift; - my $target = shift; - ## NOT IMPLEMENTED YET -} - -1; diff --git a/dep/ACE_wrappers/bin/PerlACE/Process_Win32.pm b/dep/ACE_wrappers/bin/PerlACE/Process_Win32.pm deleted file mode 100644 index ef94c4bed..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/Process_Win32.pm +++ /dev/null @@ -1,477 +0,0 @@ -#! /usr/bin/perl -# $Id: Process_Win32.pm 91813 2010-09-17 07:52:52Z johnnyw $ - -use PerlACE::Run_Test; - -package PerlACE::Process; - -use strict; -use Win32::Process; -use File::Basename; -use Cwd; - -############################################################################### - -# This is what GetExitCode will return if the process is still running. -my $STILL_ACTIVE = 259; - -############################################################################### - -### Constructor and Destructor - -# -# Hack in purify support thru 2 environment variables: -# ACE_RUN_PURIFY_CMD: complete path to purify executable -# ACE_RUNTEST_DELAY: wait delay factor, default to 10 if -# ACE_RUN_PURIFY_CMD is defined, or 1 if -# ACE_RUN_PURIFY_CMD is not defined. -# ** Notice that when ACE_RUN_PURIFY_CMD is define, PerlACE::Process -# reports the return status of *purify*, not the process being purified. -# -# Also hack in the ability to run the test on a WinCE device using the -# ACE_WINCE_TEST_CONTROLLER environment variable. If set, it specifies a -# controlling program to use for setting up and executing the test. -# Further setup can be specialized depending on the value of the variable. - -sub new -{ - my $proto = shift; - my $class = ref ($proto) || $proto; - my $self = {}; - - $self->{EXECUTABLE} = shift; - $self->{ARGUMENTS} = shift; - $self->{TARGET} = undef; - $self->{RUNNING} = 0; - $self->{IGNOREEXESUBDIR} = 0; - $self->{IGNOREHOSTROOT} = 0; - $self->{PROCESS} = undef; - $self->{PURIFY_CMD} = $ENV{"ACE_RUN_PURIFY_CMD"}; - $self->{PURIFY_OPT} = $ENV{"ACE_RUN_PURIFY_OPT"}; - if (!defined $PerlACE::Process::WAIT_DELAY_FACTOR) { - if (defined $self->{PURIFY_CMD}) { - $PerlACE::Process::WAIT_DELAY_FACTOR = 10; - } - else { - $PerlACE::Process::WAIT_DELAY_FACTOR = 1; - } - } - $self->{WINCE_CTL} = $ENV{"ACE_WINCE_TEST_CONTROLLER"}; - - bless ($self, $class); - return $self; -} - -sub DESTROY -{ - my $self = shift; - - if ($self->{RUNNING} == 1) { - print STDERR "ERROR: <", $self->{EXECUTABLE}, - "> still running upon object destruction\n"; - $self->Kill (); - } -} - - -############################################################################### - -### Some Accessors - -sub Normalize_Executable_Name($) -{ - my $self = shift; - my $executable = shift; - my $basename = basename ($executable); - my $dirname = dirname ($executable). '/'; - my $subdir; - if (defined $self->{TARGET}) { - $subdir = $self->{TARGET}->ExeSubDir(); - } - else { - $subdir = $PerlACE::Process::ExeSubDir; - } - $executable = $dirname.$subdir.$basename.".EXE"; - - ## Installed executables do not conform to the ExeSubDir - if (! -x $executable && -x $dirname.$basename.'.EXE') { - $executable = $dirname.$basename.'.EXE'; - } - - $executable =~ s/\//\\/g; # / <- # color coding issue in devenv - - return $executable; -} - - -sub Executable -{ - my $self = shift; - - if (@_ != 0) { - $self->{EXECUTABLE} = shift; - } - - my $executable = $self->{EXECUTABLE}; - # If the target's config has a different ACE_ROOT, rebase the executable - # from $ACE_ROOT to the target's root. - if (defined $self->{TARGET} && - $self->{TARGET}->ACE_ROOT() ne $ENV{"ACE_ROOT"}) { - $executable = File::Spec->rel2abs($executable); - $executable = File::Spec->abs2rel($executable, $ENV{"ACE_ROOT"}); - $executable = $self->{TARGET}->ACE_ROOT() . "/$executable"; - } - - # After VxWorks adopts the TARGET scheme, can do away with this block. - if ($self->{IGNOREHOSTROOT} == 0) { - if (PerlACE::is_vxworks_test()) { - $executable = PerlACE::VX_HostFile ($executable); - } - } - - if ($self->{IGNOREEXESUBDIR} == 0) { - $executable = $self->Normalize_Executable_Name ($executable); - } - else { - if ($executable !~ m/\.(BAT|EXE)$/i) { - $executable = $executable.".EXE"; - } - $executable =~ s/\//\\/g; # / <- # color coding issue in devenv - } - - return $executable; -} - -sub Arguments -{ - my $self = shift; - - if (@_ != 0) { - $self->{ARGUMENTS} = shift; - } - - return $self->{ARGUMENTS}; -} - -sub CommandLine () -{ - my $self = shift; - - my $commandline = $self->Executable (); - $commandline = '"' . $commandline . '"' if $commandline =~ /\s/; - - if (defined $self->{ARGUMENTS}) { - $commandline .= ' '.$self->{ARGUMENTS}; - } - - return $commandline; -} - -sub IgnoreExeSubDir -{ - my $self = shift; - - # If we have -Config ARCH, do not set IGNOREEXESUBDIR, since with ARCH - # all executables (even those in $ACE_ROOT/bin, etc.) are located in the - # architecture-specific subdirectory. - if (@_ != 0 && !grep(($_ eq 'ARCH'), @PerlACE::ConfigList::Configs)) { - $self->{IGNOREEXESUBDIR} = shift; - } - elsif (@_ != 0 && $self->{EXECUTABLE} =~ /perl$/) { - $self->{IGNOREEXESUBDIR} = shift; - } - - return $self->{IGNOREEXESUBDIR}; -} - -sub IgnoreHostRoot -{ - my $self = shift; - - if (@_ != 0) { - $self->{IGNOREHOSTROOT} = shift; - } - - return $self->{IGNOREHOSTROOT}; -} - -############################################################################### - -### Spawning processes - - -# Spawn the process and continue. - -sub Spawn () -{ - my $self = shift; - - if ($self->{RUNNING} == 1) { - print STDERR "ERROR: Cannot Spawn: <", $self->Executable (), - "> already running\n"; - return -1; - } - - if (!defined $self->{EXECUTABLE}) { - print STDERR "ERROR: Cannot Spawn: No executable specified\n"; - return -1; - } - - if ($self->{IGNOREEXESUBDIR} == 0) { - if (!-f $self->Executable ()) { - print STDERR "ERROR: Cannot Spawn: <", $self->Executable (), - "> not found\n"; - return -1; - } - - if (!-x $self->Executable ()) { - print STDERR "ERROR: Cannot Spawn: <", $self->Executable (), - "> not executable\n"; - return -1; - } - } - - my $state = 0; - my $cmdline = ""; - my $executable = ""; - - my $chdir_needed = 0; - my $curdir_bak; - - if (defined $self->{PURIFY_CMD}) { - my $orig_cmdline = $self->CommandLine (); - $executable = $self->{PURIFY_CMD}; - my $basename = basename ($self->{EXECUTABLE}); - - my $PurifyOptions = $self->{PURIFY_OPT}; - if (!defined $PurifyOptions) { - $PurifyOptions = - "/run ". -# "/save-data=$basename.pfy ". - "/save-text-data=$basename.pfytxt ". - "/AllocCallStackLength=20 ". - "/ErrorCallStackLength=20 ". - "/HandlesInUseAtExit ". - "/InUseAtExit ". - "/LeaksAtExit "; - } - $cmdline = - "purify " . - "$PurifyOptions ". - "$orig_cmdline" ; - } - elsif (defined $self->{WINCE_CTL}) { - $executable = $self->Executable (); - $cmdline = $self->CommandLine (); - - # Generate a script to copy the test down to the device, run it, - # copy the log file(s) back to the log directory, then delete the - # program and log files on the remote device. - unless (open (SCRIPT, ">start_test.cmd")) { - print STDERR "ERROR: Cannot Spawn: <", $self->Executable (), - "> failed to create start_test.cmd\n"; - return -1; - } - - my $testname = basename($executable,'.EXE'); - my $here = getcwd(); - $here =~ s/\//\\/g; - $executable =~ s/^\.//; # Chop leading . - $executable = $here . $executable; # Fully qualified name - # Take off the test name from the start of the command line. - # The command name is preprended in the script below. - my @tokens = split(' ', $cmdline); - @tokens = splice(@tokens,1); - $cmdline = join(' ', @tokens); - print SCRIPT "copy $executable 1:\\Windows\n"; - print SCRIPT "start /wait $testname $cmdline\n"; - print SCRIPT "copy 1:\\log\\$testname*.txt $here\\log\n"; - print SCRIPT "del 1:\\Windows\\$testname.exe\n"; - print SCRIPT "del 1:\\log\\$testname*.txt\n"; - close SCRIPT; - - $executable = $ENV{"ComSpec"}; - my $pocket_device_opts = $ENV{"ACE_PCE_DEVICE"}; - $cmdline = "cmd /C start /B /WAIT $self->{WINCE_CTL} $pocket_device_opts -m NAME=start_test.cmd;WAIT=401000; -e" - } - elsif (defined $ENV{'ACE_TEST_WINDOW'}) { - $state = ($ENV{'ACE_TEST_WINDOW'} =~ /\/k/i ? CREATE_NEW_CONSOLE : DETACHED_PROCESS); - $executable = $ENV{'ComSpec'}; - $cmdline = $ENV{'ACE_TEST_WINDOW'} . ' ' . $self->CommandLine(); - } - else { - $executable = $self->Executable (); - $cmdline = $self->CommandLine (); - if ((defined $self->{TARGET}) && ($ENV{'ACE_ROOT'} ne $self->{TARGET}->ACE_ROOT ())) { - $chdir_needed = 1; - $curdir_bak = cwd (); - chdir (dirname ($executable)); - } - } - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "$executable $cmdline\n"; - } - my %backup_ENV = %ENV; - # update environment for target - if (defined $self->{TARGET}) { - if (!defined $self->{TARGET}->{REMOTE_SHELL}) { - my $x_env_ref = $self->{TARGET}->{EXTRA_ENV}; - while ( my ($env_key, $env_value) = each(%$x_env_ref) ) { - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "INFO: adding target environment $env_key=$env_value\n"; - } - $ENV{$env_key} = $env_value; - } - } - if ($self->{TARGET}->{LIBPATH}) { - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "INFO: adding target libpath ".$self->{TARGET}->{LIBPATH}."\n"; - } - PerlACE::add_lib_path ($self->{TARGET}->{LIBPATH}); - } - } - my $status = Win32::Process::Create ($self->{PROCESS}, - $executable, - $cmdline, - ($state == 0 ? 1 : 0), - $state, - '.'); - %ENV = %backup_ENV; - if ($chdir_needed) { - chdir ($curdir_bak); - } - if ($status == 0) { - print STDERR "ERROR: Spawn failed for <", $self->CommandLine (), ">\n"; - return -1; - } - - $self->{RUNNING} = 1; - return 0; -} - - -# Wait for the process to exit or kill after a time period - -sub WaitKill ($) -{ - my $self = shift; - my $timeout = shift; - - my $status = $self->TimedWait ($timeout); - - if ($status == -1) { - print STDERR "ERROR: $self->{EXECUTABLE} timedout\n"; - $self->Kill (); - # Don't need to Wait since we are on Win32 - } - - $self->{RUNNING} = 0; - - return $status; -} - - -# Do a Spawn and immediately WaitKill - -sub SpawnWaitKill ($) -{ - my $self = shift; - my $timeout = shift; - - if ($self->Spawn () == -1) { - return -1; - } - - return $self->WaitKill ($timeout); -} - - -# Kill the process - -sub Kill ($) -{ - my $self = shift; - my $notused = shift; #Used in Process_Unix.pm - - if ($self->{RUNNING} && !defined $ENV{'ACE_TEST_WINDOW'}) { - Win32::Process::Kill ($self->{PROCESS}, -1); - } - - $self->{RUNNING} = 0; -} - - -# Terminate the process and wait for it to finish - -sub TerminateWaitKill ($) -{ - my $self = shift; - my $timeout = shift; - - if ($self->{RUNNING}) { - print STDERR "INFO: $self->{EXECUTABLE} being killed.\n"; - Win32::Process::Kill ($self->{PROCESS}, 0); - } - - return $self->WaitKill ($timeout); -} - - -# Wait until a process exits. -# return -1 if the process is still alive. - -sub Wait ($) -{ - my $self = shift; - my $timeout = shift; - if (!defined $timeout || $timeout < 0) { - $timeout = INFINITE; - } else { - $timeout = $timeout * 1000 * $PerlACE::Process::WAIT_DELAY_FACTOR; - } - - my $result = 0; - - if ($self->{RUNNING}) { - $result = Win32::Process::Wait ($self->{PROCESS}, $timeout); - if ($result == 0) { - return -1; - } - } - Win32::Process::GetExitCode ($self->{PROCESS}, $result); - return $result; -} - - -# Wait for a process to exit with a timeout - -sub TimedWait ($) -{ - my($self) = shift; - my($timeout) = shift; - return $self->Wait($timeout); -} - -### - -sub kill_all -{ - my $procmask = shift; - my $target = shift; - my $pid = -1; - for my $line (`tasklist /nh /fo csv`) { - # find matching process line - if ($line =~ /$procmask/) { - # find process PID - if ($line =~ /^\"[^\"]+\",\"(\d+)\",/) { - $pid = $1; - Win32::Process::KillProcess ($pid, 0); # kill process - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print STDERR "INFO: Killed process at [$line]\n" - } - } - } - } -} - -1; diff --git a/dep/ACE_wrappers/bin/PerlACE/README b/dep/ACE_wrappers/bin/PerlACE/README deleted file mode 100644 index ca7105b5a..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/README +++ /dev/null @@ -1,65 +0,0 @@ -HOW TO USE THE DOC TEST FRAMEWORK ---------------------------------- - -The test framework is driven by a Perl script. Run_Test.pm contains some -useful, miscellaneous functions. The main classes that control test runs -are TestTarget and Process, and the platform-specific derivations of these. - -The test framework runs scripted tests, examines the output, and writes -results to an output file that's parsed for scoreboard generation. It's very -important to get the output; from ACE, it's test log files, for TAO, it's -stderr output from the test procedures. Either way, it has to get back to -somewhere the locally running script can process it. - -By default, all test procedures run on the local host. It is possible to -redirect the execution to other machines. This is necessary for testing -environments such as VxWorks and LabVIEW RT, which do not support the -local execution of these build and testing scripts. Thus, the build is done -on a host system and executed on the target. For multi-component tests, such -as TAO server and client, the components can (and most often do) run on -different machines. For example, a test may run the server component on the -embedded target and the client component on the local build host. - -To redirect execution of a test's component, you must do three things: - - 1. Assign a number to the component in the test script. By convention, - 1 is the component that runs on a target. In TAO, this is generally - the server; in the case of ACE tests, it is the only part. Number 2 - is, by convention, the TAO client, or the piece to run on the build - host. - 2. Set an environment variable, DOC_TEST_. For example, - DOC_TEST_1, DOC_TEST_2. The value of the environment variable is a - configuration name. - 3. Set environment variables for the configuration name. These environment - variables hold the information used to run the test component on the - configuration. The environment variables are named - _. Different types of - configurations may require different configuration items, depending on - their capabilities and needs. However, the following must be set: - _OS: The OS type, e.g., vxworks or labview_rt. - If this is "local", the component runs on - the local host but with an alternate set - of settings, such as ACE_ROOT, TAO_ROOT. - _IPNAME: The machine's IP hostname or address - _ACE_ROOT: ACE_ROOT for the configuration's files - _TAO_ROOT: TAO_ROOT for the configuration's files - _EXE_SUBDIR: Subdirectory for the executable - _PROCESS_START_WAIT_INTERVAL: Time waited for the - process to start. Default 15 seconds. - _PROCESS_STOP_WAIT_INTERVAL: Time waited for the - process to stop. Default 10 seconds. - _HOSTNAME: Hostname that has to be used - _IBOOT: iBoot for this target - _REBOOT_TIME: How long does it take to reboot - this target - _REBOOT: Do we need to reboot this target - _STARTUP_COMMAND: Command to be executed after - target has been booted - _TELNET_HOST: Host name where we have to connect - to with telnet - _TELNET_PORT: Port number where we have to connect - to with telnet - -If there is no DOC_TEST_ environment variable when the -component runs, that component is executed on the local machine. This is -the case for most builds. diff --git a/dep/ACE_wrappers/bin/PerlACE/Run_Test.pm b/dep/ACE_wrappers/bin/PerlACE/Run_Test.pm deleted file mode 100644 index 2da8d19b7..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/Run_Test.pm +++ /dev/null @@ -1,331 +0,0 @@ -#! /usr/bin/perl -# $Id: Run_Test.pm 91813 2010-09-17 07:52:52Z johnnyw $ - -# This module contains a few miscellanous functions and some -# startup ARGV processing that is used by all tests. - -use PerlACE::Process; -use PerlACE::ConfigList; - -package PerlACE; -use File::Spec; -use Cwd; - -$PerlACE::ACE_ROOT = $ENV{ACE_ROOT}; -if(exists $ENV{TAO_ROOT}) { - $PerlACE::TAO_ROOT = $ENV{TAO_ROOT}; -} else { - $PerlACE::TAO_ROOT = "$PerlACE::ACE_ROOT/TAO"; -} -if(exists $ENV{CIAO_ROOT}) { - $PerlACE::CIAO_ROOT = $ENV{CIAO_ROOT}; -} else { - $PerlACE::CIAO_ROOT = "$PerlACE::TAO_ROOT/CIAO"; -} - -my $config = new PerlACE::ConfigList; -$PerlACE::TestConfig = $config; - -# load VxWorks Process helpers in case this is a VxWorks target build -$PerlACE::Static = $config->check_config("STATIC"); -$PerlACE::VxWorks_Test = $config->check_config("VxWorks"); -$PerlACE::VxWorks_RTP_Test = $config->check_config("VxWorks_RTP"); -if ($PerlACE::VxWorks_Test or $PerlACE::VxWorks_RTP_Test) { - require PerlACE::ProcessVX; -} - -# Load LabVIEW RT Process helpers in case this is a LabVIEW RT target build. -$PerlACE::LabVIEW_RT_Test = $config->check_config("LabVIEW_RT"); -if ($PerlACE::LabVIEW_RT_Test) { - require PerlACE::ProcessLVRT; -} - -$PerlACE::WinCE_Test = $config->check_config("WINCE"); -if ($PerlACE::WinCE_Test) { -if ($OSNAME eq "MSWin32") { - require PerlACE::ProcessWinCE; -} else { - require PerlACE::ProcessWinCE_Unix; -} -} - -# Figure out the svc.conf extension -$svcconf_ext = $ENV{"ACE_RUNTEST_SVCCONF_EXT"}; -if (!defined $svcconf_ext) { - $svcconf_ext = ".conf"; -} - -# Default timeout. NSCORBA needs more time for process start up. -$wait_interval_for_process_creation = (($PerlACE::VxWorks_Test or $PerlACE::VxWorks_RTP_Test) ? 60 : 15); -if ($^O eq 'VMS') { - $wait_interval_for_process_creation *= 3; -} -elsif ($^O eq 'nto') { - ## QNX can be slow to start processes - $wait_interval_for_process_creation += 5; -} - -$wait_interval_for_process_shutdown = (($PerlACE::VxWorks_Test or $PerlACE::VxWorks_RTP_Test) ? 30 : 10); - -# Turn on autoflush -$| = 1; - -sub LocalFile ($) -{ - my $file = shift; - - my $newfile = getcwd () . '/' . $file; - - if ($^O eq "MSWin32") { - $newfile =~ s/\//\\/g; - } - elsif ($^O eq 'cygwin') { - chop($newfile = `/usr/bin/cygpath -w $newfile`); - $newfile =~ s/\\/\\\\/g; - } - - return $newfile; -} - -sub rebase_path { - my $path = shift; - my $cur_root = shift; - my $new_root = shift; - $path = File::Spec->rel2abs ($path); - $path = File::Spec->abs2rel ($path, $cur_root); - return $new_root."/".$path; -} - -sub VX_HostFile($) -{ - my $file = shift; - return rebase_path ($file, $ENV{"ACE_ROOT"}, $ENV{"HOST_ROOT"}); -} - -# Returns a random port within the range of 10002 - 32767 -sub random_port { - return (int(rand($$)) % 22766) + 10002; -} - -# Returns a unique id, uid for unix, last digit of IP for NT -sub uniqueid -{ - if ($^O eq "MSWin32") - { - my $uid = 1; - - open (IPNUM, "ipconfig|") || die "Can't run ipconfig: $!\n"; - - while () - { - if (/Address/) - { - $uid = (split (/: (\d+)\.(\d+)\.(\d+)\.(\d+)/))[4]; - } - } - - close IPNUM; - - return $uid; - } - else - { - return $>; - } -} - -# Waits until a file exists -sub waitforfile -{ - local($file) = @_; - sleep 1 while (!(-e $file && -s $file)); -} - -sub waitforfile_timed -{ - my $file = shift; - my $maxtime = shift; - $maxtime *= (($PerlACE::VxWorks_Test || $PerlACE::VxWorks_RTP_Test) ? $PerlACE::ProcessVX::WAIT_DELAY_FACTOR : $PerlACE::Process::WAIT_DELAY_FACTOR); - - while ($maxtime-- != 0) { - if (-e $file && -s $file) { - return 0; - } - sleep 1; - } - return -1; -} - -sub check_n_cleanup_files -{ - my $file = shift; - my @flist = glob ($file); - - my $cntr = 0; - my $nfile = scalar(@flist); - - if ($nfile != 0) { - for (; $cntr < $nfile; $cntr++) { - print STDERR "File <$flist[$cntr]> exists but should be cleaned up\n"; - } - unlink @flist; - } -} - -sub generate_test_file -{ - my $file = shift; - my $size = shift; - - while ( -e $file ) { - $file = $file."X"; - } - - my $data = "abcdefghijklmnopqrstuvwxyz"; - $data = $data.uc($data)."0123456789"; - - open( INPUT, "> $file" ) || die( "can't create input file: $file" ); - for($i=62; $i < $size ; $i += 62 ) { - print INPUT $data; - } - $i -= 62; - if ($i < $size) { - print INPUT substr($data, 0, $size-$i); - } - close(INPUT); - - return $file; -} - -sub is_labview_rt_test() -{ - return ($PerlACE::LabVIEW_RT_Test); -} - -sub is_vxworks_test() -{ - return ($PerlACE::VxWorks_Test || $PerlACE::VxWorks_RTP_Test); -} - -sub is_vxworks_rtp_test() -{ - return ($PerlACE::VxWorks_RTP_Test); -} - -sub concat_path { - my $pathlist = shift; - my $path = shift; - if ((!defined $pathlist) || $pathlist =~ /^\s*$/) { - return $path; - } else { - return $pathlist . ($^O eq 'MSWin32' ? ';' : ':') . $path; - } -} - -sub add_path { - my $name = shift; - my $value = shift; - $ENV{$name} = concat_path ($ENV{$name}, $value); -} - -sub add_lib_path { - my($value) = shift; - - # Set the library path supporting various platforms. - foreach my $env ('PATH', 'DYLD_LIBRARY_PATH', 'LD_LIBRARY_PATH', - 'SHLIB_PATH') { - add_path($env, $value); - if (grep(($_ eq 'ARCH'), @PerlACE::ConfigList::Configs)) { - add_path($env, $value . '/' . $PerlACE::Process::ExeSubDir); - } - } - - if (defined $ENV{"HOST_ROOT"}) { - add_path('PATH', VX_HostFile ($value)); - add_path('LD_LIBRARY_PATH', VX_HostFile ($value)); - add_path('LIBPATH', VX_HostFile ($value)); - add_path('SHLIB_PATH', VX_HostFile ($value)); - } -} - -sub check_privilege_group { - if ($^O eq 'hpux') { - my($access) = 'RTSCHED'; - my($status) = 0; - my($getprivgrp) = '/bin/getprivgrp'; - - if (-x $getprivgrp) { - if (open(GPG, "$getprivgrp |")) { - while() { - if (index($_, $access) >= 0) { - $status = 1; - } - } - close(GPG); - } - } - - if (!$status) { - print STDERR "WARNING: You must have $access privileges to run this test.\n", - " Run \"man 1m setprivgrp\" for more information.\n"; - exit(0); - } - } -} - -# waits until it finds a matching regular expression in a file -# escape metacharacters in the text to wait for -sub waitforfileoutput { - my $file = shift; - my $waittext = shift; - - if (-e $file && -s $file) { - open (DATA, $file); - while (my $line = ) { - if ($line =~ /($waittext)/) { - close(DATA); - return 0; - } - } - close(DATA); - } - sleep 1; -} - -sub waitforfileoutput_timed { - my $file = shift; - my $waittext = shift; - my $maxtime = shift; - - $maxtime *= (($PerlACE::VxWorks_Test || $PerlACE::VxWorks_RTP_Test) ? $PerlACE::ProcessVX::WAIT_DELAY_FACTOR : $PerlACE::Process::WAIT_DELAY_FACTOR); - - while ($maxtime-- != 0) { - if (-e $file && -s $file) { - open (DATA, $file); - while (my $line = ) { - if ($line =~ /($waittext)/) { - close(DATA); - return 0; - } - } - close(DATA); - } - sleep 1; - } - return -1; -} - -sub GetArchDir { - my $dir = shift; - if (grep(($_ eq 'ARCH'), @PerlACE::ConfigList::Configs)) { - return $dir . $PerlACE::Process::ExeSubDir; - } - return $dir; -} - -# Add PWD to the load library path -add_lib_path ('.'); - -$sleeptime = 5; - -1; diff --git a/dep/ACE_wrappers/bin/PerlACE/TestTarget.pm b/dep/ACE_wrappers/bin/PerlACE/TestTarget.pm deleted file mode 100644 index 02c153ca4..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/TestTarget.pm +++ /dev/null @@ -1,453 +0,0 @@ -#! /usr/bin/perl -# $Id: TestTarget.pm 91813 2010-09-17 07:52:52Z johnnyw $ -# -# The TestTarget class is for operations that are per-target while testing. -# They can be overridden for specific needs like embedded systems, etc. - -package PerlACE::TestTarget; - -use strict; -use English; -use POSIX qw(:time_h); -use File::Copy; -use PerlACE::Run_Test; -use Sys::Hostname; - -############################################################################### - -# Create the proper kind of TestTarget based on specified test component. -# Pass the component number as the first argument. If there's no -# DOC_TEST_ environment variable, use the local machine. - -sub create_target -{ - my $component = shift; - if ($component == 0) { - print STDERR "Warning: components should be numbers, not names\n"; - } - my $target = undef; - my $envname = "DOC_TEST_\U$component"; - if (!exists $ENV{$envname}) { - $target = new PerlACE::TestTarget("default"); - return $target; - } - my $config_name = $ENV{$envname}; - # There's a configuration name; use it to look up the platform. - $config_name = uc $config_name; - $envname = $config_name.'_OS'; - if (!exists $ENV{$envname}) { - print STDERR "$config_name requires an OS type in $envname\n"; - return undef; - } - my $config_os = $ENV{$envname}; - SWITCH: { - if ($config_os =~ m/local|remote/i) { - $target = new PerlACE::TestTarget ($config_name); - last SWITCH; - } - if ($config_os =~ m/LabVIEW_RT/i) { - require PerlACE::TestTarget_LVRT; - $target = new PerlACE::TestTarget_LVRT ($config_name); - last SWITCH; - } - if ($config_os =~ /VxWorks/i) { - require PerlACE::TestTarget_VxWorks; - $target = new PerlACE::TestTarget_VxWorks ($config_name); - last SWITCH; - } - if ($config_os =~ /WinCE/i) { - require PerlACE::TestTarget_WinCE; - $target = new PerlACE::TestTarget_WinCE ($config_name); - last SWITCH; - } - print STDERR "$config_os is an unknown OS type!\n"; - } - return $target; -} - -### Constructor and Destructor - -sub new -{ - my $proto = shift; - my $class = ref ($proto) || $proto; - my $self = {}; - - my $config_name = shift; - bless ($self, $class); - $self->GetConfigSettings($config_name); - - return $self; -} - -sub DESTROY -{ - my $self = shift; -} - -# If there was a config name specified, use it to look up the configure -# info. Else, use the traditional defaults. -sub GetConfigSettings ($) -{ - my $self = shift; - my $config_name = shift; - my $env_prefix = ''; - if (defined $config_name) { - $env_prefix = $config_name."_"; - } - my $env_name = $env_prefix.'ACE_ROOT'; - if (exists $ENV{$env_name}) { - $self->{ace_root} = $ENV{$env_name}; - } - else { - # Fall back to naked ACE_ROOT if no config-specific one. - $self->{ace_root} = $ENV{'ACE_ROOT'}; - } - $env_name = $env_prefix.'TAO_ROOT'; - if (exists $ENV{$env_name}) { - $self->{tao_root} = $ENV{$env_name}; - } else { - $self->{tao_root} = "$self->{ace_root}/TAO"; - } - $env_name = $env_prefix.'CIAO_ROOT'; - if (exists $ENV{$env_name}) { - $self->{ciao_root} = $ENV{$env_name}; - } else { - $self->{ciao_root} = "$self->{tao_root}/CIAO"; - } - $env_name = $env_prefix.'EXE_SUBDIR'; - if (exists $ENV{$env_name}) { - $self->{EXE_SUBDIR} = $ENV{$env_name}.'/'; - } else { - # If no ExeSubDir given via env variable, and this is an unnamed - # config, allow use of the subdir specified on the command line. - # This preserves historical behavior. - if (defined $config_name && $config_name ne 'default') { - $self->{EXE_SUBDIR} = './'; - } - else { - $self->{EXE_SUBDIR} = $PerlACE::Process::ExeSubDir; - } - } - $env_name = $env_prefix.'ARCH'; - if (exists $ENV{$env_name}) { - $self->{ARCH} = $ENV{$env_name}; - } elsif ($config_name eq 'default' - && grep(($_ eq 'ARCH'), @PerlACE::ConfigList::Configs)) { - $self->{ARCH} = 1; - } - $env_name = $env_prefix.'PROCESS_START_WAIT_INTERVAL'; - if (exists $ENV{$env_name}) { - $self->{PROCESS_START_WAIT_INTERVAL} = $ENV{$env_name}; - } else { - $self->{PROCESS_START_WAIT_INTERVAL} = 15; - } - $env_name = $env_prefix.'PROCESS_STOP_WAIT_INTERVAL'; - if (exists $ENV{$env_name}) { - $self->{PROCESS_STOP_WAIT_INTERVAL} = $ENV{$env_name}; - } else { - $self->{PROCESS_STOP_WAIT_INTERVAL} = 10; - } - $env_name = $env_prefix.'HOSTNAME'; - if (exists $ENV{$env_name}) { - $self->{HOSTNAME} = $ENV{$env_name}; - } else { - $self->{HOSTNAME} = hostname(); - } - $env_name = $env_prefix.'IBOOT'; - if (exists $ENV{$env_name}) { - $self->{IBOOT} = $ENV{$env_name}; - } - $env_name = $env_prefix.'IBOOT_PASSWD'; - if (exists $ENV{$env_name}) { - $self->{IBOOT_PASSWD} = $ENV{$env_name}; - } - $env_name = $env_prefix.'IBOOT_OUTLET'; - if (exists $ENV{$env_name}) { - $self->{IBOOT_OUTLET} = $ENV{$env_name}; - } - $env_name = $env_prefix.'IBOOT_USER'; - if (exists $ENV{$env_name}) { - $self->{IBOOT_USER} = $ENV{$env_name}; - } - $env_name = $env_prefix.'IBOOT_PASSWD'; - if (exists $ENV{$env_name}) { - $self->{IBOOT_PASSWD} = $ENV{$env_name}; - } - $env_name = $env_prefix.'REBOOT_TIME'; - if (exists $ENV{$env_name}) { - $self->{REBOOT_TIME} = $ENV{$env_name}; - } else { - $self->{REBOOT_TIME} = 0; - } - $env_name = $env_prefix.'REBOOT'; - if (exists $ENV{$env_name}) { - $self->{REBOOT} = $ENV{$env_name}; - } else { - $self->{REBOOT} = 0; - } - $env_name = $env_prefix.'STARTUP_COMMAND'; - if (exists $ENV{$env_name}) { - $self->{STARTUP_COMMAND} = $ENV{$env_name}; - } - $env_name = $env_prefix.'TELNET_HOST'; - if (exists $ENV{$env_name}) { - $self->{TELNET_HOST} = $ENV{$env_name}; - } else { - $self->{TELNET_HOST} = $self->{HOSTNAME}; - } - $env_name = $env_prefix.'TELNET_PORT'; - if (exists $ENV{$env_name}) { - $self->{TELNET_PORT} = $ENV{$env_name}; - } else { - $self->{TELNET_PORT} = 23; - } - $env_name = $env_prefix.'HOST_ROOT'; - if (exists $ENV{$env_name}) { - $self->{HOST_ROOT} = $ENV{$env_name}; - } - $env_name = $env_prefix.'SYSTEM_LIBS'; - if (exists $ENV{$env_name}) { - $self->{SYSTEM_LIBS} = $ENV{$env_name}; - } - $env_name = $env_prefix.'REMOTE_SHELL'; - if (exists $ENV{$env_name}) { - $self->{REMOTE_SHELL} = $ENV{$env_name}; - } - $env_name = $env_prefix.'LIBPATH'; - if (exists $ENV{$env_name}) { - $self->{LIBPATH} = $ENV{$env_name}; - } - $env_name = $env_prefix.'REMOTE_FILETEST'; - if (exists $ENV{$env_name}) { - $self->{REMOTE_FILETEST} = $ENV{$env_name}; - } - $env_name = $env_prefix.'PS_CMD'; - if (exists $ENV{$env_name}) { - $self->{PS_CMD} = $ENV{$env_name}; - } - $self->{EXTRA_ENV} = {}; - $env_name = $env_prefix.'EXTRA_ENV'; - if (exists $ENV{$env_name}) { - my @x_env = split (' ', $ENV{$env_name}); - foreach my $x_env_s (@x_env) { - if ($x_env_s =~ /(\w+)=(.*)/) { - $self->{EXTRA_ENV}->{$1} = $2; - } - } - } -} - -################################################################## - -sub ACE_ROOT ($) -{ - my $self = shift; - return $self->{ace_root}; -} - -sub TAO_ROOT ($) -{ - my $self = shift; - return $self->{tao_root}; -} - -sub CIAO_ROOT ($) -{ - my $self = shift; - return $self->{ciao_root}; -} - -sub HostName ($) -{ - my $self = shift; - return $self->{HOSTNAME}; -} - -sub ExeSubDir ($) -{ - my $self = shift; - my $new_val = shift; - if (defined $new_val) { - $self->{EXE_SUBDIR} = $new_val; - } - return $self->{EXE_SUBDIR}; -} - -sub GetArchDir -{ - my $self = shift; - my $dir = shift; - if (exists $self->{ARCH}) { - return $dir . $self->{EXE_SUBDIR}; - } - return $dir; -} - - -sub SystemLibs ($) -{ - my $self = shift; - return $self->{SYSTEM_LIBS}; -} - -sub RandomPort ($) -{ - my $self = shift; - return (int(rand($$)) % 22766) + 10002; -} - -sub ProcessStartWaitInterval ($) -{ - my $self = shift; - return $self->{PROCESS_START_WAIT_INTERVAL}; -} - -sub ProcessStopWaitInterval ($) -{ - my $self = shift; - return $self->{PROCESS_STOP_WAIT_INTERVAL}; -} - -sub LocalFile ($) -{ - my $self = shift; - my $file = shift; - my $newfile = PerlACE::LocalFile($file); - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print STDERR "LocalFile for $file is $newfile\n"; - } - return $newfile; -} - -sub AddLibPath ($) -{ - my $self = shift; - my $dir = shift; - my $noarch = shift; - - # If we have -Config ARCH, use the -ExeSubDir setting as a sub-directory - # of the lib path. This is in addition to the regular LibPath. - if (!$noarch && defined $self->{ARCH}) { - $self->AddLibPath($dir, 1); - $dir .= '/' . $self->{EXE_SUBDIR}; - } - - if ($self->ACE_ROOT () eq $ENV{'ACE_ROOT'}) { - # add (relative) path without rebasing - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print STDERR "Adding libpath $dir\n"; - } - $self->{LIBPATH} = PerlACE::concat_path ($self->{LIBPATH}, $dir); - } else { - # add rebased path - $dir = PerlACE::rebase_path ($dir, $ENV{"ACE_ROOT"}, $self->ACE_ROOT ()); - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print STDERR "Adding libpath $dir\n"; - } - $self->{LIBPATH} = PerlACE::concat_path ($self->{LIBPATH}, $dir); - } -} - -sub SetEnv ($) -{ - my $self = shift; - my $env_name = shift; - my $env_value = shift; - $self->{EXTRA_ENV}->{$env_name} = $env_value; -} - -sub GetEnv ($) -{ - my $self = shift; - my $env_name = shift; - return $self->{EXTRA_ENV}->{$env_name}; -} - -sub DeleteFile ($) -{ - my $self = shift; - my $file = shift; - my $newfile = PerlACE::LocalFile($file); - unlink ($newfile); -} - -sub GetFile ($) -{ - # On local host, the file is already there. - my $self = shift; - my $remote_file = shift; - my $local_file = shift; - return 0; -} - -# Put file from a to b -sub PutFile ($) -{ - my $self = shift; - my $src = shift; - my $dest = $self->LocalFile ($src); - if ($src != $dest) { - copy ($src, $dest); - } - return 0; -} - -sub WaitForFileTimed ($) -{ - my $self = shift; - my $file = shift; - my $timeout = shift; - my $newfile = $self->LocalFile($file); - if (defined $self->{REMOTE_SHELL} && defined $self->{REMOTE_FILETEST}) { - # If the target's config has a different ACE_ROOT, rebase the file - # from $ACE_ROOT to the target's root. - if ($self->ACE_ROOT () ne $ENV{'ACE_ROOT'}) { - $file = File::Spec->rel2abs($file); - $file = File::Spec->abs2rel($file, $ENV{"ACE_ROOT"}); - $file = $self->{TARGET}->ACE_ROOT() . "/$file"; - } - $timeout *= $PerlACE::Process::WAIT_DELAY_FACTOR; - my $cmd = $self->{REMOTE_SHELL}; - if ($self->{REMOTE_FILETEST} =~ /^\d*$/) { - $cmd .= " 'test -e $newfile && test -s $newfile ; echo \$?'"; - } else { - $cmd .= $self->{REMOTE_FILETEST} . ' ' . $file; - } - my $rc = 1; - while ($timeout-- != 0) { - $rc = int(`$cmd`); - if ($rc == 0) { - return 0; - } - sleep 1; - } - return -1; - } else { - return PerlACE::waitforfile_timed ($newfile, $timeout); - } -} - -sub CreateProcess ($) -{ - my $self = shift; - my $process = new PerlACE::Process (@_); - $process->Target($self); - return $process; -} - -# Don't need to do anything in most cases. -sub GetStderrLog ($) -{ - my $self = shift; - return; -} - -sub KillAll ($) -{ - my $self = shift; - my $procmask = shift; - PerlACE::Process::kill_all ($procmask, $self); -} - -1; diff --git a/dep/ACE_wrappers/bin/PerlACE/TestTarget_LVRT.pm b/dep/ACE_wrappers/bin/PerlACE/TestTarget_LVRT.pm deleted file mode 100644 index 122043824..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/TestTarget_LVRT.pm +++ /dev/null @@ -1,298 +0,0 @@ -#! /usr/bin/perl -# $Id: TestTarget_LVRT.pm 89840 2010-04-12 09:36:32Z mcorino $ -# -# TestTarget_LVRT - how to manage the test environment on a LabVIEW RT target. -# -# We can FTP files to and from the LabVIEW target, but there's no NFS or -# SMB shares. -# Most information about the target itself is specified via environment -# variables. Environment variables with settings are named using the target's -# config name with a specific suffix. The current environment variables are: -# _IPNAME - the host name/IP of the target. -# _CTLPORT- the TCP port number to connect to for the test -# controller. If this is not set, port 8888 is used. -# _FSROOT - the root of the filesystem on the target where -# ACE files will be created from (cwd, if you will). -# If this is not set, "\ni-rt" is used as the root. -# -# Each of these settings are stored in a member variable of the same name in -# each object. The process objects can access them using, e.g., -# $self->{TARGET}->{IPNAME}. -# -# This class also makes an FTP object available to process objects that are -# created. FTP is set up before creating a process object and can be used to -# transfer files to and from the LVRT target. - -package PerlACE::TestTarget_LVRT; -our @ISA = "PerlACE::TestTarget"; - -### Constructor and Destructor - -sub new -{ - my $proto = shift; - my $config_name = shift; - my $class = ref ($proto) || $proto; - my $self = {}; - bless ($self, $class); - $self->GetConfigSettings($config_name); - my $targethost; - my $env_name = $config_name.'_IPNAME'; - if (exists $ENV{$env_name}) { - $targethost = $ENV{$env_name}; - } - else { - print STDERR "You must define target hostname/IP with $env_name\n"; - undef $self; - return undef; - } - - $env_name = $config_name.'_CTLPORT'; - if (exists $ENV{$env_name}) { - $self->{CTLPORT} = $ENV{$env_name}; - } - else { - print STDERR "Warning: no $env_name variable; falling back to ", - "port 8888\n"; - $self->{CTLPORT} = 8888; - } - - $env_name = $config_name.'_FSROOT'; - my $fsroot = '\\ni-rt\\system'; - if (exists $ENV{$env_name}) { - $fsroot = $ENV{$env_name}; - } - else { - print STDERR "Warning: no $env_name variable; falling back ", - "to $fsroot\n"; - } - $self->{FSROOT} = $fsroot; - - $self->{REBOOT_CMD} = $ENV{"ACE_REBOOT_LVRT_CMD"}; - if (!defined $self->{REBOOT_CMD}) { - $self->{REBOOT_CMD} = 'I_Need_A_Reboot_Command'; - } - $self->{REBOOT_TIME} = $ENV{"ACE_LVRT_REBOOT_TIME"}; - if (!defined $self->{REBOOT_TIME}) { - $self->{REBOOT_TIME} = 200; - } - - $self->{REBOOT_TIME} = $ENV{"ACE_RUN_LVRT_REBOOT_TIME"}; - if (!defined $self->{REBOOT_TIME}) { - $self->{REBOOT_TIME} = 200; - } - $self->{REBOOT_NEEDED} = undef; - - $self->{FTP} = new Net::FTP ($targethost); - $self->{IPNAME} = $targethost; - if (!defined $self->{FTP}) { - print STDERR "Error opening FTP to $targethost: $@\n"; - $self->{REBOOT_NEEDED} = 1; - undef $self; - return undef; - } - $self->{FTP}->login("",""); - - return $self; -} - -sub DESTROY -{ - my $self = shift; - - # Reboot if needed; set up clean for the next test. - if (defined $self->{REBOOT_NEEDED} && $self->{REBOOT_CMD}) { - $self->RebootNow; - } - - # See if there's a log; should be able to retrieve it from rebooted target. - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print STDERR "LVRT target checking for remaining log...\n"; - } - $self->GetStderrLog(); - if (defined $self->{FTP}) { - $self->{FTP}->close; - $self->{FTP} = undef; - } -} - -################################################################## - -sub LocalFile ($) -{ - my $self = shift; - my $file = shift; - my $newfile = $self->{FSROOT} . '\\' . $file; - print STDERR "LVRT LocalFile for $file is $newfile\n"; - return $newfile; -} - -sub DeleteFile ($) -{ - my $self = shift; - $self->{FTP}->login("",""); - foreach my $file (@_) { - my $newfile = $self->LocalFile($file); - $self->{FTP}->delete($newfile); - } -} - -sub GetFile ($) -{ - # Use FTP to retrieve the file from the target; should still be open. - # If only one name is given, use it for both local and remote (after - # properly LocalFile-ing it). If both names are given, assume the caller - # knows what he wants and don't adjust the paths. - my $self = shift; - my $remote_file = shift; - my $local_file = shift; - if (!defined $local_file) { - $local_file = $remote_file; - $remote_file = $self->LocalFile($local_file); - } - $self->{FTP}->ascii(); - if ($self->{FTP}->get($remote_file, $local_file)) { - return 0; - } - return -1; -} - -sub WaitForFileTimed ($) -{ - my $self = shift; - my $file = shift; - my $timeout = shift; - my $newfile = $self->LocalFile($file); - my $targetport = $self->{CTLPORT}; - my $target = new Net::Telnet(Errmode => 'return'); - if (!$target->open(Host => $self->{IPNAME}, Port => $targetport)) { - print STDERR "ERROR: target $self->{IPNAME}:$targetport: ", - $target->errmsg(), "\n"; - return -1; - } - my $cmdline = "waitforfile $newfile $timeout"; - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "-> $cmdline\n"; - } - $target->print("$cmdline"); - my $reply; - # Add a small comms delay factor to the timeout - $timeout = $timeout + 2; - $reply = $target->getline(Timeout => $timeout); - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "<- $reply\n"; - } - $target->close(); - if ($reply eq "OK\n") { - return 0; - } - return -1; -} - -sub CreateProcess ($) -{ - my $self = shift; - my $process = new PerlACE::ProcessLVRT ($self, @_); - return $process; -} - -sub GetStderrLog ($) -{ - my $self = shift; - # Tell the target to snapshot the stderr log; if there is one, copy - # it up here and put it out to our stderr. - my $targetport = $self->{CTLPORT}; - my $target = new Net::Telnet(Errmode => 'return'); - if (!$target->open(Host => $self->{IPNAME}, Port => $targetport)) { - print STDERR "ERROR: target $self->{IPNAME}:$targetport: ", - $target->errmsg(), "\n"; - return; - } - my $cmdline = "snaplog"; - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "-> $cmdline\n"; - } - $target->print("$cmdline"); - my $reply; - $reply = $target->getline(); - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print "<- $reply\n"; - } - $target->close(); - if ($reply eq "NONE\n") { - return; - } - chomp $reply; - if (undef $self->{FTP}) { - $self->{FTP} = new Net::FTP ($self->{IPNAME}); - if (!defined $self->{FTP}) { - print STDERR "$@\n"; - return -1; - } - $self->{FTP}->login("",""); - } - $self->{FTP}->ascii(); - if ($self->{FTP}->get($reply, "stderr.txt")) { - $self->{FTP}->delete($reply); - open(LOG, "stderr.txt"); - while () { - print STDERR; - } - close LOG; - unlink "stderr.txt"; - } - return; -} - -# Copy a file to the target. Adjust for different types (DLL, EXE, TEXT) -# and debug/non (for DLLs). Additionally, a file can be removed when this -# object is deleted, or left in place. -sub NeedFile ($) -{ - my $self = shift; -} - -# Need a reboot when this target is destroyed. -sub NeedReboot ($) -{ - my $self = shift; - $self->{REBOOT_NEEDED} = 1; -} - -# Reboot target -sub RebootNow ($) -{ - my $self = shift; - $self->{REBOOT_NEEDED} = undef; - print STDERR "Attempting to reboot target...\n"; - if (defined $self->{FTP}) { - $self->{FTP}->close; - $self->{FTP} = undef; - } - system ($self->{REBOOT_CMD}); - sleep ($self->{REBOOT_TIME}); -} - -# Reboot now then try to restore the FTP connection. -sub RebootReset ($) -{ - my $self = shift; - $self->RebootNow; - my $targethost = $self->{IPNAME}; - $self->{FTP} = new Net::FTP ($targethost); - if (!defined $self->{FTP}) { - print STDERR "Error reestablishing FTP to $targethost: $@\n"; - } - else { - $self->{FTP}->login("",""); - } -} - -sub KillAll ($) -{ - my $self = shift; - my $procmask = shift; - PerlACE::ProcessLVRT::kill_all ($procmask, $self); -} - -1; diff --git a/dep/ACE_wrappers/bin/PerlACE/TestTarget_VxWorks.pm b/dep/ACE_wrappers/bin/PerlACE/TestTarget_VxWorks.pm deleted file mode 100644 index 1643cfd4c..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/TestTarget_VxWorks.pm +++ /dev/null @@ -1,92 +0,0 @@ -#! /usr/bin/perl -package PerlACE::TestTarget_VxWorks; - -# ****************************************************************** -# Description : Creates a PerlACE::ProcessVX -# Author : Chad Elliott -# Create Date : 6/20/2008 -# $Id: TestTarget_VxWorks.pm 91813 2010-09-17 07:52:52Z johnnyw $ -# ****************************************************************** - -# ****************************************************************** -# Pragma Section -# ****************************************************************** - -use strict; - -use PerlACE::TestTarget; -use PerlACE::ProcessVX; -use Cwd; -use English; - -our @ISA = qw(PerlACE::TestTarget); - -# ****************************************************************** -# Subroutine Section -# ****************************************************************** - -sub LocalFile { - my($self, $file) = @_; - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print STDERR "LocalFile is $file\n"; - } - return $file; -} - -sub AddLibPath ($) { - my $self = shift; - my $dir = shift; - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print STDERR "Adding libpath $dir\n"; - } - PerlACE::add_lib_path ($dir); -} - -sub CreateProcess { - my $self = shift; - my $process = new PerlACE::ProcessVX (@_); - $process->{TARGET} = $self; - return $process; -} - -# Need a reboot when this target is destroyed. -sub NeedReboot ($) -{ - my $self = shift; - $self->{REBOOT_NEEDED} = 1; -} - -# Reboot target -sub RebootNow ($) -{ - my $self = shift; - $self->{REBOOT_NEEDED} = undef; - print STDERR "Attempting to reboot target...\n"; - reboot (); -} - -sub WaitForFileTimed ($) -{ - my $self = shift; - my $file = shift; - my $timeout = shift; - my $cwdrel = $file; - my $prjroot = defined $ENV{"ACE_RUN_VX_PRJ_ROOT"} ? $ENV{"ACE_RUN_VX_PRJ_ROOT"} : $ENV{"ACE_ROOT"}; - if (length ($cwdrel) > 0) { - $cwdrel = File::Spec->abs2rel( cwd(), $prjroot ); - } - else { - $cwdrel = File::Spec->abs2rel( $cwdrel, $prjroot ); - } - my $newfile = $self->{HOST_ROOT} . "/" . $cwdrel . "/" . $file; - return PerlACE::waitforfile_timed ($newfile, $timeout); -} - -sub KillAll ($) -{ - my $self = shift; - my $procmask = shift; - PerlACE::ProcessVX::kill_all ($procmask, $self); -} - -1; diff --git a/dep/ACE_wrappers/bin/PerlACE/TestTarget_WinCE.pm b/dep/ACE_wrappers/bin/PerlACE/TestTarget_WinCE.pm deleted file mode 100644 index 3004c6ab8..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/TestTarget_WinCE.pm +++ /dev/null @@ -1,189 +0,0 @@ -#! /usr/bin/perl -package PerlACE::TestTarget_WinCE; - -# ****************************************************************** -# Description : Creates a PerlACE::WiNCE -# Author : Johnny Willemsen -# Create Date : 29/20/2008 -# $Id: TestTarget_WinCE.pm 91813 2010-09-17 07:52:52Z johnnyw $ -# ****************************************************************** - -# ****************************************************************** -# Pragma Section -# ****************************************************************** - -use strict; - -use PerlACE::TestTarget; -use PerlACE::ProcessVX; -use File::Copy; -use Cwd; -use English; - -our @ISA = qw(PerlACE::TestTarget); - -sub new -{ - my $proto = shift; - my $config_name = shift; - my $class = ref ($proto) || $proto; - my $self = {}; - bless ($self, $class); - $self->GetConfigSettings($config_name); - my $targethost; - my $env_name = $config_name.'_IPNAME'; - if (exists $ENV{$env_name}) { - $targethost = $ENV{$env_name}; - } - else { - print STDERR "You must define target hostname/IP with $env_name\n"; - undef $self; - return undef; - } - - $env_name = $config_name.'_FS_ROOT'; - my $fsroot = '\network\temp\ACE\wince6'; - if (exists $ENV{$env_name}) { - $fsroot = $ENV{$env_name}; - } - else { - print STDERR "Warning: no $env_name variable; falling back ", - "to $fsroot\n"; - } - $self->{FSROOT} = $fsroot; - - $self->{REBOOT_CMD} = $ENV{"ACE_REBOOT_LVRT_CMD"}; - if (!defined $self->{REBOOT_CMD}) { - $self->{REBOOT_CMD} = 'I_Need_A_Reboot_Command'; - } - $self->{REBOOT_TIME} = $ENV{"ACE_LVRT_REBOOT_TIME"}; - if (!defined $self->{REBOOT_TIME}) { - $self->{REBOOT_TIME} = 200; - } - - $self->{REBOOT_TIME} = $ENV{"ACE_RUN_LVRT_REBOOT_TIME"}; - if (!defined $self->{REBOOT_TIME}) { - $self->{REBOOT_TIME} = 200; - } - $self->{REBOOT_NEEDED} = undef; - - my $telnet_port = $ENV{'ACE_RUN_VX_TGT_TELNET_PORT'}; - my $telnet_host = $ENV{'ACE_RUN_VX_TGT_TELNET_HOST'}; - if (!defined $telnet_host) { - $telnet_host = $ENV{'ACE_RUN_VX_TGTHOST'}; - } - if (!defined $telnet_port) { - $telnet_port = 23; - } - if (!defined $self->{HOST_ROOT}) { - $self->{HOST_ROOT} = $self->{FSROOT}; - } - - $PerlACE::ProcessVX::ExeExt = '.exe'; - - return $self; -} - -# ****************************************************************** -# Subroutine Section -# ****************************************************************** - -sub LocalFile { - my $self = shift; - my $file = shift; - my $cwdrel = $file; - my $prjroot = defined $ENV{"ACE_RUN_VX_PRJ_ROOT"} ? $ENV{"ACE_RUN_VX_PRJ_ROOT"} : $ENV{"ACE_ROOT"}; - if (length ($cwdrel) > 0) { - $cwdrel = File::Spec->abs2rel( cwd(), $prjroot ); - } - else { - $cwdrel = File::Spec->abs2rel( $cwdrel, $prjroot ); - } - my $newfile = $self->{FSROOT} . "/" . $cwdrel . "/" . $file; - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print STDERR "WinCE LocalFile for $file is $newfile\n"; - } - return $newfile; -} - -sub AddLibPath ($) { - my $self = shift; - my $dir = shift; - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print STDERR "Adding libpath $dir\n"; - } - PerlACE::add_lib_path ($dir); -} - -sub CreateProcess { - my $self = shift; -if ($OSNAME eq "MSWin32") { - my $process = new PerlACE::ProcessVX ($self, @_); return $process; -} else { - my $process = new PerlACE::ProcessVX (@_, $self); return $process; -} -} - -# Need a reboot when this target is destroyed. -sub NeedReboot ($) -{ - my $self = shift; - $self->{REBOOT_NEEDED} = 1; -} - -# Reboot target -sub RebootNow ($) -{ - my $self = shift; - $self->{REBOOT_NEEDED} = undef; - print STDERR "Attempting to reboot target...\n"; - reboot (); -} - -sub WaitForFileTimed ($) -{ - my $self = shift; - my $file = shift; - my $timeout = shift; - my $cwdrel = $file; - my $prjroot = defined $ENV{"ACE_RUN_VX_PRJ_ROOT"} ? $ENV{"ACE_RUN_VX_PRJ_ROOT"} : $ENV{"ACE_ROOT"}; - if (length ($cwdrel) > 0) { - $cwdrel = File::Spec->abs2rel( cwd(), $prjroot ); - } - else { - $cwdrel = File::Spec->abs2rel( $cwdrel, $prjroot ); - } - my $newfile = $self->{HOST_ROOT} . "/" . $cwdrel . "/" . $file; - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print STDERR "WinCE waits for $newfile timeout $timeout\n"; - } - return PerlACE::waitforfile_timed ($newfile, $timeout); -} - -# Put file from a to b -sub PutFile ($) -{ - my $self = shift; - my $src = shift; - return 0; -} - -sub DeleteFile ($) -{ - my $self = shift; - my $file = shift; - my $newfile = $self->LocalFile($file); - if (defined $ENV{'ACE_TEST_VERBOSE'}) { - print STDERR "delete $newfile\n"; - } - unlink ("$newfile"); -} - -sub KillAll ($) -{ - my $self = shift; - my $procmask = shift; - PerlACE::ProcessVX::kill_all ($procmask, $self); -} - -1; diff --git a/dep/ACE_wrappers/bin/PerlACE/perlace.mpc b/dep/ACE_wrappers/bin/PerlACE/perlace.mpc deleted file mode 100644 index 83e8f872d..000000000 --- a/dep/ACE_wrappers/bin/PerlACE/perlace.mpc +++ /dev/null @@ -1,13 +0,0 @@ -// -*- MPC -*- -// $Id: perlace.mpc 80826 2008-03-04 14:51:23Z wotte $ - -project(PerlACE) : script { - Script_Files { - ConfigList.pm - Process.pm - Process_Unix.pm - Process_Win32.pm - Run_Test.pm - } - custom_only=1 -} diff --git a/dep/ACE_wrappers/bin/Uniqueid.pm b/dep/ACE_wrappers/bin/Uniqueid.pm deleted file mode 100644 index 5461e8f28..000000000 --- a/dep/ACE_wrappers/bin/Uniqueid.pm +++ /dev/null @@ -1,29 +0,0 @@ -#! /usr/bin/perl -# $Id: Uniqueid.pm 82648 2008-08-21 06:55:54Z johnnyw $ -sub uniqueid -{ - if ($^O eq "MSWin32") - { - my $uid = 1; - - open (IPNUM, "ipconfig|") || die "Can't run ipconfig: $!\n"; - - while () - { - if (/Address/) - { - $uid = (split (/: (\d+)\.(\d+)\.(\d+)\.(\d+)/))[4]; - } - } - - close IPNUM; - - return $uid; - } - else - { - return getpwnam (getlogin ()); - } -} - -1; diff --git a/dep/ACE_wrappers/bin/ace-install b/dep/ACE_wrappers/bin/ace-install deleted file mode 100755 index 654bccb69..000000000 --- a/dep/ACE_wrappers/bin/ace-install +++ /dev/null @@ -1,492 +0,0 @@ -#!/bin/sh - -# $Id: ace-install 80826 2008-03-04 14:51:23Z wotte $ - - -##################################################################### -# install_ace: distill the minimal stuff out of the ACE+TAO distribution -# alias cpio 'xargs -i echo {}'; # just for testing the script -# -# according to David Levine on 1999/01/09: -# -# An even better way would be to only build what you need. -# These directories are probably a good start: -# -# ace -# apps/gperf/src -# TAO/tao -# TAO/TAO_IDL -# TAO/orbsvcs -# -# netsvcs ? - not built in here, probably useful -# -##################################################################### - -# actions -unpack=0 -config=0 -compile=0 -install=0 -force=0 - -# can we do it? -die=0 - - -##################################################################### -# check for install_ace options -##################################################################### - -while [ $# -gt 0 ]; do - - case $1 in - - ########################################## - # help output - - -h | --help*) - echo " " - echo "`basename $0` [options]" - echo " " - echo "options:" - echo " -h, --help show brief help" - echo " " - echo "required options:" - echo " -r, --aceroot=ACE_ROOT use ACE_ROOT directory for build/install" - echo " " - echo "extracting and configuring options:" - echo " -z, --archive=FILE unpack specified source archive" - echo " -p, --platform=HEADER,MAKE use HEADER,MAKE as config.h, platform_macros" - echo " " - echo "compiling options:" - echo " -c, --compile=ACE_OPTS compile with make options (e.g. debug=0)" - echo " " - echo "installing options:" - echo " -i, --install=ACE_DEST install into ACE_DEST directory" - echo " -a, --arch=ACE_ARCH use ACE_ARCH subdirs for arch-dependent files" - echo " " - echo "miscellaneous options:" - echo " -f, --force don't ask for confirmation before proceeding" - echo " " - exit 0 - ;; - - ########################################## - # required options - - -r) - shift - if [ $# -gt 0 ]; then - ACE_ROOT=$1; export ACE_ROOT - else - echo "no ACE_ROOT specified" - exit 1 - fi - shift - ;; - - --aceroot*) - ACE_ROOT=`echo $1 | sed -e 's/^[^=]*=//g'`; export ACE_ROOT - shift - ;; - - ########################################## - # extracting and configuring options - - -z) - shift - if [ $# -gt 0 ]; then - ACE_ARCHIVE=$1; export ACE_ARCHIVE - unpack=1 - else - echo "no archive specified" - exit 1 - fi - shift - ;; - - --archive*) - ACE_ARCHIVE=`echo $1 | sed -e 's/^[^=]*=//g'`; export ACE_ARCHIVE - unpack=1 - shift - ;; - - -p) - shift - if [ $# -gt 0 ]; then - ACE_HEADER=`echo $1 | cut -f 1 -d ,`; export ACE_HEADER - ACE_MAKE=`echo $1 | cut -f 2 -d ,`; export ACE_MAKE - else - echo "no header,make files specified" - exit 1 - fi - config=1 - shift - ;; - - --platform*) - stuff=`echo $1 | sed -e 's/^[^=]*=//g'` - ACE_HEADER=`echo $stuff | cut -f 1 -d ,`; export ACE_HEADER - ACE_MAKE=`echo $stuff | cut -f 2 -d ,`; export ACE_MAKE - config=1 - shift - ;; - - ########################################## - # compiling options - - -c) - shift - if [ $# -gt 0 ]; then - ACE_OPTS="$1"; export ACE_OPTS - compile=1 - else - echo "no compilation options specified (e.g. debug=0)" - exit 1 - fi - shift - ;; - - --compile*) - ACE_OPTS=`echo $1 | sed -e 's/^[^=]*=//g'`; export ACE_OPTS - compile=1 - shift - ;; - - ########################################## - # installing options - - -i) - shift - if [ $# -gt 0 ]; then - ACE_DEST=$1; export ACE_DEST - install=1 - else - echo "no installation target directory specified (e.g. /tools/ace)" - exit 1 - fi - shift - ;; - - --install*) - ACE_DEST=`echo $1 | sed -e 's/^[^=]*=//g'`; export ACE_DEST - install=1 - shift - ;; - - -a) - shift - if [ $# -gt 0 ]; then - ACE_ARCH=$1; export ACE_ARCH - else - echo "no installation target architecture specified" - exit 1 - fi - shift - ;; - - --arch*) - ACE_ARCH=`echo $1 | sed -e 's/^[^=]*=//g'`; export ACE_ARCH - shift - ;; - - ########################################## - # miscellaneous options - - -f) - shift - force=1 - ;; - - *) - # no more options, get on with life - if [ $# -gt 0 ]; then - echo "unrecognized option: $1" - exit 1 - fi - ;; - esac -done - - -##################################################################### -# sanity checks for required variables -##################################################################### - -if [ $install -ne 0 -a $compile -ne 0 -a $unpack -eq 0 ]; then - echo "- No actions specified." - die=1 -fi - -if [ $unpack -ne 0 -a $compile -ne 0 -a $config -eq 0 ] \ - || [ $unpack -ne 0 -a $install -ne 0 -a $config -eq 0 ]; then - echo "- Must set platform config options with --platform option" - echo " (`basename $0` -h for help) to unpack and compile/install" - die=1 -fi - -if [ -z "$ACE_ROOT" ]; then - echo "- Must set ACE_ROOT directory before proceeding..." - echo " The directory may be set with the ACE_ROOT environment" - echo " variable or the --aceroot option (`basename $0` -h for help)" - die=1 -fi - -if [ $install -eq 1 -a -z "$ACE_ARCH" ]; then - # just set it to blank if we want to flatten this level of subdirectory - ACE_ARCH="" -fi - -if [ $die -ne 0 ]; then - echo "- terminating `basename $0` script" - exit 2 -fi - - -##################################################################### -# announce intentions -##################################################################### - -echo "This script will perform the following actions:" - -echo "using ACE_ROOT directory: $ACE_ROOT" - -if [ $unpack -ne 0 ]; then - echo " " - echo "Extracting:" - echo "- unpack source archive: $ACE_ARCHIVE" -fi - -if [ $config -ne 0 ]; then - echo " " - echo "Configuring:" - echo "- platform config.h header: $ACE_HEADER" - echo "- platform makefile macros: $ACE_MAKE" -fi - -if [ $compile -ne 0 ]; then - echo " " - echo "Compiling:" - echo "- ACE/TAO compile options: $ACE_OPTS" -fi - -if [ $install -ne 0 ]; then - echo " " - echo "Installing:" - echo "- install target directory: $ACE_DEST" - echo "- install target arch: $ACE_ARCH" -fi - -echo "" - - -##################################################################### -# confirm desire to proceed -##################################################################### - -if [ $force -eq 0 ]; then - echo " " - echo "Type 'yes' to proceed, anything else to exit" - - read ready - if [ "$ready" != "yes" ]; then - echo "Terminating install script. Thank you for playing." - echo "We have some lovely parting gifts for you. =)" - exit 1 - fi -fi - - -##################################################################### -# extract ACE and TAO -##################################################################### - -if [ $unpack -ne 0 ]; then - - echo "Unpacking $ACE_ARCHIVE..." - - cd `dirname $ACE_ROOT` - gzip -dc $ACE_ARCHIVE | tar xvf - - -fi - - -##################################################################### -# configure ACE and TAO -##################################################################### - -if [ $config -ne 0 ]; then - - echo "Configuring: $ACE_HEADER,$ACE_MAKE..." - - # copy the files if they exist - test -f $ACE_ROOT/ace/$ACE_HEADER \ - && cp $ACE_ROOT/ace/$ACE_HEADER $ACE_ROOT/ace/config.h - test -f $ACE_ROOT/include/makeinclude/$ACE_MAKE \ - && cp $ACE_ROOT/include/makeinclude/$ACE_MAKE \ - $ACE_ROOT/include/makeinclude/platform_macros.GNU - - # print error message and die if they don't - if [ ! -f $ACE_ROOT/ace/$ACE_HEADER ]; then - echo "error: $ACE_HEADER doesn't exist" - die=1 - fi - if [ ! -f $ACE_ROOT/include/makeinclude/$ACE_MAKE ]; then - echo "error: $ACE_MAKE doesn't exist" - die=1 - fi - - if [ $die -ne 0 ]; then - exit $die - fi - -fi - - -##################################################################### -# compile ACE and TAO -##################################################################### - -if [ $compile -ne 0 ]; then - - echo "Compiling: $ACE_OPTS..." - - ########################################## - # add ACE_ROOT/ace to LD_LIBRARY_PATH so tao_idl can find libACE.so - if [ "`uname -s`" = "HP-UX" ]; then - if [ ! -z "$SHLIB_PATH" ]; then - SHLIB_PATH=$ACE_ROOT/ace:$SHLIB_PATH - else - SHLIB_PATH=$ACE_ROOT/ace; export SHLIB_PATH - fi - else - if [ ! -z "$LD_LIBRARY_PATH" ]; then - LD_LIBRARY_PATH=$ACE_ROOT/ace:$LD_LIBRARY_PATH - else - LD_LIBRARY_PATH=$ACE_ROOT/ace; export LD_LIBRARY_PATH - fi - fi -fi - - -##################################################################### -# install ACE and TAO -##################################################################### - -if [ $install -ne 0 ]; then - - echo "Installing: $ACE_DEST..." - - ########################################## - # determine final target directories - - ACE_VER=`head -n 1 $ACE_ROOT/VERSION | sed -e 's/^[^0-9]*//' -e 's/[, ].*//'` - ACE_DIR="$ACE_DEST/ACE-$ACE_VER"; export ACE_DIR - - TAO_VER=`head -n 1 $ACE_ROOT/TAO/VERSION | sed -e 's/^[^0-9]*//' -e 's/[, ].*//'` - TAO_DIR="$ACE_DEST/TAO-$TAO_VER"; export ACE_DIR - - ########################################## - # create target directories as needed - echo "creating target directories..." - - ace_dirs="$ACE_DIR $ACE_DIR/include $ACE_DIR/man" - ace_arch_dirs="$ACE_DIR/$ACE_ARCH/include/ace \ - $ACE_DIR/$ACE_ARCH/bin $ACE_DIR/$ACE_ARCH/lib" - tao_dirs="$TAO_DIR $TAO_DIR/include $TAO_DIR/include/orbsvcs" - tao_arch_dirs="$TAO_DIR/$ACE_ARCH/include \ - $TAO_DIR/$ACE_ARCH/bin $TAO_DIR/$ACE_ARCH/lib" - - for dir in $ace_dirs $ace_arch_dirs $tao_dirs $tao_arch_dirs; do - if [ ! -d $dir ]; then - echo $dir - mkdir -p $dir - fi - done - - ########################################## - # copy TAO stuff - - cd $ACE_ROOT/TAO - cp VERSION $TAO_DIR/$ACE_ARCH/TAO-VERSION - - # copy TAO includes - echo "Copying include files..." - find tao -type f -name "*.idl" -print | cpio -p -d -V $TAO_DIR/include - find tao -type f -name "*.pidl" -print | cpio -p -d -V $TAO_DIR/include - find tao -type f -name "*.h" -print | grep -v "^config\.h" | cpio -p -d -V $TAO_DIR/include - find tao -type f \( -name "*.i" -o -name "*.inl" \) -print | cpio -p -d -V $TAO_DIR/include - find tao -type f -name "*.cpp" -print | cpio -p -d -V $TAO_DIR/include - - # NOTE: may need all .h, .i and .cpp under TAO/orbsvcs, instead of just TAO/orbsvcs/orbsvcs - cd orbsvcs - find orbsvcs -type f -name "*.idl" -print | cpio -p -d -V $TAO_DIR/include - find orbsvcs -type f -name "*.pidl" -print | cpio -p -d -V $TAO_DIR/include - find orbsvcs -type f -name "*.h" -print | grep -v "^config\.h" | cpio -p -d -V $TAO_DIR/include - find orbsvcs -type f \( -name "*.i" -o -name "*.inl" \) -print | cpio -p -d -V $TAO_DIR/include - find orbsvcs -type f -name "*.cpp" -print | cpio -p -d -V $TAO_DIR/include - cd .. - - # copy TAO libs - echo "Copying libraries..." - for f in `find . -type f -name "lib?*" -not -name "*\.dsw" -not -name "*Test*" -print`; do - echo $f - cp $f $TAO_DIR/$ACE_ARCH/lib - done - - # copy TAO executables - echo "Copying executables..." - - ALL_PROGS=`find orbsvcs -type f -perm +a+x -print | grep -v ".*lib.*" | grep -v ".\.pl" | grep -v test | grep -v example` - ALL_PROGS="`find utils -type f -perm +a+x -print` $ALL_PROGS" - PROGS=`echo $ALL_PROGS | tr " " "\n" | grep -v test | grep -v default.bld | grep -v README | grep -v GNUmakefile` - - for f in TAO_IDL/tao_idl $PROGS; do - echo $f - cp $f $TAO_DIR/$ACE_ARCH/bin - done - - ########################################## - # copy ACE stuff - - cd $ACE_ROOT - cp VERSION $ACE_DIR/$ACE_ARCH/ACE-VERSION - - # copy ACE includes - echo "Copying include files..." - find ace -type f -name "*.h" -print | grep -v "^config\.h" | cpio -p -d -V $ACE_DIR/include - find ace -type f \( -name "*.i" -o -name "*.inl" \) -print | cpio -p -d -V $ACE_DIR/include - find ace -type f -name "*.cpp" -print | cpio -p -d -V $ACE_DIR/include - cp ace/config.h $ACE_DIR/$ACE_ARCH/include/ace/config.h - chmod -R a+r $ACE_DIR/$ACE_ARCH/include - - # copy ACE libs - echo "Copying libraries..." - for f in `find . -type f -name "lib?*" -not -name "*\.dsw" -not -name "*Test*" -print`; do - # only copy libs if they're not already in $TAO_DIR/$ACE_ARCH/lib - maybe_tao_lib=$TAO_DIR/$ACE_ARCH/lib/`basename $f` - if [ ! -f $maybe_tao_lib ]; then - echo $f - cp $f $ACE_DIR/$ACE_ARCH/lib - fi - test -f $maybe_tao_lib && echo "library $f already installed with TAO" - done - - # copy ACE man pages - echo "Copying man pages..." - find man -type f -print | cpio -p -d -V $ACE_DIR - - - # PERMISSIONS - chmod -R a+r $ACE_DEST - find $ACE_DEST -type d -exec chmod a+x {} \; - find $ACE_DEST -type f -perm +a+x -exec chmod a+x {} \; - -fi # if [ $install -ne 0 ] - - -##################################################################### -# that's all, folks -##################################################################### - -echo "`basename $0`: done." diff --git a/dep/ACE_wrappers/bin/ace_components b/dep/ACE_wrappers/bin/ace_components deleted file mode 100755 index 01675c7ae..000000000 --- a/dep/ACE_wrappers/bin/ace_components +++ /dev/null @@ -1,111 +0,0 @@ -#! /bin/sh -# $Id: ace_components 80826 2008-03-04 14:51:23Z wotte $ -# -# Encapsulates set/access of a components file, which records set of -# components that were built in a library. Intended to be used by -# GNUmakefiles and scripts. See ACE_wrappers/ace/GNUmakefile for an -# example. -# -usage="usage: $0 --ace | --orbsvcs | --tao | --pace \ - [--remove | --set \" \"]" - -#### -#### Make sure that PACE_ROOT, ACE_ROOT, and TAO_ROOT are set. -#### -if [ ! "$ACE_ROOT" ]; then - echo $0': your ACE_ROOT environment variable is not set!' 1>&2 - exit -1 -fi -if [ ! "$TAO_ROOT" ]; then - TAO_ROOT=$ACE_ROOT/TAO - export TAO_ROOT -fi -if [ ! "$PACE_ROOT" ]; then - PACE_ROOT=$ACE_ROOT/PACE - export PACE_ROOT -fi - -#### -#### Process command line arguments. -#### -if [ $# -ge 1 ]; then - case $1 in - --ace) components_file=$ACE_ROOT/ace/ACE_COMPONENTS.list ;; - --orbsvcs) - components_file=$TAO_ROOT/orbsvcs/orbsvcs/ORBSVCS_COMPONENTS.list ;; - --tao) components_file=$TAO_ROOT/tao/TAO_COMPONENTS.list ;; - --pace) components_file=$PACE_ROOT/PACE_COMPONENTS.list ;; - *) echo $usage; exit -1 ;; - esac - shift -else - echo $usage - exit -1 -fi - -set_components=0 -append_components=0 -if [ $# -ge 1 ]; then - if [ $1 = '--set' ]; then - set_components=1 - shift - if [ $# -eq 1 ]; then - components=$1 - shift - else - echo $usage - exit -1 - fi - elif [ $1 = '--append' ]; then - append_components=1 - shift - if [ $# -eq 1 ]; then - components=$1 - shift - else - echo $usage - exit -1 - fi - elif [ $1 = '--remove' ]; then - rm -f $components_file - else - echo $usage - exit -1 - fi -fi - -if [ $set_components -eq 1 ]; then - #### - #### Update the components file, if it has changed since last set. - #### - if [ -f $components_file ]; then - if echo "$components" | diff - $components_file > /dev/null; then - : - else - echo "$components" > $components_file - fi - else - echo "$components" > $components_file - fi -elif [ $append_components -eq 1 ]; then - #### - #### Update the components file, if it has changed since last set. - #### - if [ -f $components_file ]; then - if cat $components_file | grep "$components" > /dev/null; then - : - else - (cat $components_file; echo "$components") | tr ' ' '\012' | sort -u > $components_file.$$ - mv -f $components_file.$$ $components_file - fi - else - echo "$components" > $components_file - fi -else - #### - #### Access the contents of the components file, if it exists. - #### - if [ -f $components_file ]; then - cat $components_file - fi -fi diff --git a/dep/ACE_wrappers/bin/ace_install_pkgconfig.pl b/dep/ACE_wrappers/bin/ace_install_pkgconfig.pl deleted file mode 100755 index 541b445ba..000000000 --- a/dep/ACE_wrappers/bin/ace_install_pkgconfig.pl +++ /dev/null @@ -1,45 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -w -S $0 ${1+"$@"}' - & eval 'exec perl -w -S $0 $argv:q' - if 0; -# ******************************************************************** -# $Id: ace_install_pkgconfig.pl 91974 2010-09-23 16:17:42Z mitza $ -# ace_install_pkgconfig.pl - Creates *.pc files for pkg-config in the -# installed location, based on the *.pc.in -# files from the source tree, with @foo@ -# variables replaced with their values. -# Called from the MPC-generated makefiles. -# ******************************************************************** - -use strict; -use Getopt::Long; - -my ($prefix, $libdir, $libs, $version, %custom); -GetOptions('prefix=s' => \$prefix, 'libdir=s' => \$libdir, 'libs=s' => \$libs, - 'version=s' => \$version, 'custom=s' => \%custom); - -my %subs = ('LIBS' => $libs, 'VERSION' => $version, 'exec_prefix' => $prefix, - 'prefix' => $prefix, 'includedir' => "$prefix/include", - 'libdir' => "$prefix/$libdir"); - -for my $k (keys %custom) { - $subs{$k} = $custom{$k}; -} - -my $pcdir = "$prefix/$libdir/pkgconfig"; -if (scalar @ARGV && ! -d $pcdir) { - mkdir($pcdir, 0755); -} - -for my $file (@ARGV) { - open IN, $file; - my $pcfile = $file; - $pcfile =~ s/\.in$//; - open OUT, ">$pcdir/$pcfile"; - while () { - s/@(\w+)@/exists $subs{$1} ? $subs{$1} : $&/ge; - print OUT $_; - } - close OUT; - close IN; -} - diff --git a/dep/ACE_wrappers/bin/ace_ld b/dep/ACE_wrappers/bin/ace_ld deleted file mode 100755 index 1629d0da2..000000000 --- a/dep/ACE_wrappers/bin/ace_ld +++ /dev/null @@ -1,237 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id: ace_ld 80826 2008-03-04 14:51:23Z wotte $ -# -# Drop-in replacement for "ld" that supports munching. -# -# The first three lines above let this script run without specifying the -# full path to perl, as long as it is in the user's PATH. -# Taken from perlrun man page. - -## -## Symbols that produce a warning due to size changing. -## This is a harmless known bug with the version of gcc that comes with -## Tornado II. Anything in this list will be suppressed unless the -w -## option is used. -## -my(@symbols) = ('dequeue__t17ACE_Message_Queue1Z14ACE_NULL_SYNCHRP17ACE_Message_BlockP14ACE_Time_Value', - 'activate__t17ACE_Message_Queue1Z14ACE_NULL_SYNCH', - ); - -$usage = - "usage: $0 [-? | [-w] [-o ] [[-C --] [-m ] [-n ]] [-f]]] " . - "\n"; - -#### To avoid quoting problems on the command line, all arguments -#### between -C and -- are combined into the single compile command. -$compile_option = 0; -$ss_change_warn = 0; - -#### -#### process command line args -#### -while ( $#ARGV >= 0 && $ARGV[0] =~ /^-/ ) { - if ( $ARGV[0] eq '-C' ) { - $compile_option = 1; - if ( $ARGV[1] !~ /^[-].+$/ ) { - $compile = $ARGV[1]; shift; - } else { - print STDERR "$0: must provide argument for -c option\n"; - die $usage; - } - } elsif ( $ARGV[0] eq '--' ) { - $compile_option = 0; - } elsif ( $ARGV[0] eq '-m' ) { - if ( $ARGV[1] !~ /^[-].+$/ ) { - $munch = $ARGV[1]; shift; - } else { - print STDERR "$0: must provide argument for -m option\n"; - die $usage; - } - } elsif ( $ARGV[0] eq '-n' ) { - if ( $ARGV[1] !~ /^[-].+$/ ) { - $nm = $ARGV[1]; shift; - } else { - print STDERR "$0: must provide argument for -n option\n"; - die $usage; - } - } elsif ( $ARGV[0] eq '-o' ) { - if ( $ARGV[1] !~ /^[-].+$/ ) { - $vdir = $ARGV[1]; shift; - } else { - print STDERR "$0: must provide argument for -o option\n"; - die $usage; - } - } elsif ( $ARGV[0] eq '-w' ) { - $ss_change_warn = 1; - } elsif ( $ARGV[0] eq '-?' ) { - print "$usage"; - exit; - } else { - if ($compile_option) { - $compile .= " $ARGV[0]"; - } else { - warn "$0: unknown option $ARGV[0]\n"; - die $usage; - } - } - shift; -} - -#### -#### If $vdir is empty, set default object file directory (.obj) -#### -if ($vdir eq ''){ - $vdir = ".obj"; -} - -#### -#### Save link command, i.e., current @ARGV, for use below. -#### -@args = @ARGV; - - -#### -#### Find full path to each library. -#### -@libDirs = (); -$current_dir_in_libDirs = 0; -@libs = (); -@objs = ''; - -foreach $arg (@ARGV) { - if ($arg =~ /^['"]?-L([\S]+)/) { - ($dir = $1) =~ s%/+$%%; #### trim any trailing slashes - push (@libDirs, $dir); - $current_dir_in_libDirs = 1 if $dir eq '.'; - } elsif ($arg =~ /^['"]?-l([\S]+)/) { - push (@libs, $1); - } elsif ($arg =~ /\.o$/) { - push (@objs, $arg); - } -} - -#### Add . to libDirs if it doesn't already have it. -push (@libDirs, ".") unless $current_dir_in_libDirs; - -foreach $lib (@libs) { - foreach $libDir (@libDirs) { - if (-e "$libDir/lib$lib.a") { - $full_path{$lib} = "$libDir/lib$lib.a"; - last; - } - } -} - - -#### -#### Set up signal handler. -#### -$done = 0; -$SIG{'HUP'} = $SIG{'INT'} = $SIG{'QUIT'} = $SIG{'TERM'} = 'cleanup'; - - -#### -#### Munch, if $munch is non-null. -#### -if ($munch) { - $munch_objs = join (' ', @objs); - $munch_libs = join (' ', values %full_path); - - open (MUNCH, "$nm $munch_objs $munch_libs | $munch |") || - &fail ("$0: unable to run \"$nm\" or \"$munch\"\n"); - - open (CTORDTOR, "> __ctordtor.c") || - &fail ("$0: unable to open \"__ctordtor.c\"\n"); - - while () { - #### Filter out munch output that contains '.cpp'. It results from - #### .cpp files that have no text or data, e.g., .cpp files that - #### only contain template instantiations. These lines confuse g++. - print CTORDTOR unless /\.cpp/; - } - - close CTORDTOR || &fail ("$0: unable to write \"__ctordtor.c\"\n"); - close MUNCH; - - system ("$compile -o $vdir/__ctordtor.o __ctordtor.c") && - &fail ("$0: \"$compile\" failed\n"); -} - - -#### -#### Construct the link command from @args and perform the link. -#### -if ($munch) { - #### Insert ctordtor object file before first library in link command. - $arg_lib = 0; - foreach $arg (@ARGV) { - if ($arg =~ /^['"]?-l/) { - last; - } - ++$arg_lib; - } - splice (@args, $arg_lib, 0, "$vdir/__ctordtor.o"); -} - -$link_command = join (' ', @args); - -if (open(PP, "$link_command 2>&1 |")) { - while() { - my($line) = $_; - if ($ss_change_warn) { - print $line; - } - else { - my($found) = 0; - foreach my $symbol (@symbols) { - if ($line =~ /Warning: size of symbol `$symbol\'/) { - $found = 1; - } - } - if (!$found) { - print $line; - } - } - } - close(PP); - - if ($? ne 0) { - fail ("$0: $link_command failed\n"); - } -} -else { - fail ("$0: $link_command failed\n"); -} - - -$done = 1; -&cleanup; - - -#### -#### -#### -sub fail { - local ($message) = @_; - - warn $message; - &cleanup; -} - - -#### -#### clean up when done or on signal -#### -sub cleanup { - unlink "__ctordtor.c", "$vdir/__ctordtor.o"; - if ($done) { - exit 0; - } else { - exit 1; - } -} - -#### EOF diff --git a/dep/ACE_wrappers/bin/ace_tests.lst b/dep/ACE_wrappers/bin/ace_tests.lst deleted file mode 100644 index 97eb81dec..000000000 --- a/dep/ACE_wrappers/bin/ace_tests.lst +++ /dev/null @@ -1,19 +0,0 @@ -# $Id: ace_tests.lst 90206 2010-05-20 22:05:46Z mitza $ -# -# This is the list of run_test.pl's that need to be run by -# auto_run_tests.pl. -# Each line has its own test, and a test can be followed by a -# list of configurations it does _not_ run on. -# -# Example: TAO\examples\foo\run_test.pl: !MINIMUM !ST -# -# NOTE: This file contains tests only for ACE. Please do not include -# tests in TAO here.. -tests/run_test.pl -examples/Reactor/WFMO_Reactor/run_test.pl: !Cygwin !VxWorks !ACE_FOR_TAO !LabVIEW_RT -protocols/tests/RMCast/run_test.pl: RMCAST !ST !NO_MCAST !nsk !LynxOS !ACE_FOR_TAO !VxWorks !LabVIEW_RT -protocols/tests/HTBP/ping/run_test.pl: !NO_UUID !nsk !LynxOS !ACE_FOR_TAO !VxWorks !LabVIEW_RT -protocols/tests/HTBP/Send_Recv_Tests/run_test.pl: !NO_UUID !nsk !LynxOS !ACE_FOR_TAO !VxWorks !LabVIEW_RT -protocols/tests/HTBP/Send_Large_Msg/run_test.pl: !NO_UUID !nsk !LynxOS !ACE_FOR_TAO !VxWorks !LabVIEW_RT -protocols/tests/HTBP/Reactor_Tests/run_test.pl: !NO_UUID !nsk !LynxOS !ACE_FOR_TAO !VxWorks !LabVIEW_RT -tests/non_mpc_makefile/Bug_3708_Regression.pl: !ARCH diff --git a/dep/ACE_wrappers/bin/add_rel_link.sh b/dep/ACE_wrappers/bin/add_rel_link.sh deleted file mode 100755 index 293058677..000000000 --- a/dep/ACE_wrappers/bin/add_rel_link.sh +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/sh -# This script assumes it is being run by bash - -# ======= needed functions ====== -# abspath relpath curentpath -abspath () -{ -# treat "./" as a special case -if expr "$1" : '\./' >/dev/null; then - b=`echo $1 | sed 's@\./@@'` - echo $2/$b - return 0 -fi -b=$1 -a=$2 -# for each "../" we remove one directory from the current path -# and leading "../" from the relative path -# until we have the unique part in b and the abs prefix in a -while expr "$b" : '\.\./' >/dev/null -do - b=`echo $b | sed 's@\.\./@@'` - a=`echo $a | sed 's@/[^/]*$@@'` -done -# return the completed absolute path -echo $a/$b -} - -# relpath abspath curentpath -relpath () -{ -# take "/" off beginning -a=`echo $1 | sed 's@^/@@'` -# take "/" off beginning and add to end -b=`echo $2 | sed 's@^/@@;s@$@/@'` -while true -do - if [ "$b" = "" ]; then - break; - fi - a1=`echo $a | sed 's@\([^/]*\)/.*@\1@'` - b1=`echo $b | sed 's@\([^/]*\)/.*@\1@'` - if [ "$a1" != "$b1" ]; then - break; - fi - a=`echo $a | sed 's@[^/]*/@@'` - b=`echo $b | sed 's@[^/]*/@@'` -done -# a now has the unique part of the path -c="" -# c will have the required number of "../"'s -while [ "$b" != "" ] -do - c="../$c" - b=`echo $b | sed 's@[^/]*/@@'` -done -# return the completed relative path -echo "$c$a" -} - - -# ====== MAIN ====== -# Assume any relative path passed in is relative to the current directory -# Given $1 is a path to the source file -# Given $2 is a path of the link to be created -# Create a link that has the relative path to the source file -# That is, $1 converted relative to $2 -# Check if $1 is absolute or already relative -#echo add_rel_link.sh $1 $2 -if expr "$1" : '\/' >/dev/null; then - # The source path is absolute, this is the expected case - # Check if $2 is absolute or relative - if expr "$2" : '\/' >/dev/null; then - # The link path is already absolute, so just use it - lpath=$2 - else - # The link path is relative, this is the expected case - # WARNING: don't use $PWD here, it won't work right - # WARNING: pwd may be a shell alias. Use /bin/pwd. - cur=`/bin/pwd` - lpath=`abspath $2 $cur` - fi - # take name off the end of the dest - ldir=`echo $lpath | sed 's@/[^/]*$@@'` - - # If the original path and the ldir do not originate in the same - # directory tree, we should just use absolute paths - if [ "`echo $1 | cut -d/ -f2`" != "`echo $ldir | cut -d/ -f2`" ]; then - spath=$1 - else - spath=`relpath $1 $ldir` - fi - # use the completed relative path and the given destignation path - echo ln -s $spath $2 - ln -s $spath $2 -else - # The source path is already relative, so just use it - echo ln -s $1 $2 - ln -s $1 $2 -fi diff --git a/dep/ACE_wrappers/bin/aix_shr b/dep/ACE_wrappers/bin/aix_shr deleted file mode 100755 index 5ed2f182f..000000000 --- a/dep/ACE_wrappers/bin/aix_shr +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh -# $Id: aix_shr 80826 2008-03-04 14:51:23Z wotte $ -# Filter out the duplicate symbol warnings from Visual Age C++ -# - -output=`basename $0`.$$.`/bin/date +%Y%m%d%H%M%S` -usrtmp="/tmp" -for possible in "$TMPDIR" "$TEMP" "$TMP"; do - if [ "$possible" != "" ]; then - if [ -w "$possible" ]; then - usrtmp="$possible" - break - fi - fi -done - -## Send the output to a temporary file and save the return code. -## This macro is being passed during the to avoid #include errors -## while instantiating templates. -$@ -DACE_VACPP_INSTANTIATING_TEMPLATES > "$usrtmp/$output" 2>&1 -status=$? - -## Print the output to stdout, but filter duplicate symbol warnings from -## Visual Age C++-using builds. The first pattern ends up coming from the -## linker in Visual Age C++ 5 builds; the second is from Visual Age C++ 6. -/bin/egrep -v '0711-(224|345)|1540-0(424|425|436)' "$usrtmp/$output" - -## Clean up the temporary file -/bin/rm -f "$usrtmp/$output" - -## Exit with the return code from the compiler -exit $status diff --git a/dep/ACE_wrappers/bin/auto_compile b/dep/ACE_wrappers/bin/auto_compile deleted file mode 100755 index 1f72fdcb9..000000000 --- a/dep/ACE_wrappers/bin/auto_compile +++ /dev/null @@ -1,607 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# -*- perl -*- -# $Id: auto_compile 80826 2008-03-04 14:51:23Z wotte $ -# -# This script checkouts ACE from CVS, updates the "clone" directory, -# compiles $ACE_ROOT/ace and $ACE_ROOT/tests and finally runs -# $ACE_ROOT/tests/run_tests.sh. -# -# If it detects any problem it send email. -# -# DO NOT invoke this script from your crontab, use -# auto_compile_wrapper for that. -# -# This script requires Perl5. -# -# TODO: Modify the script or split it in such a way that the main copy -# can be obtained either using cvs or downloading the lastest beta -# from the WWW. -# - -# The first three lines above let this script run without specifying the -# full path to perl, as long as it is in the user's PATH. -# Taken from perlrun man page. - -use File::Basename; -use File::Copy; -use FileHandle; -require POSIX; - -# This are the sub-directories (in the module) we really compile. - -# Find out the command name. -$CMD = basename($0); - -$dont_update = 0; -# $copy_logs = 1; -# $LOG_DESTINATION = $ENV{'HOME'}.'/.www-docs/auto_compile'; - -$copy_logs = 0; -$LOG_DESTINATION='bugzilla'.'@cs.wustl.edu'; - -$dont_build_tao = 0; -$dont_run = 0; -$makefile_suffix = ""; -$pre_realclean = 0; -$post_realclean = 0; -$report_success = 0; -$debug = 0; -$sandbox = ''; -$sandbox_timeout = 600; -$sendreport = 0; -@BUILD_LIST= (); -@CONFIGURATION_OPTIONS = (); - -@ARGS = (); -while ($#ARGV >= 0) { - if (!($ARGV[0] =~ m/^-/)) { - push @ARGS, $ARGV[0]; - } elsif ($ARGV[0] eq "-single_threaded") { - print STDERR "$CMD: obsolete option $ARGV[0], " - ."please use -config instead\n"; - push @CONFIGURATION_OPTIONS, 'ST'; - } elsif ($ARGV[0] eq "-minimum_corba") { - print STDERR "$CMD: obsolete option $ARGV[0], " - ."please use -config instead\n"; - push @CONFIGURATION_OPTIONS, 'MINIMUM'; - } elsif ($ARGV[0] eq "-ami") { - print STDERR "$CMD: obsolete option $ARGV[0], " - ."please use -config instead\n"; - push @CONFIGURATION_OPTIONS, 'AMI'; - } elsif ($ARGV[0] eq "-smart_proxies") { - print STDERR "$CMD: obsolete option $ARGV[0], " - ."please use -config instead\n"; - push @CONFIGURATION_OPTIONS, 'SMART_PROXIES'; - } elsif ($ARGV[0] eq "-static") { - print STDERR "$CMD: obsolete option $ARGV[0], " - ."please use -config instead\n"; - push @CONFIGURATION_OPTIONS, 'STATIC'; - } elsif ($ARGV[0] eq "-config") { - shift; - push @CONFIGURATION_OPTIONS, $ARGV[0]; - } elsif ($ARGV[0] eq "-build_list") { - shift; - @BUILD_LIST = split (/,/, $ARGV[0]); - } elsif ($ARGV[0] eq "-dont_update") { - $dont_update = 1; - } elsif ($ARGV[0] eq "-copy_logs") { - shift; - $copy_logs = 1; - $LOG_DESTINATION = $ARGV[0]; - } elsif ($ARGV[0] eq "-sandbox") { - shift; - $sandbox = $ARGV[0]; - } elsif ($ARGV[0] eq "-sandbox_timeout") { - shift; - $sandbox_timeout = $ARGV[0]; - } elsif ($ARGV[0] eq "-dont_run") { - $dont_run = 1; - } elsif ($ARGV[0] eq "-pre_realclean") { - $pre_realclean = 1; - } elsif ($ARGV[0] eq "-post_realclean") { - $post_realclean = 1; - } elsif ($ARGV[0] eq "-report_success") { - $report_success = 1; - } elsif ($ARGV[0] eq "-debug") { - $debug = 1; - } elsif ($ARGV[0] eq "-sendreport") { - $sendreport = 1; - } elsif ($ARGV[0] eq "-notao") { - $dont_build_tao = 1; - } elsif ($ARGV[0] eq "-make_type") { - shift; - $makefile_suffix = $ARGV[0]; - } else { - print "Ignoring option $ARGV[0]\n"; - } - shift; -} - -# Extract configuration information from command line. - # TODO: Some validation and checking should be done here. -$CHECKOUT = $ARGS[0]; -$BUILD = $ARGS[1]; -$LOGDIR = $ARGS[2]; -$ADMIN = $ARGS[3]; -$MAIL = "mail"; -if ($#ARGS >= 4) { - $MAIL = $ARGS[4]; -} -$LOG_URL = "http://ace.cs.wustl.edu/~bugzilla/auto_compile_logs/"; -if ($#ARGS >= 5) { - $LOG_URL = $ARGS[5]; -} -# This is the module we will checkout unless a different one is on the -# command line. -$MODULE='ACE_wrappers'; -if ($#ARGS >= 6) { - $MODULE = $ARGS[6]; -} - -$ENV{'ACE_ROOT'} = $CHECKOUT . '/' . $MODULE . '/build/' . $BUILD; -$ENV{'TAO_ROOT'} = $CHECKOUT . '/' . $MODULE . '/build/' . $BUILD . '/TAO'; - -# We obtain our revision to report errors. -$REVISION='$Revision: 80826 $ '; - -# When an error is found we try to die gracefully and send some email -# to ADMIN. - -$disable_file = $LOGDIR . '/.disable'; -$histfile = $LOGDIR . '/history'; -$LOGBASE = POSIX::strftime("%Y_%m_%d_%H_%M", localtime); -$LOGFILE = $LOGDIR . '/' . $LOGBASE . '.txt'; -$HOST = `hostname`; -chop $HOST; -$LOG_NAME = $HOST . '_' . $BUILD . '/' . $LOGBASE . '.txt'; -$STATUS = "OK"; - -if ($debug) { - print "CHECKOUT = $CHECKOUT\n"; - print "BUILD = $BUILD\n"; - print "LOGDIR = $LOGDIR\n"; - print "ADMIN = $ADMIN\n"; - print "MAIL = $MAIL\n"; - print "ACE_ROOT = $ENV{ACE_ROOT}\n"; - print "TAO_ROOT = $ENV{TAO_ROOT}\n"; - print "CONFIGURATION_OPTIONS = ", @CONFIGURATION_OPTIONS, "\n"; -} - -push @INC, $CHECKOUT . '/' . $MODULE . '/bin'; - -require PerlACE::ConfigList; - -$config_list = new PerlACE::ConfigList; - -$config_list->my_config_list (@CONFIGURATION_OPTIONS); - -if ($#BUILD_LIST == -1) { - if ($dont_build_tao) { - @BUILD_LIST=('ace'); - } - else { - @BUILD_LIST=('.', 'TAO'); - } -} - -sub mydie { - my $DEST_DIR = $LOG_DESTINATION.'/'.$HOST.'_'.$BUILD; - mkdir $DEST_DIR,0755 if (!-d $DEST_DIR); - if (open(STATUS, '>'.$DEST_DIR.'/status.txt')) { - print STATUS "SCOREBOARD_STATUS: Inactive\n"; - close STATUS; - } - unlink $disable_file; - die $_ . "\n"; -} - -@RUN_LIST = (); - -if ($debug) { - - @BUILD_LIST = ('ace'); - @RUN_LIST = ('TAO/tests/OctetSeq/run_test.pl'); - $ADMIN = $ENV{'LOGNAME'}; - -} else { - $config_list->load ($CHECKOUT . '/' . $MODULE . '/' . 'build/' . $BUILD . '/bin/auto_run_tests.lst'); - - @RUN_LIST = $config_list->valid_entries (); -} - -sub mail_logs { - open (MAIL, "|".$MAIL.' -s AUTO_COMPILE_LOG='.$LOG_NAME.' '.$LOG_DESTINATION) - || mydie "Cannot open mail pipe for: $LOG_NAME\n"; - - print MAIL 'This is the log for: ', "\n"; - print MAIL $CMD, ' [', $REVISION, "] for $HOST/$BUILD\n"; - - print MAIL "\n================================================================\n"; - - if (open (THELOG, "$LOGFILE")) - { - while () { - print MAIL $_; - } - close (THELOG); - } - close (MAIL); # Ignore errors.... -} - -sub copy_logs { - local $DEST_DIR = $LOG_DESTINATION.'/'.$HOST.'_'.$BUILD; - mkdir $DEST_DIR,0755 if (!-d $DEST_DIR); - - copy($LOGFILE, $DEST_DIR.'/'.$LOGBASE.'.txt'); - - local $MAKE_PRETTY="$CHECKOUT/$MODULE/bin/make_pretty.pl"; - system ("perl $MAKE_PRETTY -b -i $LOGFILE >$DEST_DIR/$LOGBASE"."_brief.html"); - system ("perl $MAKE_PRETTY -i $LOGFILE >$DEST_DIR/$LOGBASE".".html"); - - chmod 0644, $DEST_DIR.'/'.$LOGBASE.'.txt' - , $DEST_DIR.'/'.$LOGBASE.'_brief.html' - , $DEST_DIR.'/'.$LOGBASE.'.html' ; -} - -sub report_errors { - - # First clear the lock, so the next execution works... - unlink $disable_file; # Ignore errors! - - if ($sendreport) { - # Now send a summary of the errors to the ADMIN account, if there are any. - - if ($#_ >= 0) { - local $to = $ADMIN; - - open (MAIL, "|".$MAIL.' -s "[AUTO_COMPILE] '.$HOST.' '.$BUILD.'" '.$to) - || mydie "Cannot open mail pipe for: $_\n"; - - print MAIL 'The following message is brought to you by: ', "\n"; - print MAIL $CMD, ' [', $REVISION, "] for $BUILD on $HOST\n\n"; - - print MAIL "\nPlease check the following log for more info:\n\n"; - print MAIL $LOG_URL, '?', $HOST, '_', $BUILD, "\n\n"; - - local $m; - foreach $m (@_) { - print MAIL $m, "\n"; - } - close (MAIL); # Ignore errors.... - } - } - - # Now send the complete log to bugzilla... - if ($copy_logs) { - copy_logs (); - } else { - mail_logs (); - } -} - -### MAIN FUNCTION - -if (-f $disable_file) { - print 'The following message is brought to you by: ', "\n"; - print $CMD, ' [', $REVISION, "] for $BUILD on $CHECKOUT\n"; - - print "DISABLED\n"; - - exit 0; -} - -open (DISABLE, '>' . $disable_file) - || die "cannot open disable file <$disable_file>\n"; -print DISABLE "auto_compile <$date> is running\n"; -close (DISABLE) - || die "cannot close disable file"; - -open(HIST, '>>' . $histfile) - # Do not use 'mydie' to report the problem, it tries to remove the - # disable file - || mydie "cannot open history file \"$histfile\"\n"; - -$date = localtime; - -print HIST $CMD, ': running at ', $date, ' '; - -open(LOG, '>' . $LOGFILE) - || mydie "cannot open log file"; - -LOG->autoflush (); - -# The following lines are useful when debugging the script or wrapper. -# print LOG $CHECKOUT, " ", $BUILD, " ", $LOGDIR, " ", $ADMIN, "\n"; -#while (($key,$value) = each %ENV) { -# print LOG $key, " = ", $value, "\n"; -#} - -print LOG "#################### CVS\n"; -my $DEST_DIR = $LOG_DESTINATION.'/'.$HOST.'_'.$BUILD; -mkdir $DEST_DIR,0755 if !-d $DEST_DIR; -if (open(STATUS, '>'.$DEST_DIR.'/status.txt')) { - print STATUS "SCOREBOARD_STATUS: CVS\n"; - close STATUS; -} - -chdir($CHECKOUT) - || mydie "Cannot chdir to $CHECKOUT"; - -if ($dont_update == 0) { - $date = localtime; - print LOG "$CMD: starting checkout at ", $date, "\n"; - open(CVS, "cvs -q checkout -P $MODULE 2>&1 |") - || mydie "cannot start checkout of $MODULE"; - - $conflicts = 0; - while () { - if (m/^C /) { - ($unused, $entry) = split('/'); - if (($entry ne "ChangeLog\n") && ($entry ne "THANKS\n")) { - $conflicts = 1; - } - } - print LOG $_; - } - close(CVS); -# || mydie "error while checking out $MODULE"; - $date = localtime; - print LOG "$CMD: checkout finished at ", $date, "\n"; - - if ($conflicts != 0) { - mydie "conflicts on checkout"; - } -} - -chdir($MODULE) - || mydie "cannot chdir to $MODULE"; - -$date = localtime; -print LOG "$CMD: starting clone at ", $date, "\n"; -open(CLONE, "perl bin/create_ace_build -a -v $BUILD 2>&1 |") - || mydie "cannot clone directory"; -while() { - print LOG $_; -} -close(CLONE) - || mydie "error while cloning ACE_ROOT"; -$date = localtime; -print LOG "$CMD: clone finished at ", $date, "\n"; - -chdir('build/' . $BUILD) - || mydie "cannot chdir to $BUILD"; - -@failures = (); - -if ($makefile_suffix ne "") { - $MAKEFLAGS = "-f Makefile.$makefile_suffix"; -} - -print LOG "#################### Compiler\n"; -if (open(STATUS, '>'.$DEST_DIR.'/status.txt')) { - print STATUS "SCOREBOARD_STATUS: Compile\n"; - close STATUS; -} - -if ($pre_realclean) { - foreach $i (reverse(@BUILD_LIST)) { - $date = localtime; - print LOG "$CMD: =============================================\n"; - print LOG "$CMD: make realclean in $i started at ", $date, "\n"; - open(MAKE, "make -k $MAKEFLAGS -C $i realclean 2>&1 |") - || mydie "cannot start make in $i"; - - while () { - # Ignore errors.... - } - if (close(MAKE) == 0) { - push @failures, "errors while cleaning $i"; - } - $date = localtime; - print LOG "$CMD: make realclean in $i finished at ", $date, "\n"; - print LOG "$CMD: =============================================\n\n"; - } -} - -$MAKEFLAGS .= ""; -foreach $i (@BUILD_LIST) { - $date = localtime; - print LOG "$CMD: =============================================\n"; - print LOG "$CMD: make for $i started at ", $date, "\n"; - open(MAKE, "make -k $MAKEFLAGS -C $i 2>&1 |") - || mydie "cannot start make for $i"; - - local $current_dir = $i; - local $last_error = ""; - local $this_error = 0; - local $this_warning = 0; - while () { - chop; - $this_error = $this_warning = 0; - if ($^O eq 'hpux' - && m/^Warning:[ \t]+[0-9]+ future errors were detected/) { - next; - } - print LOG $_, "\n"; - - if (m/^make(\[[0-9]+\])?: Entering directory /) { - s/^make(\[[0-9]+\])?: Entering directory //; - s%^$ENV{'ACE_ROOT'}/%%; - $current_dir = $_; - } - if (m/error:/i || m/error /i - || m/^make(\[[0-9]+\])?: \*\*\*/) { - $this_error = 1; - } - if ($^O eq 'aix' - && m/\d+-\d+ \([SI]\)/) { - $this_error = 1; - } - if ($this_error) { - if ($last_error ne $current_dir - || STATUS eq "COMPILATION WARNING") { - $STATUS = "COMPILATION ERROR"; - push @failures, "Error while compiling in $current_dir \n"; - $last_error = $current_dir; - } - } - if (m/warning:/i - || m/warning /i - || m/Info: /i) { - $this_warning = 1; - if ($^O eq 'aix' - && m/^ld: \d+-\d+ WARNING: Duplicate symbol: .*ACE.*/) { - $this_warning = 0; - } - } - if ($^O eq 'aix' - && m/\d+-\d+ \(W\)/) { - $this_warning = 1; - } - if ($this_warning) { - if ($last_error ne $current_dir) { - if ($STATUS eq "OK") { - $STATUS = "COMPILATION WARNING"; - } - push @failures, "Warning while compiling in $current_dir\n"; - $last_error = $current_dir; - } - } - } - if (close(MAKE) == 0) { - push @failures, "errors while running make in $i"; - } - $date = localtime; - print LOG "$CMD: make for $i finished at ", $date, "\n"; - print LOG "$CMD: =============================================\n\n"; -} - -print LOG "#################### Tests\n"; -if (open(STATUS, '>'.$DEST_DIR.'/status.txt')) { - print STATUS "SCOREBOARD_STATUS: Tests\n"; - close STATUS; -} - -if ($dont_run == 0) { - my $config_params; - if ($#CONFIGURATION_OPTIONS != -1) { - $config_params = ' -Config '; - } - $config_params .= join ' -Config ', @CONFIGURATION_OPTIONS; - - foreach my $i (@RUN_LIST) { - - local $directory = '.'; - local $program = $i; - - if ($i =~ /(.*)\/([^\/]*)$/) { - $directory = $1; - $program = $2; - } - - $date = localtime; - print LOG "\n\n$CMD: ================ $date ================\n"; - print LOG "auto_run_tests: $i\n"; - local $subdir = - $CHECKOUT .'/'. $MODULE .'/build/'. $BUILD .'/'. $directory; - chdir ($subdir) - || mydie "cannot chdir to $subdir"; - - $run_error = 0; - my $prefix = ''; - if ($sandbox ne "") { - $prefix = $sandbox.' '.$sandbox_timeout.' '; - } - if (open(RUN, $prefix."perl $program $config_params 2>&1 |") == 0) { - push @failures, "cannot run $program in $directory"; - next; - } - while () { - print LOG $_; - if (m/Error/ - || m/ERROR/ - || m/FAILED/ - || m/EXCEPTION/ - || m/pure virtual /i) { - if ($STATUS eq "OK") { - $STATUS = "RUNTIME ERROR"; - } - $run_error = 1; - } - } - if (close(RUN) == 0) { - if ($STATUS eq "OK") { - $STATUS = "RUNTIME ERROR"; - } - print LOG "ERROR, non-zero status returned by test script\n"; - push @failures, "Error when closing pipe for $program in $directory"; - next; - } - $date = localtime; - print LOG "$CMD: $program finished ", $date, "\n"; - - if ($run_error != 0) { - push @failures, - "errors detected while running $program in $directory"; - } - } -} - -if ($post_realclean) { - foreach $i (reverse(@BUILD_LIST)) { - $date = localtime; - print LOG "$CMD: =============================================\n"; - print LOG "$CMD: make realclean in $i started at ", $date, "\n"; - open(MAKE, "make -k $MAKEFLAGS -C $i realclean 2>&1 |"); - - while () { - # Ignore errors.... - } - if (close(MAKE) == 0) { - push @failures, "errors while cleaning $i"; - } - $date = localtime; - print LOG "$CMD: make realclean in $i finished at ", $date, "\n"; - print LOG "$CMD: =============================================\n\n"; - } -} - -print LOG "#################### Config\n"; - -chdir($CHECKOUT . "/" . $MODULE . "/build/" . $BUILD) - || mydie "Cannot chdir to $CHECKOUT/$MODULE/build/$BUILD"; - -open (CONFIG, "perl bin/nightlybuilds/print_config.pl $CHECKOUT/$MODULE/build/$BUILD 2>&1 |") - || mydie "Cannot run print_config.pl script"; -while () { - print LOG $_; -} -close (CONFIG) - || mydie "Error while running print_config.pl script"; - -report_errors @failures; - -print LOG "#################### End\n"; -if (open(STATUS, '>'.$DEST_DIR.'/status.txt')) { - print STATUS "SCOREBOARD_STATUS: Inactive\n"; - close STATUS; -} - -close(LOG) - || mydie "cannot close LOGFILE"; - -print HIST "$STATUS\n"; -close(HIST) - || mydie "cannot close history file"; - -unlink $disable_file - || die "cannot unlink disable file"; - -if ($report_success && $STATUS eq "OK") { - report_errors "Congratulations: No errors or warnings detected\n"; -} - -exit 0; diff --git a/dep/ACE_wrappers/bin/auto_compile_wrapper b/dep/ACE_wrappers/bin/auto_compile_wrapper deleted file mode 100755 index 2564ab08f..000000000 --- a/dep/ACE_wrappers/bin/auto_compile_wrapper +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/sh -# -# $Id: auto_compile_wrapper 80826 2008-03-04 14:51:23Z wotte $ -# -# Usually cron setups a really miserable enviroment, this script -# serves two purposes: -# 1. Setup a good enviroment for auto_compile. -# 2. Invoke auto_compile with the proper arguments for each site. -# -# The idea is to modify this script on a per-site basis and leave -# auto_compile unmodified. -# - -# Setup a proper path, remember that cvs, GNU make, perl5 and your -# compiler must be there. -PATH=.:$HOME/bin:/pkg/gnu/bin:/opt/SUNWspro/bin:$PATH -export PATH - -# Obvious enough. -CVSROOT=/project/cvs-repository -export CVSROOT - -# It could be a good idea to set CVSREAD this will make the staging -# area read-only, but our staging areas are public. -# CVSREAD=Y -# export CVSREAD - -# Here we define the cvs working copy for our staging area. -CHECKOUT=$HOME/head - -# In some sites the building directory differs from the cvs working -# copy. The directory is updated running -# $ACE_ROOT/bin/create_ace_build; but it must be setup manually the -# first time. -# TODO: Arrange for automatic creation of platform_macros.GNU & -# config.h. -BUILD=SUNCC - -# Here is where we store auto_compile output and keep a history of -# each run. -LOGDIR=$HOME/head/ACE_wrappers/build/$BUILD/auto_compile - -# Who do we send email when compilation (or anything else) fails. -ADMIN=PUT_YOUR_ADDRESS_HERE ; echo "You must edit this file" ; exit 0 - -# You must select a mail tool that can understand the -s option such -# as: -# -# /usr/bin/mailx Solaris -# /usr/bin/mailx HP-UX -# /usr/sbin/mailx IRIX -# /bin/mail Linux - -exec /pkg/gnu/bin/perl $CHECKOUT/ACE_wrappers/bin/auto_compile \ - $CHECKOUT $BUILD $LOGDIR $ADMIN /usr/bin/mailx - diff --git a/dep/ACE_wrappers/bin/auto_ptr.perl b/dep/ACE_wrappers/bin/auto_ptr.perl deleted file mode 100755 index 5fee602aa..000000000 --- a/dep/ACE_wrappers/bin/auto_ptr.perl +++ /dev/null @@ -1,16 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -pi -S $0 ${1+"$@"}' - & eval 'exec perl -pi -S $0 $argv:q' - if 0; - -# $Id: auto_ptr.perl 80826 2008-03-04 14:51:23Z wotte $ -# -# You may want to run the "find" command with this script, which maybe -# something like this: -# -# find . -type f \( -name "*.i" -o -name "*.h" -o -name "*.C" -o -name "*.cc" -o -name "*.c" -o -name "*.cpp" -o -name "*.hpp" -o -name "*.ipp" \) -print | xargs $ACE_ROOT/bin/auto_ptr.perl - -# The first three lines above let this script run without specifying the -# full path to perl, as long as it is in the user's PATH. -# Taken from perlrun man page. - -s/__TEXT/ACE_TEXT/g; diff --git a/dep/ACE_wrappers/bin/auto_run_tests.pl b/dep/ACE_wrappers/bin/auto_run_tests.pl deleted file mode 100755 index 04c7757ec..000000000 --- a/dep/ACE_wrappers/bin/auto_run_tests.pl +++ /dev/null @@ -1,244 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id: auto_run_tests.pl 91483 2010-08-26 11:54:20Z johnnyw $ -# -*- perl -*- -# This file is for running the run_test.pl scripts listed in -# auto_run_tests.lst. - -use lib "$ENV{ACE_ROOT}/bin"; -if (defined $ENV{srcdir}) { - use lib "$ENV{srcdir}/bin"; -} -use PerlACE::Run_Test; - -use English; -use Getopt::Std; -use Cwd; - -use Env qw(ACE_ROOT PATH TAO_ROOT CIAO_ROOT DANCE_ROOT); - -if (!defined $TAO_ROOT && -d "$ACE_ROOT/TAO") { - $TAO_ROOT = "$ACE_ROOT/TAO"; -} -if (!defined $CIAO_ROOT && -d "$ACE_ROOT/TAO/CIAO") { - $CIAO_ROOT = "$ACE_ROOT/TAO/CIAO"; -} -if (!defined $DANCE_ROOT && -d "$ACE_ROOT/TAO/CIAO/DAnCE") { - $CIAO_ROOT = "$ACE_ROOT/TAO/CIAO/DAnCE"; -} - -################################################################################ - -if (!getopts ('adl:os:r:tC') || $opt_h) { - print "auto_run_tests.pl [-a] [-h] [-s sandbox] [-o] [-t]\n"; - print "\n"; - print "Runs the tests listed in auto_run_tests.lst\n"; - print "\n"; - print "Options:\n"; - print " -a ACE tests only\n"; - print " -c config Run the tests for the configuration\n"; - print " -h display this help\n"; - print " -s sandbox Runs each program using a sandbox program\n"; - print " -o ORB test only\n"; - print " -t TAO tests (other than ORB tests) only\n"; - print " -C CIAO and DAnCE tests only\n"; - print " -Config cfg Run the tests for the configuration\n"; - print " -l list Load the list and run only those tests\n"; - print " -r dir Root directory for running the tests\n"; - print "\n"; - $ace_config_list = new PerlACE::ConfigList; - $ace_config_list->load ($ACE_ROOT."/bin/ace_tests.lst"); - print "ACE Test Configs: " . $ace_config_list->list_configs () . "\n"; - if (defined $TAO_ROOT) { - $orb_config_list = new PerlACE::ConfigList; - $orb_config_list->load ($TAO_ROOT."/bin/tao_orb_tests.lst"); - print "ORB Test Configs: " . $orb_config_list->list_configs () . "\n"; - $tao_config_list = new PerlACE::ConfigList; - $tao_config_list->load ($TAO_ROOT."/bin/tao_other_tests.lst"); - print "TAO Test Configs: " . $tao_config_list->list_configs () . "\n"; - } - if (defined $CIAO_ROOT) { - $ciao_config_list = new PerlACE::ConfigList; - $ciao_config_list->load ($CIAO_ROOT."/bin/ciao_tests.lst"); - print "CIAO Test Configs: " . $ciao_config_list->list_configs () - . "\n"; - } - if (defined $DANCE_ROOT) { - $dance_config_list = new PerlACE::ConfigList; - $dance_config_list->load ($DANCE_ROOT."/bin/dance_tests.lst"); - print "DAnCE Test Configs: " . $dance_config_list->list_configs () - . "\n"; - } - exit (1); -} - -my @file_list; - -if ($opt_a) { -push (@file_list, "bin/ace_tests.lst"); -} - -if ($opt_o) { -push (@file_list, "$TAO_ROOT/bin/tao_orb_tests.lst"); -} - -if ($opt_t) { -push (@file_list, "$TAO_ROOT/bin/tao_other_tests.lst"); -} - -if ($opt_C) { -push (@file_list, "$CIAO_ROOT/bin/ciao_tests.lst"); -push (@file_list, "$DANCE_ROOT/bin/dance_tests.lst"); -} - -if ($opt_r) { - $startdir = $opt_r; -} -else { - $startdir = "$ACE_ROOT"; -} - -if ($opt_l) { -push (@file_list, "$opt_l"); -} - -if (scalar(@file_list) == 0) { - push (@file_list, "bin/ace_tests.lst"); - if (-d $TAO_ROOT) { - push (@file_list, "$TAO_ROOT/bin/tao_orb_tests.lst"); - push (@file_list, "$TAO_ROOT/bin/tao_other_tests.lst"); - } - if (-d $CIAO_ROOT) { - push (@file_list, "$CIAO_ROOT/bin/ciao_tests.lst"); - } - if (-d $DANCE_ROOT) { - push (@file_list, "$DANCE_ROOT/bin/dance_tests.lst"); - } -} - -foreach my $test_lst (@file_list) { - - my $config_list = new PerlACE::ConfigList; - if (-r $ACE_ROOT.$test_lst) { - $config_list->load ($ACE_ROOT.$test_lst); - } - elsif (-r "$startdir/$test_lst") { - $config_list->load ("$startdir/$test_lst"); - } - else { - $config_list->load ($test_lst); - } - - # Insures that we search for stuff in the current directory. - $PATH .= $Config::Config{path_sep} . '.'; - - foreach $test ($config_list->valid_entries ()) { - my $directory = "."; - my $program = "."; - - ## Remove intermediate '.' directories to allow the - ## scoreboard matrix to read things correctly - $test =~ s!/./!/!g; - - if ($test =~ /(.*)\/([^\/]*)$/) { - $directory = $1; - $program = $2; - } - else { - $program = $test; - } - - # this is to ensure that we dont print out the time for tests/run_test.pl - # that test prints out the times for each of the ace tests individually - my $is_ace_test = ($directory eq "tests"); - - if (! $is_ace_test) { - print "auto_run_tests: $test\n"; - } - - my($orig_dir) = $directory; - if ($directory =~ m:^TAO/(.*):) { - $directory = $1; - } - if ($directory =~ m:^CIAO/(.*):) { - $directory = $1; - } - if ($directory =~ m:^DAnCE/(.*):) { - $directory = $1; - } - - $status = undef; - foreach my $path ($ACE_ROOT."/$directory", - $TAO_ROOT."/$directory", - $CIAO_ROOT."/$directory", - $DANCE_ROOT."/$directory", - $startdir."/$directory", - $startdir."/$orig_dir") { - if (-d $path && ($status = chdir ($path))) { - last; - } - } - - if (!$status) { - if ($opt_r) { - print STDERR "ERROR: Cannot chdir to $startdir/$directory\n"; - } else { - print STDERR "ERROR: Cannot chdir to $directory\n"; - } - next; - } - - if ($program =~ /(.*?) (.*)/) { - if (! -e $1) { - print STDERR "ERROR: $directory.$1 does not exist\n"; - next; - } - } - else { - if (! -e $program) { - print STDERR "ERROR: $directory.$program does not exist\n"; - next; - } - } - - ### Generate the -ExeSubDir and -Config options - my $inherited_options = " -ExeSubDir $PerlACE::Process::ExeSubDir "; - - foreach my $config ($config_list->my_config_list ()) { - $inherited_options .= " -Config $config "; - } - - $cmd = ''; - if ($opt_s) { - #The Win32 sandbox takes the program and options in quotes, but the - #posix sandbox takes the program and options as separate args. - my($q) = ($^O eq 'MSWin32') ? '"' : ''; - $cmd = "$opt_s ${q}perl $program $inherited_options${q}"; - } - else { - $cmd = "perl $program$inherited_options"; - } - - my $result = 0; - - if (defined $opt_d) { - print "Running: $cmd\n"; - } - else { - $start_time = time(); - $result = system ($cmd); - $time = time() - $start_time; - - # see note about tests/run_test.pl printing reports for ace tests individually - if (! $is_ace_test) { - if ($result != 0) { - print "Error: $test returned with status $result\n"; - } - - print "\nauto_run_tests_finished: $test Time:$time"."s Result:$result\n"; - } - } - } -} diff --git a/dep/ACE_wrappers/bin/autoconf_compile b/dep/ACE_wrappers/bin/autoconf_compile deleted file mode 100755 index 7f54df431..000000000 --- a/dep/ACE_wrappers/bin/autoconf_compile +++ /dev/null @@ -1,517 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# -*- perl -*- -# $Id: autoconf_compile 80826 2008-03-04 14:51:23Z wotte $ -# -# This script checkouts ACE from CVS, configures ACE, and compiles -# `ace', `tests' and finally runs `tests/run_tests.sh'. -# -# If it detects any problem it sends e-mail. -# -# DO NOT invoke this script from your crontab, use -# autoconf_compile_wrapper for that. -# -# This script requires Perl 5. -# -# TODO: Modify the script or split it in such a way that the main copy -# can be obtained either using cvs or downloading the latest beta -# from the WWW. -# - -# The first three lines above let this script run without specifying the -# full path to perl, as long as it is in the user's PATH. -# Taken from perlrun man page. - -use File::Basename; -use FileHandle; -require POSIX; - -$directory_mode=0755; - -# This is the module we will checkout, someday someone could define a -# smaller module. -$MODULE='ACE_wrappers'; - -# These are the sub-directories (in the module) we really compile. - -# Find out the command name. -$CMD = basename($0); - -$single_threaded = 0; -$minimum_corba = 0; -$ami = 0; -$dont_update = 0; -$dont_run = 0; -$pre_clean = 0; -$post_clean = 0; -$report_success = 0; -$debug = 0; -@BUILD_LIST= (); - -@ARGS = (); -while ($#ARGV >= 0) { - if (!($ARGV[0] =~ m/-/)) { - push @ARGS, $ARGV[0]; - shift; - } elsif ($ARGV[0] eq "-single_threaded") { - $single_threaded = 1; - shift; - } elsif ($ARGV[0] eq "-minimum_corba") { - $minimum_corba = 1; - shift; - } elsif ($ARGV[0] eq "-ami") { - $ami =1; - shift; - } elsif ($ARGV[0] eq "-build_list") { - shift; - @BUILD_LIST = split (/,/, $ARGV[0]); - shift; - } elsif ($ARGV[0] eq "-dont_update") { - $dont_update = 1; - shift; - } elsif ($ARGV[0] eq "-dont_run") { - $dont_run = 1; - shift; - } elsif ($ARGV[0] eq "-pre_clean") { - $pre_clean = 1; - shift; - } elsif ($ARGV[0] eq "-post_clean") { - $post_clean = 1; - shift; - } elsif ($ARGV[0] eq "-report_success") { - $report_success = 1; - shift; - } elsif ($ARGV[0] eq "-debug") { - $debug = 1; - shift; - } -} - -# Extract configuration information from command line. - # TODO: Some validation and checking should be done here. -$CHECKOUT = $ARGS[0]; -$BUILD = $ARGS[1]; -$LOGDIR = $ARGS[2]; -$ADMIN = $ARGS[3]; -$MAIL = "mail"; -if ($#ARGS >= 4) { - $MAIL = $ARGS[4]; -} - -# We obtain our revision to report errors. -$REVISION='$Revision: 80826 $ '; - -# When an error is found we try to die gracefully and send some email -# to ADMIN. - -$disable_file = $LOGDIR . '/.disable'; -$histfile = $LOGDIR . '/history'; -$LOGBASE = POSIX::strftime("%b%d_%Y.txt", localtime); -$LOGFILE = $LOGDIR . '/' . $LOGBASE; -$HOST = `hostname`; -chop $HOST; -$LOG_NAME = $HOST . "_" . $BUILD . "_" . $LOGBASE; -$STATUS = "OK"; - -if ($debug) { - print "CHECKOUT = $CHECKOUT\n"; - print "BUILD = $BUILD\n"; - print "LOGDIR = $LOGDIR\n"; - print "ADMIN = $ADMIN\n"; - print "MAIL = $MAIL\n"; -} - -push @INC, $CHECKOUT . '/' . $MODULE . '/bin'; -#require run_all_list; -@RUN_LIST = ('tests'); # Temporary hack - - -if ($#BUILD_LIST == -1) { - @BUILD_LIST= - ('ace'); -} -if ($debug) { - - @BUILD_LIST = ('ace'); - @RUN_LIST = ('tests'); -# @SINGLE_THREADED_LIST = ('TAO/tests/OctetSeq'); -# @MINIMUM_CORBA_LIST = ('TAO/tests/OctetSeq'); - $ADMIN = $ENV{'LOGNAME'}; - -} - -sub mydie { - unlink $disable_file; - die $_ . "\n"; -} - -sub report_errors { - # First clear the lock, so the next execution works... - unlink $disable_file; # Ignore errors! - - # Now send a summary of the errors to the ADMIN account... - local $to = $ADMIN; - - open (MAIL, "|".$MAIL.' -s "[AUTO_COMPILE] '.$BUILD.'" '.$to) - || mydie "Cannot open mail pipe for: $_\n"; - - print MAIL 'The following message is brought to you by: ', "\n"; - print MAIL $CMD, ' [', $REVISION, "] for $BUILD on $CHECKOUT\n\n"; - - local $m; - foreach $m (@_) { - print MAIL $m, "\n"; - } - - print MAIL "\nPlease check the following log for more info:\n\n"; - print MAIL 'http://www.cs.wustl.edu/~bugzilla/auto_compile_logs/', - $LOG_NAME, "\n\n"; - - close (MAIL); # Ignore errors.... - - # Now send the complete log to bugzilla... - local $bugs = 'bugzilla'.'@cs.wustl.edu'; - open (MAIL, "|".$MAIL.' -s AUTO_COMPILE_LOG='.$LOG_NAME.' '.$bugs) - || mydie "Cannot open mail pipe for: $LOG_NAME\n"; - - print MAIL 'This is the log for: ', "\n"; - print MAIL $CMD, ' [', $REVISION, "] for $BUILD on $CHECKOUT\n"; - - print MAIL "\n================================================================\n"; - - if (open (THELOG, "$LOGFILE")) - { - while () { - print MAIL $_; - } - close (THELOG); - } - close (MAIL); # Ignore errors.... -} - -### MAIN FUNCTION - -if (-f $disable_file) { - print 'The following message is brought to you by: ', "\n"; - print $CMD, ' [', $REVISION, "] for $BUILD on $CHECKOUT\n"; - - print "DISABLED\n"; - - exit 0; -} - -open (DISABLE, '>' . $disable_file) - || die "cannot open disable file"; -print DISABLE "autoconf_compile <$date> is running\n"; -close (DISABLE) - || die "cannot close disable file"; - -open(HIST, '>>' . $histfile) - # Do not use 'mydie' to report the problem, it tries to remove the - # disable file - || mydie "cannot open history file \"$histfile\"\n"; - -$date = localtime; - -print HIST $CMD, ': running at ', $date, ' '; - -open(LOG, '>' . $LOGFILE) - || mydie "cannot open log file"; - -LOG->autoflush (); - -# The following lines are useful when debugging the script or wrapper. -# print LOG $CHECKOUT, " ", $BUILD, " ", $LOGDIR, " ", $ADMIN, "\n"; -#while (($key,$value) = each %ENV) { -# print LOG $key, " = ", $value, "\n"; -#} - -chdir($CHECKOUT) - || mydie "Cannot chdir to $CHECKOUT"; - -if ($dont_update == 0) { - $date = localtime; - print LOG "$CMD: starting checkout at ", $date, "\n"; - open(CVS, "cvs -q checkout -P $MODULE 2>&1 |") - || mydie "cannot start checkout of $MODULE"; -# open(CVS, "cvsup -g -L 2 -P m ace-supfile 2>&1 |") -# || mydie "cannot start checkout"; - - $conflicts = 0; - while () { - if (m/^C /) { - $conflicts = 1; - } - print LOG $_; - } - close(CVS) - || mydie "error while checking out $MODULE"; - $date = localtime; - print LOG "$CMD: checkout finished at ", $date, "\n"; - - if ($conflicts != 0) { - mydie "conflicts on checkout"; - } -} - -chdir($MODULE) - || mydie "cannot chdir to $MODULE"; - -open (CHLOG, "ChangeLog") - || mydie "cannot open Changelog"; -$_ = ; -chop; -print LOG "ACE ChangeLogTag:", $_, "\n"; -close (CHLOG); - -open (CHLOG, "TAO/ChangeLog") - || mydie "cannot open TAO/Changelog"; -$_ = ; -chop; -print LOG "TAO ChangeLogTag:", $_, "\n"; -close (CHLOG); - -# Bootstrap the workspace -print LOG "$CMD: ==================================================\n\n"; -print LOG "$CMD: bootstrapping the workspace\n"; -open(BOOTSTRAP, "cd $CHECKOUT/ACE_wrappers && " - . "sh bin/bootstrap workspace --enable-deps 2>&1 |") - || mydie "cannot bootstrap workspace for $BUILD"; -while() { - print LOG $_; -} -close(BOOTSTRAP) - || mydie "error while bootstrapping the workspace"; -print LOG "$CMD: ==================================================\n\n"; - -# Begin the workspace configuration -$date = localtime; -print LOG "$CMD: starting configuration at ", $date, "\n"; - -# Check that we're in an ACE "top level" directory. -# We can actually build outside of the top level ACE directory, but -# let's do it this way for now. -(-d 'ace' && -d 'm4') || - die "$0: must be in top level ACE directory!\n"; - -# Create build directories, if needed. --d 'build' || mkdir ('build', $directory_mode); --d "$build" || mkdir ('build/' . "$BUILD", $directory_mode); - -# Now enter the build directory. -chdir('build/' . $BUILD) - || mydie "cannot chdir to $BUILD"; - -# Remove the configuration cache file to make sure a fresh -# configuration is created. -unlink "config.cache"; - -# Run the configuration script. -open(CONFIGURE, "sh $CHECKOUT/ACE_wrappers/configure 2>&1 |") - || mydie "cannot configure for $BUILD"; -while() { - print LOG $_; -} -close(CONFIGURE) - || mydie "error while configuring ACE"; -$date = localtime; -print LOG "$CMD: configure finished at ", $date, "\n"; - - -@failures = (); - -if ($pre_clean) { - foreach $i (@BUILD_LIST) { - $date = localtime; - print LOG "$CMD: =============================================\n"; - print LOG "$CMD: make clean in $i started at ", $date, "\n"; - open(MAKE, "make -k $MAKEFLAGS -C $i clean 2>&1 |") - || mydie "cannot start make in $i"; - - while () { - # Ignore errors.... - } - if (close(MAKE) == 0) { - push @failures, "errors while cleaning $i"; - } - $date = localtime; - print LOG "$CMD: make clean in $i finished at ", $date, "\n"; - print LOG "$CMD: ==================================================\n\n"; - } -} - -$MAKEFLAGS .= ""; -foreach $i (@BUILD_LIST) { - $date = localtime; - print LOG "$CMD: =============================================\n"; - print LOG "$CMD: make for $i started at ", $date, "\n"; - open(MAKE, "make -k $MAKEFLAGS -C $i 2>&1 |") - || mydie "cannot start make for $i"; - - local $current_dir = $i; - local $last_error = ""; - while () { - chop; - if ($^O eq 'hpux' - && m/^Warning:[ \t]+[0-9]+ future errors were detected/) { - next; - } - print LOG $_, "\n"; - - if (m/^make(\[[0-9]+\])?: Entering directory /) { - s/^make(\[[0-9]+\])?: Entering directory //; - $current_dir = $_; - } - if (m/error:/i || m/error /i - || m/^make(\[[0-9]+\])?: \*\*\*/) { - if ($last_error ne $current_dir - || STATUS eq "COMPILATION WARNING") { - $STATUS = "COMPILATION ERROR"; - push @failures, "Error while compiling in $current_dir \n"; - $last_error = $current_dir; - } - } - if (m/warning:/i || m/warning /i) { - if ($last_error ne $current_dir) { - if ($STATUS eq "OK") { - $STATUS = "COMPILATION WARNING"; - } - push @failures, "Warning while compiling in $current_dir\n"; - $last_error = $current_dir; - } - } - } - if (close(MAKE) == 0) { - push @failures, "errors while running make in $i"; - } - $date = localtime; - print LOG "$CMD: make for $i finished at ", $date, "\n"; - print LOG "$CMD: =============================================\n\n"; -} - -if ($dont_run == 0) { - @LIST = @RUN_LIST; - if ($single_threaded) { - @LIST = @SINGLE_THREADED_LIST; - } elsif ($minimum_corba) { - @LIST = @MINIMUM_CORBA_LIST; - } elsif ($ami) { - @LIST = @AMI_CORBA_LIST; - } - - foreach $i (@LIST) { - - $date = localtime; - print LOG "$CMD: ==================================================\n"; - print LOG "$CMD: running checks in $i at ", $date, "\n"; - local $subdir = - $CHECKOUT .'/'. $MODULE .'/build/'. $BUILD .'/'. $i; - chdir ($subdir) - || mydie "cannot chdir to $subdir"; - - $run_error = 0; - open(CHECK, "make -k $MAKEFLAGS -C $subdir check 2>&1 |"); - - local $current_dir = $i; - local $last_error = ""; - while () { - chop; - if ($^O eq 'hpux' - && m/^Warning:[ \t]+[0-9]+ future errors were detected/) { - next; - } - print LOG $_, "\n"; - - if (m/^make(\[[0-9]+\])?: Entering directory /) { - s/^make(\[[0-9]+\])?: Entering directory //; - $current_dir = $_; - } - if (m/error:/i || m/error /i - || m/^make(\[[0-9]+\])?: \*\*\*/) { - if ($last_error ne $current_dir - || STATUS eq "COMPILATION WARNING") { - $STATUS = "COMPILATION ERROR"; - push @failures, "Error while compiling in $current_dir \n"; - $last_error = $current_dir; - } - } - if (m/warning:/i || m/warning /i) { - if ($last_error ne $current_dir) { - if ($STATUS eq "OK") { - $STATUS = "COMPILATION WARNING"; - } - push @failures, "Warning while compiling in $current_dir\n"; - $last_error = $current_dir; - } - } - if (m/Error/ - || m/ERROR/ - || m/FAILED/ - || m/failed/ - || m/FAIL/ - || m/EXCEPTION/ - || m/pure virtual /i) { - if ($STATUS eq "OK") { - $STATUS = "RUNTIME ERROR"; - } - $run_error = 1; - } - } - - if (close(CHECK) == 0) { - if ($STATUS eq "OK") { - $STATUS = "RUNTIME ERROR"; - } - push @failures, "Error when closing pipe in $i"; - next; - } - $date = localtime; - print LOG "$CMD: check finished ", $date, "\n"; - - if ($run_error != 0) { - push @failures, - "errors detected while making check in $i"; - } - } -} - -if ($post_clean) { - foreach $i (@BUILD_LIST) { - $date = localtime; - print LOG "$CMD: ==================================================\n"; - print LOG "$CMD: make clean in $i started at ", $date, "\n"; - open(MAKE, "make -k $MAKEFLAGS -C $i clean 2>&1 |"); - - while () { - # Ignore errors.... - } - if (close(MAKE) == 0) { - push @failures, "errors while cleaning $i"; - } - $date = localtime; - print LOG "$CMD: make clean in $i finished at ", $date, "\n"; - print LOG "$CMD: ==================================================\n\n"; - } -} - -if ($#failures >= 0) { - report_errors @failures; -} - -close(LOG) - || mydie "cannot close LOGFILE"; - -print HIST "$STATUS\n"; -close(HIST) - || mydie "cannot close history file"; - -unlink $disable_file - || die "cannot unlink disable file"; - -if ($report_success && $STATUS eq "OK") { - report_errors "Congratulations: No errors or warnings detected\n"; -} - -exit 0; diff --git a/dep/ACE_wrappers/bin/autoconf_compile_wrapper b/dep/ACE_wrappers/bin/autoconf_compile_wrapper deleted file mode 100755 index 9c4e862ee..000000000 --- a/dep/ACE_wrappers/bin/autoconf_compile_wrapper +++ /dev/null @@ -1,56 +0,0 @@ -#! /bin/sh -# -# $Id: autoconf_compile_wrapper 80826 2008-03-04 14:51:23Z wotte $ -# -# Usually cron setups a really miserable enviroment, this script -# serves two purposes: -# 1. Setup a good enviroment for auto_compile. -# 2. Invoke auto_compile with the proper arguments for each site. -# -# The idea is to modify this script on a per-site basis and leave -# auto_compile unmodified. -# - -# Setup a proper path, remember that cvs, make, perl5 and your -# compiler must be there. -PATH=.:$HOME/bin:/pkg/gnu/bin:/opt/SUNWspro/bin:$PATH -export PATH - -# Obvious enough. -CVSROOT=/project/cvs-repository -export CVSROOT - -# It could be a good idea to set CVSREAD this will make the staging -# area read-only, but our staging areas are public. -# CVSREAD=Y -# export CVSREAD - -# Here we define the cvs working copy for our staging area. -CHECKOUT=$HOME/head - -# In some sites the building directory differs from the cvs working -# copy. The directory is updated running -# $ACE_ROOT/bin/create_ace_build; but it must be setup manually the -# first time. -# TODO: Arrange for automatic creation of platform_macros.GNU & -# config.h. -BUILD=SUNCC - -# Here is where we store autoconf_compile output and keep a history of -# each run. -LOGDIR=$HOME/head/ACE_wrappers/build/$BUILD/autoconf_compile - -# Who do we send email when compilation (or anything else) fails. -ADMIN=PUT_YOUR_ADDRESS_HERE ; echo "You must edit this file" ; exit 0 - -# You must select a mail tool that can understand the -s option such -# as: -# -# /usr/bin/mailx Solaris -# /usr/bin/mailx HP-UX -# /usr/sbin/mailx IRIX -# /bin/mail Linux - -exec /pkg/gnu/bin/perl $CHECKOUT/ACE_wrappers/bin/autoconf_compile \ - $CHECKOUT $BUILD $LOGDIR $ADMIN /usr/bin/mailx - diff --git a/dep/ACE_wrappers/bin/bin.mpc b/dep/ACE_wrappers/bin/bin.mpc deleted file mode 100644 index 18ae12f9a..000000000 --- a/dep/ACE_wrappers/bin/bin.mpc +++ /dev/null @@ -1,13 +0,0 @@ -// -*- MPC -*- -// $Id: bin.mpc 80826 2008-03-04 14:51:23Z wotte $ - -project(bin) : aceexe, script { - exename = envinfo - Source_Files { - envinfo.cpp - } - Script_Files { - auto_run_tests.pl - ace_tests.lst - } -} diff --git a/dep/ACE_wrappers/bin/bin_vc10.sln b/dep/ACE_wrappers/bin/bin_vc10.sln deleted file mode 100644 index a6d88593b..000000000 --- a/dep/ACE_wrappers/bin/bin_vc10.sln +++ /dev/null @@ -1,43 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -# $Id: VC10WorkspaceCreator.pm 1890 2010-08-24 19:48:23Z mitza $ -# -# This file was generated by MPC. Any changes made directly to -# this file will be lost the next time it is generated. -# -# MPC Command: -# /tmp/DOC_ROOT/stage-1367/ACE_wrappers/bin/mwc.pl -type vc10 -recurse -hierarchy -relative ACE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers -relative TAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO -relative CIAO_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/CIAO -relative DANCE_ROOT=/tmp/DOC_ROOT/stage-1367/ACE_wrappers/TAO/DAnCE -name_modifier "*_vc10" -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PerlACE", "PerlACE\PerlACE_vc10.vcxproj", "{47B934A1-FECA-1BAD-A757-FC47A624E189}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bin", "bin_vc10.vcxproj", "{5F0C56EF-FECA-1BAD-64FC-8A63000064FE}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Debug|Win32.ActiveCfg = Debug|Win32 - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Debug|Win32.Build.0 = Debug|Win32 - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Debug|x64.ActiveCfg = Debug|x64 - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Debug|x64.Build.0 = Debug|x64 - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Release|Win32.ActiveCfg = Release|Win32 - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Release|Win32.Build.0 = Release|Win32 - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Release|x64.ActiveCfg = Release|x64 - {47B934A1-FECA-1BAD-A757-FC47A624E189}.Release|x64.Build.0 = Release|x64 - {5F0C56EF-FECA-1BAD-64FC-8A63000064FE}.Debug|Win32.ActiveCfg = Debug|Win32 - {5F0C56EF-FECA-1BAD-64FC-8A63000064FE}.Debug|Win32.Build.0 = Debug|Win32 - {5F0C56EF-FECA-1BAD-64FC-8A63000064FE}.Debug|x64.ActiveCfg = Debug|x64 - {5F0C56EF-FECA-1BAD-64FC-8A63000064FE}.Debug|x64.Build.0 = Debug|x64 - {5F0C56EF-FECA-1BAD-64FC-8A63000064FE}.Release|Win32.ActiveCfg = Release|Win32 - {5F0C56EF-FECA-1BAD-64FC-8A63000064FE}.Release|Win32.Build.0 = Release|Win32 - {5F0C56EF-FECA-1BAD-64FC-8A63000064FE}.Release|x64.ActiveCfg = Release|x64 - {5F0C56EF-FECA-1BAD-64FC-8A63000064FE}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/dep/ACE_wrappers/bin/bin_vc10.vcxproj b/dep/ACE_wrappers/bin/bin_vc10.vcxproj deleted file mode 100644 index d6fb87318..000000000 --- a/dep/ACE_wrappers/bin/bin_vc10.vcxproj +++ /dev/null @@ -1,298 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - - - bin - {5F0C56EF-FECA-1BAD-64FC-8A63000064FE} - bin - Win32Proj - - - - Application - true - NotSet - - - Application - false - NotSet - true - - - Application - true - NotSet - - - Application - false - NotSet - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - .\ - Debug\bin_vc10\I386\ - true - envinfo - AllRules.ruleset - - - Release\ - Release\bin_vc10\I386\ - false - envinfo - AllRules.ruleset - - - .\ - Debug\bin_vc10\AMD64\ - true - envinfo - AllRules.ruleset - - - Release\ - Release\bin_vc10\AMD64\ - false - envinfo - AllRules.ruleset - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - Win32 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - Disabled - ..;%(AdditionalIncludeDirectories) - _DEBUG;WIN32;_CONSOLE;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;MPC_LIB_MODIFIER="d";%(PreprocessorDefinitions) - false - MultiThreadedDebugDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - _DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) - 1033 - ..;%(AdditionalIncludeDirectories) - - - Console - true - ACEd.lib;%(AdditionalDependencies) - $(OutDir)envinfo.exe - .;..\lib;%(AdditionalLibraryDirectories) - - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - Win32 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - MaxSpeed - true - ..;%(AdditionalIncludeDirectories) - NDEBUG;WIN32;_CONSOLE;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) - MultiThreadedDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - NDEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) - 1033 - ..;%(AdditionalIncludeDirectories) - - - Console - true - ACE.lib;%(AdditionalDependencies) - $(OutDir)envinfo.exe - .;..\lib;%(AdditionalLibraryDirectories) - true - true - - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - x64 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - Disabled - ..;%(AdditionalIncludeDirectories) - _DEBUG;WIN32;_CONSOLE;_CRT_NONSTDC_NO_WARNINGS;_AMD64_;_WIN64;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;MPC_LIB_MODIFIER="d";%(PreprocessorDefinitions) - false - MultiThreadedDebugDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - _DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_WIN64;%(PreprocessorDefinitions) - 1033 - ..;%(AdditionalIncludeDirectories) - - - Console - true - ACEd.lib;%(AdditionalDependencies) - $(OutDir)envinfo.exe - .;..\lib;%(AdditionalLibraryDirectories) - - - /machine:AMD64 %(AdditionalOptions) - - - - - - - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - x64 - %(Filename).tlb - %(Filename).h - %(Filename)_i.c - %(Filename)_p.c - - - MaxSpeed - true - ..;%(AdditionalIncludeDirectories) - NDEBUG;WIN32;_CONSOLE;_CRT_NONSTDC_NO_WARNINGS;_AMD64_;_WIN64;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) - MultiThreadedDLL - true - Level3 - 4355;%(DisableSpecificWarnings) - - - NDEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_WIN64;%(PreprocessorDefinitions) - 1033 - ..;%(AdditionalIncludeDirectories) - - - Console - true - ACE.lib;%(AdditionalDependencies) - $(OutDir)envinfo.exe - .;..\lib;%(AdditionalLibraryDirectories) - true - true - - - /machine:AMD64 %(AdditionalOptions) - - - - - - - - - - - - - true - true - true - true - - - - - true - true - true - true - - - true - true - true - true - - - - - - diff --git a/dep/ACE_wrappers/bin/bin_vc10.vcxproj.filters b/dep/ACE_wrappers/bin/bin_vc10.vcxproj.filters deleted file mode 100644 index a16f69489..000000000 --- a/dep/ACE_wrappers/bin/bin_vc10.vcxproj.filters +++ /dev/null @@ -1,35 +0,0 @@ - - - - - {B1F27843-FECA-1BAD-64FC-8A63000064FE} - cpp;cxx;cc;c;C - - - {A1909F1C-FECA-1BAD-64FC-8A63000064FE} - mpc;mpb;mwc - - - {7197AE6D-FECA-1BAD-64FC-8A63000064FE} - sh - - - - - Source Files - - - - - Build Files - - - - - Script Files - - - Script Files - - - diff --git a/dep/ACE_wrappers/bin/bootstrap b/dep/ACE_wrappers/bin/bootstrap deleted file mode 100755 index f85deadd2..000000000 --- a/dep/ACE_wrappers/bin/bootstrap +++ /dev/null @@ -1,123 +0,0 @@ -#! /bin/sh - -# ------------------------------------------------------------------------- -# $Id: bootstrap 88269 2009-12-21 11:25:29Z johnnyw $ -# -# Bootstrap ACE/TAO configuration tools when checked out from CVS. -# Requires GNU autoconf, GNU automake and GNU libtool. -# -# This script is only meant to be run by ACE/TAO maintainers. -# -# ------------------------------------------------------------------------- - -# Copyright (C) 1999, 2002 Ossama Othman -# -# All Rights Reserved -# -# This library is free software; you can redistribute it and/or -# modify it under the current ACE distribution terms. -# -# This library 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. - - -set -e - -# If paginator environment variable isn't set then use `more'. -PAGER=${PAGER:-more} - -usage() -{ - cat < /dev/null 2>&1); then - # PATH=/project/danzon/pkg/gnu/bin:$PATH - # export PATH - #fi - - # Update the NEWS file - # For now just copy the contents of the `VERSION' file to make automake - # happy. Eventually, we should start putting real news in to it. - - autoupdate -f - -# autoreconf -I m4 --install --force --symlink --verbose - autoreconf -I m4 --install --force - -# # Generate the man pages. -# # Only generate man pages if bootstrapping a release. -# if test $bootstrap_release = yes; then -# if test -f man/man3/ACE.3; then -# echo ACE man pages have already been generated. -# else -# echo 'Generating the ACE man pages (this may take several minutes)' - -# (ACE_ROOT=.; \ -# export ACE_ROOT; \ -# ./bin/generate_doxygen.pl -is_release -exclude_tao > /dev/null) -# fi # test -f man/man3/ACE.3 -# fi # test $bootstrap_release = yes - -# # Regenerate the man pages lists in the man page Makefiles. - -# if test -f man/man3/Makefile.am; then -# # Only insert man page lists if bootstrapping a release. -# if test $bootstrap_release = yes; then -# echo 'Inserting ACE man page lists into appropriate Makefile.am files.' -# ACE_MAN_PAGES=`(cd man/man3 && echo *.3)` -# else -# ACE_MAN_PAGES= -# fi - -# (cd man/man3; \ -# eval "sed -e 's/^man_MANS =.*$/man_MANS = $ACE_MAN_PAGES/' \ -# Makefile.am > Makefile.am.new"; \ -# mv Makefile.am.new Makefile.am) -# (cd man/html; \ -# eval "sed -e 's/^html_DATA =.*$/html_DATA = $ACE_HTML_MAN_PAGES/' \ -# Makefile.am > Makefile.am.new"; \ -# mv Makefile.am.new Makefile.am) -# else -# test -f man/man3/Makefile.am || echo 'man/man3/Makefile.am is missing!' -# exit 1; -# fi # test -f man/man3/Makefile.am - - # Provide some more "useful" information. - echo "Done bootstrapping ACE autotool support." -else - echo "ACE autotool support must be bootstrapped from the" - echo "top-level ACE source directory." - exit 1; -fi # test -d m4 diff --git a/dep/ACE_wrappers/bin/cle.pl b/dep/ACE_wrappers/bin/cle.pl deleted file mode 100755 index f6f4ae3c4..000000000 --- a/dep/ACE_wrappers/bin/cle.pl +++ /dev/null @@ -1,297 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# ****************************************************************** -# Author: Chad Elliott -# Date: 6/18/2002 -# $Id: cle.pl 89793 2010-04-07 16:28:13Z mitza $ -# ****************************************************************** - -use strict; -use Cwd; -use File::Basename; -use Sys::Hostname; - -if ( $^O eq 'VMS' ) { - require VMS::Filespec; - import VMS::Filespec qw(unixpath); -} - -unshift(@INC, getExecutePath($0) . 'ChangeLogEditor'); - -require ChangeLogEdit; -require EmailTranslator; - -# ************************************************************ -# Subroutine Section -# ************************************************************ - -sub which { - my($prog) = shift; - my($exec) = $prog; - my($part) = ''; - if ( $^O eq 'VMS' ) { - my($envSep) = ';'; - if (defined $ENV{'PATH'}) { - foreach $part (split(/$envSep/, $ENV{'PATH'})) { - $part .= "$prog"; - if ( -x $part ) { - $exec = $part; - last; - } - } - } - } - else { - my($envSep) = ($^O eq 'MSWin32' ? ';' : ':'); - if (defined $ENV{'PATH'}) { - foreach $part (split(/$envSep/, $ENV{'PATH'})) { - $part .= "/$prog"; - if ( -x $part ) { - $exec = $part; - last; - } - } - } - } - - return $exec; -} - - -sub getExecutePath { - my($prog) = shift; - my($loc) = ''; - - if ( $^O eq 'VMS' ) { - if ($prog ne basename($prog)) { - my($dir) = unixpath( dirname($prog) ); - if ($prog =~ /^[\/\\]/) { - $loc = $dir; - } - else { - $loc = unixpath(getcwd()) . $dir; - } - } - else { - $loc = unixpath( dirname(which($prog)) ); - } - - if ($loc eq '.') { - $loc = unixpath( getcwd() ); - } - } else { - if ($prog ne basename($prog)) { - if ($prog =~ /^[\/\\]/ || - $prog =~ /^[A-Za-z]:[\/\\]?/) { - $loc = dirname($prog); - } - else { - $loc = getcwd() . '/' . dirname($prog); - } - } - else { - $loc = dirname(which($prog)); - } - - $loc =~ s/\/\.$//; - - if ($loc eq '.') { - $loc = getcwd(); - } - - if ($loc ne '') { - $loc .= '/'; - } - } - - return $loc; -} - -sub getDefaultDomain { - my($domain) = undef; - my($host) = hostname(); - - if (defined $host) { - ## First try the hostname - if ($host =~ /[^\.]+\.(.*)/) { - $domain = $1; - } - else { - ## Next try the hosts file - my($hosts) = ($^O eq 'MSWin32' ? - "$ENV{SystemRoot}/system32/drivers/etc/hosts" : - '/etc/hosts'); - my($fh) = new FileHandle(); - if (open($fh, $hosts)) { - while(<$fh>) { - if (/$host\.([^\s]+)/) { - $domain = $1; - last; - } - } - close($fh); - } - - if (!defined $domain) { - ## Next try ipconfig on Windows - if ($^O eq 'MSWin32') { - if (open($fh, 'ipconfig /all |')) { - while(<$fh>) { - if (/Primary\s+DNS\s+Suffix[^:]+:\s+(.*)/) { - $domain = $1; - } - elsif (/DNS\s+Suffix\s+Search[^:]+:\s+(.*)/) { - $domain = $1; - } - } - close($fh); - } - } - else { - ## Try /etc/resolv.conf on UNIX - if (open($fh, '/etc/resolv.conf')) { - while(<$fh>) { - if (/search\s+(.*)/) { - $domain = $1; - last; - } - } - close($fh); - } - } - } - } - } - return $domain; -} - - -sub usageAndExit { - my($arg) = shift; - my($base) = basename($0); - if (defined $arg) { - print "$arg\n\n"; - } - print "Usage: $base [ChangeLog File] [user name] [email address]\n" . - " " . (' ' x length($base)) . "[-d ]\n\n" . - " Uses cvs to determine which files are modified or added\n" . - " and generates a bare ChangeLog entry based on those files.\n" . - " This script should be run at the same directory level in\n" . - " which the ChangeLog exists. The entry is prepended to the\n" . - " existing ChangeLog.\n" . - "\n" . - " Email addresses are generated with a certain set of\n" . - " defaults and can be modified using various environment\n" . - " variables. By default email addresses are generated\n" . - " using the user last name followed by an underscore and\n" . - " the first initial of the user first name followed by the\n" . - " email domain.\n" . - "\n" . - " REPLYTO If this environment variable is set, the value\n" . - " is used as the email address.\n" . - " CL_USERNAME This environment variable is used to override\n" . - " the user name (obtained from the password file).\n" . - " CL_CHANGELOG_FILE This environment variable is used as the\n". - " [ChangeLog File] argument if none is given\n". - " on the command line.\n". - "\n" . - " The user name and email address can be passed as a parameter to\n" . - " this script. If either is not passed, then the script will try\n" . - " to determine it automatically.\n" . - "\n" . - " If -d is used, everything on the command line after it is\n" . - " considered a directory or file to be considered in the\n" . - " ChangeLog entry.\n"; - exit(0); -} - - -# ************************************************************ -# Subroutine Section -# ************************************************************ - -my($file) = undef; -my($name) = undef; -my($email) = undef; -my(@dirs) = (); -my($restdirs) = 0; - -foreach my $arg (@ARGV) { - if ($restdirs) { - push(@dirs, $arg); - } - elsif ($arg eq '-h') { - usageAndExit(); - } - elsif ($arg eq '-d') { - $restdirs = 1; - } - elsif ($arg =~ /^\-/) { - usageAndExit("Unrecognized parameter: $arg"); - } - elsif (!defined $file) { - $file = $arg; - } - elsif (!defined $name) { - $name = $arg; - } - elsif (!defined $email) { - $email = $arg; - } -} - -if (!defined $file) { - if (defined $ENV{CL_CHANGELOG_FILE}) { - $file = $ENV{CL_CHANGELOG_FILE}; - } - else { - $file = 'ChangeLog'; - } -} -if (!defined $name) { - my(@pwd) = (); - if (defined $ENV{CL_USERNAME}) { - $pwd[6] = $ENV{CL_USERNAME}; - } - else { - if ($^O eq 'MSWin32' || $^O eq 'cygwin') { - $pwd[6] = 'unknown'; - } - else { - @pwd = getpwuid($<); - $pwd[6] =~ s/,//g; - } - } - $name = $pwd[6]; -} - -if (!defined $email) { - my($trans) = new EmailTranslator(getDefaultDomain()); - $email = $trans->translate($name); -} - -my($editor) = new ChangeLogEdit($name, $email); -my($status, $error, $unknown) = $editor->edit($file, @dirs); - -if (defined $unknown) { - my(@uarray) = @$unknown; - if ($#uarray >= 0) { - print "WARNING: The following files are unknown to the ", - "revision control system:\n"; - foreach my $unk (@uarray) { - print "$unk\n"; - } - print "\n"; - } -} - -if ($status) { - print "You are now ready to edit the $file.\n"; -} -else { - print "$error\n"; -} - -exit($status ? 0 : 1); diff --git a/dep/ACE_wrappers/bin/clean_dsp.pl b/dep/ACE_wrappers/bin/clean_dsp.pl deleted file mode 100755 index b0d22bc68..000000000 --- a/dep/ACE_wrappers/bin/clean_dsp.pl +++ /dev/null @@ -1,52 +0,0 @@ -# $Id: clean_dsp.pl 91813 2010-09-17 07:52:52Z johnnyw $ -# DSP cleaner - -$if_depth = 0; -@saved_lines = (); -$dirty = 0; -$in_dependency = 0; - -die "Not enough args" if ($#ARGV < 0); - -open (FILE, "<$ARGV[0]"); - -loop: while () -{ - # Check for dependency information - - if (/^DEP/ || /^NODEP/) { - $in_dependency = 1; - } - - if ($in_dependency) { - $in_dependency = 0 if (!/\\$/); - goto loop; - } - - # Check for empty !IF blocks - - if (/^\!IF/) { - ++$if_depth; - } - - push @saved_lines, $_ - if ($if_depth > 0); - - if (/^\!ENDIF/) { - --$if_depth; - print @saved_lines - if ($if_depth == 0 && $dirty == 1); - @saved_lines = (); - $dirty = 0; - } - elsif ($if_depth == 0) { - print; - } - - $dirty = 1 - if ($if_depth > 0 && !/^\!/ && !/^\s+$/); - - -} - -close (FILE); diff --git a/dep/ACE_wrappers/bin/clean_sems.sh b/dep/ACE_wrappers/bin/clean_sems.sh deleted file mode 100755 index b73793c7b..000000000 --- a/dep/ACE_wrappers/bin/clean_sems.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -SYSTEM=`uname -s` -IPCS="ipcs" -IPCRM="ipcrm -s" - -if [ "$SYSTEM" = "Darwin" ]; then - USER=`id | sed 's/(.*//; s/uid=//'` - IPCS="ngvipc -s" - IPCRM="ngvipc -s -R" -elif [ -z "$USER" ]; then - USER=`id | sed 's/).*//; s/.*(//'` -fi - - -case "$SYSTEM" in - "Linux" ) - ipcs -a | grep $USER | awk '{ print ($2) }' | xargs -r ipcrm sem; - ;; - * ) - semids=`$IPCS | grep "^s" | grep $USER | awk '{ print ($2) }'` - for p in $semids - do $IPCRM $p - done - ;; -esac diff --git a/dep/ACE_wrappers/bin/clone.csh b/dep/ACE_wrappers/bin/clone.csh deleted file mode 100644 index 1c14e912d..000000000 --- a/dep/ACE_wrappers/bin/clone.csh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/csh - -set src_root=`pwd` -set dst_root=`abspath $1` - -set subdirs=`find * -type d -print` - -mkdir $dst_root -set files=`find * \( -type d -prune \) -o -type f -print` - -if ($#files) then - ln $files $dst_root -endif - -if ($#subdirs) then - foreach subdir ($subdirs) - cd $src_root - mkdir $dst_root/$subdir - cd $src_root/$subdir - set files=`find * \( -type d -prune \) -o -type f -print` - if ($#files) then - ln $files $dst_root/$subdir - endif - end -endif -exit 0 diff --git a/dep/ACE_wrappers/bin/cltime.pl b/dep/ACE_wrappers/bin/cltime.pl deleted file mode 100755 index 30f584964..000000000 --- a/dep/ACE_wrappers/bin/cltime.pl +++ /dev/null @@ -1,13 +0,0 @@ -# $Id: cltime.pl 80826 2008-03-04 14:51:23Z wotte $ -use strict; - -my($name) = shift; -my($email) = shift; -my($entry) = scalar(gmtime()); - -my($tz) = 'UTC'; -$entry =~ s/(:\d\d\s+)(.*)(\d\d\d\d)$/$1$tz $3/; - -$entry .= " $name <$email>"; - -print $entry; diff --git a/dep/ACE_wrappers/bin/copy-script.sh b/dep/ACE_wrappers/bin/copy-script.sh deleted file mode 100755 index 2b893b584..000000000 --- a/dep/ACE_wrappers/bin/copy-script.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -for i in *.gz *.bz2 *.zip *.md5; do - d=`echo $i | sed 's/\.[tz][ai][rp]/-$1&/'` - echo "Copying $i to $d" - cp -ip $i /export/www/download.dre/previous_versions/$d -done - diff --git a/dep/ACE_wrappers/bin/count_lines b/dep/ACE_wrappers/bin/count_lines deleted file mode 100755 index 4fabc6a8e..000000000 --- a/dep/ACE_wrappers/bin/count_lines +++ /dev/null @@ -1,236 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# -*- perl -*- -# $Id: count_lines 80826 2008-03-04 14:51:23Z wotte $ -# - -use File::Basename; - -$cmd= basename($0); - -if ($#ARGV < 0) { - die "Usage: $cmd module...\n"; -} - -@match_order = (); -%typeRE = (); - -&initfiletypes; - -foreach $module (@ARGV) { - if ( ! -d $module ) { - warn "$cmd: no such directory $module\n"; - next; - } - - open(DIRS, "find $module -type d|"); - @dirs = grep {if(!/CVS/) {chop;}} ; - close(DIRS); - - open(FIND, "find $module -type f|"); - @files = grep {if (!/build/ - && !/CVS/ - && !/rpc\+\+/ - && !/\.bpr$/ - && !/\.mdp$/ - && !/\.MDP$/ - && !/\.dsp$/ - && !/\.DSP$/ - && !/\.dsw$/ - && !/\.DSW$/ - && !/\.mak$/ - && !/\.MAK$/ - && !/\.o$/ - && !/\.sl$/ - && !/\.a$/) {chop;}} ; - close(FIND); - - $totdirs = $#dirs; - $totfiles = $#files; - $totlines = 0; - %lines = (); - - foreach $file (@files) { - $n = 0; - if (!open(IN, $file)) { - warn "$cmd: cannot open '$file' for reading\n"; - next; - } - while() { - $n++; - } - close(IN); - $lines{$file} = $n; - $totlines += $n; - } - - - # Define two associative arrays to keep the results for each kind - # of file. - %linespertype = (); - %filespertype = (); - foreach $type (keys %typeRE) { - $linespertype{$type} = 0; - $filespertype{$type} = 0; - } - # The file is classified and added to the corresponding variable. - FILE: while (($file, $l) = each %lines) { - foreach $type (@match_order) { - $re = $typeRE{$type}; - if($file =~ m/$re/) { - $linespertype{$type} += $l; - $filespertype{$type}++; - next FILE; - } - } - print STDERR "Unmatched file: $file\n"; - } - - format STDOUT_TOP= - @||| - $% - - Lines of code in module @<<<<<<<<<<<<<<<<<<<< - $module - -Files: @>>>>>>>> - $totfiles -Directories: @>>>>>>>> - $totdirs -Lines: @>>>>>>>> - $totlines - -File type lines files ----------------------------- ------------------ ----------------- -. - format STDOUT= -@<<<<<<<<<<<<<<<<<<<<<<<<<<< @>>>>>>>>>>>>>>>>> @>>>>>>>>>>>>>>>> -$type, $typelines, $typefiles -. - - - foreach $type (@match_order) { - $typelines = $linespertype{$type}; - $typefiles = $filespertype{$type}; - if ($typefiles != 0) { - write; - } - } - # Forzamos un newpage para cada modulo. - $- = 0; -} - -sub updateRE { - local $desc = shift; - local $re = shift; - - if (exists $typeRE{$desc}) { - local $mix = $typeRE{$desc} . '|(' . $re . ')'; - $typeRE{$desc} = $mix; - } else { - $typeRE{$desc} = '(' . $re . ')'; - push @match_order, $desc; - } -} - -sub initfiletypes { - # Here we define the regular expressions for each kind of file. - # This RE must be mutually exclusive, a file will not be counted - # twice, but it could be unproperly classified. - - local %filenames = - ('GNUmakefile' => 'Makefile', - 'Makefile.*' => 'Makefile', - 'README' => 'README files', - 'COPYING' => 'Licenses', - 'LICENSE.*' => 'Licenses', - 'ChangeLog.*' => 'ChangeLog', - 'ChangeLog-.*' => 'ChangeLog', - '.cvsignore' => 'Control CVS', - 'run_test.pl' => 'Test driver', - 'run_test' => 'Test driver', - 'run_tests' => 'Test driver', - 'run_test.sh' => 'Test driver'); - local %fileexts = - ('cc' => 'C++ sources', - 'cpp' => 'C++ sources', - 'inl' => 'C++ sources', - 'i' => 'C++ sources', - 'h' => 'Headers', - 'hh' => 'Headers', - 'c' => 'C/C++ sources', - 'idl' => 'IDL sources', - 'IDL' => 'IDL sources', - 'pidl' => 'IDL sources', - 'y' => 'yacc source', - 'yy' => 'yacc source', - 'l' => 'lex source', - 'll' => 'lex source', - 'php' => 'php script', - 'pm' => 'perl script', - 'pl' => 'perl script', - 'perl' => 'perl script', - 'py' => 'python script', - 'GNU' => 'GNU make config', - 'tex' => '(La)TeX', - 'txt' => 'Text files', - '1' => 'man pages', - '3' => 'man pages', - 'html' => 'HTML', - 'bib' => 'BibTeX', - 'sty' => 'TeX styles', - 'bld' => 'VxWorks build file', - 'am' => 'Automake file', - 'icc' => 'VisualAge project files', - 'icp' => 'VisualAge project files', - 'vac' => 'VisualAge project files', - 'vcp' => 'Microsof eMbedded Visual Tools project files', - 'vcw' => 'Microsof eMbedded Visual Tools project files', - 'bpr' => 'Borland project files', - 'bor' => 'Borland project files', - 'dsp' => 'DevStudio project files', - 'DSP' => 'DevStudio project files', - 'mdp' => 'MSVC project files', - 'MDP' => 'MSVC project files', - 'dsw' => 'MSVC workspaces', - 'DSW' => 'MSVC workspaces', - 'mak' => 'MSVC MAK files', - 'MAK' => 'MSVC MAK files', - 'java' => 'JAVA source', - 'class' => 'JAVA class', - 'cccc' => 'codecount output', - 'gif' => 'GIF images', - 'conf' => 'Svc_Config files', - 'diff' => 'patches', - 'zip' => 'Compressed files', - 'gz' => 'Compressed files', - 'EXE' => 'Win32 executable', - 'shar' => 'Shar archive', - 'mib' => 'MIB definition files', - 'gperf' => 'GPERF input', - 'phil.*'=> 'Test driver' - ); - local %paths = (); - - local ($desc, $reseed); - while (($reseed, $desc) = each %filenames) { - local $re = '/' . $reseed . '$'; - updateRE($desc, $re); - } - while (($reseed, $desc) = each %fileexts) { - local $re = '/[^/]*\.' . $reseed . '$'; - updateRE($desc, $re); - } - while (($reseed, $desc) = each %paths) { - local $re = $reseed; - updateRE($desc, $re); - } - - updateRE('Others', '.*'); - -# while (($desc, $reseed) = each %typeRE) { -# print STDERR $desc, " ==> ", $reseed, "\n"; -# } -} diff --git a/dep/ACE_wrappers/bin/create_ace_build b/dep/ACE_wrappers/bin/create_ace_build deleted file mode 100755 index 1ad10d2f2..000000000 --- a/dep/ACE_wrappers/bin/create_ace_build +++ /dev/null @@ -1,307 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id: create_ace_build 80826 2008-03-04 14:51:23Z wotte $ -# -# Creates an ACE build tree in directory "build/" below the current -# directory, which must be an ACE "top level" directory (such as -# $ACE_ROOT). The build tree directory structure mirrors that of the ACE -# top level directory structure, except that instead of containing any plain -# files, it contains only symlinks to the files in the ACE top level structure. -# -# This program has a similar purpose to "clone", but in addition to -# only creating symlinks (clone creates hard links, by default), this -# script: -# 1) uses relative rather than absolute symlinks, -# 2) tries not to put junk files into the build tree, -# 3) only creates a new tree in a build/ directory below the current, -# top level ACE directory (it's a feature :-), but it does enforce -# consistency). -# -# This program can be re-run on a build tree at any time in order to -# update it. It will add symlinks for newly added files, and remove -# any that are no longer valid. -# -# If the starts with "build/", that part will be removed -# from it. -# -# The first three lines above let this script run without specifying the -# full path to perl, as long as it is in the user's PATH. -# Taken from perlrun man page. - -use File::Find (); -use File::Basename; -use FileHandle; - -print "You should consider using clone_build_tree.pl found with MPC\n"; - -$usage = "usage: $0 -? | [-a] [-d ] [-v] \n"; -$directory_mode = 0777; #### Will be modified by umask, also. -$verbose = 0; - -$source='.'; -$absolute= 0; - -$perl_version = $] + 0; -if ($perl_version >= 5) { - #### Use an eval so that this script will compile with perl4. - eval <<'PERL5_CWD' - require Cwd; - sub cwd { - Cwd::getcwd (); - } -PERL5_CWD -} else { - sub cwd { - local ($pwd); - - chop ($pwd = `pwd`); - $pwd; - } -} - -my($starting_dir) = cwd (); -my(@nlinks) = (); -my($build_re) = undef; - -sub cab_link { - my($real) = shift; - my($fake) = shift; - my($uif) = ($^O eq 'MSWin32' ? 'link' : 'symlink'); - - print "$uif $real $fake\n" if $verbose; - - my($status) = 0; - if ($^O eq 'MSWin32') { - my($fixed) = $fake; - $fixed =~ s/$build_re//; - push(@nlinks, $fixed); - - chdir(dirname($fake)); - $status = link ($real, basename($fake)); - chdir($starting_dir); - } - else { - $status = symlink ($real, $fake); - } - if (!$status) { - warn "$0: $uif to $fake failed\n"; - } -} - -#### -#### Process command line args. -#### -while ($#ARGV >= 0 && $ARGV[0] =~ /^-/) { - if ($ARGV[0] eq '-v') { - $verbose = 1; - } elsif ($ARGV[0] eq '-d') { - if ($ARGV[1] =~ /^\d+$/) { - $directory_mode = eval ($ARGV[1]); shift; - } else { - warn "$0: must provide argument for -d option\n"; - die $usage; - } - } elsif ($ARGV[0] eq '-a') { - $source = &cwd (); - $absolute = 1; - } elsif ($ARGV[0] eq '-?') { - print "$usage"; - exit; - } else { - warn "$0: unknown option $ARGV[0]\n"; - die $usage; - } - shift; -} - -die $usage unless $#ARGV == 0; -$build = $ARGV[0]; -$build =~ s%^build[/\\]%%; #### remove leading "build/", if any -$build = "build/$build"; - -## Set up the build regular expression use under MSWin32 -if ($^O eq 'MSWin32') { - ## Get the original build name - $build_re = $build; - - ## Remove any trailing slashes - $build_re =~ s/[\\\/]+$//; - - ## Add a single trailing slash - $build_re .= '/'; - - ## Escape any special characters - $build_re =~ s/([\\\$\[\]\(\)\.])/\\$1/g; -} - -#### -#### Check that we're in an ACE "top level" directory. -#### -(-d 'ace' && -d 'include') || - die "$0: must be in an ACE top level (ACE_ROOT) directory!\n"; - -#### -#### Create build directories, if needed. -#### --d 'build' || mkdir ('build', $directory_mode); --d "$build" || mkdir ("$build", $directory_mode); - -#### -#### Get all ACE plain file and directory names. -#### -@files = (); - -sub wanted { - my ($dev,$ino,$mode,$nlink,$uid,$gid); - - /^CVS\z/s && - ($File::Find::prune = 1) - || - /^build\z/s && - ($File::Find::prune = 1) - || - /^\..*obj\z/s && - ($File::Find::prune = 1) - || - /^Templates\.DB\z/s && - ($File::Find::prune = 1) - || - /^Debug\z/s && - ($File::Find::prune = 1) - || - /^Release\z/s && - ($File::Find::prune = 1) - || - /^Static_Debug\z/s && - ($File::Find::prune = 1) - || - /^Static_Release\z/s && - ($File::Find::prune = 1) - || - ( - ($nlink || (($dev,$ino,$mode,$nlink,$uid,$gid) = lstat($_))) && - ! -l $_ && - ! /^core\z/s && - ! /^.*\.state\z/s && - ! /^.*\.so\z/s && - ! /^.*\.[oa]\z/s && - ! /^.*\.dll\z/s && - ! /^.*\.lib\z/s && - ! /^.*\.obj\z/s && - ! /^.*~\z/s && - ! /^\.\z/s && - ! /^\.#.*\z/s && - ! /^.*\.log\z/s - ) && - push(@files, $File::Find::name); -} - -File::Find::find({wanted => \&wanted}, '.'); - -#### -#### Create directories and symlinks to files. -#### -foreach $file (@files) { - $file =~ s%^./%%g; #### excise leading ./ directory component - - if (-d $file) { - unless (-d "$build/$file") { - print "mkdir $build/$file, $directory_mode\n" if $verbose; - mkdir ("$build/$file", $directory_mode); - } - } else { - unless (-e "$build/$file") { - if (!$absolute) { - $up = '../..'; - while ($file =~ m%/%g) { - $up .= '/..'; - } - - cab_link("$up/$file", "$build/$file"); - } else { - $path = $source . '/' . $file; - cab_link("$path", "$build/$file"); - } - } - } -} - -#### -#### Find all the symlinks in the build directory, and remove ones -#### that are no longer actually linked to a file. -#### - -if ($^O eq 'MSWin32') { - my($lfh) = new FileHandle(); - my($txt) = "$build/create_ace_build.links"; - if (open($lfh, "$txt")) { - while(<$lfh>) { - my($line) = $_; - $line =~ s/\s+$//; - if (-e $line) { - push(@nlinks, $line); - } - else { - print "Removing $build/$line \n" if $verbose; - unlink("$build/$line") || warn "$0: unlink of $build/$line failed\n"; - } - } - close($lfh); - } - - ## Rewrite the link file. - unlink($txt); - if (open($lfh, ">$txt")) { - foreach my $file (@nlinks) { - print $lfh "$file\n"; - } - close($lfh); - } -} -else { - @lfiles = (); - - sub lcheck { - ## There's no way to know if we have hard linked back to a now - ## non-existent file. So, just do the normal -l on the file - ## which will cause no files to be pushed on Windows. - if (-l $_) { - push(@lfiles, $File::Find::name); - } - } - - File::Find::find({wanted => \&lcheck}, $build); - - foreach (@lfiles) { - local @s = stat $_; - if ($#s == -1) { - print "Removing $_ \n" if $verbose; - unlink $_ || warn "$0: unlink of $_ failed\n"; - } - } -} - -#### -#### Done: print message. -#### -print "\nCompleted creation of $build/.\n"; -my($msg) = ''; -if (! -e "$build/ace/config.h") { - $msg .= "$build/ace/config.h"; -} - -if ($^O ne 'MSWin32' && - ! -e "$build/include/makeinclude/platform_macros.GNU") { - if ($msg ne '') { - $msg .= " and\n"; - } - $msg .= "$build/include/makeinclude/platform_macros.GNU"; -} - -if ($msg ne '') { - print "Be sure to setup $msg.\n"; -} - -#### EOF diff --git a/dep/ACE_wrappers/bin/create_ace_build.pl b/dep/ACE_wrappers/bin/create_ace_build.pl deleted file mode 100755 index 5d541f6da..000000000 --- a/dep/ACE_wrappers/bin/create_ace_build.pl +++ /dev/null @@ -1,463 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id: create_ace_build.pl 80826 2008-03-04 14:51:23Z wotte $ -# -# Creates an ACE build tree in directory "build/" below the $ACE_ROOT -# directory. The build tree directory structure mirrors that of the ACE -# top level directory structure, except that instead of containing any plain -# files, it contains only links to the files in the ACE top level structure. -# Symbolic links will be used instead of hard links if available. -# -# Makefiles, projects, and other build files are not linked. This allows -# use of MPC to generate the correct project types as needed. Use the -# -nompc option to disable this. -# -# This program has a similar purpose to "clone", but in addition to -# only creating symlinks (clone creates hard links, by default), this -# script: -# 1) uses relative rather than absolute symlinks, -# 2) tries not to put junk files into the build tree, -# 3) only creates a new tree in a build/ directory below the current, -# top level ACE directory (it's a feature :-), but it does enforce -# consistency). -# -# This program can be re-run on a build tree at any time in order to -# update it. It will add links for newly added files, and remove -# any that are no longer valid. -# Specifying no command line options will cause all current builds -# to be updated. -# -# If the starts with "build/", that part will be removed -# from it. - -use File::Find (); -use File::Basename; -use FileHandle; -use File::stat; -use File::Copy; -use File::Path; - -print "You should consider using clone_build_tree.pl found with MPC\n"; - -$usage = "usage: $0 -? | [-a] [-d ] [-v] [-nompc] \n"; -$directory_mode = 0777; #### Will be modified by umask, also. -$verbose = 0; -$mpc = 1; #### When using mpc, we don't want links created for mpc-generated files. -$update_all = 1; -$source='.'; -$absolute = 0; - -#### -#### Check that we're in an ACE "top level" directory. -#### -unless (-d 'ace' && -d 'include') { - die "Must be in an ACE top level (ACE_ROOT) directory!\n"; -} -if (-e 'create_ace_build.links') { - die "Must be in an ACE top level (ACE_ROOT) directory!\n"; -} - -$perl_version = $] + 0; -if ($perl_version >= 5) { - #### Use an eval so that this script will compile with perl4. - eval <<'PERL5_CWD' - require Cwd; - sub cwd { - Cwd::getcwd (); - } -PERL5_CWD -} else { - sub cwd { - local ($pwd); - - chop ($pwd = `pwd`); - $pwd; - } -} - -my($starting_dir) = cwd (); -my(@nlinks) = (); -my(@build_re) = (); - -print "Creating or updating builds in $starting_dir\n"; - -#### If the $linked file is newer than the real file then -#### backup the real file, and replace it with the linked -#### version. - -sub backup_and_copy_changed { - my($real, $linked) = @_; - my($status_real) = stat($real); - - if (! $status_real) { - die "ERROR: cannot access $real.\n"; - } - - my($status_linked) = stat($linked); - if ($status_linked->mtime > $status_real->mtime) { - rename($real, $real . '.bak'); - rename($linked, $real); - return 1; - } - - if ($status_real->mtime != $status_linked->mtime) { - unlink($linked); - return 1; - } - if ($status_real->size != $status_linked->size) { - unlink($linked); - return 1; - } - return 0; -} - -sub cab_link { - my($real,$linked,$build_regex) = @_; - - my($status) = 0; - if ($^O eq 'MSWin32') { - my($fixed) = $linked; - $fixed =~ s/$build_regex//; - push(@nlinks, $fixed); - - my($curdir) = "$starting_dir/" . dirname($linked); - if (! -d $curdir) { - die "ERROR: Dir not found: $curdir\n"; - } - $status = chdir($curdir); - if (! $status) { - die "ERROR: cab_link() chdir " . $curdir . " failed.\n"; - } - - my($base_linked) = basename($linked); - - if (! -e $real) { - ## If the real file "doesn't exist", then we need to change back to - ## the starting directory and look up the short file name. - chdir($starting_dir); - my($short) = Win32::GetShortPathName($fixed); - - ## If we were able to find the short file name, then we need to - ## modyfy $real. Note, we don't need to change back to $curdir - ## unless the short name lookup was successful. - if (defined $short) { - ## Replace a section of $real (the part that isn't a relative - ## path) with the short file name. The hard link will still have - ## the right name, it's just pointing to the short name. - substr($real, length($real) - length($fixed)) = $short; - - ## Get back to the right directory for when we make the hard link - chdir($curdir); - } - else { - ## This should never happen, but there appears to be a bug - ## with the underlying win32 apis on Windows Server 2003. - ## Long paths will cause an error which perl will ignore. - ## Unicode versions of the apis seem to work fine. - ## To experiment try Win32 _fullpath() and CreateHardLink with - ## long paths. - print "ERROR : Skipping $real.\n"; - return; - } - } - - if (-e $base_linked) { - if (! backup_and_copy_changed($real, $base_linked)) { - return; - } - } - - print "link $real $linked\n" if $verbose; - $status = link ($real, $base_linked); - if (! $status) { - ## Once again, this happens for long paths on Win2003 - print "ERROR: Can't link $real\n"; - return; - } - chdir($starting_dir); - } else { - print "$symlink $real $linked\n" if $verbose; - $status = symlink ($real, $linked); - } - if (!$status) { - die "$0: $real -> $linked failed\n"; - } -} - -#### -#### Process command line args. -#### -while ($#ARGV >= 0 && $ARGV[0] =~ /^-/) { - if ($ARGV[0] eq '-v') { - $verbose = 1; - } elsif ($ARGV[0] eq '-d') { - if ($ARGV[1] =~ /^\d+$/) { - $directory_mode = eval ($ARGV[1]); shift; - } else { - warn "$0: must provide argument for -d option\n"; - die $usage; - } - } elsif ($ARGV[0] eq '-a' && ! ($^O eq 'MSWin32')) { - $source = &cwd (); - $absolute = 1; - } elsif ($ARGV[0] =~ /-[?hH]$/) { - die "$usage"; - } elsif ($ARGV[0] eq '-nompc') { - $mpc = 0; - } else { - warn "$0: unknown option $ARGV[0]\n"; - die $usage; - } - shift; -} - -@builds = (); - -if ($#ARGV == 0) { - $update_all = 0; - $builds[0] = $ARGV[0]; - $builds[0] =~ s%^build[/\\]%%; #### remove leading "build/", if any - $builds[0] = "build/$builds[0]"; -} else { - @builds = glob "build/*"; -} - -sub create_build_regex { - if ($^O eq 'MSWin32') { - for ($idx = 0; $idx <= $#builds; $idx++) { - ## Get the original build name - $build_re[$idx] = $builds[idx]; - - ## Remove any trailing slashes - $build_re[$idx] =~ s/[\\\/]+$//; - - ## Add a single trailing slash - $build_re[$idx] .= '/'; - - ## Escape any special characters - $build_re[$idx] =~ s/([\\\$\[\]\(\)\.])/\\$1/g; - } - } -} - -create_build_regex(); - -# all builds go in ACE_wrappers\build -unless (-d "$starting_dir/build") { - print "Creating $starting_dir/build\n"; - mkdir ("$starting_dir/build", $directory_mode); -} -foreach $build (@builds) { - unless (-d "$starting_dir/$build") { - print "Creating $starting_dir/$build\n"; - mkpath ("$starting_dir/$build", 0, $directory_mode); - } -} - -#### -#### Get all ACE plain file and directory names. -#### -@files = (); - -sub wanted { - my ($dev,$ino,$mode,$nlink,$uid,$gid); - - $matches = ! ( - /^CVS\z/s && ($File::Find::prune = 1) - || - /^build\z/s && ($File::Find::prune = 1) - || - /^\..*obj\z/s && ($File::Find::prune = 1) - || - /^Templates\.DB\z/s && ($File::Find::prune = 1) - || - /^Debug\z/s && ($File::Find::prune = 1) - || - /^Release\z/s && ($File::Find::prune = 1) - || - /^Static_Debug\z/s && ($File::Find::prune = 1) - || - /^Static_Release\z/s && ($File::Find::prune = 1) - || - /^\.svn\z/s && ($File::Find::prune = 1) - ); - - $matches = $matches && - ( - ($nlink || (($dev,$ino,$mode,$nlink,$uid,$gid) = lstat($_))) && - ! -l $_ && - ! /^core\z/s && - ! /^.*\.state\z/s && - ! /^.*\.so\z/s && - ! /^.*\.[oa]\z/s && - ! /^.*\.dll\z/s && - ! /^.*\.lib\z/s && - ! /^.*\.obj\z/s && - ! /^.*~\z/s && - ! /^\.\z/s && - ! /^\.#.*\z/s && - ! /^.*\.log\z/s - ); - - if ($mpc && $matches) { - $matches = - ($File::Find::dir =~ /include\/makeinclude*/) || - ( - ! /^.*\.dsp\z/s && - ! /^.*\.vcproj\z/s && - ! /^.*\.bor\z/s && - ! /^.*\.dsw\z/s && - ! /^.*\.sln\z/s && - ! /^.*\.vcp\z/s && - ! /^.*\.nmake\z/s && - ! /^.*\.am\z/s && - ! /^.*\.vcw\z/s && - ! /^.*\.mak\z/s && - ! /^.*\.bld\z/s && - ! /^.*\.icc\z/s && - ! /^.*\.icp\z/s && - ! /^.*\.ncb\z/s && - ! /^.*\.opt\z/s && - ! /^.*\.bak\z/s && - ! /^.*\.ilk\z/s && - ! /^.*\.pdb\z/s && - ! /^\.cvsignore\z/s && - ! /^\.disable\z/s && - ! /^GNUmakefile.*\z/s - ); - } - - if ($matches) { - push(@files, $File::Find::name); - } -} - -File::Find::find({wanted => \&wanted}, '.'); - -print "Found $#files files and directories.\n"; - -#### -#### Create directories and symlinks to files. -#### -foreach $file (@files) { - $file =~ s%^./%%g; #### excise leading ./ directory component - my($fullname) = "$starting_dir/$file"; - for ($idx = 0; $idx <= $#builds; $idx++) { - my($build) = $builds[$idx]; - if (-d $fullname) { - unless (-d "$starting_dir/$build/$file") { - print "Creating $build/$file\n" if $verbose; - mkdir ("$starting_dir/$build/$file", $directory_mode); - } - } else { - unless (($^O ne 'MSWin32') && (-e "$build/$file")) { - if (!$absolute) { - $up = '..'; - while ($build =~ m%/%g) { - $up .= '/..'; - } - while ($file =~ m%/%g) { - $up .= '/..'; - } - cab_link("$up/$file", "$build/$file", $build_re[$idx]); - } else { - $path = $source . '/' . $file; - cab_link("$path", "$build/$file", $build_re[$idx]); - } - - } - } - } -} - -print "Finished creating and updating links.\n"; - -foreach $build (@builds) { - #### - #### Find all the symlinks in the build directory, and remove ones - #### that are no longer actually linked to a file. - #### - - if ($^O eq 'MSWin32') { - my($lfh) = new FileHandle(); - my($links_file) = "$starting_dir/$build/create_ace_build.links"; - if (-e $links_file) { - if (open($lfh, $links_file)) { - while(<$lfh>) { - my($line) = $_; - $line =~ s/\s+$//; - if (-e "$starting_dir/$line") { - ## The links were already added in cab_link when they - ## were checked for changes. - } else { - print "Removing $build/$line \n" if $verbose; - unlink("$starting_dir/$build/$line") || warn "$0: unlink of $build/$line failed\n"; - } - } - close($lfh); - } - unless (unlink($links_file)) { - die "Couldn't delete links file.\n"; - } - } - print "Writing $#nlinks links to link file.\n"; - if (open($lfh, ">$links_file")) { - foreach my $lnk (@nlinks) { - print $lfh "$lnk\n"; - } - close($lfh); - } else { - die "Couldn't open links file.\n"; - } - } - else { - @lfiles = (); - - sub lcheck { - ## There's no way to know if we have hard linked back to a now - ## non-existent file. So, just do the normal -l on the file - ## which will cause no files to be pushed on Windows. - if (-l $_) { - push(@lfiles, $File::Find::name); - } - } - - File::Find::find({wanted => \&lcheck}, $build); - - foreach (@lfiles) { - local @s = stat $_; - if ($#s == -1) { - print "Removing $_ \n" if $verbose; - unlink $_ || warn "$0: unlink of $_ failed\n"; - } - } - } - - #### - #### Done: print message. - #### - print "\nCompleted creation of $build/.\n"; - -foreach $build (@builds) { - unless (-d "$starting_dir/$build") { - print "Creating $starting_dir/$build\n"; - mkdir ("$starting_dir/$build", $directory_mode); - } - - - if (! -e "$starting_dir/$build/ace/config.h") { - print "Be sure to setup $build/ace/config.h"; - } - - if ($^O ne 'MSWin32' && - ! -e "$starting_dir/$build/include/makeinclude/platform_macros.GNU") { - print " and\n$build/include/makeinclude/platform_macros.GNU"; - } - print ".\n"; -} - -} - -#### EOF diff --git a/dep/ACE_wrappers/bin/depgen.pl b/dep/ACE_wrappers/bin/depgen.pl deleted file mode 100755 index 844e92030..000000000 --- a/dep/ACE_wrappers/bin/depgen.pl +++ /dev/null @@ -1,57 +0,0 @@ -#! /usr/bin/perl -eval '(exit $?0)' && eval 'exec perl -w -S $0 ${1+"$@"}' - & eval 'exec perl -w -S $0 $argv:q' - if 0; - -# ************************************************************ -# Description : Generate dependencies for GNU Make and NMake. -# Author : Chad Elliott -# Create Date : 5/06/2002 -# $Id: depgen.pl 83992 2008-12-09 04:42:49Z johnnyw $ -# ************************************************************ - -# ************************************************************ -# Pragma Section -# ************************************************************ - -use strict; -use FindBin; -use File::Spec; -use File::Basename; - -my($basePath) = $FindBin::RealBin; -if ($^O eq 'VMS') { - $basePath = File::Spec->rel2abs(dirname($0)) if ($basePath eq ''); - $basePath = VMS::Filespec::unixify($basePath); -} -unshift(@INC, $basePath . '/DependencyGenerator'); - -my($mpcroot) = $ENV{MPC_ROOT}; -my($mpcpath) = (defined $mpcroot ? $mpcroot : - dirname($basePath) . '/MPC'); -unshift(@INC, $mpcpath . '/modules/Depgen', $mpcpath . '/modules'); - -if (! -d "$mpcpath/modules/Depgen") { - print STDERR "ERROR: Unable to find the MPC DependencyGenerator ", - "modules in $mpcpath.\n"; - if (defined $mpcroot) { - print STDERR "Your MPC_ROOT environment variable does not point to a ", - "valid MPC location.\n"; - } - else { - print STDERR "You can set the MPC_ROOT environment variable to the ", - "location of MPC.\n"; - } - exit(255); -} - -require Driver; - -# ************************************************************ -# Main Section -# ************************************************************ - -my($driver) = new Driver('UNIX=gnu', - 'automatic=ACE_ROOT,TAO_ROOT,CIAO_ROOT,' . - 'DDS_ROOT,ACE_PLATFORM_CONFIG'); -exit($driver->run(\@ARGV)); diff --git a/dep/ACE_wrappers/bin/diff-builds-and-group-fixed-tests-only.sh b/dep/ACE_wrappers/bin/diff-builds-and-group-fixed-tests-only.sh deleted file mode 100755 index 7ec88df18..000000000 --- a/dep/ACE_wrappers/bin/diff-builds-and-group-fixed-tests-only.sh +++ /dev/null @@ -1,12 +0,0 @@ -if test -z $1; then olddate=2010_09_04; else olddate=$1; fi -if test -z $2; then newdate=`date -u +%Y_%m_%d`; else newdate=$2; fi -if test -z $3; then prefix=`date -u +%Y%m%d%a`; else prefix=$3; fi -if test -z $ACE_ROOT; then ACE_ROOT=..; fi -if test -z $TAO_ROOT; then TAO_ROOT=${ACE_ROOT}/TAO; fi -if test -z $CIAO_ROOT; then CIAO_ROOT=${TAO_ROOT}/CIAO; fi -if test -z $DANCE_ROOT; then DANCE_ROOT=${TAO_ROOT}/DAnCE; fi -# -grep -h \!FIXED_BUGS_ONLY ${ACE_ROOT}/tests/*.lst ${ACE_ROOT}/bin/*.lst ${TAO_ROOT}/bin/*.lst ${CIAO_ROOT}/bin/*.lst ${DANCE_ROOT}/bin/*.lst | sed -e "s/^\([^\:]*\).*/\1/" | sed -e "s/\(\/run_test.pl\)\?\s*$//" > ${prefix}-Ignore.txt -# -perl ${ACE_ROOT}/bin/diff-builds.pl -r -D $olddate -D $newdate | perl -ne 'print unless /^(\@\@|[ \-][a-zA-Z])/' | grep -v -f ${prefix}-Ignore.txt | tee ${prefix}-Builds.txt | grep '+[a-zA-Z]' | sort | uniq -c | sort -n -r -s | sort -k3 -r -s > ${prefix}-Tests.txt -perl ${ACE_ROOT}/bin/diff-builds.pl -D $olddate -D $newdate | perl -ne 'print unless /^(\@\@|[ \-][a-zA-Z])/' | grep -v -f ${prefix}-Ignore.txt | grep '+[a-zA-Z]' | sort | uniq -c | sort -n -r -s > ${prefix}-Tests-NoTestRev.txt diff --git a/dep/ACE_wrappers/bin/diff-builds.pl b/dep/ACE_wrappers/bin/diff-builds.pl deleted file mode 100755 index 51be399db..000000000 --- a/dep/ACE_wrappers/bin/diff-builds.pl +++ /dev/null @@ -1,317 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id: diff-builds.pl 86172 2009-07-22 08:44:15Z johnnyw $ -# -*- perl -*- - -use File::Spec qw/ tmpdir /; -use File::Temp qw/ tempfile tempdir /; -use POSIX qw/ strftime /; - -my $debugging = 0; # Print additional info -my $verbose = '-q'; # WGET verbosity -my $new_errors_only = 0; # Show new errors only -my $clean_builds_only = 1; # Only diff todays clean builds -my $append_revision_to_new_test_fails = 0; # Default to not doing this. - -# The root of the test statistics -my $teststaturl = "http://download.theaceorb.nl/teststat/builds/"; - -my $allbuildsurl = "http://download.theaceorb.nl/teststat/buildscore"; -my $cleanbuildsurl = "http://download.theaceorb.nl/teststat/cleanbuildtests"; - -# Determine the available timestamps for a build on a date, -# by scanning the index page (build.html) -sub find_timestamps ($$) { - - my ($file,$date) = @_; - -# print "\nSearching for $file, $date\n"; - open (INDEX, "wget " . $verbose . " \'" . $teststaturl . $file . ".html\' -O - |") - || die "***Could not read the index page for $file\n"; - - # Split at all HTML tags, except - my @suffixes = split ( /[<][b-zB-Z\/]+[>]/, ); - close (INDEX); - - # Select only those of the "href=..." that match our file and date - my $rx = quotemeta ( $file . '_' . $date); - my @temp = map { (/${rx}_([0-9][0-9]_[0-9][0-9])/) ? $1 : "" } @suffixes; - return grep /^[0-9]/, @temp; -} - -# Determine the timestamp by scanning the index -sub find_closest_earlier { - - my ($file,$date) = @_; - - open (INDEX, "wget " . $verbose . " \'" . $teststaturl . $file . ".html\' -O - |") - || die "***Could not read the index page for $file\n"; - - # Split at all HTML tags, except - my @suffixes = split ( /[<][b-zB-Z\/]+[>]/, ); - close (INDEX); - - # Select only those of the "href=..." that match our file - my $rx = quotemeta ( $file); - my @temp = map { (/${rx}_([0-9][0-9][0-9][0-9]_[0-9][0-9]_[0-9][0-9])/ && $1 le $date) ? $1 : undef } @suffixes; - my @temp2 = grep /^[0-9]/, @temp; - - if ($#temp2 == -1) { - return undef; - } - - return $temp2[0]; -} - -sub select_builds ($$$) -{ - my ($rdates, $rbuilds, $rfiles) = @_; - my @dates = @{$rdates}; - my @builds = @{$rbuilds}; - - if ($#dates eq 1) { - $rfiles->[0] = $rbuilds->[0]; - $rfiles->[1] = $rbuilds->[0]; - } - elsif ($#builds eq 1) { - $rfiles->[0] = $rbuilds->[0]; - $rfiles->[1] = $rbuilds->[1]; - - $rdates->[1] = $rdates->[0]; - - } - else { - die "Dates: $#dates, Builds: $#builds\n"; - } - - return 0; -} - -sub load_failed_tests_list ($$) -{ - my ($file, $original_date) = @_; - - my $date = $original_date; - my $last_tried_date = $original_date; - my @timestamps = (); - - while ($#timestamps < 0) { - - @timestamps = find_timestamps ($file, $date); - - if ($#timestamps == -1) { - $date = find_closest_earlier ($file, $date); - if (!$date) { - print "***Found no builds for $file on, or before $original_date\n"; - return File::Spec->devnull(); - } - - print "***No builds for $file on $last_tried_date. The closest earlier is " - . $date . "\n"; - - $last_tried_date = $date; - next; - } - - print "Build times for $file on $date are " - . join (', ', @timestamps) . "\n" unless !$debugging; - } - - my $tmpdir = File::Spec->tmpdir(); - my $fullfile = $file .'_' . $date . '_' . $timestamps[0]; - my ($fh, $tmpfile) = tempfile ($fullfile . ".XXXXXX", UNLINK => 1, DIR => $tmpdir); - - print "wget " . $verbose . " \'" .$teststaturl - . $fullfile . ".txt\' -O - | sort >\'" . $tmpfile . '\'' . "\n" unless !$debugging; - - system ("wget " . $verbose . " \'" .$teststaturl - . $fullfile . ".txt\' -O - | sort >\'" . $tmpfile . '\''); - close ($fh); - - return $tmpfile; -} - -sub differentiate ($$$) -{ - my ($rfiles, $rdates, $revision) = @_; - - print "Difference for dates " . join (', ', @$rdates) . "\n" unless !$debugging; - - my $first_file = load_failed_tests_list ($rfiles->[0], $rdates->[0]); - my $second_file = load_failed_tests_list ($rfiles->[1], $rdates->[1]); - - open (DIFF, "diff -u \'" . $first_file . "\' \'" . $second_file . "\' 2>&1 |") - || die "***Failed to diff \'" . $first_file . "\' \'" . $second_file . "\'\n"; - - while () { - - # Don't filter out the build details when printing the new errors only - if (/^---/) { - # Previous Build Date - print; - } - elsif (/^\+\+\+/) { - # Current Build date - if ($revision) { - chomp; - print "$_ ($revision)\n"; - } - else { - print; - } - } - elsif (/^[^\+]/) { - # Anything except a new error - print unless ($new_errors_only == 1); - } - elsif ($append_revision_to_new_test_fails && $revision) { - chomp; - print "$_ ($revision)\n"; - } - else { - print; - } - } - - close (DIFF); - print "\n"; -} - -sub find_builds ($$$$$) -{ - my ($rbuilds, $buildscoreurl, $selectcolumn_name, $revision_hash, $selectcolumn_revision) = @_; - - print "Reading from $buildscoreurl\n" unless !$debugging; - - open (CLEANS, "wget " . $verbose . " \'" . $buildscoreurl . "\' -O - |") - || die "Could not read builds score page $buildscoreurl\n"; - - # Split at all spaces - for(my $begin=0; ;) - { - chomp; - my @columns = split (/ +/); - - if (/=+/) { - $begin++; - next; - } - - if ($begin) { - %{$revision_hash}->{$columns[$selectcolumn_name]} = $columns[$selectcolumn_revision]; - push (@{$rbuilds}, $columns[$selectcolumn_name]); - } - } - close (CLEANS); - sort @{$rbuilds}; - - print "Using builds @{$rbuilds}\n" unless !$debugging; -} - -my @dates = (); -my @builds = (); -my @files = (); - -while ($arg = shift(@ARGV)) { - - if ($arg eq "-h" || $arg eq "-?") { - print "Prints a diff for the list of test failures, for two builds on a certain date\n\n"; - print "diff-builds [-n] [-d] [-D date] [-A] [build ...]\n"; - print "\n"; - print " -n -- Show only new test failing (default=no)\n"; - print " -d -- Show debug info\n"; - print " -h -- Prints this information\n"; - print " -D date -- Specify a date. Either YYYY_MM_DD or YYYY-MM-DD works\n"; - print " Use two date parameters to specify an interval\n"; - print " -A -- Use all builds, not just the clean (successful) ones\n"; - print " -r -- Append SVN revision numbers to NEW test names\n"; - print " build -- Specify the build name. As it appears on the scoreboard\n"; - print " Works with two builds and one date to show the differences\n"; - print " between them. One build and two dates works, too.\n"; - print " Just a single date (no builds) implies comparing all of \n"; - print " today's builds with the builds on the supplied date.\n"; - exit 0; - } - if ($arg eq '-D') { - my $date = shift(@ARGV); - $date =~ s/-/_/g; - push (@dates, $date); - print "Date=$date\n" - unless !$debugging; - } - elsif ($arg eq '-v') { - $verbose = undef; - } - elsif ($arg eq '-d') { - $debugging = 1; - } - elsif ($arg eq '-n') { - $new_errors_only = 1; - } - elsif ($arg eq '-A') { - $clean_builds_only = 0; - } - elsif ($arg eq '-r') { - $append_revision_to_new_test_fails = 1; - } - else { - push (@builds, $arg); - print "Build=$arg\n" - unless !$debugging; - } -} - -# Diff the todays clean builds with the ones from a specific date -if ($#builds == -1 && $#dates >= 0) -{ - my %revisions = {}; - - # only the start date given - implies we should - # use the today's date - if ($#dates == 0) { - $dates[1] = strftime ("%Y_%m_%d", gmtime); - } - - if ($clean_builds_only) { - find_builds (\@builds, $cleanbuildsurl . "-" . $dates[1] . ".txt" , 8, \%revisions, 7); - } - else { - find_builds (\@builds, $allbuildsurl . "-" . $dates[1] . ".txt" , 4, \%revisions, 3); - } - - foreach $build (sort @builds) { - $files[0] = $files[1] = $build; - differentiate (\@files, \@dates, $revisions{$build} ); - } -} -else -{ - die "More than one date or build name are required" - unless ($#dates + $#builds ge 1); - - print "dates=@dates ($#dates)\n" - unless !$debugging; - - print "builds=@builds ($#builds)\n" - unless !$debugging; - - select_builds (\@dates, \@builds, \@files); - differentiate (\@files, \@dates, 0); -} -__END__ - -=head1 diff-builds.pl Diff the lists of failing tests - -=item DESCRIPTION -Prints a diff for the list of test failures, for two builds on a certain date. -Or, for two dates and a certain build. - -=item EXAMPLE - -diff-builds.pl WinXP_VC71_NET_Static_Debug -D 2006_04_17 -D 2006_05_12 - -=item AUTHOR -Iliyan Jeliazkov - diff --git a/dep/ACE_wrappers/bin/doxygen-convert-h.pl b/dep/ACE_wrappers/bin/doxygen-convert-h.pl deleted file mode 100755 index 9be7543ce..000000000 --- a/dep/ACE_wrappers/bin/doxygen-convert-h.pl +++ /dev/null @@ -1,562 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id: doxygen-convert-h.pl 91813 2010-09-17 07:52:52Z johnnyw $ -# doxygen-convert-h.pl is a script that would be used to convert old -# documented style ACE/TAO header files to doxygen style. - -# TODO List: -# (Search for @todo in this script) - -use File::Copy; -use FileHandle; -use Getopt::Std; - -############################################################################## -# Parse the options - -if (!getopts ('dDhsu') || $opt_h) { - print "doxygen-convert-h.pl [-dDhsu] filenames or directories\n"; - print "\n"; - print " -d debug script\n"; - print " -D really verbose debug\n"; - print " -h display this help\n"; - print " -s print result to stdout\n"; - print " -u turn off file verification\n"; - exit (1); -} - -## if verbose debug, also regular debug -$opt_d = 1 if (defined $opt_D); - -############################################################################## -# Find the files - -@files = (); - -sub recursive_find { - my($file) = shift; - my(@rfiles) = (); - my($fh) = new FileHandle(); - - if (opendir($fh, $file)) { - foreach my $f (grep(!/^\.\.?$/, readdir($fh))) { - if ($f ne '.svn') { - my($full) = "$file/$f"; - if (-d $full) { - push(@rfiles, recursive_find($full)); - } - else { - push(@rfiles, $full) - if ($f =~ /\.(h|hxx|hpp|hh|inl|cpp|cxx|cc|c|C)$/) - ; - } - } - } - closedir($fh); - } - - return @rfiles; -} - -foreach $arg (@ARGV) { - my @results = glob $arg; - if ($#results < 0) { - print STDERR "File not Found: $arg\n" - } - else { - foreach my $result (@results) { - if (-d $result) { - push(@files, recursive_find($result)); - } - else { - push(@files, $result); - } - } - } -} - -############################################################################## -# Subroutines used to change the file. - -$fail = 0; - -sub verify (@) -{ - my (@contents) = @_; - - print "Verification\n" if (defined $opt_d); - - my $found_id = 0; - my $found_filename = 0; - - foreach $line (@contents) { - $found_id = 1 if ($line =~ /\$Id\:/); - $found_filename = 1 if ($line =~ /\= FILENAME/); - } - - return 0 if ($found_id == 1 && $found_filename == 1); - - # failed - return 1; -} - -sub format_description (@) -{ - my (@description) = @_; - my @after = (); - - my $line; - - if ($#description < 1) { - foreach $line (@description) { - $line =~ s/\/\// \* \@brief /; - push @after, $line; - } - } - else { - foreach $line (@description) { - $line =~ s/\/\// \*/; - $line =~ s/\* /\* /; - push @after, $line; - } - } - - return @after; -} - -sub fix_file_header (@) -{ - my (@before) = @_; - my @after = (); - my @description = (); - my $id = "\$Id\$\n"; - my $authors = ""; - - my $state = 'before'; - ## state = before, filename, description, author, after, done - - print "Fixing File Header\n" if (defined $opt_d); - - LOOP: foreach $line (@before) { - printf ("%10s %s", $state, $line) if (defined $opt_D); - - if ($state eq 'done') { - push @after, $line; - next LOOP; - } - - if ($state eq 'before') { - if ($line =~ /\-\*\- C\+\+ \-\*\-/) { - push @after, $line; - } - elsif ($line =~ /\$Id\:(.*)\n/) { - $id = "\$Id\:$1"; - } - elsif ($line =~ /===================/) { - push @after, "//========================================". - "=====================================\n"; - push @after, "/**\n"; - } - elsif ($line =~ /\= FILENAME/) { - $state = 'filename'; - next LOOP; - } - elsif ($line !~ /^\s*\/\//) { - push @after, $line; - } - } - - if ($state eq 'filename') { - if ($line =~ /\/\/ (.+)/) { - push @after, " * \@file $1\n"; - push @after, " *\n"; - push @after, " * $id\n"; - push @after, " *\n"; - } - elsif ($line =~ /\= DESCRIPTION/) { - $state = 'description'; - next LOOP; - } - elsif ($line =~ /\= AUTHOR/) { - $state = 'author'; - next LOOP; - } - elsif ($line =~ /===================/) { - $state = 'after'; - ### Fall through so the after can put the ending in - } - } - - if ($state eq 'description') { - if ($line =~ /\= AUTHOR/) { - push @after, format_description (@description); - @description = (); - push @after, " *\n"; - $state = 'author'; - next LOOP; - } - elsif ($line =~ /===================/) { - push @after, format_description (@description); - @description = (); - push @after, " *\n"; - $state = 'after'; - ### Fall through - } - push @description, $line; - } - if ($state eq 'author') { - if ($line =~ /\/\/ (.+)\n/) { - $authors .= $1; - } - elsif ($line =~ /===================/ - || $line =~ /\= DESCRIPTION/) { - ## print the authors - - if ($authors ne "") { - @authors = split /\,/, $authors; - - foreach $author (@authors) { - if ($author =~ /^ (.*)/) { - $author = $1; - } - push @after, " * \@author $author\n"; - } - } - - if ($line =~ /\= DESCRIPTION/) { - push @after, " *\n"; - $state = 'description'; - next LOOP; - } - else { - $state = 'after'; - ## Fall through - } - } - } - - if ($state eq 'after') { - if ($line =~ /===================/) { - ## print the rest - push @after, " */\n"; - push @after, "//========================================". - "=====================================\n"; - push @after, "\n"; - $state = 'done'; - } - - next LOOP; - } - } - - return @after; -} - - -sub fix_class_headers (@) -{ - my (@before) = @_; - my @after = (); - my @store = (); - my $classname = ""; - - my $state = 'outside'; - ## state = - ## outside = not in class - ## template = stored template line - ## class = started collecting lines, in case of a class - ## header = after a class foo, but before any methods - - print "Fixing class headers\n" if (defined $opt_d); - - LOOP: foreach $line (@before) { - printf ("%10s %s", $state, $line) if (defined $opt_D); - - if ($state eq 'outside') { - if ($line =~ /^\s*template/) { - push @store, $line; - $state = 'template'; - next LOOP; - } - elsif ($line =~ /^\s*class/) { - $state = 'class'; - ## Fall through - } - else { - push @after, $line; - } - - } - - if ($state eq 'template') { - if ($line =~ /^\s*class/) { - $state = 'class'; - ## Fall through - } - else { - push @after, @store; - @store = (); - push @after, $line; - $state = 'outside'; - next LOOP; - } - } - - if ($state eq 'class') { - if ($line =~ /^\s*class(.*)\n/) { - push @store, $line; - my @s = split / /, $1; - if ($s[1] =~ /export$/i) { - $classname = $s[2]; - } - else { - $classname = $s[1]; - } - } - elsif ($line =~ /^\s*\{/) { - push @store, $line; - } - elsif ($line =~ /^\s*\/\//) { - $state = 'header'; - ### Fall through - } - else { - push @after, @store; - @store = (); - push @after, $line; - $state = 'outside'; - next LOOP; - } - } - - if ($state eq 'header') { - if ($line =~ /^\s*\/\//) { - push @headers, $line; - } - else { - my $prefix = ''; - - $line =~ /^(\s*)[\w\/]/; ### used to get indent - my $indent = $1; - push @after, "$indent/**\n"; - push @after, "$indent * \@class $classname\n"; - - foreach $header (@headers) { - if ($header =~ /\= TITLE/) { - push @after, "$indent *\n"; - $prefix = "$indent * \@brief"; - } - elsif ($header =~ /\= DESCRIPTION/) { - push @after, "$indent *\n"; - $prefix = "$indent *"; - } - elsif ($header !~ /\/\/\s*\n/) { - my $myline = $header; - $myline =~ s/\s*\/\/\s*/$prefix /; - push @after, $myline; - $prefix = "$indent *"; - - } - } - push @after, "$indent */\n"; - @headers = (); - - push @after, @store; - push @after, $line; - @store = (); - $state = 'outside'; - next LOOP; - } - } - } - - return @after; -} - - -sub format_comment (@) -{ - my (@comments) = @_; - my @after = (); - - my $line; - - if ($#comments < 2) { - foreach $line (@comments) { - $line =~ s/\/\//\/\/\//; - push @after, $line; - } - } - else { - my $line = $comments[0]; - $line =~ /^(\s*)\//; - my $indent = $1; - - push @after, "$indent/**\n"; - foreach $line (@comments) { - $line =~ s/\/\// */; - push @after, $line; - } - push @after, "$indent */\n"; - } - - return @after; -} - -sub fix_class_members (@) -{ - my (@before) = @_; - my @after = (); - my @method = (); - my @comment = (); - - my $classfound = 0; - my $classlevel = 0; - my $level = 0; - - print "Fixing class methods\n" if (defined $opt_d); - - LOOP: foreach $line (@before) { - if ($line =~ /\{/ && $line !~ /^\s*\/\//) { - $level++; - } - - if ($line =~ /^\s*class/ - && $line !~ /\;/ - && $level == $classlevel) - { - $classlevel++; - } - - if ($line =~ /\}/ && $line !~ /^\s*\/\//) { - if ($classlevel == $level) { - $classlevel--; - } - $level--; - } - - printf ("%2d%2d", $level, $classlevel) if (defined $opt_D); - - if ($level == $classlevel && $level > 0) { - if ($line =~ /^\s*public/ - || $line =~ /^\s*private/ - || $line =~ /\s*protected/ - || $line =~ /^\s*\n$/ - || $line =~ /^\s*\{/ - || $line =~ /^\s*\}/ - || $line =~ /^\s*\#/) - { - push @after, format_comment (@comment); - push @after, @method; - @comment = (); - @method = (); - - print " $line" if (defined $opt_D); - push @after, $line; - } - elsif ($line =~ /^\s*\/\//) { - print "C $line" if (defined $opt_D); - - if ($#method >= 0) { - push @comment, $line; - } - else { - push @after, $line; - } - } - else { - print "M $line" if (defined $opt_D); - push @method, $line; - } - - } - else { - push @after, format_comment (@comment); - push @after, @method; - @comment = (); - @method = (); - - print " $line" if (defined $opt_D); - push @after, $line; - } - } - - if ($level > 0 || $classlevel > 0) { - $fail = 1; - $failmessage = "Brace level recognition failed" - } - - return @after; -} - -############################################################################## -# Read in the files. - -FILELOOP: foreach $file (@files) { - print "\n" if (defined $opt_d); - print "$file\n"; - print "\n" if (defined $opt_d); - - $fail = 0; - - my @contents = (); - - ### Read file into @contents - print "Reading\n" if (defined $opt_d); - - unless (open (FILE, "<$file")) { - print STDERR "$file: $!\n"; - next FILELOOP; - } - - @contents = ; - - close (FILE); - - ### Verify file - print "Verifying file\n" if (defined $opt_d); - - if (!defined $opt_u) { - if (verify (@contents) == 1) { - print "$file did not pass verification\n"; - next FILELOOP; - } - elsif (defined $opt_d) { - print "Passed verification\n"; - } - } - - ### Fix up parts of it - print "Fixing file\n" if (defined $opt_d); - - @contents = fix_file_header (@contents); - @contents = fix_class_headers (@contents); - @contents = fix_class_members (@contents); - - if ($fail != 0) { - print "$file: $failmessage\n"; - } - else { - if (defined $opt_s) { - print @contents; - } - elsif (!defined $opt_D) { - ### Save @contents back to the file - print "Saving\n" if (defined $opt_d); - - unless (open (FILE, ">$file")) { - print STDERR "$file: $!\n"; - next FILELOOP; - } - - foreach $line (@contents) { - print FILE $line; - } - - close (FILE); - } - } -} - diff --git a/dep/ACE_wrappers/bin/envinfo.cpp b/dep/ACE_wrappers/bin/envinfo.cpp deleted file mode 100644 index b9228f2d9..000000000 --- a/dep/ACE_wrappers/bin/envinfo.cpp +++ /dev/null @@ -1,40 +0,0 @@ -// $Id: envinfo.cpp 91671 2010-09-08 18:39:23Z johnnyw $ - -#include "ace/ACE.h" -#include "ace/Log_Msg.h" -#include "ace/OS_main.h" -#include "ace/OS_NS_sys_utsname.h" - - - -int -ACE_TMAIN (int, ACE_TCHAR *[]) -{ - ACE_DEBUG ((LM_INFO, ACE_TEXT ("ACE: %u.%u.%u\n"), - ACE::major_version(), - ACE::minor_version(), - ACE::beta_version())); - - ACE_utsname uname; - ACE_OS::uname(&uname); -#if defined (ACE_LACKS_UTSNAME_T) - ACE_DEBUG ((LM_INFO, - ACE_TEXT ("OS: %s %s\n"), - uname.sysname, - uname.release)); -#else - ACE_DEBUG ((LM_INFO, - ACE_TEXT ("OS: %C %C\n"), - uname.sysname, - uname.release)); -#endif - - ACE_DEBUG ((LM_INFO, ACE_TEXT ("Compiler: %s %u.%u\n"), - ACE::compiler_name(), - ACE::compiler_major_version(), - ACE::compiler_minor_version(), - ACE::compiler_beta_version())); - - return 0; -} - diff --git a/dep/ACE_wrappers/bin/footprint_stats.sh b/dep/ACE_wrappers/bin/footprint_stats.sh deleted file mode 100755 index 14e91621c..000000000 --- a/dep/ACE_wrappers/bin/footprint_stats.sh +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/sh -# -# $Id: footprint_stats.sh 84643 2009-02-27 17:24:55Z johnnyw $ -# - - -if [ $# -lt 2 ]; then - echo "Usage: $0 [ACE_ROOT] [DEST]" - exit 0 -fi - -ACE_ROOT=$1 -DEST=$2 -DATE=`date +%Y/%m/%d-%H:%M` - -BINS="TAO/tests/ORB_init/ORB_init TAO/tests/ORB_destroy/ORB_destroy" - -LIBS="ace/libACE.a \ - TAO/tao/libTAO.a \ - TAO/tao/libTAO_PortableServer.a \ - TAO/tao/libTAO_Strategies.a \ - TAO/tao/libTAO_SmartProxies.a \ - TAO/tao/libTAO_DynamicAny.a \ - TAO/tao/libTAO_DynamicInterface.a \ - TAO/tao/libTAO_IFR_Client.a \ - TAO/tao/libTAO_BiDirGIOP.a \ - TAO/tao/libTAO_Domain.a \ - TAO/tao/libTAO_IORManip.a \ - TAO/tao/libTAO_IORTable.a \ - TAO/tao/libTAO_TypeCodeFactory.a \ - TAO/tao/libTAO_RTCORBA.a \ - TAO/tao/libTAO_IORInterceptor.a \ - TAO/tao/libTAO_Messaging.a \ - TAO/tao/libTAO_ObjRefTemplate.a \ - TAO/tao/libTAO_Valuetype.a \ - TAO/tao/libTAO_RTScheduler.a \ - TAO/tao/libTAO_AnyTypeCode.a \ - TAO/tao/libTAO_PI.a \ - TAO/tao/libTAO_PI_Server.a \ - TAO/tao/libTAO_Codeset.a \ - TAO/tao/libTAO_CodecFactory.a \ - TAO/tao/libTAO_RTPortableServer.a" - -cd $ACE_ROOT - -mkdir -p $DEST/source -mkdir -p $DEST/data -mkdir -p $DEST/images - -for i in $BINS; do - b=`basename $i` - if [ -x $i ]; then - ( - echo -n $DATE " "; - size $i | - grep -v text | - awk '{print $4}' - ) >> $DEST/source/${b}_size.txt - fi -done - -for i in $LIBS; do - b=`basename $i`; - if [ -f $i ]; then - ( - echo -n $DATE " "; - size $i | - awk '{s += $4} END {print s}' - ) >> $DEST/source/${b}_size.txt - fi -done - -cd $DEST/source - -for i in $LIBS $BINS; do - b=`basename $i` - /usr/bin/tac ${b}_size.txt > $DEST/data/${b}_size.txt - /usr/bin/tail -5 ${b}_size.txt > $DEST/data/LAST_${b}_size.txt - $ACE_ROOT/bin/generate_footprint_chart.sh ${b}_size.txt $DEST/images/${b}_size.png $b -done diff --git a/dep/ACE_wrappers/bin/fuzz.pl b/dep/ACE_wrappers/bin/fuzz.pl deleted file mode 100755 index cf1ca1b81..000000000 --- a/dep/ACE_wrappers/bin/fuzz.pl +++ /dev/null @@ -1,2201 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id: fuzz.pl 92287 2010-10-20 18:24:39Z johnnyw $ -# Fuzz is a script whose purpose is to check through ACE/TAO/CIAO files for -# easy to spot (by a perl script, at least) problems. - -use lib "$ENV{ACE_ROOT}/bin"; -if (defined $ENV{srcdir}) { - use lib "$ENV{srcdir}/bin"; -} - -use Cwd; -use File::Find; -use File::Basename; -use Getopt::Std; -use PerlACE::Run_Test; - -###### TODO -# -# Add tests for these: -# -# - Guards in .h files -# - no global functions -# - other commit_check checks -# -# And others in ACE_Guidelines and Design Rules -# -# Also add a -g flag to ignore tao_idl generated files -# -###### END TODO - -# Lists of all the files -@files_cdp = (); -@files_cpp = (); -@files_inl = (); -@files_h = (); -@files_html = (); -@files_dsp = (); -@files_dsw = (); -@files_gnu = (); -@files_idl = (); -@files_pl = (); -@files_changelog = (); -@files_makefile = (); -@files_mpc = (); -@files_bor = (); -@files_noncvs = (); -@files_sln = (); -@files_vcproj = (); -@files_run_pl = (); -@files_generic = (); -@files_doxygen = (); - -# To keep track of errors and warnings -$errors = 0; -$warnings = 0; - -############################################################################## - -# Find_Modified_Files will use 'cvs -nq' to get a list of locally modified -# files to look through -sub find_mod_files () -{ - unless (open (CVS, "cvs -nq up |")) { - print STDERR "Error: Could not run cvs\n"; - exit (1); - } - - while () { - if (/^[M|A] (.*)/) { - store_file ($1); - } - } - close (CVS); -} - - - -# Find_Files will search for files with certain extensions in the -# directory tree -sub find_files () -{ - # wanted is only used for the File::Find - sub wanted - { - store_file ($File::Find::name); - } - - find (\&wanted, '.'); -} - -# -sub store_file ($) -{ - my $name = shift; - if ($name =~ /\.(c|cc|cpp|cxx|tpp)$/i) { - push @files_cpp, ($name); - } - elsif ($name =~ /\.(inl|i)$/i) { - push @files_inl, ($name); - } - elsif ($name =~ /\.(h|hh|hpp|hxx)$/i) { - push @files_h, ($name); - } - elsif ($name =~ /\.(htm|html)$/i) { - push @files_html, ($name); - } - elsif ($name =~ /\.(bor)$/i) { - push @files_bor, ($name); - } - elsif ($name =~ /\.(GNU)$/i) { - push @files_gnu, ($name); - } - elsif ($name =~ /\.(dsp|vcp)$/i) { - push @files_dsp, ($name); - } - elsif ($name =~ /\.(dsw|vcp)$/i) { - push @files_dsw, ($name); - } - elsif ($name =~ /\.(pidl|idl|idl3|idl3p)$/i) { - push @files_idl, ($name); - } - elsif ($name =~ /\.pl$/i) { - push @files_pl, ($name); - if ($name =~ /^run.*\.pl$/i) { - push @files_run_pl, ($name); - } - } - elsif ($name =~ /\.vcproj$/i) { - push @files_vcproj, ($name); - } - elsif ($name =~ /\.sln$/i) { - push @files_sln, ($name); - } - elsif ($name =~ /ChangeLog/i && -f $name) { - push @files_changelog, ($name); - } - elsif ($name =~ /\/GNUmakefile.*.[^~]$/) { - push @files_makefile, ($name); - } - elsif ($name =~ /\.(mpc|mwc|mpb|mpt)$/i) { - push @files_mpc, ($name); - } - elsif ($name =~ /\.(icc|ncb|zip)$/i) { - push @files_noncvs, ($name); - } - elsif ($name =~ /\.(cdp)$/i) { - push @files_cdp, ($name); - } - elsif ($name =~ /\.(doxygen)$/i) { - push @files_doxygen, ($name); - } - elsif ($name =~ /\.(pm|cmd|java|sh|txt|xml)$/i) { - push @files_generic, ($name); - } -} - -############################################################################## -## Just messages - -sub print_error ($) -{ - my $msg = shift; - print "Error: $msg\n"; - ++$errors; -} - - -sub print_warning ($) -{ - my $msg = shift; - print "Warning: $msg\n"; - ++$warnings; -} - - -############################################################################## -## Tests - -# The point of this test is to check for the existence of ACE_INLINE -# or ASYS_INLINE in a .cpp file. This is most commonly caused by -# copy/pasted code from a .inl/.i file -sub check_for_inline_in_cpp () -{ - print "Running ACE_INLINE/ASYS_INLINE check\n"; - foreach $file (@files_cpp) { - if (open (FILE, $file)) { - print "Looking at file $file\n" if $opt_d; - while () { - if (/^ACE_INLINE/) { - print_error ("$file:$.: ACE_INLINE found"); - } - if (/^ASYS_INLINE/) { - print_error ("$file:$.: ASYS_INLINE found"); - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# This test checks to make sure files have the $Id string in them. -# Commit_check should find these when checking in files, but this can -# be used locally or to check for files -sub check_for_id_string () -{ - print "Running \$Id\$ string check\n"; - foreach $file (@files_cpp, @files_inl, @files_h, @files_mpc, @files_bor, @files_gnu, - @files_html, @files_idl, @files_pl, @makefile_files, @files_cdp) { - my $found = 0; - if (open (FILE, $file)) { - print "Looking at file $file\n" if $opt_d; - while () { - if (/\$Id\:/ or /\$Id\$/) { - $found = 1; - } - if (/\$id\$/) { - print_error ("$file:$.: Incorrect \$id\$ found (correct casing)"); - } - if (/\$Id:\$/) { - print_error ("$file:$.: Incorrect \$Id:\$ found (remove colon)"); - } - if (/\$Id\$/) { - print_error ("$file:$.: Seems to lack svn:keywords property"); - } - } - close (FILE); - if ($found == 0) { - print_error ("$file:1: No \$Id\$ string found."); - } - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# check for _MSC_VER -sub check_for_msc_ver_string () -{ - print "Running _MSC_VER check\n"; - foreach $file (@files_cpp, @files_inl, @files_h) { - my $found = 0; - if (open (FILE, $file)) { - my $disable = 0; - my $mscline = 0; - print "Looking at file $file\n" if $opt_d; - while () { - if (/FUZZ\: disable check_for_msc_ver/) { - $disable = 1; - } - if (/FUZZ\: enable check_for_msc_ver/) { - $disable = 0; - } - if ($disable == 0 and /\_MSC_VER \<= 1200/) { - $found = 1; - $mscline = $.; - } - if ($disable == 0 and /\_MSC_VER \>= 1200/) { - $found = 1; - $mscline = $.; - } - if ($disable == 0 and /\_MSC_VER \> 1200/) { - $found = 1; - $mscline = $.; - } - if ($disable == 0 and /\_MSC_VER \< 1300/) { - $found = 1; - $mscline = $.; - } - if ($disable == 0 and /\_MSC_VER \<= 1300/) { - $found = 1; - $mscline = $.; - } - if ($disable == 0 and /\_MSC_VER \>= 1300/) { - $found = 1; - $mscline = $.; - } - if ($disable == 0 and /\_MSC_VER \< 1310/) { - $found = 1; - $mscline = $.; - } - if ($disable == 0 and /\_MSC_VER \>= 1310/) { - $found = 1; - $mscline = $.; - } - } - close (FILE); - if ($found == 1) { - print_error ("$file:$mscline: Incorrect _MSC_VER check found"); - } - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# This test checks for the newline at the end of a file -sub check_for_newline () -{ - print "Running newline check\n"; - foreach $file (@files_cpp, @files_inl, @files_h, - @files_html, @files_idl, @files_pl) { - if (open (FILE, $file)) { - my $line; - print "Looking at file $file\n" if $opt_d; - while () { - $line = $_ - } - close (FILE); - if ($line !~ /\n$/) { - print_error ("$file:$.: No ending newline found in $file"); - } - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - - -# This test checks for files that are not allowed to be in svn -sub check_for_noncvs_files () -{ - print "Running non svn files check\n"; - foreach $file (@files_noncvs, @files_dsp, @files_dsw, @files_makefile, @files_bor) { - print_error ("File $file should not be in svn!"); - } -} - -# This test checks for the use of ACE_SYNCH_MUTEX in TAO/CIAO, -# TAO_SYNCH_MUTEX should used instead. - -sub check_for_ACE_SYNCH_MUTEX () -{ - print "Running ACE_SYNCH_MUTEX check\n"; - ITERATION: foreach $file (@files_cpp, @files_inl, @files_h) { - if (open (FILE, $file)) { - my $disable = 0; - print "Looking at file $file\n" if $opt_d; - while () { - if (/FUZZ\: disable check_for_ACE_SYNCH_MUTEX/) { - $disable = 1; - } - if (/FUZZ\: enable check_for_ACE_SYNCH_MUTEX/) { - $disable = 0; - next; - } - if ($disable == 0 and /ACE_SYNCH_MUTEX/) { - # It is okay to use ACE_SYNCH_MUTEX in ACE - # so don't check the ACE directory. The below - # will check it for TAO and CIAO. - if (($file !~ /.*TAO.*/)) { - next ITERATION; - } - - # Disable the check in the ESF directory for the - # time being until we fix the issues there. - if(($file =~ /.*TAO\/orbsvcs\/orbsvcs\/ESF.*/)) { - next ITERATION; - } - - print_error ("$file:$.: found ACE_SYNCH_MUTEX, use TAO_SYNCH_MUTEX instead"); - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# This test checks for not having export files in CIAO, all have to be --- -# generated using TAO_IDL. If you have a file that must be in the repository -# remove the generated automatically by line -sub check_for_export_file () -{ - print "Running export file check\n"; - ITERATION: foreach $file (@files_h) { - if (($file =~ /.*CIAO.*export.h/) || ($file =~ /.*DAnCE.*export.h/)) { - if (open (FILE, $file)) { - print "Looking at file $file\n" if $opt_d; - while () { - if (/generated automatically by/) { - print_error ("$file:$.: found should be generated by TAO_IDL, check -Gxh** option"); - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } - } -} - - -# This test checks for the use of ACE_Thread_Mutex in TAO/CIAO, -# TAO_SYNCH_MUTEX should used instead to make the code build -# in single-threaded builds. -sub check_for_ACE_Thread_Mutex () -{ - print "Running ACE_Thread_Mutex check\n"; - ITERATION: foreach $file (@files_cpp, @files_inl, @files_h) { - if (open (FILE, $file)) { - my $disable = 0; - print "Looking at file $file\n" if $opt_d; - while () { - if (/FUZZ\: disable check_for_ACE_Thread_Mutex/) { - $disable = 1; - } - if (/FUZZ\: enable check_for_ACE_Thread_Mutex/) { - $disable = 0; - } - if ($disable == 0 and /ACE_Thread_Mutex/) { - # It is okay to use ACE_Thread_Mutex in ACE - # so don't check the ACE directory. The below - # will check it for TAO and CIAO. - if (($file !~ /.*TAO.*/)) { - next ITERATION; - } - - print_error ("$file:$.: found ACE_Thread_Mutex, use TAO_SYNCH_MUTEX instead to allow the code to work in single-threaded builds"); - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# This test checks for the use of ACE_Guard -# ACE_GUARD should used because it checks if we really got a lock -# in single-threaded builds. -sub check_for_ACE_Guard () -{ - print "Running ACE_Guard check\n"; - ITERATION: foreach $file (@files_cpp, @files_inl, @files_h) { - if (open (FILE, $file)) { - my $disable = 0; - print "Looking at file $file\n" if $opt_d; - while () { - if (/FUZZ\: disable check_for_ACE_Guard/) { - $disable = 1; - } - if (/FUZZ\: enable check_for_ACE_Guard/) { - $disable = 0; - next; - } - if ($disable == 0 and /ACE_Guard/) { - print_error ("$file:$.: found ACE_Guard, use ACE_GUARD"); - } - if ($disable == 0 and /ACE_Read_Guard/) { - print_error ("$file:$.: found ACE_Read_Guard, use ACE_READ_GUARD"); - } - if ($disable == 0 and /ACE_Write_Guard/) { - print_error ("$file:$.: found ACE_Write_Guard, use ACE_WRITE_GUARD"); - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# This test checks for the use of tabs, spaces should be used instead of tabs -sub check_for_tab () -{ - print "Running tabs check\n"; - ITERATION: foreach $file (@files_cpp, @files_inl, @files_h, @files_idl, @files_cdp, @files_doxygen) { - if (open (FILE, $file)) { - my $disable = 0; - print "Looking at file $file\n" if $opt_d; - while () { - if (/FUZZ\: disable check_for_tab/) { - $disable = 1; - } - if (/FUZZ\: enable check_for_tab/) { - $disable = 0; - } - if ($disable == 0 and /.*\t.*/) { - print_error ("$file:$.: found tab"); - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -sub check_for_trailing_whitespace () -{ - print "Running trailing_whitespaces check\n"; - ITERATION: foreach $file (@files_cpp, @files_inl, @files_h, @files_idl, - @files_cdp, @files_pl, @files_generic) { - if (open (FILE, $file)) { - my $disable = 0; - print "Looking at file $file\n" if $opt_d; - while () { - if (/FUZZ\: disable check_for_trailing_whitespace/) { - $disable = 1; - } - if (/FUZZ\: enable check_for_trailing_whitespace/) { - $disable = 0; - } - if ($disable == 0 and /\s\n$/) { - print_error ("$file:$.: found trailing whitespace"); - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# This test checks for the lack of ACE_OS -sub check_for_lack_ACE_OS () -{ - $OS_NS_arpa_inet_symbols = "inet_addr|inet_aton|inet_ntoa|inet_ntop|inet_pton"; - - $OS_NS_ctype_symbols = "isalnum|isalpha|iscntrl|isdigit|isgraph|islower|isprint|ispunct|isspace|isupper|isxdigit|tolower|toupper|isblank|isascii|isctype|iswctype"; - - $OS_NS_dirent_symbols = "closedir|opendir|readdir|readdir_r|rewinddir|scandir|alphasort|seekdir|telldir|opendir_emulation|scandir_emulation|closedir_emulation|readdir_emulation"; - - $OS_NS_dlfcn_symbols = "dlclose|dlerror|dlopen|dlsym"; - - $OS_NS_errno_symbols = "last_error|set_errno_to_last_error|set_errno_to_wsa_last_error"; - - $OS_NS_fcntl_symbols = "fcntl|open"; - - $OS_NS_math_symbols = "floor|ceil|log2"; - - $OS_NS_netdb_symbols = "gethostbyaddr|gethostbyaddr_r|gethostbyname|gethostbyname_r|getipnodebyaddr|getipnodebyname|getmacaddress|getprotobyname|getprotobyname_r|getprotobynumber|getprotobynumber_r|getservbyname|getservbyname_r|netdb_acquire|netdb_release"; - - $OS_NS_poll_symbols = "poll"; - - $OS_NS_pwd_symbols = "endpwent|getpwent|getpwnam|getpwnam_r|setpwent"; - - $OS_NS_regex_symbols = "compile|step"; - - $OS_NS_signal_symbols = "kill|pthread_sigmask|sigaction|sigaddset|sigdelset|sigemptyset|sigfillset|sigismember|signal|sigprocmask|sigsuspend|raise"; - - $OS_NS_stdio_symbols = "fileno|checkUnicodeFormat|clearerr|cuserid|fclose|fdopen|fflush|fgetc|getc|fgetpos|fgets|flock_adjust_params|flock_init|flock_destroy|flock_rdlock|flock_tryrdlock|flock_trywrlock|flock_unlock|flock_wrlock|fopen|default_win32_security_attributes|default_win32_security_attributes_r|get_win32_versioninfo|get_win32_resource_module|set_win32_resource_module|fprintf|ungetc|fputc|putc|fputs|fread|freopen|fseek|fsetpos|ftell|fwrite|perror|printf|puts|rename|rewind|snprintf|sprintf|tempnam|vsprintf|vsnprintf|asprintf|aswprintf|vasprintf|vaswprintf"; - - $OS_NS_stdlib_symbols = "_exit|abort|atexit|atof|atol|atoi|atop|bsearch|calloc|exit|free|getenv|getenvstrings|itoa|itoa_emulation|itow_emulation|malloc|mkstemp|mkstemp_emulation|mktemp|setenv|unsetenv|putenv|qsort|rand|rand_r|realloc|realpath|set_exit_hook|srand|strenvdup|strtod|strtol|strtol_emulation|strtoul|strtoul_emulation|strtoll|strtoll_emulation|strtoull|strtoull_emulation|system|getprogname|setprogname"; - - $OS_NS_string_symbols = "memchr|memchr_emulation|memcmp|memcpy|fast_memcpy|memmove|memset|strcat|strchr|strcmp|strcpy|strcspn|strdup|strdup_emulation|strecpy|strerror|strerror_emulation|strsignal|strlen|strncat|strnchr|strncmp|strncpy|strnlen|strnstr|strpbrk|strrchr|strrchr_emulation|strsncpy|strspn|strstr|strtok|strtok_r|strtok_r_emulation"; - - $OS_NS_strings_symbols = "strcasecmp|strncasecmp|strcasecmp_emulation"; - - $OS_NS_stropts_symbols = "getmsg|getpmsg|fattach|fdetach|ioctl|isastream|putmsg|putpmsg"; - - $OS_NS_sys_mman_symbols = "madvise|mmap|mprotect|msync|munmap|shm_open|shm_unlink"; - - $OS_NS_sys_msg_symbols = "msgctl|msgget|msgrcv|msgsnd"; - - $OS_NS_sys_resource_symbols = "getrlimit|getrusage|setrlimit"; - - $OS_NS_sys_select_symbols = "select"; - - $OS_NS_sys_sendfile_symbols = "sendfile|sendfile_emulation"; - - $OS_NS_sys_shm_symbols = "shmat|shmctl|shmdt|shmget"; - - $OS_NS_sys_socket_symbols = "accept|bind|closesocket|connect|enum_protocols|getpeername|getsockname|getsockopt|join_leaf|listen|recv|recvfrom|recvmsg|recvv|send|sendmsg|sendto|sendv|setsockopt|shutdown|if_nametoindex|if_indextoname|if_nameindex|socket_init|socket_fini|socket|socketpair"; - - $OS_NS_sys_stat_symbols = "creat|filesize|fstat|lstat|mkdir|mkfifo|stat|umask"; - - $OS_NS_sys_time_symbols = "gettimeofday"; - - $OS_NS_sys_uio_symbols = "readv|readv_emulation|writev|writev_emulation"; - - $OS_NS_sys_utsname_symbols = "uname"; - - $OS_NS_sys_wait_symbols = "wait|waitpid"; - - $OS_NS_Thread_symbols = "cleanup_tss|condattr_init|condattr_destroy|cond_broadcast|cond_destroy|cond_init|cond_signal|cond_timedwait|cond_wait|event_destroy|event_init|event_pulse|event_reset|event_signal|event_timedwait|event_wait|lwp_getparams|lwp_setparams|mutex_destroy|mutex_init|mutex_lock|mutex_lock_cleanup|mutex_trylock|mutex_unlock|priority_control|recursive_mutex_cond_unlock|recursive_mutex_cond_relock|recursive_mutex_destroy|recursive_mutex_init|recursive_mutex_lock|recursive_mutex_trylock|recursive_mutex_unlock|rw_rdlock|rw_tryrdlock|rw_trywrlock|rw_trywrlock_upgrade|rw_unlock|rw_wrlock|rwlock_destroy|rwlock_init|sched_params|scheduling_class|sema_destroy|sema_init|sema_post|sema_trywait|sema_wait|semctl|semget|semop|set_scheduling_params|sigtimedwait|sigwait|sigwaitinfo|thr_cancel|thr_cmp|thr_continue|thr_create|thr_equal|thr_exit|thr_getconcurrency|thr_getprio|thr_getspecific_native|thr_getspecific|thr_join|thr_get_affinity|thr_set_affinity|thr_key_detach|thr_key_used|thr_keycreate_native|thr_keycreate|thr_keyfree|thr_kill|thr_min_stack|thr_self|thr_setcancelstate|thr_setcanceltype|thr_setconcurrency|thr_setprio|thr_setspecific_native|thr_setspecific|thr_sigsetmask|thr_suspend|thr_testcancel|thr_yield|thread_mutex_destroy|thread_mutex_init|thread_mutex_lock|thread_mutex_trylock|thread_mutex_unlock|unique_name"; - - $OS_NS_time_symbols = "asctime|asctime_r|clock_gettime|clock_settime|ctime|ctime_r|difftime|gmtime|gmtime_r|localtime|localtime_r|mktime|nanosleep|readPPCTimeBase|strftime|strptime|strptime_emulation|strptime_getnum|time|timezone|tzset"; - - $OS_NS_unistd_symbols = "access|alarm|allocation_granularity|argv_to_string|chdir|rmdir|close|dup|dup2|execl|execle|execlp|execv|execve|execvp|fork|fork_exec|fsync|ftruncate|getcwd|getgid|getegid|getopt|getpagesize|getpgid|getpid|getppid|getuid|geteuid|hostname|isatty|lseek|llseek|num_processors|num_processors_online|pipe|pread|pwrite|read|read_n|readlink|sbrk|setgid|setegid|setpgid|setregid|setreuid|setsid|setuid|seteuid|sleep|string_to_argv|swab|sysconf|sysinfo|truncate|ualarm|unlink|write|write_n"; - - $OS_NS_wchar_symbols = "fgetwc|wcscat_emulation|wcschr_emulation|wcscmp_emulation|wcscpy_emulation|wcscspn_emulation|wcsicmp_emulation|wcslen_emulation|wcsncat_emulation|wcsncmp_emulation|wcsncpy_emulation|wcsnicmp_emulation|wcspbrk_emulation|wcsrchr_emulation|wcsrchr_emulation|wcsspn_emulation|wcsstr_emulation|wslen|wscpy|wscmp|wsncmp|ungetwc"; - - print "Running ACE_OS check\n"; - foreach $file (@files_cpp, @files_inl) { - if (open (FILE, $file)) { - my $disable = 0; - print "Looking at file $file\n" if $opt_d; - while () { - if (/FUZZ\: disable check_for_lack_ACE_OS/) { - $disable = 1; - } - if (/FUZZ\: enable check_for_lack_ACE_OS/) { - $disable = 0; - } - if ($disable == 0) { - if($file !~ /.c$/ && $file !~ /S.cpp$/ && $file !~ /S.inl$/ && $file !~ /C.cpp$/ && $file !~ /C.inl$/) { - if($file !~ /OS_NS_arpa_inet/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_arpa_inet_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_arpa_inet.h"); - } - } - if($file !~ /OS_NS_ctype/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_ctype_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_ctype.h"); - } - } - if($file !~ /OS_NS_dirent/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_dirent_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_dirent.h"); - } - } - if($file !~ /OS_NS_dlfcn/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_dlfcn_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_dlfcn.h"); - } - } - if($file !~ /OS_NS_errno/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_errno_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_errno.h"); - } - } - if($file !~ /OS_NS_fcntl/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_fcntl_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_fcntl.h"); - } - } - if($file !~ /OS_NS_math/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_math_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_math."); - } - } - if($file !~ /OS_NS_netdb/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_netdb_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_netdb.h"); - } - } - if($file !~ /OS_NS_poll/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_netdb_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_poll.h"); - } - } - if($file !~ /OS_NS_pwd/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_pwd_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_pwd.h"); - } - } - if($file !~ /OS_NS_regex/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_regex_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_regex.h"); - } - } - if($file !~ /OS_NS_signal/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_signal_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_signal.h"); - } - } - if($file !~ /OS_NS_stdlib/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_stdlib_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_stdlib.h"); - } - } - if($file !~ /OS_NS_stdio/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_stdio_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_stdio.h"); - } - } - if($file !~ /OS_NS_string/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_string_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_string.h"); - } - } - if($file !~ /OS_NS_strings/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_strings_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_strings.h"); - } - } - if($file !~ /OS_NS_stropts/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_stropts_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_stropts.h"); - } - } - if($file !~ /OS_NS_sys_mman/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_sys_mman_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_sys_mman.h"); - } - } - if($file !~ /OS_NS_sys_msg/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_sys_msg_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_sys_msg.h"); - } - } - if($file !~ /OS_NS_sys_resource/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_sys_resource_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_sys_resource.h"); - } - } - if($file !~ /OS_NS_sys_select/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_sys_select_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_sys_select.h"); - } - } - if($file !~ /OS_NS_sys_sendfile/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_sys_sendfile_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_sys_sendfile.h"); - } - } - if($file !~ /OS_NS_sys_shm/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_sys_shm_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_sys_shm.h"); - } - } - if($file !~ /OS_NS_sys_socket/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_sys_socket_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_sys_socket.h"); - } - } - if($file !~ /OS_NS_sys_stat/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_sys_stat_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_sys_stat.h"); - } - } - if($file !~ /OS_NS_sys_time/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_sys_time_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_sys_time.h"); - } - } - if($file !~ /OS_NS_sys_uio/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_sys_uio_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_sys_uio.h"); - } - } - if($file !~ /OS_NS_sys_utsname/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_sys_utsname_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_sys_utsname.h"); - } - } - if($file !~ /OS_NS_sys_wait/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_sys_wait_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_sys_wait.h"); - } - } - if($file !~ /OS_NS_Thread/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_Thread_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_Thread.h"); - } - } - if($file !~ /OS_NS_time/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_time_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_time.h"); - } - } - if($file !~ /OS_NS_unistd/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_unistd_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_unistd.h"); - } - } - if($file !~ /OS_NS_wchar/) { - if(/(\s+:{0,2}|\(:{0,2}|\s*!:{0,2}|^|\):{0,2})($OS_NS_wchar_symbols)\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: missing ACE_OS use ace/OS_NS_wchar.h"); - } - } - } - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# This test checks for the use of exception specification, -# exception specification has fallen out of favor, and generally -# should not be used. -sub check_for_exception_spec () -{ - print "Running exception specification check\n"; - - foreach $file (@files_cpp, @files_inl, @files_h) { - if (open (FILE, $file)) { - my $disable = 0; - print "Looking at file $file\n" if $opt_d; - while () { - if (/FUZZ\: disable check_for_exception_sepc/) { - $disable = 1; - } - if (/FUZZ\: enable check_for_exception_sepc/) { - $disable = 0; - } - if ($disable == 0) { - if(/throw\s*\(\s*\)/) { - #next; - } - elsif(/(^|\s+)throw\s*\(/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: exception specification found"); - } - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# This test checks for the use of NULL, -# NULL shouldn't be used, use 0 instead -sub check_for_NULL () -{ - print "Running NULL usage check\n"; - - foreach $file (@files_cpp, @files_inl, @files_h) { - if (open (FILE, $file)) { - my $disable = 0; - print "Looking at file $file\n" if $opt_d; - while () { - if (/FUZZ\: disable check_for_NULL/) { - $disable = 1; - } - if (/FUZZ\: enable check_for_NULL/) { - $disable = 0; - } - if ($disable == 0) { - if(/(\(|\)|\s+|=)NULL(\)|\s+|\;|\,)/ and $` !~ /\/\// and $` !~ /\/\*/ and $` !~ /\*\*+/ and $` !~ /\s+\*+\s+/) { - print_error ("$file:$.: NULL found"); - } - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# This test checks for improper main declaration, -# the proper form should look like: -# int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) -sub check_for_improper_main_declaration () -{ - print "Running Improper main() declaration check\n"; - - foreach $file (@files_cpp) { - if (open (FILE, $file)) { - my $disable = 0; - my $type_of_main; - my $multi_line; - my $not_found_end_line_count= 0; - print "Looking at file $file\n" if $opt_d; - while () { - if (!defined $multi_line) { - if (/FUZZ\: disable check_for_improper_main_declaration/) { - $disable = 1; - next; - } - elsif (/FUZZ\: enable check_for_improper_main_declaration/) { - $disable = 0; - next; - } - elsif ($disable == 0) { - s/^\s+//; ## Remove leading space - s/\s*(\/\/.*)?$//; ## Remove trailing space and line comments - if (s/^(?:.*\s)?(main|ACE_TMAIN)\s*//) { - $type_of_main = $1; ## main or ACE_TMAIN - $multi_line = $_; ## Rest of the line - } - else { - next; - } - } - } - else { - $_ =~ s/^\s+//; ## Remove leading space - $_ =~ s/\s*(\/\/.*)?$//; ## Remove trailling space and line comments - if ($multi_line eq "") { ## Append this line to existing statement. - $multi_line = $_; - } - else { - $multi_line .= ' ' . $_; - } - } - $multi_line =~ s!^(/+\*.*?\*/\s*)*!!; ## Remove leading /* ... */ comments - next if ($multi_line eq ""); ## Must have something after main - if ($multi_line !~ m/^\(/) { - ## Not a function opening bracket, we will ignore this one - ## it is not a main function. - undef $multi_line; - $not_found_end_line_count = 0; - } - elsif ($multi_line =~ s/^\(\s*([^\)]*?)\s*\)[^;\{]*?\{//) { - $multi_line = $1; ## What was between the main's ( and ) - $multi_line =~ s/\s{2,}/ /g; ## Compress white space - my $was = $multi_line; - $multi_line =~ s!([^/])\*\s([^/])!$1\*$2!g; ## Remove space after * (except around comment) - $multi_line =~ s!([^/])\s\[!$1\[!g; ## Remove space before [ (except following comment) - $multi_line =~ s!\s?\*/\s?/\*\s?! !g; ## Connect seporate adjacent /* ... */ comments - if ($multi_line =~ s!^([^,]*?)\s?,\s?(/+\*.*?\*/\s?)*!!) { # Fails if only 1 parameter (ignore this main) - my $arg1 = $1; - if ($multi_line =~ s/^(\w[\w\d]*)\s?//) { # Fails if no type for 2nd parameter (ignore this main) - my $arg2_type = $1; - $multi_line =~ s!^(?:/+\*.*?\*/\s?)?(\**)(\w[\w\d]*|\s?/\*.*?\*/\s?)?!!; - my $prefix = $1; ## should be * or ** - my $name = $2; ## is now arg2's variable name - $multi_line =~ s!\s?\*/\s?/\*\s?! !g; ## Connect seporate adjacent /* ... */ comments - - ## remove any comment after postfix - if ($multi_line =~ s!\s?(/+\*.*?\*/)$!! && $name eq '') { - $name = "$1 "; ## Some name argv in comment after [] - } - ## multi_line now postfix, should be [] - - if ($type_of_main ne 'ACE_TMAIN' || - $arg2_type ne 'ACE_TCHAR' || - !(($prefix eq '*' && $multi_line eq '[]') || - ($prefix eq '**' && $multi_line eq '' )) ) { - print_error ("$file:$.: $type_of_main ($was) should be ACE_TMAIN ($arg1, ACE_TCHAR \*$name\[])"); - } - } - } - - undef $multi_line; - $not_found_end_line_count = 0; - } - elsif ($not_found_end_line_count < 10) { # Limit the search for ( ... ) following main to ten lines - ++$not_found_end_line_count; - } - else { - undef $multi_line; - $not_found_end_line_count = 0; - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# This test checks for the use of "inline" instead of ACE_INLINE -sub check_for_inline () -{ - print "Running inline check\n"; - foreach $file (@files_inl) { - if (open (FILE, $file)) { - my $disable = 0; - print "Looking at file $file\n" if $opt_d; - while () { - if (/FUZZ\: disable check_for_inline/) { - $disable = 1; - } - if (/FUZZ\: enable check_for_inline/) { - $disable = 0; - } - if ($disable == 0 and m/^\s*inline/) { - print_error ("$file:$.: 'inline' keyword found"); - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - - -# This test checks for the inclusion of math.h. math.h should be avoided -# since on some platforms, "exceptions" is defined as a struct, which will -# cause problems with exception handling -sub check_for_math_include () -{ - print "Running math.h test\n"; - foreach $file (@files_h, @files_cpp, @files_inl) { - if (open (FILE, $file)) { - my $disable = 0; - print "Looking at file $file\n" if $opt_d; - while () { - if (/FUZZ\: disable check_for_math_include/) { - $disable = 1; - } - if (/FUZZ\: enable check_for_math_include/) { - $disable = 0; - } - if ($disable == 0 - and /^\s*#\s*include\s*(\/\*\*\/){0,1}\s*\/) { - print_error ("$file:$.: included"); - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# This test checks for the inclusion of streams.h. -# // FUZZ: disable check_for_streams_include -sub check_for_streams_include () -{ - print "Running ace/streams.h test\n"; - foreach $file (@files_h, @files_cpp, @files_inl) { - if (open (FILE, $file)) { - my $disable = 0; - print "Looking at file $file\n" if $opt_d; - while () { - if (/FUZZ\: disable check_for_streams_include/) { - $disable = 1; - } - if (/FUZZ\: enable check_for_streams_include/) { - $disable = 0; - } - if ($disable == 0 - and /^\s*#\s*include\s*\"ace\/streams\.h\"/) { - print_error ("$file:$.: expensive ace/streams.h included; consider ace/iosfwd.h"); - print " ace/streams.h is very expensive in both "; - print "compile-time and footprint. \n"; - print " Please consider including ace/iosfwd.h instead.\n\n"; - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# This test checks for the inclusion of Synch*.h. -sub check_for_synch_include () -{ - print "Running ace/Synch*.h test\n"; - foreach $file (@files_h, @files_cpp, @files_inl) { - if (open (FILE, $file)) { - my $disable = 0; - print "Looking at file $file\n" if $opt_d; - while () { - if (/FUZZ\: disable check_for_synch_include/) { - $disable = 1; - } - if (/FUZZ\: enable check_for_synch_include/) { - $disable = 0; - } - if ($disable == 0 - and (/^\s*#\s*include\s*\"(ace\/Synch\.h)\"/ - or /^\s*#\s*include\s*\"(ace\/Synch_T\.h)\"/)) { - my $synch = $1; - print_error ("$file:$.: expensive $synch included; consider individual synch file"); - print " $synch is very expensive in both "; - print "compile-time and footprint. \n"; - print " Please consider including one of the "; - print "individual synch files instead.\n\n"; - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# For general readability, lines should not contain more than 80 characters -sub check_for_line_length () -{ - print "Running line length test\n"; - foreach $file (@files_h, @files_cpp, @files_inl) { - if (open (FILE, $file)) { - print "Looking at file $file\n" if $opt_d; - while () { - - # Make sure to ignore ACE_RCSID lines, since they - # are difficult to get under 80 chars. - if (/.{80,}/ and !/^ACE_RCSID/) { - print_error ("$file:$.: line longer than 80 chars"); - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - - -# For preprocessor directives, only the old C style comments (/* */) -# should be used, not the newer // style. -sub check_for_preprocessor_comments () -{ - print "Running preprocessor comment test\n"; - foreach $file (@files_h, @files_cpp, @files_inl) { - if (open (FILE, $file)) { - print "Looking at file $file\n" if $opt_d; - while () { - if (/^\#.*\/\//) { - print_error ("$file:$.: C++ comment in directive"); - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# We should not have empty files in the repo -sub check_for_empty_files () -{ - print "Running empty file test\n"; - foreach $file (@files_inl, @files_cpp) { - my $found_non_empty_line = 0; - if (open (FILE, $file)) { - print "Looking at file $file\n" if $opt_d; - while () { - next if /^[:blank:]*$/; # skip empty lines - next if /^[:blank:]*\/\//; # skip C++ comments - next if /^[:blank:]*\/\*/; # skip C++ comments - $found_non_empty_line = 1; - last; - } - close (FILE); - if ($found_non_empty_line == 0) { - print_error ("$file:1: empty file should not be in the repository"); - } - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - - -# This test checks for the use of the Win32 Unicode string defines -# or outdated ASYS_* macros -# We should only be using the ACE_TCHAR, ACE_TEXT macros instead. -sub check_for_tchar -{ - print "Running TCHAR test\n"; - foreach $file (@files_h, @files_cpp, @files_inl) { - if (open (FILE, $file)) { - my $disable = 0; - print "Looking at file $file\n" if $opt_d; - while () { - if (/FUZZ\: disable check_for_tchar/) { - $disable = 1; - } - if (/FUZZ\: enable check_for_tchar/) { - $disable = 0; - } - if ($disable == 0) { - if (/LPTSTR/) { - print_error ("$file:$.: LPTSTR found"); - } - - if (/LPCTSTR/) { - print_error ("$file:$.: LPCTSTR found"); - } - - if (/ASYS_TCHAR/) { - print_error ("$file:$.: ASYS_TCHAR found"); - } - elsif (/TCHAR/ and !/ACE_TCHAR/) { - ### Do a double check, since some macros do have TCHAR - ### (like DEFAULTCHARS) - if (/^TCHAR[^\w_]/ or /[^\w_]TCHAR[^\w_]/) { - print_error ("$file:$.: TCHAR found"); - } - } - - if (/ASYS_TEXT/) { - print_error ("$file:$.: ASYS_TEXT found"); - } - elsif (/TEXT/ and !/ACE_TEXT/) { - ### Do a double check, since there are several macros - ### that end with TEXT - if (/^TEXT\s*\(/ or /[^\w_]TEXT\s*\(/) { - print_error ("$file:$.: TEXT found"); - } - } - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# This checks to see if Makefiles define a DEPENDENCY_FILE, and if they do -# whether or not it's in the cvs repo. -sub check_for_dependency_file () -{ - print "Running DEPENDENCY_FILE test\n"; - foreach $file (@files_makefile) { - if (open (FILE, $file)) { - print "Looking at file $file\n" if $opt_d; - while () { - if (/^DEPENDENCY_FILE\s* =\s*(.*)/) { - my $depend = $1; - my $path = $file; - $path =~ s/\/GNUmakefile.*/\//; - $depend = $path . $depend; - unless (open (DFILE, $depend)) { - print_error ("DEPENDENCY_FILE \"$depend\" not found"); - print " Either add \"$depend\" to svn "; - print "or remove DEPENDENCY_FILE variable\n"; - print " from $file\n\n"; - } - close (DFILE); - } - } - close (FILE); - } - else { - print_error ("cannot open $file"); - } - } -} - -# This checks to see if GNUmakefiles define a MAKEFILE, and if it matches the -# name of the GNUmakefile -sub check_for_makefile_variable () -{ - print "Running MAKEFILE variable test\n"; - foreach $file (@files_makefile) { - if (!(substr($file,-4) eq ".bor") - and !(substr($file,-3) eq ".am") - and !(substr($file,-4) eq ".vac") - and !(substr($file,-4) eq ".alt")) { - if (open (FILE, $file)) { - print "Looking at file $file\n" if $opt_d; - my $makevarfound = 0; - my $filename = basename($file,""); - while () { - if (/^MAKEFILE\s*=\s*(.*)/) { - $makevarfound = 1; - $makevar = $1; - if (!($makevar eq $filename)) { - print_error ("$file:$.: MAKEFILE variable $makevar != $filename"); - print " Change MAKEFILE = $filename in $file.\n\n"; - } - } - } - if ($makevarfound == 0 and !($filename eq "GNUmakefile")) { - print_error ("$file:$.: MAKEFILE variable missing in $file"); - print " Add MAKEFILE = $filename to the top of $file.\n\n"; - } - close (FILE); - } - else { - print_error ("cannot open $file"); - } - } - } -} - - -# This checks to make sure files include ace/post.h if ace/pre.h is included -# and vice versa. -sub check_for_pre_and_post () -{ - print "Running pre.h/post.h test\n"; - foreach $file (@files_h) { - my $pre = 0; - my $post = 0; - if (open (FILE, $file)) { - my $disable = 0; - print "Looking at file $file\n" if $opt_d; - while () { - if (/FUZZ\: disable check_for_pre_and_post/) { - $disable = 1; - } - if (/FUZZ\: enable check_for_pre_and_post/) { - $disable = 0; - } - if ($disable == 0) { - if (/^\s*#\s*include\s*\"ace\/pre\.h\"/) { - print_error ("$file:$.: pre.h missing \"/**/\""); - ++$pre; - } - if (/^\s*#\s*include\s*\s*\"ace\/post\.h\"/) { - print_error ("$file:$.: post.h missing \"/**/\""); - ++$post; - } - if (/^\s*#\s*include\s*\/\*\*\/\s*\"ace\/pre\.h\"/) { - ++$pre; - } - if (/^\s*#\s*include\s*\/\*\*\/\s*\"ace\/post\.h\"/) { - ++$post; - } - } - } - close (FILE); - - if ($disable == 0 && $pre != $post) { - print_error ("$file:1: pre.h/post.h mismatch"); - } - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# This test verifies that the same number of "#pragma warning(push)" and -# "#pragma warning(pop)" pragmas are used in a given header. -sub check_for_push_and_pop () -{ - print "Running #pragma (push)/(pop) test\n"; - foreach $file (@files_h) { - my $push_count = 0; - my $pop_count = 0; - if (open (FILE, $file)) { - my $disable = 0; - print "Looking at file $file\n" if $opt_d; - while () { - if (/FUZZ\: disable check_for_push_and_pop/) { - $disable = 1; - } - if (/FUZZ\: enable check_for_push_and_pop/) { - $disable = 0; - } - if ($disable == 0) { - if (/^\s*#\s*pragma\s*warning\s*\(\s*push[,1-4]*\s*\)/) { - ++$push_count; - } - if (/^\s*#\s*pragma\s*warning\s*\(\s*pop\s*\)/) { - ++$pop_count; - } - } - } - close (FILE); - - if ($disable == 0 && $push_count != $pop_count) { - print_error ("$file: #pragma warning(push)/(pop) mismatch"); - } - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# This test verifies that the same number of -# "ACE_VERSIONED_NAMESPACE_BEGIN_DECL" and -# "ACE_END_VERSIONED_NAMESPACE_DECL" macros are used in a given -# source file. -sub check_for_versioned_namespace_begin_end () -{ - print "Running versioned namespace begin/end test\n"; - foreach $file (@files_cpp, @files_inl, @files_h) { - my $begin_count = 0; - my $end_count = 0; - if (open (FILE, $file)) { - print "Looking at file $file\n" if $opt_d; - while () { - if (/^\s*\w+_BEGIN_VERSIONED_NAMESPACE_DECL/) { - ++$begin_count; - } - if (/^\s*\w+_END_VERSIONED_NAMESPACE_DECL/) { - ++$end_count; - } - if ($begin_count > $end_count and - /^\s*#\s*include(\s*\/\*\*\/)?\s*"/) { - print_error ("$file:$.: #include directive within Versioned namespace block"); - } - } - - close (FILE); - - if ($begin_count != $end_count) { - print_error ("$file: Versioned namespace begin($begin_count)/end($end_count) mismatch"); - } - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - - -# Check doxygen @file comments -sub check_for_mismatched_filename () -{ - print "Running doxygen \@file test\n"; - foreach $file (@files_h, @files_cpp, @files_inl, @files_idl) { - if (open (FILE, $file)) { - my $disable = 0; - print "Looking at file $file\n" if $opt_d; - while () { - if (m/\@file\s*([^\s]+)/){ - # $file includes complete path, $1 is the name after - # @file. We must strip the complete path from $file. - # we do that using the basename function from - # File::BaseName - $filename = basename($file,""); - if (!($filename eq $1)){ - print_error ("$file:$.: \@file mismatch in $file, found $1"); - } - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# check for bad run_test -sub check_for_bad_run_test () -{ - print "Running run_test.pl test\n"; - foreach $file (@files_run_pl) { - if (open (FILE, $file)) { - my $is_run_test = 0; - my $sub = 0; - - if (($file =~ /.*TAO\/examples\/Advanced.*/)) { - next ITERATION; - } - if (($file =~ /.*TAO\/orbsvcs\/examples\/Security\/Send_File.*/)) { - next ITERATION; - } - - print "Looking at file $file\n" if $opt_d; - - while () { - if (m/PerlACE/ || m/ACEutils/) { - $is_run_test = 1; - } - - if ($is_run_test == 1) { - if (m/ACEutils/) { - print_error ("$file:$.: ACEutils.pm still in use"); - } - - if (m/unshift \@INC/) { - print_error ("$file:$.: unshifting \@INC; use \"use lib\""); - } - - if (m/\$EXEPREFIX/) { - print_error ("$file:$.: using \$EXEPREFIX"); - } - - if (m/\$EXE_EXT/) { - print_error ("$file:$.: using \$EXE_EXT"); - } - - if (m/Sys::Hostname/) { - print_error ("$file:$.: using Sys::Hostname"); - } - - if (m/PerlACE::wait_interval_for_process_creation/) { - print_error ("$file:$.: using PerlACE::wait_interval_for_process_creation"); - } - - if (m/PerlACE::waitforfile_timed/) { - print_error ("$file:$.: using PerlACE::waitforfile_timed"); - } - - if (m/PerlACE::is_vxworks_test/) { - print_error ("$file:$.: using PerlACE::is_vxworks_test"); - } - - if (m/PerlACE::add_lib_path/) { - print_error ("$file:$.: using PerlACE::add_lib_path, use AddLibPath on the target"); - } - - if (m/PerlACE::Run_Test/) { - print_error ("$file:$.: using PerlACE::Run_Test, use PerlACE::TestTarget"); - } - - if (m/PerlACE::random_port/) { - print_error ("$file:$.: using PerlACE::random_port, use TestTarget::random_port"); - } - - if (m/PerlACE::Process/) { - print_error ("$file:$.: using PerlACE::Process"); - } - - if (m/PerlACE::TestConfig/) { - print_error ("$file:$.: using PerlACE::TestConfig"); - } - - if (m/ACE_RUN_VX_TGTHOST/) { - print_error ("$file:$.: using ACE_RUN_VX_TGTHOST, use TestTarget::HostName"); - } - - if (m/Spawn(Wait(Kill)?)?\s*\(.+\->ProcessStop.*\)/) { - print_error ("$file:$.: uses Stop together with Spawn"); - } - - if (m/Spawn(Wait(Kill)?)?\s*\(\d+\)/) { - print_error ("$file:$.: uses hardcoded timeout for Spawn"); - } - - if (m/Kill\s*\(\d+\)/) { - print_error ("$file:$.: uses hardcoded timeout for Kill"); - } - - if (m/unlink/) { - print_error ("$file:$.: using unlink"); - } - - if (m/PerlACE::LocalFile/) { - print_error ("$file:$.: using PerlACE::LocalFile"); - } - - if (m/\$DIR_SEPARATOR/) { - print_error ("$file:$.: using \$DIR_SEPARATOR"); - } - if (m/ACE\:\:/ && !m/PerlACE\:\:/) { - print_error ("$file:$.: using ACE::*"); - } - - if (m/Process\:\:/ && !m/PerlACE\:\:Process\:\:/) { - print_error ("$file:$.: using Process::*"); - } - - if (m/Process\:\:Create/) { - print_error ("$file:$.: using Process::Create"); - } - - if (m/^ [^ ]/) { - print_warning ("$file:$.: using two-space indentation"); - } - - if (m/^\s*\t/) { - print_error ("$file:$.: Indenting using tabs"); - } - - if (m/^\s*\{/ && $sub != 1) { - print_warning ("$file:$.: Using Curly Brace alone"); - } - - if (m/timedout/i && !m/\#/) { - print_error ("$file:$.: timedout message found"); - } - - if (m/^\s*sub/) { - $sub = 1; - } - else { - $sub = 0; - } - } - } - - close (FILE); - - if ($is_run_test) { - my @output = `perl -wc $file 2>&1`; - - foreach $output (@output) { - chomp $output; - if ($output =~ m/error/i) { - print_error ($output); - } - elsif ($output !~ m/syntax OK/) { - print_warning ($output); - } - } - } - } - } -} - - -# Check for links to ~schmidt/ACE_wrappers/, which should not be in the -# documentation -sub check_for_absolute_ace_wrappers() -{ - print "Running absolute ACE_wrappers test\n"; - foreach $file (@files_html) { - if (open (FILE, $file)) { - print "Looking at file $file\n" if $opt_d; - while () { - if (m/\~schmidt\/ACE_wrappers\//) { - chomp; - print_error ("$file:$.: ~schmidt/ACE_wrappers found"); - print_error ($_); - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# Check for generated headers in the code documentation -sub check_for_generated_headers() -{ - print "Running generated headers test\n"; - foreach $file (@files_cpp, @files_inl, @files_h) { - if (open (FILE, $file)) { - print "Looking at file $file\n" if $opt_d; - while () { - if (m/Code generated by the The ACE ORB \(TAO\) IDL Compiler/) { - chomp; - print_error ("$file:$.: header found"); - print_error ($_); - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# Make sure ACE_[OS_]TRACE matches the function/method -sub check_for_bad_ace_trace() -{ - print "Running TRACE test\n"; - foreach $file (@files_inl, @files_cpp) { - if (open (FILE, $file)) { - my $class; - my $function; - - print "Looking at file $file\n" if $opt_d; - while () { - - # look for methods or functions - if (m/(^[^\s][^\(]*)\:\:([^\:^\(]*[^\s^\(])\s*/) { - $class = $1; - $function = $2; - } - elsif (m/^([^\s^\(^\#]*) \(/i) { - $class = ""; - $function = $1; - } - elsif (m/^(operator.*) \(/i) { - $class = ""; - $function = $1; - } - - # Look for TRACE statements - if (m/ACE_OS_TRACE\s*\(\s*\"(.*)\"/ - || m/ACE_TRACE\s*\(\s*\"(.*)\"/ - || m/CIAO_TRACE\s*\(\s*\"(.*)\"/ - || m/DDS4CCM_TRACE\s*\(\s*\"(.*)\"/) { - my $trace = $1; - - # reduce the classname - if ($class =~ m/([^\s][^\<^\s]*)\s*\) { - - next if m/^\s*\/\//; - next if m/^\s*$/; - - # Check for backslashes in paths. - if (m/\*.*\\[^ ]*:/) { - print_error ("$file:$.: Backslashes in file path"); - } - - # Check for CVS conflict tags - if (m/^<<<<>>>>/) { - print_error ("$file:$.: svn conflict markers"); - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -sub check_for_deprecated_macros () -{ - ## Take the current working directory and remove everything up to - ## ACE_wrappers (or ACE for the peer-style checkout). This will be - ## used to determine when the use of ACE_THROW_SPEC is an error. - my($cwd) = getcwd(); - if ($cwd =~ s/.*(ACE_wrappers)/$1/) { - } - elsif ($cwd =~ s/.*(ACE)/$1/) { - } - - print "Running deprecated macros check\n"; - foreach $file (@files_cpp, @files_inl, @files_h) { - if (open (FILE, $file)) { - - print "Looking at file $file\n" if $opt_d; - while () { - # Check for ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION usage. - if (m/ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION\)/) { - print_error ("$file:$.: ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION found."); - } - elsif (/ACE_THROW_SPEC/) { - ## Do not use ACE_THROW_SPEC in TAO or CIAO. - if ($file =~ /TAO|CIAO/i || $cwd =~ /TAO|CIAO/i) { - print_error ("$file:$.: ACE_THROW_SPEC found."); - } - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} -# This test checks for ptr_arith_t usage in source code. ptr_arith_t -# is non-portable. Use ptrdiff_t instead. -sub check_for_ptr_arith_t () -{ - print "Running ptr_arith_t check\n"; - foreach $file (@files_cpp, @files_inl, @files_h) { - if (open (FILE, $file)) { - - print "Looking at file $file\n" if $opt_d; - while () { - - next if m/^\s*\/\//; # Ignore C++ comments. - next if m/^\s*$/; # Skip lines only containing - # whitespace. - - # Check for ptr_arith_t usage. This test should - # ignore typedefs, and should only catch variable - # declarations and parameter types. - if (m/ptr_arith_t / || m/ptr_arith_t,/) { - print_error ("$file:$.: ptr_arith_t; use ptrdiff_t instead."); - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# This test checks for the #include -# This check is suggested by Don Hinton to force user to use -# " " instead of <> to avoid confict with Doxygen. -sub check_for_include () -{ - print "Running the include check\n"; - foreach $file (@files_h, @files_cpp, @files_inl, @files_idl) { - my $bad_occurance = 0; - if (open (FILE, $file)) { - my $disable = 0; - print "Looking at file $file\n" if $opt_d; - while () { - if (/FUZZ\: disable check_for_include/) { - $disable = 1; - } - if (/FUZZ\: enable check_for_include/) { - $disable = 0; - } - if ($disable == 0) { - if (/^\s*#\s*include\s*<[(ace)|(TAO)|(CIAO)]\/.*>/) { - print_error ("$file:$.: include used"); - ++$bad_occurance; - } - if (/^\s*#\s*include\s*/) { - print_error ("$file:$.: include used"); - ++$bad_occurance; - } - if (/^\s*#\s*include\s*/) { - print_error ("$file:$.: include used"); - ++$bad_occurance; - } - } - } - close (FILE); - - if ($disable == 0 && $bad_occurance > 0 ) { - print_error ("$file:1: found $bad_occurance usage(s) of #include <> of ace\/tao\/ciao."); - } - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# This test verifies that all equality, relational and logical -# operators return bool, as is the norm for modern C++. -# -# NOTE: This test isn't fool proof yet. -sub check_for_non_bool_operators () -{ - print "Running non-bool equality, relational and logical operator check\n"; - foreach $file (@files_h, @files_inl, @files_cpp) { - if (open (FILE, $file)) { - print "Looking at file $file\n" if $opt_d; - my $found_bool = 0; - my $found_return_type = 0; - while () { - - if ($found_bool == 0 - && (/[^\w]bool\s*$/ - || /^bool\s*$/ - || /\sbool\s+\w/ - || /^bool\s+\w/ - || /[^\w]return\s*$/)) - { - $found_bool = 1; - $found_return_type = 0; - next; - } - - if ($found_bool == 0 && $found_return_type == 0 - && /^(?:\w+|\s+\w+)\s*$/ - && !/[^\w]return\s*$/) - { - $found_return_type = 1; - $found_bool = 0; - next; - } - - if ($found_bool == 0 - && /(?\s*::)operator\s*(?:!|<|<=|>|>=|==|!=|&&|\|\|)\s*\(/ - && !/\(.*operator\s*(?:!|<|<=|>|>=|==|!=|&&|\|\|)\s*\(/ - && !/^\s*return\s+/) { - print_error ("$file:$.: non-bool return type for operator"); - } - - $found_return_type = 0; - $found_bool = 0; - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# This test verifies that all filenames are short enough - -sub check_for_long_file_names () -{ - my $max_filename = 50; - my $max_mpc_projectname = $max_filename - 12; ## GNUmakefile.[project_name] - print "Running file names check\n"; - - foreach $file (@files_cpp, @files_inl, @files_h, @files_html, - @files_dsp, @files_dsw, @files_gnu, @files_idl, - @files_pl, @files_changelog, @files_makefile, - @files_bor, @files_mpc, @files_generic) { - if ( length( basename($file) ) >= $max_filename ) - { - print_error ("File name $file meets or exceeds $max_filename chars."); - } - } - foreach $file (grep(/\.mpc$/, @files_mpc)) { - if (open(FH, $file)) { - my($blen) = length(basename($file)) - 4; ## .mpc - while() { - if (/project\s*(:.*)\s*{/) { - if ($blen >= $max_mpc_projectname) { - print_warning ("File name $file meets or exceeds $max_mpc_projectname chars."); - } - } - elsif (/project\s*\(([^\)]+)\)/) { - my($name) = $1; - if ($name =~ /\*/) { - my($length) = length($name) + (($name =~ tr/*//) * $blen); - if ($length >= $max_mpc_projectname) { - print_warning ("Project name ($name) from $file will meet or exceed $max_mpc_projectname chars when expanded by MPC."); - } - } - else { - if (length($name) >= $max_mpc_projectname) { - print_warning ("Project name ($name) from $file meets or exceeds $max_mpc_projectname chars."); - } - } - } - } - close(FH); - } - } -} - -sub check_for_refcountservantbase () -{ - print "Running PortableServer::RefCountServantBase derivation check\n"; - - foreach $file (@files_h, @files_cpp, @files_inl) { - if (open (FILE, $file)) { - print "Looking at file $file\n" if $opt_d; - while () { - - if (/PortableServer::RefCountServantBase/) { - print_error ("$file:$.: reference to deprecated PortableServer::RefCountServantBase"); - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -sub check_for_TAO_Local_RefCounted_Object () -{ - print "Running TAO_Local_RefCounted_Object check\n"; - - ITERATION: foreach $file (@files_h, @files_cpp, @files_inl) { - if (open (FILE, $file)) { - my $disable = 0; - print "Looking at file $file\n" if $opt_d; - while () { - if (/FUZZ\: disable check_for_TAO_Local_RefCounted_Object/) { - $disable = 1; - } - if (/FUZZ\: enable check_for_TAO_Local_RefCounted_Object/) { - $disable = 0; - } - - if ($disable == 0 and /TAO_Local_RefCounted_Object/) { - print_error ("$file:$.: TAO_Local_RefCounted_Object is deprecated, use CORBA::LocalObject instead"); - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -# This test checks for the correct use of ORB_init() so as -# to be compatiable with wide character builds. -sub check_for_ORB_init () -{ - print "Running the ORB_init() wide character incompatability check\n"; - foreach $file (@files_cpp, @files_inl) { - if (open (FILE, $file)) { - my $disable = 0; - my $multi_line; - my $not_found_end_line_count= 0; - print "Looking at file $file\n" if $opt_d; - while () { - if (!defined $multi_line) { - if (/FUZZ\: disable check_for_ORB_init/) { - $disable = 1; - next; - } - elsif (/FUZZ\: enable check_for_ORB_init/) { - $disable = 0; - next; - } - elsif ($disable == 0) { - s/^\s+//; ## Remove leading space - s/\s*(\/\/.*)?$//; ## Remove trailling space and line comments - if (s/^([^=]*=)?\s*(CORBA\s*::\s*)?ORB_init\s*//) { - $multi_line = $_; ## Rest of the line - } - else { - next; - } - } - } - else { - $_ =~ s/^\s+//; ## Remove leading space - $_ =~ s/\s*(\/\/.*)?$//; ## Remove trailling space and line comments - if ($multi_line eq "") { ## Append this line to existing statement. - $multi_line = $_; - } - else { - $multi_line .= ' ' . $_; - } - } - my $testing = $multi_line; - if ($testing =~ s/^\(([^\"\/\)]*(\"([^\"\\]*(\\.)*)\")?(\/+\*.*?\*\/\s*)*)*\)//) { - # $testing has thrown away what we actually want, i.e. - # we want to ignore what's left in $testing. - - $multi_line = substr ($multi_line, 0, -length ($testing)); - $multi_line =~ s!/\*.*?\*/! !g; ## Remove any internal /* ... */ comments - $multi_line =~ s!\s{2,}! !g; ## collapse multi spaces - $multi_line =~ s/^\(\s*//; ## Trim leading ( and space - $multi_line =~ s/\s*\)$//; ## Trim trailing space and ) - - if ($multi_line =~ s/^[^,]*,\s*//) { # If this fails there is only 1 parameter (which we will ignore) - # 1st parameter has been removed by the above, split up remaining 2 & 3 - $multi_line =~ s/^([^,]*),?\s*//; - my $param2 = $1; - $param2 =~ s/\s+$//; # Trim trailing spaces - - print_error ("$file:$.: ORB_init() 2nd parameter requires static_cast(0)") if ($param2 eq '0'); - print_error ("$file:$.: ORB_init() 3rd parameter is redundant (default orbID or give as string)") if ($multi_line eq '0'); - print_error ("$file:$.: ORB_init() 3rd parameter is redundant (default orbID already \"\")") if ($multi_line eq '""'); - } - - undef $multi_line; - $not_found_end_line_count = 0; - } - elsif ($not_found_end_line_count < 10) { # Limit the search for ( ... ) following ORB_init to ten lines - ++$not_found_end_line_count; - } - else { - undef $multi_line; - $not_found_end_line_count = 0; - } - } - close (FILE); - } - else { - print STDERR "Error: Could not open $file\n"; - } - } -} - -############################################################################## - -use vars qw/$opt_c $opt_d $opt_h $opt_l $opt_t $opt_m/; - -if (!getopts ('cdhl:t:mv') || $opt_h) { - print "fuzz.pl [-cdhm] [-l level] [-t test_names] [file1, file2, ...]\n"; - print "\n"; - print " -c only look at the files passed in\n"; - print " -d turn on debugging\n"; - print " -h display this help\n"; - print " -l level set detection level (default = 5)\n"; - print " -t test_names specify comma-separated list of tests to run\n". - " this will disable the run level setting\n"; - print " -m only check locally modified files (uses cvs)\n"; - print "======================================================\n"; - print "list of the tests that could be run:\n"; - print "\t check_for_noncvs_files - check_for_generated_headers - check_for_synch_include - check_for_streams_include - check_for_dependency_file - check_for_makefile_variable - check_for_inline_in_cpp - check_for_id_string - check_for_newline - check_for_ACE_SYNCH_MUTEX - check_for_ACE_Thread_Mutex - check_for_tab - check_for_exception_spec - check_for_NULL - check_for_improper_main_declaration - check_for_lack_ACE_OS - check_for_inline - check_for_math_include - check_for_line_length - check_for_preprocessor_comments - check_for_tchar - check_for_pre_and_post - check_for_push_and_pop - check_for_versioned_namespace_begin_end - check_for_mismatched_filename - check_for_bad_run_test - check_for_absolute_ace_wrappers - check_for_bad_ace_trace - check_for_changelog_errors - check_for_ptr_arith_t - check_for_include - check_for_non_bool_operators - check_for_long_file_names - check_for_refcountservantbase - check_for_TAO_Local_RefCounted_Object - check_for_ORB_init - check_for_trailing_whitespace\n"; - exit (1); -} - -if (!$opt_l) { - $opt_l = 5; -} - -if ($opt_c) { - foreach $file (@ARGV) { - store_file ($file); - } -} -elsif ($opt_m) { - find_mod_files (); -} -else { - find_files (); -} - -if ($opt_t) { - my @tests = split '\s*,\s*', $opt_t; - for my $test (@tests) { - &$test(); - } - print "\nfuzz.pl - $errors error(s), $warnings warning(s)\n"; - exit ($errors > 0) ? 1 : 0; -} - -print "--------------------Configuration: Fuzz - Level ",$opt_l, - "--------------------\n"; - -check_for_export_file () if ($opt_l >= 4); -check_for_trailing_whitespace () if ($opt_l >= 4); -check_for_lack_ACE_OS () if ($opt_l >= 6); -check_for_ACE_Guard () if ($opt_l >= 1); -check_for_generated_headers () if ($opt_l >= 6); -check_for_bad_run_test () if ($opt_l >= 5); -check_for_deprecated_macros () if ($opt_l >= 1); -check_for_refcountservantbase () if ($opt_l >= 1); -check_for_msc_ver_string () if ($opt_l >= 3); -check_for_empty_files () if ($opt_l >= 1); -check_for_noncvs_files () if ($opt_l >= 1); -check_for_streams_include () if ($opt_l >= 6); -check_for_dependency_file () if ($opt_l >= 1); -check_for_makefile_variable () if ($opt_l >= 1); -check_for_inline_in_cpp () if ($opt_l >= 2); -check_for_id_string () if ($opt_l >= 1); -check_for_newline () if ($opt_l >= 1); -check_for_ACE_Thread_Mutex () if ($opt_l >= 1); -check_for_ACE_SYNCH_MUTEX () if ($opt_l >= 1); -check_for_tab () if ($opt_l >= 1); -check_for_exception_spec () if ($opt_l >= 1); -check_for_NULL () if ($opt_l >= 1); -check_for_inline () if ($opt_l >= 2); -check_for_math_include () if ($opt_l >= 3); -check_for_synch_include () if ($opt_l >= 6); -check_for_line_length () if ($opt_l >= 8); -check_for_preprocessor_comments () if ($opt_l >= 7); -check_for_tchar () if ($opt_l >= 4); -check_for_pre_and_post () if ($opt_l >= 4); -check_for_push_and_pop () if ($opt_l >= 4); -check_for_versioned_namespace_begin_end () if ($opt_l >= 4); -check_for_mismatched_filename () if ($opt_l >= 2); -check_for_absolute_ace_wrappers () if ($opt_l >= 3); -check_for_bad_ace_trace () if ($opt_l >= 4); -check_for_changelog_errors () if ($opt_l >= 4); -check_for_ptr_arith_t () if ($opt_l >= 4); -check_for_include () if ($opt_l >= 5); -check_for_non_bool_operators () if ($opt_l > 2); -check_for_long_file_names () if ($opt_l >= 1); -check_for_improper_main_declaration () if ($opt_l >= 1); -check_for_TAO_Local_RefCounted_Object () if ($opt_l >= 1); -check_for_ORB_init () if ($opt_l >= 1); - -print "\nfuzz.pl - $errors error(s), $warnings warning(s)\n"; - -exit (1) if $errors > 0; diff --git a/dep/ACE_wrappers/bin/g++_metric.sh b/dep/ACE_wrappers/bin/g++_metric.sh deleted file mode 100755 index 2229659ea..000000000 --- a/dep/ACE_wrappers/bin/g++_metric.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh -# -# $Id: g++_metric.sh 91813 2010-09-17 07:52:52Z johnnyw $ -# -# This simple script is used to gather compile time metrics. You can use -# it with make like this: -# -# $ make CXX=g++_metric.sh -# - -commandline=$@ -# find the target and save it to a variable -until [ -z "$1" ] # test all command line parameters -do - if [ "-o" = "$1" ] - then - shift - target=$1 - break - fi - shift -done - -# echo out "(%x)", the return value from g++, so the script processes the output -# will only use times for successful compilations, i.e., "(0)". -/usr/bin/time -f "//compile time(%x): ${PWD#$ACE_ROOT/}/${target} %U %S" g++ $commandline - -retval=$? - -exit $retval diff --git a/dep/ACE_wrappers/bin/g++dep b/dep/ACE_wrappers/bin/g++dep deleted file mode 100755 index 058576d05..000000000 --- a/dep/ACE_wrappers/bin/g++dep +++ /dev/null @@ -1,173 +0,0 @@ -#! /bin/sh -# $Id: g++dep 80826 2008-03-04 14:51:23Z wotte $ - -# This utility is a lightly editted version of the freed Berkeley -# script `mkdep'. The current script is intended to work for GNU G++. - -# Here is the original BSD header: -# @(#)mkdep.sh 1.7 (Berkeley) 10/13/87 -# - -if [ $# = 0 ] ; then - echo 'usage: g++dep [-p] [-f makefile] [flags] file ...' - exit 1 -fi - -DO_ACE_MAKE_DEPEND=0 -MAKE=GNUmakefile -STOPNOW=0 -REL="" - -while [ $STOPNOW -eq 0 ] -do -case $1 in - # -e for compatibility with depgen.pl - -e) shift; shift ;; - - # -f allows you to select a makefile name - -f) MAKE=$2 - shift; shift ;; - - # the -p flag produces "program: program.c" style dependencies - # so .o's don't get produced - -p) SED='s;\.o;;' - shift ;; - - # -A implies -r and fixes the .obj line, hate - -A) REL="ACE_ROOT TAO_ROOT "$REL - DO_ACE_MAKE_DEPEND=1 - shift ;; - - # -r allows the use of relative pathnames... - -r) REL="ACE_ROOT TAO_ROOT "$REL - shift ;; - - # -R VARNAME allows you to specify a variable which should be used - # to generate relative paths if it's defined. You can use multiple - # -R options, but be careful if one of the values is a proper - # subset of a subsequent value, because I suspect that sed will - # substitute for the first value properly, but not for the - # second. You might be able to get around this by reordering and - # having the more specific values lead the less specific values. - -R) REL=$2" "$REL - shift; shift;; - *) STOPNOW=1 -esac -done - -if [ ! -w $MAKE ]; then - echo "g++dep: no writeable file \"$MAKE\"" - exit 1 -fi - -TMP=/tmp/g++dep$$ -SCRIPT=${TMP}_script - -trap 'rm -f $TMP $SCRIPT; exit 1' 1 2 3 13 15 - -cp $MAKE ${MAKE}.bak - -sed -e '/DO NOT DELETE THIS LINE/,$d' < $MAKE > $TMP - -cat << _EOF_ >> $TMP -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -_EOF_ - -# Local files may appear as './foo' change that to 'foo' -echo 's; \./; ;g' >$SCRIPT - -# If the -p flag is set we want to change 'foo.o' to simply 'foo' -echo $SED >>$SCRIPT - -# Dependencies on local files are better expressed like that, instead -# of using $(TAO_ROOT) or $(ACE_ROOT). This is specially important -# for IDL generated files. -echo "s;`pwd`/;;g" >>$SCRIPT - -if [ -z "$TAO_ROOT" ]; then - TAO_ROOT=${ACE_ROOT}/TAO -fi - -# This is a long series of commands to change the actual value of -# $ACE_ROOT to '$(ACE_ROOT)', similar changes are done for TAO_ROOT -# and any number of "variables" defined via the -R option. -for varname in $REL; do - varvalue=$(eval echo \$${varname}) - echo "s;"$varvalue";$""("$varname");g" >>$SCRIPT -done - -if [ $DO_ACE_MAKE_DEPEND -eq 1 ]; then - # Append a series of commands to the sed script that help with the - # ACE build style (.obj subdirectories, plaform indenpendent - # dependencies, etc.) - - # To avoid interpolation we build this string in pieces, the idea is - # to generate a rule that will convert - # foo.o: - # into - # .obj/foo.o .shobj/foo.o .obj/foo.so .shobj/foo.so: - # - # will be foo.o foo. - LONG_TARGET="$""(sort " - for i in VDIR VSHDIR; do - for j in OBJEXT SOEXT; do - LONG_TARGET=${LONG_TARGET}"$""("${i}")\1.$""("${j}") " - done - done - LONG_TARGET=${LONG_TARGET}")" - - cat >>$SCRIPT <>$TMP -/bin/rm -f $SCRIPT - -cat << _EOF_ >> $TMP - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY -_EOF_ - -# copy to preserve permissions -cp $TMP $MAKE -rm -f ${MAKE}.bak $TMP -exit 0 diff --git a/dep/ACE_wrappers/bin/generate_compile_stats.sh b/dep/ACE_wrappers/bin/generate_compile_stats.sh deleted file mode 100755 index caafae87d..000000000 --- a/dep/ACE_wrappers/bin/generate_compile_stats.sh +++ /dev/null @@ -1,1084 +0,0 @@ -#! /bin/sh -# -# $Id: generate_compile_stats.sh 84856 2009-03-16 20:03:52Z johnnyw $ -# -# This script generate metrics html pages for either compile times or -# footprint. -# -# Compile times: -# Parse the build.txt file from an autobuild that was generated with the -# g++_metric.sh script, e.g., with CXX=g++_metric.sh which outputs -# compile times on a per object basis, and use the data to generate time -# series graphs with gnuplot. -# -# Footprint: -# Parse the build.txt file and and the *.map files, generated with LDFLAGS -# set to =-Xlinker -M -Xlinker -Map -Xlinker \$@.map and static_libs_only=1. -# -# For use with an autobuild, place a line something like this in the xml file, -# after the log file is closed, but before it's moved. -# -# -# - -############################################################################### -# -# usage -# -############################################################################### -usage () -{ - echo "Usage: `basename $0` [--base=] [--name=] [--compiler=compiler]" - echo " [target_file]" - echo " [Footprint|Compilation] [] []" - echo "" - echo "--base This option can be used to set the base root directory to" - echo " something other than the default \$ACE_ROOT." - echo "--name This option can be used to set the software title to something" - echo " other than the default ACE+TAO+CIAO." - echo "--compiler This option can be used to set the compiler to something" - echo " other than the default gcc." - echo "input_file This is the compilation log file." - echo "destination_directory This designates the location of the generated html." - echo "target_file This is similar to input_file, but should contain no errors." - echo "date Set the date used in all generated html pages." - echo "fudge_factor Add the specified number of seconds to the compilation time" - echo " for each target." - echo "" - echo "Options must be specified in the order shown above." - exit -} - -############################################################################### -# -# parse_time -# -# this only works for english -# assumes the date is formatted like this: Sat Apr 12 18:19:31 UTC 2003 -# and outputs this: 2003/04/12-18:19 -# -############################################################################### -parse_time () -{ - # todo: add a format parameter - local INDEX=0 - local PT_MONTH="" - local PT_DAY="" - local PT_YEAR="" - local PT_HOUR="" - local PT_MINUTE="" - local PT_SECOND="" - local PT_TIMEZONE="" - - read -a line - for token in "${line[@]}"; do - #echo "$INDEX = $token" - case $INDEX in - 1 ) case $token in - Jan ) PT_MONTH="01" ;; - Feb ) PT_MONTH="02" ;; - Mar ) PT_MONTH="03" ;; - Apr ) PT_MONTH="04" ;; - May ) PT_MONTH="05" ;; - Jun ) PT_MONTH="06" ;; - Jul ) PT_MONTH="07" ;; - Aug ) PT_MONTH="08" ;; - Sep ) PT_MONTH="09" ;; - Oct ) PT_MONTH="10" ;; - Nov ) PT_MONTH="11" ;; - Dec ) PT_MONTH="12" ;; - esac ;; - 2 ) PT_DAY="$token" ;; - 3 ) PT_HOUR="${token%%:*}" - PT_MINUTE="${token%:*}" - PT_MINUTE="${PT_MINUTE#*:}" - PT_SECOND="${token##*:}" ;; - 4 ) PT_TIMEZONE="$token" ;; - 5 ) PT_YEAR="$token" ;; - esac - let INDEX=$INDEX+1 - done - if [ "$1" = "debug" ]; then - echo "month = $PT_MONTH" - echo "day = $PT_DAY" - echo "year = $PT_YEAR" - echo "hour = $PT_HOUR" - echo "min = $PT_MINUTE" - echo "sec = $PT_SECOND" - echo "tz = $PT_TIMEZONE" - fi - echo "$PT_YEAR/$PT_MONTH/$PT_DAY-$PT_HOUR:$PT_MINUTE" -} - -############################################################################### -# -# strip_date -# -# grab date from line with following format: -# ################### End [Fri Apr 11 00:18:31 2003 UTC] -# and return it in this format: Fri Apr 11 00:18:31 UTC 2003 which is -# what parse_time() expects -# -############################################################################### -strip_date () -{ - local INDEX=0 - local TEMP_DATE="" - local DATE="" - read -a line - for token in "${line[@]}"; do - #echo "$INDEX = $token" - case $INDEX in - 2 ) DATE=${token#[} ;; - 7 ) DATE="$DATE ${token%]} $TEMP_DATE" ;; - # this is a hack since the autobuild scripts don't format the date - # correctly... :-( - 6 ) TEMP_DATE=$token ;; - * ) DATE="$DATE $token" ;; - esac - let INDEX=$INDEX+1 - done - echo $DATE -} - -############################################################################### -# -# parse -# -# Parse the commandline and validate the inputs -# -############################################################################### -parse () -{ - echo "parse()" - while [ $# -gt 1 ]; do - if [ -n "`echo $1 | grep '^--base=.*'`" ]; then - BASE_ROOT=`echo $1 | sed 's/^--base=//'` - shift - elif [ -n "`echo $1 | grep '^--name=.*'`" ]; then - BASE_TITLE=`echo $1 | sed 's/^--name=//'` - shift - elif [ -n "`echo $1 | grep '^--compiler.*'`" ]; then - COMPILER=`echo $1 | sed 's/^--compiler=//'` - shift - else - break - fi - done - - # set input file and destination (required) - if [ $# -gt 1 ]; then - INFILE=$1 - DEST=$2 - - if ! [ -e "$INFILE" ]; then - echo "input_file $INFILE does not exist." - usage - fi - else - usage - fi - - # set the target file from command line - if [ $# -gt 2 ]; then - TARGETS=$3 - else - TARGETS=$INFILE - fi - - # set type of metric from command line - if [ $# -gt 3 ]; then - METRIC=$4 - else - METRIC="Compilation" - fi - echo "metric = ($METRIC)" - - # set the date from command line - if [ $# -gt 4 ]; then - DATE=$5 - else - DATE=`tail -n 1 $INFILE | strip_date | parse_time` - fi - echo "date = ($DATE)" - - # set fudge factor from commandline (for testing) - if [ $# -gt 5 ]; then - FUDGE_FACTOR=$6 - else - FUDGE_FACTOR=0 - fi -} - -############################################################################### -# -# gen_chart -# -# Generate the actual charts and move them to ${DEST} -# -############################################################################### -gen_chart () -{ - local object=$1 - local DEST=$2 - local TYPE=$3 - local EXT="txt" - local YLABEL="Compile Time (Seconds)" - local FACTOR=1 - local low=$4 - local high=$5 - - if [ "$TYPE" = "Footprint" ]; then - EXT="size" - if [ ${high} -gt 1024 ]; then - YLABEL="Footprint (KBytes)" - FACTOR=1024 - else - YLABEL="Footprint (Bytes)" - FACTOR=1 - fi - fi - - let low="${low}/${FACTOR}" - let high="${high}/${FACTOR}" - - sort -t'/' -k1n -k2n -k3n ${DEST}/data/${object}.${EXT} | grep -E ^2 > tmp.txt - - gnuplot <' - echo '
' - - echo '

All the experiments run on the system described below. ' - echo 'The machine is running Linux (' - - if [ -e "/etc/SuSE-release" ]; then - cat /etc/SuSE-release - fi - - if [ -e "/etc/redhat-release" ]; then - cat /etc/redhat-release - fi - - echo "), and we use " $COMPILER " version " - - $COMPILER -dumpversion > ${DEST}/compilerversion.txt 2>&1 - cat ${DEST}/compilerversion.txt - - echo ' to compile '$BASE_TITLE'.

' - - if [ -z "$MPC_ROOT" ]; then - MPC_ROOT=$ACE_ROOT/MPC - fi - - CFG_FILES=$ACE_ROOT/ace/config.h - if [ -r $ACE_ROOT/bin/MakeProjectCreator/config/default.features ]; then - CFG_FILES="$CFG_FILES $ACE_ROOT/bin/MakeProjectCreator/config/default.features" - elif [ -r $MPC_ROOT/config/default.features ]; then - CFG_FILES="$CFG_FILES $MPC_ROOT/config/default.features" - fi - CFG_FILES="$CFG_FILES $ACE_ROOT/include/makeinclude/platform_macros.GNU" - - echo '' - for cfg_file in $CFG_FILES; do - if [ -r $cfg_file ]; then - echo "" - echo '' - fi - done - - echo '' - echo '' - echo '' - echo '' - echo '' - echo '
ACE+TAO+CIAO Configuration`basename $cfg_file`
'
-      cat $cfg_file
-      echo '
CPU Information/proc/cpuinfo
'
-
-  cat /proc/cpuinfo
-
-  echo '
Available Memory/proc/meminfo
'
-
-  cat /proc/meminfo
-
-  echo '
OS Versionuname -a
'
-
-  /bin/uname -a
-
-  echo '
Compiler Version'$COMPILER' -v
' - - $COMPILER -v > ${DEST}/compiler.txt 2>&1 - cat ${DEST}/compiler.txt - - if [ -e "/lib/libc.so.6" ]; then - echo '
Library Version/lib/libc.so.6
'
-
-    /lib/libc.so.6 | sed -e 's//\>/g'
-  fi
-
-  echo '
' - echo '' -} - -############################################################################### -# -# create_page -# -############################################################################### -create_page () -{ - # always strip off "TAO___" / "CIAO___" - local BASE=$1 - local TYPE=$2 - local EXT="" - local BASE_NAME=${BASE#TAO___} - local BASE_NAME=${BASE#CIAO___} - local TITLE="${TYPE} metrics for ${BASE_NAME//___//}" - - if [ "$TYPE" = "Compilation" ]; then - EXT="txt" - UNITS="100th's of seconds" - else - EXT="size" - UNITS="Bytes" - fi - - # header - echo "" - echo "$TITLE" - echo '' - echo '' - echo "

$TITLE


" - if [ -e "${DEST}/images/${BASE}_${TYPE}.png" ]; then - echo '

' - echo "\"$BASE\"

' - fi - - echo "


" - echo "

Detail (${DATE})

" - - echo '' - echo '' - echo "" - echo '' - while read i; do - if [ -e "${DEST}/data/${i}.${EXT}" ]; then - LAST=0 PRE=0 VAL_TMP=0 VAL_INT=0 VAL_SIGN="+" - echo '" - let PRE=`sort -t'/' -k1n -k2n -k3n ${DEST}/data/${i}.${EXT} | grep -E ^2 | tail -n2 | head -n1 | cut -d" " -f2` - let VAL_TMP="((($LAST+1)-($PRE+1))*1000)/($PRE+1)" - if [ $VAL_TMP -lt 0 ]; then - VAL_SIGN="-" - let VAL_TMP="-1*$VAL_TMP" - elif [ $VAL_TMP -eq 0 ]; then - VAL_SIGN= - fi - let VAL_INT="$VAL_TMP/10" - let VAL_TENTH="$VAL_TMP-($VAL_INT*10)" - echo "" - echo "" - ecoo "" - else - echo '" - echo "" - fi - done # for - echo '
ObjectLast Compile
Date$UNITS%chgData
' - if [ -e "${DEST}/${i}_${TYPE}.html" ]; then - # strip off "TAO___" if it exists - NAME=${i#TAO___} - # strip off "CIAO___" if it exists - NAME=${i#CIAO___} - echo "${NAME//___//}" - elif [ -e "${DEST}/images/${i}_${TYPE}.png" ]; then - # since you'll only have images if it's a composite, strip off the - # path for the name - if [ "$TYPE" = "Footprint" ]; then - # if we are doing footprint, add library - llib=`grep -e "lib.*\.a" ${DEST}/size_composites.txt | grep ${i} | awk '{print $1}'` - #echo "lib $llib" - #llib="${llib% :}" - llib="${llib//___//}" - NAME="${llib}(${i##*___})" - else - NAME="${i##*___}" - fi - echo "${NAME}" - else - echo "${i##*___}" - fi - echo '' - echo `sort -t'/' -k1n -k2n -k3n ${DEST}/data/${i}.${EXT} | grep -E ^2 | tail -n1 | cut -d" " -f1` - let LAST=`sort -t'/' -k1n -k2n -k3n ${DEST}/data/${i}.${EXT} | grep -E ^2 | tail -n1 | cut -d" " -f2` - echo "$LAST${VAL_SIGN}${VAL_INT}.${VAL_TENTH}Data
' - echo "${i}" - echo '' - echo '?' - echo "???
' - - # footer - echo '' - -} - -############################################################################### -# -# sort_list -# -############################################################################### -sort_list () -{ - # sort the dependency files - if [ -e ${DEST}/tmp_list ]; then - rm ${DEST}/tmp_list - fi - - touch ${DEST}/tmp_list - for i in $@; do - echo "$i" >> ${DEST}/tmp_list - #echo $i - done - - # sort eats underscores, soo... - sed "s/___/000/g" ${DEST}/tmp_list | sort -f | sed "s/000/___/g" -} - -############################################################################### -# -# create_html -# -############################################################################### -create_html () -{ - echo "create_html()" - - local DEST=$1 - local TYPE=$2 - local ALL_BASE="" - local ACE_OBJS="" - local TAO_OBJS="" - local CIAO_OBJS="" - - while read base colon files; do - # create individual page for app/lib - - sort_list ${files} | create_page ${base} ${TYPE} \ - > ${DEST}/${base}_${TYPE}.html - if [ "${base}" != "${base#TAO___CIAO}" ]; then - CIAO_OBJS="${CIAO_OBJS} ${base}" - elif [ "${base}" != "${base#TAO}" ]; then - TAO_OBJS="${TAO_OBJS} ${base}" - else - ACE_OBJS="${ACE_OBJS} ${base}" - fi - ALL_OBJS="${ALL_BASE} ${base}" - done - - # create main page - create_index_page ${TYPE} > ${DEST}/index.html - - if [ "${TYPE}" = "Compilation" ] || [ "${TYPE}" = "Footprint" ]; then - if [ $BASE_TITLE = $DEFAULT_TITLE ]; then - name="ace_${TYPE}.html" - sort_list ${ACE_OBJS} | create_page "ACE" ${TYPE} > ${DEST}/${name} - - name="tao_${TYPE}.html" - sort_list ${TAO_OBJS} | create_page "TAO" ${TYPE} > ${DEST}/${name} - - name="ciao_${TYPE}.html" - sort_list ${CIAO_OBJS} | create_page "CIAO" ${TYPE} > ${DEST}/${name} - else - name="all_${TYPE}.html" - sort_list ${ACE_OBJS} | create_page $BASE_TITLE ${TYPE} > ${DEST}/${name} - fi - fi -} - -############################################################################### -# -# main program -# -############################################################################### - -INFILE="" -DEST="" -TARGETS="" -DATE="" -METRIC="Compilation" -FUDGE_FACTOR=0 -BASE_ROOT=$ACE_ROOT -DEFAULT_TITLE=ACE+TAO+CIAO -BASE_TITLE=$DEFAULT_TITLE -COMPILER="gcc" - -parse $@ -create_dirs "${DEST}/" -create_dirs "${DEST}/" - -if [ "$METRIC" = "Compilation" ]; then - - ######################################################## - # compile times - - # grab the compile time metrics for objects only and process them - grep "compile time(0):" $INFILE | grep "\.o" | cut -d' ' -f3,4,5 | process_file - - # Create ${DEST}/composites.txt with entries like this: - # tests___OS_Test : tests___OS_Test.o tests___Main.o - create_composite_list $TARGETS - - # compile times - cat ${DEST}/composites.txt | rollup_compile_times - find ${DEST}/data/ -name "*.txt" | create_images ${DEST} "Compilation" - cat ${DEST}/composites.txt | create_html ${DEST} "Compilation" - -elif [ "$METRIC" = "Footprint" ]; then - - ######################################################## - # footprint - - # Create ${DEST}/libraries.txt with entries like this: - # ace___libACE.a - create_library_list $TARGETS - - # Create ${DEST}/composites.txt with entries like this: - # tests___OS_Test : tests___OS_Test.o tests___Main.o - create_composite_list $TARGETS - - # Run size on the executables and append results to *.size file. - cat ${DEST}/composites.txt | footprint - - # Run size on the libraries and append results to *.size for the - # library and each contained object. - # It also creates ${DEST}/size_composites.txt based on size output for - # libraries with entries like this: - # ace___libACE.a : ace___ACE.o ace___Addr.o - cat ${DEST}/libraries.txt | footprint LIB - - # Add executables to ${DEST}/size_composites.txt based on output - # from the map files (created with LDFLAGS=-Xlinker -M -Xlinker - # -Map -Xlinker $(@).map). Find the map files of we want based on - # entries in ${DEST}/composites.txt. - cat ${DEST}/composites.txt | create_size_composites - - find ${DEST}/data/ -name "*.size" | create_images ${DEST} "Footprint" - cat ${DEST}/size_composites.txt | create_html ${DEST} "Footprint" - -else - echo "metric type ($METRIC) not recognized" - usage -fi diff --git a/dep/ACE_wrappers/bin/generate_doxygen.pl b/dep/ACE_wrappers/bin/generate_doxygen.pl deleted file mode 100755 index 3b7bb3a5e..000000000 --- a/dep/ACE_wrappers/bin/generate_doxygen.pl +++ /dev/null @@ -1,327 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# -*- perl -*- -# $Id: generate_doxygen.pl 91755 2010-09-14 11:35:53Z johnnyw $ -# - -require POSIX; -require File::Path; - -use Cwd; -use File::Spec; -use Env qw(ACE_ROOT TAO_ROOT CIAO_ROOT DDS_ROOT); - -# Configuration and default values - -if (!defined $TAO_ROOT) { - $TAO_ROOT = "$ACE_ROOT/TAO"; -} -if (!defined $CIAO_ROOT) { - $CIAO_ROOT = "$TAO_ROOT/CIAO"; -} -if (!defined $DANCE_ROOT) { - $DANCE_ROOT = "$TAO_ROOT/DAnCE"; -} - -$is_release = 0; -$exclude_ace = 0; -$exclude_tao = !-r "$TAO_ROOT/VERSION"; -$exclude_ciao = !-r "$CIAO_ROOT/VERSION"; -$exclude_dance = !-r "$DANCE_ROOT/VERSION"; -$verbose = 0; -$perl_path = '/usr/bin/perl'; -$html_output_dir = '.'; - -$dds = 0; -if (defined $DDS_ROOT && -r "$DDS_ROOT/VERSION") { - $dds_path = Cwd::abs_path($DDS_ROOT); - $cwd_path = Cwd::abs_path(getcwd()); - if ($dds_path eq $cwd_path) { - $dds = $exclude_ace = $exclude_tao = $exclude_ciao = 1; - } -} - -@ACE_DOCS = ('ace', - 'ace_man', - 'ace_rmcast', - 'ace_ssl', - 'ace_qos', - 'ace_inet', - 'acexml'); -@TAO_DOCS = ('tao' - ,'tao_anytypecode' - ,'tao_portableserver' - ,'tao_pi' - ,'tao_pi_server' - ,'tao_rtportableserver' - ,'tao_compression' - ,'tao_transportcurrent' - ,'tao_rtcorba' - ,'tao_dynamicany' - ,'tao_dynamicinterface' - ,'tao_iormanip' - ,'tao_iortable' - ,'tao_ziop' - ,'tao_esf' - ,'tao_rtevent' - ,'tao_cosevent' - ,'tao_cosnotification' - ,'tao_implrepo' - ,'tao_strategies' - ,'tao_smartproxies' - ,'tao_av' - ,'tao_security' - ,'tao_ssliop' - ,'tao_cosnaming' - ,'tao_costime' - ,'tao_costrader' - ,'tao_portablegroup' - ,'tao_ifr'); -@CIAO_DOCS = ('ciao_dds4ccm' - ,'ciao'); -@DANCE_DOCS = ('DAnCE'); -@DDS_DOCS = ('dds'); - -# Modify defaults using the command line arguments -&parse_args (); - -$wrote_configh = 0; -if (!-r "$ACE_ROOT/ace/config.h") { - open(CONFIG_H, ">$ACE_ROOT/ace/config.h") - || die "Cannot create config file\n"; - print CONFIG_H "#include \"ace/config-doxygen.h\"\n"; - close(CONFIG_H); - $wrote_configh = 1; -} - -&generate_doxy_files ('ACE', " $ACE_ROOT", " $ACE_ROOT/VERSION", @ACE_DOCS) if (!$exclude_ace); -&generate_doxy_files ('TAO', " $TAO_ROOT", " $TAO_ROOT/VERSION", @TAO_DOCS) if (!$exclude_tao); -&generate_doxy_files ('CIAO', " $CIAO_ROOT", " $CIAO_ROOT/VERSION", @CIAO_DOCS) if (!$exclude_ciao); -&generate_doxy_files ('DANCE'," $DANCE_ROOT", " $DANCE_ROOT/VERSION", @DANCE_DOCS) if (!$exclude_dance); -&generate_doxy_files ('DDS', "$DDS_ROOT", " $DDS_ROOT/VERSION", @DDS_DOCS) if $dds; - -unlink "$ACE_ROOT/ace/config.h" if $wrote_configh; - -exit 0; - -sub parse_args { - my @ARGS = (); - while ($#ARGV >= 0) { - if (!($ARGV[0] =~ m/^-/)) { - push @ARGS, $ARGV[0]; - } elsif ($ARGV[0] eq "-is_release") { - $is_release = 1; - } elsif ($ARGV[0] eq "-exclude_ace") { - $exclude_ace = 1; - } elsif ($ARGV[0] eq "-exclude_tao") { - $exclude_tao = 1; - } elsif ($ARGV[0] eq "-exclude_ciao") { - $exclude_ciao = 1; - } elsif ($ARGV[0] eq "-exclude_dance") { - $exclude_dance = 1; - } elsif ($ARGV[0] eq "-include_dds") { - $dds = 1; - } elsif ($ARGV[0] eq "-verbose") { - $verbose = 1; - } elsif ($ARGV[0] eq "-perl_path" && $#ARGV >= 1) { - $perl_path = $ARGV[1]; - shift; - } elsif ($ARGV[0] eq "-html_output" && $#ARGV >= 1) { - $html_output_dir = $ARGV[1]; - shift; - } else { - print "Ignoring option $ARGV[0]\n"; - } - shift @ARGV; - } - @ARGV = @ARGS; -} - -#is $arg1 the same path as "$arg2/$arg3"? -sub same_dir { - my $lhs = shift; - my $rhs_base = shift; - my $rhs_dir = shift; - my $rhs = File::Spec->catdir($rhs_base, $rhs_dir); - return File::Spec->canonpath($lhs) eq File::Spec->canonpath($rhs); -} - -sub generate_doxy_files { - - my $KIT = shift; - my $ROOT_DIR = shift; - my $VERSION_FILE= shift; - my @DOCS = @_; - - my $VERSION = 'Snapshot ('. - POSIX::strftime("%Y/%m/%d-%H:%M", localtime) - .')'; - - my $KIT_path = ($KIT eq 'CIAO') ? 'TAO/CIAO' : $KIT; - my $translate_paths = - ($KIT eq 'TAO' && !same_dir($TAO_ROOT, $ACE_ROOT, 'TAO')) || - ($KIT eq 'CIAO' && !same_dir($CIAO_ROOT, $TAO_ROOT, 'CIAO')); - - foreach my $i (@DOCS) { - if ($is_release) { - my ($major, $minor, $beta) = &get_versions ($KIT, $VERSION_FILE); - $VERSION = $major.'.'.$minor.'.'.$beta; - } - - my $input = "$ROOT_DIR/etc/".$i.".doxygen"; - my $output = "/tmp/".$i.".".$$.".doxygen"; - - open(DOXYINPUT, $input) - || die "Cannot open doxygen input file $input\n"; - open(DOXYOUTPUT, ">$output") - || die "Cannot open doxygen output file $output\n"; - - my $generate_man = 0; - my $generate_html = 0; - my @output_dirs = (); - while () { - chomp; - if (/^PROJECT_NUMBER/) { - print DOXYOUTPUT "PROJECT_NUMBER = ", $VERSION, "\n"; - next; - } elsif (/^PERL_PATH /) { - print DOXYOUTPUT "PERL_PATH = $perl_path\n"; - next; - } elsif (/^QUIET / && $verbose) { - print DOXYOUTPUT "QUIET = NO\n"; - next; - } elsif (/^INLINE_SOURCES/ && $is_release) { - print DOXYOUTPUT "INLINE_SOURCES = NO\n"; - next; - } elsif (/^SOURCE_BROWSER/ && $is_release) { - print DOXYOUTPUT "SOURCE_BROWSER = NO\n"; - next; - } elsif (/^VERBATIM_HEADERS/ && $is_release) { - print DOXYOUTPUT "VERBATIM_HEADERS = NO\n"; - next; - } elsif (/^GENERATE_MAN/ && /= YES/) { - $generate_man = 1; - } elsif (/^GENERATE_HTML/ && /= YES/) { - $generate_html = 1; - } elsif ($generate_html && /^HTML_OUTPUT/) { - my @field = split(' = '); - if ($#field >= 1) { - my $html_out_dir = "$html_output_dir/$field[1]"; - push @output_dirs, $html_out_dir; - print DOXYOUTPUT "HTML_OUTPUT = $html_out_dir\n"; - next; - } - } elsif ($generate_html && /^GENERATE_TAGFILE/) { - my @field = split(' = '); - if ($#field >= 1) { - my $html_out_dir = "$html_output_dir/$field[1]"; - print DOXYOUTPUT "GENERATE_TAGFILE = $html_out_dir\n"; - next; - } - } elsif ($generate_html && /^TAGFILES\s*=\s*(.*)$/) { - my $value = $1; - while ($value =~ /\\$/) { - chop $value; #removes trailing \ - my $line = ; - chomp $line; - $value .= ' ' . $line; - } - my @values = split(' ', $value); - map {$_ = $html_output_dir . '/' . $_; } @values; - print DOXYOUTPUT 'TAGFILES = ' . join(' ', @values) . "\n"; - next; - } elsif ($generate_man && /^MAN_OUTPUT/) { - my @field = split(' = '); - if ($#field >= 1) { - push @output_dirs, $field[1]; - } - } elsif ($translate_paths && /^(INPUT|INCLUDE_PATH)\s*=\s*(.*)$/) { - my $keyword = $1; - my $value = $2; - while ($value =~ /\\$/) { - chop $value; #removes trailing \ - my $line = ; - chomp $line; - $value .= ' ' . $line; - } - $value =~ s/$KIT_path/${"${KIT}_ROOT"}/g; - print DOXYOUTPUT "$keyword = $value\n"; - next; - } - - print DOXYOUTPUT $_, "\n"; - } - close (DOXYOUTPUT); - close (DOXYINPUT); - - foreach my $i (@output_dirs) { - File::Path::mkpath($i, 0, 0755); - } - - &run_doxy ($output); - - unlink $output; - } - - if ($generate_man) { - open(FIND, "find man -type f -print |") or die "Can't run find\n"; - while () { - chomp; - my $name_with_whitespace = $_; - next unless ($name_with_whitespace =~ /\s/); - my $name_without_whitespace = $name_with_whitespace; - $name_without_whitespace =~ s/\s+//g; - rename $name_with_whitespace, $name_without_whitespace; - } - close FIND; - } -} - -sub run_doxy { - my $config = shift; - open(DOX,"doxygen $config 2>&1 |") - || die "cannot start ACE doxygen process\n"; - while () { - print $_; - } - close (DOX) - || die "error while running doxygen on $config\n"; -} - -######## -######## Retrieve version information from VERSION file(s). -######## -sub get_versions () { - my $KIT = shift; - my $VERSION_FILE = shift; - my ($major_version, $minor_version, $beta_version); - - open (VERSION, '<'.$VERSION_FILE) || - die "$0: unable to open $VERSION_FILE\n"; - while () { - chomp; - if (/$KIT version (\d+)\.(\d+)\.(\d+)/) { - $major_version = $1; - $minor_version = $2; - $beta_version = $3; - last; - } elsif (/$KIT version (\d+)\.(\d+)[^\.]/) { - #### Previous release was a minor. - $major_version = $1; - $minor_version = $2; - $beta_version = '0'; - last; - } elsif (/$KIT version (\d+)[^\.]/) { - #### Previous release was a major. - $major_version = $1; - $minor_version = '0'; - $beta_version = '0'; - last; - } - } - close VERSION; - - return ($major_version, $minor_version, $beta_version); -} diff --git a/dep/ACE_wrappers/bin/generate_export_file.pl b/dep/ACE_wrappers/bin/generate_export_file.pl deleted file mode 100755 index 96114162e..000000000 --- a/dep/ACE_wrappers/bin/generate_export_file.pl +++ /dev/null @@ -1,165 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id: generate_export_file.pl 80826 2008-03-04 14:51:23Z wotte $ -# Replacement for the old trusty GenExportH.bat -# Creates the nice little *_export file which is used for -# importing and exporting of symbols in DLLs. -# (they are soooo cute!) - -use Getopt::Std; - -############################################################################## -# Grab the options - -$flags = join (" ", @ARGV); - -if (!getopts ('df:hsn') || $opt_h) { - print STDERR - "generate_export_file.pl [-d] [-f dependency] [-n] library_name\n", - "\n", - " -d Turn on debug mode\n", - " -f Adds a dependency to another *_HAS_DLL macro\n", - " -n Do not add in ACE_AS_STATIC_LIBS check\n", - "\n", - "generate_export_file creates the *_export files that are used\n", - "in exporting of symbols for DLLs (and not exporting them when\n", - "the library is static). If library_name is something like\n", - "\"Foo\", then the file will contain definitions for Foo_Export\n", - "and FOO_SINGLETON_DECLARE, etc. which will be controlled by\n", - "FOO_HAS_DLL, etc.\n"; - exit (1); -} - -if (defined $opt_d) { - print STDERR "Debugging Turned on\n"; - - if (defined $opt_f) { - print STDERR "Dependency to $opt_f\n"; - } - - if (defined $opt_n) { - print STDERR "ACE_AS_STATIC_LIBS turned off\n"; - } -} - - -if ($#ARGV < 0) { - print STDERR "No library_name specified, use -h for help\n"; - exit (1); -} - -$name = shift @ARGV; -$ucname = uc $name; - -############################################################################## -# Prologue - -$prologue = ' -// -*- C++ -*- -// ' . '$' . 'Id' . '$ -// Definition for Win32 Export directives. -// This file is generated automatically by generate_export_file.pl '."$flags".' -// ------------------------------'." -#ifndef -UC-_EXPORT_H -#define -UC-_EXPORT_H - -#include \"ace/config-all.h\" -"; - - -############################################################################## -# Static Stuff - -if (!defined $opt_n) -{ - $static_stuff = " -#if defined (ACE_AS_STATIC_LIBS) && !defined (-UC-_HAS_DLL) -# define -UC-_HAS_DLL 0 -#endif /* ACE_AS_STATIC_LIBS && -UC-_HAS_DLL */ -"; -} - -############################################################################## -# Dependencies - -if (defined $opt_f) -{ - $has_dll = " -#if defined ($opt_f) -# if !defined (-UC-_HAS_DLL) -# define -UC-_HAS_DLL 0 -# endif /* ! -UC-_HAS_DLL */ -#else -# if !defined (-UC-_HAS_DLL) -# define -UC-_HAS_DLL 1 -# endif /* ! -UC-_HAS_DLL */ -#endif -"; -} -else -{ - $has_dll = " -#if !defined (-UC-_HAS_DLL) -# define -UC-_HAS_DLL 1 -#endif /* ! -UC-_HAS_DLL */ -"; -} - -############################################################################## -# Epilogue - -$epilogue = " -#if defined (-UC-_HAS_DLL) && (-UC-_HAS_DLL == 1) -# if defined (-UC-_BUILD_DLL) -# define -NC-_Export ACE_Proper_Export_Flag -# define -UC-_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) -# define -UC-_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# else /* -UC-_BUILD_DLL */ -# define -NC-_Export ACE_Proper_Import_Flag -# define -UC-_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) -# define -UC-_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# endif /* -UC-_BUILD_DLL */ -#else /* -UC-_HAS_DLL == 1 */ -# define -NC-_Export -# define -UC-_SINGLETON_DECLARATION(T) -# define -UC-_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -#endif /* -UC-_HAS_DLL == 1 */ - -// Set -UC-_NTRACE = 0 to turn on library specific tracing even if -// tracing is turned off for ACE. -#if !defined (-UC-_NTRACE) -# if (ACE_NTRACE == 1) -# define -UC-_NTRACE 1 -# else /* (ACE_NTRACE == 1) */ -# define -UC-_NTRACE 0 -# endif /* (ACE_NTRACE == 1) */ -#endif /* !-UC-_NTRACE */ - -#if (-UC-_NTRACE == 1) -# define -UC-_TRACE(X) -#else /* (-UC-_NTRACE == 1) */ -# if !defined (ACE_HAS_TRACE) -# define ACE_HAS_TRACE -# endif /* ACE_HAS_TRACE */ -# define -UC-_TRACE(X) ACE_TRACE_IMPL(X) -# include \"ace/Trace.h\" -#endif /* (-UC-_NTRACE == 1) */ - -#endif /* -UC-_EXPORT_H */ - -// End of auto generated file. -"; - -############################################################################## -# Print the stuff out - -foreach $export ($prologue, $static_stuff, $has_dll, $epilogue) -{ -## -NC- stands for normal case, the name as it is -## -UC- stands for the name all upper case - map { s/-NC-/$name/g; s/-UC-/$ucname/g; } $export; - - print $export; -}; diff --git a/dep/ACE_wrappers/bin/generate_footprint_chart.sh b/dep/ACE_wrappers/bin/generate_footprint_chart.sh deleted file mode 100755 index 6a7606e48..000000000 --- a/dep/ACE_wrappers/bin/generate_footprint_chart.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -# -# $Id: generate_footprint_chart.sh 84756 2009-03-09 07:08:59Z johnnyw $ -# - -gnuplot <<_EOF_ >/dev/null 2>&1 - set xdata time - set xtics rotate - set timefmt '%Y/%m/%d-%H:%M' - set xlabel 'Date (MM/DD)' 0,-3 - set ylabel 'Size (KBytes)' - set terminal png small size 1024,768 color - set output "$2" - plot '$1' using 1:(\$2/1024.0) title '$3' w l - exit -_EOF_ - diff --git a/dep/ACE_wrappers/bin/generate_performance_chart.sh b/dep/ACE_wrappers/bin/generate_performance_chart.sh deleted file mode 100755 index 88c86740e..000000000 --- a/dep/ACE_wrappers/bin/generate_performance_chart.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -# -# $Id: generate_performance_chart.sh 84708 2009-03-04 10:15:35Z johnnyw $ -# - -gnuplot <<_EOF_ >/dev/null 2>&1 - set xdata time - set xtics rotate - set format x "%Y/%m/%d" - set timefmt '%Y/%m/%d-%H:%M' - set xlabel 'Date (YYYY/MM/DD)' 0,-3 - set ylabel 'Throughput (Requests/Second)' - set terminal png small size $4 color - set yrange [0:] - set output "$2" - plot '$1' using 1:2 title '$3' w l - exit -_EOF_ diff --git a/dep/ACE_wrappers/bin/generate_rel_manpages b/dep/ACE_wrappers/bin/generate_rel_manpages deleted file mode 100755 index cf3826169..000000000 --- a/dep/ACE_wrappers/bin/generate_rel_manpages +++ /dev/null @@ -1,108 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id: generate_rel_manpages 90981 2010-07-05 08:48:35Z johnnyw $ - -use strict; -require Cwd; - - -########### -###### Sanity Checks -########## - -my $perl_path = '/usr/bin/perl'; - -my $status= 0; - -&can_run($perl_path.' -V') || - die "$0: perl path is incorrect, please fix the script\n"; - -my $doxy_path = '/usr/local/bin'; - -$ENV{'PATH'} = $ENV{'PATH'}.':'.$doxy_path; - -print "Starting doxygen document generation \n"; - -my $chgrp = 'chgrp'; -my $cpio = 'cpio'; -my $date = 'date'; -my $egrep = 'egrep'; -my $find = 'find'; -my $gzip = 'gzip'; -my $bzip = 'bzip2'; -my $tar = 'tar'; -my $make = 'make -f Release -s'; -my $mv = 'mv -f'; -my $scp = 'scp '; -my $rm = 'rm -f'; -my $cp = 'cp -f'; -my $md5sum = 'md5sum'; -my $shell_cd = 'cd'; -my $cksum_ext = 'md5'; -my $redirect = '>'; -my $checksum = '$md5sum'; - -$SIG{'HUP'} = $SIG{'INT'} = $SIG{'QUIT'} = $SIG{'TERM'} = 'cleanup'; - -my $release_filter = '\\( -name .svn -o -name build \\) -prune -o ' . - '! -name \'.\#*\' ! -name \'\#*\' ! -name \'*~\' ' . - '! -name \'*.MAK\' -print'; - -my $bin_files = - "\"\\.mak|\\.mdp|\\.ide|\\.exe\|\\.ico\|\\.gz\|\\.zip\|" . - "\\.gif|\\.vcp|\\.vcproj|\\.vcw|\\.sln\""; - -my $release_files = ''; - -chomp ($release_files = `$make show_release_files`); - -######## -######## Main execution thread. -######## -&ex ("bin/generate_doxygen.pl -is_release -perl_path $perl_path") - && die "$0: failed to generate ACE man pages\n"; - -my $build_command = - "$find ./html $release_filter | $cpio -o -H tar | " . - "$gzip -9 > ACE-html.tar.gz && ". - "$find ./html $release_filter | $cpio -o -H tar | " . - "$bzip -9 > ACE-html.tar.bz2 && ". - "$find ./html $release_filter | $egrep -v $bin_files | " . - "zip ACE-html.zip -q9@ &&" . - "md5sum ACE-html.tar.gz > ACE-html.tar.gz.md5 &&" . - "md5sum ACE-html.tar.bz2 > ACE-html.tar.bz2.md5 &&" . - "md5sum ACE-html.zip > ACE-html.zip.md5;"; - -&ex ($build_command) - && die "$0: failed to package ACE man pages\n"; - -exit $status; - - -######## -######## Verify that a command can be executed, return 1 on sucess -######## -sub can_run { - my $command = shift; - - open (RUN, "$command 2>&1 |") - || return 0; - while () {} - close(RUN) - || return 0; - return 1; -} - -######## -######## Execute a command, unless -n had been specified. Return value -######## of 0 indicates success. -######## -sub ex () -{ - my ($command) = @_; - - print "Command is $command \n"; - system ("$command"); -} diff --git a/dep/ACE_wrappers/bin/generate_topinfo_charts.sh b/dep/ACE_wrappers/bin/generate_topinfo_charts.sh deleted file mode 100755 index 3a5784f22..000000000 --- a/dep/ACE_wrappers/bin/generate_topinfo_charts.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -# -# $Id: generate_topinfo_charts.sh 84658 2009-03-01 18:45:35Z johnnyw $ -# - -gnuplot <<_EOF_ >/dev/null 2>&1 - set xdata time - set xtics rotate - set timefmt '%Y/%m/%d-%H:%M' - set xlabel 'Date (MM/DD)' - set ylabel 'Size (KBytes) $4' - set terminal png small size 800,600 color - set output "$2" - plot '$1' using 1:2 title '$3' w l - exit -_EOF_ - diff --git a/dep/ACE_wrappers/bin/group_test_stats.sh b/dep/ACE_wrappers/bin/group_test_stats.sh deleted file mode 100755 index 4fe03f812..000000000 --- a/dep/ACE_wrappers/bin/group_test_stats.sh +++ /dev/null @@ -1,8 +0,0 @@ -if test -e tmp; then unlink tmp; fi -if test -e tmp2; then unlink tmp2; fi -cat t.txt | grep '+[a-z|A-Z]' > tmp -sort tmp | uniq -c > tmp2 -unlink tmp -sort -n -r tmp2 > uniq.txt -unlink tmp2 -cat uniq.txt diff --git a/dep/ACE_wrappers/bin/indent_macros.pl b/dep/ACE_wrappers/bin/indent_macros.pl deleted file mode 100755 index ae7507e78..000000000 --- a/dep/ACE_wrappers/bin/indent_macros.pl +++ /dev/null @@ -1,59 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -i -S $0 ${1+"$@"}' - & eval 'exec perl -i -S $0 $argv:q' - if 0; - -# $Id: indent_macros.pl 80826 2008-03-04 14:51:23Z wotte $ - -# This perl script re-arrange the macro indentation so it's easier to -# see the layering relationship. - -$lineno = 0; -$indent = 0; - -sub inc_indent -{ - $indent += 2; -} - -sub dec_indent -{ - $indent -= 2; -} - -sub get_indent -{ - $retv = 0; - print STDERR "$0 (", $lineno, "): Unbalanced macro pairs\n" if ($indent < 0); - $retv = $indent - 1 if ($indent > 0); - $retv; -} - -while (<>) { - $lineno++; - if (/^[ \t]*\#[ \t]*((if|el|en|).*)/) - { - $cont = $1; - $temp = $2; - if ($temp =~ /if/) { - print "#", " " x &get_indent (), $cont,"\n"; - inc_indent (); - } - elsif ($temp =~ /el/) { - dec_indent (); - print "#", " " x &get_indent (), $cont,"\n"; - inc_indent (); - } - elsif ($temp =~ /en/) { - dec_indent (); - print "#", " " x &get_indent (), $cont,"\n"; - } - else { - print "#", " " x &get_indent (), $cont,"\n"; - } - } - else { - print $_; - } -} - -die ("$0 (EOF): Unbalanced macro pairs\n") if ($indent != 0); diff --git a/dep/ACE_wrappers/bin/libsize.pl b/dep/ACE_wrappers/bin/libsize.pl deleted file mode 100755 index d4f8eb89b..000000000 --- a/dep/ACE_wrappers/bin/libsize.pl +++ /dev/null @@ -1,192 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id: libsize.pl 80826 2008-03-04 14:51:23Z wotte $ -# -# Provides size breakdown of ACE, TAO, or orbsvcs libs. -# -# Assumes (or builds) the lib with debug=0. Allows other make args, -# such as -j 4, to be passed on the command line. - -$usage = - "$0 [-h, for html output] [-s, for shared libs] [-v] [make arguments]\n"; - -#### -#### Configuration parameters. -#### -$build_args = - 'debug=0 optimize=1 static_libs_only=1 DEFFLAGS=-DACE_USE_RCSID=0'; -$ACE_COMPONENTS = - 'OS Utils Logging Threads Demux Connection Sockets IPC Svcconf ' . - 'Streams Memory Token Other'; -$TAO_COMPONENTS = - 'POA Pluggable_Protocols Default_Resources Interpretive_Marshaling ' . - 'IDL_Compiler ORB_Core Dynamic_Any'; -$ORBSVCS_COMPONENTS = - 'Naming ImplRepo Time Concurrency Property Trader LifeCycle Sched ' . - 'Event CosEvent Event2 AV'; - - -#### The following are only used for VxWorks libraries, and -#### only if the corresponding environment variable isn't set. -$default_toolenv = '386'; -$default_wind_base = '/project/doc/pkg/wind'; -$default_host_type = 'sun4-solaris2'; - -#### Use gmake if it's on the user's PATH, otherwise use make. Use -#### sh -c to avoid warning if gmake isn't found. -$make = - system ("sh -c \"gmake --version\" > /dev/null 2>&1") ? 'make' : 'gmake'; - -$ACE_ROOT = $ENV{'ACE_ROOT'} || - die "$0: ACE_ROOT was not set!\n"; - - -$html = $verbose = 0; -$lib_extension = 'a'; - -#### -#### Process command line args. -#### -while ($#ARGV >= $[ && $ARGV[0] =~ /^-/) { - if ($ARGV[0] eq '-h') { - $html = 1; - chop ($sysname = `uname -s`); - chop ($sysrev = `uname -r`); - shift; - } elsif ($ARGV[0] eq '-s') { - $lib_extension = 'so'; - $build_args =~ s/ static_libs_only=1//; - shift; - } elsif ($ARGV[0] eq '-v') { - $verbose = 1; - shift; - } elsif ($ARGV[0] eq '-?') { - print "$usage"; - exit; - } else { - #### Pass remaining args to make. - } -} - -$make_args = join (' ', @ARGV) . $build_args; - -chop ($pwd = `pwd`); - -if ($pwd =~ m%/ace$%) { - #### libACE - $COMPONENTS = "$ACE_COMPONENTS"; - $LIB_COMPONENTS = 'ACE_COMPONENTS'; - $libname = 'ACE'; -} elsif ($pwd =~ m%/tao$%) { - $COMPONENTS = "$TAO_COMPONENTS"; - $LIB_COMPONENTS = 'TAO_COMPONENTS'; - $libname = 'TAO'; -} elsif ($pwd =~ m%/orbsvcs/orbsvcs$%) { - $COMPONENTS = "$ORBSVCS_COMPONENTS"; - $LIB_COMPONENTS = 'TAO_ORBSVCS'; - $libname = 'orbsvcs'; -} else { - die "$0: unsupported directory; $pwd\n"; -} - -$lib = "lib${libname}.$lib_extension"; - - -#### -#### Select the size command based on ACE_ROOT setting. -#### -if ($ACE_ROOT =~ /vxworks/) { - $TOOLENV = $ENV{'TOOLENV'} || $default_toolenv; - $WIND_BASE = $ENV{'WIND_BASE'} || $default_wind_base; - $WIND_HOST_TYPE = $ENV{'WIND_HOST_TYPE'} || $default_host_type; - $size = "$WIND_BASE/host/$WIND_HOST_TYPE/bin/size$TOOLENV"; -} elsif ($ACE_ROOT =~ /lynx-ppc/) { - $size = '/usr/lynx/3.0.0/ppc/cdk/sunos-xcoff-ppc/bin/size'; -} elsif ($ACE_ROOT =~ /lynx/) { - $size = '/usr/lynx/3.0.0/x86/cdk/sunos-coff-x86/bin/size'; -} elsif ($ACE_ROOT =~ /chorus/) { - $size = '/project/doc/mvme/green68k/gnu/bin/size'; -} else { - $size = 'size'; -} - - -#### -#### Measure the size of the entire library. -#### -$sizeTotal = build_lib ("$LIB_COMPONENTS=\"$COMPONENTS\""); -$components = " Platform\n Component\n Total"; -$componentSize = " Size, bytes\n $sizeTotal"; -$componentPercentage = - " Percentage of
total size\n 100"; -print "Total $sizeTotal (100)\n" unless $html; - - -#### -#### Measure the size of each library component. -#### -foreach my $i (split (' ', $COMPONENTS)) { - $sizeLib = build_lib ("$LIB_COMPONENTS=\"$i\""); - $components .= "\n $i"; - $componentSize .= "\n $sizeLib"; - $thisPercentage = percentage ($sizeLib, $sizeTotal); - $componentPercentage .= "\n $thisPercentage"; - print "$i $sizeLib ($thisPercentage)\n" unless $html; -} - -#### -#### Produce HTML output, if requested. -#### -if ($html) { - print '
' . "\n"; - print ' ' . "\n"; - print "$echoArgs $components\n"; - print ' ' . "\n"; - print " ' . "\n"; - print "$echoArgs $componentPercentage\n"; - print '
$sysname $sysrev $ACE_ROOT\n"; - print "$echoArgs $componentSize\n"; - print '

' . "\n"; -} - - -#### -#### Build library with componnents specified in argument. -#### -sub build_lib () -{ - my ($lib_components) = @_; - - unlink "$lib"; - - print "$make $make_args $lib_components\n" if $verbose; - - system ("$make $make_args $lib_components >> make.log 2>&1") && - die "$0: command failed; $make $make_args $lib_components\n"; - - my $libSize = 0; - - open (SIZE, "$size $lib |") || - die "$0: unable to open $size\n"; - while () { - my (@field) = split; - $libSize += $field[3] if $field[3] =~ /\d/; #### Skip size header line. - } - close (SIZE); - - $libSize; -} - - -#### -#### Return percentage of first argument as fraction of second. -#### Returns a string with two-decimal place precision. -#### -sub percentage () -{ - my ($size, $total) = @_; - - sprintf ("%.2f", $size * 100 / $total); -} diff --git a/dep/ACE_wrappers/bin/mail_test_stats.sh b/dep/ACE_wrappers/bin/mail_test_stats.sh deleted file mode 100755 index e5aa91bba..000000000 --- a/dep/ACE_wrappers/bin/mail_test_stats.sh +++ /dev/null @@ -1,43 +0,0 @@ -export TREE_ROOT=$HOME/ACE/latest -export ACE_ROOT=$TREE_ROOT/ACE_wrappers -export TAO_ROOT=$ACE_ROOT/TAO -export CIAO_ROOT=$TAO_ROOT/CIAO -mkdir -p $TREE_ROOT -cd $TREE_ROOT -svn co svn://svn.dre.vanderbilt.edu/DOC/Middleware/sets-anon/ACE+TAO+CIAO . -cd $ACE_ROOT/bin -rm *Tests.txt -rm *TestRev.txt -rm *Ignore.txt -rm *Builds.txt -./diff-builds-and-group-fixed-tests-only.sh - -MAILTO="devo-group@list.isis.vanderbilt.edu" -MAIL="mail -S smtp=zimbra.remedy.nl" -MAILFROM="jwillemsen@remedy.nl" - -MAIL_ATTACHMENTS= -for fn in `ls *Tests.txt`; do - MAIL_ATTACHMENTS=$MAIL_ATTACHMENTS+"-a $fn " -done -for fn in `ls *NoTestRev.txt`; do - MAIL_ATTACHMENTS=$MAIL_ATTACHMENTS+"-a $fn " -done -CURRENTDATE=`date -u +%Y_%m_%d` -mailfile="/tmp/rsmailfile" -{ - echo "Sending test statistics for" $CURRENTDATE - echo - cat *NoTestRev.txt - echo - echo "Sending with revision number" - cat *Tests.txt - echo - echo "Sending results per build" - cat *Builds.txt -} > $mailfile - -$MAIL -r $MAILFROM -s "ACE/TAO/CIAO test statistics for $CURRENTDATE" $MAILTO < $mailfile - -rm -f $mailfile - diff --git a/dep/ACE_wrappers/bin/main2TMAIN.pl b/dep/ACE_wrappers/bin/main2TMAIN.pl deleted file mode 100755 index 72c537cd5..000000000 --- a/dep/ACE_wrappers/bin/main2TMAIN.pl +++ /dev/null @@ -1,16 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -pi -S $0 ${1+"$@"}' - & eval 'exec perl -pi -S $0 $argv:q' - if 0; - -# $Id: main2TMAIN.pl 80826 2008-03-04 14:51:23Z wotte $ -# -# You may want to run the "find" command with this script, which maybe -# something like this: -# -# find . -type f \( -name "*.C" -o -name "*.cc" -o -name "*.c" -o -name "*.cpp" \) -print | xargs $ACE_ROOT/bin/auto_ptr.perl - -# The first three lines above let this script run without specifying the -# full path to perl, as long as it is in the user's PATH. -# Taken from perlrun man page. - -s/main( *\(int[ A-Za-z]*, *ACE_TCHAR)/ACE_TMAIN$1/g; diff --git a/dep/ACE_wrappers/bin/make-components b/dep/ACE_wrappers/bin/make-components deleted file mode 100755 index af713657a..000000000 --- a/dep/ACE_wrappers/bin/make-components +++ /dev/null @@ -1,17 +0,0 @@ -#! /bin/sh -# $Id: make-components 80826 2008-03-04 14:51:23Z wotte $ - -# Allow each ACE component to be built in a simple way, as follows: -# -# $ACE_ROOT/bin/make-components "your flags" -# -# to build libACE.$(SOEXT), libACE_OS.$(SOEXT), etc. - -flags="$*" -cd $ACE_ROOT/ace -make $flags -for component in `cat $ACE_ROOT/ace/ACE_COMPONENTS.list` -do - make $flags LIBACE=libACE_$component ACE_COMPONENTS=$component -done -exit 0 diff --git a/dep/ACE_wrappers/bin/make_release.py b/dep/ACE_wrappers/bin/make_release.py deleted file mode 100755 index e575047dd..000000000 --- a/dep/ACE_wrappers/bin/make_release.py +++ /dev/null @@ -1,978 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- - -# @file make_release.py -# @author William R. Otte -# -# Packaging script for ACE/TAO/CIAO - -from __future__ import with_statement -from time import strftime -import pysvn -import re -import tempfile -import shutil -import subprocess -import shlex - -################################################## -#### Global variables -################################################## -""" Options from the command line """ -opts=None - -""" Arguments from the command line """ -args=None - -""" Absolute path from the SVN workspace to be used for the -release""" -doc_root=None - -""" Full name of person performing release, obtained from the -environment""" -signature=None - -""" Full email address of person performing release. """ -mailid = None - -""" A dict containing version information used for the release. -This dict contains entries of the form -COMPONENT_version -COMPONENT_beta -COMPONENT_minor -COMPONENT_major """ -comp_versions = dict () - -release_date = strftime (# ie: Mon Jan 23 00:35:37 CST 2006 - "%a %b %d %H:%M:%S %Z %Y") - -# Packaging configuration - -""" This is a regex that detects files that SHOULD NOT have line endings -converted to CRLF when being put into a ZIP file """ -bin_regex = re.compile ("\.(mak|mdp|ide|exe|ico|gz|zip|xls|sxd|gif|vcp|vcproj|vcw|sln|dfm|jpg|png|vsd|bz2|pdf|ppt|graffle|pptx|odt)$") - - -################################################## -#### SVN Client Hooks -################################################## -svn_auth_info = None -def svn_login_callback (realm, username, may_save): - """ Callback used by the SVN library to obtain login credentials""" - global svn_auth_info - if svn_auth_info is None: - print "Please enter your Subversion login credentials. They will be saved for the duration of this script." - username = raw_input ("Username: ") - password = raw_input ("Password: ") - - svn_auth_info = (True, username, password, False) - - return svn_autn_info - -def svn_log_message_callback (): - """ Callback used by the svn library to generate log messages - for operations such as copy """ - return (True, "ChangeLogTag: %s %s <%s>" % (release_date, signature, mailid)) - -svn_client = pysvn.Client () -svn_client.callback_get_login = svn_login_callback -svn_client.callback_get_log_message = svn_log_message_callback - -################################################## -#### Utility Methods -################################################## -def parse_args (): - from optparse import OptionParser - - parser = OptionParser ("usage %prog [options]") - - parser.add_option ("--major", dest="release_type", action="store_const", - help="Create a major release.", default=None, const="major") - parser.add_option ("--minor", dest="release_type", action="store_const", - help="Create a minor release.", default=None, const="minor") - parser.add_option ("--beta", dest="release_type", action="store_const", - help="Create a beta release.", default=None, const="beta") - - - parser.add_option ("--tag", dest="action", action="store_const", - help="Tag the release. DO NOT USE WITH --kit", default=None, const="tag") - parser.add_option ("--update", dest="update", action="store_true", - help="Update the version numbers, only used with --tag", default=False) - - - parser.add_option ("--kit", dest="action", action="store_const", - help="Create kits. DO NOT USE WITH --tag", default=None, const="kit") - parser.add_option ("--dest", dest="package_dir", action="store", - help="Specify destination for the created packages.", default=None) - - parser.add_option ("--root", dest="repo_root", action="store", - help="Specify an alternate repository root", - default=None) - # By default get repo root from working copy - # default="https://svn.dre.vanderbilt.edu/DOC/") - - parser.add_option ("--mpc_root", dest="mpc_root", action="store", - help="Specify an alternate MPC repository root", - default=None) - # By default get repo root from MPC root in working copy - - parser.add_option ("-n", dest="take_action", action="store_false", - help="Take no action", default=True) - parser.add_option ("--verbose", dest="verbose", action="store_true", - help="Print out actions as they are being performed", - default=False) - (options, arguments) = parser.parse_args () - - if options.action is None: - parser.error ("Must specify an action, ie --tag or --kit") - - if options.action == "tag": - if options.release_type is None: - parser.error ("When tagging, must specify a release type") - - if options.update is False: - print "Warning: You are tagging a release, but not requesting a version increment" - - return (options, arguments) - - -def ex (command): - from os import system - global opts - vprint ("Executing " + command) - - if not opts.take_action: - print "Executing " + command - return - - status = system(command) - if status != 0: - print "ERROR: Nonzero retrun value from " + command - raise Exception - -### -# Checks that the users environment is sane. -# -def check_environment (): - from os import getenv - - global doc_root, signature, mailid, opts - - doc_root = getenv ("DOC_ROOT") - if (doc_root is None): - print "ERROR: Environment DOC_ROOT must be defined." - return False - - signature = getenv ("SIGNATURE") - if (signature is None): - print "ERROR: Must define SIGNATURE environment variable to your full name, used in changelogs." - return False - - mailid = getenv ("MAILID") - if (mailid is None): - print "ERROR: Must define MAILID environment to your email address for changelogs." - return False - - return True - -def vprint (string): - """ Prints the supplied message if verbose is enabled""" - global opts - - if opts.verbose: - print string - -################################################## -#### Tagging methods -################################################## -def commit (files): - """ Commits the supplied list of files to the repository. """ - vprint ("Committing the following files: " + " ".join (files)) - - if opts.take_action: - rev = svn_client.checkin (files, - "ChangeLogTag:%s %s <%s>" % (release_date, signature, mailid)) - - print "Checked in files, resuling in revision ", rev.number - -def check_workspace (): - """ Checks that the DOC and MPC repositories are up to date. """ - global opts, doc_root, svn_client - # @@TODO: Replace with a svn library - try: - rev = svn_client.update (doc_root) - print "Successfully updated ACE/TAO/CIAO working copy to revision " - except: - print "Unable to update ACE/TAO/CIAO workspace at " + doc_root - raise - - try: - rev = svn_client.update (doc_root + "/ACE/MPC") - print "Successfully updated MPC working copy to revision " - except: - print "Unable to update the MPC workspace at " + doc_root + "/ACE/MPC" - raise - - # By default retrieve repo root from working copy - if opts.repo_root is None: - info = svn_client.info2 (doc_root + "/ACE")[0] - opts.repo_root = info[1]["repos_root_URL"] - - # By default retrieve MPC root from working copy - if opts.mpc_root is None: - info = svn_client.info2 (doc_root + "/ACE/MPC")[0] - opts.mpc_root = info[1]["repos_root_URL"] - - vprint ("Repos root URL = " + opts.repo_root + "\n") - vprint ("Repos MPC root URL = " + opts.mpc_root + "\n") - - -def update_version_files (component): - """ Updates the version files for a given component. This includes - Version.h, the PRF, and the VERSION file.""" - - global comp_versions, opts, release_date - - vprint ("Updating version files for " + component) - - import re - - retval = list () - - ## Update component/VERSION - with open (component + "/VERSION", "r+") as version_file: - new_version = re.sub (component + " version .*", - "%s version %s, released %s" % (component, - comp_versions[component + "_version"], - release_date), - version_file.read ()) - if opts.take_action: - version_file.seek (0) - version_file.truncate (0) - version_file.write (new_version) - else: - print "New version file for " + component - print new_version - - vprint ("Updating Version.h for " + component) - - retval += [component + "/VERSION"] - - ## Update component/component/Version.h - version_header = """ -// -*- C++ -*- -// $Id: make_release.py 92148 2010-10-04 19:57:24Z wotte $ -// This is file was automatically generated by \$ACE_ROOT/bin/make_release.py - -#define %s_MAJOR_VERSION %s -#define %s_MINOR_VERSION %s -#define %s_BETA_VERSION %s -#define %s_VERSION \"%s\" -""" % (component, comp_versions[component + "_major"], - component, comp_versions[component + "_minor"], - component, comp_versions[component + "_beta"], - component, comp_versions[component + "_version"]) - - if opts.take_action: - with open (component + '/' + component.lower () + "/Version.h", 'r+') as version_h: - version_h.write (version_header) - else: - print "New Version.h for " + component - print version_header - - retval += [component + '/' + component.lower () + "/Version.h"] - - # Update component/PROBLEM-REPORT-FORM - vprint ("Updating PRF for " + component) - - version_string = re.compile ("^\s*(\w+) +VERSION ?:") - - with open (component + "/PROBLEM-REPORT-FORM", 'r+') as prf: - new_prf = "" - for line in prf.readlines (): - match = None - match = version_string.search (line) - if match is not None: - vprint ("Found PRF Version for " + match.group (1)) - line = re.sub ("(\d\.)+\d?", - comp_versions[match.group(1) + "_version"], - line) - - new_prf += line - - if opts.take_action: - prf.seek (0) - prf.truncate (0) - prf.writelines (new_prf) - else: - print "New PRF for " + component - print "".join (new_prf) - - retval += [component + "/PROBLEM-REPORT-FORM"] - return retval - - -def update_debianbuild (): - """ Updates ACE_ROOT/debian directory. - - renames all files with version nrs in name to new scheme. - - updates version nrs in file debian/control - Currently ONLY ACE & TAO stuff is handled here """ - - global comp_versions - - import glob - import re - from os.path import basename - from os.path import dirname - from os.path import join - - files = list () - prev_ace_ver = None - prev_tao_ver = None - - # rename files - mask = re.compile ("(libace|libkokyu|libtao)(.*)(\d+\.\d+\.\d+)(.*)") - tao = re.compile ("tao", re.IGNORECASE) - - for fname in glob.iglob(doc_root + '/ACE/debian/*'): - print "Considering " + fname - match = None - - fbase = basename (fname) - - match = mask.search (fbase) - fnewname = None - if match is not None: - if tao.search (fbase) is not None: - fnewname = join (dirname (fname), match.group (1) + match.group (2) + comp_versions["TAO_version"] + match.group (4)) - prev_tao_ver = match.group (3) - else: - fnewname = join (dirname (fname), match.group (1) + match.group (2) + comp_versions["ACE_version"] + match.group (4)) - prev_ace_ver = match.group (3) - - print prev_ace_ver -# print prev_tao_var - - if fnewname is not None: - if opts.take_action: - svn_client.move (fname, fnewname) - else: - print "Rename: " + fname + " to " + fnewname + "\n" - - files.append (fname) - files.append (fnewname) - - print "Appending " + fname + " and " + fnewname - - # update debianbuild/control - def update_ver (match): - if match.group (1) == 'libtao': - return match.group (1) + match.group (2) + comp_versions["TAO_version"] + match.group (4) - else: - return match.group (1) + match.group (2) + comp_versions["ACE_version"] + match.group (4) - - with open (doc_root + "/ACE/debian/debian.control", 'r+') as control_file: - new_ctrl = "" - for line in control_file.readlines (): - if re.search ("^(Package|Depends|Suggests):", line) is not None: - line = mask.sub (update_ver, line) - elif re.search ('^Replaces:', line) is not None: - print comp_versions["ACE_version"] - line = line.replace (prev_ace_ver, comp_versions["ACE_version"]) - - new_ctrl += line - - if opts.take_action: - control_file.seek (0) - control_file.truncate (0) - control_file.writelines (new_ctrl) - else: - print "New control file:" - print "".join (new_ctrl) - - files.append (doc_root + "/ACE/debian/debian.control") - - # rewrite debian/dsc - dsc_lines = """# Format: 1.0 -Source: ACE+TAO+CIAO-src-%s -Version: %s -Binary: ace -Maintainer: Johnny Willemsen -Architecture: any -Build-Depends: gcc, make, g++, debhelper (>= 5), libssl-dev (>= 0.9.7d), dpatch (>= 2.0.10), libxt-dev (>= 4.3.0), libfltk1.1-dev (>= 1.1.4), libqt4-dev (>= 4.4~rc1-4), tk-dev (>= 8.4.7), zlib1g-dev, docbook-to-man, bzip2, autoconf, automake, libtool, autotools-dev, doxygen, graphviz -Files: - 65b34001c9605f056713a7e146b052d1 46346654 ACE+TAO+CIAO-src-%s.tar.gz - -""" % (comp_versions["ACE_version"], comp_versions["TAO_version"], comp_versions["ACE_version"]) - if opts.take_action: - with open (doc_root + "/ACE/debian/ace.dsc", 'r+') as dsc_file: - dsc_file.seek (0) - dsc_file.truncate (0) - dsc_file.writelines (dsc_lines) - else: - print "New dsc file:\n" - print dsc_lines - - files.append (doc_root + "/ACE/debian/ace.dsc") - - return files - -def get_and_update_versions (): - """ Gets current version information for each component, - updates the version files, creates changelog entries, - and commit the changes into the repository.""" - - try: - get_comp_versions ("ACE") - get_comp_versions ("TAO") - get_comp_versions ("CIAO") - get_comp_versions ("DAnCE") - - files = list () - files += update_version_files ("ACE") - files += update_version_files ("TAO") - files += update_version_files ("CIAO") - files += update_version_files ("DAnCE") - files += create_changelog ("ACE") - files += create_changelog ("TAO") - files += create_changelog ("CIAO") - files += create_changelog ("DAnCE") - files += update_debianbuild () - - print "Committing " + str(files) - - commit (files) - except: - print "Fatal error in get_and_update_versions." - raise - -def create_changelog (component): - """ Creates a changelog entry for the supplied component that includes - the version number being released""" - vprint ("Creating ChangeLog entry for " + component) - - global comp_versions, opts - - # generate our changelog entry - changelog_entry = """%s %s <%s> - -\t* %s version %s released. - -""" % (release_date, signature, mailid, - component, - comp_versions[component + "_version"]) - - vprint ("Changelog Entry for " + component + "\n" + changelog_entry) - - with open ("%s/ChangeLog" % (component), 'r+') as changelog: - changelog_entry += changelog.read () - - if opts.take_action: - changelog.seek (0) - changelog.truncate (0) - changelog.write (changelog_entry) - - return ["%s/ChangeLog" % (component)] - -def get_comp_versions (component): - """ Extracts the current version number from the VERSION - file and increments it appropriately for the release type - requested.""" - vprint ("Detecting current version for" + component) - - import re - - global comp_versions, opts - - beta = re.compile ("version (\d+)\.(\d+)\.(\d+)") - minor = re.compile ("version (\d+)\.(\d+)[^\.]") - major = re.compile ("version (\d+)[^\.]") - - with open (component + "/VERSION") as version_file: - for line in version_file: - match = None - - match = beta.search (line) - if match is not None: - vprint ("Detected beta version %s.%s.%s" % - (match.group (1), match.group (2), match.group (3))) - - comp_versions[component + "_major"] = int (match.group (1)) - comp_versions[component + "_minor"] = int (match.group (2)) - comp_versions[component + "_beta"] = int (match.group (3)) - break - - match = minor.search (line) - if match is not None: - vprint ("Detected minor version %s.%s" % - (match.group (1), match.group (2))) - - comp_versions[component + "_major"] = int (match.group (1)) - comp_versions[component + "_minor"] = int (match.group (2)) - comp_versions[component + "_beta"] = 0 - break - - match = major.search (line) - if match is not None: - vprint ("Detected major version " + match.group (1) + ".0") - - comp_versions[component + "_major"] = int (match.group (1)) - comp_versions[component + "_minor"] = 0 - comp_versions[component + "_beta"] = 0 - break - - print "FATAL ERROR: Unable to locate current version for " + component - raise Exception - - if opts.update: - if opts.release_type == "major": - comp_versions[component + "_major"] += 1 - comp_versions[component + "_minor"] = 0 - comp_versions[component + "_beta"] = 0 - elif opts.release_type == "minor": - comp_versions[component + "_minor"] += 1 - comp_versions[component + "_beta"] = 0 - elif opts.release_type == "beta": - comp_versions[component + "_beta"] += 1 - - #if opts.release_type == "beta": - comp_versions [component + "_version"] = \ - str (comp_versions[component + "_major"]) + '.' + \ - str (comp_versions[component + "_minor"]) + '.' + \ - str (comp_versions[component + "_beta"]) - # else: - # comp_versions [component + "_version"] = \ - # str (comp_versions[component + "_major"]) + '.' + \ - # str (comp_versions[component + "_minor"]) - - -def update_latest_tag (which, branch): - """ Update one of the Latest_* tags externals to point the new release """ - global opts - root_anon = re.sub ("^https:", "svn:", opts.repo_root) - propval = """ACE_wrappers %s/tags/%s/ACE -ACE_wrappers/TAO %s/tags/%s/TAO -ACE_wrappers/TAO/CIAO %s/tags/%s/CIAO -ACE_wrappers/TAO/DAnCE %s/tags/%s/DAnCE -""" % ((root_anon, branch) * 4) - tagname = "Latest_" + which - temp = tempfile.gettempdir () + "/" + tagname - svn_client.checkout (opts.repo_root + "/tags/" + tagname, temp, False) - svn_client.propset ("svn:externals", propval, temp) - svn_client.checkin (temp, "Updating for release " + branch) - shutil.rmtree (temp, True) - -def tag (): - """ Tags the DOC and MPC repositories for the version """ - global comp_versions, opts - - branch = "ACE+TAO+CIAO-%d_%d_%d" % (comp_versions["ACE_major"], - comp_versions["ACE_minor"], - comp_versions["ACE_beta"]) - - if opts.take_action: - # Tag middleware - svn_client.copy (opts.repo_root + "/trunk", - opts.repo_root + "/tags/" + branch) - - # Tag MPC - svn_client.copy (opts.mpc_root + "/trunk", - opts.mpc_root + "/tags/" + branch) - - # Update latest tag - # mcorino@remedy.nl - subversion does not seem to support propset directly - # on URLs (except for some strange reason through propedit) - #if opts.release_type == "major": - #update_latest_tag ("Major", branch) - #elif opts.release_type == "minor": - #update_latest_tag ("Minor", branch) - #elif opts.release_type == "beta": - #update_latest_tag ("Beta", branch) - #update_latest_tag ("Micro", branch) - #if comp_versions["ACE_beta"] == 1: - #update_latest_tag ("BFO", branch) - else: - print "Creating tags:\n" - print opts.repo_root + "/trunk -> " + opts.repo_root + "/tags/" + branch + "\n" - print opts.mpc_root + "/trunk -> " + opts.mpc_root + "/tags/" + branch + "\n" - -################################################## -#### Packaging methods -################################################## -def export_wc (stage_dir): - - global doc_root - - # Export our working copy - print ("Exporting ACE") - svn_client.export (doc_root + "/ACE", - stage_dir + "/ACE_wrappers") - - print ("Exporting MPC") - svn_client.export (doc_root + "/ACE/MPC", - stage_dir + "/ACE_wrappers/MPC") - - print ("Exporting TAO") - svn_client.export (doc_root + "/TAO", - stage_dir + "/ACE_wrappers/TAO") - - print ("Exporting CIAO") - svn_client.export (doc_root + "/CIAO", - stage_dir + "/ACE_wrappers/TAO/CIAO") - - print ("Exporting DAnCE") - svn_client.export (doc_root + "/DAnCE", - stage_dir + "/ACE_wrappers/TAO/DAnCE") - - -def update_packages (text_files, bin_files, stage_dir, package_dir): - import os - - print "Updating packages...." - os.chdir (stage_dir) - - # -g appends, -q for quiet operation - zip_base_args = " -gqu " - # -l causes line ending conversion for windows - zip_text_args = " -l " - zip_file = stage_dir + "/zip-archive.zip" - - # -r appends, -f specifies file. - tar_args = "-uf " - tar_file = stage_dir + "/tar-archive.tar" - - # Zip binary files - print "\tAdding binary files to zip...." - p = subprocess.Popen (shlex.split ("xargs zip " + zip_base_args + zip_file), stdin=subprocess.PIPE, stdout=subprocess.PIPE, close_fds=True) - instream, outstream = (p.stdin, p.stdout) - - instream.write (bin_files) - - instream.close () - outstream.close () - - # Need to wait for zip process spawned by popen2 to complete - # before proceeding. - os.wait () - - print "\tAdding text files to zip....." - p = subprocess.Popen (shlex.split ("xargs zip " + zip_base_args + zip_text_args + zip_file), stdin=subprocess.PIPE, stdout=subprocess.PIPE, close_fds=True) - instream, outstream = (p.stdin, p.stdout) - - instream.write (text_files) - - instream.close () - outstream.close () - - # Need to wait for zip process spawned by popen2 to complete - # before proceeding. - os.wait () - - # Tar files - print "\tAdding to tar file...." - if (not os.path.exists (tar_file)): - open(tar_file, 'w').close () - - p = subprocess.Popen (shlex.split ("xargs tar " + tar_args + tar_file), stdin=subprocess.PIPE, stdout=subprocess.PIPE, close_fds=True) - instream, outstream = (p.stdin, p.stdout) - instream.write (' ' + bin_files + ' ' + text_files) - - instream.close () - - print outstream.read () - outstream.close () - - os.wait () - -def move_packages (name, stage_dir, package_dir): - """ Copies the temporary files from the stage_dir to the package_dir. - Renames them to name.tar and name.zip, respectively, and compresses - the tarfile with gzip and bzip2. """ - import shutil, os - from os.path import join - - print "Storing packages for ", name - - # Take care of the zip file - print "\tZip file..." - target_file = join (package_dir, name + ".zip") - shutil.copy (join (stage_dir, "zip-archive.zip"), - target_file) - ex ("md5sum " + target_file + " > " + target_file + ".md5") - - - tar_file = join (stage_dir, "tar-archive.tar") - target_file = join (package_dir, name + ".tar") - - # bzip - print "\tBzip2 file....." - shutil.copy (tar_file, - target_file) - ex ("bzip2 " + target_file) - ex ("md5sum " + target_file + ".bz2 > " + target_file + ".bz2.md5") - - print "\tgzip file....." - shutil.copy (tar_file, - target_file) - ex ("gzip " + target_file) - ex ("md5sum " + target_file + ".gz > " + target_file + ".gz.md5") - -def create_file_lists (base_dir, prefix, exclude): - """ Creates two lists of files: files that need CR->CRLF - conversions (useful for zip files) and those that don't, - excluding filies/directories found in exclude. """ - import os - - text_files = list () - bin_files = list () - - for root, dirs, files in os.walk (base_dir, topdown=True): -# print "root", root - - relroot = root.replace (base_dir, "") - -# print "relroot", relroot - - if len(relroot) and relroot[0] == '/': - relroot = relroot [1:] - - excluded = False - for item in exclude: - dir_item = item + '/' - if relroot.startswith (dir_item) or relroot.startswith (item): -# print "excluding", relroot - excluded = True -# else: -# print relroot, "does not start with", dir_item, "or", item - - if excluded: - continue - - # Remove dirs from our exclude pattern - for item in dirs: -# print "item", item - # Remove our excludes - if (item) in exclude: -# print "Removing " + item + " from consideration...." - dirs.remove (item) - - for item in files: - - fullitem = os.path.join (relroot, item) - if fullitem in exclude or item in exclude: -# print "Removing " + fullitem + " from consideration...." - files.remove (item) - continue - else: - if bin_regex.search (fullitem) is not None: - bin_files.append ('"' + os.path.join (prefix, fullitem) + '"') - else: - text_files.append ('"' + os.path.join (prefix, fullitem) + '"') - - return (text_files, bin_files) - -def write_file_lists (comp, text, bin): - outfile = open (comp + ".files", 'w') - - outfile.write ("\n".join (text)) - outfile.write (".............\nbin files\n.............\n") - outfile.write ("\n".join (bin)) - - outfile.close () - -def package (stage_dir, package_dir, decorator): - """ Packages ACE, ACE+TAO, and ACE+TAO+CIAO releases of current - staged tree, with decorator appended to the name of the archive. """ - from os.path import join - from os import remove - from os import chdir - - chdir (stage_dir) - - text_files = list () - bin_files = list () - - # Erase our old temp files - try: -# print "removing files", join (stage_dir, "zip-archive.zip"), join (stage_dir, "tar-archive.tar") - remove (join (stage_dir, "zip-archive.zip")) - remove (join (stage_dir, "tar-archive.tar")) - except: - print "error removing files", join (stage_dir, "zip-archive.zip"), join (stage_dir, "tar-archive.tar") - pass # swallow any errors - - text_files, bin_files = create_file_lists (join (stage_dir, "ACE_wrappers"), - "ACE_wrappers", ["TAO", "autom4te.cache"]) - -# write_file_lists ("fACE" + decorator, text_files, bin_files) - update_packages ("\n".join (text_files), - "\n".join (bin_files), - stage_dir, - package_dir) - - - move_packages ("ACE" + decorator, stage_dir, package_dir) - - text_files = list () - bin_files = list () - - # for TAO: - text_files, bin_files = create_file_lists (join (stage_dir, "ACE_wrappers/TAO"), - "ACE_wrappers/TAO", ["CIAO", "DAnCE", "autom4te.cache"]) - -# write_file_lists ("fTAO" + decorator, text_files, bin_files) - update_packages ("\n".join (text_files), - "\n".join (bin_files), - stage_dir, - package_dir) - - move_packages ("ACE+TAO" + decorator, stage_dir, package_dir) - - text_files = list () - bin_files = list () - - # for DAnCE: - text_files, bin_files = create_file_lists (join (stage_dir, "ACE_wrappers/TAO/DAnCE"), - "ACE_wrappers/TAO/DAnCE", ["CIAO", "autom4te.cache"]) - -# write_file_lists ("fTAO" + decorator, text_files, bin_files) - update_packages ("\n".join (text_files), - "\n".join (bin_files), - stage_dir, - package_dir) - - move_packages ("ACE+TAO+DAnCE" + decorator, stage_dir, package_dir) - - text_files = list () - bin_files = list () - # for CIAO: - text_files, bin_files = create_file_lists (join (stage_dir, "ACE_wrappers/TAO/CIAO"), - "ACE_wrappers/TAO/CIAO", ["DAnCE", "autom4te.cache"]) - -# write_file_lists ("fCIAO" + decorator, text_files, bin_files) - update_packages ("\n".join (text_files), - "\n".join (bin_files), - stage_dir, - package_dir) - - move_packages ("ACE+TAO+CIAO" + decorator, stage_dir, package_dir) - -def generate_workspaces (stage_dir): - """ Generates workspaces in the given stage_dir """ - print "Generating workspaces..." - global opts - import os - - # Make sure we are in the right directory... - os.chdir (os.path.join (stage_dir, "ACE_wrappers")) - - # Set up our environment - os.putenv ("ACE_ROOT", os.path.join (stage_dir, "ACE_wrappers")) - os.putenv ("MPC_ROOT", os.path.join (stage_dir, "ACE_wrappers", "MPC")) - os.putenv ("TAO_ROOT", os.path.join (stage_dir, "ACE_wrappers", "TAO")) - os.putenv ("CIAO_ROOT", os.path.join (stage_dir, "ACE_wrappers", "TAO", "CIAO")) - os.putenv ("DANCE_ROOT", os.path.join (stage_dir, "ACE_wrappers", "TAO", "DAnCE")) - - # Create option strings - mpc_command = os.path.join (stage_dir, "ACE_wrappers", "bin", "mwc.pl") - exclude_option = ' -exclude TAO/TAO_*.mwc,TAO/CIAO/CIAO_*.mwc ' - mpc_option = ' -recurse -hierarchy -relative ACE_ROOT=' + stage_dir + '/ACE_wrappers ' - mpc_option += ' -relative TAO_ROOT=' + stage_dir + '/ACE_wrappers/TAO ' - mpc_option += ' -relative CIAO_ROOT=' + stage_dir + '/ACE_wrappers/TAO/CIAO ' - mpc_option += ' -relative DANCE_ROOT=' + stage_dir + '/ACE_wrappers/TAO/DAnCE ' - - vc10_option = ' -name_modifier *_vc10 ' - vc9_option = ' -name_modifier *_vc9 ' - vc8_option = ' -name_modifier *_vc8 ' - - redirect_option = str () - if not opts.verbose: - redirect_option = " >> ../mpc.log 2>&1" - - # Generate GNUmakefiles - print "\tBootstrapping autotools support" - ex ("bin/bootstrap " + redirect_option) - - print "\tGenerating GNUmakefiles...." - ex (mpc_command + " -type gnuace " + exclude_option + mpc_option + redirect_option) - - print "\tGenerating VC10 solutions..." - ex (mpc_command + " -type vc10 " + mpc_option + vc10_option + redirect_option) - - print "\tGenerating VC9 solutions..." - ex (mpc_command + " -type vc9 " + mpc_option + vc9_option + redirect_option) - - print "\tGenerating VC8 solutions..." - ex (mpc_command + " -type vc8 " + mpc_option + vc8_option + redirect_option) - - print "\tCorrecting permissions for all generated files..." - ex ("find ./ -name '*.vc[p,w]' -or -name '*.bmak' -or -name '*.vcproj' -or -name '*.sln' -or -name '*.vcxproj' -or -name '*.filters' -or -name 'GNUmake*' | xargs chmod 0644") - -def create_kit (): - """ Creates kits """ - import os - from os.path import join - # Get version numbers for this working copy, note this will - # not update the numbers. - print "Getting current version information...." - - get_comp_versions ("ACE") - get_comp_versions ("TAO") - get_comp_versions ("CIAO") - get_comp_versions ("DAnCE") - - print "Creating working directories...." - stage_dir, package_dir = make_working_directories () - - print "Exporting working copy..." - export_wc (stage_dir) - - ### make source only packages - package (stage_dir, package_dir, "-src") - - generate_workspaces (stage_dir) - - ### create standard packages. - package (stage_dir, package_dir, "") - -def make_working_directories (): - """ Creates directories that we will be working in. - In particular, we will have DOC_ROOT/stage-PID and - DOC_ROOT/packages-PID """ - global doc_root - import os.path, os - - stage_dir = os.path.join (doc_root, "stage-" + str (os.getpid ())) - package_dir = os.path.join (doc_root, "package-" + str (os.getpid ())) - - os.mkdir (stage_dir) - os.mkdir (package_dir) - - return (stage_dir, package_dir) - -def main (): - global opts - - if opts.action == "tag": - print "Tagging a " + opts.release_type + " release." - raw_input ("Press enter to continue") - - check_workspace () - get_and_update_versions () - tag () - - else: - print "Creating a kit." - raw_input ("Press enter to continue") - - create_kit () - - - -if __name__ == "__main__": - (opts, args) = parse_args () - - if check_environment() is not True: - exit (1) - - main () diff --git a/dep/ACE_wrappers/bin/mpc-mode.el b/dep/ACE_wrappers/bin/mpc-mode.el deleted file mode 100644 index 3301f0daa..000000000 --- a/dep/ACE_wrappers/bin/mpc-mode.el +++ /dev/null @@ -1,185 +0,0 @@ -;;; mpc-mode.el --- Makefile Project Creator mode for Emacs - -;; Author: Jules Colding -;; Maintainer: Jules Colding -;; Keywords: languages, faces, mpc - -;; Copyright (C) 2008 Jules Colding -;; -;; This program 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 3 of the License, or -;; (at your option) any later version. -;; -;; This program 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 this program. If not, see . - -;; A major mode for editing MPC input. Please see: -;; -;; http://downloads.ociweb.com/MPC/MakeProjectCreator.pdf -;; -;; Derived from autoconf-mode.el by Martin Buchholz (martin@xemacs.org) - - -;; Many thanks to the follwing kind people for extensions, bugfixes and -;; other contributions: -;; -;; * William R. Otte -;; Indentation and syntax table. -;; - -;; Put this file somewhere in your emacs load path and add the following -;; to your Emacs configuration file: -;; -;; (require 'mpc-mode) -;; -;; -;; You may also add something like this to the top of your MPC files -;; to force a specific indentation mode: -;; -;; // -*- Mode: MPC; tab-width: 2; indent-tabs-mode: t; -*- - -;;; Code: - -(require 'font-lock) - -(defvar mpc-mode-hook nil) - -(defvar mpc-mode-map - (let ((mpc-mode-map (make-sparse-keymap))) - (define-key mpc-mode-map '[(control c) (control c)] 'comment-region) - (define-key mpc-mode-map '[(control j)] 'newline-and-indent) - mpc-mode-map) - "Keymap for MPC major mode") - -(defvar mpc-font-lock-keywords - `( - ("\\(project\\)" 1 font-lock-warning-face t) - ("\\(workspace\\)" 1 font-lock-warning-face t) - ("(\\([^()]*\\))" 1 font-lock-constant-face t) - ("\\(IDL_Files\\)" 1 font-lock-keyword-face t) - ("\\(Source_Files\\)" 1 font-lock-keyword-face t) - ("\\(Header_Files\\)" 1 font-lock-keyword-face t) - ("\\(Inline_Files\\)" 1 font-lock-keyword-face t) - ("\\(Template_Files\\)" 1 font-lock-keyword-face t) - ("\\(Resource_Files\\)" 1 font-lock-keyword-face t) - ("\\(Pkgconfig_Files\\)" 1 font-lock-keyword-face t) - ("\\(exclude\\)" 1 font-lock-type-face t) - ("\\(custom_only\\)" 1 font-lock-type-face t) - ("\\(cmdline\\)" 1 font-lock-type-face t) - ("\\(avoids\\)" 1 font-lock-type-face t) - ("\\(exename\\)" 1 font-lock-type-face t) - ("\\(install =\\)" 1 font-lock-type-face t) - ("\\(install +=\\)" 1 font-lock-type-face t) - ("\\(install -=\\)" 1 font-lock-type-face t) - ("\\(libs\\)" 1 font-lock-type-face t) - ("\\(lit_libs\\)" 1 font-lock-type-face t) - ("\\(linkflags\\)" 1 font-lock-type-face t) - ("\\(specific\\)" 1 font-lock-type-face t) - ("\\(macros\\)" 1 font-lock-type-face t) - ("\\(after\\)" 1 font-lock-type-face t) - ("\\(libout\\)" 1 font-lock-type-face t) - ("\\(libpaths\\)" 1 font-lock-type-face t) - ("\\(includes\\)" 1 font-lock-type-face t) - ("\\(automatic\\)" 1 font-lock-type-face t) - ("\\(command\\)" 1 font-lock-type-face t) - ("\\(output_option\\)" 1 font-lock-type-face t) - ("\\(header_pre_extension\\)" 1 font-lock-type-face t) - ("\\(header_outputext\\)" 1 font-lock-type-face t) - ("\\(sharedname\\)" 1 font-lock-type-face t) - ("\\(dynamicflags\\)" 1 font-lock-type-face t) - ("\\(idlflags\\)" 1 font-lock-type-face t) - ("\\(:\\)" 1 font-lock-builtin-face t) - ("\\( = \\)" 1 font-lock-builtin-face t) - ("\\(+=\\)" 1 font-lock-builtin-face t) - ("\\(-=\\)" 1 font-lock-builtin-face t) - ("\\(//\\)" 1 font-lock-comment-face t) - ("\\//\\(.*\\)" 1 font-lock-comment-face t) - "default font-lock-keywords") - ) - -;; Indenting logic -(defun mpc-indent-line () - "Indent current line as MPC directives" - (interactive) - (beginning-of-line) - - (if (bobp) - (indent-line-to 0) ; if we are at start of file, zero indent - (let ((not-found-hint t) cur-indent (close-brace nil)) - (save-excursion ; otherwise, we are not looking at a }, so we need to go back to find the - (if (looking-at ".*}") - (setq close-brace t)) - (while not-found-hint ; nearest indentation hint - (forward-line -1) - (if (looking-at ".*{") - (progn - (setq cur-indent (+ (current-indentation) tab-width)) - (setq not-found-hint nil)) - (if (looking-at ".*}") - (progn - (setq cur-indent (current-indentation)) - (if (< cur-indent 0) - (setq cur-indent 0)) - (setq not-found-hint nil)) - (if (bobp) - (setq not-found-hint nil)))))) - (if close-brace - (setq cur-indent (- cur-indent tab-width))) - (if cur-indent - (indent-line-to cur-indent) - (indent-line-to 0)))) - ) - -;; Create a syntax table. Derived from fundamental mode, it will automatically -;; highlight strings, and behave correctly on most words. -(defvar mpc-mode-syntax-table nil - "syntax table used in mpc mode") -(setq mpc-mode-syntax-table (make-syntax-table)) -(modify-syntax-entry ?_ "w" mpc-mode-syntax-table) ; underscore is a valid part of a word -(modify-syntax-entry ?- "w" mpc-mode-syntax-table) ; hyphen is a valid part of a word -(modify-syntax-entry ?/ ". 12b" mpc-mode-syntax-table) ; c++-style comments -(modify-syntax-entry ?\n "> b" mpc-mode-syntax-table) ; c++-style comments - -;;;###autoload -(defun mpc-mode () - "A major-mode to edit MPC files. -\\{mpc-mode-map} -" - (interactive) - (kill-all-local-variables) - (use-local-map mpc-mode-map) - - (make-local-variable 'comment-start) - (setq comment-start "//") - (make-local-variable 'parse-sexp-ignore-comments) - (setq parse-sexp-ignore-comments t) - - (make-local-variable 'tab-width) - (make-local-variable 'font-lock-defaults) - (make-local-variable 'indent-line-function) - - (setq major-mode 'mpc-mode) - (setq mode-name "MPC") - - (setq font-lock-defaults `(mpc-font-lock-keywords nil t)) - (setq indent-line-function 'mpc-indent-line) - - (set-syntax-table mpc-mode-syntax-table) - (run-hooks 'mpc-mode-hook) - ) - -(add-to-list 'auto-mode-alist '("\\.mwb\\'" . mpc-mode)) -(add-to-list 'auto-mode-alist '("\\.mwc\\'" . mpc-mode)) -(add-to-list 'auto-mode-alist '("\\.mpb\\'" . mpc-mode)) -(add-to-list 'auto-mode-alist '("\\.mpc\\'" . mpc-mode)) - - -(provide 'mpc-mode) - -;;; mpc-mode.el ends here diff --git a/dep/ACE_wrappers/bin/mpc.pl b/dep/ACE_wrappers/bin/mpc.pl deleted file mode 100755 index 5cb52d3a4..000000000 --- a/dep/ACE_wrappers/bin/mpc.pl +++ /dev/null @@ -1,68 +0,0 @@ -#! /usr/bin/perl -eval '(exit $?0)' && eval 'exec perl -w -S $0 ${1+"$@"}' - & eval 'exec perl -w -S $0 $argv:q' - if 0; - -# ****************************************************************** -# Author: Chad Elliott -# Date: 6/17/2002 -# $Id: mpc.pl 89398 2010-03-08 15:38:06Z mitza $ -# ****************************************************************** - -# ****************************************************************** -# Pragma Section -# ****************************************************************** - -require 5.006; - -use strict; -use FindBin; -use File::Spec; -use File::Basename; - -my($basePath) = (defined $FindBin::RealBin ? $FindBin::RealBin : - File::Spec->rel2abs(dirname($0))); -if ($^O eq 'VMS') { - $basePath = File::Spec->rel2abs(dirname($0)) if ($basePath eq ''); - $basePath = VMS::Filespec::unixify($basePath); -} -$basePath .= '/MakeProjectCreator'; - -my($mpcroot) = $ENV{MPC_ROOT}; -my($mpcpath) = (defined $mpcroot ? $mpcroot : - dirname(dirname($basePath)) . '/MPC'); -unshift(@INC, $mpcpath . '/modules'); - -if (defined $mpcroot) { - print STDERR "MPC_ROOT was set to $mpcroot.\n"; -} - -if (! -d "$mpcpath/modules") { - print STDERR "ERROR: Unable to find the MPC modules in $mpcpath.\n"; - if (defined $mpcroot) { - print STDERR "Your MPC_ROOT environment variable does not point to a ", - "valid MPC location.\n"; - } - else { - print STDERR "You can set the MPC_ROOT environment variable to the ", - "location of MPC.\n"; - } - exit(255); -} - -require Driver; - -# ************************************************************ -# Subroutine Section -# ************************************************************ - -sub getBasePath { - return $mpcpath; -} - -# ************************************************************ -# Main Section -# ************************************************************ - -my($driver) = new Driver($basePath, Driver::projects()); -exit($driver->run(@ARGV)); diff --git a/dep/ACE_wrappers/bin/msvc_mpc_auto_compile.pl b/dep/ACE_wrappers/bin/msvc_mpc_auto_compile.pl deleted file mode 100755 index ca5a41211..000000000 --- a/dep/ACE_wrappers/bin/msvc_mpc_auto_compile.pl +++ /dev/null @@ -1,375 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id: msvc_mpc_auto_compile.pl 91938 2010-09-22 18:43:23Z wotte $ -# Win32 auto_compile script. - -use File::Find; -use Cwd; - -if (!$ENV{ACE_ROOT}) { - $ACE_ROOT = getcwd ()."\\"; - warn "ACE_ROOT not defined, defaulting to ACE_ROOT=$ACE_ROOT"; -} -else { - $ACE_ROOT = $ENV{ACE_ROOT}; -} - -@directories = (); - - -@ace_core_dirs = ("$ACE_ROOT\\ace", - "$ACE_ROOT\\Kokyu", - "$ACE_ROOT\\ACEXML", - "$ACE_ROOT\\examples", - "$ACE_ROOT\\tests", - "$ACE_ROOT\\protocols"); - -@orbsvcs_core_dirs = ("$ACE_ROOT\\TAO\\orbsvcs\\orbsvcs"); - -@dance_core_dirs = ("$ACE_ROOT\\TAO\\DAnCE"); - -@ciao_core_dirs = ("$ACE_ROOT\\TAO\\CIAO"); - -$debug = 0; -$verbose = 0; -$print_status = 0; -$Ignore_errors = 0; # By default, bail out if an error occurs. -$Build_Debug = 0; -$Build_Release = 0; -$build_all = 0; -$Build_Cmd = "/BUILD"; -$use_custom_dir = 0; -$useenv = ''; -$vc7 = 0; - -# Build_Config takes in a string of the type "project--configuration" and -# runs msdev to build it. -# sub Build_Config ($) -#{ -# my ($arg) = @_; -# my ($project, $config) = split /--/, $arg; -# -# return Build ($project, $config); -#} - -# Build -sub Build ($$) -{ - my ($project, $config) = @_; - - if ($debug == 1) { - print "$project\n"; - return 0; - } - else { - print "Auto_compiling $project : $config\n"; - - print "Building $project $config\n" if $verbose; - - return system ("msdev.com $project /MAKE \"$config\" $Build_Cmd $useenv"); - } -} - -# Build -sub Build_VC7 ($$) -{ - my ($project, $config) = @_; - - if ($debug == 1) { - print "$project\n"; - return 0; - } - else { - print "Auto_compiling $project : $config\n"; - - print "Building $project $config\n" if $verbose; - - return system ("devenv.com $project $Build_Cmd $config $useenv"); - } -} - -sub Find_Dsw (@) -{ - my (@dir) = @_; - @array = (); - - sub wanted_dsw { - $array[++$#array] = - $File::Find::name if ($File::Find::name =~ /\.dsw$/i); - } - - find (\&wanted_dsw, @dir); - - print "List of dsw's \n" if ($verbose == 1); - return @array; -} - -sub Find_Sln (@) -{ - my (@dir) = @_; - @array = (); - - sub wanted_sln { - $array[++$#array] = - $File::Find::name if ($File::Find::name =~ /\.sln$/i); - } - - find (\&wanted_sln, @dir); - - print "List of sln's \n" if ($verbose == 1); - return @array; -} - -# Only builds the core libraries. -sub Build_Custom () -{ - print STDERR "Building Custom\n"; - print "Building Custom directories specified\n";# if ($verbose == 1); - - print "Build " if ($verbose); - print "Debug " if ($verbose) && ($Build_Debug); - print "Release " if ($verbose) && ($Build_Release); - print "\n" if ($verbose); - - my @custom_list = Find_Dsw (@directories); - - print "List now is @custom_list \n"; - foreach $c (@custom_list) { - print "List now is $c \n"; - if ($Build_Debug) { - $Status = Build ($c, "ALL - Win32 Debug"); - return if $Status != 0 && !$Ignore_errors; - } - if ($Build_Release) { - $Status = Build ($c, "ALL - Win32 Release"); - return if $Status != 0 && !$Ignore_errors; - } - } -} - -# Build all examples and directories -sub Build_All () -{ - push @directories, @ace_core_dirs; - push @directories, @orbsvcs_core_dirs; - push @directories, @dance_core_dirs; - push @directories, @ciao_core_dirs; - - print STDERR "First pass (libraries)\n" if ($print_status == 1); - print "\nmsvc_auto_compile: First Pass CORE (libraries)\n"; - - Build_Custom (); - - my @new_directory_search = "$ACE_ROOT"; - - my @configurations = Find_Dsw (@new_directory_search); - - print STDERR "Second pass (for other things)\n" if ($print_status == 1); - print "\nmsvc_mpc_auto_compile: Second Pass (rest of the stuff)\n"; - - foreach $c (@configurations) { - print "\nUsing $c for compilation\n"; - if ($Build_Debug) { - $Status = Build ($c, "ALL - Win32 Debug"); - return if $Status != 0 && !$Ignore_errors; - } - if ($Build_Release) { - $Status = Build ($c, "ALL - Win32 Release"); - return if $Status != 0 && !$Ignore_errors; - } - } -} - - -# Only builds the core libraries. -sub Build_Custom_VC7 () -{ - print STDERR "Building Custom\n"; - print "Building Custom directories specified\n";# if ($verbose == 1); - - print "Build " if ($verbose); - print "Debug " if ($verbose) && ($Build_Debug); - print "Release " if ($verbose) && ($Build_Release); - print "\n" if ($verbose); - - my @custom_list = Find_Sln (@directories); - - print "List now is @custom_list \n"; - foreach $c (@custom_list) { - print "List now is $c \n"; - if ($Build_Debug) { - $Status = Build_VC7 ($c, "debug"); - return if $Status != 0 && !$Ignore_errors; - } - if ($Build_Release) { - $Status = Build_VC7 ($c, "release"); - return if $Status != 0 && !$Ignore_errors; - } - } -} - -# Build all examples and directories -sub Build_All_VC7 () -{ - push @directories, @ace_core_dirs; - push @directories, @orbsvcs_core_dirs; - push @directories, @dance_core_dirs; - push @directories, @ciao_core_dirs; - - print STDERR "First pass (libraries)\n" if ($print_status == 1); - print "\nmsvc_auto_compile: First Pass CORE (libraries)\n"; - - Build_Custom_VC7 (); - - my @new_directory_search = "$ACE_ROOT"; - - my @configurations = Find_Sln (@new_directory_search); - - print STDERR "Second pass (for other things)\n" if ($print_status == 1); - print "\nmsvc_mpc_auto_compile: Second Pass (rest of the stuff)\n"; - - foreach $c (@configurations) { - print "\nUsing $c for compilation\n"; - if ($Build_Debug) { - $Status = Build_VC7 ($c, "debug"); - return if $Status != 0 && !$Ignore_errors; - } - if ($Build_Release) { - $Status = Build_VC7 ($c, "release"); - return if $Status != 0 && !$Ignore_errors; - } - } -} - -## Parse command line argument -while ( $#ARGV >= 0 && $ARGV[0] =~ /^(-|\/)/ ) -{ - if ($ARGV[0] =~ '-k') { # Ignore errors - print "Ignore errors\n" if ( $verbose ); - $Ignore_errors = 1; - } - elsif ($ARGV[0] =~ /^-d$/i) { # debug - $debug = 1; - } - elsif ($ARGV[0] =~ '-vc7') { # Use VC7 project and solution files. - print "Using VC7 files\n" if ( $verbose ); - $vc7 = 1; - } - elsif ($ARGV[0] =~ '-vc8') { # Use VC8 project and solution files. - print "Using VC8 files\n" if ( $verbose ); - $vc7 = 1; # vc8 is like vc7 - } - elsif ($ARGV[0] =~ '-vc9') { # Use VC9 project and solution files. - print "Using VC9 files\n" if ( $verbose ); - $vc7 = 1; # vc9 is like vc7 - } - elsif ($ARGV[0] =~ '-v') { # verbose mode - $verbose = 1; - } - elsif ($ARGV[0] =~ '-s') { # status messages - $print_status = 1; - } - elsif ($ARGV[0] =~ '-u') { # USEENV - print "Using Environment\n" if ($verbose); - $useenv = '/USEENV'; - } - elsif ($ARGV[0] =~ '-ACE') {# Build ACE and its tests - print "Building ACE\n" if ( $verbose ); - $use_custom_dir = 1; - push @directories, @ace_core_dirs; - } - elsif ($ARGV[0] =~ '-TAO') {# Build TAO and its tests - print "Building TAO\n" if ( $verbose ); - $use_custom_dir = 1; - push @directories, @ace_core_dirs; - } - elsif ($ARGV[0] =~ '-ORBSVCS') {# Build TAO/ORBSVCS and its tests - print "Building ACE+TAO+orbsvcs\n" if ( $verbose ); - $use_custom_dir = 1; - push @directories, @ace_core_dirs; - push @directories, @orbsvcs_core_dirs; - } - elsif ($ARGV[0] =~ '-CIAO') {# Build the CIAO and related - # libraries - print "Building only CIAO\n" if ( $verbose ); - $use_custom_dir = 1; - push @directories, @ace_core_dirs; - push @directories, @orbsvcs_core_dirs; - push @directories, @dance_core_dirs; - push @directories, @ciao_core_dirs; - } - elsif ($ARGV[0] =~ '-ALL') {# Build the CIAO and related - # libraries - print "Building ALL \n" if ( $verbose ); - $build_all = 1; - } - elsif ($ARGV[0] =~ '-dir') { # Compile only a specific directory - shift; - print "Adding directory $ARGV[0]\n" if ( $verbose ); - $use_custom_dir = 1; - push @directories, $ARGV[0]; - } - elsif ($ARGV[0] =~ '-rebuild') { # Rebuild all - print "Rebuild all\n" if ( $verbose ); - $Build_Cmd = "/REBUILD"; - } - elsif ($ARGV[0] =~ '-clean') { # Clean - print "Cleaning all\n" if ( $verbose ); - $Build_Cmd = "/CLEAN"; - } - elsif ($ARGV[0] =~ '-Debug') { # Debug versions - print "Building Debug Version\n" if ( $verbose ); - $Build_Debug = 1; - } - elsif ($ARGV[0] =~ '-Release') { # Release versions - print "Building Release Version\n" if ( $verbose ); - $Build_Release = 1; - } - elsif ($ARGV[0] =~ '-(\?|h)') { # Help information - print "Options\n"; - print "-d = Debug (only print out projects)\n"; - print "-k = Ignore Errors\n"; - print "-v = Script verbose Mode\n"; - print "-s = Print status messages to STDERR\n"; - print "-u = Tell MSVC to use the environment\n"; - print "-vc7 = Use MSVC 7 toolset\n"; - print "-vc8 = Use MSVC 8 toolset\n"; - print "-vc9 = Use MSVC 9 toolset\n"; - print "\n"; - print "-ACE = Build ACE and its tests\n"; - print "-TAO = Build ACE+TAO and its tests\n"; - print "-ORBSVCS = Build ACE+TAO+ORBSVCS and its tests\n"; - print "-CIAO = Build ACE+TAO+ORBSVCS+CIAO and its tests\n"; - print "-dir

= Compile custom directories\n"; - print "\n"; - print "-rebuild = Rebuild All\n"; - print "-clean = Clean\n"; - print "-Debug = Compile Debug versions\n"; - print "-Release = Compile Release versions\n"; - exit; - } - else { - warn "$0: error unknown option $ARGV[0]\n"; - die -1; - } - shift; -} - -if (!$Build_Debug && !$Build_Release) { - $Build_Debug = 1; - $Build_Release = 1; -} - -print "MPC version of msvc_mpc_auto_compile: Begin\n"; -if ($vc7) { - Build_All_VC7 if ($build_all && !$use_custom_dir); - Build_Custom_VC7 if $use_custom_dir; -} -else { - Build_All if ($build_all && !$use_custom_dir); - Build_Custom if $use_custom_dir; -} -print "msvc_mpc_auto_compile: End\n"; -print STDERR "End\n" if ($print_status == 1); diff --git a/dep/ACE_wrappers/bin/msvc_static_compile.pl b/dep/ACE_wrappers/bin/msvc_static_compile.pl deleted file mode 100755 index 59f5906e2..000000000 --- a/dep/ACE_wrappers/bin/msvc_static_compile.pl +++ /dev/null @@ -1,403 +0,0 @@ -# $Id: msvc_static_compile.pl 80826 2008-03-04 14:51:23Z wotte $ -# Win32 auto_compile script. -if (!$ENV{ACE_ROOT}) { - $ACE_ROOT = getcwd ()."\\"; - warn "ACE_ROOT not defined, defaulting to ACE_ROOT=$ACE_ROOT"; -} -else { - $ACE_ROOT = $ENV{ACE_ROOT}; -} - -use lib "$ENV{ACE_ROOT}/bin"; - -use File::Find; -use PerlACE::Run_Test; -use Cwd; - -@directories = (); - -@ace_dirs = ("$ACE_ROOT\\ace"); - -$debug = 0; -$verbose = 0; -$print_status = 0; -$Ignore_errors = 0; # By default, bail out if an error occurs. -$Build_LIB = 0; -$Build_Debug = 0; -$Build_Release = 0; -$Build_All = 1; -$build_core_only = 0; -$Build_Cmd = "/BUILD"; -$use_custom_dir = 0; -$useenv = ''; -$vc7 = 0; -$name_mod = ''; -$mod_name = 0; -$proj_ext = '.dsp'; - -# Build -sub Build ($$) -{ - my ($project, $config) = @_; - - if ($debug == 1) { - print "$project\n"; - return 0; - } - else { - print "Auto_compiling $project : $config\n"; - - print "Building $project $config\n" if $verbose; - - return system ("msdev.com $project /MAKE \"$config\" $Build_Cmd $useenv"); - } -} - -# Build -sub Build_VC7 ($$) -{ - my ($project, $config) = @_; - - if ($debug == 1) { - print "$project\n"; - return 0; - } - else { - print "Auto_compiling $project : $config\n"; - - print "Building $project $config\n" if $verbose; - - return system ("devenv.com $project $Build_Cmd $config $useenv"); - } -} - -sub Find_Dsw (@) -{ - my (@dir) = @_; - @array = (); - - sub wanted_dsw { - $array[++$#array] = - $File::Find::name if ($File::Find::name =~ /\.dsw$/i); - } - - find (\&wanted_dsw, @dir); - - print "List of dsw's \n" if ($verbose == 1); - return @array; -} - -sub Find_Sln (@) -{ - my (@dir) = @_; - @array = (); - - sub wanted_sln { - $array[++$#array] = - $File::Find::name if ($File::Find::name =~ /\.sln$/i); - } - - find (\&wanted_sln, @dir); - - print "List of sln's \n" if ($verbose == 1); - return @array; -} - -sub Rename_Files ($$) -{ - my ($target) = shift; - my ($newext) = shift; - my (@array) = (); - - sub wanted_file { - my ($text) = shift; - my ($next) = shift; - if ($File::Find::name =~ /^(.*)$text$/i) { - my ($newname) = $1 . $next; - rename ($File::Find::name, $newname); - } - } - - find (sub { wanted_file ($target, $newext) }, $ACE_ROOT); -} - -# Only builds the core libraries. -sub Build_Core () -{ - print STDERR "Building Core of ACE/TAO\n" if ($print_status == 1); - print "\nmsvc_static_compile: Building Core of ACE/TAO\n"; - - print "Build \n" if ($verbose); - print "Debug " if ($verbose) && ($Build_Debug); - print "Release " if ($verbose) && ($Build_Release); - print "LIB " if ($verbose) && ($Build_LIB); - print "\n" if ($verbose); - - my @core_list = (); - - if ($Build_LIB) { - push (@file_list, "/bin/msvc_static_order.lst"); - - foreach my$test_lst (@file_list) { - my $config_list = new PerlACE::ConfigList; - $config_list->load ($ACE_ROOT.$test_lst); - - foreach $test ($config_list->valid_entries ()) { - if ($mod_name) { - @plist = split (/\//, $test); - $fname = pop @plist; - $fname_mod = $name_mod; - $fname_mod =~ s/\*/$fname/; - push @plist,($fname_mod); - push (@core_list, join('/', @plist) . $proj_ext); - } - else { - push (@core_list, $test . $proj_ext); - } - } - } - - - if ( $vc7 ) { - foreach $c (@core_list) { - if ($Build_Debug) { - $Status = Build_VC7 ($c, "debug"); - return if $Status != 0 && !$Ignore_errors; - } - if ($Build_Release) { - $Status = Build_VC7 ($c, "release"); - return if $Status != 0 && !$Ignore_errors; - } - } - } - else { - foreach $c (@core_list) { - if ($Build_Debug) { - $Status = Build ($c, "ALL - Win32 Debug"); - return if $Status != 0 && !$Ignore_errors; - } - if ($Build_Release) { - $Status = Build ($c, "ALL - Win32 Release"); - return if $Status != 0 && !$Ignore_errors; - } - } - } - } -} - -sub Build_All () -{ - my @configurations = Find_Dsw (@directories); - - print STDERR "Building selected projects\n" if ($print_status == 1); - print "\nmsvc_static_compile: Building selected projects\n"; - - $count = 0; - foreach $c (@configurations) { - print STDERR "Configuration ".$count++." of ".$#configurations."\n" if ($print_status == 1); - if ($Build_Debug) { - $Status = Build ($c, "ALL - Win32 Debug"); - return if $Status != 0 && !$Ignore_errors; - } - if ($Build_Release) { - $Status = Build ($c, "ALL - Win32 Release"); - return if $Status != 0 && !$Ignore_errors; - } - } -} - -sub Build_All_VC7 () -{ - my @configurations = Find_Sln (@directories); - - print STDERR "Building selected projects\n" if ($print_status == 1); - print "\nmsvc_static_compile: Building selected projects\n"; - - $count = 0; - foreach $c (@configurations) { - print STDERR "Configuration ".$count++." of ".$#configurations."\n" if ($print_status == 1); - if ($Build_Debug) { - $Status = Build_VC7 ($c, "debug"); - return if $Status != 0 && !$Ignore_errors; - } - if ($Build_Release) { - $Status = Build_VC7 ($c, "release"); - return if $Status != 0 && !$Ignore_errors; - } - } -} - - -## Parse command line argument -while ( $#ARGV >= 0 && $ARGV[0] =~ /^(-|\/)/ ) -{ - if ($ARGV[0] =~ '-k') { # Ignore errors - print "Ignore errors\n" if ( $verbose ); - $Ignore_errors = 1; - } - elsif ($ARGV[0] =~ /^-d$/i) { # debug - $debug = 1; - } - elsif ($ARGV[0] =~ '-vc7') { # Use VC7 project and solution files. - print "Using VC7 files\n" if ( $verbose ); - $vc7 = 1; - $proj_ext = '.vcproj'; - } - elsif ($ARGV[0] =~ '-vc8') { # Use VC8 project and solution files. - print "Using VC8 files\n" if ( $verbose ); - $vc7 = 1; # VC8 is like VC7 - $proj_ext = '.vcproj'; - } - elsif ($ARGV[0] =~ '-vc9') { # Use VC9 project and solution files. - print "Using VC9 files\n" if ( $verbose ); - $vc7 = 1; # VC9 is like VC7 - $proj_ext = '.vcproj'; - } - elsif ($ARGV[0] =~ '-v') { # verbose mode - $verbose = 1; - } - elsif ($ARGV[0] =~ '-name_modifier') { # use MPC name_modifier for project - shift; - print "Setting name_modifier $ARGV[0]\n" if ( $verbose ); - $name_mod = $ARGV[0]; - $mod_name = 1; - } - elsif ($ARGV[0] =~ '-s') { # status messages - $print_status = 1; - } - elsif ($ARGV[0] =~ '-u') { # USEENV - print "Using Environment\n" if ($verbose); - $useenv = '/USEENV'; - } - elsif ($ARGV[0] =~ '-CORE') { # Build the core of ace/tao - print "Building only Core\n" if ( $verbose ); - $build_core_only = 1; - } - elsif ($ARGV[0] =~ '-ACE') { # Build ACE and its programs - print "Building ACE\n" if ( $verbose ); - $use_custom_dir = 1; - push @directories, @ace_dirs; - } - elsif ($ARGV[0] =~ '-TAO') { # Build TAO and its programs - print "Building TAO\n" if ( $verbose ); - $use_custom_dir = 1; - # Other tests depend on the lib in this dir so we need to force it - # to the front of the build list. This is pretty ugly. - push @directories, ("$ACE_ROOT\\TAO\\orbsvcs\\tests\\Notify\\lib"); - push @directories, ("$ACE_ROOT\\TAO"); - } - elsif ($ARGV[0] =~ '-dir') { # Compile only a specific directory - shift; - print "Adding directory $ARGV[0]\n" if ( $verbose ); - $use_custom_dir = 1; - push @directories, $ARGV[0]; - } - elsif ($ARGV[0] =~ '-rebuild') { # Rebuild all - print "Rebuild all\n" if ( $verbose ); - $Build_Cmd = "/REBUILD"; - } - elsif ($ARGV[0] =~ '-clean') { # Clean - print "Cleaning all\n" if ( $verbose ); - $Build_Cmd = "/CLEAN"; - } - elsif ($ARGV[0] =~ '-Debug') { # Debug versions - print "Building Debug Version\n" if ( $verbose ); - $Build_Debug = 1; - $Build_All = 0; - } - elsif ($ARGV[0] =~ '-Release') { # Release versions - print "Building Release Version\n" if ( $verbose ); - $Build_Release = 1; - $Build_All = 0; - } - elsif ($ARGV[0] =~ '-LIB') { # Build LIB only - print "Build LIB only\n" if ( $verbose ); - $Build_LIB = 1; - $Build_All = 0; - } - elsif ($ARGV[0] =~ '-(\?|h)') { # Help information - print "Options\n"; - print "-d = Debug (only print out projects)\n"; - print "-k = Ignore Errors\n"; - print "-v = Script verbose Mode\n"; - print "-s = Print status messages to STDERR\n"; - print "-u = Tell MSVC to use the environment\n"; - print "-vc7 = Use MSVC 7 toolset\n"; - print "-vc8 = Use MSVC 8 toolset\n"; - print "-name_modifier = Use MPC name_modifier to match projects\n"; - print "\n"; - print "-CORE = Build the Core libraries\n"; - print "-ACE = Build ACE and its programs\n"; - print "-TAO = Build TAO and its programs\n"; - print "-dir = Compile custom directories\n"; - print "\n"; - print "-rebuild = Rebuild All\n"; - print "-clean = Clean\n"; - print "-Debug = Compile Debug versions\n"; - print "-Release = Compile Release versions\n"; - print "-LIB = Comple LIB Configurations\n"; - exit; - } - else { - warn "$0: error unknown option $ARGV[0]\n"; - die -1; - } - shift; -} - -if (!$Build_DLL && !$Build_LIB) { - $Build_DLL = 1; - $Build_LIB = 1; -} - -if (!$Build_Debug && !$Build_Release) { - $Build_Debug = 1; - $Build_Release = 1; -} - -if ($#directories < 0) { - @directories = ($ACE_ROOT); -} - -print "msvc_static_compile: Begin\n"; -print STDERR "Beginning Core Build\n" if ($print_status == 1); -if (!$use_custom_dir || $build_core_only) { - if ($vc7) { - ## devenv is too smart for it's own good. When a .vcproj is specified, - ## as is done when building the CORE, it will find the solution to which - ## the .vcproj belongs and begin to build additional portions of the - ## solution. This is not what we want as dependencies are not set up - ## between library projects. - my($sln) = '.sln'; - my($core_sln) = $sln . '.build_core'; - - Rename_Files ($sln, $core_sln); - - foreach my $sig ('INT', 'TERM') { - $SIG{$sig} = sub { print STDERR "Renaming solution files, please be patient...\n"; - Rename_Files ($core_sln, $sln); - exit(1); }; - } - - Build_Core (); - - Rename_Files ($core_sln, $sln); - - foreach my $sig ('INT', 'TERM') { - $SIG{$sig} = 'DEFAULT'; - } - } - else { - Build_Core (); - } -} -print STDERR "Beginning Full Build\n" if ($print_status == 1); -if ( $vc7 ) { - Build_All_VC7 if !$build_core_only; -} -else { - Build_All if !$build_core_only; -} - -print "msvc_static_compile: End\n"; -print STDERR "End\n" if ($print_status == 1); diff --git a/dep/ACE_wrappers/bin/msvc_static_order.lst b/dep/ACE_wrappers/bin/msvc_static_order.lst deleted file mode 100644 index b0b249433..000000000 --- a/dep/ACE_wrappers/bin/msvc_static_order.lst +++ /dev/null @@ -1,9 +0,0 @@ -# $Id: msvc_static_order.lst 92057 2010-09-27 14:52:00Z johnnyw $ -# -# This file lists the project files that must be build first in a static -# build using msvc_static_compile.pl - -ace/ace -ace/ACE_ETCL -ace/ACE_ETCL_Parser -ace/MonitorControl/MonitorControl diff --git a/dep/ACE_wrappers/bin/mwc.pl b/dep/ACE_wrappers/bin/mwc.pl deleted file mode 100755 index f1d87cbf3..000000000 --- a/dep/ACE_wrappers/bin/mwc.pl +++ /dev/null @@ -1,68 +0,0 @@ -#! /usr/bin/perl -eval '(exit $?0)' && eval 'exec perl -w -S $0 ${1+"$@"}' - & eval 'exec perl -w -S $0 $argv:q' - if 0; - -# ****************************************************************** -# Author: Chad Elliott -# Date: 6/17/2002 -# $Id: mwc.pl 89398 2010-03-08 15:38:06Z mitza $ -# ****************************************************************** - -# ****************************************************************** -# Pragma Section -# ****************************************************************** - -require 5.006; - -use strict; -use FindBin; -use File::Spec; -use File::Basename; - -my($basePath) = (defined $FindBin::RealBin ? $FindBin::RealBin : - File::Spec->rel2abs(dirname($0))); -if ($^O eq 'VMS') { - $basePath = File::Spec->rel2abs(dirname($0)) if ($basePath eq ''); - $basePath = VMS::Filespec::unixify($basePath); -} -$basePath .= '/MakeProjectCreator'; - -my($mpcroot) = $ENV{MPC_ROOT}; -my($mpcpath) = (defined $mpcroot ? $mpcroot : - dirname(dirname($basePath)) . '/MPC'); -unshift(@INC, $mpcpath . '/modules'); - -if (defined $mpcroot) { - print STDERR "MPC_ROOT was set to $mpcroot.\n"; -} - -if (! -d "$mpcpath/modules") { - print STDERR "ERROR: Unable to find the MPC modules in $mpcpath.\n"; - if (defined $mpcroot) { - print STDERR "Your MPC_ROOT environment variable does not point to a ", - "valid MPC location.\n"; - } - else { - print STDERR "You can set the MPC_ROOT environment variable to the ", - "location of MPC.\n"; - } - exit(255); -} - -require Driver; - -# ************************************************************ -# Subroutine Section -# ************************************************************ - -sub getBasePath { - return $mpcpath; -} - -# ************************************************************ -# Main Section -# ************************************************************ - -my($driver) = new Driver($basePath, Driver::workspaces()); -exit($driver->run(@ARGV)); diff --git a/dep/ACE_wrappers/bin/package_copy_script.sh b/dep/ACE_wrappers/bin/package_copy_script.sh deleted file mode 100755 index 2398d3d29..000000000 --- a/dep/ACE_wrappers/bin/package_copy_script.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -for i in *.gz *.bz2 *.zip; do - d=`echo $i | sed 's/\.[tz][ai][rp]/-5.5.10&/'` - echo "Copying $i to $d" - cp -ip $i /export/www/download.dre/previous_versions/$d -done diff --git a/dep/ACE_wrappers/bin/performance_stats.sh b/dep/ACE_wrappers/bin/performance_stats.sh deleted file mode 100755 index ab659c1d1..000000000 --- a/dep/ACE_wrappers/bin/performance_stats.sh +++ /dev/null @@ -1,198 +0,0 @@ -#!/bin/sh -# -# $Id: performance_stats.sh 84707 2009-03-04 10:04:06Z johnnyw $ -# - -if [ $# -lt 2 ]; then - echo "Usage: $0 " - exit 0 -fi - -ACE_ROOT=$1 -DEST=$2 -DATE=`date +%Y/%m/%d-%H:%M` - -mkdir -p $DEST/images -mkdir -p $DEST/data -COMPILER="gcc" - -COMMON_TESTS="AMI DII DSI Deferred Single_Threaded Thread_Per_Connection Thread_Pool AMH_Single_Threaded" - -SEQUENCE_TESTS="AMI DII DSI Deferred Single_Threaded Thread_Per_Connection Thread_Pool AMH_Single_Threaded" - -SEQ_TEST_TYPE="octet long short char double longlong" - -cd $DEST/source - -/bin/sync -sleep 10 -( - cd $ACE_ROOT/performance-tests/TCP; - ./run_test.pl -) >tcp_test.log 2>&1 - -if grep -q 'Client throughput: ' tcp_test.log; then - ( - echo -n $DATE " "; - awk '/^Client throughput:/ {print $3}' tcp_test.log - ) >> TCP.txt; -fi - -/bin/sync -sleep 10 -( - cd $ACE_ROOT/TAO/performance-tests/Latency/Single_Threaded; - ./default_configuration.pl > $DEST/source/Default.log 2>&1 -) -if grep -q 'Total throughput: ' Default.log; then - ( - echo -n $DATE " "; - awk '/^Total throughput:/ {print $3}' Default.log - ) >> Default.txt -fi - -/bin/sync -sleep 2 -( - cd $ACE_ROOT/TAO/performance-tests/Sequence_Latency/Single_Threaded; - - for i in $SEQ_TEST_TYPE; do - ( - ./default_configuration.pl -t $i > $DEST/source/Sequence_Default_${i}.log 2>&1 - if grep -q 'Total throughput: ' $DEST/source/Sequence_Default_${i}.log; then - ( - echo -n $DATE " "; - awk '/^Total throughput:/ {print $3}' $DEST/source/Sequence_Default_${i}.log - ) >> $DEST/source/Sequence_Default_${i}.txt - fi - ) - done - -) - -for i in $COMMON_TESTS; do - /bin/sync - sleep 10 - ( - cd $ACE_ROOT/TAO/performance-tests/Latency/${i}; - ./run_test.pl > $DEST/source/${i}.log 2>&1 - ) - if grep -q 'Total throughput: ' ${i}.log; then - ( - echo -n $DATE " "; - awk '/^Total throughput:/ {print $3}' $DEST/source/${i}.log - ) >> ${i}.txt - fi -done - -for i in $SEQUENCE_TESTS; do - /bin/sync - sleep 10 - ( - cd $ACE_ROOT/TAO/performance-tests/Sequence_Latency/${i}; - for j in $SEQ_TEST_TYPE; do - ( - ./run_test.pl -t $j > $DEST/source/Sequence_${i}_${j}.log 2>&1 - - if grep -q 'Total throughput: ' $DEST/source/Sequence_${i}_${j}.log; then - ( - echo -n $DATE " "; - awk '/^Total throughput:/ {print $3}' $DEST/source/Sequence_${i}_${j}.log - ) >> $DEST/source/Sequence_${i}_${j}.txt - fi - ) - done - ) - -done - -for i in $COMMON_TESTS TCP Default; do - $ACE_ROOT/bin/generate_performance_chart.sh ${i}.txt ${i}.png "$i" 1024,768 - /bin/cp ${i}.png $DEST/images/${i}.png - /usr/bin/tac ${i}.txt > $DEST/data/${i}.txt - /usr/bin/tail -5 ${i}.txt > $DEST/data/LAST_${i}.txt -done - -for i in $SEQ_TEST_TYPE ; do - $ACE_ROOT/bin/generate_performance_chart.sh Sequence_Default_${i}.txt Sequence_Default_${i}.png "Default Configuration for $i sequences" 1024,768 - /bin/cp Sequence_Default_${i}.png $DEST/images/Sequence_Default_${i}.png - /usr/bin/tac $DEST/source/Sequence_Default_${i}.txt > $DEST/data/Sequence_Default_${i}.txt - /usr/bin/tail -5 $DEST/source/Sequence_Default_${i}.txt > $DEST/data/LAST_Sequence_Default_${i}.txt -done - -for i in $SEQUENCE_TESTS; do -for j in $SEQ_TEST_TYPE; do - $ACE_ROOT/bin/generate_performance_chart.sh Sequence_${i}_${j}.txt Sequence_${i}_${j}.png "Sequence_$i_$j" 1024,768 - /bin/cp Sequence_${i}_${j}.png $DEST/images/Sequence_${i}_${j}.png - /usr/bin/tac Sequence_${i}_${j}.txt > $DEST/data/Sequence_${i}_${j}.txt - /usr/bin/tail -5 Sequence_${i}_${j}.txt > $DEST/data/LAST_Sequence_${i}_${j}.txt -done -done - -gnuplot <<_EOF_ >/dev/null 2>&1 - set xdata time - set timefmt '%Y/%m/%d-%H:%M' - set xlabel 'Date (YYYYMMDD)' - set xtics rotate - set ylabel 'Throughput (Requests/Second)' - set yrange [0:] - set terminal png small size 1024,768 color - set output "/dev/null" - plot 'AMI.txt' using 1:2 title 'AMI' w l - replot 'DII.txt' using 1:2 title 'DII' w l - replot 'DSI.txt' using 1:2 title 'DSI' w l - replot 'Deferred.txt' using 1:2 title 'Deferred' w l - replot 'Single_Threaded.txt' using 1:2 title 'Single_Threaded' w l - replot 'Default.txt' using 1:2 title 'Single_Threaded (Defaults)' w l - replot 'Thread_Per_Connection.txt' using 1:2 title 'Thread_Per_Connection' w l - replot 'Thread_Pool.txt' using 1:2 title 'Thread_Pool' w l - replot 'AMH_Single_Threaded.txt' using 1:2 title 'AMH' w l - replot 'TCP.txt' using 1:2 title 'TCP/IP' w l - set output "All.png" - replot - exit -_EOF_ - -gnuplot <<_EOF_ >/dev/null 2>&1 - set xdata time - set timefmt '%Y/%m/%d-%H:%M' - set xlabel 'Date (YYYYMMDD)' - set xtics rotate - set ylabel 'Throughput (Requests/Second)' - set yrange [0:] - set terminal png small size 1024,768 color - set output "/dev/null" - plot 'AMI.txt' using 1:2 title 'AMI' w l - replot 'DII.txt' using 1:2 title 'DII' w l - replot 'DSI.txt' using 1:2 title 'DSI' w l - replot 'Deferred.txt' using 1:2 title 'Deferred' w l - replot 'Single_Threaded.txt' using 1:2 title 'Single_Threaded' w l - replot 'Default.txt' using 1:2 title 'Single_Threaded (Defaults)' w l - replot 'Thread_Per_Connection.txt' using 1:2 title 'Thread_Per_Connection' w l - replot 'Thread_Pool.txt' using 1:2 title 'Thread_Pool' w l - replot 'AMH_Single_Threaded.txt' using 1:2 title 'AMH' w l - set output "CORBA.png" - replot - exit -_EOF_ - -/bin/cp CORBA.png All.png $DEST/images/ - -cd $DEST/data -/bin/uname -a > uname.txt -$COMPILER -v > gcc.txt 2>&1 -$COMPILER -dumpversion > gccversion.txt 2>&1 -/lib/libc.so.6 | sed -e 's//\>/g' > libc.txt -cat /proc/cpuinfo > cpuinfo.txt -cat /proc/meminfo > meminfo.txt -if [ -e "/etc/SuSE-release" ]; then - cat /etc/SuSE-release > linuxversion.txt -fi -if [ -e "/etc/redhat-release" ]; then - cat /etc/redhat-release > linuxversion.txt -fi - -cat $ACE_ROOT/ace/config.h > config.h.txt -cat $ACE_ROOT/include/makeinclude/platform_macros.GNU > platform_macros.GNU.txt -cat $ACE_ROOT/bin/MakeProjectCreator/config/default.features > default.features.txt -cp $ACE_ROOT/html/Stats/* $DEST diff --git a/dep/ACE_wrappers/bin/pippen.pl b/dep/ACE_wrappers/bin/pippen.pl deleted file mode 100755 index 5b32c0574..000000000 --- a/dep/ACE_wrappers/bin/pippen.pl +++ /dev/null @@ -1,415 +0,0 @@ -# $Id: pippen.pl 80826 2008-03-04 14:51:23Z wotte $ - -BEGIN { - use Cwd; - if (!$ENV{ACE_ROOT}) { - $ACE_ROOT = getcwd ()."\\"; - print STDERR "Error: ACE_ROOT not defined\n"; - exit 1; - } - else { - $ACE_ROOT = $ENV{ACE_ROOT}; - } -} -use lib "$ACE_ROOT/bin"; -use PerlACE::MSProject::DSP; -use PerlACE::MSProject::VCP; -use File::DosGlob 'glob'; -use DirHandle; -use strict; - -################################################################################ - -my $extension; -my $recurse = 0; -my $list = 0; -my $verbose = 0; -my @arguments; -my @configs; -my @roots; -my $auto_compile = 0; -my $clean = 0; -my $debug = 0; - -my $aceroot = 0; - -################################################################################ - -# Parse command line arguments - -while ( $#ARGV >= 0) -{ - if ($ARGV[0] =~ m/^-list/i) { - $list = 1; - } - elsif ($ARGV[0] =~ m/^-evc3/i) { - $extension = "vcp"; - } - elsif ($ARGV[0] =~ m/^-msvc6/i) { - $extension = "dsp"; - } - elsif ($ARGV[0] =~ m/^-msvc7/i) { - $extension = "vcproj"; - } - elsif ($ARGV[0] =~ m/^-config/i) { - push @configs, $ARGV[1]; - shift; - } - elsif ($ARGV[0] =~ m/^-r/i) { - $recurse = 1; - } - elsif ($ARGV[0] =~ m/^-v/i) { - $verbose = 1; - } - elsif ($ARGV[0] =~ m/^-auto_compile/i) { - $auto_compile = 1; - } - elsif ($ARGV[0] =~ m/^-clean/i) { - $clean = 1; - } - elsif ($ARGV[0] =~ m/^-useroot/i) { - push @roots, $ARGV[1]; - shift; - } - elsif ($ARGV[0] =~ m/^-aceroot/i) { - $aceroot = 1; - } - elsif ($ARGV[0] =~ m/^-(\?|h)/i) { # Help information - print "Options\n"; - print "-list - Prints out the list of project files\n"; - print "-config - Use as a configuratoin\n"; - print "-evc3 - Looks for eMbedded Visual C++ 3.0 projects\n"; - print "-msvc6 - Looks for Visual C++ 5.0/6.0 projects\n"; - print "-msvc7 - Looks for Visual C++ 7.0 projects\n"; - print "-clean - Clean instead of building\n"; - print "-recurse - Recurse into directories\n"; - print "-verbose - Make some noise\n"; - print "-auto_compile - Print out auto_compile info during build\n"; - print "-useroot - Use as a root to look for dependencies\n"; - print "-aceroot - Use %ACE_ROOT% as a dependency root\n"; - exit; - } - elsif ($ARGV[0] =~ m/^-/) { - warn "$0: unknown option $ARGV[0]\n"; - exit 1; - } - else { - push @arguments, $ARGV[0]; - } - shift; -} - -if ($#configs < 0) { - if (defined $ENV{WINMAKE_CONFIGS}) { - @configs = split /:/, $ENV{WINMAKE_CONFIGS}; - } - elsif (defined $ENV{PIPPEN_CONFIGS}) { - @configs = split /:/, $ENV{PIPPEN_CONFIGS}; - } - else { - print STDERR "Error: No config specified\n"; - exit 1; - } -} - -if (!defined $extension) { - my $compiler = ''; - if (defined $ENV{WINMAKE_COMPILER}) { - $compiler = $ENV{WINMAKE_COMPILER}; - } - elsif (defined $ENV{PIPPEN_COMPILER}) { - $compiler = $ENV{PIPPEN_COMPILER}; - } - else { - print STDERR "Error: No compiler specified\n"; - exit 1; - } - - if ($compiler eq "evc3") { - $extension = "vcp"; - } - elsif ($compiler eq "msvc6") { - $extension = "dsp"; - } - elsif ($compiler eq "msvc7") { - $extension = "vcproj"; - } -} - -################################################################################ - -# I like these variables - -# %projects->{$file}->{BUILD} <- Are we supposed to build this file? -# ->{PROJ} <- MSProject object -# ->{CONFIGS}->{$config}->{DEPS} <- List of dependencies -# ->{DONE} <- Have we compiled it yet? - -my %projects; - -# %names->{$output} <- points to the $file used in the above %projects - -my %names; - -################################################################################ - -# Expand all the files/directories passed in on the command line - -sub ProjectSearch ($@) -{ - my $build = shift; - my @targets = @_; - - while ($#targets >= 0) { - my $target = $targets[0]; - if (-d $target) { - print " Reading Directory $target\n" if ($verbose); - if ($recurse) { - my $dh = new DirHandle ($target); - - if (defined $dh) { - foreach my $entry ($dh->read ()) { - if (-d "$target/$entry" && $entry ne "." && $entry ne "..") { - $entry =~ s/^.\\//; # / <- fix for color coding in devenv - push @targets, ($target . "\\". $entry); - } - } - } - else { - print STDERR "Error: Cannot read $target: $!\n"; - } - } - - foreach my $t (glob ($target . "\\*." . $extension)) { - print " Adding project $t\n" if ($verbose); - %projects->{$t}->{BUILD} = $build; - } - } - else { - foreach my $t (glob ($target)) { - print " Adding project $t\n" if ($verbose); - %projects->{$t}->{BUILD} = $build; - } - } - shift @targets; - } -} - -print "=== Expanding Command line Arguments\n" if ($verbose); - -if ($#arguments < 0) { - print " No files specified, defaulting to \".\"\n" if ($verbose); - push @arguments, ("."); -} - -ProjectSearch (1, @arguments); - -print "=== Expanding Root Arguments\n" if ($verbose); - -ProjectSearch (0, @roots); - -if ($aceroot == 1) { - my $oldrecurse = $recurse; - $recurse = 1; - my @aceroots = ($ENV{ACE_ROOT}."\\ace"); - ProjectSearch (0, @aceroots); - $recurse = $oldrecurse; -} - -################################################################################ - -# Read each project file to gather dependency and output information - -print "=== Reading Project Files\n" if ($verbose); - -foreach my $project (keys %projects) { - my $proj; - - if ($project =~ m/\.dsp$/i) { - $proj = new PerlACE::MSProject::DSP ($project); - } - elsif ($project =~ m/\.vcp$/i) { - $proj = new PerlACE::MSProject::VCP ($project); - } - elsif ($project =~ m/\.vcproj$/i) { - print STDERR "Error: MSVC7 not supported yet\n"; - } - else { - print STDERR "Error: Unrecognized file: $project\n"; - } - - print " Loading $project:" if ($verbose); - - $proj->Load (); - - foreach my $config (@configs) { - foreach my $proj_config ($proj->Configs ()) { - if ($proj_config =~ m/\Q$config\E/i) { - print " \"$proj_config\"" if ($verbose); - my $name = $proj->DepOutputFile ($proj_config); - - %names->{lc $name} = $project; - my @deps = split / /, $proj->Libs ($proj_config); - - foreach my $dep (@deps) { -# $dep =~ s/.*[\/\\]//g; - push (@{%projects->{$project}->{CONFIGS}->{$proj_config}->{DEPS}}, $dep); - } - if ($proj->UsesTAOIDL () == 1) { - push @{%projects->{$project}->{CONFIGS}->{$proj_config}->{DEPS}}, ("gperf.exe", "tao_idl.exe"); - } - } - } - } - - print "\n" if ($verbose); - - %projects->{$project}->{PROJ} = $proj; -} - -################################################################################ - -# Clean out the dependency lists, we only keep the libraries which we know -# how to generate - -print "=== Cleaning out Dependency Lists\n" if ($verbose); - -foreach my $project (keys %projects) { - foreach my $config (keys %{%projects->{$project}->{CONFIGS}}) { - print " Cleaning Dependencies: $project ($config)\n" if ($verbose); - print " Before:", join (" ", @{%projects->{$project}->{CONFIGS}->{$config}->{DEPS}}), "\n" if ($verbose); - my @newdeps; - foreach my $dep (@{%projects->{$project}->{CONFIGS}->{$config}->{DEPS}}) { - $dep =~ s/.*[\/\\]//g; - - if (defined %names->{lc $dep}) { - push @newdeps, $dep; - } - } - print " After:", join (" ", @newdeps), "\n" if ($verbose); - @{%projects->{$project}->{CONFIGS}->{$config}->{DEPS}} = @newdeps; - } -} - -################################################################################ - -# Make sure to build any dependencies found - -print "=== Walking Dependency Lists\n" if ($verbose); - -my $finished = 0; - -do { - $finished = 1; - foreach my $project (keys %projects) { - foreach my $config (keys %{%projects->{$project}->{CONFIGS}}) { - if (%projects->{$project}->{BUILD} == 1) { - foreach my $dep (@{%projects->{$project}->{CONFIGS}->{$config}->{DEPS}}) { - if (%projects->{%names->{lc $dep}}->{BUILD} != 1) { - %projects->{%names->{lc $dep}}->{BUILD} = 1; - $finished = 0; - } - } - } - } - } - -} while (!$finished); - - -################################################################################ - -# Output a list, if requested - -if ($debug) { - print "List of Dependencies\n"; - print "--------------------\n"; - foreach my $project (keys %projects) { - print "=== $project\n"; - foreach my $config (keys %{%projects->{$project}->{CONFIGS}}) { - print " Config: $config\n"; - print " Depends: ", join (" ", @{%projects->{$project}->{CONFIGS}->{$config}->{DEPS}}), "\n"; - } - } - - print "\n"; - print "List of Outputs\n"; - print "---------------\n"; - - foreach my $name (keys %names) { - print "$name\n"; - } -} - -################################################################################ - -# Loop through and - -print "=== Compiling\n" if ($verbose); - -my $compilations; # Keep track of the number of compiles done during a pass -my $unfinished; -my $loop = 1; - -do { - $compilations = 0; - $unfinished = 0; - - foreach my $project (keys %projects) { - if (%projects->{$project}->{BUILD} == 1) { - foreach my $config (keys %{%projects->{$project}->{CONFIGS}}) { - if (%projects->{$project}->{CONFIGS}->{$config}->{DONE} != 1) { - my $depsleft = 0; - foreach my $dep (@{%projects->{$project}->{CONFIGS}->{$config}->{DEPS}}) { - if (%projects->{%names->{lc $dep}}->{CONFIGS}->{$config}->{DONE} != 1) { - ++$depsleft; - } - } - - if ($depsleft == 0) { - ++$compilations; - print "Auto_compiling $project : $config\n" if ($auto_compile); - - if ($list == 1) { - if ($clean == 1) { - print "Cleaning "; - } - else { - print "Compiling "; - } - - print "$project : $config\n"; - } - elsif ($clean == 1) { - %projects->{$project}->{PROJ}->Clean ($config); - } - else { - %projects->{$project}->{PROJ}->Build ($config); - } - - %projects->{$project}->{CONFIGS}->{$config}->{DONE} = 1; - } - else { - ++$unfinished; - } - } - } - } - } - - print " === Loop $loop: $compilations compiles, $unfinished left\n" if ($verbose); - ++$loop; -} while ($compilations != 0); - -# Loop through and see if anything wasn't compiled. If so, this means either there is -# an error in the script or that there are circular dependencies - -foreach my $project (keys %projects) { - if (%projects->{$project}->{BUILD} == 1) { - foreach my $config (keys %{%projects->{$project}->{CONFIGS}}) { - if (%projects->{$project}->{CONFIGS}->{$config}->{DONE} != 1) { - print STDERR "Error: Project not compiled: $project - $config\n", - } - } - } -} diff --git a/dep/ACE_wrappers/bin/regenerate_exports.pl b/dep/ACE_wrappers/bin/regenerate_exports.pl deleted file mode 100755 index 2f12e44af..000000000 --- a/dep/ACE_wrappers/bin/regenerate_exports.pl +++ /dev/null @@ -1,54 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id: regenerate_exports.pl 91813 2010-09-17 07:52:52Z johnnyw $ -# Goes through ACE/TAO and replaces - -use File::Find; -use Cwd; - -$args = ''; -$root = cwd.'/'; - -while ($#ARGV >= 0) { - $args = $args . ' ' . shift @ARGV; -} - -# wanted is only used for the File::Find -sub wanted -{ - my $file = $File::Find::name; - - $file =~ s/\.\//$root/; - - if ($File::Find::name =~ /\_export\.h$/i) { - my $flag = 0; - my $name = ''; - - if (!open (FILE, $file)) { - print STDERR "Error: Could not open $file\n"; - } - - while () { - $flag = 1 if ((/generate_export/ || /GenExportH/) && $flag == 0); - $name = $1 if (/define (\w*)_Export/); - } - - if ($flag == 1) { - print "Regenerating: $file\n"; - if ($OSNAME eq 'MSWIn32') { - $file =~ s/\//\\/g; - } - system ("perl -S generate_export_file.pl $args $name > $file"); - } - else { - print "Skipping: $file\n"; - } - close FILE; - } -} - - -find (\&wanted, "."); - diff --git a/dep/ACE_wrappers/bin/reverse_clean b/dep/ACE_wrappers/bin/reverse_clean deleted file mode 100755 index 7bba161ba..000000000 --- a/dep/ACE_wrappers/bin/reverse_clean +++ /dev/null @@ -1,25 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; -# -*- perl -*- -# $Id: reverse_clean 80826 2008-03-04 14:51:23Z wotte $ -# -# This script does a realclean of the list in the reverse order that -# is passed to this. This is just a utility script - -@ARGS = (); - -if ($ARGV[0] eq ''){ - print STDERR "$0: No directories provided\n"; - die "provide list of directories"; -} - -my $make = $ARGV[0]; -shift; - -@BUILD_LIST = @ARGV; - - -foreach $i (reverse (@BUILD_LIST)) { - system ("$make -k -C $i realclean"); -} diff --git a/dep/ACE_wrappers/bin/sets-manager.py b/dep/ACE_wrappers/bin/sets-manager.py deleted file mode 100755 index c3dc10d84..000000000 --- a/dep/ACE_wrappers/bin/sets-manager.py +++ /dev/null @@ -1,217 +0,0 @@ -#!/usr/bin/env python - -""" This script implements branching and tagging in the DOC group -repository, and automates the process of creating sets. """ - -import os - -def parse_args (): - from optparse import OptionParser - - parser = OptionParser ("usage: %prog [options] name") - parser.add_option ("-A", "--ACE", dest="project", action="store_const", - help="Branch/tag only ACE", default=None, const="ace") - parser.add_option ("-T", "--TAO", dest="project", action="store_const", - help="Branch/tag ACE and TAO", default=None, const="tao") - parser.add_option ("-C", "--CIAO", dest="project", action="store_const", - help="Branch/tag ACE, TAO, and CIAO", default=None, const="ciao") - parser.add_option ("-t", "--tag", dest="action", - help="Create a tag", action="store_true", default=None) - parser.add_option ("-b", "--branch", dest="action", action="store_false", - help="Create a branch", default=None) - parser.add_option ("-v", "--verbose", dest="verbose", action="store_true", - help="Print out verbose debugging output", default=False) - parser.add_option ("-s", "--svn", dest="svn", default="svn", - help="Full path to svn binary, if not in path") - parser.add_option ("-r", "--repo", dest="repo", - default="https://svn.dre.vanderbilt.edu/DOC/Middleware/", - help="Repository to use, defaults to s.d.v.e/DOC/Middleware.") - parser.add_option ("--src", dest="source", default="trunk/", - help="Path in repository from which to branch, defaults to trunk") - parser.add_option ("--dest", dest="dest", default="", - help="Specifies a subdirectory of branches or tags in which " + - "to place the new branch/tag. dest must already exist.") - parser.add_option ("-n", dest="take_action", action="store_false", default=True, - help="Take no action") - (opts, args) = parser.parse_args () - - if len(args) != 1: - parser.error ("must specify exactly one branch or tag name") - - if opts.action is None: - parser.error ("must specify either a branch or tag action") - - if opts.project is None: - parser.error ("must specify a project to branch") - - return (opts, args) - -def execute (command): - from os import system - - if opts.verbose: - print "executing " + command - if opts.take_action and os.system (command) != 0: - raise Exception ("Command failed: " + command) - -def svn_copy (source, dest): - command = " ".join ([opts.svn, - "copy", - '-m "branching/tagging"', - source, - dest]) - execute (command) - -def svn_propset (path, prop, value): - temp = open ("sets_manager_props.tmp", 'w') - temp.write (value) - temp.close () - - command = " ".join ([opts.svn, - "propset", - prop, - "-F sets_manager_props.tmp", - path]) - execute (command) - - os.unlink ("sets_manager_props.tmp") - - -def svn_mkdir (path): - command = " ".join ([opts.svn, - "mkdir", - '-m "branching/tagging"', - path]) - execute (command) - -def svn_mkdir_local (path): - command = " ".join ([opts.svn, - "mkdir", - path]) - execute (command) - -def get_head_revision (url): - command = " ".join ([opts.svn, - "info", - url]) - - import re - lineregex = re.compile ("Last Changed Rev: (\d+)") - - for line in os.popen (command).readlines (): - match = lineregex.match (line) - if (match is not None): - return int(match.group (1)) - - print "ERROR: Unable to find current MPC head revision" - raise Exception - -def branch_ACE (): - # Perform branching - destination = opts.repo + opts.dest - svn_copy (opts.repo + opts.source + "/ACE", - destination + "modules/ACE") - - # pin MPC revision - # Need local copy of the ACE directory to to the propset -# execute ("svn up -N " + opts.repo + path + "/modules/ACE sets_manager_temp/module_ACE") - execute ("svn up -N sets_manager_temp/modules/ACE") - mpc_rev = get_head_revision ("svn://svn.dre.vanderbilt.edu/DOC/MPC/trunk") - - svn_propset ("sets_manager_temp/modules/ACE", - "svn:externals", - "%s\t-r %d %s" % ("MPC", - mpc_rev, - "svn://svn.dre.vanderbilt.edu/DOC/MPC/trunk")) - - #Create the set - svn_mkdir_local ("sets_manager_temp/sets/ACE") - svn_propset ("sets_manager_temp/sets/ACE", - "svn:externals", - "%s\t%s" % ("ACE_wrappers", - destination + "modules/ACE")) - -def branch_TAO (): - branch_ACE () - - # Perform branching - destination = opts.repo + opts.dest - svn_copy (opts.repo + opts.source + "/TAO", - destination + "modules/TAO") - - #Create the set - svn_mkdir_local ("sets_manager_temp/sets/ACE+TAO") - svn_propset ("sets_manager_temp/sets/ACE+TAO", - "svn:externals", - "%s\t%s\n%s\t%s" % ("ACE_wrappers", - destination + "modules/ACE", - "ACE_wrappers/TAO", - destination + "modules/TAO")) - -def branch_CIAO (): - branch_TAO () - - #Perform branching - destination = opts.repo + opts.dest - svn_copy (opts.repo + opts.source + "/CIAO", - destination + "modules/CIAO") - - # Create the set - svn_mkdir_local ("sets_manager_temp/sets/ACE+TAO+CIAO") - svn_propset ("sets_manager_temp/sets/ACE+TAO+CIAO", - "svn:externals", - "%s\t%s\n%s\t%s\n%s\t%s" % - ("ACE_wrappers", - destination + "modules/ACE", - "ACE_wrappers/TAO", - destination + "modules/TAO", - "ACE_wrappers/TAO/CIAO", - destination + "modules/CIAO")) - -def main (opts, args): - # Lets make opts global - globals ()['opts'] = opts - - path = str () - if opts.action: - # True for tag - path = "tags/" - else: # Branch - path = "branches/" - - path += "%s/%s" % (opts.dest, args[0]) - # Make branch/tag directory - svn_mkdir (opts.repo + path) - - execute ("svn co " + opts.repo + path + " sets_manager_temp") - - # Make modules and sets subdirectory - svn_mkdir_local ("sets_manager_temp/modules") - svn_mkdir_local ("sets_manager_temp/sets") - - # commit the new directories - execute ('svn commit -m "branching/tagging" sets_manager_temp') - - # opts.dest should now be set to path, all of the branching - # functions assume dest now points to the branch/tag in which - # the copies should be places - opts.dest = path + '/' - - {'ace': branch_ACE, - 'tao': branch_TAO, - 'ciao': branch_CIAO}[opts.project] () - - # Commit the sets directory - execute ('svn commit -m "branching/tagging" sets_manager_temp') - - # remove the sets directory - for root, dirs, files in os.walk ('sets_manager_temp', False): - for name in files: - os.remove (os.path.join (root, name)) - for name in dirs: - os.rmdir (os.path.join (root, name)) - -if __name__ == "__main__": - opts, args = parse_args () - main (opts, args) - diff --git a/dep/ACE_wrappers/bin/show_unused_macros.pl b/dep/ACE_wrappers/bin/show_unused_macros.pl deleted file mode 100755 index deab3c277..000000000 --- a/dep/ACE_wrappers/bin/show_unused_macros.pl +++ /dev/null @@ -1,224 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -w -S $0 ${1+"$@"}' - & eval 'exec perl -w -S $0 $argv:q' - if 0; - -# ************************************************************ -# Description : Find macros in specified config files that -# are not referenced in other config files, -# but are referenced in the rest of the source -# files. -# Author : Chad Elliott -# Create Date : 12/22/2004 -# $Id: show_unused_macros.pl 80826 2008-03-04 14:51:23Z wotte $ -# ************************************************************ - -# ************************************************************ -# Pragmas -# ************************************************************ - -use strict; -use Cwd; -use FileHandle; -use File::Basename; - -# ************************************************************ -# Data Section -# ************************************************************ - -my($in_comment) = undef; - -# ************************************************************ -# Subroutine Section -# ************************************************************ - -sub getline { - my($fh) = shift; - my($line) = $fh->getline(); - - if (defined $line) { - ## Remove the line feed - $line =~ s/\n//; - - ## Remove one line c comments - $line =~ s/\/\*.*\*\///; - - ## Check for multi lined c comments - if ($line =~ s/\/\*.*//) { - $in_comment = 1; - } - elsif ($line =~ s/.*\*\///) { - $in_comment = 0; - } - elsif ($in_comment) { - $line = ''; - } - else { - ## Remove c++ comments - $line =~ s/\/\/.*//; - - ## Concatenate lines - if ($line =~ s/\\\s*$//) { - $line .= getline($fh); - } - } - } - - return $line; -} - - -sub findMacros { - my($defines) = shift; - my($macros) = shift; - my(@files) = @_; - foreach my $file (@files) { - my($fh) = new FileHandle(); - - if (open($fh, $file)) { - $in_comment = undef; - while(defined($_ = getline($fh))) { - if (($defines & 1) == 1 && /^\s*#\s*define\s*([^\s]+)/) { - my($word) = $1; - $word =~ s/\(.*//; - if (!defined $$macros{$word}) { - $$macros{$word} = $file; - } - } - elsif (($defines & 2) == 2 && /^\s*#\s*if/) { - foreach my $word (split(/[^\w]/, $_)) { - if ($word =~ /^[^\d]\w+$/ && - $word !~ /^if([n]?def)?$/ && - $word !~ /^define[d]?/ && - $word !~ /^els(e|if)$/ && !defined $$macros{$word}) { - $$macros{$word} = $file; - } - } - } - } - - close($fh); - } - else { - print STDERR "Unable to open $file\n"; - exit(2); - } - } -} - - -sub usageAndExit { - my($msg) = shift; - - if (defined $msg) { - print STDERR "ERROR: $msg\n"; - } - - print STDERR 'Usage: ', basename($0), " [-I ] \n\n", - "This script will provide a set of macros that may possibly\n", - "be removed from ACE.\n\n", - "It should be run under ACE_wrappers/ace and the input should\n", - "be the config header file or files planned for removal.\n"; - exit(1); -} - - -# ************************************************************ -# Main Section -# ************************************************************ - -my(@files) = (); -my(@dirs) = ('.', 'os_include', 'os_include/sys', - 'os_include/netinet', 'os_include/net', - 'os_include/arpa', - ); - -for(my $i = 0; $i <= $#ARGV; ++$i) { - my($arg) = $ARGV[$i]; - if ($arg =~ /^-/) { - if ($arg eq '-h') { - usageAndExit(); - } - elsif ($arg eq '-I') { - ++$i; - if (defined $ARGV[$i]) { - push(@dirs, $ARGV[$i]); - } - else { - usageAndExit('-I requires a directory parameter'); - } - } - else { - usageAndExit("$arg is an unknown option"); - } - } - else { - push(@files, $arg); - } -} - -if (!defined $files[0]) { - usageAndExit(); -} - -## First find all of the control macros -my(%control) = (); -findMacros(3, \%control, @files); - -## Now find all of the macros from the other config files -my(@other) = grep(!/config-all\.h|config-lite\.h/, ); - -for(my $i = 0; $i <= $#other; ++$i) { - foreach my $file (@files) { - if ($other[$i] eq $file) { - splice(@other, $i, 1); - --$i; - last; - } - } -} -my(%other) = (); -findMacros(3, \%other, @other); - - -my(%notreferenced) = (); -foreach my $macro (keys %control) { - if (!defined $other{$macro}) { - $notreferenced{$macro} = $control{$macro}; - } -} - - -## Find all other macros -my(@all) = (); -foreach my $dir (@dirs) { - my($orig) = getcwd(); - if (chdir($dir)) { - my(@more) = <*.h *.i* *.cpp>; - if ($dir ne '.') { - foreach my $file (@more) { - $file = "$dir/$file"; - } - } - push(@all, @more); - chdir($orig); - } -} - -for(my $i = 0; $i <= $#all; ++$i) { - foreach my $file (@files, @other) { - if ($all[$i] eq $file) { - splice(@all, $i, 1); - --$i; - last; - } - } -} - -my(%all) = (); -findMacros(2, \%all, @all); - -foreach my $macro (sort keys %notreferenced) { - if (defined $all{$macro}) { - print "$macro\n"; - } -} diff --git a/dep/ACE_wrappers/bin/split-cpp.pl b/dep/ACE_wrappers/bin/split-cpp.pl deleted file mode 100755 index b018f8e0c..000000000 --- a/dep/ACE_wrappers/bin/split-cpp.pl +++ /dev/null @@ -1,425 +0,0 @@ -#! /usr/bin/perl -eval '(exit $?0)' && eval 'exec perl -w -S $0 ${1+"$@"}' - & eval 'exec perl -w -S $0 $argv:q' - if 0; - -# $Id: split-cpp.pl 85436 2009-05-25 21:57:28Z coryan $ -# -# Splits C++ source files into one file per function or data item. -# -# Author: David L. Levine, with much help and encouragment from -# Umar Syyid and Gonzalo A. Diethelm. -# Completed by Andrew Gilpin, July 2000 -# Date: 10 November 1998 -# -# For each C++ source file: -# 1) Extracts the "intro" code, i.e., #includes and declarations. -# 2) Identifies function definitions, relying on {, and } at the -# beginning of a line, to delineate the function begin and -# end. -# -# Assumptions: (applies only to the files being split, i.e. .cpp files) -# * Function definition bodies are terminated with } appearing at -# the beginning of a line. -# * Free-standing (outside of functions) macro invocations must be -# followed by a blank line, or terminated with a semicolon. -# * A function must not have a blank line between its header -# (signature) and its body. -# * There aren't multiple C-style comments on one line, with code -# between them. -# * typedefs are on a single line -# * A #endif doesn't have a multi-line C comment starting on that line. - -# The first three lines above let this script run without specifying the -# full path to perl, as long as it is in the user's PATH. -# Taken from perlrun man page. - -# Changes made by Andrew Gilpin (June - July 2000) -# * Added option -c to use .c extension instead of .cpp extension -# * Prints message when no filenames are specified on the command line -# * Changed -? option to -h so that it works properly in most shells -# * Added option -s to skip certain files, but copy them to $split_dir, -# renaming them. (filename.cpp -> $split_dir/filename_S1.cpp). This is -# here so that ACE can selectively not split certain files (namely those -# that this script doesn't work with :) -# * Added support for classes declared in the .cpp file. - -$usage="usage: $0 [-h] [-d] [-v] [-c] [-s filename] filenames\n"; - -#### Configuration parameters. -$verbose = 0; -$debug = 0; -$split_dir = 'SPLIT'; -$extension = 'cpp'; -@files_to_skip = (); - -#### Constants. -$DIR_SEPARATOR = $^O eq "MSWin32" ? '\\' : '/'; - - -#### -#### Process command line args. -#### -while ( $#ARGV >= $[ && $ARGV[0] =~ /^-/ ) { - if ( $ARGV[0] eq '-d' ) { - $debug = 1; - } elsif ( $ARGV[0] eq '-v' ) { - $verbose = 1; - } elsif ( $ARGV[0] eq '-c' ) { - $extension = 'c'; - } elsif ( $ARGV[0] eq '-s' ) { - push @files_to_skip, $ARGV[1]; - shift; - } elsif ( $ARGV[0] eq '-h' ) { - print "$usage"; - exit; - } else { - print STDERR "$0: unknown option $ARGV[0]\n"; - die $usage; - } - shift; -} - - -&main (); - - -#### -#### Reset state, to process a new file starting with a clean slate. -#### -sub reset { - #### Working data buffers. - @intro = (); - @current_comments = (); - @current_code = (); - @if = (); - @save_if = (); - @endif = (); - @unknown = (); - ####@unknown_s = (); - - #### State variables. - $current_file_number = 0; - $top_of_file = 1; - $in_braces = 0; - $in_nonfunction_code = 0; - $in_C_comment = 0; - $intro_length = 0; - $preprocessor_continuation = 0; - $preserved_ifs = 0; -} - - -sub main { - #### Print error message if no files are specified. - #### We need to do this before we modify anything on disk. - die "No files specified!\n$usage" if (@ARGV == 0); - - #### Remove the destination subdirectory, if it exists. - #### Attempts to clean it out using unlink may fail because - #### it can have many files. - if (-d "$split_dir") { - system ("/bin/rm -r $split_dir") << 256 && - die "$0: unable to rm \"$split_dir\"\n"; - } - - #### Create the destination subdirectory. - mkdir "$split_dir", 0755 || - die "$0: unable to create $split_dir directory: $!\n"; - - MAIN_LOOP: foreach $file (@ARGV) { - #### Strip off filename extension. - ($basename = $file) =~ s/\.[^\.]+$//; - - foreach $skip_file (@files_to_skip) { - if ($skip_file eq $file) { - system ("/bin/cp $file $split_dir/" . $basename. "_S1\.$extension"); - next MAIN_LOOP; - } - } - - &reset (); - - print "FILE: $file\n" if $verbose; - open INPUT, "$file" || die "$0: unable to open \"$file\"\n"; - - while () { - #### Strip comments from $line and use that for processing. - #### But, use $_ for output, so that comments will be preserved. - my $line = $_; - - #### If we're in the midst of a multiline C comment, see - #### if it's finished on this line. - if ($in_C_comment) { - if ($line =~ s%^.*\*/%%) { - #### End C-style comment. - $in_C_comment = 0; - - if ($line =~ /^\s*$/ && ! $in_braces) { - #### No code on the line. - #&save_comment ($_); - next; - } - } else { - unless ($in_braces) { - #&save_comment ($_); - next; - } - } - } - - #### Strip C++-style comments. - if ($line =~ s%\s*//.*$%%) { - if ($line =~ /^\s*$/ && ! $in_braces) { - #### C++-style comment, without any code on the line. - #&save_comment ($_); - next; - } - } - - #### And C-style comments. - if ($line =~ m%/\*%) { - #### Begin C-style comment. Strip any complete comment(s), - #### then see what's left. - - $line =~ s%\s*/\*.*\*/\s*%%g; - - #### check to see if a preprocessor is on this line - if (! $in_braces) { - if ($line eq '') { - #### The line just had comment(s). Save it. - #&save_comment ($_); - next; - } else { - #### There's other text on the line. See if it's just the - #### start of a comment. - if ($line =~ m%/\*% && $line !~ m%\*/%) { - #### The C-style comment isn't terminated on this line. - $in_C_comment = 1; - #&save_comment ($_); - next; - } - } - } - } - - #### For now, skip ACE_RCSID's. Eventually, we might want to - #### consider putting them in _every_ file, if they're enabled. - next if $line =~ /^ACE_RCSID/; - - if ($in_braces) { - push @unknown, $_; - if ($line =~ /{/) { - ++$in_braces; - } elsif ($line =~ /^};/) { - #### }; at beginning of line could signify end of class - --$in_braces; - if ($in_braces == 0) { - push @intro, @unknown; - @unknown = (); - } - } elsif ($line =~ /^}/) { - #### } at beginning of line signifies end of function. - --$in_braces; - push @current_code, @unknown; - @unknown = (); - &finish_current ($basename, ++$current_file_number); - } elsif ($line =~ /};/) { - #### end of multi-line data delcaration - --$in_braces; - if ($in_braces == 0) { - push @current_code, @unknown; - @unknown = (); - &finish_current ($basename, ++$current_file_number); - } - } - } else { - #### Not in braces. - if (($line =~ m%[^/]*{%) && (! $preprocessor_continuation)) { - #### { signifies beginning of braces (obviously :). - if ($line =~ /};/) { - #### braces end on this line - push @unknown, $_; - push @current_code, @unknown; - @unknown = (); - &finish_current ($basename, ++$current_file_number); - } else { - push @unknown, $_; - $in_braces = 1; - $in_nonfunction_code = $top_of_file = 0; - } - } elsif ($line =~ /^}/) { - warn "$0: skipping unexpected } on line $. of \"$file\"\n"; - next; - } elsif ($line =~ /^typedef/) { - push @intro, $_; - } elsif ($line =~ /^\s*#/ || $preprocessor_continuation) { - #### Preprocessor directive. - if ($in_nonfunction_code) { - push @unknown, $_; - } else { - push @intro, $_; - } - $top_of_file = 0; - $preprocessor_continuation = /\\$/ ? 1 : 0; - - if ($line =~ m%^\s*#\s*if\s*(.*)(/.*)*$%) { - push @save_if, $_; - unshift @endif, "#endif /* $1 [Added by split-cpp.] */\n"; - - } elsif ($line =~ /^\s*#\s*endif/) { - #### End an #if/#else block. - unless (defined pop @save_if) { - pop @if; - if ($preserved_ifs > 0) { - --$preserved_ifs; - } - } - shift @endif; - - #### } elsif ($line =~ /^\s*#/) { - #### Any other preprocessor directive. - } - - } elsif ($line =~ /^\s*$/) { - #### Whitespace only, or empty line.. - push @current_code, "\n"; - if ($in_nonfunction_code) { - #### In the midst of non-function code, we reached a - #### blank line. Assume that we're done with it. - &finish_current ($basename, ++$current_file_number); - } else { - #### Not in a function, so add to intro. Just in case data or - #### a function follow it, flush now. - $preserved_ifs += $#save_if + 1; - &flush_current (\@intro); - } - - } elsif ($line =~ /;/) { - #### Data definition or semicolon-terminated macro invocation. - push @unknown, $_; - $top_of_file = 0; - - #### Is it file-static? Squash newlines out of @current_code. - my $statement = join (' ', @current_code); - if ($statement =~ /([^=[(]+)[=[(](.*)/) { - if ($1 =~ /static/) { - #### Move code to the intro. - push @intro, @current_comments; - @current_comments = (); - &flush_current (\@intro); - - #### Not separate code. - $in_nonfunction_code = 0; - - #### ???? Extract name from the left side and save for - #### later matching. - } else { - if ($statement =~ /^USEUNIT\s*\(/) { - #### Special-case those Borland USEUNIT things. - &flush_current (\@intro); - } else { - #### Non-static entity, with semicolon. Wrap it up. - push @current_code, @unknown; - @unknown = (); - &finish_current ($basename, ++$current_file_number); - } - } - } else { - #### Dunno. Wrap it up, anyways. - push @current_code, @unknown; - @unknown = (); - &finish_current ($basename, ++$current_file_number); - } - } else { - #### Beginning of data definition or function or class. - push @unknown, $_; - $in_nonfunction_code = 1; - $top_of_file = 0; - } - } - - if (eof) { - close (ARGV); #### To reset line number counter. - if ($#intro > $intro_length) { - #### Leftover prepreprocessor statement(s), such as #pragma - #### instantiate. - &finish_current ($basename, ++$current_file_number); - } - } - } - - close INPUT; - } -}; - - -#### -#### Save a comment in the appropriate array. -#### -#sub save_comment { -# my ($comment) = @_; -# -# if ($top_of_file) { -# push @intro, $comment; -# } else { -# push @current_comments, $comment; -# } -#} - - -#### -#### Flush the contents of the @current_code array to the destination -#### argument array. It is passed by reference. -#### -sub flush_current { - my ($destination) = @_; - - push @$destination, @current_code; - @current_code = (); -} - - -#### -#### Flush what we've got now to an output (split) file. -#### -sub finish_current { - my ($basename, $current_file_number) = @_; - - my $current_file_name = - sprintf "$split_dir$DIR_SEPARATOR${basename}_S%d.$extension", - $current_file_number++; - - if ($verbose) { - print "CURRENT OUTPUT FILE: $current_file_name\n"; - print "INTRO:\n"; - print @intro; - print @if; - print @current_comments; - print "CURRENT CODE:\n"; - print @current_code; - print @endif; - } - - open OUTPUT, "> $current_file_name" || - die "unable to open $current_file_name\n"; - - print OUTPUT "// Automatically generated by ACE's split-cpp.\n" . - "// DO NOT EDIT!\n\n"; - if ($debug) { - print OUTPUT "INTRO:\n", @intro, "IF:\n", @if, - "COMMENTS:\n", @current_comments, - "CURRENT:\n", @current_code, "ENDIF:\n", @endif; - } else { - print OUTPUT @intro, @if, @current_comments, @current_code, @endif; - } - - close OUTPUT; - - #### For detection of leftover preprocessor statements and - #### comments at end of file. - $intro_length = $#intro; - - @current_comments = @current_code = @save_if = (); - $in_braces = $in_nonfunction_code = 0; -} diff --git a/dep/ACE_wrappers/bin/svcconf-convert.pl b/dep/ACE_wrappers/bin/svcconf-convert.pl deleted file mode 100755 index dd655de3d..000000000 --- a/dep/ACE_wrappers/bin/svcconf-convert.pl +++ /dev/null @@ -1,300 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id: svcconf-convert.pl 80826 2008-03-04 14:51:23Z wotte $ -# -# File: svcconf-convert.pl: -# Purpose: This perl script convert classic svc.conf file into XML svc.conf file format. -# Usage: svcconf-convert.pl [-i infile] [-o outfile] [-verbose] [-nocomment] -# -i: Specify the input classic svc.conf filename. -# If omitted, the default input filename is "svc.conf". -# -o: Specify the output XML svc.conf filename. -# If this argument is omitted, the resulting XML file will be written -# to file called .xml. -# -verbose: Verbose output. -# -nocomment: Remove all comments. Use this argument if you have comments -# mixing in the middle of a classic svc.conf directive. - -$indent = 0; - -sub inc_indent -{ - $indent += 2; -} - -sub dec_indent -{ - $indent -= 2; -} - -sub get_indent -{ - $retv = 0; - print STDERR "$0 (", $lineno, "): Unbalanced macro pairs\n" if ($indent < 0); - $retv = $indent - 1 if ($indent > 0); - $retv; -} - -sub acexml_comment -{ - my $comment = shift; - print OUT " " x &get_indent (), "\n"; -} - -sub acexml_start -{ - my $name = shift; - my $standalone = shift; - - print OUT " " x &get_indent (), "<$name"; - - - while (@attnames) - { - print OUT " ", pop (@attnames), '="', pop (@attvalues), '"'; - } - - if ($standalone != 0) - { - print OUT "/>\n"; - } - else - { - print OUT ">\n"; - inc_indent (); - } -} - -sub acexml_end -{ - my $name = shift; - - dec_indent (); - print OUT " " x &get_indent (), "\n"; -} - -$verbose = 0; -$nocomment = 0; -@attvalues = (); -@attnames = (); -$stream = ""; -$infile = ""; -$outfile = ""; - -while ( $#ARGV >= 0) -{ - if ($ARGV[0] =~ m/^-i/i) { - shift; - $infile = "$ARGV[0]"; - } - elsif ($ARGV[0] =~ m/^-o/i) { - shift; - $outfile = "$ARGV[0]"; - } - elsif ($ARGV[0] =~ m/^-verbose/i) { - $verbose = 1; - } - elsif ($ARGV[0] =~ m/^-nocomment/i) { - $nocomment = 1; - } - elsif ($ARGV[0] =~ m/^-(\?|h|help)/i) { # Help information - print -" Usage: svcconf-convert.pl [-i infile] [-o outfile] [-verbose] [-nocomment] - -i: Specify the input classic svc.conf filename. - If omitted, the default input filename is 'svc.conf'. - -o: Specify the output XML svc.conf filename. - If this argument is omitted, the resulting XML file will - be written to file called .xml. - -verbose: Verbose output. - -nocomment: Remove all comments. Use this argument if you - have comments mixing in the middle of a classic - svc.conf directive. -"; - exit; - } - elsif ($ARGV[0] =~ m/^-/) { - warn "$0: unknown option $ARGV[0]\n"; - exit 1; - } - else { - die "unknow argument\n"; - } - shift; -} - -if ($infile eq "") { - print "Using default svc.conf name\n" if ($verbose != 0); - $infile = "svc.conf"; -} - - -if ($outfile eq "") { - $outfile = "$infile.xml"; -} -print "OUTFILE = $outfile \n" if ($verbose); - -open (OUT, "> $outfile") or die "Unable to open $outfile\n"; - -undef $/; -open (FH, "< $infile"); -$_ = ; - -if ($nocomment) { - if (s/^\#(.*)$//mg) { - print "ts = $_\n" if ($verbose != 0); - } -} - -print "------------------------------------------------------------\n" if ($verbose != 0); - -print OUT "\n"; -print OUT "\n"; -acexml_start ("ACE_Svc_Conf", 0); - -while (length ($_) != 0) { - s/^\s*$//mg; - - print "INPUT =\n$_\n" if ($verbose); - PARSE: { - if (s/^\s*\#(.*)//) { - acexml_comment ($1); - print "# $1\n" if ($verbose); - } - if (s/^\s*{//) { - acexml_start ("module", 0); - print "open module\n" if ($verbose); - } - - if (s/^\s*}//) { - acexml_end ("module"); - acexml_end ($stream); - print "close module\n" if ($verbose); - } - - if (s/^\s*stream\s+dynamic\s+(\w+)\s+(\w+)\s*\*\s*(\S+):(\S+)\s*\(\s*\)(\s+(active|inactive))?(\s+"([^"]*)")?//) { - $name = $1; - $type = $2; - $path = $3; - $init = $4; - $state = $6; - $param = $8; - acexml_start ("streamdef"); - if ($status ne "") { - push @attnames, ("status"); - push @attvalues, ("$state"); - } - push @attnames, ("type"); - push @attvalues, ("$type"); - push @attnames, ("id"); - push @attvalues, ("$name"); - acexml_start ("dynamic", 0); - if ($param ne "") { - push @attnames, ("params"); - push @attvalues, ("$param"); - } - push @attnames, ("init"); - push @attvalues, ("$init"); - push @attnames, ("path"); - push @attvalues, ("$path"); - acexml_start ("initializer", 1); - acexml_end ("dynamic"); - $stream = "streamdef"; - print "stream dynamic $name $type * $init:$path \"$param\" $state\n" if ($verbose); - } - - if (s/^\s*stream\s+static\s+(\w+)(\s+("(.*)"))?//) { - $name = $1; - $param = $4; - acexml_start ("streamdef", 0); - if ($param ne "") { - push @attnames, ("params"); - push @attvalues, ("$param"); - } - push @attnames, ("id"); - push @attvalues, ("$name"); - acexml_start ("static", 1); - $stream = "streamdef"; - print "static $name \"$param\"\n" if ($verbose); - } - - if (s/^\s*stream\s+(\w+)//) { - $name = $1; - push @attnames, ("id"); - push @attvalues, ("$name"); - acexml_start ("stream", 0); - $stream = "stream"; - print "stream $name\n" if ($verbose); - } - - if (s/^\s*dynamic\s+(\w+)\s+(\w+)\s*\*\s*(\S+):(\S+)\s*\(\s*\)(\s+(active|inactive))?(\s+"([^"]*)")?//) { - $name = $1; - $type = $2; - $path = $3; - $init = $4; - $state = $6; - $param = $8; - if ($status ne "") { - push @attnames, ("status"); - push @attvalues, ("$state"); - } - push @attnames, ("type"); - push @attvalues, ("$type"); - push @attnames, ("id"); - push @attvalues, ("$name"); - acexml_start ("dynamic", 0); - if ($param ne "") { - push @attnames, ("params"); - push @attvalues, ("$param"); - } - push @attnames, ("init"); - push @attvalues, ("$init"); - push @attnames, ("path"); - push @attvalues, ("$path"); - acexml_start ("initializer", 1); - acexml_end ("dynamic"); - print "dynamic $name $type * $init:$path \"$param\" $state\n" if ($verbose); - } - - if (s/^\s*static\s+(\w+)(\s+("(.*)"))?//) { - $name = $1; - $param = $4; - if ($param ne "") { - push @attnames, ("params"); - push @attvalues, ("$param"); - } - push @attnames, ("id"); - push @attvalues, ("$name"); - acexml_start ("static", 1); - print "static $name \"$param\"\n" if ($verbose); - } - - if ( s/^\s*resume\s+(\w+)//) { - $name = $1; - push @attnames, ("id"); - push @attvalues, ("$name"); - acexml_start ("resume", 1); - print "resume $name\n" if ($verbose); - } - - if ( s/^\s*remove\s+(\w+)//) { - $name = $1; - push @attnames, ("id"); - push @attvalues, ("$name"); - acexml_start ("remove", 1); - print "remove $name\n" if ($verbose); - } - - if ( s/^\s*suspend\s+(\w+)//) { - $name = $1; - push @attnames, ("id"); - push @attvalues, ("$name"); - acexml_start ("suspend", 1); - print "suspend $name\n" if ($verbose); - } - - $nothing = 1; - } -} - -acexml_end ("ACE_Svc_Conf"); diff --git a/dep/ACE_wrappers/bin/svn_props.py b/dep/ACE_wrappers/bin/svn_props.py deleted file mode 100755 index da1a6d62d..000000000 --- a/dep/ACE_wrappers/bin/svn_props.py +++ /dev/null @@ -1,48 +0,0 @@ -#!/usr/bin/python - -import sys -import re -import os -import string - -print """WARNING: this script is dumb. I mean, really, really dumb. Every file is treated -as a text file, so if you are checking in any binary files, YOU MUST set a non-text -MIME type by hand, otherwise it WILL be corrupted by the checkout process. -A better approach will be to add the unmatched files to the config file in -ACE/docs/svn/config (and update yours!) so others won't have to put up with them -in the future. - -To use this program, copy and paste the output from the svn command into standard -input. -""" - -foo = raw_input("That being said, if you want to continue, press enter") - -sin, sout = os.popen2 ("svn info") -sin.close () -os.wait () - -url = "" -root = "" -path = "" - -for line in sout.readlines (): - if line.startswith ("URL: "): - url = line.replace ("URL: ", "")[:-1] - if line.startswith ("Repository Root: "): - root = line.replace ("Repository Root: ", "")[:-1] - -path = url.replace (root, "")[1:] + '/' -files = "" - -eol_style = " svn ps svn:eol-style native " -keywords = " svn ps svn:keywords 'Author Date Id Revision' " - -for line in sys.stdin.readlines (): - ln = line[0:line.find (':')] + ' ' - ln = ln.replace (path,"") - os.system (eol_style + ln) - os.system (keywords + ln) - - - diff --git a/dep/ACE_wrappers/bin/topinfo_iorsize_stats.sh b/dep/ACE_wrappers/bin/topinfo_iorsize_stats.sh deleted file mode 100755 index bf7160c96..000000000 --- a/dep/ACE_wrappers/bin/topinfo_iorsize_stats.sh +++ /dev/null @@ -1,78 +0,0 @@ -#!/bin/sh -# -# $Id: topinfo_iorsize_stats.sh 91813 2010-09-17 07:52:52Z johnnyw $ -# - -if [ $# -lt 4 ]; then - echo "Usage: $0 [ROOT] [DEST] [USER] [OPTIMIZED]" - exit 0 -fi - -ROOT=$1 -DEST=$2 -US=$3 -OPT=$4 - -DATE=`date +%Y/%m/%d-%H:%M` -cd $ROOT -ACE_ROOT=$ROOT -export ACE_ROOT -LD_LIBRARY_PATH=$ACE_ROOT/ace -export LD_LIBRARY_PATH -PATH=/usr/bin:/bin:$PATH -export PATH -cd TAO/performance-tests/Memory/IORsize - -# start the server. If OPT == 1 then start the optimized version, else -# the non-optimized version - -if test $OPT == 1 - then ./server -ORBSvcConf server.conf & - else ./server & -fi - -s_id=$!; - -server_start_size=`cat /proc/$s_id/status | grep VmRSS | awk '{print $2}'`; - -# Just sleep for 2 seconds. -sleep 2; -# Check whether the server has started -file="test.ior" -if test -f $file - then - # start the client - ./client & - c_id=$!; - # Wait till all the invocations are done - sleep 30; - # Get the size once the client has made sufficient invocations. - s_invocations=`cat /proc/$s_id/status | grep VmRSS | awk '{print $2}'`; - let "actual_server_growth=${s_invocations}-${server_start_size}"; - if test $OPT == 1 - then - echo $DATE $s_invocations >> $DEST/source/server_opt_ior_size.txt - echo $DATE $actual_server_growth >> $DEST/source/opt_ior_size.txt - else - echo $DATE $s_invocations >> $DEST/source/server_ior_size.txt - echo $DATE $actual_server_growth >> $DEST/source/actual_ior_size.txt - fi - - # Kill the server and client. We will look at better ways of doing - # this later. - kill -9 $c_id; - kill -9 $s_id; - rm -f $file -else - echo $file doesnt exist -fi - - -cd $DEST/source -STRING="for 50000 IORs" -FILES="server_opt opt server actual" -for i in $FILES ; do -/usr/bin/tac ${i}_ior_size.txt > $DEST/data/${i}_ior_size.txt -/usr/bin/tail -5 ${i}_ior_size.txt > $DEST/data/LAST_${i}_ior_size.txt -$ROOT/bin/generate_topinfo_charts.sh ${i}_ior_size.txt $DEST/images/${i}_ior_size.png ${i}_ior_size.txt -done diff --git a/dep/ACE_wrappers/bin/topinfo_simple_stats.sh b/dep/ACE_wrappers/bin/topinfo_simple_stats.sh deleted file mode 100755 index c86db290d..000000000 --- a/dep/ACE_wrappers/bin/topinfo_simple_stats.sh +++ /dev/null @@ -1,78 +0,0 @@ -#!/bin/sh -# -# $Id: topinfo_simple_stats.sh 91813 2010-09-17 07:52:52Z johnnyw $ -# - - -if [ $# -lt 3 ]; then - echo "Usage: $0 [ROOT] [DEST] [USER]" - exit 0 -fi - -ROOT=$1 -DEST=$2 -US=$3 - -DATE=`date +%Y/%m/%d-%H:%M` -cd $ROOT -ACE_ROOT=$ROOT -export ACE_ROOT -LD_LIBRARY_PATH=$ACE_ROOT/ace -export LD_LIBRARY_PATH -PATH=/usr/bin:/bin:$PATH -export PATH -cd TAO/performance-tests/Memory/Single_Threaded -# start the server -./server & -s_id=$!; -# Just sleep for 2 seconds. -sleep 2; -# Check whether the server has started -file="test.ior" -if test -f $file - then - # Just get the size as soon the server is started, ie. the vanilla - # server. - s_up=`cat /proc/$s_id/status | grep VmRSS | awk '{print $2}'`; - - # Write it a file - echo $DATE $s_up >> $DEST/source/st_start_size.txt - # start the client - ./client & - c_id=$!; - # Wait till all the invocations are done - sleep 10; - # Get the size once the client has made sufficient invocations. - s_invocations=`cat /proc/$s_id/status | grep VmRSS| awk '{print $2}'`; - - echo $DATE $s_invocations >> $DEST/source/st_after_invoke_size.txt - - # Get teh size of the client after all the invocations - c_invocations=`cat /proc/$c_id/status | grep VmRSS | awk '{print $2}'`; - echo $DATE $c_invocations >> $DEST/source/st_client_size.txt - - # Kill the server and client. We will look at better ways of doing - # this later. - kill -9 $c_id; - - # Just sleep for the server to release memory etc. - sleep 5; - - # Get the size once the client is killed or crashed - s_client_death=`cat /proc/$s_id/status | grep VmRSS | awk '{print $2}'`; - echo $DATE $s_client_death >> $DEST/source/st_after_peer_death_size.txt - kill -9 $s_id; - rm -f $file -else - echo $file doesnt exist -fi - - -cd $DEST/source - -FILES="start after_invoke client after_peer_death" -for i in $FILES ; do -/usr/bin/tac st_${i}_size.txt > $DEST/data/st_${i}_size.txt -/usr/bin/tail -5 st_${i}_size.txt > $DEST/data/LAST_st_${i}_size.txt -$ROOT/bin/generate_topinfo_charts.sh st_${i}_size.txt $DEST/images/st_${i}_size.png st_${i}_size.txt -done diff --git a/dep/ACE_wrappers/bin/topinfo_stats.sh b/dep/ACE_wrappers/bin/topinfo_stats.sh deleted file mode 100755 index 0419aca2f..000000000 --- a/dep/ACE_wrappers/bin/topinfo_stats.sh +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh -# -# $Id: topinfo_stats.sh 91813 2010-09-17 07:52:52Z johnnyw $ -# - - -if [ $# -lt 3 ]; then - echo "Usage: $0 [ROOT] [DEST] [USER]" - exit 0 -fi - -ROOT=$1 -DEST=$2 -US=$3 - -DATE=`date +%Y/%m/%d-%H:%M` -cd $ROOT -ACE_ROOT=$ROOT -export ACE_ROOT -LD_LIBRARY_PATH=$ACE_ROOT/ace -export LD_LIBRARY_PATH -PATH=/usr/bin:$PATH -export PATH -cd TAO/performance-tests/Memory/Single_Threaded -# start the server -./server & -s_id=$!; -# Just sleep for 2 seconds. -sleep 2; -# Check whether the server has started -file="test.ior" -if test -f $file - then - # Just get the size as soon the server is started, ie. the vanilla - # server. - s_up=`top -p $s_id -n 1 -b | grep $US| awk '{print $5}'`; - - # Write it a file - echo $DATE $s_up >> $DEST/source/st_start_size.txt - # start the client - ./client & - c_id=$!; - # Wait till all the invocations are done - sleep 10; - # Get the size once the client has made sufficient invocations. - s_invocations=`top -p $s_id -n 1 -b | grep $US| awk '{print $5}'`; - - echo $DATE $s_invocations >> $DEST/source/st_after_invoke_size.txt - - # Kill the server and client. We will look at better ways of doing - # this later. - kill -9 $c_id; - - # Just sleep for the server to release memory etc. - sleep 5; - - # Get the size once the client is killed or crashed - s_client_death=`top -p $s_id -n 1 -b | grep $US| awk '{print $5}'`; - echo $DATE $s_client_death >> $DEST/source/st_after_peer_death_size.txt - kill -9 $s_id; - rm -f $file -else - echo $file doesnt exist -fi - - -cd $DEST/source -STRING="" -FILES="start after_invoke after_peer_death" -for i in $FILES ; do -/usr/bin/tac st_${i}_size.txt > $DEST/data/st_${i}_size.txt -/usr/bin/tail -5 st_${i}_size.txt > $DEST/data/LAST_st_${i}_size.txt -$ROOT/bin/generate_topinfo_charts.sh st_${i}_size.txt $DEST/images/st_${i}_size.png st_${i}_size.txt $STRING -done diff --git a/dep/ACE_wrappers/bin/update-ace+tao.sh b/dep/ACE_wrappers/bin/update-ace+tao.sh deleted file mode 100755 index 462ba1abe..000000000 --- a/dep/ACE_wrappers/bin/update-ace+tao.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh -# Update ACE/TAO source tree to the latest numeric-assigned version. -# $Id: update-ace+tao.sh 91813 2010-09-17 07:52:52Z johnnyw $ - -# Define helper function to extract version number into tag format -d='\([0-9]*\)' -version() { sed -n -e "s,.*$1 version $d\.$d\.$d.*,$1-\1_\2_\3,p" \ - -e "s,.*$1 version $d\.$d.*,$1-\1_\2,p"; } - -# Use ccvs instead of cvs since it supports SOCKS5, if that environment found. -if [ ! -z "$SOCKS5_USER" ]; then cvs () { ccvs $*; } fi - -old_ace_version=`version 1) -{ - print STDERR "AR = ". $AR . "\n"; - print STDERR "ACE_ROOT = " . $ace_root . "\n"; - print STDERR "WIND_BASE = " . $wind_base, "\n"; - print STDERR "curdir = " . $curdir, "\n"; -} - -if ($VXDEBUG > 1) { - print STDERR "LINKLIBS are:\n"; -} - -while ($#ARGV >= 0) -{ - if ($ARGV[0] =~ /^-l/) { - $lib = shift; - $lib =~ s/^-l//; - if ($VXDEBUG > 1) { - print STDERR $ace_root."/lib/lib".$lib.".a\n"; - } - push @lib_arr, $lib; - } -} - -my @lib_registry = (); - -my $LINKLIBS = ""; - -my $libobj_dir = ".lib"; -system("if not exist ".$libobj_dir." mkdir ".$libobj_dir); -foreach $lib (@lib_arr) { - my $libname = $ace_root."\\lib\\lib".$lib.".a"; - if (-e $libname) { - if (! -e $libobj_dir."\\lib".$lib.".a") { - if ($VXDEBUG) { - print STDERR "Unpacking ".$lib."...\n"; - } - system("cmd /c if exist ".$libobj_dir."\\".$lib." del /q/f ".$libobj_dir."\\".$lib."\\*.*"); - system("cmd /c (mkdir ".$libobj_dir."\\".$lib." && cd ".$libobj_dir."\\".$lib." && ".$AR." -x ".$libname." && cd ".$curdir.")"); - - if ($VXDEBUG) { - print STDERR "Processing ".$lib."...\n"; - } - - my @rpo_arr = glob ($libobj_dir."\\".$lib."\\*.rpo"); - - if ($VXDEBUG > 1) { - print STDERR "Read #".$#rpo_arr." filenames\n"; - } - - my $line; - my $fh; - my $newfh; - my $module; - foreach $rpo (@rpo_arr) { - if ($VXDEBUG > 2) { - print STDERR $rpo."\n"; - } - $fh = new FileHandle(); - $newfh = new FileHandle(); - $module = basename($rpo, ".rpo"); - open ($newfh, '>', dirname($rpo)."\\".$module.".__rpo"); - open ($fh, '<', $rpo); - while (defined ($line = readline $fh)) { - if ($line =~ /^M /) { - $line =~ s/\//\\/g; - } - elsif ($line =~ /^D /) { - $line =~ s/(^D[ ])(.*ACE_wrappers)(.*)/${1}$ace_root${3}/; - $line =~ s/\//\\/g; - } - elsif ($line =~ /^A /) { - $line =~ s/('-I)([^ ]*ACE_wrappers)([']|[^']+')/${1}$ace_root${3}/g; - $line =~ s/('-I)([^ ]*Tornado[^\/\\]+)([']|[^']+')/${1}$wind_base${3}/g; - $line =~ s/('-o' )('.*')/'-o' '$curdir\/$libobj_dir\/$lib\/$module.o'/g; - $line =~ s/\//\\/g; - } - print $newfh $line; - } - close ($fh); - close ($newfh); - - system("cmd /c (del /f/q ".$rpo." && rename ".dirname($rpo)."\\".$module.".__rpo ".basename($rpo).")"); - } - - $fh = new FileHandle(); - open($fh, '<', $libobj_dir."\\".$lib."\\.prelink.spec"); - my $lnkcmd = readline($fh); - my $arcmd = readline($fh); - my $libdeps = readline($fh); - close($fh); - - $lib_registry[++$#lib_registry] = { - lib => $lib, - linkcmd => $lnkcmd, - arcmd => $arcmd, - libdeps => (defined $libdeps ? $libdeps : '') - }; - } - - $LINKLIBS = $LINKLIBS." ".$libobj_dir."\\lib".$lib.".a"; - } - else { - $LINKLIBS = "-l".$lib." ".$LINKLIBS; - } -} - -sub _find_lib_entry -{ - my $lib = shift; - foreach my $reg (@lib_registry) { - if ($reg->{lib} =~ /(^| )$lib( |$)/) { - return $reg; - } - } - return undef; -} - -sub _prelink_lib -{ - my $lentry = shift; - my $stack = shift; - my $lib = $lentry->{lib}; - my $lnkcmd = $lentry->{linkcmd}; - my $arcmd = $lentry->{arcmd}; - my @deps = split(' ', $lentry->{libdeps}); - - $lnkcmd =~ s/\n//g; - $arcmd =~ s/\n//g; - - if ($VXDEBUG) { - print STDERR "Prelink requested for ".$lib." (dependend on ".join(' ', @deps).")...\n"; - } - - # check dependencies - foreach my $dep (@deps) { - if ($VXDEBUG > 1) { - print STDERR " Checking dependency ".$dep."(stack = ".$stack.")...\n"; - } - if (($stack !~ /\<$dep\>/) && !(-e $libobj_dir."\\lib".$dep.".a")) { - my $le = _find_lib_entry ($dep); - if (defined $le) { - _prelink_lib ($le, $stack." <".$lib.">"); - } - } - } - - # prelink library - if ($VXDEBUG) { - print STDERR "Prelinking ".$lib."...\n"; - } - - my $objs = join(' ', glob ($libobj_dir."\\".$lib."\\*.o")); - my $libs = join(' ', glob ($libobj_dir."\\*.a")); - if ($VXDEBUG > 1) { - print STDERR " > cmd /c ".$lnkcmd." ".$libobj_dir."\\.prelink_lib ".$objs." ".$libs."\n"; - } - system("cmd /c ".$lnkcmd." ".$libobj_dir."\\.prelink_lib ".$objs." ".$libs); - system("cmd /c del /f/q ".$libobj_dir."\\.prelink_lib"); - - # build prelinked library - if ($VXDEBUG) { - print STDERR "Building prelinked lib ".$lib."...\n"; - } - - $arcmd =~ s/lib$lib/$libobj_dir\\lib$lib/; - #$arcmd = $AR." r ".$libobj_dir."\\lib".$lib.".a"; - $arcmd =~ s/ rv / rc /g; - if ($VXDEBUG > 1) { - print STDERR "cmd /c echo ".$objs." | ".$arcmd."\n"; - print STDERR "cmd /c (".$RANLIB." ".$libobj_dir."\\lib".$lib.".a && rmdir /s/q ".$libobj_dir."\\".$lib.")"."\n"; - } - system("cmd /c echo ".$objs." | ".$arcmd); - system("cmd /c (".$RANLIB." ".$libobj_dir."\\lib".$lib.".a && rmdir /s/q ".$libobj_dir."\\".$lib.")"); -} - -foreach my $libentry (@lib_registry) { - if (! -e $libobj_dir."\\lib".$libentry->{lib}.".a") { - _prelink_lib ($libentry, ""); - } -} - -print $LINKLIBS."\n"; - -1; diff --git a/dep/ACE_wrappers/configure b/dep/ACE_wrappers/configure deleted file mode 100755 index f12286544..000000000 --- a/dep/ACE_wrappers/configure +++ /dev/null @@ -1,43087 +0,0 @@ -#! /bin/sh -# From configure.ac Id: configure.ac 92183 2010-10-08 08:44:15Z olli . -# Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for ACE 5.8.3. -# -# Report bugs to . -# -# -# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. -# -# -# This configure script is free software; the Free Software Foundation -# gives unlimited permission to copy, distribute and modify it. -# -# ACE(TM), TAO(TM), CIAO(TM), and CoSMIC(TM) (henceforth -# referred to as "DOC software") are copyrighted by Douglas C. -# Schmidt and his research group at Washington University, -# University of California, Irvine, and Vanderbilt University, -# Copyright (c) 1993-2005, all rights reserved. Since DOC software is -# open-source, free software, you are free to use, modify, copy, and -# distribute--perpetually and irrevocably--the DOC software source code -# and object code produced from the source, as well as copy and -# distribute modified versions of this software. You must, however, -# include this copyright statement along with code built using DOC -# software. -# -# Please see the file `COPYING' in the top level ACE directory for -# additional details. -## -------------------- ## -## 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 - -# Use a proper internal environment variable to ensure we don't fall - # into an infinite loop, continuously re-executing ourselves. - if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then - _as_can_reexec=no; export _as_can_reexec; - # We cannot yet assume a decent shell, so we have to provide a -# neutralization value for shells without unset; and this also -# works around shells that cannot unset nonexistent variables. -# Preserve -v and -x to the replacement shell. -BASH_ENV=/dev/null -ENV=/dev/null -(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV -case $- in # (((( - *v*x* | *x*v* ) as_opts=-vx ;; - *v* ) as_opts=-v ;; - *x* ) as_opts=-x ;; - * ) as_opts= ;; -esac -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} -# Admittedly, this is quite paranoid, since all the known shells bail -# out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -as_fn_exit 255 - fi - # We don't want this to propagate to other subprocesses. - { _as_can_reexec=; unset _as_can_reexec;} -if test "x$CONFIG_SHELL" = x; then - as_bourne_compatible="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_required="as_fn_return () { (exit \$1); } -as_fn_success () { as_fn_return 0; } -as_fn_failure () { as_fn_return 1; } -as_fn_ret_success () { return 0; } -as_fn_ret_failure () { return 1; } - -exitcode=0 -as_fn_success || { exitcode=1; echo as_fn_success failed.; } -as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } -as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } -as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } -if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : - -else - exitcode=1; echo positional parameters were not saved. -fi -test x\$exitcode = x0 || exit 1 -test -x / || exit 1" - as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO - as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO - eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && - test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 -test \$(( 1 + 1 )) = 2 || exit 1" - if (eval "$as_required") 2>/dev/null; then : - as_have_required=yes -else - as_have_required=no -fi - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : - -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -as_found=false -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - as_found=: - case $as_dir in #( - /*) - for as_base in sh bash ksh sh5; do - # Try only shells that exist, to save several forks. - as_shell=$as_dir/$as_base - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : - CONFIG_SHELL=$as_shell as_have_required=yes - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : - break 2 -fi -fi - done;; - esac - as_found=false -done -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : - CONFIG_SHELL=$SHELL as_have_required=yes -fi; } -IFS=$as_save_IFS - - - if test "x$CONFIG_SHELL" != x; then : - export CONFIG_SHELL - # We cannot yet assume a decent shell, so we have to provide a -# neutralization value for shells without unset; and this also -# works around shells that cannot unset nonexistent variables. -# Preserve -v and -x to the replacement shell. -BASH_ENV=/dev/null -ENV=/dev/null -(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV -case $- in # (((( - *v*x* | *x*v* ) as_opts=-vx ;; - *v* ) as_opts=-v ;; - *x* ) as_opts=-x ;; - * ) as_opts= ;; -esac -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} -# Admittedly, this is quite paranoid, since all the known shells bail -# out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -exit 255 -fi - - if test x$as_have_required = xno; then : - $as_echo "$0: This script requires a shell more modern than all" - $as_echo "$0: the shells that I found on your system." - if test x${ZSH_VERSION+set} = xset ; then - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" - $as_echo "$0: be upgraded to zsh 4.3.4 or later." - else - $as_echo "$0: Please tell bug-autoconf@gnu.org and -$0: ace-bugs@cs.wustl.edu about your system, including any -$0: error possibly output before this message. Then install -$0: a modern shell, or manually run the script under such a -$0: shell if you do have one." - fi - exit 1 -fi -fi -fi -SHELL=${CONFIG_SHELL-/bin/sh} -export SHELL -# Unset more variables known to interfere with behavior of common tools. -CLICOLOR_FORCE= GREP_OPTIONS= -unset CLICOLOR_FORCE GREP_OPTIONS - -## --------------------- ## -## M4sh Shell Functions. ## -## --------------------- ## -# as_fn_unset VAR -# --------------- -# Portably unset VAR. -as_fn_unset () -{ - { eval $1=; unset $1;} -} -as_unset=as_fn_unset - -# 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_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 - -# as_fn_executable_p FILE -# ----------------------- -# Test if FILE is an executable regular file. -as_fn_executable_p () -{ - test -f "$1" && test -x "$1" -} # as_fn_executable_p -# 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 - - -# 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 - -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 - - - as_lineno_1=$LINENO as_lineno_1a=$LINENO - as_lineno_2=$LINENO as_lineno_2a=$LINENO - eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && - test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { - # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } - - # If we had to re-execute with $CONFIG_SHELL, we're ensured to have - # already done that, so ensure we don't try to do so again and fall - # in an infinite loop. This has already happened in practice. - _as_can_reexec=no; export _as_can_reexec - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - -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 -pR'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -pR' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -pR' - fi -else - as_ln_s='cp -pR' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -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 - -as_test_x='test -x' -as_executable_p=as_fn_executable_p - -# 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'" - - - -# Check that we are running under the correct shell. -SHELL=${CONFIG_SHELL-/bin/sh} - -case X$lt_ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` - ;; -esac - -ECHO=${lt_ECHO-echo} -if test "X$1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X$1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then - # Yippee, $ECHO works! - : -else - # Restart under the correct shell. - exec $SHELL "$0" --no-reexec ${1+"$@"} -fi - -if test "X$1" = X--fallback-echo; then - # used as fallback echo - shift - cat <<_LT_EOF -$* -_LT_EOF - exit 0 -fi - -# 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 - -if test -z "$lt_ECHO"; then - if test "X${echo_test_string+set}" != Xset; then - # find a string as large as possible, as long as the shell can cope with it - for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... - if { echo_test_string=`eval $cmd`; } 2>/dev/null && - { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null - then - break - fi - done - fi - - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - : - else - # The Solaris, AIX, and Digital Unix default echo programs unquote - # backslashes. This makes it impossible to quote backslashes using - # echo "$something" | sed 's/\\/\\\\/g' - # - # So, first we look for a working echo in the user's PATH. - - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for dir in $PATH /usr/ucb; do - IFS="$lt_save_ifs" - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - ECHO="$dir/echo" - break - fi - done - IFS="$lt_save_ifs" - - if test "X$ECHO" = Xecho; then - # We didn't find a better echo, so look for alternatives. - if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # This shell has a builtin print -r that does the trick. - ECHO='print -r' - elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && - test "X$CONFIG_SHELL" != X/bin/ksh; then - # If we have ksh, try running configure again with it. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} - export ORIGINAL_CONFIG_SHELL - CONFIG_SHELL=/bin/ksh - export CONFIG_SHELL - exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} - else - # Try using printf. - ECHO='printf %s\n' - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # Cool, printf works - : - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL - export CONFIG_SHELL - SHELL="$CONFIG_SHELL" - export SHELL - ECHO="$CONFIG_SHELL $0 --fallback-echo" - elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - ECHO="$CONFIG_SHELL $0 --fallback-echo" - else - # maybe with a smaller string... - prev=: - - for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do - if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null - then - break - fi - prev="$cmd" - done - - if test "$prev" != 'sed 50q "$0"'; then - echo_test_string=`eval $prev` - export echo_test_string - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} - else - # Oops. We lost completely, so just stick with echo. - ECHO=echo - fi - fi - fi - fi - fi -fi - -# Copy echo and quote the copy suitably for passing to libtool from -# the Makefile, instead of quoting the original, which is used later. -lt_ECHO=$ECHO -if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then - lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" -fi - - - - -test -n "$DJDIR" || exec 7<&0 &1 - -# Name of the host. -# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, -# so uname gets run too. -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` - -# -# Initializations. -# -ac_default_prefix=/usr/local -ac_clean_files= -ac_config_libobj_dir=. -LIBOBJS= -cross_compiling=no -subdirs= -MFLAGS= -MAKEFLAGS= - -# Identity of this package. -PACKAGE_NAME='ACE' -PACKAGE_TARNAME='ace' -PACKAGE_VERSION='5.8.3' -PACKAGE_STRING='ACE 5.8.3' -PACKAGE_BUGREPORT='ace-bugs@cs.wustl.edu' -PACKAGE_URL='' - -ac_unique_file="ace/ACE.cpp" -# Factoring default headers for most tests. -ac_includes_default="\ -#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" - -ac_subst_vars='am__EXEEXT_FALSE -am__EXEEXT_TRUE -LTLIBOBJS -LIBOBJS -ACE_XLIBS -ACE_ON_PENTIUM_FALSE -ACE_ON_PENTIUM_TRUE -ALLOCA -CPP -OTOOL64 -OTOOL -LIPO -NMEDIT -DSYMUTIL -lt_ECHO -RANLIB -AR -OBJDUMP -NM -ac_ct_DUMPBIN -DUMPBIN -LD -FGREP -SED -am__fastdepCC_FALSE -am__fastdepCC_TRUE -CCDEPMODE -ac_ct_CC -CFLAGS -CC -LIBTOOL -COMPILE_XTREACTOR_TEST_FALSE -COMPILE_XTREACTOR_TEST_TRUE -XTREACTOR_TEST_XLIBS -BUILD_USES_WCHAR_FALSE -BUILD_USES_WCHAR_TRUE -QUANTIFY -PURIFY -BUILD_EXCEPTIONS_FALSE -BUILD_EXCEPTIONS_TRUE -BUILD_ACEXML_FALSE -BUILD_ACEXML_TRUE -BUILD_SSL_FALSE -BUILD_SSL_TRUE -ACE_TLS_LIBS -ACE_TLS_LDFLAGS -ACE_TLS_CPPFLAGS -ACE_KERBEROS_INCLUDES -BUILD_QOS_FALSE -BUILD_QOS_TRUE -BUILD_GPERF_FALSE -BUILD_GPERF_TRUE -BUILD_ZZIP_FALSE -BUILD_ZZIP_TRUE -ACE_ZZIP_LIBS -ACE_ZZIP_LDFLAGS -ACE_ZZIP_CPPFLAGS -BUILD_ZLIB_FALSE -BUILD_ZLIB_TRUE -ACE_ZLIB_LIBS -ACE_ZLIB_LDFLAGS -ACE_ZLIB_CPPFLAGS -BUILD_BZIP2_FALSE -BUILD_BZIP2_TRUE -ACE_BZIP2_LIBS -ACE_BZIP2_LDFLAGS -ACE_BZIP2_CPPFLAGS -BUILD_WXWINDOWS_FALSE -BUILD_WXWINDOWS_TRUE -BUILD_TAO_FOXRESOURCE_FALSE -BUILD_TAO_FOXRESOURCE_TRUE -BUILD_ACE_FOXREACTOR_FALSE -BUILD_ACE_FOXREACTOR_TRUE -BUILD_FOX_FALSE -BUILD_FOX_TRUE -ACE_FOX_LIBS -ACE_FOX_CPPFLAGS -FOXCONFIG -BUILD_TAO_XTRESOURCE_FALSE -BUILD_TAO_XTRESOURCE_TRUE -BUILD_ACE_XTREACTOR_FALSE -BUILD_ACE_XTREACTOR_TRUE -BUILD_XT_FALSE -BUILD_XT_TRUE -BUILD_MOTIF_FALSE -BUILD_MOTIF_TRUE -BUILD_ATHENA3D_FALSE -BUILD_ATHENA3D_TRUE -BUILD_ATHENA_FALSE -BUILD_ATHENA_TRUE -ACE_XT_LIBS -ACE_XT_LDFLAGS -ACE_XT_CPPFLAGS -BUILD_TAO_TKRESOURCE_FALSE -BUILD_TAO_TKRESOURCE_TRUE -BUILD_ACE_TKREACTOR_FALSE -BUILD_ACE_TKREACTOR_TRUE -BUILD_TK_FALSE -BUILD_TK_TRUE -ACE_TK_LIBS -ACE_TK_CPPFLAGS -ACE_TCL_LIBS -ACE_TCL_CPPFLAGS -BUILD_TAO_QTRESOURCE_FALSE -BUILD_TAO_QTRESOURCE_TRUE -BUILD_ACE_QTREACTOR_FALSE -BUILD_ACE_QTREACTOR_TRUE -BUILD_QT_FALSE -BUILD_QT_TRUE -QTDIR -ACE_QT_LIBS -ACE_QT_CPPFLAGS -Qt_LIBS -Qt_CFLAGS -PKG_CONFIG -BUILD_TAO_FLRESOURCE_FALSE -BUILD_TAO_FLRESOURCE_TRUE -BUILD_ACE_FLREACTOR_FALSE -BUILD_ACE_FLREACTOR_TRUE -BUILD_FL_FALSE -BUILD_FL_TRUE -BUILD_GL_FALSE -BUILD_GL_TRUE -BUILD_X11_FALSE -BUILD_X11_TRUE -ACE_X11_LIBS -ACE_X11_LDFLAGS -ACE_X11_CPPFLAGS -X_EXTRA_LIBS -X_LIBS -X_PRE_LIBS -X_CFLAGS -XMKMF -ACE_FLTK_LIBS -ACE_FLTK_CPPFLAGS -FLTKCONFIG -BUILD_WINREGISTRY_FALSE -BUILD_WINREGISTRY_TRUE -BUILD_WINCE_FALSE -BUILD_WINCE_TRUE -BUILD_WFMO_FALSE -BUILD_WFMO_TRUE -BUILD_THREADS_FALSE -BUILD_THREADS_TRUE -BUILD_IPV6_FALSE -BUILD_IPV6_TRUE -BUILD_RWHO_FALSE -BUILD_RWHO_TRUE -BUILD_ACE_UUID_FALSE -BUILD_ACE_UUID_TRUE -BUILD_ACE_TOKEN_FALSE -BUILD_ACE_TOKEN_TRUE -BUILD_ACE_OTHER_FALSE -BUILD_ACE_OTHER_TRUE -BUILD_ACE_FILECACHE_FALSE -BUILD_ACE_FILECACHE_TRUE -BUILD_ACE_CODECS_FALSE -BUILD_ACE_CODECS_TRUE -BUILD_ACE_FOR_TAO_FALSE -BUILD_ACE_FOR_TAO_TRUE -BUILD_FULL_LIBRARY_FALSE -BUILD_FULL_LIBRARY_TRUE -BUILD_OTHER_FILES_FALSE -BUILD_OTHER_FILES_TRUE -BUILD_UUID_FILES_FALSE -BUILD_UUID_FILES_TRUE -BUILD_UTILS_FILES_FALSE -BUILD_UTILS_FILES_TRUE -BUILD_TOKEN_FILES_FALSE -BUILD_TOKEN_FILES_TRUE -BUILD_TIMER_FILES_FALSE -BUILD_TIMER_FILES_TRUE -BUILD_THREADS_FILES_FALSE -BUILD_THREADS_FILES_TRUE -BUILD_SVCCONF_FILES_FALSE -BUILD_SVCCONF_FILES_TRUE -BUILD_STREAMS_FILES_FALSE -BUILD_STREAMS_FILES_TRUE -BUILD_SOCKETS_FILES_FALSE -BUILD_SOCKETS_FILES_TRUE -BUILD_METRICS_FILES_FALSE -BUILD_METRICS_FILES_TRUE -BUILD_MEMORY_FILES_FALSE -BUILD_MEMORY_FILES_TRUE -BUILD_LOGGING_FILES_FALSE -BUILD_LOGGING_FILES_TRUE -BUILD_IPC_FILES_FALSE -BUILD_IPC_FILES_TRUE -BUILD_FILECACHE_FILES_FALSE -BUILD_FILECACHE_FILES_TRUE -BUILD_DEMUX_FILES_FALSE -BUILD_DEMUX_FILES_TRUE -BUILD_CONNECTION_FILES_FALSE -BUILD_CONNECTION_FILES_TRUE -BUILD_CODECS_FILES_FALSE -BUILD_CODECS_FILES_TRUE -BUILD_OS_FILES_FALSE -BUILD_OS_FILES_TRUE -PROF -GPERF -YFLAGS -YACC -LEXLIB -LEX_OUTPUT_ROOT -LEX -LN_S -ACE_VERSION_NAME -ACE_BETA -ACE_MINOR -ACE_MAJOR -BUILD_CROSS_COMPILE_FALSE -BUILD_CROSS_COMPILE_TRUE -ACE_CROSS_COMPILED_FALSE -ACE_CROSS_COMPILED_TRUE -CXXCPP -am__fastdepCXX_FALSE -am__fastdepCXX_TRUE -CXXDEPMODE -AMDEPBACKSLASH -AMDEP_FALSE -AMDEP_TRUE -am__quote -am__include -DEPDIR -OBJEXT -EXEEXT -ac_ct_CXX -CPPFLAGS -LDFLAGS -CXXFLAGS -CXX -EGREP -GREP -am__untar -am__tar -AMTAR -am__leading_dot -SET_MAKE -AWK -mkdir_p -MKDIR_P -INSTALL_STRIP_PROGRAM -STRIP -install_sh -MAKEINFO -AUTOHEADER -AUTOMAKE -AUTOCONF -ACLOCAL -VERSION -PACKAGE -CYGPATH_W -am__isrc -INSTALL_DATA -INSTALL_SCRIPT -INSTALL_PROGRAM -target_os -target_vendor -target_cpu -target -host_os -host_vendor -host_cpu -host -build_os -build_vendor -build_cpu -build -target_alias -host_alias -build_alias -LIBS -ECHO_T -ECHO_N -ECHO_C -DEFS -mandir -localedir -libdir -psdir -pdfdir -dvidir -htmldir -infodir -docdir -oldincludedir -includedir -localstatedir -sharedstatedir -sysconfdir -datadir -datarootdir -libexecdir -sbindir -bindir -program_transform_name -prefix -exec_prefix -PACKAGE_URL -PACKAGE_BUGREPORT -PACKAGE_STRING -PACKAGE_VERSION -PACKAGE_TARNAME -PACKAGE_NAME -PATH_SEPARATOR -SHELL' -ac_subst_files='' -ac_user_opts=' -enable_option_checking -enable_dependency_tracking -enable_lib_all -enable_lib_full -enable_lib_os -enable_lib_codecs -enable_lib_connection -enable_lib_demux -enable_lib_filecache -enable_lib_ipc -enable_lib_logging -enable_lib_memory -enable_lib_metrics -enable_lib_sockets -enable_lib_streams -enable_lib_svcconf -enable_lib_threads -enable_lib_timer -enable_lib_token -enable_lib_utils -enable_lib_uuid -enable_lib_other -enable_ace_codecs -enable_ace_filecache -enable_ace_other -enable_ace_token -enable_ace_uuid -enable_alloca -enable_rwho -enable_ipv4_ipv6 -enable_ipv6 -enable_log_msg_prop -enable_logging -enable_malloc_stats -enable_pi_pointers -enable_posix_sem_timeout_emulation -enable_probe -enable_static_obj_mgr -enable_threads -enable_pthreads -enable_aio -enable_uithreads -enable_verb_not_sup -enable_rcsid -enable_trace -enable_wfmo -enable_wince -enable_winregistry -with_fltkconfig -with_x -enable_fl_reactor -enable_qt_reactor -enable_libsuffix -with_tclconfig -with_tkconfig -enable_tk_reactor -enable_xt_reactor -with_fox_config -enable_fox_reactor -with_bzip2 -with_zlib -with_zzip -enable_gperf -enable_qos -with_openssl -with_openssl_include -with_openssl_libdir -enable_ssl -enable_acexml -with_tao -with_tli_device -enable_reentrant -enable_ace_cdr_swap_on_read -enable_ace_cdr_swap_on_write -enable_ace_cdr_alignment -enable_ace_reactor_notification_queue -enable_ace_strdup_emulation -enable_ace_wcsdup_emulation -enable_debug -enable_exceptions -enable_fast -enable_ipo -enable_inline -enable_optimize -enable_profile -enable_purify -enable_quantify -enable_repo -enable_stdcpplib -enable_uses_wchar -enable_symbol_visibility -enable_static -enable_shared -with_pic -enable_fast_install -with_gnu_ld -enable_libtool_lock -' - ac_precious_vars='build_alias -host_alias -target_alias -CXX -CXXFLAGS -LDFLAGS -LIBS -CPPFLAGS -CCC -CXXCPP -YACC -YFLAGS -XMKMF -PKG_CONFIG -Qt_CFLAGS -Qt_LIBS -CC -CFLAGS -CPP' - - -# Initialize some variables set by options. -ac_init_help= -ac_init_version=false -ac_unrecognized_opts= -ac_unrecognized_sep= -# The variables have the same names as the options, with -# dashes changed to underlines. -cache_file=/dev/null -exec_prefix=NONE -no_create= -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -verbose= -x_includes=NONE -x_libraries=NONE - -# Installation directory options. -# These are left unexpanded so users can "make install exec_prefix=/foo" -# and all the variables that are supposed to be based on exec_prefix -# by default will actually change. -# Use braces instead of parens because sh, perl, etc. also accept them. -# (The list follows the same order as the GNU Coding Standards.) -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datarootdir='${prefix}/share' -datadir='${datarootdir}' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -includedir='${prefix}/include' -oldincludedir='/usr/include' -docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' -infodir='${datarootdir}/info' -htmldir='${docdir}' -dvidir='${docdir}' -pdfdir='${docdir}' -psdir='${docdir}' -libdir='${exec_prefix}/lib' -localedir='${datarootdir}/locale' -mandir='${datarootdir}/man' - -ac_prev= -ac_dashdash= -for ac_option -do - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval $ac_prev=\$ac_option - ac_prev= - continue - fi - - case $ac_option in - *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; - *=) ac_optarg= ;; - *) ac_optarg=yes ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case $ac_dashdash$ac_option in - --) - ac_dashdash=yes ;; - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir=$ac_optarg ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build_alias ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build_alias=$ac_optarg ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file=$ac_optarg ;; - - --config-cache | -C) - cache_file=config.cache ;; - - -datadir | --datadir | --datadi | --datad) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=*) - datadir=$ac_optarg ;; - - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ - | --dataroo | --dataro | --datar) - ac_prev=datarootdir ;; - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) - datarootdir=$ac_optarg ;; - - -disable-* | --disable-*) - ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=no ;; - - -docdir | --docdir | --docdi | --doc | --do) - ac_prev=docdir ;; - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) - docdir=$ac_optarg ;; - - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) - ac_prev=dvidir ;; - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) - dvidir=$ac_optarg ;; - - -enable-* | --enable-*) - ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=\$ac_optarg ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix=$ac_optarg ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he | -h) - ac_init_help=long ;; - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) - ac_init_help=recursive ;; - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) - ac_init_help=short ;; - - -host | --host | --hos | --ho) - ac_prev=host_alias ;; - -host=* | --host=* | --hos=* | --ho=*) - host_alias=$ac_optarg ;; - - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) - ac_prev=htmldir ;; - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ - | --ht=*) - htmldir=$ac_optarg ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir=$ac_optarg ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir=$ac_optarg ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir=$ac_optarg ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir=$ac_optarg ;; - - -localedir | --localedir | --localedi | --localed | --locale) - ac_prev=localedir ;; - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) - localedir=$ac_optarg ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst | --locals) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) - localstatedir=$ac_optarg ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir=$ac_optarg ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir=$ac_optarg ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=$ac_optarg ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix=$ac_optarg ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix=$ac_optarg ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name=$ac_optarg ;; - - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) - ac_prev=pdfdir ;; - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) - pdfdir=$ac_optarg ;; - - -psdir | --psdir | --psdi | --psd | --ps) - ac_prev=psdir ;; - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) - psdir=$ac_optarg ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir=$ac_optarg ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir=$ac_optarg ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site=$ac_optarg ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=$ac_optarg ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir=$ac_optarg ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target_alias ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target_alias=$ac_optarg ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=: ;; - - -with-* | --with-*) - ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=\$ac_optarg ;; - - -without-* | --without-*) - ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=no ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes=$ac_optarg ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries=$ac_optarg ;; - - -*) as_fn_error $? "unrecognized option: \`$ac_option' -Try \`$0 --help' for more information" - ;; - - *=*) - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` - # Reject names that are not valid shell variable names. - case $ac_envvar in #( - '' | [0-9]* | *[!_$as_cr_alnum]* ) - as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; - esac - eval $ac_envvar=\$ac_optarg - export $ac_envvar ;; - - *) - # FIXME: should be removed in autoconf 3.0. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" - ;; - - esac -done - -if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` - as_fn_error $? "missing argument to $ac_option" -fi - -if test -n "$ac_unrecognized_opts"; then - case $enable_option_checking in - no) ;; - fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; - esac -fi - -# Check all directory arguments for consistency. -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ - datadir sysconfdir sharedstatedir localstatedir includedir \ - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir -do - eval ac_val=\$$ac_var - # Remove trailing slashes. - case $ac_val in - */ ) - ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` - eval $ac_var=\$ac_val;; - esac - # Be sure to have absolute directory names. - case $ac_val in - [\\/$]* | ?:[\\/]* ) continue;; - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; - esac - as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" -done - -# There might be people who depend on the old broken behavior: `$host' -# used to hold the argument of --host etc. -# FIXME: To remove some day. -build=$build_alias -host=$host_alias -target=$target_alias - -# FIXME: To remove some day. -if test "x$host_alias" != x; then - if test "x$build_alias" = x; then - cross_compiling=maybe - elif test "x$build_alias" != "x$host_alias"; then - cross_compiling=yes - fi -fi - -ac_tool_prefix= -test -n "$host_alias" && ac_tool_prefix=$host_alias- - -test "$silent" = yes && exec 6>/dev/null - - -ac_pwd=`pwd` && test -n "$ac_pwd" && -ac_ls_di=`ls -di .` && -ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || - as_fn_error $? "working directory cannot be determined" -test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - as_fn_error $? "pwd does not report name of working directory" - - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then the parent directory. - ac_confdir=`$as_dirname -- "$as_myself" || -$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_myself" : 'X\(//\)[^/]' \| \ - X"$as_myself" : 'X\(//\)$' \| \ - X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_myself" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - srcdir=$ac_confdir - if test ! -r "$srcdir/$ac_unique_file"; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -fi -if test ! -r "$srcdir/$ac_unique_file"; then - test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." - as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" -fi -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" -ac_abs_confdir=`( - cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" - pwd)` -# When building in place, set srcdir=. -if test "$ac_abs_confdir" = "$ac_pwd"; then - srcdir=. -fi -# Remove unnecessary trailing slashes from srcdir. -# Double slashes in file names in object file debugging info -# mess up M-x gdb in Emacs. -case $srcdir in -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; -esac -for ac_var in $ac_precious_vars; do - eval ac_env_${ac_var}_set=\${${ac_var}+set} - eval ac_env_${ac_var}_value=\$${ac_var} - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} - eval ac_cv_env_${ac_var}_value=\$${ac_var} -done - -# -# Report the --help message. -# -if test "$ac_init_help" = "long"; then - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat <<_ACEOF -\`configure' configures ACE 5.8.3 to adapt to many kinds of systems. - -Usage: $0 [OPTION]... [VAR=VALUE]... - -To assign environment variables (e.g., CC, CFLAGS...), specify them as -VAR=VALUE. See below for descriptions of some of the useful variables. - -Defaults for the options are specified in brackets. - -Configuration: - -h, --help display this help and exit - --help=short display options specific to this package - --help=recursive display the short help of all the included packages - -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking ...' messages - --cache-file=FILE cache test results in FILE [disabled] - -C, --config-cache alias for \`--cache-file=config.cache' - -n, --no-create do not create output files - --srcdir=DIR find the sources in DIR [configure dir or \`..'] - -Installation directories: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [PREFIX] - -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. - -For better control, use the options below. - -Fine tuning of the installation directories: - --bindir=DIR user executables [EPREFIX/bin] - --sbindir=DIR system admin executables [EPREFIX/sbin] - --libexecdir=DIR program executables [EPREFIX/libexec] - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] - --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --libdir=DIR object code libraries [EPREFIX/lib] - --includedir=DIR C header files [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc [/usr/include] - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] - --datadir=DIR read-only architecture-independent data [DATAROOTDIR] - --infodir=DIR info documentation [DATAROOTDIR/info] - --localedir=DIR locale-dependent data [DATAROOTDIR/locale] - --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root [DATAROOTDIR/doc/ace] - --htmldir=DIR html documentation [DOCDIR] - --dvidir=DIR dvi documentation [DOCDIR] - --pdfdir=DIR pdf documentation [DOCDIR] - --psdir=DIR ps documentation [DOCDIR] -_ACEOF - - cat <<\_ACEOF - -Program names: - --program-prefix=PREFIX prepend PREFIX to installed program names - --program-suffix=SUFFIX append SUFFIX to installed program names - --program-transform-name=PROGRAM run sed PROGRAM on installed program names - -X features: - --x-includes=DIR X include files are in DIR - --x-libraries=DIR X library files are in DIR - -System types: - --build=BUILD configure for building on BUILD [guessed] - --host=HOST cross-compile to build programs to run on HOST [BUILD] - --target=TARGET configure for building compilers for TARGET [HOST] -_ACEOF -fi - -if test -n "$ac_init_help"; then - case $ac_init_help in - short | recursive ) echo "Configuration of ACE 5.8.3:";; - esac - cat <<\_ACEOF - -Optional Features: - --disable-option-checking ignore unrecognized --enable/--with options - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors - --enable-lib-all build all ACE components [[no]] - --enable-lib-full build the full ACE library [[yes]] - --enable-lib-os build ACE_OS library - --enable-lib-codecs build ACE_Codecs library - --enable-lib-connection build ACE_Connection library - --enable-lib-demux build ACE_Demux library - --enable-lib-filecache build ACE_Filecache library - --enable-lib-ipc build ACE_IPC library - --enable-lib-logging build ACE_Logging library - --enable-lib-memory build ACE_Memory library - --enable-lib-metrics build ACE_Metrics library - --enable-lib-sockets build ACE_Sockets library - --enable-lib-streams build ACE_Streams library - --enable-lib-svcconf build ACE_Svcconf library - --enable-lib-threads build ACE_Threads library - --enable-lib-timer build ACE_Timer library - --enable-lib-token build ACE_Token library - --enable-lib-utils build ACE_Utils library - --enable-lib-uuid build ACE_UUID library - --enable-lib-other build ACE_Other library - --enable-ace-codecs build ACE with codecs support [[yes]] - --enable-ace-filecache build ACE_Filecache support [[yes]] - --enable-ace-other build ACE with all misc pieces [[yes]] - --enable-ace-token build ACE with tokens support [[yes]] - --enable-ace-uuid build ACE with UUID support [[yes]] - --enable-alloca compile with alloca() support [[no]] - --enable-rwho build the distributed rwho program [[no]] - --enable-ipv4-ipv6 compile with IPv4/IPv6 migration support [[no]] - --enable-ipv6 compile with IPv6 support [[no]] - --enable-log-msg-prop enable threads inheriting ACE_Log_Msg properties - from parent thread [[yes]] - --enable-logging enable ACE logging macros [[yes]] - --enable-malloc-stats enable malloc statistics collection [[no]] - --enable-pi-pointers enable pos. indep. pointers [[yes]] - --enable-posix-sem-timeout-emulation - enable POSIX semaphore timeout emulation [[no]] - --enable-probe enable ACE_Timeprobes [[no]] - --enable-static-obj-mgr enable static Object_Manager [[yes]] - --enable-threads enable thread support [[yes]] - --enable-pthreads enable POSIX thread (Pthreads) support [[yes]] - --enable-aio enable aio support [[yes]] - --enable-uithreads enable UNIX International thread support [[no]] - --enable-verb-not-sup enable verbose ENOTSUP reports [[no]] - --enable-rcsid compile RCS id strings into object files [[no]] - --enable-trace enable ACE tracing [[no]] - --enable-wfmo build WFMO-using examples [[no]] - --enable-wince build Windows CE/Mobile-using examples [[no]] - --enable-winregistry build Windows registry-using examples [[no]] - --enable-fl-reactor build support for the FlReactor [[no]] - --enable-qt-reactor build support for the QtReactor [[no]] - --enable-libsuffix /lib directory suffix (64,32,none,auto[=default]) - --enable-tk-reactor build support for the TkReactor [[no]] - --enable-xt-reactor build support for the XtReactor [[no]] - --enable-fox-reactor build support for the FoxReactor [[no]] - --enable-gperf compile the gperf program [[yes]] - --enable-qos compile/use the ACE_QoS library [[no]] - --enable-ssl compile/use the ACE_SSL library [[yes]] - --enable-acexml compile/use the ACEXML library [[yes]] - --enable-reentrant enable reentrant functions [[yes]] - --enable-ace-cdr-swap-on-read - configure CDR to support swap on read [[yes]] - --enable-ace-cdr-swap-on-write - configure CDR to support swap on write [[no]] - --enable-ace-cdr-alignment - configure CDR to require aligned access [[yes]] - --enable-ace-reactor-notification-queue - configure Reactor to use a user-space queue for - notifications [[no]] - --enable-ace-strdup-emulation - use ACE's strdup emulation [[no]] - --enable-ace-wcsdup-emulation - use ACE's wcsdup emulation [[no]] - --enable-debug enable debugging [[yes]] - --enable-exceptions enable C++ exception handling [[yes]] - --enable-fast enable -fast flag (e.g. Sun C++) [[no]] - --enable-ipo enable -ipo flag (e.g. Intel C++) [[no]] - --enable-inline enable code inlining [[yes]] - --enable-optimize enable additional optimizations [[yes]] - --enable-profile enable profiling [[no]] - --enable-purify Purify all executables [[no]] - --enable-quantify Quantify all executables [[no]] - --enable-repo use GNU template repository GNU C++ with repo - patches and EGCS only [[no]] - --enable-stdcpplib enable standard C++ library [[yes]] - --enable-uses-wchar enable use of wide characters [[no]] - --enable-symbol-visibility - build with gcc symbol visibility attributes [[[no]]] - --enable-static[=PKGS] build static libraries [default=no] - --enable-shared[=PKGS] build shared libraries [default=yes] - --enable-fast-install[=PKGS] - optimize for fast installation [default=yes] - --disable-libtool-lock avoid locking (might break parallel builds) - -Optional Packages: - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --with-fltkconfig=DIR path to fltk-config [[automatic]] - --with-x use the X Window System - --with-tclconfig=DIR path to tclConfig.sh [[automatic]] - --with-tkconfig=DIR path to tkConfig.sh [[automatic]] - --with-fox-config=DIR path to fox-config [[automatic]] - --with-bzip2[=DIR] root directory of bzip2 installation - --with-zlib[=DIR] root directory of zlib installation - --with-zzip[=DIR] root directory of zzip installation - --with-openssl[=DIR] root directory of openssl installation - --with-openssl-include=DIR - specify exact include dir for openssl headers - --with-openssl-libdir=DIR - specify exact include dir for openssl libraries - --with-tao build TAO (the ACE ORB) [[yes]] - --with-tli-device(=DEV) device for TCP on TLI [/dev/tcp] - --with-pic try to use only PIC/non-PIC objects [default=use - both] - --with-gnu-ld assume the C compiler uses GNU ld [default=no] - -Some influential environment variables: - CXX C++ compiler command - CXXFLAGS C++ compiler flags - LDFLAGS linker flags, e.g. -L if you have libraries in a - nonstandard directory - LIBS libraries to pass to the linker, e.g. -l - CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if - you have headers in a nonstandard directory - CXXCPP C++ preprocessor - YACC The `Yet Another Compiler Compiler' implementation to use. - Defaults to the first program found out of: `bison -y', `byacc', - `yacc'. - YFLAGS The list of arguments that will be passed by default to $YACC. - This script will default YFLAGS to the empty string to avoid a - default value of `-d' given by some make applications. - XMKMF Path to xmkmf, Makefile generator for X Window System - PKG_CONFIG path to pkg-config utility - Qt_CFLAGS C compiler flags for Qt, overriding pkg-config - Qt_LIBS linker flags for Qt, overriding pkg-config - CC C compiler command - CFLAGS C compiler flags - CPP C preprocessor - -Use these variables to override the choices made by `configure' or to help -it to find libraries and programs with nonstandard names/locations. - -Report bugs to . -_ACEOF -ac_status=$? -fi - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d "$ac_dir" || - { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || - continue - 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 - - cd "$ac_dir" || { ac_status=$?; continue; } - # Check for guested configure. - if test -f "$ac_srcdir/configure.gnu"; then - echo && - $SHELL "$ac_srcdir/configure.gnu" --help=recursive - elif test -f "$ac_srcdir/configure"; then - echo && - $SHELL "$ac_srcdir/configure" --help=recursive - else - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi || ac_status=$? - cd "$ac_pwd" || { ac_status=$?; break; } - done -fi - -test -n "$ac_init_help" && exit $ac_status -if $ac_init_version; then - cat <<\_ACEOF -ACE configure 5.8.3 -generated by GNU Autoconf 2.69 - -Copyright (C) 2012 Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. - -ACE(TM), TAO(TM), CIAO(TM), and CoSMIC(TM) (henceforth -referred to as "DOC software") are copyrighted by Douglas C. -Schmidt and his research group at Washington University, -University of California, Irvine, and Vanderbilt University, -Copyright (c) 1993-2005, all rights reserved. Since DOC software is -open-source, free software, you are free to use, modify, copy, and -distribute--perpetually and irrevocably--the DOC software source code -and object code produced from the source, as well as copy and -distribute modified versions of this software. You must, however, -include this copyright statement along with code built using DOC -software. - -Please see the file `COPYING' in the top level ACE directory for -additional details. -_ACEOF - exit -fi - -## ------------------------ ## -## Autoconf initialization. ## -## ------------------------ ## - -# ac_fn_cxx_try_compile LINENO -# ---------------------------- -# Try to compile conftest.$ac_ext, and return whether this succeeded. -ac_fn_cxx_try_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext - if { { ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compile") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_cxx_try_compile - -# ac_fn_cxx_try_cpp LINENO -# ------------------------ -# Try to preprocess conftest.$ac_ext, and return whether this succeeded. -ac_fn_cxx_try_cpp () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } > conftest.i && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_cxx_try_cpp - -# ac_fn_cxx_try_link LINENO -# ------------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. -ac_fn_cxx_try_link () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext conftest$ac_exeext - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - test -x conftest$ac_exeext - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information - # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would - # interfere with the next link command; also delete a directory that is - # left behind by Apple's compiler. We do this before executing the actions. - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_cxx_try_link - -# ac_fn_cxx_check_func LINENO FUNC VAR -# ------------------------------------ -# Tests whether FUNC exists, setting the cache variable VAR accordingly -ac_fn_cxx_check_func () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -/* Define $2 to an innocuous variant, in case declares $2. - For example, HP-UX 11i declares gettimeofday. */ -#define $2 innocuous_$2 - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $2 (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $2 - -/* 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 $2 (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_$2 || defined __stub___$2 -choke me -#endif - -int -main () -{ -return $2 (); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_cxx_check_func - -# ac_fn_cxx_try_run LINENO -# ------------------------ -# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes -# that executables *can* be run. -ac_fn_cxx_try_run () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then : - ac_retval=0 -else - $as_echo "$as_me: program exited with status $ac_status" >&5 - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=$ac_status -fi - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_cxx_try_run - -# ac_fn_c_try_compile LINENO -# -------------------------- -# Try to compile conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext - if { { ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compile") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_c_try_compile - -# ac_fn_c_try_link LINENO -# ----------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_link () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext conftest$ac_exeext - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - test -x conftest$ac_exeext - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information - # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would - # interfere with the next link command; also delete a directory that is - # left behind by Apple's compiler. We do this before executing the actions. - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_c_try_link - -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - -# ac_fn_c_try_cpp LINENO -# ---------------------- -# Try to preprocess conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_cpp () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } > conftest.i && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_c_try_cpp - -# ac_fn_c_try_run LINENO -# ---------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes -# that executables *can* be run. -ac_fn_c_try_run () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then : - ac_retval=0 -else - $as_echo "$as_me: program exited with status $ac_status" >&5 - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=$ac_status -fi - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_c_try_run - -# ac_fn_c_check_func LINENO FUNC VAR -# ---------------------------------- -# Tests whether FUNC exists, setting the cache variable VAR accordingly -ac_fn_c_check_func () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -/* Define $2 to an innocuous variant, in case declares $2. - For example, HP-UX 11i declares gettimeofday. */ -#define $2 innocuous_$2 - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $2 (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $2 - -/* 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 $2 (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_$2 || defined __stub___$2 -choke me -#endif - -int -main () -{ -return $2 (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_func - -# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES -# --------------------------------------------------------- -# Tests whether HEADER exists, giving a warning if it cannot be compiled using -# the include files in INCLUDES and setting the cache variable VAR -# accordingly. -ac_fn_cxx_check_header_mongrel () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if eval \${$3+:} false; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 -$as_echo_n "checking $2 usability... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_header_compiler=yes -else - ac_header_compiler=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -$as_echo_n "checking $2 presence... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <$2> -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - ac_header_preproc=yes -else - ac_header_preproc=no -fi -rm -f conftest.err conftest.i conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( - yes:no: ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; - no:yes:* ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} -( $as_echo "## ------------------------------------ ## -## Report this to ace-bugs@cs.wustl.edu ## -## ------------------------------------ ##" - ) | sed "s/^/$as_me: WARNING: /" >&2 - ;; -esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - eval "$3=\$ac_header_compiler" -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_cxx_check_header_mongrel - -# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES -# --------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_cxx_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_cxx_check_header_compile - -# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES -# --------------------------------------------- -# Tests whether TYPE exists after having included INCLUDES, setting cache -# variable VAR accordingly. -ac_fn_cxx_check_type () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - eval "$3=no" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -if (sizeof ($2)) - return 0; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -if (sizeof (($2))) - return 0; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - -else - eval "$3=yes" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_cxx_check_type - -# ac_fn_cxx_check_decl LINENO SYMBOL VAR INCLUDES -# ----------------------------------------------- -# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR -# accordingly. -ac_fn_cxx_check_decl () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - as_decl_name=`echo $2|sed 's/ *(.*//'` - as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 -$as_echo_n "checking whether $as_decl_name is declared... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -#ifndef $as_decl_name -#ifdef __cplusplus - (void) $as_decl_use; -#else - (void) $as_decl_name; -#endif -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_cxx_check_decl - -# ac_fn_cxx_check_member LINENO AGGR MEMBER VAR INCLUDES -# ------------------------------------------------------ -# Tries to find if the field MEMBER exists in type AGGR, after including -# INCLUDES, setting cache variable VAR accordingly. -ac_fn_cxx_check_member () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 -$as_echo_n "checking for $2.$3... " >&6; } -if eval \${$4+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$5 -int -main () -{ -static $2 ac_aggr; -if (ac_aggr.$3) -return 0; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - eval "$4=yes" -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$5 -int -main () -{ -static $2 ac_aggr; -if (sizeof ac_aggr.$3) -return 0; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - eval "$4=yes" -else - eval "$4=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$4 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_cxx_check_member - -# ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES -# ---------------------------------------------- -# Tries to find the compile-time value of EXPR in a program that includes -# INCLUDES, setting VAR accordingly. Returns whether the value could be -# computed -ac_fn_cxx_compute_int () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if test "$cross_compiling" = yes; then - # Depending upon the size, compute the lo and hi bounds. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -static int test_array [1 - 2 * !(($2) >= 0)]; -test_array [0] = 0; -return test_array [0]; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_lo=0 ac_mid=0 - while :; do - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -static int test_array [1 - 2 * !(($2) <= $ac_mid)]; -test_array [0] = 0; -return test_array [0]; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_hi=$ac_mid; break -else - as_fn_arith $ac_mid + 1 && ac_lo=$as_val - if test $ac_lo -le $ac_mid; then - ac_lo= ac_hi= - break - fi - as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -static int test_array [1 - 2 * !(($2) < 0)]; -test_array [0] = 0; -return test_array [0]; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_hi=-1 ac_mid=-1 - while :; do - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -static int test_array [1 - 2 * !(($2) >= $ac_mid)]; -test_array [0] = 0; -return test_array [0]; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_lo=$ac_mid; break -else - as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val - if test $ac_mid -le $ac_hi; then - ac_lo= ac_hi= - break - fi - as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done -else - ac_lo= ac_hi= -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -# Binary search between lo and hi bounds. -while test "x$ac_lo" != "x$ac_hi"; do - as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -static int test_array [1 - 2 * !(($2) <= $ac_mid)]; -test_array [0] = 0; -return test_array [0]; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_hi=$ac_mid -else - as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -done -case $ac_lo in #(( -?*) eval "$3=\$ac_lo"; ac_retval=0 ;; -'') ac_retval=1 ;; -esac - else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -static long int longval () { return $2; } -static unsigned long int ulongval () { return $2; } -#include -#include -int -main () -{ - - FILE *f = fopen ("conftest.val", "w"); - if (! f) - return 1; - if (($2) < 0) - { - long int i = longval (); - if (i != ($2)) - return 1; - fprintf (f, "%ld", i); - } - else - { - unsigned long int i = ulongval (); - if (i != ($2)) - return 1; - fprintf (f, "%lu", i); - } - /* Do not output a trailing newline, as this causes \r\n confusion - on some platforms. */ - return ferror (f) || fclose (f) != 0; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - echo >>conftest.val; read $3 config.log <<_ACEOF -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by ACE $as_me 5.8.3, which was -generated by GNU Autoconf 2.69. Invocation command line was - - $ $0 $@ - -_ACEOF -exec 5>>config.log -{ -cat <<_ASUNAME -## --------- ## -## Platform. ## -## --------- ## - -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` - -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` - -_ASUNAME - -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - $as_echo "PATH: $as_dir" - done -IFS=$as_save_IFS - -} >&5 - -cat >&5 <<_ACEOF - - -## ----------- ## -## Core tests. ## -## ----------- ## - -_ACEOF - - -# Keep a trace of the command line. -# Strip out --no-create and --no-recursion so they do not pile up. -# Strip out --silent because we don't want to record it for future runs. -# Also quote any args containing shell meta-characters. -# Make two passes to allow for proper duplicate-argument suppression. -ac_configure_args= -ac_configure_args0= -ac_configure_args1= -ac_must_keep_next=false -for ac_pass in 1 2 -do - for ac_arg - do - case $ac_arg in - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - continue ;; - *\'*) - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - case $ac_pass in - 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; - 2) - as_fn_append ac_configure_args1 " '$ac_arg'" - if test $ac_must_keep_next = true; then - ac_must_keep_next=false # Got value, back to normal. - else - case $ac_arg in - *=* | --config-cache | -C | -disable-* | --disable-* \ - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ - | -with-* | --with-* | -without-* | --without-* | --x) - case "$ac_configure_args0 " in - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; - esac - ;; - -* ) ac_must_keep_next=true ;; - esac - fi - as_fn_append ac_configure_args " '$ac_arg'" - ;; - esac - done -done -{ ac_configure_args0=; unset ac_configure_args0;} -{ ac_configure_args1=; unset ac_configure_args1;} - -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. We remove comments because anyway the quotes in there -# would cause problems or look ugly. -# WARNING: Use '\'' to represent an apostrophe within the trap. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. -trap 'exit_status=$? - # Save into config.log some information that might help in debugging. - { - echo - - $as_echo "## ---------------- ## -## Cache variables. ## -## ---------------- ##" - echo - # The following way of writing the cache mishandles newlines in values, -( - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) { eval $ac_var=; unset $ac_var;} ;; - esac ;; - esac - done - (set) 2>&1 | - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - sed -n \ - "s/'\''/'\''\\\\'\'''\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" - ;; #( - *) - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) - echo - - $as_echo "## ----------------- ## -## Output variables. ## -## ----------------- ##" - echo - for ac_var in $ac_subst_vars - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - - if test -n "$ac_subst_files"; then - $as_echo "## ------------------- ## -## File substitutions. ## -## ------------------- ##" - echo - for ac_var in $ac_subst_files - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - fi - - if test -s confdefs.h; then - $as_echo "## ----------- ## -## confdefs.h. ## -## ----------- ##" - echo - cat confdefs.h - echo - fi - test "$ac_signal" != 0 && - $as_echo "$as_me: caught signal $ac_signal" - $as_echo "$as_me: exit $exit_status" - } >&5 - rm -f core *.core core.conftest.* && - rm -f -r conftest* confdefs* conf$$* $ac_clean_files && - exit $exit_status -' 0 -for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal -done -ac_signal=0 - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -f -r conftest* confdefs.h - -$as_echo "/* confdefs.h */" > confdefs.h - -# Predefined preprocessor variables. - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_URL "$PACKAGE_URL" -_ACEOF - - -# Let the site file select an alternate cache file if it wants to. -# Prefer an explicitly selected file to automatically selected ones. -ac_site_file1=NONE -ac_site_file2=NONE -if test -n "$CONFIG_SITE"; then - # We do not want a PATH search for config.site. - case $CONFIG_SITE in #(( - -*) ac_site_file1=./$CONFIG_SITE;; - */*) ac_site_file1=$CONFIG_SITE;; - *) ac_site_file1=./$CONFIG_SITE;; - esac -elif test "x$prefix" != xNONE; then - ac_site_file1=$prefix/share/config.site - ac_site_file2=$prefix/etc/config.site -else - ac_site_file1=$ac_default_prefix/share/config.site - ac_site_file2=$ac_default_prefix/etc/config.site -fi -for ac_site_file in "$ac_site_file1" "$ac_site_file2" -do - test "x$ac_site_file" = xNONE && continue - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 -$as_echo "$as_me: loading site script $ac_site_file" >&6;} - sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" \ - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "failed to load site script $ac_site_file -See \`config.log' for more details" "$LINENO" 5; } - fi -done - -if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special files - # actually), so we avoid doing that. DJGPP emulates it as a regular file. - if test /dev/null != "$cache_file" && test -f "$cache_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -$as_echo "$as_me: loading cache $cache_file" >&6;} - case $cache_file in - [\\/]* | ?:[\\/]* ) . "$cache_file";; - *) . "./$cache_file";; - esac - fi -else - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -$as_echo "$as_me: creating cache $cache_file" >&6;} - >$cache_file -fi - -# Check that the precious variables saved in the cache have kept the same -# value. -ac_cache_corrupted=false -for ac_var in $ac_precious_vars; do - eval ac_old_set=\$ac_cv_env_${ac_var}_set - eval ac_new_set=\$ac_env_${ac_var}_set - eval ac_old_val=\$ac_cv_env_${ac_var}_value - eval ac_new_val=\$ac_env_${ac_var}_value - case $ac_old_set,$ac_new_set in - set,) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,set) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,);; - *) - if test "x$ac_old_val" != "x$ac_new_val"; then - # differences in whitespace do not lead to failure. - ac_old_val_w=`echo x $ac_old_val` - ac_new_val_w=`echo x $ac_new_val` - if test "$ac_old_val_w" != "$ac_new_val_w"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - ac_cache_corrupted=: - else - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} - eval $ac_var=\$ac_old_val - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} - fi;; - esac - # Pass precious variables to config.status. - if test "$ac_new_set" = set; then - case $ac_new_val in - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; - *) ac_arg=$ac_var=$ac_new_val ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) as_fn_append ac_configure_args " '$ac_arg'" ;; - esac - fi -done -if $ac_cache_corrupted; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 -fi -## -------------------- ## -## Main body of script. ## -## -------------------- ## - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - - - - - - - - - - - - -ac_aux_dir= -for ac_dir in aux_config "$srcdir"/aux_config; do - if test -f "$ac_dir/install-sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f "$ac_dir/install.sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - elif test -f "$ac_dir/shtool"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/shtool install -c" - break - fi -done -if test -z "$ac_aux_dir"; then - as_fn_error $? "cannot find install-sh, install.sh, or shtool in aux_config \"$srcdir\"/aux_config" "$LINENO" 5 -fi - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - - - - -# Make sure we can run config.sub. -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 -$as_echo_n "checking build system type... " >&6; } -if ${ac_cv_build+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_build_alias=$build_alias -test "x$ac_build_alias" = x && - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` -test "x$ac_build_alias" = x && - as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 -$as_echo "$ac_cv_build" >&6; } -case $ac_cv_build in -*-*-*) ;; -*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; -esac -build=$ac_cv_build -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_build -shift -build_cpu=$1 -build_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -build_os=$* -IFS=$ac_save_IFS -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 -$as_echo_n "checking host system type... " >&6; } -if ${ac_cv_host+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "x$host_alias" = x; then - ac_cv_host=$ac_cv_build -else - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 -$as_echo "$ac_cv_host" >&6; } -case $ac_cv_host in -*-*-*) ;; -*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; -esac -host=$ac_cv_host -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_host -shift -host_cpu=$1 -host_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -host_os=$* -IFS=$ac_save_IFS -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 -$as_echo_n "checking target system type... " >&6; } -if ${ac_cv_target+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "x$target_alias" = x; then - ac_cv_target=$ac_cv_host -else - ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 -$as_echo "$ac_cv_target" >&6; } -case $ac_cv_target in -*-*-*) ;; -*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; -esac -target=$ac_cv_target -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_target -shift -target_cpu=$1 -target_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -target_os=$* -IFS=$ac_save_IFS -case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac - - -# The aliases save the names the user supplied, while $host etc. -# will get canonicalized. -test -n "$target_alias" && - test "$program_prefix$program_suffix$program_transform_name" = \ - NONENONEs,x,x, && - program_prefix=${target_alias}- - -am__api_version='1.11' - -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AmigaOS /C/install, which installs bootblocks on floppy discs -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# OS/2's system install, which has a completely different semantic -# ./install, which can be erroneously created by make from ./install.sh. -# Reject install programs that cannot install multiple files. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 -$as_echo_n "checking for a BSD-compatible install... " >&6; } -if test -z "$INSTALL"; then -if ${ac_cv_path_install+:} false; then : - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in #(( - ./ | .// | /[cC]/* | \ - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ - /usr/ucb/* ) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then - if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # program-specific install script used by HP pwplus--don't use. - : - else - rm -rf conftest.one conftest.two conftest.dir - echo one > conftest.one - echo two > conftest.two - mkdir conftest.dir - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && - test -s conftest.one && test -s conftest.two && - test -s conftest.dir/conftest.one && - test -s conftest.dir/conftest.two - then - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 - fi - fi - fi - done - done - ;; -esac - - done -IFS=$as_save_IFS - -rm -rf conftest.one conftest.two conftest.dir - -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install - else - # As a last resort, use the slow shell script. Don't cache a - # value for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - INSTALL=$ac_install_sh - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 -$as_echo "$INSTALL" >&6; } - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 -$as_echo_n "checking whether build environment is sane... " >&6; } -# Just in case -sleep 1 -echo timestamp > conftest.file -# Reject unsafe characters in $srcdir or the absolute working directory -# name. Accept space and tab only in the latter. -am_lf=' -' -case `pwd` in - *[\\\"\#\$\&\'\`$am_lf]*) - as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; -esac -case $srcdir in - *[\\\"\#\$\&\'\`$am_lf\ \ ]*) - as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; -esac - -# Do `set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$*" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - rm -f conftest.file - if test "$*" != "X $srcdir/configure conftest.file" \ - && test "$*" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - as_fn_error $? "ls -t appears to fail. Make sure there is not a broken -alias in your environment" "$LINENO" 5 - fi - - test "$2" = conftest.file - ) -then - # Ok. - : -else - as_fn_error $? "newly created file is older than distributed files! -Check your system clock" "$LINENO" 5 -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -test "$program_prefix" != NONE && - program_transform_name="s&^&$program_prefix&;$program_transform_name" -# Use a double $ so make ignores it. -test "$program_suffix" != NONE && - program_transform_name="s&\$&$program_suffix&;$program_transform_name" -# Double any \ or $. -# By default was `s,x,x', remove it if useless. -ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' -program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` - -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` - -if test x"${MISSING+set}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; - *) - MISSING="\${SHELL} $am_aux_dir/missing" ;; - esac -fi -# Use eval to expand $SHELL -if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " -else - am_missing_run= - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 -$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} -fi - -if test x"${install_sh}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; - *) - install_sh="\${SHELL} $am_aux_dir/install-sh" - esac -fi - -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right -# tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. -if test "$cross_compiling" != no; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_STRIP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_STRIP"; then - ac_ct_STRIP=$STRIP - # Extract the first word of "strip", so it can be a program name with args. -set dummy strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_STRIP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_STRIP="strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_STRIP" = x; then - STRIP=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - STRIP=$ac_ct_STRIP - fi -else - STRIP="$ac_cv_prog_STRIP" -fi - -fi -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 -$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } -if test -z "$MKDIR_P"; then - if ${ac_cv_path_mkdir+:} false; then : - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in mkdir gmkdir; do - for ac_exec_ext in '' $ac_executable_extensions; do - as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( - 'mkdir (GNU coreutils) '* | \ - 'mkdir (coreutils) '* | \ - 'mkdir (fileutils) '4.1*) - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext - break 3;; - esac - done - done - done -IFS=$as_save_IFS - -fi - - test -d ./--version && rmdir ./--version - if test "${ac_cv_path_mkdir+set}" = set; then - MKDIR_P="$ac_cv_path_mkdir -p" - else - # As a last resort, use the slow shell script. Don't cache a - # value for MKDIR_P within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - MKDIR_P="$ac_install_sh -d" - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 -$as_echo "$MKDIR_P" >&6; } - -mkdir_p="$MKDIR_P" -case $mkdir_p in - [\\/$]* | ?:[\\/]*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac - -for ac_prog in gawk mawk nawk awk -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AWK+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AWK=$ac_cv_prog_AWK -if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AWK" && break -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } -set x ${MAKE-make} -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat >conftest.make <<\_ACEOF -SHELL = /bin/sh -all: - @echo '@@@%%%=$(MAKE)=@@@%%%' -_ACEOF -# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. -case `${MAKE-make} -f conftest.make 2>/dev/null` in - *@@@%%%=?*=@@@%%%*) - eval ac_cv_prog_make_${ac_make}_set=yes;; - *) - eval ac_cv_prog_make_${ac_make}_set=no;; -esac -rm -f conftest.make -fi -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - SET_MAKE= -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - SET_MAKE="MAKE=${MAKE-make}" -fi - -rm -rf .tst 2>/dev/null -mkdir .tst 2>/dev/null -if test -d .tst; then - am__leading_dot=. -else - am__leading_dot=_ -fi -rmdir .tst 2>/dev/null - -if test "`cd $srcdir && pwd`" != "`pwd`"; then - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output - # is not polluted with repeated "-I." - am__isrc=' -I$(srcdir)' - # test to see if srcdir already configured - if test -f $srcdir/config.status; then - as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 - fi -fi - -# test whether we have cygpath -if test -z "$CYGPATH_W"; then - if (cygpath --version) >/dev/null 2>/dev/null; then - CYGPATH_W='cygpath -w' - else - CYGPATH_W=echo - fi -fi - - -# Define the identity of the package. - PACKAGE='ace' - VERSION='5.8.3' - - -# Some tools Automake needs. - -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} - - -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} - - -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} - - -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} - - -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} - -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. -# Always define AMTAR for backward compatibility. - -AMTAR=${AMTAR-"${am_missing_run}tar"} - -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' - - - - - - - -ACE_CONFIGURE_MAINTAINER='ace-users@list.isis.vanderbilt.edu' - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if ${ac_cv_path_GREP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$GREP"; then - ac_path_GREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_GREP" || continue -# Check for GNU ac_path_GREP and select it if it is found. - # Check for GNU $ac_path_GREP -case `"$ac_path_GREP" --version 2>&1` in -*GNU*) - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'GREP' >> "conftest.nl" - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_GREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_GREP="$ac_path_GREP" - ac_path_GREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_GREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_GREP"; then - as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_GREP=$GREP -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 -$as_echo "$ac_cv_path_GREP" >&6; } - GREP="$ac_cv_path_GREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 -$as_echo_n "checking for egrep... " >&6; } -if ${ac_cv_path_EGREP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 - then ac_cv_path_EGREP="$GREP -E" - else - if test -z "$EGREP"; then - ac_path_EGREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_EGREP" || continue -# Check for GNU ac_path_EGREP and select it if it is found. - # Check for GNU $ac_path_EGREP -case `"$ac_path_EGREP" --version 2>&1` in -*GNU*) - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'EGREP' >> "conftest.nl" - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_EGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_EGREP="$ac_path_EGREP" - ac_path_EGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_EGREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_EGREP"; then - as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_EGREP=$EGREP -fi - - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -$as_echo "$ac_cv_path_EGREP" >&6; } - EGREP="$ac_cv_path_EGREP" - - - - - - if test "$srcdir" = "." && test "$USE_MAINTAINER_MODE" != "yes"; then - as_fn_error $? " - Please configure and build in a directory other than the - top-level source directory. Doing so will prevent files - distributed with the package from being overwritten. This is - currently necessary since autoconf support is still - experimental. If you encounter problems please use the stock - build procedure. - - For example, try the following from the top-level source - directory: - - mkdir objdir - cd objdir - ../configure - make - - This will create a build space in the directory \`objdir' and - start a build in that directory. - " "$LINENO" 5 - fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -ac_config_headers="$ac_config_headers ace/config.h" - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether #! works in shell scripts" >&5 -$as_echo_n "checking whether #! works in shell scripts... " >&6; } -if ${ac_cv_sys_interpreter+:} false; then : - $as_echo_n "(cached) " >&6 -else - echo '#! /bin/cat -exit 69 -' >conftest -chmod u+x conftest -(SHELL=/bin/sh; export SHELL; ./conftest >/dev/null 2>&1) -if test $? -ne 69; then - ac_cv_sys_interpreter=yes -else - ac_cv_sys_interpreter=no -fi -rm -f conftest -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_interpreter" >&5 -$as_echo "$ac_cv_sys_interpreter" >&6; } -interpval=$ac_cv_sys_interpreter - - - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -if test -z "$CXX"; then - if test -n "$CCC"; then - CXX=$CCC - else - if test -n "$ac_tool_prefix"; then - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CXX"; then - ac_cv_prog_CXX="$CXX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CXX=$ac_cv_prog_CXX -if test -n "$CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 -$as_echo "$CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CXX" && break - done -fi -if test -z "$CXX"; then - ac_ct_CXX=$CXX - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CXX"; then - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_CXX="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX -if test -n "$ac_ct_CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 -$as_echo "$ac_ct_CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CXX" && break -done - - if test "x$ac_ct_CXX" = x; then - CXX="g++" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CXX=$ac_ct_CXX - fi -fi - - fi -fi -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - sed '10a\ -... rest of stderr output deleted ... - 10q' conftest.err >conftest.er1 - cat conftest.er1 >&5 - fi - rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -done - -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" -# Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compilers, and finding out an intuition -# of exeext. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 -$as_echo_n "checking whether the C++ compiler works... " >&6; } -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` - -# The possible output files: -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" - -ac_rmfiles= -for ac_file in $ac_files -do - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - * ) ac_rmfiles="$ac_rmfiles $ac_file";; - esac -done -rm -f $ac_rmfiles - -if { { ac_try="$ac_link_default" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link_default") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -# in a Makefile. We should not override ac_cv_exeext if it was cached, -# so that the user can short-circuit this test for compilers unknown to -# Autoconf. -for ac_file in $ac_files '' -do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) - ;; - [ab].out ) - # We found the default executable, but exeext='' is most - # certainly right. - break;; - *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; - then :; else - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - fi - # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an `-o' - # argument, so we may need to know it at that point already. - # Even if this section looks crufty: it has the advantage of - # actually working. - break;; - * ) - break;; - esac -done -test "$ac_cv_exeext" = no && ac_cv_exeext= - -else - ac_file='' -fi -if test -z "$ac_file"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "C++ compiler cannot create executables -See \`config.log' for more details" "$LINENO" 5; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 -$as_echo_n "checking for C++ compiler default output file name... " >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } -ac_exeext=$ac_cv_exeext - -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 -$as_echo_n "checking for suffix of executables... " >&6; } -if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - # If both `conftest.exe' and `conftest' are `present' (well, observable) -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -# work properly (i.e., refer to `conftest.exe'), while it won't with -# `rm'. -for ac_file in conftest.exe conftest conftest.*; do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - break;; - * ) break;; - esac -done -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details" "$LINENO" 5; } -fi -rm -f conftest conftest$ac_cv_exeext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -$as_echo "$ac_cv_exeext" >&6; } - -rm -f conftest.$ac_ext -EXEEXT=$ac_cv_exeext -ac_exeext=$EXEEXT -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -FILE *f = fopen ("conftest.out", "w"); - return ferror (f) || fclose (f) != 0; - - ; - return 0; -} -_ACEOF -ac_clean_files="$ac_clean_files conftest.out" -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 -$as_echo_n "checking whether we are cross compiling... " >&6; } -if test "$cross_compiling" != yes; then - { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - if { ac_try='./conftest$ac_cv_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then - cross_compiling=no - else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run C++ compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details" "$LINENO" 5; } - fi - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -$as_echo "$cross_compiling" >&6; } - -rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 -$as_echo_n "checking for suffix of object files... " >&6; } -if ${ac_cv_objext+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.o conftest.obj -if { { ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compile") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - for ac_file in conftest.o conftest.obj conftest.*; do - test -f "$ac_file" || continue; - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` - break;; - esac -done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot compute suffix of object files: cannot compile -See \`config.log' for more details" "$LINENO" 5; } -fi -rm -f conftest.$ac_cv_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -$as_echo "$ac_cv_objext" >&6; } -OBJEXT=$ac_cv_objext -ac_objext=$OBJEXT -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 -$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } -if ${ac_cv_cxx_compiler_gnu+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - ac_compiler_gnu=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 -$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GXX=yes -else - GXX= -fi -ac_test_CXXFLAGS=${CXXFLAGS+set} -ac_save_CXXFLAGS=$CXXFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 -$as_echo_n "checking whether $CXX accepts -g... " >&6; } -if ${ac_cv_prog_cxx_g+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_save_cxx_werror_flag=$ac_cxx_werror_flag - ac_cxx_werror_flag=yes - ac_cv_prog_cxx_g=no - CXXFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes -else - CXXFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - -else - ac_cxx_werror_flag=$ac_save_cxx_werror_flag - CXXFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_cxx_werror_flag=$ac_save_cxx_werror_flag -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 -$as_echo "$ac_cv_prog_cxx_g" >&6; } -if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS=$ac_save_CXXFLAGS -elif test $ac_cv_prog_cxx_g = yes; then - if test "$GXX" = yes; then - CXXFLAGS="-g -O2" - else - CXXFLAGS="-g" - fi -else - if test "$GXX" = yes; then - CXXFLAGS="-O2" - else - CXXFLAGS= - fi -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -DEPDIR="${am__leading_dot}deps" - -ac_config_commands="$ac_config_commands depfiles" - - -am_make=${MAKE-make} -cat > confinc << 'END' -am__doit: - @echo this is the am__doit target -.PHONY: am__doit -END -# If we don't find an include directive, just comment out the code. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 -$as_echo_n "checking for style of include used by $am_make... " >&6; } -am__include="#" -am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# Ignore all kinds of additional output from `make'. -case `$am_make -s -f confmf 2> /dev/null` in #( -*the\ am__doit\ target*) - am__include=include - am__quote= - _am_result=GNU - ;; -esac -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - case `$am_make -s -f confmf 2> /dev/null` in #( - *the\ am__doit\ target*) - am__include=.include - am__quote="\"" - _am_result=BSD - ;; - esac -fi - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 -$as_echo "$_am_result" >&6; } -rm -f confinc confmf - -# Check whether --enable-dependency-tracking was given. -if test "${enable_dependency_tracking+set}" = set; then : - enableval=$enable_dependency_tracking; -fi - -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' -fi - if test "x$enable_dependency_tracking" != xno; then - AMDEP_TRUE= - AMDEP_FALSE='#' -else - AMDEP_TRUE='#' - AMDEP_FALSE= -fi - - - -depcc="$CXX" am_compiler_list= - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if ${am_cv_CXX_dependencies_compiler_type+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CXX_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi - am__universal=false - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CXX_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CXX_dependencies_compiler_type=none -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type - - if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then - am__fastdepCXX_TRUE= - am__fastdepCXX_FALSE='#' -else - am__fastdepCXX_TRUE='#' - am__fastdepCXX_FALSE= -fi - - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 -$as_echo_n "checking how to run the C++ preprocessor... " >&6; } -if test -z "$CXXCPP"; then - if ${ac_cv_prog_CXXCPP+:} false; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CXXCPP needs to be expanded - for CXXCPP in "$CXX -E" "/lib/cpp" - do - ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.i conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.i conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - - done - ac_cv_prog_CXXCPP=$CXXCPP - -fi - CXXCPP=$ac_cv_prog_CXXCPP -else - ac_cv_prog_CXXCPP=$CXXCPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 -$as_echo "$CXXCPP" >&6; } -ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.i conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.i conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check -See \`config.log' for more details" "$LINENO" 5; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - if test X$cross_compiling = Xyes; then - ACE_CROSS_COMPILED_TRUE= - ACE_CROSS_COMPILED_FALSE='#' -else - ACE_CROSS_COMPILED_TRUE='#' - ACE_CROSS_COMPILED_FALSE= -fi - - - if test X$cross_compiling = Xyes; then - BUILD_CROSS_COMPILE_TRUE= - BUILD_CROSS_COMPILE_FALSE='#' -else - BUILD_CROSS_COMPILE_TRUE='#' - BUILD_CROSS_COMPILE_FALSE= -fi - - -for ac_prog in gawk mawk nawk awk -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AWK+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AWK=$ac_cv_prog_AWK -if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AWK" && break -done - - -ace_version_temp=5.8.3 -ace_save_ifs="$IFS"; IFS='.' -set dummy $ace_version_temp 0 0 0 -IFS="$ace_save_ifs" - -ACE_MAJOR=$2 -ACE_MINOR=$3 -ACE_BETA=$4 -ACE_VERSION_NAME=5.8.3 - - - - - - - - - - -case $host_os in - *cygwin* ) CYGWIN=yes;; - * ) CYGWIN=no;; -esac - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 -$as_echo_n "checking whether ln -s works... " >&6; } -LN_S=$as_ln_s -if test "$LN_S" = "ln -s"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 -$as_echo "no, using $LN_S" >&6; } -fi - - - -for ac_prog in flex lex -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_LEX+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$LEX"; then - ac_cv_prog_LEX="$LEX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_LEX="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -LEX=$ac_cv_prog_LEX -if test -n "$LEX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 -$as_echo "$LEX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$LEX" && break -done -test -n "$LEX" || LEX=":" - -if test "x$LEX" != "x:"; then - cat >conftest.l <<_ACEOF -%% -a { ECHO; } -b { REJECT; } -c { yymore (); } -d { yyless (1); } -e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ - yyless ((input () != 0)); } -f { unput (yytext[0]); } -. { BEGIN INITIAL; } -%% -#ifdef YYTEXT_POINTER -extern char *yytext; -#endif -int -main (void) -{ - return ! yylex () + ! yywrap (); -} -_ACEOF -{ { ac_try="$LEX conftest.l" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$LEX conftest.l") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 -$as_echo_n "checking lex output file root... " >&6; } -if ${ac_cv_prog_lex_root+:} false; then : - $as_echo_n "(cached) " >&6 -else - -if test -f lex.yy.c; then - ac_cv_prog_lex_root=lex.yy -elif test -f lexyy.c; then - ac_cv_prog_lex_root=lexyy -else - as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 -$as_echo "$ac_cv_prog_lex_root" >&6; } -LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root - -if test -z "${LEXLIB+set}"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 -$as_echo_n "checking lex library... " >&6; } -if ${ac_cv_lib_lex+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ac_save_LIBS=$LIBS - ac_cv_lib_lex='none needed' - for ac_lib in '' -lfl -ll; do - LIBS="$ac_lib $ac_save_LIBS" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -`cat $LEX_OUTPUT_ROOT.c` -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_lib_lex=$ac_lib -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - test "$ac_cv_lib_lex" != 'none needed' && break - done - LIBS=$ac_save_LIBS - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 -$as_echo "$ac_cv_lib_lex" >&6; } - test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex -fi - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 -$as_echo_n "checking whether yytext is a pointer... " >&6; } -if ${ac_cv_prog_lex_yytext_pointer+:} false; then : - $as_echo_n "(cached) " >&6 -else - # POSIX says lex can declare yytext either as a pointer or an array; the -# default is implementation-dependent. Figure out which it is, since -# not all implementations provide the %pointer and %array declarations. -ac_cv_prog_lex_yytext_pointer=no -ac_save_LIBS=$LIBS -LIBS="$LEXLIB $ac_save_LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #define YYTEXT_POINTER 1 -`cat $LEX_OUTPUT_ROOT.c` -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_prog_lex_yytext_pointer=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_save_LIBS - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 -$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } -if test $ac_cv_prog_lex_yytext_pointer = yes; then - -$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h - -fi -rm -f conftest.l $LEX_OUTPUT_ROOT.c - -fi -if test "$LEX" = :; then - LEX=${am_missing_run}flex -fi - -for ac_prog in 'bison -y' byacc -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_YACC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$YACC"; then - ac_cv_prog_YACC="$YACC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_YACC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -YACC=$ac_cv_prog_YACC -if test -n "$YACC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 -$as_echo "$YACC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$YACC" && break -done -test -n "$YACC" || YACC="yacc" - - -# Extract the first word of "gperf", so it can be a program name with args. -set dummy gperf; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_GPERF+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$GPERF"; then - ac_cv_prog_GPERF="$GPERF" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_GPERF="gperf" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -GPERF=$ac_cv_prog_GPERF -if test -n "$GPERF"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5 -$as_echo "$GPERF" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - -for ac_prog in gprof prof -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_PROF+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$PROF"; then - ac_cv_prog_PROF="$PROF" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_PROF="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -PROF=$ac_cv_prog_PROF -if test -n "$PROF"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROF" >&5 -$as_echo "$PROF" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$PROF" && break -done - - -ACE_CXXFLAGS="" -ACE_CFLAGS="" - - - - - - - -# Check whether --enable-lib-all was given. -if test "${enable_lib_all+set}" = set; then : - enableval=$enable_lib_all; - case "${enableval}" in - yes) - ace_user_enable_lib_all=yes - ;; - no) - ace_user_enable_lib_all=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-lib-all" "$LINENO" 5 - ;; - esac - -else - - ace_user_enable_lib_all=no - -fi - - -# Check whether --enable-lib-full was given. -if test "${enable_lib_full+set}" = set; then : - enableval=$enable_lib_full; - case "${enableval}" in - yes) - ace_user_enable_lib_full=yes - ;; - no) - ace_user_enable_lib_full=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-lib-full" "$LINENO" 5 - ;; - esac - -else - - ace_user_enable_lib_full=yes - -fi - - -# Check whether --enable-lib-os was given. -if test "${enable_lib_os+set}" = set; then : - enableval=$enable_lib_os; - case "${enableval}" in - yes) - - ace_user_enable_lib_os=yes - - ;; - no) - ace_user_enable_lib_os=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-lib-os" "$LINENO" 5 - ;; - esac - - ace_user_enable_lib_full=no - -fi - - -# Check whether --enable-lib-codecs was given. -if test "${enable_lib_codecs+set}" = set; then : - enableval=$enable_lib_codecs; - case "${enableval}" in - yes) - - ace_user_enable_lib_codecs=yes - - - ace_user_enable_lib_os=yes - - - ;; - no) - ace_user_enable_lib_codecs=no - $as_echo "#define ACE_LACKS_ACE_CODECS 1" >>confdefs.h - - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-lib-codecs" "$LINENO" 5 - ;; - esac - - ace_user_enable_lib_full=no - -fi - - -# Check whether --enable-lib-connection was given. -if test "${enable_lib_connection+set}" = set; then : - enableval=$enable_lib_connection; - case "${enableval}" in - yes) - - ace_user_enable_lib_connection=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - - ace_user_enable_lib_demux=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - - - ;; - no) - ace_user_enable_lib_connection=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-lib-connection" "$LINENO" 5 - ;; - esac - - ace_user_enable_lib_full=no - -fi - - -# Check whether --enable-lib-demux was given. -if test "${enable_lib_demux+set}" = set; then : - enableval=$enable_lib_demux; - case "${enableval}" in - yes) - - ace_user_enable_lib_demux=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - - ;; - no) - ace_user_enable_lib_demux=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-lib-demux" "$LINENO" 5 - ;; - esac - - ace_user_enable_lib_full=no - -fi - - -# Check whether --enable-lib-filecache was given. -if test "${enable_lib_filecache+set}" = set; then : - enableval=$enable_lib_filecache; - case "${enableval}" in - yes) - - ace_user_enable_lib_filecache=yes - - - ace_user_enable_lib_os=yes - - - ;; - no) - ace_user_enable_lib_filecache=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-lib-filecache" "$LINENO" 5 - ;; - esac - - ace_user_enable_lib_full=no - -fi - - -# Check whether --enable-lib-ipc was given. -if test "${enable_lib_ipc+set}" = set; then : - enableval=$enable_lib_ipc; - case "${enableval}" in - yes) - - ace_user_enable_lib_ipc=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_sockets=yes - - - ace_user_enable_lib_os=yes - - - - ;; - no) - ace_user_enable_lib_ipc=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-lib-ipc" "$LINENO" 5 - ;; - esac - - ace_user_enable_lib_full=no - -fi - - -# Check whether --enable-lib-logging was given. -if test "${enable_lib_logging+set}" = set; then : - enableval=$enable_lib_logging; - case "${enableval}" in - yes) - - ace_user_enable_lib_logging=yes - - - ace_user_enable_lib_os=yes - - - ;; - no) - ace_user_enable_lib_logging=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-lib-logging" "$LINENO" 5 - ;; - esac - - ace_user_enable_lib_full=no - -fi - - -# Check whether --enable-lib-memory was given. -if test "${enable_lib_memory+set}" = set; then : - enableval=$enable_lib_memory; - case "${enableval}" in - yes) - - ace_user_enable_lib_memory=yes - - - ace_user_enable_lib_os=yes - - - ;; - no) - ace_user_enable_lib_memory=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-lib-memory" "$LINENO" 5 - ;; - esac - - ace_user_enable_lib_full=no - -fi - - -# Check whether --enable-lib-metrics was given. -if test "${enable_lib_metrics+set}" = set; then : - enableval=$enable_lib_metrics; - case "${enableval}" in - yes) - - ace_user_enable_lib_metrics=yes - - - ace_user_enable_lib_os=yes - - - ;; - no) - ace_user_enable_lib_metrics=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-lib-metrics" "$LINENO" 5 - ;; - esac - - ace_user_enable_lib_full=no - -fi - - -# Check whether --enable-lib-sockets was given. -if test "${enable_lib_sockets+set}" = set; then : - enableval=$enable_lib_sockets; - case "${enableval}" in - yes) - - ace_user_enable_lib_sockets=yes - - - ace_user_enable_lib_os=yes - - - ;; - no) - ace_user_enable_lib_sockets=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-lib-sockets" "$LINENO" 5 - ;; - esac - - ace_user_enable_lib_full=no - -fi - - -# Check whether --enable-lib-streams was given. -if test "${enable_lib_streams+set}" = set; then : - enableval=$enable_lib_streams; - case "${enableval}" in - yes) - - ace_user_enable_lib_streams=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - - ace_user_enable_lib_demux=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - - - ;; - no) - ace_user_enable_lib_streams=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-lib-streams" "$LINENO" 5 - ;; - esac - - ace_user_enable_lib_full=no - -fi - - -# Check whether --enable-lib-svcconf was given. -if test "${enable_lib_svcconf+set}" = set; then : - enableval=$enable_lib_svcconf; - case "${enableval}" in - yes) - - ace_user_enable_lib_svcconf=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - - ace_user_enable_lib_demux=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - - - ace_user_enable_lib_sockets=yes - - - ace_user_enable_lib_os=yes - - - - ;; - no) - ace_user_enable_lib_svcconf=no - $as_echo "#define ACE_LACKS_ACE_SVCCONF 1" >>confdefs.h - - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-lib-svcconf" "$LINENO" 5 - ;; - esac - - ace_user_enable_lib_full=no - -fi - - -# Check whether --enable-lib-threads was given. -if test "${enable_lib_threads+set}" = set; then : - enableval=$enable_lib_threads; - case "${enableval}" in - yes) - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - ;; - no) - ace_user_enable_lib_threads=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-lib-threads" "$LINENO" 5 - ;; - esac - - ace_user_enable_lib_full=no - -fi - - -# Check whether --enable-lib-timer was given. -if test "${enable_lib_timer+set}" = set; then : - enableval=$enable_lib_timer; - case "${enableval}" in - yes) - - ace_user_enable_lib_timer=yes - - - ace_user_enable_lib_os=yes - - - ;; - no) - ace_user_enable_lib_timer=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-lib-timer" "$LINENO" 5 - ;; - esac - - ace_user_enable_lib_full=no - -fi - - -# Check whether --enable-lib-token was given. -if test "${enable_lib_token+set}" = set; then : - enableval=$enable_lib_token; - case "${enableval}" in - yes) - - ace_user_enable_lib_token=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_utils=yes - - - ace_user_enable_lib_os=yes - - - - ace_user_enable_lib_logging=yes - - - ace_user_enable_lib_os=yes - - - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - - ace_user_enable_lib_demux=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - - - ace_user_enable_lib_connection=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - - ace_user_enable_lib_demux=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - - - - ace_user_enable_lib_sockets=yes - - - ace_user_enable_lib_os=yes - - - - ace_user_enable_lib_ipc=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_sockets=yes - - - ace_user_enable_lib_os=yes - - - - - ace_user_enable_lib_svcconf=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - - ace_user_enable_lib_demux=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - - - ace_user_enable_lib_sockets=yes - - - ace_user_enable_lib_os=yes - - - - - ace_user_enable_lib_streams=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - - ace_user_enable_lib_demux=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - - - - ace_user_enable_lib_memory=yes - - - ace_user_enable_lib_os=yes - - - - ;; - no) - ace_user_enable_lib_token=no - $as_echo "#define ACE_LACKS_ACE_TOKEN 1" >>confdefs.h - - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-lib-token" "$LINENO" 5 - ;; - esac - - ace_user_enable_lib_full=no - -fi - - -# Check whether --enable-lib-utils was given. -if test "${enable_lib_utils+set}" = set; then : - enableval=$enable_lib_utils; - case "${enableval}" in - yes) - - ace_user_enable_lib_utils=yes - - - ace_user_enable_lib_os=yes - - - ;; - no) - ace_user_enable_lib_utils=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-lib-utils" "$LINENO" 5 - ;; - esac - - ace_user_enable_lib_full=no - -fi - - -# Check whether --enable-lib-uuid was given. -if test "${enable_lib_uuid+set}" = set; then : - enableval=$enable_lib_uuid; - case "${enableval}" in - yes) - - ace_user_enable_lib_uuid=yes - - - ace_user_enable_lib_os=yes - - - ;; - no) - ace_user_enable_lib_uuid=no - $as_echo "#define ACE_LACKS_ACE_UUID 1" >>confdefs.h - - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-lib-uuid" "$LINENO" 5 - ;; - esac - - ace_user_enable_lib_full=no - -fi - - -# Check whether --enable-lib-other was given. -if test "${enable_lib_other+set}" = set; then : - enableval=$enable_lib_other; - case "${enableval}" in - yes) - - ace_user_enable_lib_other=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_utils=yes - - - ace_user_enable_lib_os=yes - - - - ace_user_enable_lib_logging=yes - - - ace_user_enable_lib_os=yes - - - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - - ace_user_enable_lib_demux=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - - - ace_user_enable_lib_connection=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - - ace_user_enable_lib_demux=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - - - - ace_user_enable_lib_sockets=yes - - - ace_user_enable_lib_os=yes - - - - ace_user_enable_lib_ipc=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_sockets=yes - - - ace_user_enable_lib_os=yes - - - - - ace_user_enable_lib_svcconf=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - - ace_user_enable_lib_demux=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - - - ace_user_enable_lib_sockets=yes - - - ace_user_enable_lib_os=yes - - - - - ace_user_enable_lib_streams=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - - ace_user_enable_lib_demux=yes - - - ace_user_enable_lib_os=yes - - - ace_user_enable_lib_threads=yes - - - ace_user_enable_lib_os=yes - - - - - - ace_user_enable_lib_memory=yes - - - ace_user_enable_lib_os=yes - - - - ;; - no) - ace_user_enable_lib_other=no - $as_echo "#define ACE_LACKS_ACE_OTHER 1" >>confdefs.h - - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-lib-other" "$LINENO" 5 - ;; - esac - - ace_user_enable_lib_full=no - -fi - - - -if test $ace_user_enable_lib_all = yes; then - - - ace_user_enable_lib_os=yes - ace_user_enable_lib_codecs=yes - ace_user_enable_lib_connection=yes - ace_user_enable_lib_demux=yes - ace_user_enable_lib_filecache=yes - ace_user_enable_lib_ipc=yes - ace_user_enable_lib_logging=yes - ace_user_enable_lib_memory=yes - ace_user_enable_lib_metrics=yes - ace_user_enable_lib_sockets=yes - ace_user_enable_lib_streams=yes - ace_user_enable_lib_svcconf=yes - ace_user_enable_lib_threads=yes - ace_user_enable_lib_timer=yes - ace_user_enable_lib_token=yes - ace_user_enable_lib_utils=yes - ace_user_enable_lib_uuid=yes - ace_user_enable_lib_other=yes - - -elif test $ace_user_enable_lib_all = no; then - - - ace_user_enable_lib_os=no - ace_user_enable_lib_codecs=no - ace_user_enable_lib_connection=no - ace_user_enable_lib_demux=no - ace_user_enable_lib_filecache=no - ace_user_enable_lib_ipc=no - ace_user_enable_lib_logging=no - ace_user_enable_lib_memory=no - ace_user_enable_lib_metrics=no - ace_user_enable_lib_sockets=no - ace_user_enable_lib_streams=no - ace_user_enable_lib_svcconf=no - ace_user_enable_lib_threads=no - ace_user_enable_lib_timer=no - ace_user_enable_lib_token=no - ace_user_enable_lib_utils=no - ace_user_enable_lib_uuid=no - ace_user_enable_lib_other=no - - -fi - -if test $ace_user_enable_lib_full = no && - test $ace_user_enable_lib_os = no && - test $ace_user_enable_lib_codecs = no && - test $ace_user_enable_lib_connection = no && - test $ace_user_enable_lib_demux = no && - test $ace_user_enable_lib_filecache = no && - test $ace_user_enable_lib_ipc = no && - test $ace_user_enable_lib_logging = no && - test $ace_user_enable_lib_memory = no && - test $ace_user_enable_lib_metrics = no && - test $ace_user_enable_lib_threads = no && - test $ace_user_enable_lib_sockets = no && - test $ace_user_enable_lib_svcconf = no && - test $ace_user_enable_lib_streams = no && - test $ace_user_enable_lib_timer = no && - test $ace_user_enable_lib_token = no && - test $ace_user_enable_lib_utils = no && - test $ace_user_enable_lib_uuid = no && - test $ace_user_enable_lib_other = no; then - - as_fn_error $? "No ACE components will be built. Specify which components to build." "$LINENO" 5 - -fi - if test X$ace_user_enable_lib_os = Xyes; then - BUILD_OS_FILES_TRUE= - BUILD_OS_FILES_FALSE='#' -else - BUILD_OS_FILES_TRUE='#' - BUILD_OS_FILES_FALSE= -fi - - - if test X$ace_user_enable_lib_codecs = Xyes; then - BUILD_CODECS_FILES_TRUE= - BUILD_CODECS_FILES_FALSE='#' -else - BUILD_CODECS_FILES_TRUE='#' - BUILD_CODECS_FILES_FALSE= -fi - - - if test X$ace_user_enable_lib_connection = Xyes; then - BUILD_CONNECTION_FILES_TRUE= - BUILD_CONNECTION_FILES_FALSE='#' -else - BUILD_CONNECTION_FILES_TRUE='#' - BUILD_CONNECTION_FILES_FALSE= -fi - - - if test X$ace_user_enable_lib_demux = Xyes; then - BUILD_DEMUX_FILES_TRUE= - BUILD_DEMUX_FILES_FALSE='#' -else - BUILD_DEMUX_FILES_TRUE='#' - BUILD_DEMUX_FILES_FALSE= -fi - - - if test X$ace_user_enable_lib_filecache = Xyes; then - BUILD_FILECACHE_FILES_TRUE= - BUILD_FILECACHE_FILES_FALSE='#' -else - BUILD_FILECACHE_FILES_TRUE='#' - BUILD_FILECACHE_FILES_FALSE= -fi - - - if test X$ace_user_enable_lib_ipc = Xyes; then - BUILD_IPC_FILES_TRUE= - BUILD_IPC_FILES_FALSE='#' -else - BUILD_IPC_FILES_TRUE='#' - BUILD_IPC_FILES_FALSE= -fi - - - if test X$ace_user_enable_lib_logging = Xyes; then - BUILD_LOGGING_FILES_TRUE= - BUILD_LOGGING_FILES_FALSE='#' -else - BUILD_LOGGING_FILES_TRUE='#' - BUILD_LOGGING_FILES_FALSE= -fi - - - if test X$ace_user_enable_lib_memory = Xyes; then - BUILD_MEMORY_FILES_TRUE= - BUILD_MEMORY_FILES_FALSE='#' -else - BUILD_MEMORY_FILES_TRUE='#' - BUILD_MEMORY_FILES_FALSE= -fi - - - if test X$ace_user_enable_lib_metrics = Xyes; then - BUILD_METRICS_FILES_TRUE= - BUILD_METRICS_FILES_FALSE='#' -else - BUILD_METRICS_FILES_TRUE='#' - BUILD_METRICS_FILES_FALSE= -fi - - - if test X$ace_user_enable_lib_sockets = Xyes; then - BUILD_SOCKETS_FILES_TRUE= - BUILD_SOCKETS_FILES_FALSE='#' -else - BUILD_SOCKETS_FILES_TRUE='#' - BUILD_SOCKETS_FILES_FALSE= -fi - - - if test X$ace_user_enable_lib_streams = Xyes; then - BUILD_STREAMS_FILES_TRUE= - BUILD_STREAMS_FILES_FALSE='#' -else - BUILD_STREAMS_FILES_TRUE='#' - BUILD_STREAMS_FILES_FALSE= -fi - - - if test X$ace_user_enable_lib_svcconf = Xyes; then - BUILD_SVCCONF_FILES_TRUE= - BUILD_SVCCONF_FILES_FALSE='#' -else - BUILD_SVCCONF_FILES_TRUE='#' - BUILD_SVCCONF_FILES_FALSE= -fi - - - if test X$ace_user_enable_lib_threads = Xyes; then - BUILD_THREADS_FILES_TRUE= - BUILD_THREADS_FILES_FALSE='#' -else - BUILD_THREADS_FILES_TRUE='#' - BUILD_THREADS_FILES_FALSE= -fi - - - if test X$ace_user_enable_lib_timer = Xyes; then - BUILD_TIMER_FILES_TRUE= - BUILD_TIMER_FILES_FALSE='#' -else - BUILD_TIMER_FILES_TRUE='#' - BUILD_TIMER_FILES_FALSE= -fi - - - if test X$ace_user_enable_lib_token = Xyes; then - BUILD_TOKEN_FILES_TRUE= - BUILD_TOKEN_FILES_FALSE='#' -else - BUILD_TOKEN_FILES_TRUE='#' - BUILD_TOKEN_FILES_FALSE= -fi - - - if test X$ace_user_enable_lib_utils = Xyes; then - BUILD_UTILS_FILES_TRUE= - BUILD_UTILS_FILES_FALSE='#' -else - BUILD_UTILS_FILES_TRUE='#' - BUILD_UTILS_FILES_FALSE= -fi - - - if test X$ace_user_enable_lib_uuid = Xyes; then - BUILD_UUID_FILES_TRUE= - BUILD_UUID_FILES_FALSE='#' -else - BUILD_UUID_FILES_TRUE='#' - BUILD_UUID_FILES_FALSE= -fi - - - if test X$ace_user_enable_lib_other = Xyes; then - BUILD_OTHER_FILES_TRUE= - BUILD_OTHER_FILES_FALSE='#' -else - BUILD_OTHER_FILES_TRUE='#' - BUILD_OTHER_FILES_FALSE= -fi - - - if test X$ace_user_enable_lib_full = Xyes; then - BUILD_FULL_LIBRARY_TRUE= - BUILD_FULL_LIBRARY_FALSE='#' -else - BUILD_FULL_LIBRARY_TRUE='#' - BUILD_FULL_LIBRARY_FALSE= -fi - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 -$as_echo_n "checking for library containing socket... " >&6; } -if ${ac_cv_search_socket+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 socket (); -int -main () -{ -return socket (); - ; - return 0; -} -_ACEOF -for ac_lib in '' socket; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib -lnsl $ac_func_search_save_LIBS" - fi - if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_search_socket=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_socket+:} false; then : - break -fi -done -if ${ac_cv_search_socket+:} false; then : - -else - ac_cv_search_socket=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 -$as_echo "$ac_cv_search_socket" >&6; } -ac_res=$ac_cv_search_socket -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 -$as_echo_n "checking for library containing gethostbyname... " >&6; } -if ${ac_cv_search_gethostbyname+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 gethostbyname (); -int -main () -{ -return gethostbyname (); - ; - return 0; -} -_ACEOF -for ac_lib in '' nsl; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_search_gethostbyname=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_gethostbyname+:} false; then : - break -fi -done -if ${ac_cv_search_gethostbyname+:} false; then : - -else - ac_cv_search_gethostbyname=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 -$as_echo "$ac_cv_search_gethostbyname" >&6; } -ac_res=$ac_cv_search_gethostbyname -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - - - - - - - -# Check whether --with-fltkconfig was given. -if test "${with_fltkconfig+set}" = set; then : - withval=$with_fltkconfig; ac_fltkconfig_dir="${withval}" -fi - - if test X"${ac_fltkconfig_dir}" = X; then - # Extract the first word of "fltk-config", so it can be a program name with args. -set dummy fltk-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_FLTKCONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $FLTKCONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_FLTKCONFIG="$FLTKCONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_FLTKCONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -FLTKCONFIG=$ac_cv_path_FLTKCONFIG -if test -n "$FLTKCONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLTKCONFIG" >&5 -$as_echo "$FLTKCONFIG" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fltk-config exists in ${ac_fltkconfig_dir}" >&5 -$as_echo_n "checking whether fltk-config exists in ${ac_fltkconfig_dir}... " >&6; } - if test -f "${ac_fltkconfig_dir}/fltk-config"; then - FLTKCONFIG="${ac_fltkconfig_dir}/fltk-config" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - fi - fi - if test X"${FLTKCONFIG}" != X; then - ACE_FLTK_CPPFLAGS=`$FLTKCONFIG --cxxflags 2>/dev/null` - ACE_FLTK_LIBS=`$FLTKCONFIG --ldflags 2>/dev/null` - - - - fi - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 -$as_echo_n "checking for X... " >&6; } - - -# Check whether --with-x was given. -if test "${with_x+set}" = set; then : - withval=$with_x; -fi - -# $have_x is `yes', `no', `disabled', or empty when we do not yet know. -if test "x$with_x" = xno; then - # The user explicitly disabled X. - have_x=disabled -else - case $x_includes,$x_libraries in #( - *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( - *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : - $as_echo_n "(cached) " >&6 -else - # One or both of the vars are not set, and there is no cached value. -ac_x_includes=no ac_x_libraries=no -rm -f -r conftest.dir -if mkdir conftest.dir; then - cd conftest.dir - cat >Imakefile <<'_ACEOF' -incroot: - @echo incroot='${INCROOT}' -usrlibdir: - @echo usrlibdir='${USRLIBDIR}' -libdir: - @echo libdir='${LIBDIR}' -_ACEOF - if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then - # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. - for ac_var in incroot usrlibdir libdir; do - eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" - done - # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. - for ac_extension in a so sl dylib la dll; do - if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && - test -f "$ac_im_libdir/libX11.$ac_extension"; then - ac_im_usrlibdir=$ac_im_libdir; break - fi - done - # Screen out bogus values from the imake configuration. They are - # bogus both because they are the default anyway, and because - # using them would break gcc on systems where it needs fixed includes. - case $ac_im_incroot in - /usr/include) ac_x_includes= ;; - *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; - esac - case $ac_im_usrlibdir in - /usr/lib | /usr/lib64 | /lib | /lib64) ;; - *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; - esac - fi - cd .. - rm -f -r conftest.dir -fi - -# Standard set of common directories for X headers. -# Check X11 before X11Rn because it is often a symlink to the current release. -ac_x_header_dirs=' -/usr/X11/include -/usr/X11R7/include -/usr/X11R6/include -/usr/X11R5/include -/usr/X11R4/include - -/usr/include/X11 -/usr/include/X11R7 -/usr/include/X11R6 -/usr/include/X11R5 -/usr/include/X11R4 - -/usr/local/X11/include -/usr/local/X11R7/include -/usr/local/X11R6/include -/usr/local/X11R5/include -/usr/local/X11R4/include - -/usr/local/include/X11 -/usr/local/include/X11R7 -/usr/local/include/X11R6 -/usr/local/include/X11R5 -/usr/local/include/X11R4 - -/usr/X386/include -/usr/x386/include -/usr/XFree86/include/X11 - -/usr/include -/usr/local/include -/usr/unsupported/include -/usr/athena/include -/usr/local/x11r5/include -/usr/lpp/Xamples/include - -/usr/openwin/include -/usr/openwin/share/include' - -if test "$ac_x_includes" = no; then - # Guess where to find include files, by looking for Xlib.h. - # First, try using that file with no special directory specified. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - # We can compile using X headers with no special include directory. -ac_x_includes= -else - for ac_dir in $ac_x_header_dirs; do - if test -r "$ac_dir/X11/Xlib.h"; then - ac_x_includes=$ac_dir - break - fi -done -fi -rm -f conftest.err conftest.i conftest.$ac_ext -fi # $ac_x_includes = no - -if test "$ac_x_libraries" = no; then - # Check for the libraries. - # See if we find them without any special options. - # Don't add to $LIBS permanently. - ac_save_LIBS=$LIBS - LIBS="-lX11 $LIBS" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -XrmInitialize () - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - LIBS=$ac_save_LIBS -# We can link X programs with no special library path. -ac_x_libraries= -else - LIBS=$ac_save_LIBS -for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` -do - # Don't even attempt the hair of trying to link an X program! - for ac_extension in a so sl dylib la dll; do - if test -r "$ac_dir/libX11.$ac_extension"; then - ac_x_libraries=$ac_dir - break 2 - fi - done -done -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi # $ac_x_libraries = no - -case $ac_x_includes,$ac_x_libraries in #( - no,* | *,no | *\'*) - # Didn't find X, or a directory has "'" in its name. - ac_cv_have_x="have_x=no";; #( - *) - # Record where we found X for the cache. - ac_cv_have_x="have_x=yes\ - ac_x_includes='$ac_x_includes'\ - ac_x_libraries='$ac_x_libraries'" -esac -fi -;; #( - *) have_x=yes;; - esac - eval "$ac_cv_have_x" -fi # $with_x != no - -if test "$have_x" != yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 -$as_echo "$have_x" >&6; } - no_x=yes -else - # If each of the values was on the command line, it overrides each guess. - test "x$x_includes" = xNONE && x_includes=$ac_x_includes - test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries - # Update the cache value to reflect the command line values. - ac_cv_have_x="have_x=yes\ - ac_x_includes='$x_includes'\ - ac_x_libraries='$x_libraries'" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 -$as_echo "libraries $x_libraries, headers $x_includes" >&6; } -fi - -if test "$no_x" = yes; then - # Not all programs may use this symbol, but it does not hurt to define it. - -$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h - - X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= -else - if test -n "$x_includes"; then - X_CFLAGS="$X_CFLAGS -I$x_includes" - fi - - # It would also be nice to do this for all -L options, not just this one. - if test -n "$x_libraries"; then - X_LIBS="$X_LIBS -L$x_libraries" - # For Solaris; some versions of Sun CC require a space after -R and - # others require no space. Words are not sufficient . . . . - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5 -$as_echo_n "checking whether -R must be followed by a space... " >&6; } - ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" - ac_xsave_cxx_werror_flag=$ac_cxx_werror_flag - ac_cxx_werror_flag=yes - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - X_LIBS="$X_LIBS -R$x_libraries" -else - LIBS="$ac_xsave_LIBS -R $x_libraries" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - X_LIBS="$X_LIBS -R $x_libraries" -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 -$as_echo "neither works" >&6; } -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - ac_cxx_werror_flag=$ac_xsave_cxx_werror_flag - LIBS=$ac_xsave_LIBS - fi - - # Check for system-dependent libraries X programs must link with. - # Do this before checking for the system-independent R6 libraries - # (-lICE), since we may need -lsocket or whatever for X linking. - - if test "$ISC" = yes; then - X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" - else - # Martyn Johnson says this is needed for Ultrix, if the X - # libraries were built with DECnet support. And Karl Berry says - # the Alpha needs dnet_stub (dnet does not exist). - ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 XOpenDisplay (); -int -main () -{ -return XOpenDisplay (); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 -$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } -if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldnet $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 dnet_ntoa (); -int -main () -{ -return dnet_ntoa (); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_lib_dnet_dnet_ntoa=yes -else - ac_cv_lib_dnet_dnet_ntoa=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 -$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } -if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then : - X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" -fi - - if test $ac_cv_lib_dnet_dnet_ntoa = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 -$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } -if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldnet_stub $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 dnet_ntoa (); -int -main () -{ -return dnet_ntoa (); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_lib_dnet_stub_dnet_ntoa=yes -else - ac_cv_lib_dnet_stub_dnet_ntoa=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 -$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } -if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then : - X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" -fi - - fi -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LIBS="$ac_xsave_LIBS" - - # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, - # to get the SysV transport functions. - # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) - # needs -lnsl. - # The nsl library prevents programs from opening the X display - # on Irix 5.2, according to T.E. Dickey. - # The functions gethostbyname, getservbyname, and inet_addr are - # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. - ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" -if test "x$ac_cv_func_gethostbyname" = xyes; then : - -fi - - if test $ac_cv_func_gethostbyname = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 -$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } -if ${ac_cv_lib_nsl_gethostbyname+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lnsl $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 gethostbyname (); -int -main () -{ -return gethostbyname (); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_lib_nsl_gethostbyname=yes -else - ac_cv_lib_nsl_gethostbyname=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 -$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } -if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : - X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" -fi - - if test $ac_cv_lib_nsl_gethostbyname = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 -$as_echo_n "checking for gethostbyname in -lbsd... " >&6; } -if ${ac_cv_lib_bsd_gethostbyname+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lbsd $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 gethostbyname (); -int -main () -{ -return gethostbyname (); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_lib_bsd_gethostbyname=yes -else - ac_cv_lib_bsd_gethostbyname=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 -$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } -if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then : - X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" -fi - - fi - fi - - # lieder@skyler.mavd.honeywell.com says without -lsocket, - # socket/setsockopt and other routines are undefined under SCO ODT - # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary - # on later versions), says Simon Leinen: it contains gethostby* - # variants that don't use the name server (or something). -lsocket - # must be given before -lnsl if both are needed. We assume that - # if connect needs -lnsl, so does gethostbyname. - ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect" -if test "x$ac_cv_func_connect" = xyes; then : - -fi - - if test $ac_cv_func_connect = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 -$as_echo_n "checking for connect in -lsocket... " >&6; } -if ${ac_cv_lib_socket_connect+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsocket $X_EXTRA_LIBS $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 connect (); -int -main () -{ -return connect (); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_lib_socket_connect=yes -else - ac_cv_lib_socket_connect=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 -$as_echo "$ac_cv_lib_socket_connect" >&6; } -if test "x$ac_cv_lib_socket_connect" = xyes; then : - X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" -fi - - fi - - # Guillermo Gomez says -lposix is necessary on A/UX. - ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove" -if test "x$ac_cv_func_remove" = xyes; then : - -fi - - if test $ac_cv_func_remove = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 -$as_echo_n "checking for remove in -lposix... " >&6; } -if ${ac_cv_lib_posix_remove+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lposix $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 remove (); -int -main () -{ -return remove (); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_lib_posix_remove=yes -else - ac_cv_lib_posix_remove=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 -$as_echo "$ac_cv_lib_posix_remove" >&6; } -if test "x$ac_cv_lib_posix_remove" = xyes; then : - X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" -fi - - fi - - # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. - ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat" -if test "x$ac_cv_func_shmat" = xyes; then : - -fi - - if test $ac_cv_func_shmat = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 -$as_echo_n "checking for shmat in -lipc... " >&6; } -if ${ac_cv_lib_ipc_shmat+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lipc $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 shmat (); -int -main () -{ -return shmat (); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_lib_ipc_shmat=yes -else - ac_cv_lib_ipc_shmat=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 -$as_echo "$ac_cv_lib_ipc_shmat" >&6; } -if test "x$ac_cv_lib_ipc_shmat" = xyes; then : - X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" -fi - - fi - fi - - # Check for libraries that X11R6 Xt/Xaw programs need. - ac_save_LDFLAGS=$LDFLAGS - test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" - # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to - # check for ICE first), but we must link in the order -lSM -lICE or - # we get undefined symbols. So assume we have SM if we have ICE. - # These have to be linked with before -lX11, unlike the other - # libraries we check for below, so use a different variable. - # John Interrante, Karl Berry - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 -$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } -if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lICE $X_EXTRA_LIBS $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 IceConnectionNumber (); -int -main () -{ -return IceConnectionNumber (); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_lib_ICE_IceConnectionNumber=yes -else - ac_cv_lib_ICE_IceConnectionNumber=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 -$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } -if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then : - X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" -fi - - LDFLAGS=$ac_save_LDFLAGS - -fi - - - -if test "$no_x" != yes; then - ACE_X11_CPPFLAGS="${X_CFLAGS}" - ACE_X11_LDFLAGS="${X_LIBS}" - ACE_X11_LIBS="${X_PRE_LIBS} -lX11 ${X_EXTRA_LIBS}" - - - - -fi - - if test X$no_x != Xyes; then - BUILD_X11_TRUE= - BUILD_X11_FALSE='#' -else - BUILD_X11_TRUE='#' - BUILD_X11_FALSE= -fi - - - - -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. -set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -PKG_CONFIG=$ac_cv_path_PKG_CONFIG -if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -$as_echo "$PKG_CONFIG" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_path_PKG_CONFIG"; then - ac_pt_PKG_CONFIG=$PKG_CONFIG - # Extract the first word of "pkg-config", so it can be a program name with args. -set dummy pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $ac_pt_PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG -if test -n "$ac_pt_PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -$as_echo "$ac_pt_PKG_CONFIG" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_pt_PKG_CONFIG" = x; then - PKG_CONFIG="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - PKG_CONFIG=$ac_pt_PKG_CONFIG - fi -else - PKG_CONFIG="$ac_cv_path_PKG_CONFIG" -fi - -fi -if test -n "$PKG_CONFIG"; then - _pkg_min_version=0.9.0 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 -$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - PKG_CONFIG="" - fi - -fi - - ac_qt_found=no - -pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt" >&5 -$as_echo_n "checking for Qt... " >&6; } - -if test -n "$PKG_CONFIG"; then - if test -n "$Qt_CFLAGS"; then - pkg_cv_Qt_CFLAGS="$Qt_CFLAGS" - else - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"qt-mt\""; } >&5 - ($PKG_CONFIG --exists --print-errors "qt-mt") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_Qt_CFLAGS=`$PKG_CONFIG --cflags "qt-mt" 2>/dev/null` -else - pkg_failed=yes -fi - fi -else - pkg_failed=untried -fi -if test -n "$PKG_CONFIG"; then - if test -n "$Qt_LIBS"; then - pkg_cv_Qt_LIBS="$Qt_LIBS" - else - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"qt-mt\""; } >&5 - ($PKG_CONFIG --exists --print-errors "qt-mt") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_Qt_LIBS=`$PKG_CONFIG --libs "qt-mt" 2>/dev/null` -else - pkg_failed=yes -fi - fi -else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - Qt_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "qt-mt"` - else - Qt_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "qt-mt"` - fi - # Put the nasty error message in config.log where it belongs - echo "$Qt_PKG_ERRORS" >&5 - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 -$as_echo "not found" >&6; } -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 -$as_echo "not found" >&6; } -else - Qt_CFLAGS=$pkg_cv_Qt_CFLAGS - Qt_LIBS=$pkg_cv_Qt_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - ac_qt_found=yes -fi - if test X"${ac_qt_found}" = Xyes; then - ACE_QT_CPPFLAGS="${Qt_CFLAGS}" - ACE_QT_LIBS="${Qt_LIBS}" - - - - if test -n "$QTDIR"; then : - -else - QTDIR=`$PKG_CONFIG --variable=prefix qt-mt 2>/dev/null` -fi - - fi - - - # Check whether --enable-libsuffix was given. -if test "${enable_libsuffix+set}" = set; then : - enableval=$enable_libsuffix; acelibsuff=$enableval -else - acelibsuff="auto" -fi - - - if test "$acelibsuff" = "auto"; then - -cat > conftest.cpp << _ACEOF -#include -int main(int, char **) { - return 0; -} -_ACEOF - acelibsuff=`$CXX conftest.cpp -o conftest.out; ldd conftest.out |sed -ne '/libc.so/{ - s,.*/lib\([^\/]*\)/.*,\1, - p -}'` - rm -rf conftest.* - fi - - if test "$acelibsuff" = "no" || test "$acelibsuff" = "none"; then - acelibsuff= - fi - if test -z "$acelibsuff"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: not using lib directory suffix" >&5 -$as_echo "not using lib directory suffix" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: using lib directory suffix $acelibsuff" >&5 -$as_echo "using lib directory suffix $acelibsuff" >&6; } - fi - - - -# Check whether --with-tclconfig was given. -if test "${with_tclconfig+set}" = set; then : - withval=$with_tclconfig; ac_tclconfig_dir="${withval}" -fi - - - if test X"${ac_tclconfig_dir}" = X; then - for i in `ls -d ${exec_prefix}/lib${acelibsuff} 2>/dev/null` \ - `ls -d ${prefix}/lib${acelibsuff} 2>/dev/null` \ - `ls -d /usr/local/lib${acelibsuff} 2>/dev/null` \ - `ls -d /usr/contrib/lib${acelibsuff} 2>/dev/null` \ - `ls -d /usr/lib${acelibsuff} 2>/dev/null` \ - `ls -d /usr/pkg/lib${acelibsuff} 2>/dev/null` \ - `ls -d /usr/lib${acelibsuff}/tcl8.[43]* 2>/dev/null` \ - ; do - if test -f "$i/tclConfig.sh" ; then - ac_tclconfig_dir=`(cd $i; pwd)` - break - fi - done - fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tclConfig.sh exists in ${ac_tclconfig_dir}" >&5 -$as_echo_n "checking whether tclConfig.sh exists in ${ac_tclconfig_dir}... " >&6; } - if test -f "${ac_tclconfig_dir}/tclConfig.sh"; then - TCLCONFIG="${ac_tclconfig_dir}/tclConfig.sh" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - fi - - if test X"${TCLCONFIG}" != X; then - . ${TCLCONFIG} - - ACE_TCL_CPPFLAGS="${TCL_INCLUDE_SPEC}" - eval "ACE_TCL_LIBS=\"${TCL_LIB_SPEC}\"" - - - - fi - - - -# Check whether --with-tkconfig was given. -if test "${with_tkconfig+set}" = set; then : - withval=$with_tkconfig; ac_tkconfig_dir="${withval}" -fi - - if test X"${ac_tkconfig_dir}" = X; then - if test X"${ac_tclconfig_dir}" != X && test -f ${ac_tclconfig_dir}/tkConfig.sh; then - ac_tkconfig_dir=$ac_tclconfig_dir; - else - for i in `ls -d ${exec_prefix}/lib${acelibsuff} 2>/dev/null` \ - `ls -d ${prefix}/lib${acelibsuff} 2>/dev/null` \ - `ls -d /usr/local/lib${acelibsuff} 2>/dev/null` \ - `ls -d /usr/contrib/lib${acelibsuff} 2>/dev/null` \ - `ls -d /usr/lib${acelibsuff} 2>/dev/null` \ - `ls -d /usr/pkg/lib${acelibsuff} 2>/dev/null` \ - `ls -d /usr/lib${acelibsuff}/tk8.[43]* 2>/dev/null` \ - ; do - if test -f "$i/tkConfig.sh" ; then - ac_tkconfig_dir=`(cd $i; pwd)` - break - fi - done - fi - fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tkConfig.sh exists in ${ac_tkconfig_dir}" >&5 -$as_echo_n "checking whether tkConfig.sh exists in ${ac_tkconfig_dir}... " >&6; } - if test -f "${ac_tkconfig_dir}/tkConfig.sh"; then - TKCONFIG="${ac_tkconfig_dir}/tkConfig.sh" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - fi - - if test X"${TKCONFIG}" != X; then - . ${TKCONFIG} - - ACE_TK_CPPFLAGS="${TK_INCLUDE_SPEC} ${TK_XINCLUDES}" - ACE_TK_LIBS="${TK_LIB_SPEC} ${TK_XLIBSW}" - - - - fi - - - -if test "$no_x" != yes; then - ACE_XT_CPPFLAGS="" - ACE_XT_LDFLAGS="" - ACE_XT_LIBS="-lXt" - - - - -fi - if true; then - BUILD_ATHENA_TRUE= - BUILD_ATHENA_FALSE='#' -else - BUILD_ATHENA_TRUE='#' - BUILD_ATHENA_FALSE= -fi - - if true; then - BUILD_ATHENA3D_TRUE= - BUILD_ATHENA3D_FALSE='#' -else - BUILD_ATHENA3D_TRUE='#' - BUILD_ATHENA3D_FALSE= -fi - - if false; then - BUILD_MOTIF_TRUE= - BUILD_MOTIF_FALSE='#' -else - BUILD_MOTIF_TRUE='#' - BUILD_MOTIF_FALSE= -fi - - - -# Check whether --with-fox-config was given. -if test "${with_fox_config+set}" = set; then : - withval=$with_fox_config; ac_fox_config_dir="${withval}" -fi - - if test X"${ac_fox_config_dir}" = X; then - # Extract the first word of "fox-config", so it can be a program name with args. -set dummy fox-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_FOXCONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $FOXCONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_FOXCONFIG="$FOXCONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_FOXCONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -FOXCONFIG=$ac_cv_path_FOXCONFIG -if test -n "$FOXCONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOXCONFIG" >&5 -$as_echo "$FOXCONFIG" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fox-config exists in ${ac_fox_config_dir}" >&5 -$as_echo_n "checking whether fox-config exists in ${ac_fox_config_dir}... " >&6; } - if test -f "${ac_fox_config_dir}/fox-config"; then - FOXCONFIG="${ac_fox_config_dir}/fox-config" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - fi - fi - if test X"${FOXCONFIG}" != X; then - ACE_FOX_CPPFLAGS=`$FOXCONFIG --cflags 2>/dev/null` - ACE_FOX_LIBS=`$FOXCONFIG --libs 2>/dev/null` - - - fi - - - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - - ace_TLS_CPPFLAGS="" - ace_TLS_LDFLAGS="" - - -# Check whether --with-openssl was given. -if test "${with_openssl+set}" = set; then : - withval=$with_openssl; - ace_with_openssl="${withval}" - if test "${ace_with_openssl}" != yes; then - ace_openssl_include="${ace_with_openssl}/include" - ace_openssl_libdir="${ace_with_openssl}/lib" - fi - -fi - - - -# Check whether --with-openssl_include was given. -if test "${with_openssl_include+set}" = set; then : - withval=$with_openssl_include; ace_openssl_include="$withval" -fi - - - -# Check whether --with-openssl_libdir was given. -if test "${with_openssl_libdir+set}" = set; then : - withval=$with_openssl_libdir; ace_openssl_libdir="$withval" -fi - - - if test "${ace_openssl_include}"; then - ace_TLS_CPPFLAGS="-I${ace_openssl_include}" - fi - - if test "${ace_openssl_libdir}"; then - ace_TLS_LDFLAGS="-L${ace_openssl_libdir}" - fi - - ace_save_LIBS="$LIBS" - ace_save_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $ace_TLS_CPPFLAGS" - ace_save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $ace_TLS_LDFLAGS" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Kerberos include flags needed by OpenSSL" >&5 -$as_echo_n "checking for Kerberos include flags needed by OpenSSL... " >&6; } -if ${ac_cv_kerberos_dir+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - -#include - -int -main () -{ - -// ... THIS CODE DOES NOTHING! IT IS JUST USED FOR COMPILE TESTS ... - -// ... Perform TCP connection ... - -// ... Perform TLS/SSL stuff ... -CRYPTO_set_locking_callback (0); -SSLeay_add_ssl_algorithms (); -SSL_load_error_strings (); -SSL_METHOD * meth = TLSv1_method (); -SSL_CTX * ctx = SSL_CTX_new (meth); -SSL * ssl = SSL_new (ctx); -int fd = 2000; // Dummy file descriptor value. -SSL_set_fd (ssl, fd); -SSL_connect (ssl); -SSL_shutdown (ssl); - -// ... - - ; - return 0; -} - -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ac_cv_kerberos_dir=no - -else - - ace_kerberos_dir="" - for ace_kerberos in /usr /usr/local; do - ace_kerberos_dir="${ace_kerberos}/kerberos/include" - ace_kerberos_CPPFLAGS="-I${ace_kerberos_dir}" - - CPPFLAGS="$ace_save_CPPFLAGS $ace_TLS_CPPFLAGS $ace_kerberos_CPPFLAGS" - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - -#include - -int -main () -{ - -// ... THIS CODE DOES NOTHING! IT IS JUST USED FOR COMPILE TESTS ... - -// ... Perform TCP connection ... - -// ... Perform TLS/SSL stuff ... -CRYPTO_set_locking_callback (0); -SSLeay_add_ssl_algorithms (); -SSL_load_error_strings (); -SSL_METHOD * meth = TLSv1_method (); -SSL_CTX * ctx = SSL_CTX_new (meth); -SSL * ssl = SSL_new (ctx); -int fd = 2000; // Dummy file descriptor value. -SSL_set_fd (ssl, fd); -SSL_connect (ssl); -SSL_shutdown (ssl); - -// ... - - ; - return 0; -} - -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ac_cv_kerberos_dir="$ace_kerberos_dir" - break - -else - - ac_cv_kerberos_dir=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_kerberos_dir" >&5 -$as_echo "$ac_cv_kerberos_dir" >&6; } - - if test "$ac_cv_kerberos_dir" = no; then : - - ACE_KERBEROS_INCLUDES=. - - -else - - ace_TLS_CPPFLAGS="$ace_TLS_CPPFLAGS -I${ac_cv_kerberos_dir}" - ACE_KERBEROS_INCLUDES=$ac_cv_kerberos_dir - - -fi - - - ace_TLS_LIBS="-lssl -lcrypto" - - LIBS="$ace_TLS_LIBS $LIBS" - LDFLAGS="$ace_TLS_LDFLAGS $LDFLAGS" - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL libraries" >&5 -$as_echo_n "checking for OpenSSL libraries... " >&6; } -if ${ac_cv_openssl_libs+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - -#include - -int -main () -{ - -// ... THIS PROGRAM DOES NOTHING! IT IS JUST USED FOR LINK TESTS ... - -// ... Perform TCP connection ... - -// ... Perform TLS/SSL stuff ... -CRYPTO_set_locking_callback (0); -SSLeay_add_ssl_algorithms (); -SSL_load_error_strings (); -SSL_METHOD * meth = TLSv1_method (); -SSL_CTX * ctx = SSL_CTX_new (meth); -SSL * ssl = SSL_new (ctx); -int fd = 2000; // Dummy file descriptor value. -SSL_set_fd (ssl, fd); -SSL_connect (ssl); -SSL_shutdown (ssl); - -// ... - - ; - return 0; -} - -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - ac_cv_openssl_libs=yes - -else - - ac_cv_openssl_libs=no - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_openssl_libs" >&5 -$as_echo "$ac_cv_openssl_libs" >&6; } - - if test $ac_cv_openssl_libs != no; then : - -ACE_TLS_CPPFLAGS=$ace_TLS_CPPFLAGS - -ACE_TLS_LDFLAGS=$ace_TLS_LDFLAGS - -ACE_TLS_LIBS=$ace_TLS_LIBS - - -fi - - LIBS="$ace_save_LIBS" - CPPFLAGS="$ace_save_CPPFLAGS" - LDFLAGS="$ace_save_LDFLAGS" - - - if false; then - BUILD_ACE_FOR_TAO_TRUE= - BUILD_ACE_FOR_TAO_FALSE='#' -else - BUILD_ACE_FOR_TAO_TRUE='#' - BUILD_ACE_FOR_TAO_FALSE= -fi - - - # Check whether --enable-ace-codecs was given. -if test "${enable_ace_codecs+set}" = set; then : - enableval=$enable_ace_codecs; - case "${enableval}" in - yes) - ace_user_enable_ace_codecs=yes - ;; - no) - ace_user_enable_ace_codecs=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-ace-codecs" "$LINENO" 5 - ;; - esac - -else - - ace_user_enable_ace_codecs=yes - -fi - - if test X$ace_user_enable_ace_codecs = Xyes; then - BUILD_ACE_CODECS_TRUE= - BUILD_ACE_CODECS_FALSE='#' -else - BUILD_ACE_CODECS_TRUE='#' - BUILD_ACE_CODECS_FALSE= -fi - - - # Check whether --enable-ace-filecache was given. -if test "${enable_ace_filecache+set}" = set; then : - enableval=$enable_ace_filecache; - case "${enableval}" in - yes) - ace_user_enable_ace_filecache=yes - ;; - no) - ace_user_enable_ace_filecache=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-ace-filecache" "$LINENO" 5 - ;; - esac - -else - - ace_user_enable_ace_filecache=yes - -fi - - if test X$ace_user_enable_ace_filecache = Xyes; then - BUILD_ACE_FILECACHE_TRUE= - BUILD_ACE_FILECACHE_FALSE='#' -else - BUILD_ACE_FILECACHE_TRUE='#' - BUILD_ACE_FILECACHE_FALSE= -fi - - - # Check whether --enable-ace-other was given. -if test "${enable_ace_other+set}" = set; then : - enableval=$enable_ace_other; - case "${enableval}" in - yes) - ace_user_enable_ace_other=yes - ;; - no) - ace_user_enable_ace_other=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-ace-other" "$LINENO" 5 - ;; - esac - -else - - ace_user_enable_ace_other=yes - -fi - - if test X$ace_user_enable_ace_other = Xyes; then - BUILD_ACE_OTHER_TRUE= - BUILD_ACE_OTHER_FALSE='#' -else - BUILD_ACE_OTHER_TRUE='#' - BUILD_ACE_OTHER_FALSE= -fi - - - # Check whether --enable-ace-token was given. -if test "${enable_ace_token+set}" = set; then : - enableval=$enable_ace_token; - case "${enableval}" in - yes) - ace_user_enable_ace_token=yes - ;; - no) - ace_user_enable_ace_token=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-ace-token" "$LINENO" 5 - ;; - esac - -else - - ace_user_enable_ace_token=yes - -fi - - if test X$ace_user_enable_ace_token = Xyes; then - BUILD_ACE_TOKEN_TRUE= - BUILD_ACE_TOKEN_FALSE='#' -else - BUILD_ACE_TOKEN_TRUE='#' - BUILD_ACE_TOKEN_FALSE= -fi - - - # Check whether --enable-ace-uuid was given. -if test "${enable_ace_uuid+set}" = set; then : - enableval=$enable_ace_uuid; - case "${enableval}" in - yes) - ace_user_enable_ace_uuid=yes - ;; - no) - ace_user_enable_ace_uuid=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-ace-uuid" "$LINENO" 5 - ;; - esac - -else - - ace_user_enable_ace_uuid=yes - -fi - - if test X$ace_user_enable_ace_uuid = Xyes; then - BUILD_ACE_UUID_TRUE= - BUILD_ACE_UUID_FALSE='#' -else - BUILD_ACE_UUID_TRUE='#' - BUILD_ACE_UUID_FALSE= -fi - - - # Check whether --enable-alloca was given. -if test "${enable_alloca+set}" = set; then : - enableval=$enable_alloca; - case "${enableval}" in - yes) - ace_user_enable_alloca=yes - ;; - no) - ace_user_enable_alloca=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-alloca" "$LINENO" 5 - ;; - esac - -else - - ace_user_enable_alloca=no - -fi - - - # Check whether --enable-rwho was given. -if test "${enable_rwho+set}" = set; then : - enableval=$enable_rwho; - case "${enableval}" in - yes) - ace_user_enable_rwho=yes - ;; - no) - ace_user_enable_rwho=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-rwho" "$LINENO" 5 - ;; - esac - -fi - - if test X$ace_user_enable_rwho = Xyes; then - BUILD_RWHO_TRUE= - BUILD_RWHO_FALSE='#' -else - BUILD_RWHO_TRUE='#' - BUILD_RWHO_FALSE= -fi - - - # Check whether --enable-ipv4-ipv6 was given. -if test "${enable_ipv4_ipv6+set}" = set; then : - enableval=$enable_ipv4_ipv6; - case "${enableval}" in - yes) - $as_echo "#define ACE_HAS_IPV6 1" >>confdefs.h - - $as_echo "#define ACE_USES_IPV4_IPV6_MIGRATION 1" >>confdefs.h - - ;; - no) - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-ipv4-ipv6" "$LINENO" 5 - ;; - esac - -fi - - - # Check whether --enable-ipv6 was given. -if test "${enable_ipv6+set}" = set; then : - enableval=$enable_ipv6; - case "${enableval}" in - yes) - $as_echo "#define ACE_HAS_IPV6 1" >>confdefs.h - - ace_user_enable_ipv6=yes - ;; - no) - ace_user_enable_ipv6=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-ipv6" "$LINENO" 5 - ;; - esac - -fi - - if test X$ace_user_enable_ipv6 = Xyes; then - BUILD_IPV6_TRUE= - BUILD_IPV6_FALSE='#' -else - BUILD_IPV6_TRUE='#' - BUILD_IPV6_FALSE= -fi - - - # Check whether --enable-log-msg-prop was given. -if test "${enable_log_msg_prop+set}" = set; then : - enableval=$enable_log_msg_prop; - case "${enableval}" in - yes) - ;; - no) - $as_echo "#define ACE_THREADS_DONT_INHERIT_LOG_MSG 1" >>confdefs.h - - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-log-msg-prop" "$LINENO" 5 - ;; - esac - -fi - - - # Check whether --enable-logging was given. -if test "${enable_logging+set}" = set; then : - enableval=$enable_logging; - case "${enableval}" in - yes) - ;; - no) - $as_echo "#define ACE_NLOGGING 1" >>confdefs.h - - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-logging" "$LINENO" 5 - ;; - esac - -fi - - - # Check whether --enable-malloc-stats was given. -if test "${enable_malloc_stats+set}" = set; then : - enableval=$enable_malloc_stats; - case "${enableval}" in - yes) - $as_echo "#define ACE_HAS_MALLOC_STATS 1" >>confdefs.h - - ;; - no) - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-malloc-stats" "$LINENO" 5 - ;; - esac - -fi - - - # Check whether --enable-pi-pointers was given. -if test "${enable_pi_pointers+set}" = set; then : - enableval=$enable_pi_pointers; - case "${enableval}" in - yes) - $as_echo "#define ACE_HAS_POSITION_INDEPENDENT_POINTERS 1" >>confdefs.h - - ;; - no) - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-pi-pointers" "$LINENO" 5 - ;; - esac - -else - - $as_echo "#define ACE_HAS_POSITION_INDEPENDENT_POINTERS 1" >>confdefs.h - - -fi - - - # Check whether --enable-posix-sem-timeout-emulation was given. -if test "${enable_posix_sem_timeout_emulation+set}" = set; then : - enableval=$enable_posix_sem_timeout_emulation; - case "${enableval}" in - yes) - $as_echo "#define ACE_DISABLE_POSIX_SEM_TIMEOUT_EMULATION 1" >>confdefs.h - - ;; - no) - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-posix-sem-timeout-emulation" "$LINENO" 5 - ;; - esac - -fi - - - # Check whether --enable-probe was given. -if test "${enable_probe+set}" = set; then : - enableval=$enable_probe; - case "${enableval}" in - yes) - $as_echo "#define ACE_COMPILE_TIMEPROBES 1" >>confdefs.h - - ;; - no) - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-probe" "$LINENO" 5 - ;; - esac - -fi - - - # Check whether --enable-static-obj-mgr was given. -if test "${enable_static_obj_mgr+set}" = set; then : - enableval=$enable_static_obj_mgr; - case "${enableval}" in - yes) - ;; - no) - $as_echo "#define ACE_HAS_NONSTATIC_OBJECT_MANAGER 1" >>confdefs.h - - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-static-obj-mgr" "$LINENO" 5 - ;; - esac - -fi - - - - # Check whether --enable-threads was given. -if test "${enable_threads+set}" = set; then : - enableval=$enable_threads; - case "${enableval}" in - yes) - ace_user_enable_threads=yes - ;; - no) - ace_user_enable_threads=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-threads" "$LINENO" 5 - ;; - esac - -else - - ace_user_enable_threads=yes - -fi - - if test X$ace_user_enable_threads = Xyes; then - BUILD_THREADS_TRUE= - BUILD_THREADS_FALSE='#' -else - BUILD_THREADS_TRUE='#' - BUILD_THREADS_FALSE= -fi - - - # Check whether --enable-pthreads was given. -if test "${enable_pthreads+set}" = set; then : - enableval=$enable_pthreads; - case "${enableval}" in - yes) - ace_user_enable_pthreads=yes - ;; - no) - ace_user_enable_pthreads=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-pthreads" "$LINENO" 5 - ;; - esac - -else - - ace_user_enable_pthreads=yes - -fi - - - # Check whether --enable-aio was given. -if test "${enable_aio+set}" = set; then : - enableval=$enable_aio; - case "${enableval}" in - yes) - ace_user_enable_aio=yes - ;; - no) - ace_user_enable_aio=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-aio" "$LINENO" 5 - ;; - esac - -else - - ace_user_enable_aio=yes - -fi - - - # Check whether --enable-uithreads was given. -if test "${enable_uithreads+set}" = set; then : - enableval=$enable_uithreads; - case "${enableval}" in - yes) - ace_user_enable_uithreads=yes - ;; - no) - ace_user_enable_uithreads=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-uithreads" "$LINENO" 5 - ;; - esac - -else - - case "$host" in - *solaris2*) - ace_user_enable_uithreads=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: --enable-uithreads enabled by default for Solaris; use --enable-uithreads=no to disable it." >&5 -$as_echo "$as_me: --enable-uithreads enabled by default for Solaris; use --enable-uithreads=no to disable it." >&6;} - ;; - *) - ace_user_enable_uithreads=no - ;; - esac - -fi - - - # Check whether --enable-verb-not-sup was given. -if test "${enable_verb_not_sup+set}" = set; then : - enableval=$enable_verb_not_sup; - case "${enableval}" in - yes) - $as_echo "#define ACE_HAS_VERBOSE_NOTSUP 1" >>confdefs.h - - ;; - no) - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-verb-not-sup" "$LINENO" 5 - ;; - esac - -fi - - - # Check whether --enable-rcsid was given. -if test "${enable_rcsid+set}" = set; then : - enableval=$enable_rcsid; - case "${enableval}" in - yes) - ace_user_enable_rcsid=yes - ;; - no) - ace_user_enable_rcsid=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-rcsid" "$LINENO" 5 - ;; - esac - -fi - - if test X$ace_user_enable_rcsid = Xyes; then - -$as_echo "#define ACE_USE_RCSID 1" >>confdefs.h - - fi - - # Check whether --enable-trace was given. -if test "${enable_trace+set}" = set; then : - enableval=$enable_trace; - case "${enableval}" in - yes) - $as_echo "#define ACE_NTRACE 0" >>confdefs.h - - ;; - no) - $as_echo "#define ACE_NTRACE 1" >>confdefs.h - - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-trace" "$LINENO" 5 - ;; - esac - -fi - - - # Check whether --enable-wfmo was given. -if test "${enable_wfmo+set}" = set; then : - enableval=$enable_wfmo; - case "${enableval}" in - yes) - ace_user_enable_wfmo=yes - ;; - no) - ace_user_enable_wfmo=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-wfmo" "$LINENO" 5 - ;; - esac - -else - - case "$host" in - *win32*) - ace_user_enable_wfmo=yes - ;; - *) - ace_user_enable_wfmo=no - ;; - esac - -fi - - if test X$ace_user_enable_wfmo = Xyes; then - BUILD_WFMO_TRUE= - BUILD_WFMO_FALSE='#' -else - BUILD_WFMO_TRUE='#' - BUILD_WFMO_FALSE= -fi - - - # Check whether --enable-wince was given. -if test "${enable_wince+set}" = set; then : - enableval=$enable_wince; - case "${enableval}" in - yes) - ace_user_enable_wince=no - ;; - no) - ace_user_enable_wince=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-wince" "$LINENO" 5 - ;; - esac - -else - - case "$host" in - *win32*) - ace_user_enable_wince=yes - ;; - *) - ace_user_enable_wince=no - ;; - esac - -fi - - if test X$ace_user_enable_wince = Xyes; then - BUILD_WINCE_TRUE= - BUILD_WINCE_FALSE='#' -else - BUILD_WINCE_TRUE='#' - BUILD_WINCE_FALSE= -fi - - - # Check whether --enable-winregistry was given. -if test "${enable_winregistry+set}" = set; then : - enableval=$enable_winregistry; - case "${enableval}" in - yes) - ace_user_enable_winregistry=no - ;; - no) - ace_user_enable_winregistry=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-winregistry" "$LINENO" 5 - ;; - esac - -else - - case "$host" in - *win32*) - ace_user_enable_winregistry=yes - ;; - *) - ace_user_enable_winregistry=no - ;; - esac - -fi - - if test X$ace_user_enable_winregistry = Xyes; then - BUILD_WINREGISTRY_TRUE= - BUILD_WINREGISTRY_FALSE='#' -else - BUILD_WINREGISTRY_TRUE='#' - BUILD_WINREGISTRY_FALSE= -fi - - - - -# Check whether --enable-fl-reactor was given. -if test "${enable_fl_reactor+set}" = set; then : - enableval=$enable_fl_reactor; case "${enableval}" in - yes) - if test X"${FLTKCONFIG}" != X; then : - ace_user_enable_fl_reactor=yes -else - as_fn_error $? "ACE_FlReactor cannot be enabled: fltk-config not found." "$LINENO" 5 -fi - ;; - no) - ace_user_enable_fl_reactor=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-fl-reactor" "$LINENO" 5 - ;; - esac -else - - ace_user_enable_fl_reactor=no - -fi - - if test X$ace_user_enable_fl_reactor = Xyes; then - BUILD_GL_TRUE= - BUILD_GL_FALSE='#' -else - BUILD_GL_TRUE='#' - BUILD_GL_FALSE= -fi - - if test X$ace_user_enable_fl_reactor = Xyes; then - BUILD_FL_TRUE= - BUILD_FL_FALSE='#' -else - BUILD_FL_TRUE='#' - BUILD_FL_FALSE= -fi - - if test X$ace_user_enable_fl_reactor = Xyes; then - BUILD_ACE_FLREACTOR_TRUE= - BUILD_ACE_FLREACTOR_FALSE='#' -else - BUILD_ACE_FLREACTOR_TRUE='#' - BUILD_ACE_FLREACTOR_FALSE= -fi - - if test X$ace_user_enable_fl_reactor = Xyes; then - BUILD_TAO_FLRESOURCE_TRUE= - BUILD_TAO_FLRESOURCE_FALSE='#' -else - BUILD_TAO_FLRESOURCE_TRUE='#' - BUILD_TAO_FLRESOURCE_FALSE= -fi - - - -# Check whether --enable-qt-reactor was given. -if test "${enable_qt_reactor+set}" = set; then : - enableval=$enable_qt_reactor; case "${enableval}" in - yes) - if test X"${ac_qt_found}" = Xyes; then : - ace_user_enable_qt_reactor=yes -else - as_fn_error $? "ACE_QtReactor cannot be enabled: Qt not found." "$LINENO" 5 -fi - ;; - no) - ace_user_enable_qt_reactor=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-qt-reactor" "$LINENO" 5 - ;; - esac -else - - ace_user_enable_qt_reactor=no - -fi - - if test X$ace_user_enable_qt_reactor = Xyes; then - BUILD_QT_TRUE= - BUILD_QT_FALSE='#' -else - BUILD_QT_TRUE='#' - BUILD_QT_FALSE= -fi - - if test X$ace_user_enable_qt_reactor = Xyes; then - BUILD_ACE_QTREACTOR_TRUE= - BUILD_ACE_QTREACTOR_FALSE='#' -else - BUILD_ACE_QTREACTOR_TRUE='#' - BUILD_ACE_QTREACTOR_FALSE= -fi - - if test X$ace_user_enable_qt_reactor = Xyes; then - BUILD_TAO_QTRESOURCE_TRUE= - BUILD_TAO_QTRESOURCE_FALSE='#' -else - BUILD_TAO_QTRESOURCE_TRUE='#' - BUILD_TAO_QTRESOURCE_FALSE= -fi - - - -# Check whether --enable-tk-reactor was given. -if test "${enable_tk_reactor+set}" = set; then : - enableval=$enable_tk_reactor; case "${enableval}" in - yes) - if test X"${TCLCONFIG}" != X; then : - if test X"${TKCONFIG}" != X; then : - ace_user_enable_tk_reactor=yes -else - as_fn_error $? "ACE_TkReactor cannot be enabled: tkConfig not found." "$LINENO" 5 -fi -else - as_fn_error $? "ACE_TkReactor cannot be enabled: tclConfig not found." "$LINENO" 5 -fi - ;; - no) - ace_user_enable_tk_reactor=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-tk-reactor" "$LINENO" 5 - ;; - esac -else - - ace_user_enable_tk_reactor=no - -fi - - if test X$ace_user_enable_tk_reactor = Xyes; then - BUILD_TK_TRUE= - BUILD_TK_FALSE='#' -else - BUILD_TK_TRUE='#' - BUILD_TK_FALSE= -fi - - if test X$ace_user_enable_tk_reactor = Xyes; then - BUILD_ACE_TKREACTOR_TRUE= - BUILD_ACE_TKREACTOR_FALSE='#' -else - BUILD_ACE_TKREACTOR_TRUE='#' - BUILD_ACE_TKREACTOR_FALSE= -fi - - if test X$ace_user_enable_tk_reactor = Xyes; then - BUILD_TAO_TKRESOURCE_TRUE= - BUILD_TAO_TKRESOURCE_FALSE='#' -else - BUILD_TAO_TKRESOURCE_TRUE='#' - BUILD_TAO_TKRESOURCE_FALSE= -fi - - - -# Check whether --enable-xt-reactor was given. -if test "${enable_xt_reactor+set}" = set; then : - enableval=$enable_xt_reactor; case "${enableval}" in - yes) - if test "$no_x" != yes; then : - - ace_user_enable_xt_reactor=yes - -else - - ace_user_enable_xt_reactor=no - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: X was not found or it was disabled." >&5 -$as_echo "$as_me: WARNING: X was not found or it was disabled." >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ACE_XtReactor will not be enabled." >&5 -$as_echo "$as_me: WARNING: ACE_XtReactor will not be enabled." >&2;} - -fi - ;; - no) - ace_user_enable_xt_reactor=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-xt-reactor" "$LINENO" 5 - ;; - esac -else - - ace_user_enable_xt_reactor=no - -fi - - if test X$ace_user_enable_xt_reactor = Xyes; then - BUILD_XT_TRUE= - BUILD_XT_FALSE='#' -else - BUILD_XT_TRUE='#' - BUILD_XT_FALSE= -fi - - if test X$ace_user_enable_xt_reactor = Xyes; then - BUILD_ACE_XTREACTOR_TRUE= - BUILD_ACE_XTREACTOR_FALSE='#' -else - BUILD_ACE_XTREACTOR_TRUE='#' - BUILD_ACE_XTREACTOR_FALSE= -fi - - if test X$ace_user_enable_xt_reactor = Xyes; then - BUILD_TAO_XTRESOURCE_TRUE= - BUILD_TAO_XTRESOURCE_FALSE='#' -else - BUILD_TAO_XTRESOURCE_TRUE='#' - BUILD_TAO_XTRESOURCE_FALSE= -fi - - - -# Check whether --enable-fox-reactor was given. -if test "${enable_fox_reactor+set}" = set; then : - enableval=$enable_fox_reactor; case "${enableval}" in - yes) - if test X"${FOXCONFIG}" != X; then : - ace_user_enable_fox_reactor=yes -else - as_fn_error $? "ACE_FoxReactor cannot be enabled: fox-config not found." "$LINENO" 5 -fi - ;; - no) - ace_user_enable_fox_reactor=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-fox-reactor" "$LINENO" 5 - ;; - esac -else - - ace_user_enable_fox_reactor=no - -fi - - if test X$ace_user_enable_fox_reactor = Xyes; then - BUILD_FOX_TRUE= - BUILD_FOX_FALSE='#' -else - BUILD_FOX_TRUE='#' - BUILD_FOX_FALSE= -fi - - if test X$ace_user_enable_fox_reactor = Xyes; then - BUILD_ACE_FOXREACTOR_TRUE= - BUILD_ACE_FOXREACTOR_FALSE='#' -else - BUILD_ACE_FOXREACTOR_TRUE='#' - BUILD_ACE_FOXREACTOR_FALSE= -fi - - if test X$ace_user_enable_fox_reactor = Xyes; then - BUILD_TAO_FOXRESOURCE_TRUE= - BUILD_TAO_FOXRESOURCE_FALSE='#' -else - BUILD_TAO_FOXRESOURCE_TRUE='#' - BUILD_TAO_FOXRESOURCE_FALSE= -fi - - - - # placeholder for WxWindows/wxWidgets support - if false; then - BUILD_WXWINDOWS_TRUE= - BUILD_WXWINDOWS_FALSE='#' -else - BUILD_WXWINDOWS_TRUE='#' - BUILD_WXWINDOWS_FALSE= -fi - - - -ACE_BZIP2_CPPFLAGS="" -ACE_BZIP2_LDFLAGS="" - - -# Check whether --with-bzip2 was given. -if test "${with_bzip2+set}" = set; then : - withval=$with_bzip2; - ace_with_bzip2="${withval}" - if test "${ace_with_bzip2}" != yes; then - ace_bzip2_include="${ace_with_bzip2}/include" - ace_bzip2_libdir="${ace_with_bzip2}/lib" - fi - -else - ace_with_bzip2=no -fi - - - -if test "${ace_bzip2_include}"; then - ACE_BZIP2_CPPFLAGS="-I$ace_bzip2_include" -fi - -if test "${ace_bzip2_libdir}"; then - ACE_BZIP2_LDFLAGS="-L$ace_bzip2_libdir" -fi - -ACE_BZIP2_CPPFLAGS="${ACE_BZIP2_CPPFLAGS} -DBZIP2" - -if test "${ace_with_bzip2}" != no; then - ACE_BZIP2_LIBS="-lbz2" - - - -fi - if test "${ace_with_bzip2}" != no; then - BUILD_BZIP2_TRUE= - BUILD_BZIP2_FALSE='#' -else - BUILD_BZIP2_TRUE='#' - BUILD_BZIP2_FALSE= -fi - - - -ACE_ZLIB_CPPFLAGS="" -ACE_ZLIB_LDFLAGS="" - - -# Check whether --with-zlib was given. -if test "${with_zlib+set}" = set; then : - withval=$with_zlib; - ace_with_zlib="${withval}" - if test "${ace_with_zlib}" != yes; then - ace_zlib_include="${ace_with_zlib}/include" - ace_zlib_libdir="${ace_with_zlib}/lib" - fi - -else - ace_with_zlib=no -fi - - - -if test "${ace_zlib_include}"; then - ACE_ZLIB_CPPFLAGS="-I$ace_zlib_include" -fi - -if test "${ace_zlib_libdir}"; then - ACE_ZLIB_LDFLAGS="-L$ace_zlib_libdir" -fi - -ACE_ZLIB_CPPFLAGS="${ACE_ZLIB_CPPFLAGS} -DZLIB" - -if test "${ace_with_zlib}" != no; then - ACE_ZLIB_LIBS="-lz" - - - -fi - if test "${ace_with_zlib}" != no; then - BUILD_ZLIB_TRUE= - BUILD_ZLIB_FALSE='#' -else - BUILD_ZLIB_TRUE='#' - BUILD_ZLIB_FALSE= -fi - - - - -ACE_ZZIP_CPPFLAGS="" -ACE_ZZIP_LDFLAGS="" - - -# Check whether --with-zzip was given. -if test "${with_zzip+set}" = set; then : - withval=$with_zzip; - ace_with_zzip="${withval}" - if test "${ace_with_zzip}" != yes; then - ace_zzip_include="${ace_with_zzip}/include" - ace_zzip_libdir="${ace_with_zzip}/lib" - fi - -else - ace_with_zzip=no -fi - - - -if test "${ace_zzip_include}"; then - ACE_ZZIP_CPPFLAGS="-I$ace_zzip_include" -fi - -if test "${ace_zzip_libdir}"; then - ACE_ZZIP_LDFLAGS="-L$ace_zzip_libdir" -fi - -ACE_ZZIP_CPPFLAGS="${ACE_ZZIP_CPPFLAGS} -DUSE_ZZIP" - -if test "${ace_with_zzip}" != no; then - ACE_ZZIP_LIBS="-lzzip" - - - -fi - if test "${ace_with_zzip}" != no; then - BUILD_ZZIP_TRUE= - BUILD_ZZIP_FALSE='#' -else - BUILD_ZZIP_TRUE='#' - BUILD_ZZIP_FALSE= -fi - - - - # Check whether --enable-gperf was given. -if test "${enable_gperf+set}" = set; then : - enableval=$enable_gperf; - case "${enableval}" in - yes) - ace_user_enable_gperf=yes - ;; - no) - ace_user_enable_gperf=no - ;; - *) - as_fn_error $? "bad value ${withval} for --with-gperf" "$LINENO" 5 - ;; - esac - -else - - ace_user_enable_gperf=yes - -fi - - if test "$ace_user_enable_gperf" = yes; then - $as_echo "#define ACE_HAS_GPERF 1" >>confdefs.h - - if test -n "$GPERF"; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gperf program already exists" >&5 -$as_echo "$as_me: WARNING: gperf program already exists" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: existing gperf may be overwritten during installation" >&5 -$as_echo "$as_me: WARNING: existing gperf may be overwritten during installation" >&2;} - -fi - fi - if test X$ace_user_enable_gperf = Xyes; then - BUILD_GPERF_TRUE= - BUILD_GPERF_FALSE='#' -else - BUILD_GPERF_TRUE='#' - BUILD_GPERF_FALSE= -fi - - - # Check whether --enable-qos was given. -if test "${enable_qos+set}" = set; then : - enableval=$enable_qos; case "${enableval}" in - yes) - ace_cv_user_enable_qos=yes - ;; - no) - ace_cv_user_enable_qos=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-qos" "$LINENO" 5 - ;; - esac -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to compile/use the ACE_QoS library" >&5 -$as_echo_n "checking whether to compile/use the ACE_QoS library... " >&6; } -if ${ace_cv_user_enable_qos+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_user_enable_qos=no -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_user_enable_qos" >&5 -$as_echo "$ace_cv_user_enable_qos" >&6; } - if test X$ace_cv_user_enable_qos = Xyes; then - BUILD_QOS_TRUE= - BUILD_QOS_FALSE='#' -else - BUILD_QOS_TRUE='#' - BUILD_QOS_FALSE= -fi - - - -# Check whether --enable-ssl was given. -if test "${enable_ssl+set}" = set; then : - enableval=$enable_ssl; case "${enableval}" in - yes) - ace_cv_user_enable_ssl=yes - ;; - no) - ace_cv_user_enable_ssl=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-ssl" "$LINENO" 5 - ;; - esac -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to compile/use the ACE_SSL library" >&5 -$as_echo_n "checking whether to compile/use the ACE_SSL library... " >&6; } -if ${ace_cv_user_enable_ssl+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_user_enable_ssl=yes -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_user_enable_ssl" >&5 -$as_echo "$ace_cv_user_enable_ssl" >&6; } - if test X$ace_cv_user_enable_ssl = Xyes; then - BUILD_SSL_TRUE= - BUILD_SSL_FALSE='#' -else - BUILD_SSL_TRUE='#' - BUILD_SSL_FALSE= -fi - - - # Check whether --enable-acexml was given. -if test "${enable_acexml+set}" = set; then : - enableval=$enable_acexml; case "${enableval}" in - yes) - ace_cv_user_enable_acexml=yes - ;; - no) - ace_cv_user_enable_acexml=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-acexml" "$LINENO" 5 - ;; - esac -else - - ace_cv_user_enable_acexml=yes - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to compile/use the ACEXML library" >&5 -$as_echo_n "checking whether to compile/use the ACEXML library... " >&6; } -if ${ace_cv_user_enable_acexml+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_user_enable_acexml=yes -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_user_enable_acexml" >&5 -$as_echo "$ace_cv_user_enable_acexml" >&6; } - if test X$ace_cv_user_enable_acexml = Xyes; then - BUILD_ACEXML_TRUE= - BUILD_ACEXML_FALSE='#' -else - BUILD_ACEXML_TRUE='#' - BUILD_ACEXML_FALSE= -fi - - - - -# Check whether --with-tao was given. -if test "${with_tao+set}" = set; then : - withval=$with_tao; - case "${withval}" in - yes) - ace_user_with_tao=yes - ;; - no) - ace_user_with_tao=no - ;; - *) - as_fn_error $? "bad value ${withval} for --with-tao" "$LINENO" 5 - ;; - esac - -else - - ace_user_with_tao=yes - -fi - - - -# Check whether --with-tli-device was given. -if test "${with_tli_device+set}" = set; then : - withval=$with_tli_device; - case "${withval}" in - yes) - as_fn_error $? "Specify the TLI/TCP device if you use this option." "$LINENO" 5 - ;; - no) - ;; - *) - if test -e "${withval}"; then - cat >>confdefs.h <<_ACEOF -#define ACE_TLI_TCP_DEVICE "${withval}" -_ACEOF - - else - as_fn_error $? "TLI/TCP device ${withval} does not exist." "$LINENO" 5 - fi - ;; - esac - -fi - - - # Check whether --enable-reentrant was given. -if test "${enable_reentrant+set}" = set; then : - enableval=$enable_reentrant; - case "${enableval}" in - yes) - ace_user_enable_reentrant_funcs=yes - ;; - no) - ace_user_enable_reentrant_funcs=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-reentrant" "$LINENO" 5 - ;; - esac - -else - - ace_user_enable_reentrant_funcs=yes - -fi - - - # Check whether --enable-ace-cdr-swap-on-read was given. -if test "${enable_ace_cdr_swap_on_read+set}" = set; then : - enableval=$enable_ace_cdr_swap_on_read; case "${enableval}" in - yes) - ace_user_cdr_swap_on_read=yes - ;; - no) - ace_user_cdr_swap_on_read=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-ace-cdr-swap-on-read" "$LINENO" 5 - ;; - esac -else - - ace_user_cdr_swap_on_read=yes - -fi - -if test X$ace_user_cdr_swap_on_read = Xno; then - -$as_echo "#define ACE_DISABLE_SWAP_ON_READ 1" >>confdefs.h - -fi - - # Check whether --enable-ace-cdr-swap-on-write was given. -if test "${enable_ace_cdr_swap_on_write+set}" = set; then : - enableval=$enable_ace_cdr_swap_on_write; case "${enableval}" in - yes) - ace_user_cdr_swap_on_write=yes - ;; - no) - ace_user_cdr_swap_on_write=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-ace-cdr-swap-on-write" "$LINENO" 5 - ;; - esac -else - - ace_user_cdr_swap_on_write=no - -fi - -if test X$ace_user_cdr_swap_on_write = Xyes; then - -$as_echo "#define ACE_ENABLE_SWAP_ON_WRITE 1" >>confdefs.h - -fi - - # Check whether --enable-ace-cdr-alignment was given. -if test "${enable_ace_cdr_alignment+set}" = set; then : - enableval=$enable_ace_cdr_alignment; case "${enableval}" in - yes) - ace_user_cdr_alignment=yes - ;; - no) - ace_user_cdr_alignment=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-ace-cdr-alignment" "$LINENO" 5 - ;; - esac -else - - ace_user_cdr_alignment=yes - -fi - -if test X$ace_user_cdr_alignment = Xno; then - -$as_echo "#define ACE_LACKS_CDR_ALIGNMENT 1" >>confdefs.h - -fi - - # Check whether --enable-ace-reactor-notification-queue was given. -if test "${enable_ace_reactor_notification_queue+set}" = set; then : - enableval=$enable_ace_reactor_notification_queue; case "${enableval}" in - yes) - ace_user_reactor_notification_queue=yes - ;; - no) - ace_user_reactor_notification_queue=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-ace-reactor-notification-queue" "$LINENO" 5 - ;; - esac -else - - ace_user_reactor_notification_queue=no - -fi - -if test X$ace_user_reactor_notification_queue = Xyes; then - -$as_echo "#define ACE_HAS_REACTOR_NOTIFICATION_QUEUE 1" >>confdefs.h - -fi - - # Check whether --enable-ace-strdup-emulation was given. -if test "${enable_ace_strdup_emulation+set}" = set; then : - enableval=$enable_ace_strdup_emulation; case "${enableval}" in - yes) - ace_user_strdup_emulation=yes - ;; - no) - ace_user_strdup_emulation=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-ace-strdup-emulation" "$LINENO" 5 - ;; - esac -else - - ace_user_strdup_emulation=no - -fi - -if test X$ace_user_strdup_emulation = Xyes; then - -$as_echo "#define ACE_HAS_STRDUP_EMULATION 1" >>confdefs.h - -fi - - # Check whether --enable-ace-wcsdup-emulation was given. -if test "${enable_ace_wcsdup_emulation+set}" = set; then : - enableval=$enable_ace_wcsdup_emulation; case "${enableval}" in - yes) - ace_user_wcsdup_emulation=yes - ;; - no) - ace_user_wcsdup_emulation=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-ace-wcsdup-emulation" "$LINENO" 5 - ;; - esac -else - - ace_user_wcsdup_emulation=no - -fi - -if test X$ace_user_wcsdup_emulation = Xyes; then - -$as_echo "#define ACE_HAS_WCSDUP_EMULATION 1" >>confdefs.h - -fi - - - - # Check whether --enable-debug was given. -if test "${enable_debug+set}" = set; then : - enableval=$enable_debug; - case "${enableval}" in - yes) - ACE_CXXFLAGS="$ACE_CXXFLAGS $DCXXFLAGS" - ;; - no) - $as_echo "#define ACE_NDEBUG 1" >>confdefs.h - - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 - ;; - esac - -fi - - - # Check whether --enable-exceptions was given. -if test "${enable_exceptions+set}" = set; then : - enableval=$enable_exceptions; - case "${enableval}" in - yes) - ace_user_enable_exceptions=yes - ;; - no) - ace_user_enable_exceptions=no - if test "$GXX" = yes; then - if $CXX --version | $EGREP -v '^2\.[0-7]' > /dev/null; then - ACE_CXXFLAGS="$ACE_CXXFLAGS -fno-exceptions" - fi - fi - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-exceptions" "$LINENO" 5 - ;; - esac - -else - - ace_user_enable_exceptions=yes - - -fi - - if test X$ace_user_enable_exceptions = Xyes; then - BUILD_EXCEPTIONS_TRUE= - BUILD_EXCEPTIONS_FALSE='#' -else - BUILD_EXCEPTIONS_TRUE='#' - BUILD_EXCEPTIONS_FALSE= -fi - - - # Check whether --enable-fast was given. -if test "${enable_fast+set}" = set; then : - enableval=$enable_fast; - case "${enableval}" in - yes) - ACE_CXXFLAGS="$ACE_CXXFLAGS -fast" - ACE_CFLAGS="$ACE_CFLAGS -fast" - ;; - no) - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-fast" "$LINENO" 5 - ;; - esac - -fi - - - # Check whether --enable-ipo was given. -if test "${enable_ipo+set}" = set; then : - enableval=$enable_ipo; - case "${enableval}" in - yes) - ACE_CXXFLAGS="$ACE_CXXFLAGS -ipo" - ACE_CFLAGS="$ACE_CFLAGS -ipo" - ;; - no) - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-ipo" "$LINENO" 5 - ;; - esac - -fi - - - # Check whether --enable-inline was given. -if test "${enable_inline+set}" = set; then : - enableval=$enable_inline; - case "${enableval}" in - yes) - $as_echo "#define __ACE_INLINE__ 1" >>confdefs.h - - ;; - no) - $as_echo "#define ACE_NO_INLINE 1" >>confdefs.h - - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-inline" "$LINENO" 5 - ;; - esac - -else - - $as_echo "#define __ACE_INLINE__ 1" >>confdefs.h - - -fi - - - # Check whether --enable-optimize was given. -if test "${enable_optimize+set}" = set; then : - enableval=$enable_optimize; - case "${enableval}" in - yes) - ace_user_enable_optimize=yes - ;; - no) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Optimization configure support not fully implemented yet." >&5 -$as_echo "$as_me: WARNING: Optimization configure support not fully implemented yet." >&2;} - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-optimize" "$LINENO" 5 - ;; - esac - -else - - ace_user_enable_optimize=yes - -fi - - - - # Check whether --enable-profile was given. -if test "${enable_profile+set}" = set; then : - enableval=$enable_profile; - case "${enableval}" in - yes) - if test -z "$PROF"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No profiling program found. Assuming 'prof' exists." >&5 -$as_echo "$as_me: WARNING: No profiling program found. Assuming 'prof' exists." >&2;} - ACE_CXXFLAGS="$ACE_CXXFLAGS -p" - ACE_CFLAGS="$ACE_CFLAGS -p" - else - case "$PROF" in - gprof) - echo "Building with 'gprof' support" - ACE_CXXFLAGS="$ACE_CXXFLAGS -pg" - ACE_CFLAGS="$ACE_CFLAGS -pg" - ;; - prof) - echo "Building with 'prof' support" - ACE_CXXFLAGS="$ACE_CXXFLAGS -p" - ACE_CFLAGS="$ACE_CFLAGS -p" - ;; - *) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming 'prof' exists." >&5 -$as_echo "$as_me: WARNING: Assuming 'prof' exists." >&2;} - ACE_CXXFLAGS="$ACE_CXXFLAGS -p" - ACE_CFLAGS="$ACE_CFLAGS -p" - ;; - esac - fi - ;; - no) - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-profile" "$LINENO" 5 - ;; - esac - -fi - - - # Check whether --enable-purify was given. -if test "${enable_purify+set}" = set; then : - enableval=$enable_purify; - case "${enableval}" in - yes) - # Extract the first word of "purify", so it can be a program name with args. -set dummy purify; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_PURIFY+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$PURIFY"; then - ac_cv_prog_PURIFY="$PURIFY" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_PURIFY="purify" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -PURIFY=$ac_cv_prog_PURIFY -if test -n "$PURIFY"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PURIFY" >&5 -$as_echo "$PURIFY" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - if test -n "$PURIFY"; then - PURE_CACHE_BASE_DIR=/tmp/purifycache - PURE_CACHE_DIR="${PURE_CACHE_BASE_DIR}-${LOGNAME}" - PURE_CACHE_DIR="${PURE_CACHE_DIR}-"`basename $CXX` - PURELINK="$PURIFY -best-effort -chain-length=20 -cache-dir=$PURE_CACHE_DIR -fds-inuse-at-exit=no -inuse-at-exit -max_threads=100" - ACE_PURIFY_DIR=`type purify | sed -e 's/.* is //' -e 's%/purify'` - ACE_CPPFLAGS="-DACE_HAS_PURIFY -I$ACE_PURIFY_DIR" - else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Purify program was not found." >&5 -$as_echo "$as_me: WARNING: Purify program was not found." >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling purify support." >&5 -$as_echo "$as_me: WARNING: Disabling purify support." >&2;} - fi - ;; - no) - PURELINK="" - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-purify" "$LINENO" 5 - ;; - esac - -else - PURELINK="" -fi - - - # Check whether --enable-quantify was given. -if test "${enable_quantify+set}" = set; then : - enableval=$enable_quantify; - case "${enableval}" in - yes) - # Extract the first word of "quantify", so it can be a program name with args. -set dummy quantify; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_QUANTIFY+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$QUANTIFY"; then - ac_cv_prog_QUANTIFY="$QUANTIFY" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_QUANTIFY="quantify" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -QUANTIFY=$ac_cv_prog_QUANTIFY -if test -n "$QUANTIFY"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QUANTIFY" >&5 -$as_echo "$QUANTIFY" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - if test -n "$QUANTIFY"; then - PURE_CACHE_BASE_DIR=/tmp/purifycache - PURE_CACHE_DIR="${PURE_CACHE_BASE_DIR}-${LOGNAME}" - PURE_CACHE_DIR="${PURE_CACHE_DIR}-"`basename $CXX` - - PRELINK="$QUANTIFY -best-effort -max_threads=100 -cache-dir=$PURE_CACHE_DIR" - ACE_QUANTIFY_DIR=`type quantify | sed -e 's/.* is //' -e 's%/quantify$$%%'` - ACE_CPPFLAGS="-DACE_HAS_QUANTIFY -I$ACE_QUANTIFY_DIR" - else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Quantify program was not found." >&5 -$as_echo "$as_me: WARNING: Quantify program was not found." >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling quantify support." >&5 -$as_echo "$as_me: WARNING: Disabling quantify support." >&2;} - fi - ;; - no) - PRELINK="" - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-quantify" "$LINENO" 5 - ;; - esac - -else - PRELINK="" -fi - - - # Check whether --enable-repo was given. -if test "${enable_repo+set}" = set; then : - enableval=$enable_repo; - case "${enableval}" in - yes) - if test "$GXX" = yes; then - ace_user_enable_repo=yes - ACE_CXXFLAGS="$ACE_CXXFLAGS -frepo" - $as_echo "#define ACE_HAS_GNU_REPO 1" >>confdefs.h - - else - ace_user_enable_repo=no - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not using GNU C++! GNU template respository disabled." >&5 -$as_echo "$as_me: WARNING: Not using GNU C++! GNU template respository disabled." >&2;} - fi - ;; - no) - ace_user_enable_repo=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-repo" "$LINENO" 5 - ;; - esac - -else - - ace_user_enable_repo=no - -fi - - - # Check whether --enable-stdcpplib was given. -if test "${enable_stdcpplib+set}" = set; then : - enableval=$enable_stdcpplib; - case "${enableval}" in - yes) - ace_user_enable_stdcpplib=yes - ;; - no) - ace_user_enable_stdcpplib=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-stdcpplib" "$LINENO" 5 - ;; - esac - -else - - ace_user_enable_stdcpplib=yes - -fi - - - # Check whether --enable-uses-wchar was given. -if test "${enable_uses_wchar+set}" = set; then : - enableval=$enable_uses_wchar; case "${enableval}" in - yes) - $as_echo "#define ACE_USES_WCHAR 1" >>confdefs.h - - ace_cv_user_enable_wide_char=yes - ;; - no) - ace_cv_user_enable_wide_char=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-uses-wchar" "$LINENO" 5 - ;; - esac -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use wide characters internally" >&5 -$as_echo_n "checking whether to use wide characters internally... " >&6; } -if ${ace_cv_user_enable_wide_char+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_user_enable_wide_char=no -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_user_enable_wide_char" >&5 -$as_echo "$ace_cv_user_enable_wide_char" >&6; } - if test X$ace_cv_user_enable_wide_char = Xyes; then - BUILD_USES_WCHAR_TRUE= - BUILD_USES_WCHAR_FALSE='#' -else - BUILD_USES_WCHAR_TRUE='#' - BUILD_USES_WCHAR_FALSE= -fi - - - - -# Autoconf's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! -# Libtool's setup macro calls AC_OBJEXT and AC_EXEEXT without setting -# the test language to C. We do it before any libtool setup macros are -# called so that the proper values are cached beforehand. We also do -# it before any linker flags (LDFLAGS) are set so that C++ specific -# ones don't break the tests. - - - - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - - - - ACE_GXX_MAJOR_VERSION=0 - - if test "$GXX" = yes; then - ACE_GXX_MAJOR_VERSION=`$CXX -dumpversion | sed -e 's/\..*$//'` - - - if test "$ACE_GXX_MAJOR_VERSION -ge 3"; then - if test "$ace_user_enable_exceptions" != yes; then - ACE_CXXFLAGS="$ACE_CXXFLAGS -fcheck-new" - fi - else - case `$CXX --version` in - 2.9*) - if test "$ace_user_enable_exceptions" != yes; then - ACE_CXXFLAGS="$ACE_CXXFLAGS -fcheck-new" - fi - ;; - esac - fi - fi - - - if test "$GXX" = yes; then - WERROR="-Werror" - fi - - case "$host" in - *aix*) - AIX_VERS=`uname -v`0`uname -r` - ACE_CPPFLAGS="$ACE_CPPFLAGS -DACE_AIX_VERS=$AIX_VERS" - - case "$CXX" in - xlC*) - CXXFLAGS="$CXXFLAGS -qrtti=all" - TEMPLATE_OPTION='-qnotempinc -qnotemplateregistry -DACE_TEMPLATES_REQUIRE_SOURCE' - ACE_CXXFLAGS="$ACE_CXXFLAGS $TEMPLATE_OPTION" - DCXXFLAGS="-g -qcheck=nobounds:div:null" - OCXXFLAGS="-qlibansi -qarch=com" - CPPFLAGS="$CPPFLAGS" - # Use -qhalt=i to cause the compiler to signal failure on any - # diagnostic when converting warnings to errors. This helps to - # find that #pragma once is invalid, even though xlC only triggers - # an informational message, not a warning. - WERROR="-qhalt=i" - ;; - *) - if test "$GXX" = yes; then - ACE_CXXFLAGS="-mcpu=common" - fi - ;; - esac - ;; - *chorus*) - ;; - *cray*) - ;; - *dgux*) - case "$CXX" in - ec++) - CXXFLAGS="$CXXFLAGS" - ACE_CXXFLAGS="$ACE_CXXFLAGS -relax -v -eh" - DCXXFLAGS="-g" - OCXXFLAGS="" - ;; - *) - if test "$GXX" = yes; then - ACE_CXXFLAGS="$ACE_CXXFLAGS" - fi - ;; - esac - ;; - *freebsd*) - ;; - *hpux*) - # In case anything here or in the config depends on OS - # version number, grab it here and pass it all to the - # compiler as well. - OSVERS=`uname -r | $AWK 'BEGIN{FS=".";OFS="";}{print $2,$3}' -` - ACE_CPPFLAGS="$ACE_CPPFLAGS -DHPUX_VERS=$OSVERS" - - # HP-UX OS version specific settings. - case "$host" in - *hpux11*) -# aCC's "-mt" flag detected by the configure script should already set -# the appropriate preprocessor, compiler and linker flags. -# if test "$ace_user_enable_threads" = yes; then -# # Prefer kernel threads over CMA (user) threads. -# ACE_CPPFLAGS="$ACE_CPPFLAGS -D_POSIX_C_SOURCE=199506L" -# fi - ;; - esac - - # HP-UX compiler specific settings. - case "$CXX" in - CC) - CXXFLAGS="$CXXFLAGS -pta -ti,/bin/true -tr,/bin/true" - ACE_CXXFLAGS="$ACE_CXXFLAGS -Aa -z +a1" - DCXXFLAGS="-g" - OCXXFLAGS="" - ;; - aCC) - CFLAGS = "${CFLAGS:-} -Ae" - # -AA has been available since aC++ x.27 (2001?) - if using a - # compiler without this support, must --enable_stdcpplib=no. - if test "$ace_user_enable_stdcpplib" = yes; then - CXXFLAGS="$CXXFLAGS -AA" - fi - # Warning 930 is spurious when new(std::nothrow) is - # used. Reported to HP as support call 3201224717. (Steve - # Huston, 23-Nov-2002) - # - # Suppress warning 302 ((...) parameter list is a - # non-portable feature) - # - # Additionally, on HP-UX 10.20, suppress 495 to shut up the - # warnings from the system header files. 667 is also - # suppressed, but the compiler still tells you there was a - # future error, but at least you can pick out any real errors - # by quickly scanning the output. 829 is suppressed because - # the system headers have offending string literals assigned - # to char *. - ACE_CXXFLAGS="$ACE_CXXFLAGS +W302,495,667,829,908,930" - DCXXFLAGS="-g" - OCXXFLAGS="-O" - # Warning 67: Invalid pragma name -- needed for - # ACE_LACKS_PRAGMA_ONCE - WERROR="+We67 +p +We" - - # If exception support is explicitly disabled, tell the - # compiler. This is not recommended since the run-time - # library can throw exceptions. - if test "$ace_user_enable_exceptions" != yes; then - ACE_CXXFLAGS="$ACE_CXXFLAGS +noeh" - fi - ;; - *) - if test "$GXX" = yes; then - ACE_CXXFLAGS="$ACE_CXXFLAGS -w" - fi - ;; - esac - ;; - *irix5*) - case "$CXX" in - CC) - CXXFLAGS="$CXXFLAGS -ptused -prelink +pp -woff 3203,3209,3161,3262,3665" - ACE_CXXFLAGS="$ACE_CXXFLAGS " - DCXXFLAGS="-g" - OCXXFLAGS="" - ;; - *) - ;; - esac - ;; - *irix6*) - case "$CXX" in - CC) - CPPFLAGS="$CPPFLAGS -D_SGI_MP_SOURCE" - CXXFLAGS="$CXXFLAGS -exceptions -ptnone -no_prelink -Wl,-woff,15 -Wl,-woff,84 -Wl,-woff,85 -Wl,-woff,133" - ACE_CXXFLAGS="$ACE_CXXFLAGS " - DCXXFLAGS="-g" - OCXXFLAGS="-O -OPT:Olimit=0" - ;; - esac - ;; - *linux*) - case "$CXX" in - *icpc|*icc) - CXXFLAGS="$CXXFLAGS -i-dynamic -w1" - ACE_CXXFLAGS="$ACE_CXXFLAGS" - DCXXFLAGS="$DCXXFLAGS" - WERROR="-Werror -wr -Wall" - ;; - *) - if test "$GXX" = yes; then - CXXFLAGS="$CXXFLAGS" - ACE_CXXFLAGS="$ACE_CXXFLAGS" - DCXXFLAGS="$DCXXFLAGS" - OCXXFLAGS="-O3" - fi - ;; - esac - ;; - *lynxos*) - ;; - *m88k*) - ;; - *mvs*) - ;; - *netbsd*) - ;; - *osf*) - ;; - *psos*) - ;; - *sco*) - ;; - *sunos4*) - ;; - *solaris2*) - case "$CXX" in - CC) - WERROR="-xwe" - - if test "$ace_user_enable_exceptions" != yes; then - CXXFLAGS="$CXXFLAGS -noex" - fi - - if (CC -V 2>&1 | $EGREP 'Compilers 4\.2' > /dev/null); then - CXXFLAGS="$CXXFLAGS -features=castop -features=rtti" - fi - - if (CC -V 2>&1 | $EGREP 'Compilers 5\.0' > /dev/null); then - if test "$ace_user_enable_stdcpplib" = yes; then - CXXFLAGS="$CXXFLAGS -library=Cstd" - else - CXXFLAGS="$CXXFLAGS -library=iostream,no%Cstd" - $as_echo "#define ACE_USES_OLD_IOSTREAMS 1" >>confdefs.h - - fi - - $as_echo "#define ACE_LACKS_INLINE_FUNCTIONS 1" >>confdefs.h - - - if test "$ace_user_enable_exceptions" != yes; then - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_RWSTD_NO_EXCEPTIONS" - fi - - CXXFLAGS="$CXXFLAGS -instances=explicit" - fi - - CXXFLAGS="$CXXFLAGS" - ACE_CXXFLAGS="$ACE_CXXFLAGS" - DCXXFLAGS="$DCXXFLAGS -g" - OCXXFLAGS="$OCXXFLAGS -O" - ;; - esac - ;; - *tandem*) - ;; - *unixware*) - ;; - *vxworks*) - ;; - *) - CXXFLAGS="$CXXFLAGS" - ACE_CXXFLAGS="$ACE_CXXFLAGS" - DCXXFLAGS="-g" - OCXXFLAGS="-O" - ;; - esac - - if test "$GCC" = yes; then - ACE_CFLAGS="$ACE_CFLAGS -W -Wall -Wpointer-arith" - fi - if test "$GXX" = yes; then - ACE_CXXFLAGS="$ACE_CXXFLAGS -W -Wall -Wpointer-arith" - fi - - if test "$GXX" = yes; then - - # Check whether --enable-symbol-visibility was given. -if test "${enable_symbol_visibility+set}" = set; then : - enableval=$enable_symbol_visibility; - case "${enableval}" in - yes) - ace_user_enable_symbol_visibility=yes - ;; - no) - ace_user_enable_symbol_visibility=no - ;; - *) - as_fn_error $? "bad value ${enableval} for --enable-symbol-visibility" "$LINENO" 5 - ;; - esac - -else - - ace_user_enable_symbol_visibility=no - -fi - - - if test "$ace_user_enable_symbol_visibility" = yes; then - -as_VAR=`$as_echo "'ace_cv_cxxflag_fvisibility=hidden'" | $as_tr_sh` - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports -fvisibility=hidden" >&5 -$as_echo_n "checking whether $CXX supports -fvisibility=hidden... " >&6; } - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - -ace_save_CXXFLAGS=$CXXFLAGS -CXXFLAGS="$CXXFLAGS -fvisibility=hidden" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -return 0 - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - $as_VAR=yes -else - $as_VAR=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -CXXFLAGS=$ace_save_CXXFLAGS -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - -if test $$as_VAR = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - - ACE_CXXFLAGS="$ACE_CXXFLAGS -fvisibility=hidden" - $as_echo "#define ACE_HAS_CUSTOM_EXPORT_MACROS 1" >>confdefs.h - - $as_echo "#define ACE_Proper_Export_Flag __attribute__ ((visibility(\"default\")))" >>confdefs.h - - -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -fi - - - -as_VAR=`$as_echo "'ace_cv_cxxflag_fvisibility-inlines-hidden'" | $as_tr_sh` - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports -fvisibility-inlines-hidden" >&5 -$as_echo_n "checking whether $CXX supports -fvisibility-inlines-hidden... " >&6; } - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - -ace_save_CXXFLAGS=$CXXFLAGS -CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -return 0 - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - $as_VAR=yes -else - $as_VAR=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -CXXFLAGS=$ace_save_CXXFLAGS -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - -if test $$as_VAR = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - - ACE_CXXFLAGS="$ACE_CXXFLAGS -fvisibility-inlines-hidden" - -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -fi - - - fi - fi - - if test "$GXX" = yes; then - case `$CXX --version` in - 2.9*) - if test "$ace_user_enable_exceptions" != yes; then - ACE_CXXFLAGS="$ACE_CXXFLAGS -fcheck-new" - fi - ;; - esac - - fi - - - - - -case "$host" in - *osf3.2*) - LIBS="$LIBS -lmach -lsys5 -lcxx -lc" - ;; - *osf4.0* | *osf5.0*) - LIBS="$LIBS -lmach" - ;; - *psos*) - LIBS="$LIBS -lm" - ;; -esac - - - - - -xt_reactor_go=no - -if test "$ace_user_enable_xt_reactor" = yes; then -XTREACTOR_TEST_XLIBS="" - T_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $X_LIBS" - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmCreateRowColumn in -lXm" >&5 -$as_echo_n "checking for XmCreateRowColumn in -lXm... " >&6; } -if ${ac_cv_lib_Xm_XmCreateRowColumn+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lXm -lXt $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 XmCreateRowColumn (); -int -main () -{ -return XmCreateRowColumn (); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_lib_Xm_XmCreateRowColumn=yes -else - ac_cv_lib_Xm_XmCreateRowColumn=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_XmCreateRowColumn" >&5 -$as_echo "$ac_cv_lib_Xm_XmCreateRowColumn" >&6; } -if test "x$ac_cv_lib_Xm_XmCreateRowColumn" = xyes; then : - - $as_echo "#define ACE_HAS_XT 1" >>confdefs.h - - XTREACTOR_TEST_XLIBS="-lXm" - xt_reactor_go=yes - -else - - $as_echo "#define ACE_LACKS_MOTIF 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XawInitializeWidgetSet in -lXaw" >&5 -$as_echo_n "checking for XawInitializeWidgetSet in -lXaw... " >&6; } -if ${ac_cv_lib_Xaw_XawInitializeWidgetSet+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lXaw -lXmu $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 XawInitializeWidgetSet (); -int -main () -{ -return XawInitializeWidgetSet (); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_lib_Xaw_XawInitializeWidgetSet=yes -else - ac_cv_lib_Xaw_XawInitializeWidgetSet=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xaw_XawInitializeWidgetSet" >&5 -$as_echo "$ac_cv_lib_Xaw_XawInitializeWidgetSet" >&6; } -if test "x$ac_cv_lib_Xaw_XawInitializeWidgetSet" = xyes; then : - - $as_echo "#define ACE_HAS_XT 1" >>confdefs.h - - XTREACTOR_TEST_XLIBS="-lXaw -lXmu" - xt_reactor_go=yes - -else - - xt_reactor_go=no - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No usable X widget libraries were found." >&5 -$as_echo "$as_me: WARNING: No usable X widget libraries were found." >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XtReactor support will be disabled." >&5 -$as_echo "$as_me: WARNING: XtReactor support will be disabled." >&2;} - -fi - - -fi - - - - - LDFLAGS="$T_LDFLAGS" - -fi - if test X$xt_reactor_go = Xyes; then - COMPILE_XTREACTOR_TEST_TRUE= - COMPILE_XTREACTOR_TEST_FALSE='#' -else - COMPILE_XTREACTOR_TEST_TRUE='#' - COMPILE_XTREACTOR_TEST_FALSE= -fi - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 -$as_echo_n "checking for library containing dlopen... " >&6; } -if ${ac_cv_search_dlopen+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 dlopen (); -int -main () -{ -return dlopen (); - ; - return 0; -} -_ACEOF -for ac_lib in '' dl svld; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_search_dlopen=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_dlopen+:} false; then : - break -fi -done -if ${ac_cv_search_dlopen+:} false; then : - -else - ac_cv_search_dlopen=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 -$as_echo "$ac_cv_search_dlopen" >&6; } -ac_res=$ac_cv_search_dlopen -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - ace_has_svr4_dynamic_linking=yes -else - - ace_has_svr4_dynamic_linking=no - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_get in -ldld" >&5 -$as_echo_n "checking for shl_get in -ldld... " >&6; } -if ${ac_cv_lib_dld_shl_get+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldld $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 shl_get (); -int -main () -{ -return shl_get (); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_lib_dld_shl_get=yes -else - ac_cv_lib_dld_shl_get=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_get" >&5 -$as_echo "$ac_cv_lib_dld_shl_get" >&6; } -if test "x$ac_cv_lib_dld_shl_get" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBDLD 1 -_ACEOF - - LIBS="-ldld $LIBS" - -fi - - -fi - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getservbyname" >&5 -$as_echo_n "checking for library containing getservbyname... " >&6; } -if ${ac_cv_search_getservbyname+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 getservbyname (); -int -main () -{ -return getservbyname (); - ; - return 0; -} -_ACEOF -for ac_lib in '' socket xnet; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib -lnsl $ac_func_search_save_LIBS" - fi - if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_search_getservbyname=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_getservbyname+:} false; then : - break -fi -done -if ${ac_cv_search_getservbyname+:} false; then : - -else - ac_cv_search_getservbyname=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getservbyname" >&5 -$as_echo "$ac_cv_search_getservbyname" >&6; } -ac_res=$ac_cv_search_getservbyname -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -else - $as_echo "#define ACE_LACKS_GETSERVBYNAME 1" >>confdefs.h - -fi - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing compile" >&5 -$as_echo_n "checking for library containing compile... " >&6; } -if ${ac_cv_search_compile+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 compile (); -int -main () -{ -return compile (); - ; - return 0; -} -_ACEOF -for ac_lib in '' gen; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_search_compile=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_compile+:} false; then : - break -fi -done -if ${ac_cv_search_compile+:} false; then : - -else - ac_cv_search_compile=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_compile" >&5 -$as_echo "$ac_cv_search_compile" >&6; } -ac_res=$ac_cv_search_compile -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing exc_continue" >&5 -$as_echo_n "checking for library containing exc_continue... " >&6; } -if ${ac_cv_search_exc_continue+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 exc_continue (); -int -main () -{ -return exc_continue (); - ; - return 0; -} -_ACEOF -for ac_lib in '' exc; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_search_exc_continue=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_exc_continue+:} false; then : - break -fi -done -if ${ac_cv_search_exc_continue+:} false; then : - -else - ac_cv_search_exc_continue=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_exc_continue" >&5 -$as_echo "$ac_cv_search_exc_continue" >&6; } -ac_res=$ac_cv_search_exc_continue -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ctime_r" >&5 -$as_echo_n "checking for library containing ctime_r... " >&6; } -if ${ac_cv_search_ctime_r+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 ctime_r (); -int -main () -{ -return ctime_r (); - ; - return 0; -} -_ACEOF -for ac_lib in '' c_r; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_search_ctime_r=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_ctime_r+:} false; then : - break -fi -done -if ${ac_cv_search_ctime_r+:} false; then : - -else - ac_cv_search_ctime_r=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ctime_r" >&5 -$as_echo "$ac_cv_search_ctime_r" >&6; } -ac_res=$ac_cv_search_ctime_r -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing t_getprotaddr" >&5 -$as_echo_n "checking for library containing t_getprotaddr... " >&6; } -if ${ac_cv_search_t_getprotaddr+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 t_getprotaddr (); -int -main () -{ -return t_getprotaddr (); - ; - return 0; -} -_ACEOF -for ac_lib in '' xti nsl; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_search_t_getprotaddr=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_t_getprotaddr+:} false; then : - break -fi -done -if ${ac_cv_search_t_getprotaddr+:} false; then : - -else - ac_cv_search_t_getprotaddr=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_t_getprotaddr" >&5 -$as_echo "$ac_cv_search_t_getprotaddr" >&6; } -ac_res=$ac_cv_search_t_getprotaddr -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - ace_has_xti_funcs=yes -else - ace_has_xti_funcs=no -fi - -if test "$ace_has_xti_funcs" = no; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing t_accept" >&5 -$as_echo_n "checking for library containing t_accept... " >&6; } -if ${ac_cv_search_t_accept+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 t_accept (); -int -main () -{ -return t_accept (); - ; - return 0; -} -_ACEOF -for ac_lib in '' tli_r tli nsl; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_search_t_accept=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_t_accept+:} false; then : - break -fi -done -if ${ac_cv_search_t_accept+:} false; then : - -else - ac_cv_search_t_accept=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_t_accept" >&5 -$as_echo "$ac_cv_search_t_accept" >&6; } -ac_res=$ac_cv_search_t_accept -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - ace_has_tli_funcs=yes -else - ace_has_tli_funcs=no -fi - - -fi - -if test "$ace_user_enable_threads" = yes; then : - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler may need a command line thread flag" >&5 -$as_echo_n "checking if compiler may need a command line thread flag... " >&6; } - if ${ace_cv_feature_may_need_thread_flag+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ace_save_CXXFLAGS="$CXXFLAGS" - - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - - - if test "$cross_compiling" = yes; then : - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -extern "C" void * -ace_start_func (void *) -{ - return 0; -} - -int -main () -{ - - thread_t tid = 0; - - (void) thr_create (&tid, 0, ace_start_func, 0); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - ace_cv_feature_may_need_thread_flag=no - -else - - ace_cv_feature_may_need_thread_flag=yes - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#if ((THR_BOUND & THR_SUSPEND & THR_DETACHED) != 0) -# error This is a silly UI Threads implementation. -#endif - -extern "C" void * -ace_start_func (void *) -{ - mutex_t m; - mutex_init (&m, USYNC_THREAD, NULL); - mutex_lock (&m); - mutex_unlock (&m); - mutex_destroy (&m); - return 0; -} - -int -main () -{ - thread_t tid = 0; - - return thr_create (0, 0, ace_start_func, 0, 0, &tid); -} - -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - - ace_cv_feature_may_need_thread_flag=no - -else - - - if test "$cross_compiling" = yes; then : - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -extern "C" void * -ace_start_func (void *) -{ - return 0; -} - -int -main () -{ - - pthread_t tid = 0; - - (void) pthread_create (&tid, 0, ace_start_func, 0); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - ace_cv_feature_may_need_thread_flag=no - -else - - ace_cv_feature_may_need_thread_flag=yes - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -extern "C" void * -ace_start_func (void *) -{ - return 0; -} - -int -main () -{ - pthread_t tid = 0; - - return pthread_create (&tid, 0, ace_start_func, 0); -} - -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - - ace_cv_feature_may_need_thread_flag=no - -else - - ace_cv_feature_may_need_thread_flag=yes - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - - - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - - - CXXFLAGS="$ace_save_CXXFLAGS" - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_may_need_thread_flag" >&5 -$as_echo "$ace_cv_feature_may_need_thread_flag" >&6; } - if test "$ace_cv_feature_may_need_thread_flag" != no; then - ace_just_a_place_holder=fixme - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler thread flag" >&5 -$as_echo_n "checking for compiler thread flag... " >&6; } - if ${ace_cv_thread_flag_search+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ace_save_CXXFLAGS="$CXXFLAGS" - - for i in mt pthread pthreads mthreads threads Kthread kthread -thread_safe; do - CXXFLAGS="$CXXFLAGS -$i" - - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - - - if test "$cross_compiling" = yes; then : - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -extern "C" void * -ace_start_func (void *) -{ - return 0; -} - -int -main () -{ - - thread_t tid = 0; - - (void) thr_create (&tid, 0, ace_start_func, 0); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - ace_cv_thread_flag_search="-$i" - - break; - -else - - ace_cv_thread_flag_search=no - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#if ((THR_BOUND & THR_SUSPEND & THR_DETACHED) != 0) -# error This is a silly UI Threads implementation. -#endif - -extern "C" void * -ace_start_func (void *) -{ - mutex_t m; - mutex_init (&m, USYNC_THREAD, NULL); - mutex_lock (&m); - mutex_unlock (&m); - mutex_destroy (&m); - return 0; -} - -int -main () -{ - thread_t tid = 0; - - return thr_create (0, 0, ace_start_func, 0, 0, &tid); -} - -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - - ace_cv_thread_flag_search="-$i" - - break; - -else - - - if test "$cross_compiling" = yes; then : - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -extern "C" void * -ace_start_func (void *) -{ - return 0; -} - -int -main () -{ - - pthread_t tid = 0; - - (void) pthread_create (&tid, 0, ace_start_func, 0); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - ace_cv_thread_flag_search="-$i" - - break; - -else - - ace_cv_thread_flag_search=no - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -extern "C" void * -ace_start_func (void *) -{ - return 0; -} - -int -main () -{ - pthread_t tid = 0; - - return pthread_create (&tid, 0, ace_start_func, 0); -} - -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - - ace_cv_thread_flag_search="-$i" - - break; - -else - - ace_cv_thread_flag_search=no - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - - - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - - - - CXXFLAGS="$ace_save_CXXFLAGS" - done - - CXXFLAGS="$ace_save_CXXFLAGS" - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_thread_flag_search" >&5 -$as_echo "$ace_cv_thread_flag_search" >&6; } - if test "$ace_cv_thread_flag_search" != no; then - ace_just_a_place_holder=fixme - - CXXFLAGS="$CXXFLAGS $ace_cv_thread_flag_search" - - - - else - ace_just_a_place_holder=fixme - - - - - fi - - - - else - ace_just_a_place_holder=fixme - - - - fi - - - if test "$ace_user_enable_uithreads" = yes; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX International threads capability" >&5 -$as_echo_n "checking for UNIX International threads capability... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing mutex_lock" >&5 -$as_echo_n "checking for library containing mutex_lock... " >&6; } -if ${ac_cv_search_mutex_lock+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 mutex_lock (); -int -main () -{ -return mutex_lock (); - ; - return 0; -} -_ACEOF -for ac_lib in '' thread; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_search_mutex_lock=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_mutex_lock+:} false; then : - break -fi -done -if ${ac_cv_search_mutex_lock+:} false; then : - -else - ac_cv_search_mutex_lock=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mutex_lock" >&5 -$as_echo "$ac_cv_search_mutex_lock" >&6; } -ac_res=$ac_cv_search_mutex_lock -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - - ace_has_sthreads=yes - -$as_echo "#define ACE_HAS_STHREADS 1" >>confdefs.h - - -else - - ace_has_sthreads=no - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing rwlock_destroy" >&5 -$as_echo_n "checking for library containing rwlock_destroy... " >&6; } -if ${ac_cv_search_rwlock_destroy+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 rwlock_destroy (); -int -main () -{ -return rwlock_destroy (); - ; - return 0; -} -_ACEOF -for ac_lib in '' thread; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_search_rwlock_destroy=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_rwlock_destroy+:} false; then : - break -fi -done -if ${ac_cv_search_rwlock_destroy+:} false; then : - -else - ac_cv_search_rwlock_destroy=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_rwlock_destroy" >&5 -$as_echo "$ac_cv_search_rwlock_destroy" >&6; } -ac_res=$ac_cv_search_rwlock_destroy -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_has_sthreads" >&5 -$as_echo "$ace_has_sthreads" >&6; } - -fi - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#if !defined (_REENTRANT) && !defined (_THREAD_SAFE) -#error Neither _REENTRANT nor _THREAD_SAFE were defined. -THROW ME AN ERROR! -#endif - -int -main () -{ - - int a = 0; a++; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ACE_THR_CPPFLAGS= - -else - - ACE_THR_CPPFLAGS="-D_REENTRANT -D_THREAD_SAFE" - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - - ace_has_pthreads=no - if test "$ace_user_enable_pthreads" = yes; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX threads library" >&5 -$as_echo_n "checking for POSIX threads library... " >&6; } - - if test "$cross_compiling" = yes; then : - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -extern "C" void * -ace_start_func (void *) -{ - return 0; -} - -int -main () -{ - - pthread_t tid = 0; - - (void) pthread_create (&tid, 0, ace_start_func, 0); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - ace_has_pthreads=yes - -$as_echo "#define ACE_HAS_PTHREADS 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none required" >&5 -$as_echo "none required" >&6; } - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -extern "C" void * -ace_start_func (void *) -{ - return 0; -} - -int -main () -{ - pthread_t tid = 0; - - return pthread_create (&tid, 0, ace_start_func, 0); -} - -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - - ace_has_pthreads=yes - -$as_echo "#define ACE_HAS_PTHREADS 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none required" >&5 -$as_echo "none required" >&6; } - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - - - if test "$ace_has_pthreads" != yes; then : - - ace_posix_threads_search_LIBS="$LIBS" - for ace_p in pthread pthreads c_r gthreads; do - LIBS="-l$ace_p $ace_posix_threads_search_LIBS" - - if test "$cross_compiling" = yes; then : - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -extern "C" void * -ace_start_func (void *) -{ - return 0; -} - -int -main () -{ - - pthread_t tid = 0; - - (void) pthread_create (&tid, 0, ace_start_func, 0); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - ace_has_pthreads=yes - $as_echo "#define ACE_HAS_PTHREADS 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: -l$ace_p" >&5 -$as_echo "-l$ace_p" >&6; } - break - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -extern "C" void * -ace_start_func (void *) -{ - return 0; -} - -int -main () -{ - pthread_t tid = 0; - - return pthread_create (&tid, 0, ace_start_func, 0); -} - -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - - ace_has_pthreads=yes - $as_echo "#define ACE_HAS_PTHREADS 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: -l$ace_p" >&5 -$as_echo "-l$ace_p" >&6; } - break - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - - done - - if test "$ace_has_pthreads" != yes; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - LIBS="$ace_posix_threads_search_LIBS" - -fi - -fi - -else - - { $as_echo "$as_me:${as_lineno-$LINENO}: Pthreads disabled by user; not checking for it" >&5 -$as_echo "$as_me: Pthreads disabled by user; not checking for it" >&6;} - -fi - - if test "$ace_has_pthreads" != yes && test "$ace_has_sthreads" != yes; then : - - ace_user_enable_threads=no - -fi - - -fi - - - -# Check whether --enable-static was given. -if test "${enable_static+set}" = set; then : - enableval=$enable_static; p=${PACKAGE-default} - case $enableval in - yes) enable_static=yes ;; - no) enable_static=no ;; - *) - enable_static=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac -else - enable_static=no -fi - - - - - - - - - - -enable_dlopen=yes - - - - - - -case `pwd` in - *\ * | *\ *) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 -$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; -esac - - - -macro_version='2.2.6b' -macro_revision='1.3017' - - - - - - - - - - - - - -ltmain="$ac_aux_dir/ltmain.sh" - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - fi -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CC" && break -done - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -fi - -fi - - -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "no acceptable C compiler found in \$PATH -See \`config.log' for more details" "$LINENO" 5; } - -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - sed '10a\ -... rest of stderr output deleted ... - 10q' conftest.err >conftest.er1 - cat conftest.er1 >&5 - fi - rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if ${ac_cv_c_compiler_gnu+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - ac_compiler_gnu=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GCC=yes -else - GCC= -fi -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 -$as_echo_n "checking whether $CC accepts -g... " >&6; } -if ${ac_cv_prog_cc_g+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_save_c_werror_flag=$ac_c_werror_flag - ac_c_werror_flag=yes - ac_cv_prog_cc_g=no - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -else - CFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - -else - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if ${ac_cv_prog_cc_c89+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c89=no -ac_save_CC=$CC -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -struct stat; -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_c89=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac -if test "x$ac_cv_prog_cc_c89" != xno; then : - -fi - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - -depcc="$CC" am_compiler_list= - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if ${am_cv_CC_dependencies_compiler_type+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CC_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi - am__universal=false - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CC_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CC_dependencies_compiler_type=none -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type - - if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then - am__fastdepCC_TRUE= - am__fastdepCC_FALSE='#' -else - am__fastdepCC_TRUE='#' - am__fastdepCC_FALSE= -fi - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 -$as_echo_n "checking for a sed that does not truncate output... " >&6; } -if ${ac_cv_path_SED+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ - for ac_i in 1 2 3 4 5 6 7; do - ac_script="$ac_script$as_nl$ac_script" - done - echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed - { ac_script=; unset ac_script;} - if test -z "$SED"; then - ac_path_SED_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_SED" || continue -# Check for GNU ac_path_SED and select it if it is found. - # Check for GNU $ac_path_SED -case `"$ac_path_SED" --version 2>&1` in -*GNU*) - ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo '' >> "conftest.nl" - "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_SED_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_SED="$ac_path_SED" - ac_path_SED_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_SED_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_SED"; then - as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 - fi -else - ac_cv_path_SED=$SED -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 -$as_echo "$ac_cv_path_SED" >&6; } - SED="$ac_cv_path_SED" - rm -f conftest.sed - -test -z "$SED" && SED=sed -Xsed="$SED -e 1s/^X//" - - - - - - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 -$as_echo_n "checking for fgrep... " >&6; } -if ${ac_cv_path_FGREP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 - then ac_cv_path_FGREP="$GREP -F" - else - if test -z "$FGREP"; then - ac_path_FGREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in fgrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_FGREP" || continue -# Check for GNU ac_path_FGREP and select it if it is found. - # Check for GNU $ac_path_FGREP -case `"$ac_path_FGREP" --version 2>&1` in -*GNU*) - ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'FGREP' >> "conftest.nl" - "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_FGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_FGREP="$ac_path_FGREP" - ac_path_FGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_FGREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_FGREP"; then - as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_FGREP=$FGREP -fi - - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 -$as_echo "$ac_cv_path_FGREP" >&6; } - FGREP="$ac_cv_path_FGREP" - - -test -z "$GREP" && GREP=grep - - - - - - - - - - - - - - - - - - - -# Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then : - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -else - with_gnu_ld=no -fi - -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 -$as_echo_n "checking for ld used by $CC... " >&6; } - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [\\/]* | ?:[\\/]*) - re_direlt='/[^/][^/]*/\.\./' - # Canonicalize the pathname of ld - ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` - while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do - ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test "$with_gnu_ld" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -$as_echo_n "checking for GNU ld... " >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -$as_echo_n "checking for non-GNU ld... " >&6; } -fi -if ${lt_cv_path_LD+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$LD"; then - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - lt_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$lt_cv_path_LD" -v 2>&1 &5 -$as_echo "$LD" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi -test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if ${lt_cv_prog_gnu_ld+:} false; then : - $as_echo_n "(cached) " >&6 -else - # I'd rather use --version here, but apparently some GNU lds only accept -v. -case `$LD -v 2>&1 &5 -$as_echo "$lt_cv_prog_gnu_ld" >&6; } -with_gnu_ld=$lt_cv_prog_gnu_ld - - - - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 -$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } -if ${lt_cv_path_NM+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$NM"; then - # Let the user override the test. - lt_cv_path_NM="$NM" -else - lt_nm_to_check="${ac_tool_prefix}nm" - if test -n "$ac_tool_prefix" && test "$build" = "$host"; then - lt_nm_to_check="$lt_nm_to_check nm" - fi - for lt_tmp_nm in $lt_nm_to_check; do - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - tmp_nm="$ac_dir/$lt_tmp_nm" - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then - # Check to see if the nm accepts a BSD-compat flag. - # Adding the `sed 1q' prevents false positives on HP-UX, which says: - # nm: unknown option "B" ignored - # Tru64's nm complains that /dev/null is an invalid object file - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in - */dev/null* | *'Invalid file or object type'*) - lt_cv_path_NM="$tmp_nm -B" - break - ;; - *) - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in - */dev/null*) - lt_cv_path_NM="$tmp_nm -p" - break - ;; - *) - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags - ;; - esac - ;; - esac - fi - done - IFS="$lt_save_ifs" - done - : ${lt_cv_path_NM=no} -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 -$as_echo "$lt_cv_path_NM" >&6; } -if test "$lt_cv_path_NM" != "no"; then - NM="$lt_cv_path_NM" -else - # Didn't find any BSD compatible name lister, look for dumpbin. - if test -n "$ac_tool_prefix"; then - for ac_prog in "dumpbin -symbols" "link -dump -symbols" - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_DUMPBIN+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$DUMPBIN"; then - ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -DUMPBIN=$ac_cv_prog_DUMPBIN -if test -n "$DUMPBIN"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 -$as_echo "$DUMPBIN" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$DUMPBIN" && break - done -fi -if test -z "$DUMPBIN"; then - ac_ct_DUMPBIN=$DUMPBIN - for ac_prog in "dumpbin -symbols" "link -dump -symbols" -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_DUMPBIN"; then - ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN -if test -n "$ac_ct_DUMPBIN"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 -$as_echo "$ac_ct_DUMPBIN" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_DUMPBIN" && break -done - - if test "x$ac_ct_DUMPBIN" = x; then - DUMPBIN=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - DUMPBIN=$ac_ct_DUMPBIN - fi -fi - - - if test "$DUMPBIN" != ":"; then - NM="$DUMPBIN" - fi -fi -test -z "$NM" && NM=nm - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 -$as_echo_n "checking the name lister ($NM) interface... " >&6; } -if ${lt_cv_nm_interface+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_nm_interface="BSD nm" - echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:13532: $ac_compile\"" >&5) - (eval "$ac_compile" 2>conftest.err) - cat conftest.err >&5 - (eval echo "\"\$as_me:13535: $NM \\\"conftest.$ac_objext\\\"\"" >&5) - (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) - cat conftest.err >&5 - (eval echo "\"\$as_me:13538: output\"" >&5) - cat conftest.out >&5 - if $GREP 'External.*some_variable' conftest.out > /dev/null; then - lt_cv_nm_interface="MS dumpbin" - fi - rm -f conftest* -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 -$as_echo "$lt_cv_nm_interface" >&6; } - -# find the maximum length of command line arguments -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 -$as_echo_n "checking the maximum length of command line arguments... " >&6; } -if ${lt_cv_sys_max_cmd_len+:} false; then : - $as_echo_n "(cached) " >&6 -else - i=0 - teststring="ABCD" - - case $build_os in - msdosdjgpp*) - # On DJGPP, this test can blow up pretty badly due to problems in libc - # (any single argument exceeding 2000 bytes causes a buffer overrun - # during glob expansion). Even if it were fixed, the result of this - # check would be larger than it should be. - lt_cv_sys_max_cmd_len=12288; # 12K is about right - ;; - - gnu*) - # Under GNU Hurd, this test is not required because there is - # no limit to the length of command line arguments. - # Libtool will interpret -1 as no limit whatsoever - lt_cv_sys_max_cmd_len=-1; - ;; - - cygwin* | mingw* | cegcc*) - # On Win9x/ME, this test blows up -- it succeeds, but takes - # about 5 minutes as the teststring grows exponentially. - # Worse, since 9x/ME are not pre-emptively multitasking, - # you end up with a "frozen" computer, even though with patience - # the test eventually succeeds (with a max line length of 256k). - # Instead, let's just punt: use the minimum linelength reported by - # all of the supported platforms: 8192 (on NT/2K/XP). - lt_cv_sys_max_cmd_len=8192; - ;; - - amigaos*) - # On AmigaOS with pdksh, this test takes hours, literally. - # So we just punt and use a minimum line length of 8192. - lt_cv_sys_max_cmd_len=8192; - ;; - - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) - # This has been around since 386BSD, at least. Likely further. - if test -x /sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` - elif test -x /usr/sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` - else - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs - fi - # And add a safety zone - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - ;; - - interix*) - # We know the value 262144 and hardcode it with a safety zone (like BSD) - lt_cv_sys_max_cmd_len=196608 - ;; - - osf*) - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not - # nice to cause kernel panics so lets avoid the loop below. - # First set a reasonable default. - lt_cv_sys_max_cmd_len=16384 - # - if test -x /sbin/sysconfig; then - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in - *1*) lt_cv_sys_max_cmd_len=-1 ;; - esac - fi - ;; - sco3.2v5*) - lt_cv_sys_max_cmd_len=102400 - ;; - sysv5* | sco5v6* | sysv4.2uw2*) - kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` - if test -n "$kargmax"; then - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` - else - lt_cv_sys_max_cmd_len=32768 - fi - ;; - *) - lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` - if test -n "$lt_cv_sys_max_cmd_len"; then - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - else - # Make teststring a little bigger before we do anything with it. - # a 1K string should be a reasonable start. - for i in 1 2 3 4 5 6 7 8 ; do - teststring=$teststring$teststring - done - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} - # If test is not a shell built-in, we'll probably end up computing a - # maximum length that is only half of the actual maximum length, but - # we can't tell. - while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ - = "XX$teststring$teststring"; } >/dev/null 2>&1 && - test $i != 17 # 1/2 MB should be enough - do - i=`expr $i + 1` - teststring=$teststring$teststring - done - # Only check the string length outside the loop. - lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` - teststring= - # Add a significant safety factor because C++ compilers can tack on - # massive amounts of additional arguments before passing them to the - # linker. It appears as though 1/2 is a usable value. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` - fi - ;; - esac - -fi - -if test -n $lt_cv_sys_max_cmd_len ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 -$as_echo "$lt_cv_sys_max_cmd_len" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 -$as_echo "none" >&6; } -fi -max_cmd_len=$lt_cv_sys_max_cmd_len - - - - - - -: ${CP="cp -f"} -: ${MV="mv -f"} -: ${RM="rm -f"} - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 -$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } -# Try some XSI features -xsi_shell=no -( _lt_dummy="a/b/c" - test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ - = c,a/b,, \ - && eval 'test $(( 1 + 1 )) -eq 2 \ - && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ - && xsi_shell=yes -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 -$as_echo "$xsi_shell" >&6; } - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 -$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } -lt_shell_append=no -( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ - >/dev/null 2>&1 \ - && lt_shell_append=yes -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 -$as_echo "$lt_shell_append" >&6; } - - -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - lt_unset=unset -else - lt_unset=false -fi - - - - - -# test EBCDIC or ASCII -case `echo X|tr X '\101'` in - A) # ASCII based system - # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr - lt_SP2NL='tr \040 \012' - lt_NL2SP='tr \015\012 \040\040' - ;; - *) # EBCDIC based system - lt_SP2NL='tr \100 \n' - lt_NL2SP='tr \r\n \100\100' - ;; -esac - - - - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 -$as_echo_n "checking for $LD option to reload object files... " >&6; } -if ${lt_cv_ld_reload_flag+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_ld_reload_flag='-r' -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 -$as_echo "$lt_cv_ld_reload_flag" >&6; } -reload_flag=$lt_cv_ld_reload_flag -case $reload_flag in -"" | " "*) ;; -*) reload_flag=" $reload_flag" ;; -esac -reload_cmds='$LD$reload_flag -o $output$reload_objs' -case $host_os in - darwin*) - if test "$GCC" = yes; then - reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' - else - reload_cmds='$LD$reload_flag -o $output$reload_objs' - fi - ;; -esac - - - - - - - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. -set dummy ${ac_tool_prefix}objdump; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_OBJDUMP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$OBJDUMP"; then - ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -OBJDUMP=$ac_cv_prog_OBJDUMP -if test -n "$OBJDUMP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 -$as_echo "$OBJDUMP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_OBJDUMP"; then - ac_ct_OBJDUMP=$OBJDUMP - # Extract the first word of "objdump", so it can be a program name with args. -set dummy objdump; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_OBJDUMP"; then - ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_OBJDUMP="objdump" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP -if test -n "$ac_ct_OBJDUMP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 -$as_echo "$ac_ct_OBJDUMP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_OBJDUMP" = x; then - OBJDUMP="false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - OBJDUMP=$ac_ct_OBJDUMP - fi -else - OBJDUMP="$ac_cv_prog_OBJDUMP" -fi - -test -z "$OBJDUMP" && OBJDUMP=objdump - - - - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 -$as_echo_n "checking how to recognize dependent libraries... " >&6; } -if ${lt_cv_deplibs_check_method+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_file_magic_cmd='$MAGIC_CMD' -lt_cv_file_magic_test_file= -lt_cv_deplibs_check_method='unknown' -# Need to set the preceding variable on all platforms that support -# interlibrary dependencies. -# 'none' -- dependencies not supported. -# `unknown' -- same as none, but documents that we really don't know. -# 'pass_all' -- all dependencies passed with no checks. -# 'test_compile' -- check by making test program. -# 'file_magic [[regex]]' -- check by looking for files in library path -# which responds to the $file_magic_cmd with a given extended regex. -# If you have `file' or equivalent on your system and you're not sure -# whether `pass_all' will *always* work, you probably want this one. - -case $host_os in -aix[4-9]*) - lt_cv_deplibs_check_method=pass_all - ;; - -beos*) - lt_cv_deplibs_check_method=pass_all - ;; - -bsdi[45]*) - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' - lt_cv_file_magic_cmd='/usr/bin/file -L' - lt_cv_file_magic_test_file=/shlib/libc.so - ;; - -cygwin*) - # func_win32_libid is a shell function defined in ltmain.sh - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' - lt_cv_file_magic_cmd='func_win32_libid' - ;; - -mingw* | pw32*) - # Base MSYS/MinGW do not provide the 'file' command needed by - # func_win32_libid shell function, so use a weaker test based on 'objdump', - # unless we find 'file', for example because we are cross-compiling. - if ( file / ) >/dev/null 2>&1; then - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' - lt_cv_file_magic_cmd='func_win32_libid' - else - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' - fi - ;; - -cegcc) - # use the weaker test based on 'objdump'. See mingw*. - lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' - ;; - -darwin* | rhapsody*) - lt_cv_deplibs_check_method=pass_all - ;; - -freebsd* | dragonfly*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - ;; - esac - else - lt_cv_deplibs_check_method=pass_all - fi - ;; - -gnu*) - lt_cv_deplibs_check_method=pass_all - ;; - -hpux10.20* | hpux11*) - lt_cv_file_magic_cmd=/usr/bin/file - case $host_cpu in - ia64*) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so - ;; - hppa*64*) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl - ;; - *) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' - lt_cv_file_magic_test_file=/usr/lib/libc.sl - ;; - esac - ;; - -interix[3-9]*) - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' - ;; - -irix5* | irix6* | nonstopux*) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - lt_cv_deplibs_check_method=pass_all - ;; - -# This must be Linux ELF. -linux* | k*bsd*-gnu) - lt_cv_deplibs_check_method=pass_all - ;; - -netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' - fi - ;; - -newos6*) - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libnls.so - ;; - -*nto* | *qnx*) - lt_cv_deplibs_check_method=pass_all - ;; - -openbsd*) - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' - fi - ;; - -osf3* | osf4* | osf5*) - lt_cv_deplibs_check_method=pass_all - ;; - -rdos*) - lt_cv_deplibs_check_method=pass_all - ;; - -solaris*) - lt_cv_deplibs_check_method=pass_all - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; - -sysv4 | sysv4.3*) - case $host_vendor in - motorola) - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` - ;; - ncr) - lt_cv_deplibs_check_method=pass_all - ;; - sequent) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' - ;; - sni) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" - lt_cv_file_magic_test_file=/lib/libc.so - ;; - siemens) - lt_cv_deplibs_check_method=pass_all - ;; - pc) - lt_cv_deplibs_check_method=pass_all - ;; - esac - ;; - -tpf*) - lt_cv_deplibs_check_method=pass_all - ;; -esac - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 -$as_echo "$lt_cv_deplibs_check_method" >&6; } -file_magic_cmd=$lt_cv_file_magic_cmd -deplibs_check_method=$lt_cv_deplibs_check_method -test -z "$deplibs_check_method" && deplibs_check_method=unknown - - - - - - - - - - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. -set dummy ${ac_tool_prefix}ar; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AR+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AR"; then - ac_cv_prog_AR="$AR" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AR="${ac_tool_prefix}ar" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AR=$ac_cv_prog_AR -if test -n "$AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -$as_echo "$AR" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_AR"; then - ac_ct_AR=$AR - # Extract the first word of "ar", so it can be a program name with args. -set dummy ar; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AR+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_AR"; then - ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_AR="ar" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_AR=$ac_cv_prog_ac_ct_AR -if test -n "$ac_ct_AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 -$as_echo "$ac_ct_AR" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_AR" = x; then - AR="false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - AR=$ac_ct_AR - fi -else - AR="$ac_cv_prog_AR" -fi - -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru - - - - - - - - - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_STRIP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_STRIP"; then - ac_ct_STRIP=$STRIP - # Extract the first word of "strip", so it can be a program name with args. -set dummy strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_STRIP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_STRIP="strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_STRIP" = x; then - STRIP=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - STRIP=$ac_ct_STRIP - fi -else - STRIP="$ac_cv_prog_STRIP" -fi - -test -z "$STRIP" && STRIP=: - - - - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. -set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_RANLIB+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$RANLIB"; then - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -RANLIB=$ac_cv_prog_RANLIB -if test -n "$RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 -$as_echo "$RANLIB" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_RANLIB"; then - ac_ct_RANLIB=$RANLIB - # Extract the first word of "ranlib", so it can be a program name with args. -set dummy ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_RANLIB"; then - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_RANLIB="ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB -if test -n "$ac_ct_RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 -$as_echo "$ac_ct_RANLIB" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_RANLIB" = x; then - RANLIB=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - RANLIB=$ac_ct_RANLIB - fi -else - RANLIB="$ac_cv_prog_RANLIB" -fi - -test -z "$RANLIB" && RANLIB=: - - - - - - -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= - -if test -n "$RANLIB"; then - case $host_os in - openbsd*) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" - ;; - *) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" - ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC - - -# Check for command to grab the raw symbol name followed by C symbol from nm. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 -$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } -if ${lt_cv_sys_global_symbol_pipe+:} false; then : - $as_echo_n "(cached) " >&6 -else - -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] - -# Character class describing NM global symbol codes. -symcode='[BCDEGRST]' - -# Regexp to match symbols that can be accessed directly from C. -sympat='\([_A-Za-z][_A-Za-z0-9]*\)' - -# Define system-specific variables. -case $host_os in -aix*) - symcode='[BCDT]' - ;; -cygwin* | mingw* | pw32* | cegcc*) - symcode='[ABCDGISTW]' - ;; -hpux*) - if test "$host_cpu" = ia64; then - symcode='[ABCDEGRST]' - fi - ;; -irix* | nonstopux*) - symcode='[BCDEGRST]' - ;; -osf*) - symcode='[BCDEGQRST]' - ;; -solaris*) - symcode='[BDRT]' - ;; -sco3.2v5*) - symcode='[DT]' - ;; -sysv4.2uw2*) - symcode='[DT]' - ;; -sysv5* | sco5v6* | unixware* | OpenUNIX*) - symcode='[ABDT]' - ;; -sysv4) - symcode='[DFNSTU]' - ;; -esac - -# If we're using GNU nm, then use its standard symbol codes. -case `$NM -V 2>&1` in -*GNU* | *'with BFD'*) - symcode='[ABCDGIRSTW]' ;; -esac - -# Transform an extracted symbol line into a proper C declaration. -# Some systems (esp. on ia64) link data and code symbols differently, -# so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\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/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" - -# Handle CRLF in mingw tool chain -opt_cr= -case $build_os in -mingw*) - opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp - ;; -esac - -# Try without a prefix underscore, then with it. -for ac_symprfx in "" "_"; do - - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. - symxfrm="\\1 $ac_symprfx\\2 \\2" - - # Write the raw and C identifiers. - if test "$lt_cv_nm_interface" = "MS dumpbin"; then - # Fake it for dumpbin and say T for any non-static function - # and D for any global variable. - # Also find C++ and __fastcall symbols from MSVC++, - # which start with @ or ?. - lt_cv_sys_global_symbol_pipe="$AWK '"\ -" {last_section=section; section=\$ 3};"\ -" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ -" \$ 0!~/External *\|/{next};"\ -" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ -" {if(hide[section]) next};"\ -" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ -" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ -" s[1]~/^[@?]/{print s[1], s[1]; next};"\ -" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ -" ' prfx=^$ac_symprfx" - else - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" - fi - - # Check to see that the pipe works correctly. - pipe_works=no - - rm -f conftest* - cat > conftest.$ac_ext <<_LT_EOF -#ifdef __cplusplus -extern "C" { -#endif -char nm_test_var; -void nm_test_func(void); -void nm_test_func(void){} -#ifdef __cplusplus -} -#endif -int main(){nm_test_var='a';nm_test_func();return(0);} -_LT_EOF - - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - # Now try to grab the symbols. - nlist=conftest.nm - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if $GREP ' nm_test_var$' "$nlist" >/dev/null; then - if $GREP ' nm_test_func$' "$nlist" >/dev/null; then - cat <<_LT_EOF > conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif - -_LT_EOF - # Now generate the symbol file. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' - - cat <<_LT_EOF >> conftest.$ac_ext - -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - void *address; -} -lt__PROGRAM__LTX_preloaded_symbols[] = -{ - { "@PROGRAM@", (void *) 0 }, -_LT_EOF - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext - cat <<\_LT_EOF >> conftest.$ac_ext - {0, (void *) 0} -}; - -/* This works around a problem in FreeBSD linker */ -#ifdef FREEBSD_WORKAROUND -static const void *lt_preloaded_setup() { - return lt__PROGRAM__LTX_preloaded_symbols; -} -#endif - -#ifdef __cplusplus -} -#endif -_LT_EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - lt_save_LIBS="$LIBS" - lt_save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 - (eval $ac_link) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && test -s conftest${ac_exeext}; then - pipe_works=yes - fi - LIBS="$lt_save_LIBS" - CFLAGS="$lt_save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&5 - fi - else - echo "cannot find nm_test_var in $nlist" >&5 - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 - fi - else - echo "$progname: failed program was:" >&5 - cat conftest.$ac_ext >&5 - fi - rm -rf conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done - -fi - -if test -z "$lt_cv_sys_global_symbol_pipe"; then - lt_cv_sys_global_symbol_to_cdecl= -fi -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 -$as_echo "failed" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 -$as_echo "ok" >&6; } -fi - - - - - - - - - - - - - - - - - - - - - - - -# Check whether --enable-libtool-lock was given. -if test "${enable_libtool_lock+set}" = set; then : - enableval=$enable_libtool_lock; -fi - -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes - -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -ia64-*-hpux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - case `/usr/bin/file conftest.$ac_objext` in - *ELF-32*) - HPUX_IA64_MODE="32" - ;; - *ELF-64*) - HPUX_IA64_MODE="64" - ;; - esac - fi - rm -rf conftest* - ;; -*-*-irix6*) - # Find out which ABI we are using. - echo '#line 14733 "configure"' > conftest.$ac_ext - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - if test "$lt_cv_prog_gnu_ld" = yes; then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -melf32bsmip" - ;; - *N32*) - LD="${LD-ld} -melf32bmipn32" - ;; - *64-bit*) - LD="${LD-ld} -melf64bmip" - ;; - esac - else - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - fi - rm -rf conftest* - ;; - -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ -s390*-*linux*|s390*-*tpf*|sparc*-*linux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - case `/usr/bin/file conftest.o` in - *32-bit*) - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_i386_fbsd" - ;; - x86_64-*linux*) - LD="${LD-ld} -m elf_i386" - ;; - ppc64-*linux*|powerpc64-*linux*) - LD="${LD-ld} -m elf32ppclinux" - ;; - s390x-*linux*) - LD="${LD-ld} -m elf_s390" - ;; - sparc64-*linux*) - LD="${LD-ld} -m elf32_sparc" - ;; - esac - ;; - *64-bit*) - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_x86_64_fbsd" - ;; - x86_64-*linux*) - LD="${LD-ld} -m elf_x86_64" - ;; - ppc*-*linux*|powerpc*-*linux*) - LD="${LD-ld} -m elf64ppc" - ;; - s390*-*linux*|s390*-*tpf*) - LD="${LD-ld} -m elf64_s390" - ;; - sparc*-*linux*) - LD="${LD-ld} -m elf64_sparc" - ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; - -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 -$as_echo_n "checking whether the C compiler needs -belf... " >&6; } -if ${lt_cv_cc_needs_belf+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - lt_cv_cc_needs_belf=yes -else - lt_cv_cc_needs_belf=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 -$as_echo "$lt_cv_cc_needs_belf" >&6; } - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; -sparc*-*solaris*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - case `/usr/bin/file conftest.o` in - *64-bit*) - case $lt_cv_prog_gnu_ld in - yes*) LD="${LD-ld} -m elf64_sparc" ;; - *) - if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then - LD="${LD-ld} -64" - fi - ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; -esac - -need_locks="$enable_libtool_lock" - - - case $host_os in - rhapsody* | darwin*) - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. -set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_DSYMUTIL+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$DSYMUTIL"; then - ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -DSYMUTIL=$ac_cv_prog_DSYMUTIL -if test -n "$DSYMUTIL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 -$as_echo "$DSYMUTIL" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_DSYMUTIL"; then - ac_ct_DSYMUTIL=$DSYMUTIL - # Extract the first word of "dsymutil", so it can be a program name with args. -set dummy dsymutil; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_DSYMUTIL"; then - ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL -if test -n "$ac_ct_DSYMUTIL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 -$as_echo "$ac_ct_DSYMUTIL" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_DSYMUTIL" = x; then - DSYMUTIL=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - DSYMUTIL=$ac_ct_DSYMUTIL - fi -else - DSYMUTIL="$ac_cv_prog_DSYMUTIL" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. -set dummy ${ac_tool_prefix}nmedit; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_NMEDIT+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$NMEDIT"; then - ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -NMEDIT=$ac_cv_prog_NMEDIT -if test -n "$NMEDIT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 -$as_echo "$NMEDIT" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_NMEDIT"; then - ac_ct_NMEDIT=$NMEDIT - # Extract the first word of "nmedit", so it can be a program name with args. -set dummy nmedit; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_NMEDIT"; then - ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_NMEDIT="nmedit" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT -if test -n "$ac_ct_NMEDIT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 -$as_echo "$ac_ct_NMEDIT" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_NMEDIT" = x; then - NMEDIT=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - NMEDIT=$ac_ct_NMEDIT - fi -else - NMEDIT="$ac_cv_prog_NMEDIT" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. -set dummy ${ac_tool_prefix}lipo; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_LIPO+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$LIPO"; then - ac_cv_prog_LIPO="$LIPO" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_LIPO="${ac_tool_prefix}lipo" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -LIPO=$ac_cv_prog_LIPO -if test -n "$LIPO"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 -$as_echo "$LIPO" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_LIPO"; then - ac_ct_LIPO=$LIPO - # Extract the first word of "lipo", so it can be a program name with args. -set dummy lipo; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_LIPO+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_LIPO"; then - ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_LIPO="lipo" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO -if test -n "$ac_ct_LIPO"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 -$as_echo "$ac_ct_LIPO" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_LIPO" = x; then - LIPO=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - LIPO=$ac_ct_LIPO - fi -else - LIPO="$ac_cv_prog_LIPO" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. -set dummy ${ac_tool_prefix}otool; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_OTOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$OTOOL"; then - ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_OTOOL="${ac_tool_prefix}otool" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -OTOOL=$ac_cv_prog_OTOOL -if test -n "$OTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 -$as_echo "$OTOOL" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_OTOOL"; then - ac_ct_OTOOL=$OTOOL - # Extract the first word of "otool", so it can be a program name with args. -set dummy otool; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_OTOOL"; then - ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_OTOOL="otool" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL -if test -n "$ac_ct_OTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 -$as_echo "$ac_ct_OTOOL" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_OTOOL" = x; then - OTOOL=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - OTOOL=$ac_ct_OTOOL - fi -else - OTOOL="$ac_cv_prog_OTOOL" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. -set dummy ${ac_tool_prefix}otool64; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_OTOOL64+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$OTOOL64"; then - ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -OTOOL64=$ac_cv_prog_OTOOL64 -if test -n "$OTOOL64"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 -$as_echo "$OTOOL64" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_OTOOL64"; then - ac_ct_OTOOL64=$OTOOL64 - # Extract the first word of "otool64", so it can be a program name with args. -set dummy otool64; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_OTOOL64"; then - ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_OTOOL64="otool64" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 -if test -n "$ac_ct_OTOOL64"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 -$as_echo "$ac_ct_OTOOL64" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_OTOOL64" = x; then - OTOOL64=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - OTOOL64=$ac_ct_OTOOL64 - fi -else - OTOOL64="$ac_cv_prog_OTOOL64" -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 -$as_echo_n "checking for -single_module linker flag... " >&6; } -if ${lt_cv_apple_cc_single_mod+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_apple_cc_single_mod=no - if test -z "${LT_MULTI_MODULE}"; then - # By default we will add the -single_module flag. You can override - # by either setting the environment variable LT_MULTI_MODULE - # non-empty at configure time, or by adding -multi_module to the - # link flags. - rm -rf libconftest.dylib* - echo "int foo(void){return 1;}" > conftest.c - echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ --dynamiclib -Wl,-single_module conftest.c" >&5 - $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ - -dynamiclib -Wl,-single_module conftest.c 2>conftest.err - _lt_result=$? - if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then - lt_cv_apple_cc_single_mod=yes - else - cat conftest.err >&5 - fi - rm -rf libconftest.dylib* - rm -f conftest.* - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 -$as_echo "$lt_cv_apple_cc_single_mod" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 -$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } -if ${lt_cv_ld_exported_symbols_list+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_ld_exported_symbols_list=no - save_LDFLAGS=$LDFLAGS - echo "_main" > conftest.sym - LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - lt_cv_ld_exported_symbols_list=yes -else - lt_cv_ld_exported_symbols_list=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$save_LDFLAGS" - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 -$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } - case $host_os in - rhapsody* | darwin1.[012]) - _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; - darwin1.*) - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; - darwin*) # darwin 5.x on - # if running on 10.5 or later, the deployment target defaults - # to the OS version, if on x86, and 10.4, the deployment - # target defaults to 10.4. Don't you love it? - case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in - 10.0,*86*-darwin8*|10.0,*-darwin[91]*) - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; - 10.[012]*) - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; - 10.*) - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; - esac - ;; - esac - if test "$lt_cv_apple_cc_single_mod" = "yes"; then - _lt_dar_single_mod='$single_module' - fi - if test "$lt_cv_ld_exported_symbols_list" = "yes"; then - _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' - else - _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' - fi - if test "$DSYMUTIL" != ":"; then - _lt_dsymutil='~$DSYMUTIL $lib || :' - else - _lt_dsymutil= - fi - ;; - esac - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 -$as_echo_n "checking how to run the C preprocessor... " >&6; } -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then - if ${ac_cv_prog_CPP+:} false; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.i conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.i conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -$as_echo "$CPP" >&6; } -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.i conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.i conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details" "$LINENO" 5; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 -$as_echo_n "checking for ANSI C header files... " >&6; } -if ${ac_cv_header_stdc+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#include -#include - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_header_stdc=yes -else - ac_cv_header_stdc=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then : - : -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - -else - ac_cv_header_stdc=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 -$as_echo "$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then - -$as_echo "#define STDC_HEADERS 1" >>confdefs.h - -fi - -# On IRIX 5.3, sys/types and inttypes.h are conflicting. -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default -" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ac_header in dlfcn.h -do : - ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default -" -if test "x$ac_cv_header_dlfcn_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_DLFCN_H 1 -_ACEOF - -fi - -done - - - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -if test -z "$CXX"; then - if test -n "$CCC"; then - CXX=$CCC - else - if test -n "$ac_tool_prefix"; then - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CXX"; then - ac_cv_prog_CXX="$CXX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CXX=$ac_cv_prog_CXX -if test -n "$CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 -$as_echo "$CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CXX" && break - done -fi -if test -z "$CXX"; then - ac_ct_CXX=$CXX - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CXX"; then - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_CXX="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX -if test -n "$ac_ct_CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 -$as_echo "$ac_ct_CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CXX" && break -done - - if test "x$ac_ct_CXX" = x; then - CXX="g++" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CXX=$ac_ct_CXX - fi -fi - - fi -fi -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - sed '10a\ -... rest of stderr output deleted ... - 10q' conftest.err >conftest.er1 - cat conftest.er1 >&5 - fi - rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 -$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } -if ${ac_cv_cxx_compiler_gnu+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - ac_compiler_gnu=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 -$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GXX=yes -else - GXX= -fi -ac_test_CXXFLAGS=${CXXFLAGS+set} -ac_save_CXXFLAGS=$CXXFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 -$as_echo_n "checking whether $CXX accepts -g... " >&6; } -if ${ac_cv_prog_cxx_g+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_save_cxx_werror_flag=$ac_cxx_werror_flag - ac_cxx_werror_flag=yes - ac_cv_prog_cxx_g=no - CXXFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes -else - CXXFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - -else - ac_cxx_werror_flag=$ac_save_cxx_werror_flag - CXXFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_cxx_werror_flag=$ac_save_cxx_werror_flag -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 -$as_echo "$ac_cv_prog_cxx_g" >&6; } -if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS=$ac_save_CXXFLAGS -elif test $ac_cv_prog_cxx_g = yes; then - if test "$GXX" = yes; then - CXXFLAGS="-g -O2" - else - CXXFLAGS="-g" - fi -else - if test "$GXX" = yes; then - CXXFLAGS="-O2" - else - CXXFLAGS= - fi -fi -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - -depcc="$CXX" am_compiler_list= - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if ${am_cv_CXX_dependencies_compiler_type+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CXX_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi - am__universal=false - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CXX_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CXX_dependencies_compiler_type=none -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type - - if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then - am__fastdepCXX_TRUE= - am__fastdepCXX_FALSE='#' -else - am__fastdepCXX_TRUE='#' - am__fastdepCXX_FALSE= -fi - - -if test -n "$CXX" && ( test "X$CXX" != "Xno" && - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || - (test "X$CXX" != "Xg++"))) ; then - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 -$as_echo_n "checking how to run the C++ preprocessor... " >&6; } -if test -z "$CXXCPP"; then - if ${ac_cv_prog_CXXCPP+:} false; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CXXCPP needs to be expanded - for CXXCPP in "$CXX -E" "/lib/cpp" - do - ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.i conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.i conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - - done - ac_cv_prog_CXXCPP=$CXXCPP - -fi - CXXCPP=$ac_cv_prog_CXXCPP -else - ac_cv_prog_CXXCPP=$CXXCPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 -$as_echo "$CXXCPP" >&6; } -ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.i conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.i conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -_lt_caught_CXX_error=yes; } -fi - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - -else - _lt_caught_CXX_error=yes -fi - - - - -# Set options - - - - - enable_win32_dll=no - - - # Check whether --enable-shared was given. -if test "${enable_shared+set}" = set; then : - enableval=$enable_shared; p=${PACKAGE-default} - case $enableval in - yes) enable_shared=yes ;; - no) enable_shared=no ;; - *) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac -else - enable_shared=yes -fi - - - - - - - - - - - -# Check whether --with-pic was given. -if test "${with_pic+set}" = set; then : - withval=$with_pic; pic_mode="$withval" -else - pic_mode=default -fi - - -test -z "$pic_mode" && pic_mode=default - - - - - - - - # Check whether --enable-fast-install was given. -if test "${enable_fast_install+set}" = set; then : - enableval=$enable_fast_install; p=${PACKAGE-default} - case $enableval in - yes) enable_fast_install=yes ;; - no) enable_fast_install=no ;; - *) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac -else - enable_fast_install=yes -fi - - - - - - - - - - - -# This can be used to rebuild libtool when needed -LIBTOOL_DEPS="$ltmain" - -# Always use our own libtool. -LIBTOOL='$(SHELL) $(top_builddir)/libtool' - - - - - - - - - - - - - - - - - - - - - - - - - -test -z "$LN_S" && LN_S="ln -s" - - - - - - - - - - - - - - -if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 -$as_echo_n "checking for objdir... " >&6; } -if ${lt_cv_objdir+:} false; then : - $as_echo_n "(cached) " >&6 -else - rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - lt_cv_objdir=.libs -else - # MS-DOS does not allow filenames that begin with a dot. - lt_cv_objdir=_libs -fi -rmdir .libs 2>/dev/null -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 -$as_echo "$lt_cv_objdir" >&6; } -objdir=$lt_cv_objdir - - - - - -cat >>confdefs.h <<_ACEOF -#define LT_OBJDIR "$lt_cv_objdir/" -_ACEOF - - - - - - - - - - - - - - - - - -case $host_os in -aix3*) - # 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 - ;; -esac - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -sed_quote_subst='s/\(["`$\\]\)/\\\1/g' - -# Same as above, but do not quote variable references. -double_quote_subst='s/\(["`\\]\)/\\\1/g' - -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' - -# Sed substitution to delay expansion of an escaped single quote. -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' - -# Sed substitution to avoid accidental globbing in evaled expressions -no_glob_subst='s/\*/\\\*/g' - -# Global variables: -ofile=libtool -can_build_shared=yes - -# All known linkers require a `.a' archive for static linking (except MSVC, -# which needs '.lib'). -libext=a - -with_gnu_ld="$lt_cv_prog_gnu_ld" - -old_CC="$CC" -old_CFLAGS="$CFLAGS" - -# Set sane defaults for various variables -test -z "$CC" && CC=cc -test -z "$LTCC" && LTCC=$CC -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS -test -z "$LD" && LD=ld -test -z "$ac_objext" && ac_objext=o - -for cc_temp in $compiler""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` - - -# Only perform the check for file, if the check method requires it -test -z "$MAGIC_CMD" && MAGIC_CMD=file -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 -$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } -if ${lt_cv_path_MAGIC_CMD+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $MAGIC_CMD in -[\\/*] | ?:[\\/]*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; -*) - lt_save_MAGIC_CMD="$MAGIC_CMD" - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" - for ac_dir in $ac_dummy; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/${ac_tool_prefix}file; then - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - $EGREP "$file_magic_regex" > /dev/null; then - : - else - cat <<_LT_EOF 1>&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -_LT_EOF - fi ;; - esac - fi - break - fi - done - IFS="$lt_save_ifs" - MAGIC_CMD="$lt_save_MAGIC_CMD" - ;; -esac -fi - -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 -$as_echo "$MAGIC_CMD" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - - - -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 -$as_echo_n "checking for file... " >&6; } -if ${lt_cv_path_MAGIC_CMD+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $MAGIC_CMD in -[\\/*] | ?:[\\/]*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; -*) - lt_save_MAGIC_CMD="$MAGIC_CMD" - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" - for ac_dir in $ac_dummy; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/file; then - lt_cv_path_MAGIC_CMD="$ac_dir/file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - $EGREP "$file_magic_regex" > /dev/null; then - : - else - cat <<_LT_EOF 1>&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -_LT_EOF - fi ;; - esac - fi - break - fi - done - IFS="$lt_save_ifs" - MAGIC_CMD="$lt_save_MAGIC_CMD" - ;; -esac -fi - -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 -$as_echo "$MAGIC_CMD" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - else - MAGIC_CMD=: - fi -fi - - fi - ;; -esac - -# Use C for the default configuration in the libtool script - -lt_save_CC="$CC" -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -# Source file extension for C test sources. -ac_ext=c - -# Object file extension for compiled C test sources. -objext=o -objext=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="int some_variable = 0;" - -# Code to be used in simple link tests -lt_simple_link_test_code='int main(){return(0);}' - - - - - - - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC - -# Save the default compiler, since it gets overwritten when the other -# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. -compiler_DEFAULT=$CC - -# save warnings/boilerplate of simple test code -ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$RM conftest* - -ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$RM -r conftest* - - -## CAVEAT EMPTOR: -## There is no encapsulation within the following macros, do not change -## the running order or otherwise move them around unless you know exactly -## what you are doing... -if test -n "$compiler"; then - -lt_prog_compiler_no_builtin_flag= - -if test "$GCC" = yes; then - lt_prog_compiler_no_builtin_flag=' -fno-builtin' - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } -if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_rtti_exceptions=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="-fno-rtti -fno-exceptions" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16756: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:16760: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_rtti_exceptions=yes - fi - fi - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 -$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } - -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then - lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" -else - : -fi - -fi - - - - - - - lt_prog_compiler_wl= -lt_prog_compiler_pic= -lt_prog_compiler_static= - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 -$as_echo_n "checking for $compiler option to produce PIC... " >&6; } - - if test "$GCC" = yes; then - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_static='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static='-Bstatic' - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - lt_prog_compiler_pic='-fPIC' - ;; - m68k) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' - ;; - esac - ;; - - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - - mingw* | cygwin* | pw32* | os2* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - lt_prog_compiler_pic='-DDLL_EXPORT' - ;; - - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_prog_compiler_pic='-fno-common' - ;; - - hpux*) - # PIC is the default for 64-bit PA HP-UX, but not for 32-bit - # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag - # sets the default TLS model and affects inlining. - case $host_cpu in - hppa*64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic='-fPIC' - ;; - esac - ;; - - interix[3-9]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - - msdosdjgpp*) - # Just because we use GCC doesn't mean we suddenly get shared libraries - # on systems that don't support them. - lt_prog_compiler_can_build_shared=no - enable_shared=no - ;; - - *nto* | *qnx*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - lt_prog_compiler_pic='-fPIC -shared' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - lt_prog_compiler_pic=-Kconform_pic - fi - ;; - - *) - lt_prog_compiler_pic='-fPIC' - ;; - esac - else - # PORTME Check for flag to pass linker flags through the system compiler. - case $host_os in - aix*) - lt_prog_compiler_wl='-Wl,' - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static='-Bstatic' - else - lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' - fi - ;; - - mingw* | cygwin* | pw32* | os2* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_prog_compiler_pic='-DDLL_EXPORT' - ;; - - hpux9* | hpux10* | hpux11*) - lt_prog_compiler_wl='-Wl,' - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic='+Z' - ;; - esac - # Is there a better lt_prog_compiler_static that works with the bundled CC? - lt_prog_compiler_static='${wl}-a ${wl}archive' - ;; - - irix5* | irix6* | nonstopux*) - lt_prog_compiler_wl='-Wl,' - # PIC (with -KPIC) is the default. - lt_prog_compiler_static='-non_shared' - ;; - - linux* | k*bsd*-gnu) - case $cc_basename in - # old Intel for x86_64 which still supported -KPIC. - ecc*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-static' - ;; - # icc used to be incompatible with GCC. - # ICC 10 doesn't accept -KPIC any more. - icc* | ifort*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-fPIC' - lt_prog_compiler_static='-static' - ;; - # Lahey Fortran 8.1. - lf95*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='--shared' - lt_prog_compiler_static='--static' - ;; - pgcc* | pgf77* | pgf90* | pgf95*) - # Portland Group compilers (*not* the Pentium gcc compiler, - # which looks to be a dead project) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-fpic' - lt_prog_compiler_static='-Bstatic' - ;; - ccc*) - lt_prog_compiler_wl='-Wl,' - # All Alpha code is PIC. - lt_prog_compiler_static='-non_shared' - ;; - xl*) - # IBM XL C 8.0/Fortran 10.1 on PPC - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-qpic' - lt_prog_compiler_static='-qstaticlink' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C 5.9 - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - lt_prog_compiler_wl='-Wl,' - ;; - *Sun\ F*) - # Sun Fortran 8.3 passes all unrecognized flags to the linker - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - lt_prog_compiler_wl='' - ;; - esac - ;; - esac - ;; - - newsos6) - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - ;; - - *nto* | *qnx*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - lt_prog_compiler_pic='-fPIC -shared' - ;; - - osf3* | osf4* | osf5*) - lt_prog_compiler_wl='-Wl,' - # All OSF/1 code is PIC. - lt_prog_compiler_static='-non_shared' - ;; - - rdos*) - lt_prog_compiler_static='-non_shared' - ;; - - solaris*) - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - case $cc_basename in - f77* | f90* | f95*) - lt_prog_compiler_wl='-Qoption ld ';; - *) - lt_prog_compiler_wl='-Wl,';; - esac - ;; - - sunos4*) - lt_prog_compiler_wl='-Qoption ld ' - lt_prog_compiler_pic='-PIC' - lt_prog_compiler_static='-Bstatic' - ;; - - sysv4 | sysv4.2uw2* | sysv4.3*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - ;; - - sysv4*MP*) - if test -d /usr/nec ;then - lt_prog_compiler_pic='-Kconform_pic' - lt_prog_compiler_static='-Bstatic' - fi - ;; - - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - ;; - - unicos*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_can_build_shared=no - ;; - - uts4*) - lt_prog_compiler_pic='-pic' - lt_prog_compiler_static='-Bstatic' - ;; - - *) - lt_prog_compiler_can_build_shared=no - ;; - esac - fi - -case $host_os in - # For platforms which do not support PIC, -DPIC is meaningless: - *djgpp*) - lt_prog_compiler_pic= - ;; - *) - lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" - ;; -esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 -$as_echo "$lt_prog_compiler_pic" >&6; } - - - - - - -# -# Check to make sure the PIC flag actually works. -# -if test -n "$lt_prog_compiler_pic"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 -$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } -if ${lt_cv_prog_compiler_pic_works+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_pic_works=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$lt_prog_compiler_pic -DPIC" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:17095: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:17099: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_pic_works=yes - fi - fi - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 -$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } - -if test x"$lt_cv_prog_compiler_pic_works" = xyes; then - case $lt_prog_compiler_pic in - "" | " "*) ;; - *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; - esac -else - lt_prog_compiler_pic= - lt_prog_compiler_can_build_shared=no -fi - -fi - - - - - - -# -# Check to make sure the static flag actually works. -# -wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -if ${lt_cv_prog_compiler_static_works+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_static_works=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_tmp_static_flag" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&5 - $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_static_works=yes - fi - else - lt_cv_prog_compiler_static_works=yes - fi - fi - $RM -r conftest* - LDFLAGS="$save_LDFLAGS" - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 -$as_echo "$lt_cv_prog_compiler_static_works" >&6; } - -if test x"$lt_cv_prog_compiler_static_works" = xyes; then - : -else - lt_prog_compiler_static= -fi - - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if ${lt_cv_prog_compiler_c_o+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_c_o=no - $RM -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:17200: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:17204: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o=yes - fi - fi - chmod u+w . 2>&5 - $RM conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files - $RM out/* && rmdir out - cd .. - $RM -r conftest - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 -$as_echo "$lt_cv_prog_compiler_c_o" >&6; } - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if ${lt_cv_prog_compiler_c_o+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_c_o=no - $RM -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:17255: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:17259: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o=yes - fi - fi - chmod u+w . 2>&5 - $RM conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files - $RM out/* && rmdir out - cd .. - $RM -r conftest - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 -$as_echo "$lt_cv_prog_compiler_c_o" >&6; } - - - - -hard_links="nottested" -if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 -$as_echo_n "checking if we can lock with hard links... " >&6; } - hard_links=yes - $RM conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 -$as_echo "$hard_links" >&6; } - if test "$hard_links" = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} - need_locks=warn - fi -else - need_locks=no -fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } - - runpath_var= - allow_undefined_flag= - always_export_symbols=no - archive_cmds= - archive_expsym_cmds= - compiler_needs_object=no - enable_shared_with_static_runtimes=no - export_dynamic_flag_spec= - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - hardcode_automatic=no - hardcode_direct=no - hardcode_direct_absolute=no - hardcode_libdir_flag_spec= - hardcode_libdir_flag_spec_ld= - hardcode_libdir_separator= - hardcode_minus_L=no - hardcode_shlibpath_var=unsupported - inherit_rpath=no - link_all_deplibs=unknown - module_cmds= - module_expsym_cmds= - old_archive_from_new_cmds= - old_archive_from_expsyms_cmds= - thread_safe_flag_spec= - whole_archive_flag_spec= - # include_expsyms should be a list of space-separated symbols to be *always* - # included in the symbol list - include_expsyms= - # exclude_expsyms can be an extended regexp of symbols to exclude - # it will be wrapped by ` (' and `)$', so one must not match beginning or - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', - # as well as any symbol that contains `d'. - exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out - # platforms (ab)use it in PIC code, but their linkers get confused if - # the symbol is explicitly referenced. Since portable code cannot - # rely on this symbol name, it's probably fine to never include it in - # preloaded symbol tables. - # Exclude shared library initialization/finalization symbols. - extract_expsyms_cmds= - - case $host_os in - cygwin* | mingw* | pw32* | cegcc*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no - fi - ;; - interix*) - # we just hope/assume this is gcc and not c89 (= MSVC++) - with_gnu_ld=yes - ;; - openbsd*) - with_gnu_ld=no - ;; - esac - - ld_shlibs=yes - if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' - - # Set some defaults for GNU ld with shared library support. These - # are reset later if shared libraries are not supported. Putting them - # here allows them to be overridden if necessary. - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - export_dynamic_flag_spec='${wl}--export-dynamic' - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec= - fi - supports_anon_versioning=no - case `$LD -v 2>&1` in - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... - *\ 2.11.*) ;; # other 2.11 versions - *) supports_anon_versioning=yes ;; - esac - - # See if GNU ld supports shared libraries. - case $host_os in - aix[3-9]*) - # On AIX/PPC, the GNU linker is very broken - if test "$host_cpu" != ia64; then - ld_shlibs=no - cat <<_LT_EOF 1>&2 - -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. - -_LT_EOF - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='' - ;; - m68k) - archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - ;; - esac - ;; - - beos*) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs=no - fi - ;; - - cygwin* | mingw* | pw32* | cegcc*) - # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, - # as there is no search path for DLLs. - hardcode_libdir_flag_spec='-L$libdir' - allow_undefined_flag=unsupported - always_export_symbols=no - enable_shared_with_static_runtimes=yes - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' - - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - ld_shlibs=no - fi - ;; - - interix[3-9]*) - hardcode_direct=no - hardcode_shlibpath_var=no - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - - gnu* | linux* | tpf* | k*bsd*-gnu) - tmp_diet=no - if test "$host_os" = linux-dietlibc; then - case $cc_basename in - diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) - esac - fi - if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ - && test "$tmp_diet" = no - then - tmp_addflag= - tmp_sharedflag='-shared' - case $cc_basename,$host_cpu in - pgcc*) # Portland Group C compiler - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag' - ;; - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag -Mnomain' ;; - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 - tmp_addflag=' -i_dynamic' ;; - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 - tmp_addflag=' -i_dynamic -nofor_main' ;; - ifc* | ifort*) # Intel Fortran compiler - tmp_addflag=' -nofor_main' ;; - lf95*) # Lahey Fortran 8.1 - whole_archive_flag_spec= - tmp_sharedflag='--shared' ;; - xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) - tmp_sharedflag='-qmkshrobj' - tmp_addflag= ;; - esac - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) # Sun C 5.9 - whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - compiler_needs_object=yes - tmp_sharedflag='-G' ;; - *Sun\ F*) # Sun Fortran 8.3 - tmp_sharedflag='-G' ;; - esac - archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - - if test "x$supports_anon_versioning" = xyes; then - 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 '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - fi - - case $cc_basename in - xlf*) - # IBM XL Fortran 10.1 on PPC cannot create shared libs itself - whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' - hardcode_libdir_flag_spec= - hardcode_libdir_flag_spec_ld='-rpath $libdir' - archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' - if test "x$supports_anon_versioning" = xyes; then - 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~ - $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' - fi - ;; - esac - else - ld_shlibs=no - fi - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; - - solaris*) - if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then - ld_shlibs=no - cat <<_LT_EOF 1>&2 - -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -_LT_EOF - elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) - case `$LD -v 2>&1` in - *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) - ld_shlibs=no - cat <<_LT_EOF 1>&2 - -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not -*** reliably create shared libraries on SCO systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -_LT_EOF - ;; - *) - # For security reasons, it is highly recommended that you always - # use absolute paths for naming shared libraries, and exclude the - # DT_RUNPATH tag from executables and libraries. But doing so - # requires that you compile everything twice, which is a pain. - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - esac - ;; - - sunos4*) - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - *) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - esac - - if test "$ld_shlibs" = no; then - runpath_var= - hardcode_libdir_flag_spec= - export_dynamic_flag_spec= - whole_archive_flag_spec= - fi - else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag=unsupported - always_export_symbols=yes - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - hardcode_minus_L=yes - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct=unsupported - fi - ;; - - aix[4-9]*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - else - export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - fi - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) - for ld_flag in $LDFLAGS; do - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then - aix_use_runtimelinking=yes - break - fi - done - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - archive_cmds='' - hardcode_direct=yes - hardcode_direct_absolute=yes - hardcode_libdir_separator=':' - link_all_deplibs=yes - file_list_spec='${wl}-f,' - - if test "$GCC" = yes; then - case $host_os in aix4.[012]|aix4.[012].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && - strings "$collect2name" | $GREP resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - hardcode_direct=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= - fi - ;; - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - export_dynamic_flag_spec='${wl}-bexpall' - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - always_export_symbols=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='-berok' - # Determine the default libpath from the value encoded in an - # empty executable. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" - archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag="-z nodefs" - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an - # empty executable. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - no_undefined_flag=' ${wl}-bernotok' - allow_undefined_flag=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - whole_archive_flag_spec='$convenience' - archive_cmds_need_lc=yes - # This is similar to how AIX traditionally builds its shared libraries. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='' - ;; - m68k) - archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - ;; - esac - ;; - - bsdi[45]*) - export_dynamic_flag_spec=-rdynamic - ;; - - cygwin* | mingw* | pw32* | cegcc*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=".dll" - # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_from_new_cmds='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' - enable_shared_with_static_runtimes=yes - ;; - - darwin* | rhapsody*) - - - archive_cmds_need_lc=no - hardcode_direct=no - hardcode_automatic=yes - hardcode_shlibpath_var=unsupported - whole_archive_flag_spec='' - link_all_deplibs=yes - allow_undefined_flag="$_lt_dar_allow_undefined" - case $cc_basename in - ifort*) _lt_dar_can_shared=yes ;; - *) _lt_dar_can_shared=$GCC ;; - esac - if test "$_lt_dar_can_shared" = "yes"; then - output_verbose_link_cmd=echo - archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" - module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" - archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" - module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" - - else - ld_shlibs=no - fi - - ;; - - dgux*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; - - freebsd1*) - ld_shlibs=no - ;; - - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; - - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | dragonfly*) - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - hpux9*) - if test "$GCC" = yes; then - archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - fi - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L=yes - export_dynamic_flag_spec='${wl}-E' - ;; - - hpux10*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' - fi - if test "$with_gnu_ld" = no; then - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_flag_spec_ld='+b $libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - hardcode_direct_absolute=yes - export_dynamic_flag_spec='${wl}-E' - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L=yes - fi - ;; - - hpux11*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - case $host_cpu in - hppa*64*) - archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - else - case $host_cpu in - hppa*64*) - archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - fi - if test "$with_gnu_ld" = no; then - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - - case $host_cpu in - hppa*64*|ia64*) - hardcode_direct=no - hardcode_shlibpath_var=no - ;; - *) - hardcode_direct=yes - hardcode_direct_absolute=yes - export_dynamic_flag_spec='${wl}-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L=yes - ;; - esac - fi - ;; - - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - # Try to use the -exported_symbol ld option, if it does not - # work, assume that -exports_file does not work either and - # implicitly export all symbols. - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -int foo(void) {} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$save_LDFLAGS" - else - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' - fi - archive_cmds_need_lc='no' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - inherit_rpath=yes - link_all_deplibs=yes - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - newsos6) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_shlibpath_var=no - ;; - - *nto* | *qnx*) - ;; - - openbsd*) - if test -f /usr/libexec/ld.so; then - hardcode_direct=yes - hardcode_shlibpath_var=no - hardcode_direct_absolute=yes - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - else - case $host_os in - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-R$libdir' - ;; - *) - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - ;; - esac - fi - else - ld_shlibs=no - fi - ;; - - os2*) - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - allow_undefined_flag=unsupported - archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; - - osf3*) - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - fi - archive_cmds_need_lc='no' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - ;; - - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ - $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' - - # Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec='-rpath $libdir' - fi - archive_cmds_need_lc='no' - hardcode_libdir_separator=: - ;; - - solaris*) - no_undefined_flag=' -z defs' - if test "$GCC" = yes; then - wlarc='${wl}' - archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' - else - case `$CC -V 2>&1` in - *"Compilers 5.0"*) - wlarc='' - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' - ;; - *) - wlarc='${wl}' - archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' - ;; - esac - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_shlibpath_var=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. GCC discards it without `$wl', - # but is careful enough not to reorder. - # Supported since Solaris 2.6 (maybe 2.5.1?) - if test "$GCC" = yes; then - whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - else - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' - fi - ;; - esac - link_all_deplibs=yes - ;; - - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - hardcode_libdir_flag_spec='-L$libdir' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; - - sysv4) - case $host_vendor in - sni) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - reload_cmds='$CC -r -o $output$reload_objs' - hardcode_direct=no - ;; - motorola) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; - - sysv4.3*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - export_dynamic_flag_spec='-Bexport' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - ld_shlibs=yes - fi - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) - no_undefined_flag='${wl}-z,text' - archive_cmds_need_lc=no - hardcode_shlibpath_var=no - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - no_undefined_flag='${wl}-z,text' - allow_undefined_flag='${wl}-z,nodefs' - archive_cmds_need_lc=no - hardcode_shlibpath_var=no - hardcode_libdir_flag_spec='${wl}-R,$libdir' - hardcode_libdir_separator=':' - link_all_deplibs=yes - export_dynamic_flag_spec='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - uts4*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; - - *) - ld_shlibs=no - ;; - esac - - if test x$host_vendor = xsni; then - case $host in - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - export_dynamic_flag_spec='${wl}-Blargedynsym' - ;; - esac - fi - fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 -$as_echo "$ld_shlibs" >&6; } -test "$ld_shlibs" = no && can_build_shared=no - -with_gnu_ld=$with_gnu_ld - - - - - - - - - - - - - - - -# -# Do we need to explicitly link libc? -# -case "x$archive_cmds_need_lc" in -x|xyes) - # Assume -lc should be added - archive_cmds_need_lc=yes - - if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 -$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } - $RM conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_prog_compiler_wl - pic_flag=$lt_prog_compiler_pic - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 - (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - then - archive_cmds_need_lc=no - else - archive_cmds_need_lc=yes - fi - allow_undefined_flag=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $RM conftest* - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 -$as_echo "$archive_cmds_need_lc" >&6; } - ;; - esac - fi - ;; -esac - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 -$as_echo_n "checking dynamic linker characteristics... " >&6; } - -if test "$GCC" = yes; then - case $host_os in - darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; - *) lt_awk_arg="/^libraries:/" ;; - esac - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then - # if the path contains ";" then we assume it to be the separator - # otherwise default to the standard path separator (i.e. ":") - it is - # assumed that no part of a normal pathname contains ";" but that should - # okay in the real world where ";" in dirpaths is itself problematic. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` - else - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - # Ok, now we have the path, separated by spaces, we can step through it - # and add multilib dir if necessary. - lt_tmp_lt_search_path_spec= - lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` - for lt_sys_path in $lt_search_path_spec; do - if test -d "$lt_sys_path/$lt_multi_os_dir"; then - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" - else - test -d "$lt_sys_path" && \ - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" - fi - done - lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' -BEGIN {RS=" "; FS="/|\n";} { - lt_foo=""; - lt_count=0; - for (lt_i = NF; lt_i > 0; lt_i--) { - if ($lt_i != "" && $lt_i != ".") { - if ($lt_i == "..") { - lt_count++; - } else { - if (lt_count == 0) { - lt_foo="/" $lt_i lt_foo; - } else { - lt_count--; - } - } - } - } - if (lt_foo != "") { lt_freq[lt_foo]++; } - if (lt_freq[lt_foo] == 1) { print lt_foo; } -}'` - sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` -else - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" -fi -library_names_spec= -libname_spec='lib$name' -soname_spec= -shrext_cmds=".so" -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -need_lib_prefix=unknown -hardcode_into_libs=no - -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -need_version=unknown - -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX 3 has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}${shared_ext}$major' - ;; - -aix[4-9]*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[01] | aix4.[01].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}${shared_ext}$major' - fi - shlibpath_var=LIBPATH - fi - ;; - -amigaos*) - case $host_cpu in - powerpc) - # Since July 2007 AmigaOS4 officially supports .so libraries. - # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - ;; - m68k) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' - ;; - esac - ;; - -beos*) - library_names_spec='${libname}${shared_ext}' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; - -bsdi[45]*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; - -cygwin* | mingw* | pw32* | cegcc*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no - - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \${file}`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname~ - if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then - eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; - fi' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $RM \$dlpath' - shlibpath_overrides_runpath=yes - - case $host_os in - cygwin*) - # Cygwin DLLs use 'cyg' prefix rather than 'lib' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" - ;; - mingw* | cegcc*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - ;; - pw32*) - # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - ;; - esac - ;; - - *) - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' - soname_spec='${libname}${release}${major}$shared_ext' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' - - sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no - ;; - -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` - else - case $host_os in - freebsd[123]*) objformat=aout ;; - *) objformat=elf ;; - esac - fi - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes - ;; - freebsd3.[01]* | freebsdelf3.[01]*) - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - *) # from 4.6 on, and DragonFly - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - esac - ;; - -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - version_type=sunos - need_lib_prefix=no - need_version=no - case $host_cpu in - ia64*) - shrext_cmds='.so' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.so" - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - if test "X$HPUX_IA64_MODE" = X32; then - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" - else - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" - fi - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) - shrext_cmds='.sl' - dynamic_linker="$host_os dld.sl" - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - ;; - esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; - -interix[3-9]*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux - else - version_type=irix - fi ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") - libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") - libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") - libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - hardcode_into_libs=yes - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux*oldld* | linux*aout* | linux*coff*) - dynamic_linker=no - ;; - -# This must be Linux ELF. -linux* | k*bsd*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # Some binutils ld are patched to set DT_RUNPATH - save_LDFLAGS=$LDFLAGS - save_libdir=$libdir - eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ - LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : - shlibpath_overrides_runpath=yes -fi -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS=$save_LDFLAGS - libdir=$save_libdir - - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # Add ABI-specific directories to the system library path. - sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" - - # Append ld.so.conf contents to the search path - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" - fi - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; - -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - -newsos6) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -*nto* | *qnx*) - version_type=qnx - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='ldqnx.so' - ;; - -openbsd*) - version_type=sunos - sys_lib_dlsearch_path_spec="/usr/lib" - need_lib_prefix=no - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. - case $host_os in - openbsd3.3 | openbsd3.3.*) need_version=yes ;; - *) need_version=no ;; - esac - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case $host_os in - openbsd2.[89] | openbsd2.[89].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac - else - shlibpath_overrides_runpath=yes - fi - ;; - -os2*) - libname_spec='$name' - shrext_cmds=".dll" - need_lib_prefix=no - library_names_spec='$libname${shared_ext} $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; - -osf3* | osf4* | osf5*) - version_type=osf - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - ;; - -rdos*) - dynamic_linker=no - ;; - -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes - ;; - -sysv4 | sysv4.3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; - -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' - soname_spec='$libname${shared_ext}.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=freebsd-elf - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - if test "$with_gnu_ld" = yes; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac - fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; - -tpf*) - # TPF is a cross-target only. Preferred cross-host = GNU/Linux. - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -uts4*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -*) - dynamic_linker=no - ;; -esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 -$as_echo "$dynamic_linker" >&6; } -test "$dynamic_linker" = no && can_build_shared=no - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi - -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then - sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" -fi -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then - sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 -$as_echo_n "checking how to hardcode library paths into programs... " >&6; } -hardcode_action= -if test -n "$hardcode_libdir_flag_spec" || - test -n "$runpath_var" || - test "X$hardcode_automatic" = "Xyes" ; then - - # We can hardcode non-existent directories. - if test "$hardcode_direct" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && - test "$hardcode_minus_L" != no; then - # Linking always hardcodes the temporary library directory. - hardcode_action=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - hardcode_action=unsupported -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 -$as_echo "$hardcode_action" >&6; } - -if test "$hardcode_action" = relink || - test "$inherit_rpath" = yes; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi - - - - - - - if test "x$enable_dlopen" != xyes; then - enable_dlopen=unknown - enable_dlopen_self=unknown - enable_dlopen_self_static=unknown -else - lt_cv_dlopen=no - lt_cv_dlopen_libs= - - case $host_os in - beos*) - lt_cv_dlopen="load_add_on" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ;; - - mingw* | pw32* | cegcc*) - lt_cv_dlopen="LoadLibrary" - lt_cv_dlopen_libs= - ;; - - cygwin*) - lt_cv_dlopen="dlopen" - lt_cv_dlopen_libs= - ;; - - darwin*) - # if libdl is installed we need to link against it - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 -$as_echo_n "checking for dlopen in -ldl... " >&6; } -if ${ac_cv_lib_dl_dlopen+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldl $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 dlopen (); -int -main () -{ -return dlopen (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_dl_dlopen=yes -else - ac_cv_lib_dl_dlopen=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 -$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = xyes; then : - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" -else - - lt_cv_dlopen="dyld" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - -fi - - ;; - - *) - ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" -if test "x$ac_cv_func_shl_load" = xyes; then : - lt_cv_dlopen="shl_load" -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 -$as_echo_n "checking for shl_load in -ldld... " >&6; } -if ${ac_cv_lib_dld_shl_load+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldld $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 shl_load (); -int -main () -{ -return shl_load (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_dld_shl_load=yes -else - ac_cv_lib_dld_shl_load=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 -$as_echo "$ac_cv_lib_dld_shl_load" >&6; } -if test "x$ac_cv_lib_dld_shl_load" = xyes; then : - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" -else - ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" -if test "x$ac_cv_func_dlopen" = xyes; then : - lt_cv_dlopen="dlopen" -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 -$as_echo_n "checking for dlopen in -ldl... " >&6; } -if ${ac_cv_lib_dl_dlopen+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldl $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 dlopen (); -int -main () -{ -return dlopen (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_dl_dlopen=yes -else - ac_cv_lib_dl_dlopen=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 -$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = xyes; then : - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 -$as_echo_n "checking for dlopen in -lsvld... " >&6; } -if ${ac_cv_lib_svld_dlopen+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsvld $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 dlopen (); -int -main () -{ -return dlopen (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_svld_dlopen=yes -else - ac_cv_lib_svld_dlopen=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 -$as_echo "$ac_cv_lib_svld_dlopen" >&6; } -if test "x$ac_cv_lib_svld_dlopen" = xyes; then : - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 -$as_echo_n "checking for dld_link in -ldld... " >&6; } -if ${ac_cv_lib_dld_dld_link+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldld $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 dld_link (); -int -main () -{ -return dld_link (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_dld_dld_link=yes -else - ac_cv_lib_dld_dld_link=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 -$as_echo "$ac_cv_lib_dld_dld_link" >&6; } -if test "x$ac_cv_lib_dld_dld_link" = xyes; then : - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" -fi - - -fi - - -fi - - -fi - - -fi - - -fi - - ;; - esac - - if test "x$lt_cv_dlopen" != xno; then - enable_dlopen=yes - else - enable_dlopen=no - fi - - case $lt_cv_dlopen in - dlopen) - save_CPPFLAGS="$CPPFLAGS" - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" - - save_LDFLAGS="$LDFLAGS" - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" - - save_LIBS="$LIBS" - LIBS="$lt_cv_dlopen_libs $LIBS" - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 -$as_echo_n "checking whether a program can dlopen itself... " >&6; } -if ${lt_cv_dlopen_self+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : - lt_cv_dlopen_self=cross -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF -#line 19625 "configure" -#include "confdefs.h" - -#if HAVE_DLFCN_H -#include -#endif - -#include - -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif - -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif - -void fnord() { int i=42;} -int main () -{ - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - /* dlclose (self); */ - } - else - puts (dlerror ()); - - return status; -} -_LT_EOF - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 - (eval $ac_link) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) >&5 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; - x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; - esac - else : - # compilation failed - lt_cv_dlopen_self=no - fi -fi -rm -fr conftest* - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 -$as_echo "$lt_cv_dlopen_self" >&6; } - - if test "x$lt_cv_dlopen_self" = xyes; then - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 -$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } -if ${lt_cv_dlopen_self_static+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : - lt_cv_dlopen_self_static=cross -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF -#line 19721 "configure" -#include "confdefs.h" - -#if HAVE_DLFCN_H -#include -#endif - -#include - -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif - -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif - -void fnord() { int i=42;} -int main () -{ - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - /* dlclose (self); */ - } - else - puts (dlerror ()); - - return status; -} -_LT_EOF - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 - (eval $ac_link) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) >&5 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; - x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; - esac - else : - # compilation failed - lt_cv_dlopen_self_static=no - fi -fi -rm -fr conftest* - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 -$as_echo "$lt_cv_dlopen_self_static" >&6; } - fi - - CPPFLAGS="$save_CPPFLAGS" - LDFLAGS="$save_LDFLAGS" - LIBS="$save_LIBS" - ;; - esac - - case $lt_cv_dlopen_self in - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; - *) enable_dlopen_self=unknown ;; - esac - - case $lt_cv_dlopen_self_static in - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; - *) enable_dlopen_self_static=unknown ;; - esac -fi - - - - - - - - - - - - - - - - - -striplib= -old_striplib= -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 -$as_echo_n "checking whether stripping libraries is possible... " >&6; } -if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else -# FIXME - insert some real tests, host_os isn't really good enough - case $host_os in - darwin*) - if test -n "$STRIP" ; then - striplib="$STRIP -x" - old_striplib="$STRIP -S" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - fi - ;; - *) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - ;; - esac -fi - - - - - - - - - - - - - # Report which library types will actually be built - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 -$as_echo_n "checking if libtool supports shared libraries... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 -$as_echo "$can_build_shared" >&6; } - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 -$as_echo_n "checking whether to build shared libraries... " >&6; } - test "$can_build_shared" = "no" && enable_shared=no - - # On AIX, shared libraries and static libraries use the same namespace, and - # are all built from PIC. - case $host_os in - aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - - aix[4-9]*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; - esac - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 -$as_echo "$enable_shared" >&6; } - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 -$as_echo_n "checking whether to build static libraries... " >&6; } - # Make sure either enable_shared or enable_static is yes. - test "$enable_shared" = yes || enable_static=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 -$as_echo "$enable_static" >&6; } - - - - -fi -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - -CC="$lt_save_CC" - - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - -archive_cmds_need_lc_CXX=no -allow_undefined_flag_CXX= -always_export_symbols_CXX=no -archive_expsym_cmds_CXX= -compiler_needs_object_CXX=no -export_dynamic_flag_spec_CXX= -hardcode_direct_CXX=no -hardcode_direct_absolute_CXX=no -hardcode_libdir_flag_spec_CXX= -hardcode_libdir_flag_spec_ld_CXX= -hardcode_libdir_separator_CXX= -hardcode_minus_L_CXX=no -hardcode_shlibpath_var_CXX=unsupported -hardcode_automatic_CXX=no -inherit_rpath_CXX=no -module_cmds_CXX= -module_expsym_cmds_CXX= -link_all_deplibs_CXX=unknown -old_archive_cmds_CXX=$old_archive_cmds -no_undefined_flag_CXX= -whole_archive_flag_spec_CXX= -enable_shared_with_static_runtimes_CXX=no - -# Source file extension for C++ test sources. -ac_ext=cpp - -# Object file extension for compiled C++ test sources. -objext=o -objext_CXX=$objext - -# No sense in running all these tests if we already determined that -# the CXX compiler isn't working. Some variables (like enable_shared) -# are currently assumed to apply to all compilers on this platform, -# and will be corrupted by setting them based on a non-working compiler. -if test "$_lt_caught_CXX_error" != yes; then - # Code to be used in simple compile tests - lt_simple_compile_test_code="int some_variable = 0;" - - # Code to be used in simple link tests - lt_simple_link_test_code='int main(int, char *[]) { return(0); }' - - # ltmain only uses $CC for tagged configurations so make sure $CC is set. - - - - - - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC - - - # save warnings/boilerplate of simple test code - ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$RM conftest* - - ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$RM -r conftest* - - - # Allow CC to be a program name with arguments. - lt_save_CC=$CC - lt_save_LD=$LD - lt_save_GCC=$GCC - GCC=$GXX - lt_save_with_gnu_ld=$with_gnu_ld - lt_save_path_LD=$lt_cv_path_LD - if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx - else - $as_unset lt_cv_prog_gnu_ld - fi - if test -n "${lt_cv_path_LDCXX+set}"; then - lt_cv_path_LD=$lt_cv_path_LDCXX - else - $as_unset lt_cv_path_LD - fi - test -z "${LDCXX+set}" || LD=$LDCXX - CC=${CXX-"c++"} - compiler=$CC - compiler_CXX=$CC - for cc_temp in $compiler""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` - - - if test -n "$compiler"; then - # We don't want -fno-exception when compiling C++ code, so set the - # no_builtin_flag separately - if test "$GXX" = yes; then - lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' - else - lt_prog_compiler_no_builtin_flag_CXX= - fi - - if test "$GXX" = yes; then - # Set up default GNU C++ configuration - - - -# Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then : - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -else - with_gnu_ld=no -fi - -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 -$as_echo_n "checking for ld used by $CC... " >&6; } - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [\\/]* | ?:[\\/]*) - re_direlt='/[^/][^/]*/\.\./' - # Canonicalize the pathname of ld - ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` - while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do - ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test "$with_gnu_ld" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -$as_echo_n "checking for GNU ld... " >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -$as_echo_n "checking for non-GNU ld... " >&6; } -fi -if ${lt_cv_path_LD+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$LD"; then - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - lt_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$lt_cv_path_LD" -v 2>&1 &5 -$as_echo "$LD" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi -test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if ${lt_cv_prog_gnu_ld+:} false; then : - $as_echo_n "(cached) " >&6 -else - # I'd rather use --version here, but apparently some GNU lds only accept -v. -case `$LD -v 2>&1 &5 -$as_echo "$lt_cv_prog_gnu_ld" >&6; } -with_gnu_ld=$lt_cv_prog_gnu_ld - - - - - - - - # Check if GNU C++ uses GNU ld as the underlying linker, since the - # archiving commands below assume that GNU ld is being used. - if test "$with_gnu_ld" = yes; then - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' - export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - - # If archive_cmds runs LD, not CC, wlarc should be empty - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to - # investigate it a little bit more. (MM) - wlarc='${wl}' - - # ancient GNU ld didn't support --whole-archive et. al. - if eval "`$CC -print-prog-name=ld` --help 2>&1" | - $GREP 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec_CXX= - fi - else - with_gnu_ld=no - wlarc= - - # A generic and very simple default shared library creation - # command for GNU C++ for the case where it uses the native - # linker, instead of GNU ld. If possible, this setting should - # overridden to take advantage of the native linker features on - # the platform it is being used on. - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - fi - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' - - else - GXX=no - with_gnu_ld=no - wlarc= - fi - - # PORTME: fill in a description of your system's C++ link characteristics - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } - ld_shlibs_CXX=yes - case $host_os in - aix3*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - aix[4-9]*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - archive_cmds_CXX='' - hardcode_direct_CXX=yes - hardcode_direct_absolute_CXX=yes - hardcode_libdir_separator_CXX=':' - link_all_deplibs_CXX=yes - file_list_spec_CXX='${wl}-f,' - - if test "$GXX" = yes; then - case $host_os in aix4.[012]|aix4.[012].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && - strings "$collect2name" | $GREP resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - hardcode_direct_CXX=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L_CXX=yes - hardcode_libdir_flag_spec_CXX='-L$libdir' - hardcode_libdir_separator_CXX= - fi - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - export_dynamic_flag_spec_CXX='${wl}-bexpall' - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to - # export. - always_export_symbols_CXX=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag_CXX='-berok' - # Determine the default libpath from the value encoded in an empty - # executable. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" - - archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag_CXX="-z nodefs" - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an - # empty executable. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - no_undefined_flag_CXX=' ${wl}-bernotok' - allow_undefined_flag_CXX=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - whole_archive_flag_spec_CXX='$convenience' - archive_cmds_need_lc_CXX=yes - # This is similar to how AIX traditionally builds its shared - # libraries. - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - beos*) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag_CXX=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs_CXX=no - fi - ;; - - chorus*) - case $cc_basename in - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - - cygwin* | mingw* | pw32* | cegcc*) - # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, - # as there is no search path for DLLs. - hardcode_libdir_flag_spec_CXX='-L$libdir' - allow_undefined_flag_CXX=unsupported - always_export_symbols_CXX=no - enable_shared_with_static_runtimes_CXX=yes - - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - ld_shlibs_CXX=no - fi - ;; - darwin* | rhapsody*) - - - archive_cmds_need_lc_CXX=no - hardcode_direct_CXX=no - hardcode_automatic_CXX=yes - hardcode_shlibpath_var_CXX=unsupported - whole_archive_flag_spec_CXX='' - link_all_deplibs_CXX=yes - allow_undefined_flag_CXX="$_lt_dar_allow_undefined" - case $cc_basename in - ifort*) _lt_dar_can_shared=yes ;; - *) _lt_dar_can_shared=$GCC ;; - esac - if test "$_lt_dar_can_shared" = "yes"; then - output_verbose_link_cmd=echo - archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" - module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" - archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" - module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" - if test "$lt_cv_apple_cc_single_mod" != "yes"; then - archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" - archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" - fi - - else - ld_shlibs_CXX=no - fi - - ;; - - dgux*) - case $cc_basename in - ec++*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - ghcx*) - # Green Hills C++ Compiler - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - - freebsd[12]*) - # C++ shared libraries reported to be fairly broken before - # switch to ELF - ld_shlibs_CXX=no - ;; - - freebsd-elf*) - archive_cmds_need_lc_CXX=no - ;; - - freebsd* | dragonfly*) - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF - # conventions - ld_shlibs_CXX=yes - ;; - - gnu*) - ;; - - hpux9*) - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' - hardcode_libdir_separator_CXX=: - export_dynamic_flag_spec_CXX='${wl}-E' - hardcode_direct_CXX=yes - hardcode_minus_L_CXX=yes # Not in the search PATH, - # but as the default - # location of the library. - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - aCC*) - archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - ;; - *) - if test "$GXX" = yes; then - archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - fi - ;; - esac - ;; - - hpux10*|hpux11*) - if test $with_gnu_ld = no; then - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' - hardcode_libdir_separator_CXX=: - - case $host_cpu in - hppa*64*|ia64*) - ;; - *) - export_dynamic_flag_spec_CXX='${wl}-E' - ;; - esac - fi - case $host_cpu in - hppa*64*|ia64*) - hardcode_direct_CXX=no - hardcode_shlibpath_var_CXX=no - ;; - *) - hardcode_direct_CXX=yes - hardcode_direct_absolute_CXX=yes - hardcode_minus_L_CXX=yes # Not in the search PATH, - # but as the default - # location of the library. - ;; - esac - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - aCC*) - case $host_cpu in - hppa*64*) - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - ;; - *) - if test "$GXX" = yes; then - if test $with_gnu_ld = no; then - case $host_cpu in - hppa*64*) - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - fi - else - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - fi - ;; - esac - ;; - - interix[3-9]*) - hardcode_direct_CXX=no - hardcode_shlibpath_var_CXX=no - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - export_dynamic_flag_spec_CXX='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - irix5* | irix6*) - case $cc_basename in - CC*) - # SGI C++ - archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - - # Archives containing C++ object files must be created using - # "CC -ar", where "CC" is the IRIX C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' - ;; - *) - if test "$GXX" = yes; then - if test "$with_gnu_ld" = no; then - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib' - fi - fi - link_all_deplibs_CXX=yes - ;; - esac - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_CXX=: - inherit_rpath_CXX=yes - ;; - - linux* | k*bsd*-gnu) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - - # Archives containing C++ object files must be created using - # "CC -Bstatic", where "CC" is the KAI C++ compiler. - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' - ;; - icpc* | ecpc* ) - # Intel C++ - with_gnu_ld=yes - # version 8.0 and above of icpc choke on multiply defined symbols - # if we add $predep_objects and $postdep_objects, however 7.1 and - # earlier do not add the objects themselves. - case `$CC -V 2>&1` in - *"Version 7."*) - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - *) # Version 8.0 or newer - tmp_idyn= - case $host_cpu in - ia64*) tmp_idyn=' -i_dynamic';; - esac - archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - esac - archive_cmds_need_lc_CXX=no - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' - ;; - pgCC* | pgcpp*) - # Portland Group C++ compiler - case `$CC -V` in - *pgCC\ [1-5]* | *pgcpp\ [1-5]*) - prelink_cmds_CXX='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ - compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"' - old_archive_cmds_CXX='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ - $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~ - $RANLIB $oldlib' - archive_cmds_CXX='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' - archive_expsym_cmds_CXX='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' - ;; - *) # Version 6 will use weak symbols - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' - ;; - esac - - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - ;; - cxx*) - # Compaq C++ - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' - - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec_CXX='-rpath $libdir' - hardcode_libdir_separator_CXX=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - ;; - xl*) - # IBM XL 8.0 on PPC, with GNU ld - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' - export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - if test "x$supports_anon_versioning" = xyes; then - archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - fi - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - no_undefined_flag_CXX=' -zdefs' - archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' - hardcode_libdir_flag_spec_CXX='-R$libdir' - whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - compiler_needs_object_CXX=yes - - # Not sure whether something based on - # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 - # would be better. - output_verbose_link_cmd='echo' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' - ;; - esac - ;; - esac - ;; - - lynxos*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - - m88k*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - - mvs*) - case $cc_basename in - cxx*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' - wlarc= - hardcode_libdir_flag_spec_CXX='-R$libdir' - hardcode_direct_CXX=yes - hardcode_shlibpath_var_CXX=no - fi - # Workaround some broken pre-1.5 toolchains - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' - ;; - - *nto* | *qnx*) - ld_shlibs_CXX=yes - ;; - - openbsd2*) - # C++ shared libraries are fairly broken - ld_shlibs_CXX=no - ;; - - openbsd*) - if test -f /usr/libexec/ld.so; then - hardcode_direct_CXX=yes - hardcode_shlibpath_var_CXX=no - hardcode_direct_absolute_CXX=yes - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' - export_dynamic_flag_spec_CXX='${wl}-E' - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - fi - output_verbose_link_cmd=echo - else - ld_shlibs_CXX=no - fi - ;; - - osf3* | osf4* | osf5*) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - hardcode_libdir_separator_CXX=: - - # Archives containing C++ object files must be created using - # the KAI C++ compiler. - case $host in - osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; - *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; - esac - ;; - RCC*) - # Rational C++ 2.4.1 - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - cxx*) - case $host in - osf3*) - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' - ;; - *) - allow_undefined_flag_CXX=' -expect_unresolved \*' - archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ - echo "-hidden">> $lib.exp~ - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~ - $RM $lib.exp' - hardcode_libdir_flag_spec_CXX='-rpath $libdir' - ;; - esac - - hardcode_libdir_separator_CXX=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - ;; - *) - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' - case $host in - osf3*) - archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - ;; - *) - archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - ;; - esac - - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_CXX=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' - - else - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - fi - ;; - esac - ;; - - psos*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - lcc*) - # Lucid - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - - solaris*) - case $cc_basename in - CC*) - # Sun C++ 4.2, 5.x and Centerline C++ - archive_cmds_need_lc_CXX=yes - no_undefined_flag_CXX=' -zdefs' - archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' - - hardcode_libdir_flag_spec_CXX='-R$libdir' - hardcode_shlibpath_var_CXX=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. - # Supported since Solaris 2.6 (maybe 2.5.1?) - whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' - ;; - esac - link_all_deplibs_CXX=yes - - output_verbose_link_cmd='echo' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' - ;; - gcx*) - # Green Hills C++ Compiler - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - - # The C++ compiler must be used to create the archive. - old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' - ;; - *) - # GNU C++ compiler with Solaris linker - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - no_undefined_flag_CXX=' ${wl}-z ${wl}defs' - if $CC --version | $GREP -v '^2\.7' > /dev/null; then - archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' - else - # g++ 2.7 appears to require `-G' NOT `-shared' on this - # platform. - archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' - fi - - hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) - whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - ;; - esac - fi - ;; - esac - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) - no_undefined_flag_CXX='${wl}-z,text' - archive_cmds_need_lc_CXX=no - hardcode_shlibpath_var_CXX=no - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - no_undefined_flag_CXX='${wl}-z,text' - allow_undefined_flag_CXX='${wl}-z,nodefs' - archive_cmds_need_lc_CXX=no - hardcode_shlibpath_var_CXX=no - hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' - hardcode_libdir_separator_CXX=':' - link_all_deplibs_CXX=yes - export_dynamic_flag_spec_CXX='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - - vxworks*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 -$as_echo "$ld_shlibs_CXX" >&6; } - test "$ld_shlibs_CXX" = no && can_build_shared=no - - GCC_CXX="$GXX" - LD_CXX="$LD" - - ## CAVEAT EMPTOR: - ## There is no encapsulation within the following macros, do not change - ## the running order or otherwise move them around unless you know exactly - ## what you are doing... - # Dependencies to place before and after the object being linked: -predep_objects_CXX= -postdep_objects_CXX= -predeps_CXX= -postdeps_CXX= -compiler_lib_search_path_CXX= - -cat > conftest.$ac_ext <<_LT_EOF -class Foo -{ -public: - Foo (void) { a = 0; } -private: - int a; -}; -_LT_EOF - -if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - # Parse the compiler output and extract the necessary - # objects, libraries and library flags. - - # Sentinel used to keep track of whether or not we are before - # the conftest object file. - pre_test_object_deps_done=no - - for p in `eval "$output_verbose_link_cmd"`; do - case $p in - - -L* | -R* | -l*) - # Some compilers place space between "-{L,R}" and the path. - # Remove the space. - if test $p = "-L" || - test $p = "-R"; then - prev=$p - continue - else - prev= - fi - - if test "$pre_test_object_deps_done" = no; then - case $p in - -L* | -R*) - # Internal compiler library paths should come after those - # provided the user. The postdeps already come after the - # user supplied libs so there is no need to process them. - if test -z "$compiler_lib_search_path_CXX"; then - compiler_lib_search_path_CXX="${prev}${p}" - else - compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" - fi - ;; - # The "-l" case would never come before the object being - # linked, so don't bother handling this case. - esac - else - if test -z "$postdeps_CXX"; then - postdeps_CXX="${prev}${p}" - else - postdeps_CXX="${postdeps_CXX} ${prev}${p}" - fi - fi - ;; - - *.$objext) - # This assumes that the test object file only shows up - # once in the compiler output. - if test "$p" = "conftest.$objext"; then - pre_test_object_deps_done=yes - continue - fi - - if test "$pre_test_object_deps_done" = no; then - if test -z "$predep_objects_CXX"; then - predep_objects_CXX="$p" - else - predep_objects_CXX="$predep_objects_CXX $p" - fi - else - if test -z "$postdep_objects_CXX"; then - postdep_objects_CXX="$p" - else - postdep_objects_CXX="$postdep_objects_CXX $p" - fi - fi - ;; - - *) ;; # Ignore the rest. - - esac - done - - # Clean up. - rm -f a.out a.exe -else - echo "libtool.m4: error: problem compiling CXX test program" -fi - -$RM -f confest.$objext - -# PORTME: override above test on systems where it is broken -case $host_os in -interix[3-9]*) - # Interix 3.5 installs completely hosed .la files for C++, so rather than - # hack all around it, let's just trust "g++" to DTRT. - predep_objects_CXX= - postdep_objects_CXX= - postdeps_CXX= - ;; - -linux*) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - - # The more standards-conforming stlport4 library is - # incompatible with the Cstd library. Avoid specifying - # it if it's in CXXFLAGS. Ignore libCrun as - # -library=stlport4 depends on it. - case " $CXX $CXXFLAGS " in - *" -library=stlport4 "*) - solaris_use_stlport4=yes - ;; - esac - - if test "$solaris_use_stlport4" != yes; then - postdeps_CXX='-library=Cstd -library=Crun' - fi - ;; - esac - ;; - -solaris*) - case $cc_basename in - CC*) - # The more standards-conforming stlport4 library is - # incompatible with the Cstd library. Avoid specifying - # it if it's in CXXFLAGS. Ignore libCrun as - # -library=stlport4 depends on it. - case " $CXX $CXXFLAGS " in - *" -library=stlport4 "*) - solaris_use_stlport4=yes - ;; - esac - - # Adding this requires a known-good setup of shared libraries for - # Sun compiler versions before 5.6, else PIC objects from an old - # archive will be linked into the output, leading to subtle bugs. - if test "$solaris_use_stlport4" != yes; then - postdeps_CXX='-library=Cstd -library=Crun' - fi - ;; - esac - ;; -esac - - -case " $postdeps_CXX " in -*" -lc "*) archive_cmds_need_lc_CXX=no ;; -esac - compiler_lib_search_dirs_CXX= -if test -n "${compiler_lib_search_path_CXX}"; then - compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - lt_prog_compiler_wl_CXX= -lt_prog_compiler_pic_CXX= -lt_prog_compiler_static_CXX= - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 -$as_echo_n "checking for $compiler option to produce PIC... " >&6; } - - # C++ specific cases for pic, static, wl, etc. - if test "$GXX" = yes; then - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static_CXX='-Bstatic' - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - lt_prog_compiler_pic_CXX='-fPIC' - ;; - m68k) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' - ;; - esac - ;; - - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - mingw* | cygwin* | os2* | pw32* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - lt_prog_compiler_pic_CXX='-DDLL_EXPORT' - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_prog_compiler_pic_CXX='-fno-common' - ;; - *djgpp*) - # DJGPP does not support shared libraries at all - lt_prog_compiler_pic_CXX= - ;; - interix[3-9]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - sysv4*MP*) - if test -d /usr/nec; then - lt_prog_compiler_pic_CXX=-Kconform_pic - fi - ;; - hpux*) - # PIC is the default for 64-bit PA HP-UX, but not for 32-bit - # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag - # sets the default TLS model and affects inlining. - case $host_cpu in - hppa*64*) - ;; - *) - lt_prog_compiler_pic_CXX='-fPIC' - ;; - esac - ;; - *qnx* | *nto*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - lt_prog_compiler_pic_CXX='-fPIC -shared' - ;; - *) - lt_prog_compiler_pic_CXX='-fPIC' - ;; - esac - else - case $host_os in - aix[4-9]*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static_CXX='-Bstatic' - else - lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' - fi - ;; - chorus*) - case $cc_basename in - cxch68*) - # Green Hills C++ Compiler - # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" - ;; - esac - ;; - dgux*) - case $cc_basename in - ec++*) - lt_prog_compiler_pic_CXX='-KPIC' - ;; - ghcx*) - # Green Hills C++ Compiler - lt_prog_compiler_pic_CXX='-pic' - ;; - *) - ;; - esac - ;; - freebsd* | dragonfly*) - # FreeBSD uses GNU C++ - ;; - hpux9* | hpux10* | hpux11*) - case $cc_basename in - CC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' - if test "$host_cpu" != ia64; then - lt_prog_compiler_pic_CXX='+Z' - fi - ;; - aCC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic_CXX='+Z' - ;; - esac - ;; - *) - ;; - esac - ;; - interix*) - # This is c89, which is MS Visual C++ (no shared libs) - # Anyone wants to do a port? - ;; - irix5* | irix6* | nonstopux*) - case $cc_basename in - CC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='-non_shared' - # CC pic flag -KPIC is the default. - ;; - *) - ;; - esac - ;; - linux* | k*bsd*-gnu) - case $cc_basename in - KCC*) - # KAI C++ Compiler - lt_prog_compiler_wl_CXX='--backend -Wl,' - lt_prog_compiler_pic_CXX='-fPIC' - ;; - ecpc* ) - # old Intel C++ for x86_64 which still supported -KPIC. - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-static' - ;; - icpc* ) - # Intel C++, used to be incompatible with GCC. - # ICC 10 doesn't accept -KPIC any more. - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-fPIC' - lt_prog_compiler_static_CXX='-static' - ;; - pgCC* | pgcpp*) - # Portland Group C++ compiler - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-fpic' - lt_prog_compiler_static_CXX='-Bstatic' - ;; - cxx*) - # Compaq C++ - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - lt_prog_compiler_pic_CXX= - lt_prog_compiler_static_CXX='-non_shared' - ;; - xlc* | xlC*) - # IBM XL 8.0 on PPC - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-qpic' - lt_prog_compiler_static_CXX='-qstaticlink' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-Bstatic' - lt_prog_compiler_wl_CXX='-Qoption ld ' - ;; - esac - ;; - esac - ;; - lynxos*) - ;; - m88k*) - ;; - mvs*) - case $cc_basename in - cxx*) - lt_prog_compiler_pic_CXX='-W c,exportall' - ;; - *) - ;; - esac - ;; - netbsd*) - ;; - *qnx* | *nto*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - lt_prog_compiler_pic_CXX='-fPIC -shared' - ;; - osf3* | osf4* | osf5*) - case $cc_basename in - KCC*) - lt_prog_compiler_wl_CXX='--backend -Wl,' - ;; - RCC*) - # Rational C++ 2.4.1 - lt_prog_compiler_pic_CXX='-pic' - ;; - cxx*) - # Digital/Compaq C++ - lt_prog_compiler_wl_CXX='-Wl,' - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - lt_prog_compiler_pic_CXX= - lt_prog_compiler_static_CXX='-non_shared' - ;; - *) - ;; - esac - ;; - psos*) - ;; - solaris*) - case $cc_basename in - CC*) - # Sun C++ 4.2, 5.x and Centerline C++ - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-Bstatic' - lt_prog_compiler_wl_CXX='-Qoption ld ' - ;; - gcx*) - # Green Hills C++ Compiler - lt_prog_compiler_pic_CXX='-PIC' - ;; - *) - ;; - esac - ;; - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - lt_prog_compiler_pic_CXX='-pic' - lt_prog_compiler_static_CXX='-Bstatic' - ;; - lcc*) - # Lucid - lt_prog_compiler_pic_CXX='-pic' - ;; - *) - ;; - esac - ;; - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - case $cc_basename in - CC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-Bstatic' - ;; - esac - ;; - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - lt_prog_compiler_pic_CXX='-KPIC' - ;; - *) - ;; - esac - ;; - vxworks*) - ;; - *) - lt_prog_compiler_can_build_shared_CXX=no - ;; - esac - fi - -case $host_os in - # For platforms which do not support PIC, -DPIC is meaningless: - *djgpp*) - lt_prog_compiler_pic_CXX= - ;; - *) - lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" - ;; -esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5 -$as_echo "$lt_prog_compiler_pic_CXX" >&6; } - - - -# -# Check to make sure the PIC flag actually works. -# -if test -n "$lt_prog_compiler_pic_CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 -$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } -if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_pic_works_CXX=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:21677: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:21681: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_pic_works_CXX=yes - fi - fi - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } - -if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then - case $lt_prog_compiler_pic_CXX in - "" | " "*) ;; - *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; - esac -else - lt_prog_compiler_pic_CXX= - lt_prog_compiler_can_build_shared_CXX=no -fi - -fi - - - -# -# Check to make sure the static flag actually works. -# -wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_static_works_CXX=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_tmp_static_flag" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&5 - $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_static_works_CXX=yes - fi - else - lt_cv_prog_compiler_static_works_CXX=yes - fi - fi - $RM -r conftest* - LDFLAGS="$save_LDFLAGS" - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } - -if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then - : -else - lt_prog_compiler_static_CXX= -fi - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_c_o_CXX=no - $RM -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:21776: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:21780: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o_CXX=yes - fi - fi - chmod u+w . 2>&5 - $RM conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files - $RM out/* && rmdir out - cd .. - $RM -r conftest - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_c_o_CXX=no - $RM -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:21828: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:21832: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o_CXX=yes - fi - fi - chmod u+w . 2>&5 - $RM conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files - $RM out/* && rmdir out - cd .. - $RM -r conftest - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } - - - - -hard_links="nottested" -if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 -$as_echo_n "checking if we can lock with hard links... " >&6; } - hard_links=yes - $RM conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 -$as_echo "$hard_links" >&6; } - if test "$hard_links" = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} - need_locks=warn - fi -else - need_locks=no -fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } - - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - case $host_os in - aix[4-9]*) - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - else - export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - fi - ;; - pw32*) - export_symbols_cmds_CXX="$ltdll_cmds" - ;; - cygwin* | mingw* | cegcc*) - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' - ;; - *) - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - ;; - esac - exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 -$as_echo "$ld_shlibs_CXX" >&6; } -test "$ld_shlibs_CXX" = no && can_build_shared=no - -with_gnu_ld_CXX=$with_gnu_ld - - - - - - -# -# Do we need to explicitly link libc? -# -case "x$archive_cmds_need_lc_CXX" in -x|xyes) - # Assume -lc should be added - archive_cmds_need_lc_CXX=yes - - if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds_CXX in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 -$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } - $RM conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_prog_compiler_wl_CXX - pic_flag=$lt_prog_compiler_pic_CXX - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag_CXX - allow_undefined_flag_CXX= - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 - (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - then - archive_cmds_need_lc_CXX=no - else - archive_cmds_need_lc_CXX=yes - fi - allow_undefined_flag_CXX=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $RM conftest* - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5 -$as_echo "$archive_cmds_need_lc_CXX" >&6; } - ;; - esac - fi - ;; -esac - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 -$as_echo_n "checking dynamic linker characteristics... " >&6; } - -library_names_spec= -libname_spec='lib$name' -soname_spec= -shrext_cmds=".so" -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -need_lib_prefix=unknown -hardcode_into_libs=no - -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -need_version=unknown - -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX 3 has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}${shared_ext}$major' - ;; - -aix[4-9]*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[01] | aix4.[01].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}${shared_ext}$major' - fi - shlibpath_var=LIBPATH - fi - ;; - -amigaos*) - case $host_cpu in - powerpc) - # Since July 2007 AmigaOS4 officially supports .so libraries. - # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - ;; - m68k) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' - ;; - esac - ;; - -beos*) - library_names_spec='${libname}${shared_ext}' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; - -bsdi[45]*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; - -cygwin* | mingw* | pw32* | cegcc*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no - - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \${file}`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname~ - if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then - eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; - fi' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $RM \$dlpath' - shlibpath_overrides_runpath=yes - - case $host_os in - cygwin*) - # Cygwin DLLs use 'cyg' prefix rather than 'lib' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" - ;; - mingw* | cegcc*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - ;; - pw32*) - # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - ;; - esac - ;; - - *) - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' - soname_spec='${libname}${release}${major}$shared_ext' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' - - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no - ;; - -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` - else - case $host_os in - freebsd[123]*) objformat=aout ;; - *) objformat=elf ;; - esac - fi - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes - ;; - freebsd3.[01]* | freebsdelf3.[01]*) - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - *) # from 4.6 on, and DragonFly - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - esac - ;; - -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - version_type=sunos - need_lib_prefix=no - need_version=no - case $host_cpu in - ia64*) - shrext_cmds='.so' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.so" - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - if test "X$HPUX_IA64_MODE" = X32; then - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" - else - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" - fi - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) - shrext_cmds='.sl' - dynamic_linker="$host_os dld.sl" - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - ;; - esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; - -interix[3-9]*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux - else - version_type=irix - fi ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") - libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") - libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") - libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - hardcode_into_libs=yes - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux*oldld* | linux*aout* | linux*coff*) - dynamic_linker=no - ;; - -# This must be Linux ELF. -linux* | k*bsd*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # Some binutils ld are patched to set DT_RUNPATH - save_LDFLAGS=$LDFLAGS - save_libdir=$libdir - eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ - LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : - shlibpath_overrides_runpath=yes -fi -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS=$save_LDFLAGS - libdir=$save_libdir - - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # Add ABI-specific directories to the system library path. - sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" - - # Append ld.so.conf contents to the search path - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" - fi - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; - -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - -newsos6) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -*nto* | *qnx*) - version_type=qnx - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='ldqnx.so' - ;; - -openbsd*) - version_type=sunos - sys_lib_dlsearch_path_spec="/usr/lib" - need_lib_prefix=no - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. - case $host_os in - openbsd3.3 | openbsd3.3.*) need_version=yes ;; - *) need_version=no ;; - esac - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case $host_os in - openbsd2.[89] | openbsd2.[89].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac - else - shlibpath_overrides_runpath=yes - fi - ;; - -os2*) - libname_spec='$name' - shrext_cmds=".dll" - need_lib_prefix=no - library_names_spec='$libname${shared_ext} $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; - -osf3* | osf4* | osf5*) - version_type=osf - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - ;; - -rdos*) - dynamic_linker=no - ;; - -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes - ;; - -sysv4 | sysv4.3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; - -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' - soname_spec='$libname${shared_ext}.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=freebsd-elf - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - if test "$with_gnu_ld" = yes; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac - fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; - -tpf*) - # TPF is a cross-target only. Preferred cross-host = GNU/Linux. - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -uts4*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -*) - dynamic_linker=no - ;; -esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 -$as_echo "$dynamic_linker" >&6; } -test "$dynamic_linker" = no && can_build_shared=no - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi - -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then - sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" -fi -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then - sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 -$as_echo_n "checking how to hardcode library paths into programs... " >&6; } -hardcode_action_CXX= -if test -n "$hardcode_libdir_flag_spec_CXX" || - test -n "$runpath_var_CXX" || - test "X$hardcode_automatic_CXX" = "Xyes" ; then - - # We can hardcode non-existent directories. - if test "$hardcode_direct_CXX" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && - test "$hardcode_minus_L_CXX" != no; then - # Linking always hardcodes the temporary library directory. - hardcode_action_CXX=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action_CXX=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - hardcode_action_CXX=unsupported -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 -$as_echo "$hardcode_action_CXX" >&6; } - -if test "$hardcode_action_CXX" = relink || - test "$inherit_rpath_CXX" = yes; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi - - - - - - - - fi # test -n "$compiler" - - CC=$lt_save_CC - LDCXX=$LD - LD=$lt_save_LD - GCC=$lt_save_GCC - with_gnu_ld=$lt_save_with_gnu_ld - lt_cv_path_LDCXX=$lt_cv_path_LD - lt_cv_path_LD=$lt_save_path_LD - lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld - lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld -fi # test "$_lt_caught_CXX_error" != yes - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - - - - - - - - - - - - ac_config_commands="$ac_config_commands libtool" - - - - -# Only expand once: - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5 -$as_echo_n "checking for library containing sched_yield... " >&6; } -if ${ac_cv_search_sched_yield+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 sched_yield (); -int -main () -{ -return sched_yield (); - ; - return 0; -} -_ACEOF -for ac_lib in '' rt posix4; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_search_sched_yield=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_sched_yield+:} false; then : - break -fi -done -if ${ac_cv_search_sched_yield+:} false; then : - -else - ac_cv_search_sched_yield=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5 -$as_echo "$ac_cv_search_sched_yield" >&6; } -ac_res=$ac_cv_search_sched_yield -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - ace_has_sched_yield=yes -fi - - - - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - - - ace_save_LIBS="$LIBS" - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing aio_read" >&5 -$as_echo_n "checking for library containing aio_read... " >&6; } -if ${ac_cv_search_aio_read+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 aio_read (); -int -main () -{ -return aio_read (); - ; - return 0; -} -_ACEOF -for ac_lib in '' aio rt posix4; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_search_aio_read=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_aio_read+:} false; then : - break -fi -done -if ${ac_cv_search_aio_read+:} false; then : - -else - ac_cv_search_aio_read=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_aio_read" >&5 -$as_echo "$ac_cv_search_aio_read" >&6; } -ac_res=$ac_cv_search_aio_read -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - ace_has_aio_funcs=yes -else - ace_has_aio_funcs=no -fi - - -if test "$ace_has_aio_funcs" = yes; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working asynchronous IO" >&5 -$as_echo_n "checking for working asynchronous IO... " >&6; } - if ${ace_cv_feature_aio_calls+:} false; then : - $as_echo_n "(cached) " >&6 -else - - if test "$cross_compiling" = yes; then : - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - aiocb* aiocb_ptr (void); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_feature_aio_calls=yes - -else - - ace_cv_feature_aio_calls=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_UNISTD_H -#include -#endif -#include -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include -#include -#include -#include -#include - -#include - -class Test_Aio -{ -public: - Test_Aio (void); - // Default constructor. - - int init (void); - // Initting the output file and the buffer. - - int do_aio (void); - // Doing the testing stuff. - - ~Test_Aio (void); - // Destructor. -private: - int out_fd_; - // Output file descriptor. - - struct aiocb *aiocb_write_; - // For writing to the file. - - struct aiocb *aiocb_read_; - // Reading stuff from the file. - - char *buffer_write_; - // The buffer to be written to the out_fd. - - char *buffer_read_; - // The buffer to be read back from the file. -}; - -Test_Aio::Test_Aio (void) - : out_fd_ (0), - aiocb_write_ (new struct aiocb), - aiocb_read_ (new struct aiocb), - buffer_write_ (0), - buffer_read_ (0) -{ -} - -Test_Aio::~Test_Aio (void) -{ - if (close (this->out_fd_) != 0) - perror ("close"); - - delete aiocb_write_; - delete aiocb_read_; - delete [] buffer_write_; - delete [] buffer_read_; -} - -// Init the output file and init the buffer. -int -Test_Aio::init (void) -{ - // Open the output file. - this->out_fd_ = open ("test_aio.log", O_RDWR | O_CREAT | O_TRUNC, 0600); - if (this->out_fd_ == -1) - { - perror ("open"); - return -1; - } - - unlink ("test_aio.log"); // Unlink now so we don't have to do so later. - - const char message[] = "Welcome to the world of AIO... AIO Rules !!!"; - - // Init the buffers. - this->buffer_write_ = new char [sizeof (message) + 1]; - strcpy (this->buffer_write_, message); - this->buffer_read_ = new char [sizeof (message) + 1]; - - return 0; -} - -// Set the necessary things for the AIO stuff. -// Write the buffer asynchly.hmm Disable signals. -// Go on aio_suspend. Wait for completion. -// Print out the result. -int -Test_Aio::do_aio (void) -{ - // = Write to the file. - - // Setup AIOCB. - this->aiocb_write_->aio_fildes = this->out_fd_; - this->aiocb_write_->aio_offset = 0; - this->aiocb_write_->aio_buf = this->buffer_write_; - this->aiocb_write_->aio_nbytes = strlen (this->buffer_write_); - this->aiocb_write_->aio_reqprio = 0; - this->aiocb_write_->aio_sigevent.sigev_notify = SIGEV_NONE; - //this->this->aiocb_.aio_sigevent.sigev_signo = SIGRTMAX; - this->aiocb_write_->aio_sigevent.sigev_value.sival_ptr = - (void *) this->aiocb_write_; - - // Fire off the aio write. - if (aio_write (this->aiocb_write_) != 0) - { - perror ("aio_write"); - return -1; - } - - // = Read from that file. - - // Setup AIOCB. - this->aiocb_read_->aio_fildes = this->out_fd_; - this->aiocb_read_->aio_offset = 0; - this->aiocb_read_->aio_buf = this->buffer_read_; - this->aiocb_read_->aio_nbytes = strlen (this->buffer_write_); - this->aiocb_read_->aio_reqprio = 0; - this->aiocb_read_->aio_sigevent.sigev_notify = SIGEV_NONE; - //this->this->aiocb_.aio_sigevent.sigev_signo = SIGRTMAX; - this->aiocb_read_->aio_sigevent.sigev_value.sival_ptr = - (void *) this->aiocb_read_; - - // Fire off the aio write. If it doesnt get queued, carry on to get - // the completion for the first one. - if (aio_read (this->aiocb_read_) < 0) - perror ("aio_read"); - - // Wait for the completion on aio_suspend. - struct aiocb *list_aiocb[2]; - list_aiocb [0] = this->aiocb_write_; - list_aiocb [1] = this->aiocb_read_; - - // Do suspend till all the aiocbs in the list are done. - int done = 0; - while (!done) - { - if (aio_suspend (list_aiocb, 2, 0) != 0) - { - perror ("aio_suspend"); - return -1; - } - - // Analyze return and error values. - if (list_aiocb [0] != 0 && aio_error (list_aiocb [0]) != EINPROGRESS) - { - if (aio_return (list_aiocb [0]) == -1) - { - perror ("aio_return"); - return -1; - } - else - { - // Successful. Store the pointer somewhere and make the - // entry NULL in the list. - // @@ no need ----> this->aiocb_write_ = list_aiocb [0]; - list_aiocb [0] = 0; - } - } - - if (list_aiocb [1] != 0 && aio_error (list_aiocb [1]) != EINPROGRESS) - { - if (aio_return (list_aiocb [1]) == -1) - { - perror ("aio_return"); - return -1; - } - else - { - // Successful. Store the pointer somewhere and make the - // entry NULL in the list. - // @@ no need ----> this->aiocb_read_ = list_aiocb [1]; - list_aiocb [1] = 0; - } - } - - // Is it done? - if ((list_aiocb [0] == 0) && (list_aiocb [1] == 0)) - done = 1; - } - - return 0; -} - -int -main () -{ - Test_Aio test_aio; - - if (test_aio.init () != 0) - { - //printf ("AIOCB test failed:\n" - // "ACE_POSIX_AIOCB_PROACTOR may not work in this platform\n"); - return -1; - } - - if (test_aio.do_aio () != 0) - { - //printf ("AIOCB test failed:\n" - // "ACE_POSIX_AIOCB_PROACTOR may not work in this platform\n"); - return -1; - } - //printf ("AIOCB test successful:\n" - // "ACE_POSIX_AIOCB_PROACTOR should work in this platform\n"); - return 0; -} - -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - - ace_cv_feature_aio_calls=yes - -else - - ace_cv_feature_aio_calls=no - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_aio_calls" >&5 -$as_echo "$ace_cv_feature_aio_calls" >&6; } - if test "$ace_cv_feature_aio_calls" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_AIO_CALLS 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme -LIBS="$ace_save_LIBS" - - fi - -fi - -if test "$ace_cv_feature_aio_calls" = yes; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working POSIX realtime signals" >&5 -$as_echo_n "checking for working POSIX realtime signals... " >&6; } - if ${ace_cv_feature_posix_rt_sigs+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat > test_aiosig.txt <conftest.$ac_ext -/* end confdefs.h. */ - -extern "C" { -#include -} -#ifndef ACE_LACKS_UNISTD_H -#include -#endif -#include -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include -#include -#include -#include - -#include - -#include - -#ifdef __cplusplus -extern "C" -#endif -void null_handler (int /* signal_number */, - siginfo_t * /* info */, - void * /* context */); - -int file_handle = -1; -char mb1[BUFSIZ + 1]; -char mb2[BUFSIZ + 1]; -aiocb aiocb1, aiocb2; -sigset_t completion_signal; - -// Function prototypes. -int setup_signal_delivery (void); -int issue_aio_calls (void); -int query_aio_completions (void); -int test_aio_calls (void); -int setup_signal_handler (void); -int setup_signal_handler (int signal_number); - -int -setup_signal_delivery (void) -{ - // Make the sigset_t consisting of the completion signal. - if (sigemptyset (&completion_signal) == -1) - { - perror ("Error:Couldn't init the RT completion signal set\n"); - return -1; - } - - if (sigaddset (&completion_signal, SIGRTMIN) == -1) - { - perror ("Error:Couldn't init the RT completion signal set\n"); - return -1; - } - - // Mask them. - if (pthread_sigmask (SIG_BLOCK, &completion_signal, 0) == -1) - { - perror ("Error:Couldn't make the RT completion signals\n"); - return -1; - } - - return setup_signal_handler (SIGRTMIN); -} - -int -issue_aio_calls (void) -{ - // Setup AIOCB. - aiocb1.aio_fildes = file_handle; - aiocb1.aio_offset = 0; - aiocb1.aio_buf = mb1; - aiocb1.aio_nbytes = BUFSIZ; - aiocb1.aio_reqprio = 0; - aiocb1.aio_sigevent.sigev_notify = SIGEV_SIGNAL; - aiocb1.aio_sigevent.sigev_signo = SIGRTMIN; - aiocb1.aio_sigevent.sigev_value.sival_ptr = (void *) &aiocb1; - - // Fire off the aio write. - if (aio_read (&aiocb1) == -1) - { - // Queueing failed. - perror ("Error:Asynch_Read_Stream: aio_read queueing failed\n"); - return -1; - } - - // Setup AIOCB. - aiocb2.aio_fildes = file_handle; - aiocb2.aio_offset = BUFSIZ + 1; - aiocb2.aio_buf = mb2; - aiocb2.aio_nbytes = BUFSIZ; - aiocb2.aio_reqprio = 0; - aiocb2.aio_sigevent.sigev_notify = SIGEV_SIGNAL; - aiocb2.aio_sigevent.sigev_signo = SIGRTMIN; - aiocb2.aio_sigevent.sigev_value.sival_ptr = (void *) &aiocb2; - - // Fire off the aio write. - if (aio_read (&aiocb2) == -1) - { - // Queueing failed. - perror ("Error:Asynch_Read_Stream: aio_read queueing failed\n"); - return -1; - } - return 0; -} - -int -query_aio_completions (void) -{ - int result = 0; - size_t number_of_completions = 0; - for (number_of_completions = 0; - number_of_completions < 2; - number_of_completions++) - { - // Wait for amount of time. - // @@ Assigning to tv_sec. - timespec timeout; - timeout.tv_sec = 5; - timeout.tv_nsec = 0; - - // To get back the signal info. - siginfo_t sig_info; - - // Await the RT completion signal. - int sig_return = sigtimedwait (&completion_signal, - &sig_info, - &timeout); - - // Error case. - // If failure is coz of timeout, then return *0* but set - // errno appropriately. This is what the WinNT proactor - // does. - if (sig_return == -1) - { - perror ("Error:Error waiting for RT completion signals\n"); - return -1; - } - - // RT completion signals returned. - if (sig_return != SIGRTMIN) - { - //printf ("Unexpected signal (%d) has been received while waiting for RT Completion Signals\n", - // sig_return); - return -1; - } - - // @@ Debugging. - //printf ("Sig number found in the sig_info block : %d\n", - // sig_info.si_signo); - - // Is the signo returned consistent? - if (sig_info.si_signo != sig_return) - { - //printf ("Inconsistent signal number (%d) in the signal info block\n", - // sig_info.si_signo); - return -1; - } - - // @@ Debugging. - //printf ("Signal code for this signal delivery : %d\n", - // sig_info.si_code); - - // Is the signal code an aio completion one? - if ((sig_info.si_code != SI_ASYNCIO) && - (sig_info.si_code != SI_QUEUE)) - { - //printf ("Unexpected signal code (%d) returned on completion querying\n", - // sig_info.si_code); - return -1; - } - - // Retrive the aiocb. - aiocb* aiocb_ptr = (aiocb *) sig_info.si_value.sival_ptr; - - // Analyze error and return values. Return values are - // actually 's associated with the call - // corresponding to aiocb_ptr. - int error_code = aio_error (aiocb_ptr); - if (error_code == -1) - { - perror ("Error:Invalid control block was sent to for compleion querying\n"); - return -1; - } - - if (error_code != 0) - { - // Error occurred in the call. Return the errno - // corresponding to that call. - //printf ("Error:An AIO call has failed:Error code = %d\n", - // error_code); - return -1; - } - - // No error occured in the AIO operation. - int nbytes = aio_return (aiocb_ptr); - if (nbytes == -1) - { - perror ("Error:Invalid control block was sent to \n"); - return -1; - } - - //if (number_of_completions == 0) - // Print the buffer. - //printf ("Number of bytes transferred : %d\n The buffer : %s \n", - // nbytes, - // mb1); - //else - // Print the buffer. - //printf ("Number of bytes transferred : %d\n The buffer : %s \n", - // nbytes, - // mb2); - } - return 0; -} - -int -test_aio_calls (void) -{ - // Set up the input file. - // Open file (in SEQUENTIAL_SCAN mode) - file_handle = open ("test_aiosig.txt", O_RDONLY); - - if (file_handle == -1) - { - perror ("open"); - return -1; - } - - unlink ("test_aiosig.txt"); // Unlink now so we don't have to do so later. - - if (setup_signal_delivery () < 0) - return -1; - - if (issue_aio_calls () < 0) - return -1; - - if (query_aio_completions () < 0) - return -1; - - if (close (file_handle) != 0) - { - perror ("close"); - return -1; - } - - return 0; -} - -int -setup_signal_handler (int signal_number) -{ - // Setting up the handler(!) for these signals. - struct sigaction reaction; - sigemptyset (&reaction.sa_mask); // Nothing else to mask. - reaction.sa_flags = SA_SIGINFO; // Realtime flag. -#if defined (SA_SIGACTION) - // Lynx says, it is better to set this bit to be portable. - reaction.sa_flags &= SA_SIGACTION; -#endif /* SA_SIGACTION */ - reaction.sa_sigaction = null_handler; // Null handler. - int sigaction_return = sigaction (SIGRTMIN, - &reaction, - 0); - if (sigaction_return == -1) - { - perror ("Error:Proactor couldn't do sigaction for the RT SIGNAL"); - return -1; - } - - return 0; -} - -void -null_handler (int /* signal_number */, - siginfo_t * /* info */, - void * /* context */) -{ -} - -int -main () -{ - if (test_aio_calls () == 0) - { - // printf ("RT SIG test successful:\n" - // "ACE_POSIX_SIG_PROACTOR should work in this platform\n"); - return 0; - } - - //printf ("RT SIG test failed:\n" - // "ACE_POSIX_SIG_PROACTOR may not work in this platform\n"); - return -1; - -} - -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - - ace_cv_feature_posix_rt_sigs=yes - -else - - ace_cv_feature_posix_rt_sigs=no - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_posix_rt_sigs" >&5 -$as_echo "$ace_cv_feature_posix_rt_sigs" >&6; } - if test "$ace_cv_feature_posix_rt_sigs" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_POSIX_REALTIME_SIGNALS 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - -fi - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if _NO_BITFIELDS needed to compile netinet/ip.h" >&5 -$as_echo_n "checking to see if _NO_BITFIELDS needed to compile netinet/ip.h... " >&6; } -if ${ac_cv_needs_no_bitfields+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ace_save_CXXFLAGS="$CXXFLAGS" - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - -#include - -int -main () -{ - - return 0; - - ; - return 0; -} - -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ac_cv_needs_no_bitfields=no - -else - - CXXFLAGS="$CXXFLAGS -D_NO_BITFIELDS" - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - -#include - -int -main () -{ - - return 0; - - ; - return 0; -} - -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ac_cv_needs_no_bitfields=yes - -else - - ac_cv_needs_no_bitfields=no - CXXFLAGS="$ace_save_CXXFLAGS" - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_needs_no_bitfields" >&5 -$as_echo "$ac_cv_needs_no_bitfields" >&6; } - - - - - - -case "$host" in - *aix3*) - $as_echo "#define AIX 1" >>confdefs.h - - $as_echo "#define ACE_DEFAULT_BASE_ADDR ((char *) 0x80000000)" >>confdefs.h - - ;; - *aix4.1*) - $as_echo "#define AIX 1" >>confdefs.h - - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_BSD=44" - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_BSD_INCLUDES" - $as_echo "#define ACE_DEFAULT_BASE_ADDR ((char *) 0x80000000)" >>confdefs.h - - ;; - *aix4.2*) - $as_echo "#define AIX 1" >>confdefs.h - - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_BSD_INCLUDES" - $as_echo "#define ACE_DEFAULT_BASE_ADDR ((char *) 0x80000000)" >>confdefs.h - - $as_echo "#define ACE_TLI_TCP_DEVICE \"/dev/xti/tcp\"" >>confdefs.h - - ;; - *aix*) - $as_echo "#define AIX 1" >>confdefs.h - - ;; - t3e-cray-unicosmk*) - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_CRAYMPP -D_CRAYT3E -D_UNICOS" - ;; - t3e-cray*) - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_CRAYT3E -D_UNICOS" - ;; - *cray-unicos*) - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_UNICOS" - ;; - *hpux9*) - $as_echo "#define HPUX 1" >>confdefs.h - - ;; - *hpux10*) - $as_echo "#define HPUX 1" >>confdefs.h - - $as_echo "#define HPUX_10 1" >>confdefs.h - - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_HPUX_SOURCE" - $as_echo "#define ACE_DEFAULT_BASE_ADDR ((char *) 0x80000000)" >>confdefs.h - - $as_echo "#define ACE_TLI_TCP_DEVICE \"/dev/inet_cots\"" >>confdefs.h - - ;; - *hpux11*) - $as_echo "#define HPUX 1" >>confdefs.h - - $as_echo "#define HPUX_11 1" >>confdefs.h - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifdef __LP64__ - ACE_ON_64BIT_HP -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "ACE_ON_64BIT_HP" >/dev/null 2>&1; then : - - $as_echo "#define ACE_DEFAULT_BASE_ADDR ((char *) 0x0000001100000000)" >>confdefs.h - - $as_echo "#define ACE_DEFAULT_BASE_ADDRL ((char *) 0x0000001100000000)" >>confdefs.h - - -else - - $as_echo "#define ACE_DEFAULT_BASE_ADDR ((char *) 0x80000000)" >>confdefs.h - - -fi -rm -f conftest* - - $as_echo "#define ACE_TIMER_SKEW (1000 * 10)" >>confdefs.h - - ;; - *irix5.2*) - $as_echo "#define IRIX5 1" >>confdefs.h - - ;; - *irix5.3*) - $as_echo "#define IRIX5 1" >>confdefs.h - - if test "$GXX" = no; then - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_BSD_TYPES" - fi - ;; - *irix6*) - $as_echo "#define IRIX6 1" >>confdefs.h - - $as_echo "#define ACE_DEFAULT_BASE_ADDR ((char *) (1024U * 1024 * 1024))" >>confdefs.h - - $as_echo "#define ACE_TIMER_SKEW (1000 * 10)" >>confdefs.h - - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_SGI_MP_SOURCE -D_MODERN_C_" - - case "$host" in - *irix6.2*) - if test "$ace_user_enable_threads" = yes; then - $as_echo "#define ACE_HAS_IRIX62_THREADS 1" >>confdefs.h - - fi - ;; - esac - ;; - *linux*) - $as_echo "#define ACE_DEFAULT_MAX_SOCKET_BUFSIZ 65535" >>confdefs.h - - $as_echo "#define ACE_DEFAULT_BASE_ADDR ((char *) 0x80000000)" >>confdefs.h - - $as_echo "#define ACE_HAS_BIG_FD_SET 1" >>confdefs.h - $as_echo "#define ACE_TIMER_SKEW (1000 * 10)" >>confdefs.h - - NPTL=`getconf GNU_LIBPTHREAD_VERSION | $AWK '{print $1}' -` - if test "$NPTL" != NPTL; then - ACE_CPPFLAGS="$ACE_CPPFLAGS -DACE_LACKS_LINUX_NPTL" - fi - ;; - *lynxos*) - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_POSIX_THREADS_CALLS" - $as_echo "#define __NO_INCLUDE_WARN__ 1" >>confdefs.h - - $as_echo "#define ACE_MALLOC_ALIGN 8" >>confdefs.h - - $as_echo "#define ACE_MAP_PRIVATE ACE_MAP_SHARED" >>confdefs.h - - $as_echo "#define ACE_HAS_LYNXOS4_SIGNALS 1" >>confdefs.h - - $as_echo "#define ACE_TIMER_SKEW (1000 * 10)" >>confdefs.h - - ;; - *mvs*) - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_ALL_SOURCE" - ;; - *osf3.2*) - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#if defined(__DECCXX) - ACE_DEC_CXX -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "ACE_DEC_CXX" >/dev/null 2>&1; then : - - $as_echo "#define DEC_CXX 1" >>confdefs.h - - -fi -rm -f conftest* - - ;; - *osf4.0*) - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#if defined(__DECCXX) - ACE_DEC_CXX -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "ACE_DEC_CXX" >/dev/null 2>&1; then : - - $as_echo "#define DEC_CXX 1" >>confdefs.h - - -fi -rm -f conftest* - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - /* Include unistd.h to define _POSIX_C_SOURCE. */ -#ifndef ACE_LACKS_UNISTD_H -# include -#endif - -#if defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 199506L) - ACE_ON_DEC_WITH_POS_SRC -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "ACE_ON_DEC_WITH_POS_SRC" >/dev/null 2>&1; then : - - $as_echo "#define DIGITAL_UNIX 1" >>confdefs.h - - -fi -rm -f conftest* - - $as_echo "#define ACE_DEFAULT_BASE_ADDR ((char *) 0x80000000)" >>confdefs.h - - $as_echo "#define ACE_NEEDS_HUGE_THREAD_STACKSIZE (1024 * 1024)" >>confdefs.h - - $as_echo "#define ACE_TIMER_SKEW (1000 * 10)" >>confdefs.h - - ;; - *sco4.2*) - $as_echo "#define SCO 1" >>confdefs.h - - $as_echo "#define ACE_DEFAULT_CLOSE_ALL_HANDLES 0" >>confdefs.h - - ;; - *sco5*) - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_SVID3" - $as_echo "#define SCO 1" >>confdefs.h - - $as_echo "#define ACE_DEFAULT_CLOSE_ALL_HANDLES 0" >>confdefs.h - - $as_echo "#define ACE_HAS_BIG_FD_SET 1" >>confdefs.h - ;; - *sunos4*) - $as_echo "#define ACE_TIMER_SKEW (1000 * 10)" >>confdefs.h - - ;; - *solaris2.4*) - $as_echo "#define ACE_TIMER_SKEW (1000 * 10)" >>confdefs.h - - $as_echo "#define ACE_NEEDS_LWP_PRIO_SET 1" >>confdefs.h - - ;; - *solaris2.5*) - $as_echo "#define ACE_MALLOC_ALIGN 8" >>confdefs.h - - $as_echo "#define ACE_TIMER_SKEW (1000 * 10)" >>confdefs.h - - $as_echo "#define ACE_NEEDS_LWP_PRIO_SET 1" >>confdefs.h - - ;; - *solaris2.6*) - $as_echo "#define ACE_MALLOC_ALIGN 8" >>confdefs.h - - $as_echo "#define ACE_TIMER_SKEW (1000 * 10)" >>confdefs.h - - $as_echo "#define ACE_NEEDS_LWP_PRIO_SET 1" >>confdefs.h - - ;; - *solaris2.7*) - $as_echo "#define ACE_MALLOC_ALIGN 8" >>confdefs.h - - $as_echo "#define ACE_TIMER_SKEW (1000 * 10)" >>confdefs.h - - $as_echo "#define ACE_NEEDS_LWP_PRIO_SET 1" >>confdefs.h - - ;; - *86*solaris*) - $as_echo "#define ACE_HAS_X86_STAT_MACROS 1" >>confdefs.h - - $as_echo "#define ACE_TIMER_SKEW (1000 * 10)" >>confdefs.h - - $as_echo "#define ACE_NEEDS_LWP_PRIO_SET 1" >>confdefs.h - - ;; - *tandem*) - $as_echo "#define ACE_TIMER_SKEW (1000 * 10)" >>confdefs.h - - ;; - *unixware2.0*) - $as_echo "#define UNIXWARE 1" >>confdefs.h - - $as_echo "#define UNIXWARE_2_0 1" >>confdefs.h - - ;; - *unixware2.1*) - $as_echo "#define UNIXWARE 1" >>confdefs.h - - $as_echo "#define UNIXWARE_2_1 1" >>confdefs.h - - ;; - *UnixWare7.1*) - $as_echo "#define UNIXWARE 1" >>confdefs.h - - $as_echo "#define UNIXWARE_7_1 1" >>confdefs.h - - $as_echo "#define __IOCTL_VERSIONED__ 1" >>confdefs.h - - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_REENTRANT" - ;; - *vxworks*) - $as_echo "#define VXWORKS 1" >>confdefs.h - - $as_echo "#define ACE_MAIN ace_main" >>confdefs.h - - $as_echo "#define ACE_DEFAULT_MAX_SOCKET_BUFSIZ 32768" >>confdefs.h - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#if defined (ACE_HAS_TSS_EMULATION) - ACE_TSS_EMULATION -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "ACE_TSS_EMULATION" >/dev/null 2>&1; then : - $as_echo "#define ACE_DEFAULT_THREAD_KEYS 16" >>confdefs.h - -fi -rm -f conftest* - - $as_echo "#define ACE_THR_PRI_FIFO_DEF 101" >>confdefs.h - - ;; - *cygwin32*) - $as_echo "#define CYGWIN32 1" >>confdefs.h - - ;; - *mingw32*) - $as_echo "#define ACE_WIN32 1" >>confdefs.h - - ;; - *win32*) - $as_echo "#define ACE_WIN32 1" >>confdefs.h - - if test "$ace_u_long_long_typedef_set" != yes; then - ACE_UINT64="unsigned __int64" - ace_u_long_long_typedef_set=yes - fi ;; - *qnx* | *nto* | *neutrino*) - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_QNX_SOURCE -D_POSIX_C_SOURCE=199506" - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_POSIX_NAME_MAX=14" # Max bytes in a - # filename - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_POSIX_PATH_MAX=256" # Num. bytes in - # pathname (excl. NULL) - case "$host" in - i[3456]86*) - if test "$GXX" = yes; then - # Neutrino defines memcpy as a macro on x86, which then - # hoses the ACE_OS::memcpy() method. Undefining - # __OPTIMIZE__ prevents this from happening. - ACE_CPPFLAGS="$ACE_CPPFLAGS -U__OPTIMIZE__" - fi - ;; - esac - ;; - *) - ;; -esac - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for ioctl()" >&5 -$as_echo_n "checking types of arguments for ioctl()... " >&6; } -if ${ace_cv_func_ioctl_arg2+:} false; then : - $as_echo_n "(cached) " >&6 -else - case "$host_os" in - darwin* | freebsd* | netbsd* | openbsd*) - ace_cv_func_ioctl_arg2="unsigned long" ;; - *) - ace_cv_func_ioctl_arg2="int" ;; - esac -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_func_ioctl_arg2" >&5 -$as_echo "$ace_cv_func_ioctl_arg2" >&6; } - - -cat >>confdefs.h <<_ACEOF -#define ACE_IOCTL_TYPE_ARG2 $ace_cv_func_ioctl_arg2 -_ACEOF - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getsockname() and getpeername() return random values in sockaddr_in.sin_zero" >&5 -$as_echo_n "checking whether getsockname() and getpeername() return random values in sockaddr_in.sin_zero... " >&6; } -if ${ace_cv_getname_returns_random_sin_zero+:} false; then : - $as_echo_n "(cached) " >&6 -else - case "$host_os" in - linux*) - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - - #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,47)) - int ok; - #else - choke me - #endif - - ; - return 0; -} - -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ace_cv_getname_returns_random_sin_zero=no -else - ace_cv_getname_returns_random_sin_zero=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ;; - *) - ace_cv_getname_returns_random_sin_zero=no - ;; - esac -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_getname_returns_random_sin_zero" >&5 -$as_echo "$ace_cv_getname_returns_random_sin_zero" >&6; } - -if test $ace_cv_getname_returns_random_sin_zero = yes; then - -$as_echo "#define ACE_GETNAME_RETURNS_RANDOM_SIN_ZERO 1" >>confdefs.h - -fi - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - - //const fd_set* temp = new fd_set(); - //FD_ISSET(0, const_cast< fd_set* >( temp ) ); - const fd_set* temp = new fd_set(); - FD_ISSET(0, temp ); - - ; - return 0; -} - -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - -else - -$as_echo "#define ACE_HAS_NONCONST_FD_ISSET 1" >>confdefs.h - - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -case "$host_os" in -darwin*) - $as_echo "#define ACE_SIZE_T_FORMAT_SPECIFIER \"%lu\"" >>confdefs.h - - ;; - -linux*) - case "$host_cpu" in - alpha|ia64|x86_64) - $as_echo "#define ACE_SIZE_T_FORMAT_SPECIFIER \"%lu\"" >>confdefs.h - - $as_echo "#define ACE_SSIZE_T_FORMAT_SPECIFIER \"%ld\"" >>confdefs.h - - $as_echo "#define ACE_INT64_FORMAT_SPECIFIER \"%ld\"" >>confdefs.h - - $as_echo "#define ACE_UINT64_FORMAT_SPECIFIER \"%lu\"" >>confdefs.h - - ;; - *) - ;; - esac - ;; - -mingw32*) - $as_echo "#define ACE_INT64_FORMAT_SPECIFIER \"%I64d\"" >>confdefs.h - - $as_echo "#define ACE_UINT64_FORMAT_SPECIFIER \"%I64u\"" >>confdefs.h - - ;; - -netbsd*) - case "$host_cpu" in - x86_64) - $as_echo "#define ACE_SIZE_T_FORMAT_SPECIFIER \"%lu\"" >>confdefs.h - - $as_echo "#define ACE_SSIZE_T_FORMAT_SPECIFIER \"%ld\"" >>confdefs.h - - ;; - *) - ;; - esac - ;; - -win32*) - $as_echo "#define ACE_INT64_FORMAT_SPECIFIER \"%I64d\"" >>confdefs.h - - $as_echo "#define ACE_UINT64_FORMAT_SPECIFIER \"%I64u\"" >>confdefs.h - - ;; - -*) - ;; -esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether platform lacks perfect multicast filtering" >&5 -$as_echo_n "checking whether platform lacks perfect multicast filtering... " >&6; } -if ${ace_cv_lacks_perfect_multicast_filtering+:} false; then : - $as_echo_n "(cached) " >&6 -else - case "$host_os" in - darwin* | freebsd* | netbsd* | openbsd* | qnx*) - ace_cv_lacks_perfect_multicast_filtering=yes ;; - *) - ace_cv_lacks_perfect_multicast_filtering=no ;; - esac -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lacks_perfect_multicast_filtering" >&5 -$as_echo "$ace_cv_lacks_perfect_multicast_filtering" >&6; } - -if test $ace_cv_lacks_perfect_multicast_filtering = yes; then - -$as_echo "#define ACE_LACKS_PERFECT_MULTICAST_FILTERING 1" >>confdefs.h - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dlsym() segfaults when passed an invalid handle" >&5 -$as_echo_n "checking whether dlsym() segfaults when passed an invalid handle... " >&6; } -if ${ace_cv_has_dlsym_segfault_on_invalid_handle+:} false; then : - $as_echo_n "(cached) " >&6 -else - case "$host_os" in - linux* | openbsd*) - ace_cv_has_dlsym_segfault_on_invalid_handle=yes ;; - *) - ace_cv_has_dlsym_segfault_on_invalid_handle=no;; - esac -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_has_dlsym_segfault_on_invalid_handle" >&5 -$as_echo "$ace_cv_has_dlsym_segfault_on_invalid_handle" >&6; } - -if test $ace_cv_has_dlsym_segfault_on_invalid_handle = yes; then - -$as_echo "#define ACE_HAS_DLSYM_SEGFAULT_ON_INVALID_HANDLE 1" >>confdefs.h - -fi - - - - -ac_header_dirent=no -for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do - as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 -$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } -if eval \${$as_ac_Header+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include <$ac_hdr> - -int -main () -{ -if ((DIR *) 0) -return 0; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - eval "$as_ac_Header=yes" -else - eval "$as_ac_Header=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$as_ac_Header - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 -_ACEOF - -ac_header_dirent=$ac_hdr; break -fi - -done -# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. -if test $ac_header_dirent = dirent.h; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 -$as_echo_n "checking for library containing opendir... " >&6; } -if ${ac_cv_search_opendir+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 opendir (); -int -main () -{ -return opendir (); - ; - return 0; -} -_ACEOF -for ac_lib in '' dir; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_search_opendir=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_opendir+:} false; then : - break -fi -done -if ${ac_cv_search_opendir+:} false; then : - -else - ac_cv_search_opendir=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 -$as_echo "$ac_cv_search_opendir" >&6; } -ac_res=$ac_cv_search_opendir -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 -$as_echo_n "checking for library containing opendir... " >&6; } -if ${ac_cv_search_opendir+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 opendir (); -int -main () -{ -return opendir (); - ; - return 0; -} -_ACEOF -for ac_lib in '' x; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_search_opendir=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_opendir+:} false; then : - break -fi -done -if ${ac_cv_search_opendir+:} false; then : - -else - ac_cv_search_opendir=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 -$as_echo "$ac_cv_search_opendir" >&6; } -ac_res=$ac_cv_search_opendir -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - -fi - - -if test "$ac_cv_header_dirent_dirent_h" = yes || - test "$ac_cv_header_dirent_sys_ndir_h" = yes || - test "$ac_cv_header_dirent_sys_dir_h" = yes || - test "$ac_cv_header_dirent_ndir_h" = yes; then : - - $as_echo "#define ACE_HAS_DIRENT 1" >>confdefs.h - - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 -$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } -if ${ac_cv_header_sys_wait_h+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#ifndef WEXITSTATUS -# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) -#endif -#ifndef WIFEXITED -# define WIFEXITED(stat_val) (((stat_val) & 255) == 0) -#endif - -int -main () -{ - int s; - wait (&s); - s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_header_sys_wait_h=yes -else - ac_cv_header_sys_wait_h=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 -$as_echo "$ac_cv_header_sys_wait_h" >&6; } -if test $ac_cv_header_sys_wait_h = yes; then - -$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" -if test "x$ac_cv_header_dlfcn_h" = xyes; then : - - if test "$ace_has_svr4_dynamic_linking" = yes; then : - - $as_echo "#define ACE_HAS_SVR4_DYNAMIC_LINKING 1" >>confdefs.h - - - case "$host_os" in - darwin*) - -$as_echo "#define ACE_LD_SEARCH_PATH ACE_TEXT (\"DYLD_LIBRARY_PATH\")" >>confdefs.h - - -$as_echo "#define ACE_DLL_SUFFIX ACE_TEXT (\".dylib\")" >>confdefs.h - - ;; - esac - -fi - -fi - - - -for ace_header in inttypes.h malloc.h memory.h stdint.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -ac_fn_cxx_check_header_mongrel "$LINENO" "sys/msg.h" "ac_cv_header_sys_msg_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_msg_h" = xyes; then : - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _KERNEL is needed for msg prototypes" >&5 -$as_echo_n "checking if _KERNEL is needed for msg prototypes... " >&6; } - if ${ace_cv_lib_broken_msg_h+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifdef UNIXWARE_7_1 -# define _KMEMUSER -#endif - -#include - -int -main () -{ - - struct msg ace_msg; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_broken_msg_h=no - -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef _KERNEL -# define _KERNEL -# ifdef UNIXWARE_7_1 -# define _KMEMUSER -# endif -#endif -#include - -int -main () -{ - - struct msg ace_msg; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_broken_msg_h=yes - -else - - ace_cv_lib_broken_msg_h=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_broken_msg_h" >&5 -$as_echo "$ace_cv_lib_broken_msg_h" >&6; } - if test "$ace_cv_lib_broken_msg_h" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_HAS_BROKEN_MSG_H 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - fi - - -else - $as_echo "#define ACE_LACKS_SYS_MSG_H 1" >>confdefs.h - -fi - - - -ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sem.h" "ac_cv_header_sys_sem_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_sem_h" = xyes; then : - -fi - - -ac_fn_cxx_check_header_mongrel "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_shm_h" = xyes; then : - -fi - - - -for ace_header in sys/param.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -ac_fn_cxx_check_header_mongrel "$LINENO" "sys/priocntl.h" "ac_cv_header_sys_priocntl_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_priocntl_h" = xyes; then : - -fi - - - -for ace_header in ucontext.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -ac_fn_cxx_check_header_mongrel "$LINENO" "sys/procfs.h" "ac_cv_header_sys_procfs_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_procfs_h" = xyes; then : - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sys/procfs.h conflicts with ucontext.h" >&5 -$as_echo_n "checking if sys/procfs.h conflicts with ucontext.h... " >&6; } - if ${ace_cv_has_procfs_conflict+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_UCONTEXT_H -# include -#endif - -#include - -int -main () -{ - - int a = 0; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_has_procfs_conflict=no - -else - - ace_cv_has_procfs_conflict=yes - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_has_procfs_conflict" >&5 -$as_echo "$ace_cv_has_procfs_conflict" >&6; } - if test "$ace_cv_has_procfs_conflict" != no; then - ace_just_a_place_holder=fixme - - - else - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_HAS_PROC_FS 1" >>confdefs.h - - - - fi - - -fi - - - -for ace_header in arpa/inet.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in bytesex.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in byteswap.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in dirent.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in dlfcn.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in errno.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in execinfo.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in fcntl.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in pdh.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in pthread_np.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in sched.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in search.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in select.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in semaphore.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in signal.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in stdlib.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in string.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in strings.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in netdb.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in netinet/in.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in netinet/tcp.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in sys/socket.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in net/if.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_compile "$LINENO" "$ace_header" "$as_ac_Header" " -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#ifndef ACE_LACKS_SYS_SOCKET_H -# include -# endif - -" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in sys/filio.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in intrin.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in ia64intrin.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in ia32intrin.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in sys/ioctl.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in sys/ipc.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in sys/loadavg.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in sys/mman.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in sys/pstat.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in sys/resource.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in sys/sem.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in sys/shm.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in sys/select.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in sys/sockio.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in sys/stat.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in sys/types.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in sys/sysctl.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_compile "$LINENO" "$ace_header" "$as_ac_Header" " -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#ifndef ACE_LACKS_SYS_PARAM_H -# include -#endif - -" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in sys/time.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in sys/uio.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in sys/un.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in sys/wait.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in sysent.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in time.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in termio.h termios.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in wctype.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -ac_fn_cxx_check_type "$LINENO" "struct termio" "ac_cv_type_struct_termio" " -#ifndef ACE_LACKS_TERMIO_H -#include -#endif - -" -if test "x$ac_cv_type_struct_termio" = xyes; then : - -$as_echo "#define ACE_HAS_TERMIO 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_type "$LINENO" "struct termios" "ac_cv_type_struct_termios" " -#ifndef ACE_LACKS_TERMIOS_H -#include -#endif - -" -if test "x$ac_cv_type_struct_termios" = xyes; then : - -$as_echo "#define ACE_HAS_TERMIOS 1" >>confdefs.h - -fi - - -if test "$ace_has_xti_funcs" = yes; then : - - ac_fn_cxx_check_header_mongrel "$LINENO" "xti.h" "ac_cv_header_xti_h" "$ac_includes_default" -if test "x$ac_cv_header_xti_h" = xyes; then : - - ace_has_xti=yes - $as_echo "#define ACE_HAS_XTI 1" >>confdefs.h - - -fi - - - - ac_fn_cxx_check_header_mongrel "$LINENO" "sys/xti.h" "ac_cv_header_sys_xti_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_xti_h" = xyes; then : - - ace_has_xti=yes - $as_echo "#define ACE_HAS_SYS_XTI_H 1" >>confdefs.h - - $as_echo "#define ACE_HAS_XTI 1" >>confdefs.h - - -fi - - - - ac_fn_cxx_check_header_mongrel "$LINENO" "sys/timod.h" "ac_cv_header_sys_timod_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_timod_h" = xyes; then : - - $as_echo "#define ACE_HAS_TIMOD_H 1" >>confdefs.h - - -fi - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if TCP macros in sys/xti.h conflict with netinet/tcp.h" >&5 -$as_echo_n "checking if TCP macros in sys/xti.h conflict with netinet/tcp.h... " >&6; } - if ${ace_cv_lib_has_conflicting_xti_macros+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -# if defined (ACE_HAS_XTI) -# include -# if defined (ACE_HAS_SYS_XTI_H) -# include /**/ -# else -# include /**/ -# endif /* ACE_HAS_SYS_XTI_H */ -# else -# if defined (ACE_HAS_TIUSER_H) -# include /**/ -# endif -# endif /* ACE_HAS_XTI */ -# if !defined (ACE_LACKS_NETINET_TCP_H) -# include /**/ -# endif /* !ACE_LACKS_NETINET_TCP_H */ - -int -main () -{ - - int a = 0; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_has_conflicting_xti_macros=no - -else - - ace_cv_lib_has_conflicting_xti_macros=yes - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_has_conflicting_xti_macros" >&5 -$as_echo "$ace_cv_lib_has_conflicting_xti_macros" >&6; } - if test "$ace_cv_lib_has_conflicting_xti_macros" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_HAS_CONFLICTING_XTI_MACROS 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - fi - - - -fi - -if test "$ace_has_tli_funcs" = yes; then : - - ac_fn_cxx_check_header_mongrel "$LINENO" "tiuser.h" "ac_cv_header_tiuser_h" "$ac_includes_default" -if test "x$ac_cv_header_tiuser_h" = xyes; then : - - ace_has_tli=yes - $as_echo "#define ACE_HAS_TIUSER_H 1" >>confdefs.h - - $as_echo "#define ACE_HAS_TLI 1" >>confdefs.h - - -fi - - - - ac_fn_cxx_check_header_mongrel "$LINENO" "sys/timod.h" "ac_cv_header_sys_timod_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_timod_h" = xyes; then : - - $as_echo "#define ACE_HAS_TIMOD_H 1" >>confdefs.h - - -else - - ac_fn_cxx_check_header_mongrel "$LINENO" "tli/timod.h" "ac_cv_header_tli_timod_h" "$ac_includes_default" -if test "x$ac_cv_header_tli_timod_h" = xyes; then : - - $as_echo "#define ACE_HAS_OSF_TIMOD_H 1" >>confdefs.h - - -fi - - - -fi - - - - ac_fn_cxx_check_func "$LINENO" "t_getname" "ac_cv_func_t_getname" -if test "x$ac_cv_func_t_getname" = xyes; then : - $as_echo "#define ACE_HAS_SVR4_TLI 1" >>confdefs.h - -fi - - - -if test "$ac_cv_header_tiuser_h" = yes; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if tiuser.h is protected by extern \"C\"" >&5 -$as_echo_n "checking if tiuser.h is protected by extern \"C\"... " >&6; } - if ${ace_cv_lib_tiuser_with_extern_c+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "extern \"C\"" >/dev/null 2>&1; then : - - ace_cv_lib_tiuser_with_extern_c=yes - -else - - ace_cv_lib_tiuser_with_extern_c=no - -fi -rm -f conftest* - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_tiuser_with_extern_c" >&5 -$as_echo "$ace_cv_lib_tiuser_with_extern_c" >&6; } - if test "$ace_cv_lib_tiuser_with_extern_c" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_TIUSER_H_BROKEN_EXTERN_C 1" >>confdefs.h - - - fi - -fi -ac_fn_cxx_check_header_mongrel "$LINENO" "xliuser.h" "ac_cv_header_xliuser_h" "$ac_includes_default" -if test "x$ac_cv_header_xliuser_h" = xyes; then : - - ace_has_tli=yes - $as_echo "#define ACE_HAS_XLI 1" >>confdefs.h - - $as_echo "#define ACE_HAS_TLI 1" >>confdefs.h - - -fi - - - - -if test "$ace_has_tli" = yes; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TLI prototypes" >&5 -$as_echo_n "checking for TLI prototypes... " >&6; } - if ${ace_cv_lib_tli_prototypes+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif - -#if defined (ACE_HAS_TIMOD_H) -# include -#endif - -#if defined (ACE_HAS_OSF_TIMOD_H) -# include -#endif - -#if defined (ACE_HAS_TIUSER_H) -# include /**/ -#endif /* ACE_HAS_TIUSER_H */ - -#if defined (ACE_HAS_XLI) -# include -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "t_accept" >/dev/null 2>&1; then : - - ace_cv_lib_tli_prototypes=yes - -else - - ace_cv_lib_tli_prototypes=no - -fi -rm -f conftest* - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_tli_prototypes" >&5 -$as_echo "$ace_cv_lib_tli_prototypes" >&6; } - if test "$ace_cv_lib_tli_prototypes" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_TLI_PROTOTYPES 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for t_errno in TLI headers" >&5 -$as_echo_n "checking for t_errno in TLI headers... " >&6; } - if ${ace_cv_lib_has_t_errno+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif - -#if defined (ACE_HAS_TIMOD_H) -# include -#endif - -#if defined (ACE_HAS_OSF_TIMOD_H) -# include -#endif - -#if defined (ACE_HAS_TIUSER_H) -# include /**/ -#endif /* ACE_HAS_TIUSER_H */ - -#if defined (ACE_HAS_XLI) -# include -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "t_errno" >/dev/null 2>&1; then : - - ace_cv_lib_has_t_errno=yes - -else - - ace_cv_lib_has_t_errno=no - -fi -rm -f conftest* - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_has_t_errno" >&5 -$as_echo "$ace_cv_lib_has_t_errno" >&6; } - if test "$ace_cv_lib_has_t_errno" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_T_ERRNO 1" >>confdefs.h - - - fi - - -fi -fi - -if test "$ace_has_xti" = yes || test "$ace_has_tli" = yes; then : - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if t_error incorrectly accepts char *" >&5 -$as_echo_n "checking if t_error incorrectly accepts char *... " >&6; } - if ${ace_cv_lib_has_broken_t_error+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif - -#if defined (ACE_HAS_XTI) -# if defined (ACE_HAS_SYS_XTI_H) -# include -# else -# include -# endif /* ACE_HAS_SYS_XTI_H */ -#elif defined (ACE_HAS_TIUSER_H) -# include /**/ -#endif /* ACE_HAS_TIUSER_H */ - -#if defined (ACE_HAS_XLI) -# include -#endif - -int -main () -{ - - const char *ace_errmsg = "FOO"; - t_error (ace_errmsg); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_has_broken_t_error=no - -else - - ace_cv_lib_has_broken_t_error=yes - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_has_broken_t_error" >&5 -$as_echo "$ace_cv_lib_has_broken_t_error" >&6; } - if test "$ace_cv_lib_has_broken_t_error" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_HAS_BROKEN_T_ERROR 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - fi - - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - - -fi - -ac_fn_cxx_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_mman_h" = xyes; then : - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "extern \"C\"" >/dev/null 2>&1; then : - -else - - $as_echo "#define ACE_HAS_BROKEN_MMAP_H 1" >>confdefs.h - - -fi -rm -f conftest* - - -else - - $as_echo "#define ACE_LACKS_MMAP 1" >>confdefs.h - - -fi - - - -ac_fn_cxx_check_header_mongrel "$LINENO" "bstring.h" "ac_cv_header_bstring_h" "$ac_includes_default" -if test "x$ac_cv_header_bstring_h" = xyes; then : - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "bzero" >/dev/null 2>&1; then : - - $as_echo "#define ACE_HAS_BSTRING 1" >>confdefs.h - - -fi -rm -f conftest* - - -fi - - - -ac_fn_cxx_check_header_mongrel "$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default" -if test "x$ac_cv_header_strings_h" = xyes; then : - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "bzero" >/dev/null 2>&1; then : - - $as_echo "#define ACE_HAS_STRINGS 1" >>confdefs.h - - -fi -rm -f conftest* - - -fi - - - -for ace_header in sys/syscall.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -ac_fn_cxx_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default" -if test "x$ac_cv_header_poll_h" = xyes; then : - $as_echo "#define ACE_HAS_POLL 1" >>confdefs.h - -fi - - - -for ace_header in pwd.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -ac_fn_cxx_check_header_mongrel "$LINENO" "regexpr.h" "ac_cv_header_regexpr_h" "$ac_includes_default" -if test "x$ac_cv_header_regexpr_h" = xyes; then : - $as_echo "#define ACE_HAS_REGEX 1" >>confdefs.h - -fi - - - -ac_fn_cxx_check_header_mongrel "$LINENO" "stropts.h" "ac_cv_header_stropts_h" "$ac_includes_default" -if test "x$ac_cv_header_stropts_h" = xyes; then : - $as_echo "#define ACE_HAS_STREAMS 1" >>confdefs.h - -else - $as_echo "#define ACE_LACKS_STROPTS_H 1" >>confdefs.h - -fi - - - -for ace_header in siginfo.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in unistd.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in utime.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ace_header in wchar.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -ac_fn_cxx_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default" -if test "x$ac_cv_header_wchar_h" = xyes; then : - $as_echo "#define ACE_HAS_WCHAR 1" >>confdefs.h - -fi - - - -ac_fn_cxx_check_header_mongrel "$LINENO" "new" "ac_cv_header_new" "$ac_includes_default" -if test "x$ac_cv_header_new" = xyes; then : - $as_echo "#define ACE_HAS_NEW_NO_H 1" >>confdefs.h - -else - - for ace_header in new.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -fi - - - -ac_fn_cxx_check_header_mongrel "$LINENO" "memory" "ac_cv_header_memory" "$ac_includes_default" -if test "x$ac_cv_header_memory" = xyes; then : - -fi - - - -for ac_header in iomanip ios iostream istream ostream fstream streambuf -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -else - for ac_header in iostream.h fstream.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - $as_echo "#define ACE_USES_OLD_IOSTREAMS 1" >>confdefs.h - -else - $as_echo "#define ACE_LACKS_IOSTREAM_TOTALLY 1" >>confdefs.h - -fi - -done - -fi - -done - - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for old malloc() prototype" >&5 -$as_echo_n "checking for old malloc() prototype... " >&6; } - if ${ace_cv_lib_old_malloc_proto+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifndef ACE_LACKS_MALLOC_H -# include -#endif - -int -main () -{ - - char *s = 0; - s = malloc(sizeof(int)); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_old_malloc_proto=yes - -else - - ace_cv_lib_old_malloc_proto=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_old_malloc_proto" >&5 -$as_echo "$ace_cv_lib_old_malloc_proto" >&6; } - if test "$ace_cv_lib_old_malloc_proto" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_OLD_MALLOC 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - - -ac_fn_cxx_check_decl "$LINENO" "recv_timedwait" "ac_cv_have_decl_recv_timedwait" "#include - #include -" -if test "x$ac_cv_have_decl_recv_timedwait" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_TIMEDWAIT_PROTOTYPES 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_decl "$LINENO" "getrlimit" "ac_cv_have_decl_getrlimit" "#include -" -if test "x$ac_cv_have_decl_getrlimit" = xyes; then : - -fi - -ac_fn_cxx_check_decl "$LINENO" "setrlimit" "ac_cv_have_decl_setrlimit" "#include -" -if test "x$ac_cv_have_decl_setrlimit" = xyes; then : - -fi - -if test "$ac_cv_have_decl_getrlimit" != yes || - test "$ac_cv_have_decl_setrlimit" != yes; then - -$as_echo "#define ACE_LACKS_RLIMIT_PROTOTYPE 1" >>confdefs.h - -fi - - - - - -ac_fn_cxx_check_type "$LINENO" "cpu_set_t" "ac_cv_type_cpu_set_t" " -#if !defined(ACE_LACKS_SCHED_H) -#include -#endif - -" -if test "x$ac_cv_type_cpu_set_t" = xyes; then : - -$as_echo "#define ACE_HAS_CPU_SET_T 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_type "$LINENO" "idtype_t" "ac_cv_type_idtype_t" "#include -" -if test "x$ac_cv_type_idtype_t" = xyes; then : - -$as_echo "#define ACE_HAS_IDTYPE_T 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_type "$LINENO" "key_t" "ac_cv_type_key_t" "#include -" -if test "x$ac_cv_type_key_t" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_KEY_T 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_type "$LINENO" "sem_t" "ac_cv_type_sem_t" "#include -" -if test "x$ac_cv_type_sem_t" = xyes; then : - -fi - - -ac_fn_cxx_check_type "$LINENO" "pri_t" "ac_cv_type_pri_t" "#include -" -if test "x$ac_cv_type_pri_t" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_PRI_T 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" "#include -" -if test "x$ac_cv_type_sig_atomic_t" = xyes; then : - -$as_echo "#define ACE_HAS_SIG_ATOMIC_T 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_type "$LINENO" "union sigval" "ac_cv_type_union_sigval" "#include -" -if test "x$ac_cv_type_union_sigval" = xyes; then : - -fi - - -if test "$ac_cv_type_union_sigval" = yes; then - ac_fn_cxx_check_member "$LINENO" "union sigval" "sigval_int" "ac_cv_member_union_sigval_sigval_int" "#include -" -if test "x$ac_cv_member_union_sigval_sigval_int" = xyes; then : - -$as_echo "#define ACE_HAS_SIGVAL_SIGVAL_INT 1" >>confdefs.h - -fi - - - ac_fn_cxx_check_member "$LINENO" "union sigval" "sigval_ptr" "ac_cv_member_union_sigval_sigval_ptr" "#include -" -if test "x$ac_cv_member_union_sigval_sigval_ptr" = xyes; then : - -$as_echo "#define ACE_HAS_SIGVAL_SIGVAL_PTR 1" >>confdefs.h - -fi - -fi - -ac_fn_cxx_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "#include -" -if test "x$ac_cv_type_ssize_t" = xyes; then : - -$as_echo "#define ACE_HAS_SSIZE_T 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_type "$LINENO" "suseconds_t" "ac_cv_type_suseconds_t" "#include -" -if test "x$ac_cv_type_suseconds_t" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_SUSECONDS_T 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_type "$LINENO" "useconds_t" "ac_cv_type_useconds_t" "#include -" -if test "x$ac_cv_type_useconds_t" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_USECONDS_T 1" >>confdefs.h - -fi - - - -ac_fn_cxx_check_type "$LINENO" "ucontext_t" "ac_cv_type_ucontext_t" "#include -#ifndef ACE_LACKS_UCONTEXT_H -# include -#endif - -" -if test "x$ac_cv_type_ucontext_t" = xyes; then : - -$as_echo "#define ACE_HAS_UCONTEXT_T 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_type "$LINENO" "u_longlong_t" "ac_cv_type_u_longlong_t" "#include -" -if test "x$ac_cv_type_u_longlong_t" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_U_LONGLONG_T 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_type "$LINENO" "wchar_t" "ac_cv_type_wchar_t" "#include -#include - -" -if test "x$ac_cv_type_wchar_t" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_WCHAR_T 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" " -#ifndef ACE_LACKS_SYS_TYPES_H -#include -#endif -#ifndef ACE_LACKS_SYS_SOCKET_H -#include -#endif - -" -if test "x$ac_cv_type_socklen_t" = xyes; then : - -$as_echo "#define ACE_HAS_SOCKLEN_T 1" >>confdefs.h - -fi - - -if test $ac_cv_type_socklen_t = no; then - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socket size is denoted by size_t" >&5 -$as_echo_n "checking if socket size is denoted by size_t... " >&6; } - if ${ace_cv_lib_posix_socket_len_size_t+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#ifndef ACE_LACKS_SYS_SOCKET_H -# include -#endif - -int -main () -{ - - int s = 0; - struct sockaddr* addr = 0; - int* addrlen = 0; - accept(s, addr, addrlen); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_posix_socket_len_size_t=no - -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#ifndef ACE_LACKS_SYS_SOCKET_H -# include -#endif - -int -main () -{ - - int s = 0; - struct sockaddr* addr = 0; - size_t* addrlen = 0; - accept(s, addr, addrlen); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_posix_socket_len_size_t=yes - -else - - ace_cv_lib_posix_socket_len_size_t=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_posix_socket_len_size_t" >&5 -$as_echo "$ace_cv_lib_posix_socket_len_size_t" >&6; } - if test "$ace_cv_lib_posix_socket_len_size_t" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_SIZET_SOCKET_LEN 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - -fi - - - - -ac_fn_cxx_check_type "$LINENO" "struct dirent" "ac_cv_type_struct_dirent" "#include -" -if test "x$ac_cv_type_struct_dirent" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_STRUCT_DIR 1" >>confdefs.h - -fi - -ac_fn_cxx_check_type "$LINENO" "struct flock" "ac_cv_type_struct_flock" "#include -" -if test "x$ac_cv_type_struct_flock" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_FILELOCKS 1" >>confdefs.h - -fi - -ac_fn_cxx_check_type "$LINENO" "rwlock_t" "ac_cv_type_rwlock_t" "#include -" -if test "x$ac_cv_type_rwlock_t" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_RWLOCK_T 1" >>confdefs.h - -fi - -ac_fn_cxx_check_type "$LINENO" "struct strbuf" "ac_cv_type_struct_strbuf" "#include -" -if test "x$ac_cv_type_struct_strbuf" = xyes; then : - -$as_echo "#define ACE_HAS_STRBUF_T 1" >>confdefs.h - -fi - -case "$host" in -*irix*) - ;; -*) - ac_fn_cxx_check_type "$LINENO" "prusage_t" "ac_cv_type_prusage_t" "#include -" -if test "x$ac_cv_type_prusage_t" = xyes; then : - -$as_echo "#define ACE_HAS_PRUSAGE_T 1" >>confdefs.h - -fi - - ;; -esac -ac_fn_cxx_check_type "$LINENO" "struct strrecvfd" "ac_cv_type_struct_strrecvfd" "#include -" -if test "x$ac_cv_type_struct_strrecvfd" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_STRRECVFD 1" >>confdefs.h - -fi - -ac_fn_cxx_check_type "$LINENO" "struct sigaction" "ac_cv_type_struct_sigaction" "#include -" -if test "x$ac_cv_type_struct_sigaction" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_SIGACTION 1" >>confdefs.h - -fi - -ac_fn_cxx_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include -" -if test "x$ac_cv_type_sigset_t" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_SIGSET 1" >>confdefs.h - -fi - -ac_fn_cxx_check_type "$LINENO" "struct lifnum" "ac_cv_type_struct_lifnum" "#include -" -if test "x$ac_cv_type_struct_lifnum" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_STRUCT_LIFNUM 1" >>confdefs.h - -fi - -ac_fn_cxx_check_type "$LINENO" "struct utsname" "ac_cv_type_struct_utsname" "#include -" -if test "x$ac_cv_type_struct_utsname" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_UTSNAME_T 1" >>confdefs.h - -fi - -ac_fn_cxx_check_type "$LINENO" "struct sembuf" "ac_cv_type_struct_sembuf" " -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include -" -if test "x$ac_cv_type_struct_sembuf" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_SEMBUF_T 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_type "$LINENO" "siginfo_t" "ac_cv_type_siginfo_t" "#include -#ifndef ACE_LACKS_SIGINFO_H -#include -#endif -" -if test "x$ac_cv_type_siginfo_t" = xyes; then : - -$as_echo "#define ACE_HAS_SIGINFO_T 1" >>confdefs.h - -fi - - -if test "$ac_cv_type_siginfo_t" = yes; then - ac_fn_cxx_check_member "$LINENO" "siginfo_t" "si_addr" "ac_cv_member_siginfo_t_si_addr" "#include -#ifndef ACE_LACKS_SIGINFO_H -#include -#endif -" -if test "x$ac_cv_member_siginfo_t_si_addr" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_SI_ADDR 1" >>confdefs.h - -fi - -fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct msghdr" >&5 -$as_echo_n "checking for struct msghdr... " >&6; } - if ${ace_cv_struct_msghdr+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - -int -main () -{ - - struct msghdr ace_msghdr; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_struct_msghdr=yes - -else - - ace_cv_struct_msghdr=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_struct_msghdr" >&5 -$as_echo "$ace_cv_struct_msghdr" >&6; } - if test "$ace_cv_struct_msghdr" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_MSG 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for condition variable support" >&5 -$as_echo_n "checking for condition variable support... " >&6; } - if ${ace_cv_struct_cond_t+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - pthread_cond_t ace_pthread_cond_t; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_struct_cond_t=yes - -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - cond_t ace_cond_t; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_struct_cond_t=yes - -else - - ace_cv_struct_cond_t=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_struct_cond_t" >&5 -$as_echo "$ace_cv_struct_cond_t" >&6; } - if test "$ace_cv_struct_cond_t" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_COND_T 1" >>confdefs.h - - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX timer structure" >&5 -$as_echo_n "checking for POSIX timer structure... " >&6; } - if ${ace_cv_lib_posix_timer_struct+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#if !defined(ACE_LACKS_SYS_TIME_H) -# include -#endif -#include - -int -main () -{ - - timespec sr; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_posix_timer_struct=yes - -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - timestruc_t sr; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_posix_timer_struct=yes - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in sys/timers.h" >&5 -$as_echo_n "checking for struct timespec in sys/timers.h... " >&6; } - if ${ace_cv_lib_posix_struct_timespec_broken+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - timespec sr; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_posix_struct_timespec_broken=yes - -else - - ace_cv_lib_posix_struct_timespec_broken=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_posix_struct_timespec_broken" >&5 -$as_echo "$ace_cv_lib_posix_struct_timespec_broken" >&6; } - if test "$ace_cv_lib_posix_struct_timespec_broken" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme - - fi - - -else - - ace_cv_lib_posix_timer_struct=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_posix_timer_struct" >&5 -$as_echo "$ace_cv_lib_posix_timer_struct" >&6; } - if test "$ace_cv_lib_posix_timer_struct" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_HAS_POSIX_TIME 1" >>confdefs.h - - if test "$ace_cv_lib_posix_struct_timespec_broken" = yes; then - $as_echo "#define ACE_HAS_BROKEN_POSIX_TIME 1" >>confdefs.h - - fi - - else - ace_just_a_place_holder=fixme - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in sys/timers.h" >&5 -$as_echo_n "checking for struct timespec in sys/timers.h... " >&6; } - if ${ace_cv_lib_posix_struct_timespec_broken+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - timespec sr; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_posix_struct_timespec_broken=yes - -else - - ace_cv_lib_posix_struct_timespec_broken=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_posix_struct_timespec_broken" >&5 -$as_echo "$ace_cv_lib_posix_struct_timespec_broken" >&6; } - if test "$ace_cv_lib_posix_struct_timespec_broken" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_BROKEN_POSIX_TIME 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timespec_t" >&5 -$as_echo_n "checking for timespec_t... " >&6; } - if ${ace_cv_lib_posix_timespec_t+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - timespec_t tt; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_posix_timespec_t=yes - -else - - ace_cv_lib_posix_timespec_t=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_posix_timespec_t" >&5 -$as_echo "$ace_cv_lib_posix_timespec_t" >&6; } - if test "$ace_cv_lib_posix_timespec_t" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_TIMESPEC_T 1" >>confdefs.h - - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for union semun" >&5 -$as_echo_n "checking for union semun... " >&6; } - if ${ace_cv_lib_posix_defines_union_semun+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - -int -main () -{ - -/* We could also check if the macro _SEM_SEMUN_UNDEFINED is defined. - No big deal. */ - -semun us; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_posix_defines_union_semun=yes - -else - - ace_cv_lib_posix_defines_union_semun=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_posix_defines_union_semun" >&5 -$as_echo "$ace_cv_lib_posix_defines_union_semun" >&6; } - if test "$ace_cv_lib_posix_defines_union_semun" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_SEMUN 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for limited struct rusage" >&5 -$as_echo_n "checking for limited struct rusage... " >&6; } - if ${ace_cv_lib_limited_rusage+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#include - -int -main () -{ - - rusage ace_rusage; - /* - We just pick three (i.e. > 2) of the fields that - ACE uses to see if we have a struct rusage that - has more than two fields. - */ - ace_rusage.ru_ixrss = 0; - ace_rusage.ru_idrss = 0; - ace_rusage.ru_isrss = 0; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_limited_rusage=no - -else - - ace_cv_lib_limited_rusage=yes - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_limited_rusage" >&5 -$as_echo "$ace_cv_lib_limited_rusage" >&6; } - if test "$ace_cv_lib_limited_rusage" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_LIMITED_RUSAGE_T 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - -ac_fn_cxx_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" " -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include - -" -if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then : - -$as_echo "#define ACE_HAS_SOCKADDR_IN_SIN_LEN 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_member "$LINENO" "struct sockaddr_in6" "sin6_len" "ac_cv_member_struct_sockaddr_in6_sin6_len" " -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include - -" -if test "x$ac_cv_member_struct_sockaddr_in6_sin6_len" = xyes; then : - -$as_echo "#define ACE_HAS_SOCKADDR_IN6_SIN6_LEN 1" >>confdefs.h - -fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_siglist" >&5 -$as_echo_n "checking for sys_siglist... " >&6; } - if ${ace_cv_lib_posix_sys_siglist+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_UNISTD_H -# include -#endif -#include -#if !defined (_sys_siglist) -# define _sys_siglist sys_siglist -#endif - -int -main () -{ - - void* vp = (void*) &_sys_siglist; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_posix_sys_siglist=yes - -else - - ace_cv_lib_posix_sys_siglist=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_posix_sys_siglist" >&5 -$as_echo "$ace_cv_lib_posix_sys_siglist" >&6; } - if test "$ace_cv_lib_posix_sys_siglist" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_SYS_SIGLIST 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - - - - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts \"pragma once\" directive" >&5 -$as_echo_n "checking if compiler accepts \"pragma once\" directive... " >&6; } - if ${ace_cv_has_pragma_once+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#pragma once - -int -main () -{ - - int a = 0; /* Put this here so we don't have an empty main(). */ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_has_pragma_once=yes - -else - - ace_cv_has_pragma_once=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_has_pragma_once" >&5 -$as_echo "$ace_cv_has_pragma_once" >&6; } - if test "$ace_cv_has_pragma_once" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_PRAGMA_ONCE 1" >>confdefs.h - - - fi - - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - -if test "$GXX" = yes; then - PREPIPECXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS -pipe" - PREPIPECFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -pipe" - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \"-pipe\" compiler flag is supported" >&5 -$as_echo_n "checking if \"-pipe\" compiler flag is supported... " >&6; } - if ${ace_cv_feature_gxx_has_pipe+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -int a = 0; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_feature_gxx_has_pipe=yes - -else - - ace_cv_feature_gxx_has_pipe=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_gxx_has_pipe" >&5 -$as_echo "$ace_cv_feature_gxx_has_pipe" >&6; } - if test "$ace_cv_feature_gxx_has_pipe" != no; then - ace_just_a_place_holder=fixme - - - else - ace_just_a_place_holder=fixme - - CXXFLAGS="$PREPIPECXXFLAGS" - CFLAGS="$PREPIPECFLAGS" - - - fi - -fi - -if test "$cross_compiling" != yes; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 -$as_echo_n "checking whether byte ordering is bigendian... " >&6; } -if ${ac_cv_c_bigendian+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_c_bigendian=unknown - # See if we're dealing with a universal compiler. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifndef __APPLE_CC__ - not a universal capable compiler - #endif - typedef int dummy; - -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - # Check for potential -arch flags. It is not universal unless - # there are at least two -arch flags with different values. - ac_arch= - ac_prev= - for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do - if test -n "$ac_prev"; then - case $ac_word in - i?86 | x86_64 | ppc | ppc64) - if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then - ac_arch=$ac_word - else - ac_cv_c_bigendian=universal - break - fi - ;; - esac - ac_prev= - elif test "x$ac_word" = "x-arch"; then - ac_prev=arch - fi - done -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - if test $ac_cv_c_bigendian = unknown; then - # See if sys/param.h defines the BYTE_ORDER macro. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #include - -int -main () -{ -#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ - && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ - && LITTLE_ENDIAN) - bogus endian macros - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - # It does; now see whether it defined to BIG_ENDIAN or not. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #include - -int -main () -{ -#if BYTE_ORDER != BIG_ENDIAN - not big endian - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_c_bigendian=yes -else - ac_cv_c_bigendian=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - if test $ac_cv_c_bigendian = unknown; then - # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -int -main () -{ -#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) - bogus endian macros - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - # It does; now see whether it defined to _BIG_ENDIAN or not. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -int -main () -{ -#ifndef _BIG_ENDIAN - not big endian - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_c_bigendian=yes -else - ac_cv_c_bigendian=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - if test $ac_cv_c_bigendian = unknown; then - # Compile a test program. - if test "$cross_compiling" = yes; then : - # Try to guess by grepping values from an object file. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -short int ascii_mm[] = - { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; - short int ascii_ii[] = - { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; - int use_ascii (int i) { - return ascii_mm[i] + ascii_ii[i]; - } - short int ebcdic_ii[] = - { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; - short int ebcdic_mm[] = - { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; - int use_ebcdic (int i) { - return ebcdic_mm[i] + ebcdic_ii[i]; - } - extern int foo; - -int -main () -{ -return use_ascii (foo) == use_ebcdic (foo); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then - ac_cv_c_bigendian=yes - fi - if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then - if test "$ac_cv_c_bigendian" = unknown; then - ac_cv_c_bigendian=no - else - # finding both strings is unlikely to happen, but who knows? - ac_cv_c_bigendian=unknown - fi - fi -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ - - /* Are we little or big endian? From Harbison&Steele. */ - union - { - long int l; - char c[sizeof (long int)]; - } u; - u.l = 1; - return u.c[sizeof (long int) - 1] == 1; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - ac_cv_c_bigendian=no -else - ac_cv_c_bigendian=yes -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 -$as_echo "$ac_cv_c_bigendian" >&6; } - case $ac_cv_c_bigendian in #( - yes) - $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h -;; #( - no) - ;; #( - universal) - -$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h - - ;; #( - *) - as_fn_error $? "unknown endianness - presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; - esac - - -fi - - -if test "$cross_compiling" != yes; then - # The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5 -$as_echo_n "checking size of wchar_t... " >&6; } -if ${ac_cv_sizeof_wchar_t+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "$ac_includes_default"; then : - -else - if test "$ac_cv_type_wchar_t" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (wchar_t) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_wchar_t=0 - fi -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5 -$as_echo "$ac_cv_sizeof_wchar_t" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t -_ACEOF - - - if test "$ac_cv_sizeof_wchar_t" != 0; then - -cat >>confdefs.h <<_ACEOF -#define ACE_SIZEOF_WCHAR $ac_cv_sizeof_wchar_t -_ACEOF - - fi - # The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 -$as_echo_n "checking size of short... " >&6; } -if ${ac_cv_sizeof_short+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then : - -else - if test "$ac_cv_type_short" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (short) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_short=0 - fi -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 -$as_echo "$ac_cv_sizeof_short" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_SHORT $ac_cv_sizeof_short -_ACEOF - - - if test "$ac_cv_sizeof_short" != 0; then - -cat >>confdefs.h <<_ACEOF -#define ACE_SIZEOF_SHORT $ac_cv_sizeof_short -_ACEOF - - fi - # The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 -$as_echo_n "checking size of int... " >&6; } -if ${ac_cv_sizeof_int+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : - -else - if test "$ac_cv_type_int" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (int) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_int=0 - fi -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 -$as_echo "$ac_cv_sizeof_int" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_INT $ac_cv_sizeof_int -_ACEOF - - - if test $ac_cv_sizeof_int != 0; then - -cat >>confdefs.h <<_ACEOF -#define ACE_SIZEOF_INT $ac_cv_sizeof_int -_ACEOF - - fi - # The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 -$as_echo_n "checking size of long... " >&6; } -if ${ac_cv_sizeof_long+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : - -else - if test "$ac_cv_type_long" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (long) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_long=0 - fi -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 -$as_echo "$ac_cv_sizeof_long" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_LONG $ac_cv_sizeof_long -_ACEOF - - - if test $ac_cv_sizeof_long != 0; then - -cat >>confdefs.h <<_ACEOF -#define ACE_SIZEOF_LONG $ac_cv_sizeof_long -_ACEOF - - fi - # The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 -$as_echo_n "checking size of long long... " >&6; } -if ${ac_cv_sizeof_long_long+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : - -else - if test "$ac_cv_type_long_long" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (long long) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_long_long=0 - fi -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 -$as_echo "$ac_cv_sizeof_long_long" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long -_ACEOF - - - if test $ac_cv_sizeof_long_long != 0; then - -cat >>confdefs.h <<_ACEOF -#define ACE_SIZEOF_LONG_LONG $ac_cv_sizeof_long_long -_ACEOF - - else - $as_echo "#define ACE_LACKS_LONGLONG_T 1" >>confdefs.h - - fi - # The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 -$as_echo_n "checking size of void *... " >&6; } -if ${ac_cv_sizeof_void_p+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : - -else - if test "$ac_cv_type_void_p" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (void *) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_void_p=0 - fi -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 -$as_echo "$ac_cv_sizeof_void_p" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_VOID_P $ac_cv_sizeof_void_p -_ACEOF - - - if test $ac_cv_sizeof_void_p != 0; then - -cat >>confdefs.h <<_ACEOF -#define ACE_SIZEOF_VOID_P $ac_cv_sizeof_void_p -_ACEOF - - fi - # The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5 -$as_echo_n "checking size of float... " >&6; } -if ${ac_cv_sizeof_float+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then : - -else - if test "$ac_cv_type_float" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (float) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_float=0 - fi -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5 -$as_echo "$ac_cv_sizeof_float" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_FLOAT $ac_cv_sizeof_float -_ACEOF - - - if test $ac_cv_sizeof_float != 0; then - -cat >>confdefs.h <<_ACEOF -#define ACE_SIZEOF_FLOAT $ac_cv_sizeof_float -_ACEOF - - fi - # The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5 -$as_echo_n "checking size of double... " >&6; } -if ${ac_cv_sizeof_double+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then : - -else - if test "$ac_cv_type_double" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (double) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_double=0 - fi -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5 -$as_echo "$ac_cv_sizeof_double" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_DOUBLE $ac_cv_sizeof_double -_ACEOF - - - if test $ac_cv_sizeof_double != 0; then - -cat >>confdefs.h <<_ACEOF -#define ACE_SIZEOF_DOUBLE $ac_cv_sizeof_double -_ACEOF - - fi - # The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5 -$as_echo_n "checking size of long double... " >&6; } -if ${ac_cv_sizeof_long_double+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then : - -else - if test "$ac_cv_type_long_double" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (long double) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_long_double=0 - fi -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5 -$as_echo "$ac_cv_sizeof_long_double" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double -_ACEOF - - - if test $ac_cv_sizeof_long_double != 0; then - -cat >>confdefs.h <<_ACEOF -#define ACE_SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double -_ACEOF - - fi - - ACE_INT64="" - ACE_UINT64="" - if test $ac_cv_sizeof_long = 8; then - ACE_INT64="signed long" - ACE_UINT64="unsigned long" - ace_u_long_long_typedef_set=yes - elif test $ac_cv_sizeof_long_long = 8; then - ACE_INT64="signed long long" - ACE_UINT64="unsigned long long" - ace_u_long_long_typedef_set=yes - else - ace_u_long_long_typedef_set=no - fi - - # The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of signed char" >&5 -$as_echo_n "checking size of signed char... " >&6; } -if ${ac_cv_sizeof_signed_char+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (signed char))" "ac_cv_sizeof_signed_char" "$ac_includes_default"; then : - -else - if test "$ac_cv_type_signed_char" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (signed char) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_signed_char=0 - fi -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_signed_char" >&5 -$as_echo "$ac_cv_sizeof_signed_char" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_SIGNED_CHAR $ac_cv_sizeof_signed_char -_ACEOF - - - if test $ac_cv_sizeof_signed_char = 0; then - $as_echo "#define ACE_LACKS_SIGNED_CHAR 1" >>confdefs.h - - fi -else - ace_u_long_long_typedef_set=no -fi -ac_fn_cxx_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" " -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif -" -if test "x$ac_cv_type_intmax_t" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_INTMAX_T 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" " -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif -" -if test "x$ac_cv_type_uintmax_t" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_UINTMAX_T 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" " -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif -" -if test "x$ac_cv_type_intptr_t" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_INTPTR_T 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" " -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif -" -if test "x$ac_cv_type_uintptr_t" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_UINTPTR_T 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_type "$LINENO" "int8_t" "ac_cv_type_int8_t" " -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif -" -if test "x$ac_cv_type_int8_t" = xyes; then : - -$as_echo "#define ACE_HAS_INT8_T 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" " -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif -" -if test "x$ac_cv_type_uint8_t" = xyes; then : - -$as_echo "#define ACE_HAS_UINT8_T 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" " -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif -" -if test "x$ac_cv_type_int16_t" = xyes; then : - -$as_echo "#define ACE_HAS_INT16_T 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" " -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif -" -if test "x$ac_cv_type_uint16_t" = xyes; then : - -$as_echo "#define ACE_HAS_UINT16_T 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" " -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif -" -if test "x$ac_cv_type_int32_t" = xyes; then : - -$as_echo "#define ACE_HAS_INT32_T 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" " -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif -" -if test "x$ac_cv_type_uint32_t" = xyes; then : - -$as_echo "#define ACE_HAS_UINT32_T 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" " -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif -" -if test "x$ac_cv_type_int64_t" = xyes; then : - -$as_echo "#define ACE_HAS_INT64_T 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" " -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif -" -if test "x$ac_cv_type_uint64_t" = xyes; then : - -$as_echo "#define ACE_HAS_UINT64_T 1" >>confdefs.h - -fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::numeric_limits<>" >&5 -$as_echo_n "checking for std::numeric_limits<>... " >&6; } - if ${ace_cv_func_numeric_limits+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -return std::numeric_limits::max(); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ace_cv_func_numeric_limits=yes -else - ace_cv_func_numeric_limits=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_func_numeric_limits" >&5 -$as_echo "$ace_cv_func_numeric_limits" >&6; } - if test "$ace_cv_func_numeric_limits" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_NUMERIC_LIMITS 1" >>confdefs.h - - - fi - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5 -$as_echo_n "checking for timezone variable... " >&6; } -if ${ace_cv_var_timezone+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -return (int) timezone(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ace_cv_var_timezone=no -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -return (int) timezone; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ace_cv_var_timezone=yes -else - ace_cv_var_timezone=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_var_timezone" >&5 -$as_echo "$ace_cv_var_timezone" >&6; } -if test "$ace_cv_var_timezone" = yes; then - -$as_echo "#define ACE_HAS_TIMEZONE 1" >>confdefs.h - -fi - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for istream operator>> for char types" >&5 -$as_echo_n "checking for istream operator>> for char types... " >&6; } - if ${ace_cv_feature_char_right_shifts+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - -unsigned char a = 0; -cin >> a; - -#ifndef ACE_LACKS_SIGNED_CHAR -signed char b = 0; -cin >> b; -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_feature_char_right_shifts=yes - -else - - ace_cv_feature_char_right_shifts=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_char_right_shifts" >&5 -$as_echo "$ace_cv_feature_char_right_shifts" >&6; } - if test "$ace_cv_feature_char_right_shifts" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_CHAR_RIGHT_SHIFTS 1" >>confdefs.h - - - fi - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for istream operator>> for char * types" >&5 -$as_echo_n "checking for istream operator>> for char * types... " >&6; } - if ${ace_cv_feature_char_ptr_right_shifts+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - -unsigned char * a = 0; -cin >> a; - -#ifndef ACE_LACKS_SIGNED_CHAR -signed char * b = 0; -cin >> b; -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_feature_char_ptr_right_shifts=yes - -else - - ace_cv_feature_char_ptr_right_shifts=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_char_ptr_right_shifts" >&5 -$as_echo "$ace_cv_feature_char_ptr_right_shifts" >&6; } - if test "$ace_cv_feature_char_ptr_right_shifts" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_CHAR_STAR_RIGHT_SHIFTS 1" >>confdefs.h - - - fi - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if template destructor call takes template args" >&5 -$as_echo_n "checking to see if template destructor call takes template args... " >&6; } - if ${ace_cv_feature_explicit_template_des_takes_args+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - -class dyn -{ - public: - dyn () { } - ~dyn () { } -}; - -template -class Base -{ - public: - Base () { } - virtual void f (void) { } - ~Base () { } -}; - -template -class Derived -{ - public: - Derived () - { - x_ = new Base (); - } - virtual void f (void) { } - ~Derived () { x_->~Base (); } - private: - Base *x_; - T t_; -}; - -int -main () -{ - - Derived *x = new Derived (); - - x->f (); - - delete x; - return 0; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_feature_explicit_template_des_takes_args=yes - -else - - ace_cv_feature_explicit_template_des_takes_args=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_explicit_template_des_takes_args" >&5 -$as_echo "$ace_cv_feature_explicit_template_des_takes_args" >&6; } - if test "$ace_cv_feature_explicit_template_des_takes_args" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_EXPLICIT_TEMPLATE_DESTRUCTOR_TAKES_ARGS 1" >>confdefs.h - - $as_echo "#define ACE_HAS_WORKING_EXPLICIT_TEMPLATE_DESTRUCTOR 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - fi - - -if test "$ace_cv_feature_explicit_template_des_takes_args" = no; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working C++ explicit template destructors" >&5 -$as_echo_n "checking for working C++ explicit template destructors... " >&6; } - if ${ace_cv_feature_working_explicit_des+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - -class dyn -{ - public: - dyn () { } - ~dyn () { } -}; - -template -class Base -{ - public: - Base () { } - virtual void f (void) { } - ~Base () { } -}; - -template -class Derived -{ - public: - Derived () - { - x_ = new Base (); - } - virtual void f (void) { } - ~Derived () { x_->~Base (); } - private: - Base *x_; - T t_; -}; - -int -main () -{ - - Derived *x = new Derived (); - - x->f (); - - delete x; - return 0; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_feature_working_explicit_des=yes - -else - - ace_cv_feature_working_explicit_des=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_working_explicit_des" >&5 -$as_echo "$ace_cv_feature_working_explicit_des" >&6; } - if test "$ace_cv_feature_working_explicit_des" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_WORKING_EXPLICIT_TEMPLATE_DESTRUCTOR 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - -fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ \"std\" namespace" >&5 -$as_echo_n "checking for C++ \"std\" namespace... " >&6; } - if ${ace_cv_feature_posix_uses_std_namespace+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#if defined (ACE_USES_OLD_IOSTREAMS) -# include -#else -# include -#endif - -int -main () -{ - - std::cout << "FOO" << std::endl; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_feature_posix_uses_std_namespace=yes - -else - - ace_cv_feature_posix_uses_std_namespace=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_posix_uses_std_namespace" >&5 -$as_echo "$ace_cv_feature_posix_uses_std_namespace" >&6; } - if test "$ace_cv_feature_posix_uses_std_namespace" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for new style C++ include file support" >&5 -$as_echo_n "checking for new style C++ include file support... " >&6; } - if ${ace_cv_lib_posix_standard_includes+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ace_cv_lib_posix_standard_includes=no - if test "$ace_cv_feature_posix_uses_std_namespace" = yes; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - -#ifdef ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB - std::string str; -#else - string str; -#endif /* ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB */ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ace_cv_lib_posix_standard_includes=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_posix_standard_includes" >&5 -$as_echo "$ace_cv_lib_posix_standard_includes" >&6; } - if test "$ace_cv_lib_posix_standard_includes" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_HAS_STDCPP_STL_INCLUDES 1" >>confdefs.h - - $as_echo "#define ACE_HAS_STRING_CLASS 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - fi - - -if test "$ac_cv_header_new" = yes && - test "$ac_cv_header_iomanip" = yes && - test "$ac_cv_header_memory" = yes; then - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ auto_ptr class" >&5 -$as_echo_n "checking for C++ auto_ptr class... " >&6; } - if ${ace_cv_lib_auto_ptr_class+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - int *foo = new int; - -#ifdef ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB - std::auto_ptr safe (foo); -#else - auto_ptr safe (foo); -#endif - foo = safe.release (); - - delete foo; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_auto_ptr_class=yes - -else - - ace_cv_lib_auto_ptr_class=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_auto_ptr_class" >&5 -$as_echo "$ace_cv_lib_auto_ptr_class" >&6; } - if test "$ace_cv_lib_auto_ptr_class" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_HAS_STANDARD_CPP_LIBRARY 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_LACKS_AUTO_PTR 1" >>confdefs.h - - - - fi - -fi - -if test "$ace_cv_lib_auto_ptr_class" = yes; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ auto_ptr reset method" >&5 -$as_echo_n "checking for C++ auto_ptr reset method... " >&6; } - if ${ace_cv_lib_auto_ptr_reset+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - int *foo = new int; - -#ifdef ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB - std::auto_ptr safe (foo); -#else - auto_ptr safe (foo); -#endif - int *bar = new int; - - safe.reset (bar); - - foo = safe.release (); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_auto_ptr_reset=yes - -else - - ace_cv_lib_auto_ptr_reset=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_auto_ptr_reset" >&5 -$as_echo "$ace_cv_lib_auto_ptr_reset" >&6; } - if test "$ace_cv_lib_auto_ptr_reset" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_AUTO_PTR_LACKS_RESET 1" >>confdefs.h - - - fi - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ placement delete operator" >&5 -$as_echo_n "checking for C++ placement delete operator... " >&6; } - if ${ace_cv_feature_placement_delete+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#if defined (ACE_HAS_NEW_NO_H) -# include -#elif defined (ACE_HAS_NEW_H) -# include -#endif - -class foo -{ -public: - void *operator new (size_t, void *p) { return p; } - void operator delete (void *p, void *) {} -}; - -int -main () -{ - -int *x = 0; -foo *f = new (x) foo; - -// delete f; // Don't call delete for this test! - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_feature_placement_delete=yes - -else - - ace_cv_feature_placement_delete=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_placement_delete" >&5 -$as_echo "$ace_cv_feature_placement_delete" >&6; } - if test "$ace_cv_feature_placement_delete" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_PLACEMENT_OPERATOR_DELETE 1" >>confdefs.h - - - fi - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if templates require source" >&5 -$as_echo_n "checking if templates require source... " >&6; } - if ${ace_cv_feature_templates_require_source+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat > ace_test.h < -class Foo -{ - public: - Foo (T val); - private: - T value_; -}; - -template -class Bar -{ - public: - Bar (Foo *); - private: - Foo *foo_ptr; -}; -#endif /* FOO_H */ -EOF - - cat > ace_test.$ac_ext < -Foo::Foo (T val) - : value_ (val) -{ - // Nothing else to do. -} - -template -Bar::Bar (Foo *val) - : foo_ptr (val) -{ - // Nothing else to do. -} -#endif /* FOO_CXX */ -EOF - - ace_cxx_template_save_CXXFLAGS="$CXXFLAGS" - ace_cxx_template_save_CPPFLAGS="$CPPFLAGS" - ace_cxx_template_save_LDFLAGS="$LDFLAGS" - CXXFLAGS="$ACE_CXXFLAGS $CXXFLAGS" - CPPFLAGS="$ACE_CPPFLAGS $CPPFLAGS" - LDFLAGS="$ACE_LDFLAGS $LDFLAGS" - - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include "ace_test.h" - -int -main () -{ - -Foo foo (15); -Bar bar (0); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - ace_cv_feature_templates_require_source=no - - if ${ace_cv_feature_templates_require_pragma+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_feature_templates_require_pragma=no -fi - - - if ${ace_cv_feature_explicit_template_instantiation+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_feature_explicit_template_instantiation=no -fi - - - if ${ace_cv_feature_pragma_template_instantiation+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_feature_pragma_template_instantiation=no -fi - - -else - - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include "ace_test.h" -#include "ace_test.$ac_ext" - -int -main () -{ - -Foo foo (15); - -Bar bar (0); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - ace_cv_feature_templates_require_source=yes - - if ${ace_cv_feature_templates_require_pragma+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_feature_templates_require_pragma=no -fi - - - if ${ace_cv_feature_explicit_template_instantiation+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_feature_explicit_template_instantiation=no -fi - - - if ${ace_cv_feature_pragma_template_instantiation+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_feature_pragma_template_instantiation=no -fi - - -else - - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include "ace_test.h" - -template class Foo; -template class Bar; - -int -main () -{ - -Foo foo (15); -Bar bar (0); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - ace_cv_feature_templates_require_source=no - - if ${ace_cv_feature_templates_require_pragma+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_feature_templates_require_pragma=no -fi - - - if ${ace_cv_feature_explicit_template_instantiation+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_feature_explicit_template_instantiation=yes -fi - - - if ${ace_cv_feature_pragma_template_instantiation+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_feature_pragma_template_instantiation=no -fi - - -else - - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include "ace_test.h" -#include "ace_test.$ac_ext" - -template class Foo; -template class Bar; - -int -main () -{ - -Foo foo (15); -Bar bar (0); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - ace_cv_feature_templates_require_source=yes - - if ${ace_cv_feature_templates_require_pragma+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_feature_templates_require_pragma=no -fi - - - if ${ace_cv_feature_explicit_template_instantiation+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_feature_explicit_template_instantiation=yes -fi - - - if ${ace_cv_feature_pragma_template_instantiation+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_feature_pragma_template_instantiation=no -fi - - -else - - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include "ace_test.h" - -#pragma instantiate Foo -#pragma instantiate Bar - -int -main () -{ - -Foo foo (15); -Bar bar (0); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - ace_cv_feature_templates_require_source=no - - if ${ace_cv_feature_templates_require_pragma+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_feature_templates_require_pragma=no -fi - - - if ${ace_cv_feature_explicit_template_instantiation+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_feature_explicit_template_instantiation=no -fi - - - if ${ace_cv_feature_pragma_template_instantiation+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_feature_pragma_template_instantiation=yes -fi - - -else - - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include "ace_test.h" -#include "ace_test.$ac_ext" - -#pragma instantiate Foo -#pragma instantiate Bar - -int -main () -{ - -Foo foo (15); -Bar bar (0); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - ace_cv_feature_templates_require_source=yes - - if ${ace_cv_feature_templates_require_pragma+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_feature_templates_require_pragma=no -fi - - - if ${ace_cv_feature_explicit_template_instantiation+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_feature_explicit_template_instantiation=no -fi - - - if ${ace_cv_feature_pragma_template_instantiation+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_feature_pragma_template_instantiation=yes -fi - - -else - - ace_cv_feature_templates_require_source=no - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - rm -f ace_test* - - CXXFLAGS="$ace_cxx_template_save_CXXFLAGS" - CPPFLAGS="$ace_cxx_template_save_CPPFLAGS" - LDFLAGS="$ace_cxx_template_save_LDFLAGS" - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_templates_require_source" >&5 -$as_echo "$ace_cv_feature_templates_require_source" >&6; } - if test "$ace_cv_feature_templates_require_source" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_TEMPLATES_REQUIRE_SOURCE 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if templates require pragma" >&5 -$as_echo_n "checking if templates require pragma... " >&6; } - if ${ace_cv_feature_templates_require_pragma+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat > ace_test.h < -class Foo -{ - public: - Foo (T val); - private: - T value_; -}; - -template -class Bar -{ - public: - Bar (Foo *); - private: - Foo *foo_ptr; -}; -#endif /* FOO_H */ -EOF - - cat > ace_test.$ac_ext < -Foo::Foo (T val) - : value_ (val) -{ - // Nothing else to do. -} - -template -Bar::Bar (Foo *val) - : foo_ptr (val) -{ - // Nothing else to do. -} -#endif /* FOO_CXX */ -EOF - - ace_cxx_template_save_CXXFLAGS="$CXXFLAGS" - ace_cxx_template_save_CPPFLAGS="$CPPFLAGS" - ace_cxx_template_save_LDFLAGS="$LDFLAGS" - CXXFLAGS="$ACE_CXXFLAGS $CXXFLAGS" - CPPFLAGS="$ACE_CPPFLAGS $CPPFLAGS" - LDFLAGS="$ACE_LDFLAGS $LDFLAGS" - - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include "ace_test.h" - -#pragma implementation ("ace_test.$ac_ext") - -int -main () -{ - -Foo foo (15); -Bar bar (0); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - ace_cv_feature_templates_require_pragma=yes - -else - - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include "ace_test.h" - -#pragma implementation ("ace_test.$ac_ext") - -template class Foo; -template class Bar; - -int -main () -{ - -Foo foo (15); -Bar bar (0); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - ace_cv_feature_templates_require_pragma=yes - - if ${ace_cv_feature_explicit_template_instantiation+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_feature_explicit_template_instantiation=yes -fi - - - if ${ace_cv_feature_pragma_template_instantiation+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_feature_pragma_template_instantiation=no -fi - - -else - - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include "ace_test.h" - -#pragma implementation ("ace_test.$ac_ext") - -#pragma instantiate Foo -#pragma instantiate Bar - -int -main () -{ - -Foo foo (15); -Bar bar (0); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - ace_cv_feature_templates_require_pragma=yes - - if ${ace_cv_feature_explicit_template_instantiation+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_feature_explicit_template_instantiation=no -fi - - - if ${ace_cv_feature_pragma_template_instantiation+:} false; then : - $as_echo_n "(cached) " >&6 -else - ace_cv_feature_pragma_template_instantiation=yes -fi - - -else - - ace_cv_feature_templates_require_pragma=no - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - rm -f ace_test* - - CXXFLAGS="$ace_cxx_template_save_CXXFLAGS" - CPPFLAGS="$ace_cxx_template_save_CPPFLAGS" - LDFLAGS="$ace_cxx_template_save_LDFLAGS" - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_templates_require_pragma" >&5 -$as_echo "$ace_cv_feature_templates_require_pragma" >&6; } - if test "$ace_cv_feature_templates_require_pragma" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_TEMPLATES_REQUIRE_PRAGMA 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - - - fi - - - - fi - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for template typedefs" >&5 -$as_echo_n "checking for template typedefs... " >&6; } - if ${ace_cv_feature_posix_template_typedefs+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - -class Bar -{ -public: - typedef int Y; - Bar(int bar) : bar_(bar) {} - int value() const { return bar_; } -private: - int bar_; -}; - -template -class Foo -{ -public: - typedef typename T::Y Y; - Foo(T* foo) : foo_(foo) {} - void print(Y); -private: - T* foo_; -}; - -template -void Foo::print(typename T::Y) -{ -} - -int -main () -{ - -Bar bar(15); -Foo foo(&bar); -foo.print(11); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_feature_posix_template_typedefs=yes - -else - - ace_cv_feature_posix_template_typedefs=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_posix_template_typedefs" >&5 -$as_echo "$ace_cv_feature_posix_template_typedefs" >&6; } - if test "$ace_cv_feature_posix_template_typedefs" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_TEMPLATE_TYPEDEFS 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for static data member templates" >&5 -$as_echo_n "checking for static data member templates... " >&6; } - if ${ace_cv_feature_posix_static_data_member_templates+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -template -class Foo -{ -public: - static T* sdm; -}; - -template T* Foo::sdm = 0; - -int -main () -{ - - /* No body */ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_feature_posix_static_data_member_templates=yes - -else - - ace_cv_feature_posix_static_data_member_templates=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_posix_static_data_member_templates" >&5 -$as_echo "$ace_cv_feature_posix_static_data_member_templates" >&6; } - if test "$ace_cv_feature_posix_static_data_member_templates" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES 1" >>confdefs.h - - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if definition is needed for hidden functions" >&5 -$as_echo_n "checking if definition is needed for hidden functions... " >&6; } - if ${ace_cv_feature_need_func_def+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - class Foo - { - public: - Foo (void) { a_ = 0; } - private: - Foo (const Foo &); - void operator= (const Foo &); - - int a_; - }; - -int -main () -{ - - Foo Bar; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - ace_cv_feature_need_func_def=no - -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - class Foo - { - public: - Foo (void) { a_ = 0; } - private: - Foo (const Foo &); - const Foo & operator= (const Foo &); - - int a_; - }; - - Foo::Foo (const Foo &) - { - a_ = 0; - } - - const Foo & - Foo::operator= (const Foo &) - { - a_ = 0; - - return *this; - } - -int -main () -{ - - Foo Bar; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - ace_cv_feature_need_func_def=yes - -else - - ace_cv_feature_need_func_def=no - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_need_func_def" >&5 -$as_echo "$ace_cv_feature_need_func_def" >&6; } - if test "$ace_cv_feature_need_func_def" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_NEEDS_FUNC_DEFINITIONS 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - fi - - -if test "$ace_user_enable_exceptions" = yes; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ exceptions" >&5 -$as_echo_n "checking for C++ exceptions... " >&6; } - if ${ace_cv_feature_posix_exceptions+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - int ret = 0; - class ACE {}; - try - { - throw ACE(); - } - catch (ACE) - { - ret = 1; - } - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_feature_posix_exceptions=yes - -else - - ace_cv_feature_posix_exceptions=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_posix_exceptions" >&5 -$as_echo "$ace_cv_feature_posix_exceptions" >&6; } - if test "$ace_cv_feature_posix_exceptions" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_EXCEPTIONS 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme -ace_user_enable_exceptions=no - - fi - - -fi - - -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) { eval $ac_var=; unset $ac_var;} ;; - esac ;; - esac - done - - (set) 2>&1 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes: double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \. - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; #( - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) | - sed ' - /^ac_cv_env_/b end - t clear - :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - :end' >>confcache -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else - if test -w "$cache_file"; then - if test "x$cache_file" != "x/dev/null"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} - if test ! -f "$cache_file" || test -h "$cache_file"; then - cat confcache >"$cache_file" - else - case $cache_file in #( - */* | ?:*) - mv -f confcache "$cache_file"$$ && - mv -f "$cache_file"$$ "$cache_file" ;; #( - *) - mv -f confcache "$cache_file" ;; - esac - fi - fi - else - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} - fi -fi -rm -f confcache - - - -for ace_func in strcasecmp -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test "$ac_cv_func_strcasecmp" = yes; then - ac_fn_cxx_check_decl "$LINENO" "strcasecmp" "ac_cv_have_decl_strcasecmp" " -#if !defined(ACE_LACKS_STRINGS_H) -#include -#endif -#if !defined(ACE_LACKS_STRING_H) -#include -#endif - -" -if test "x$ac_cv_have_decl_strcasecmp" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_STRCASECMP_PROTOTYPE 1" >>confdefs.h - -fi - -else - ac_fn_cxx_check_func "$LINENO" "stricmp" "ac_cv_func_stricmp" -if test "x$ac_cv_func_stricmp" = xyes; then : - -fi - - if test "$ac_cv_func_stricmp" = yes; then - -$as_echo "#define ACE_STRCASECMP_EQUIVALENT ::stricmp" >>confdefs.h - - else - ac_fn_cxx_check_func "$LINENO" "_stricmp" "ac_cv_func__stricmp" -if test "x$ac_cv_func__stricmp" = xyes; then : - -fi - - if test "$ac_cv_func__stricmp" = yes; then - $as_echo "#define ACE_STRCASECMP_EQUIVALENT ::_stricmp" >>confdefs.h - - fi - fi -fi - -for ace_func in strncasecmp -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test "$ac_cv_func_strncasecmp" = yes; then - ac_fn_cxx_check_decl "$LINENO" "strncasecmp" "ac_cv_have_decl_strncasecmp" " -#if !defined(ACE_LACKS_STRINGS_H) -#include -#endif -#if !defined(ACE_LACKS_STRING_H) -#include -#endif - -" -if test "x$ac_cv_have_decl_strncasecmp" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_STRNCASECMP_PROTOTYPE 1" >>confdefs.h - -fi - -else - ac_fn_cxx_check_func "$LINENO" "strnicmp" "ac_cv_func_strnicmp" -if test "x$ac_cv_func_strnicmp" = xyes; then : - -fi - - if test "$ac_cv_func_strnicmp" = yes; then - -$as_echo "#define ACE_STRNCASECMP_EQUIVALENT ::strnicmp" >>confdefs.h - - else - ac_fn_cxx_check_func "$LINENO" "_strnicmp" "ac_cv_func__strnicmp" -if test "x$ac_cv_func__strnicmp" = xyes; then : - -fi - - if test "$ac_cv_func__strnicmp" = yes; then - $as_echo "#define ACE_STRNCASECMP_EQUIVALENT ::_strnicmp" >>confdefs.h - - fi - fi -fi - -for ace_func in strdup -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test "$ac_cv_func_strdup" = no; then - ac_fn_cxx_check_func "$LINENO" "_strdup" "ac_cv_func__strdup" -if test "x$ac_cv_func__strdup" = xyes; then : - -fi - - if test "$ac_cv_func__strdup" = yes; then - -$as_echo "#define ACE_STRDUP_EQUIVALENT ::_strdup" >>confdefs.h - - fi -fi - -for ace_func in wcscasecmp -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test "$ac_cv_func_wcscasecmp" = no; then - ac_fn_cxx_check_func "$LINENO" "wcsicmp" "ac_cv_func_wcsicmp" -if test "x$ac_cv_func_wcsicmp" = xyes; then : - -fi - - if test "$ac_cv_func_wcsicmp" = yes; then - -$as_echo "#define ACE_WCSCASECMP_EQUIVALENT ::wcsicmp" >>confdefs.h - - else - ac_fn_cxx_check_func "$LINENO" "_wcsicmp" "ac_cv_func__wcsicmp" -if test "x$ac_cv_func__wcsicmp" = xyes; then : - -fi - - if test "$ac_cv_func__wcsicmp" = yes; then - $as_echo "#define ACE_WCSCASECMP_EQUIVALENT ::_wcsicmp" >>confdefs.h - - fi - fi -fi - -for ace_func in wcsncasecmp -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test "$ac_cv_func_wcsncasecmp" = no; then - ac_fn_cxx_check_func "$LINENO" "wcsnicmp" "ac_cv_func_wcsnicmp" -if test "x$ac_cv_func_wcsnicmp" = xyes; then : - -fi - - if test "$ac_cv_func_wcsnicmp" = yes; then - -$as_echo "#define ACE_WCSNCASECMP_EQUIVALENT ::wcsnicmp" >>confdefs.h - - else - ac_fn_cxx_check_func "$LINENO" "_wcsnicmp" "ac_cv_func__wcsnicmp" -if test "x$ac_cv_func__wcsnicmp" = xyes; then : - -fi - - if test "$ac_cv_func__wcsnicmp" = yes; then - $as_echo "#define ACE_WCSNCASECMP_EQUIVALENT ::_wcsnicmp" >>confdefs.h - - fi - fi -fi - -for ace_func in wcsdup -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test "$ac_cv_func_wcsdup" = no; then - ac_fn_cxx_check_func "$LINENO" "_wcsdup" "ac_cv_func__wcsdup" -if test "x$ac_cv_func__wcsdup" = xyes; then : - -fi - - if test "$ac_cv_func__wcsdup" = yes; then - -$as_echo "#define ACE_WCSDUP_EQUIVALENT ::_wcsdup" >>confdefs.h - - fi -fi - - -if test "$ace_user_enable_alloca" = yes; then - ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" -if test "x$ac_cv_type_size_t" = xyes; then : - -else - -cat >>confdefs.h <<_ACEOF -#define size_t unsigned int -_ACEOF - -fi - -# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works -# for constant arguments. Useless! -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 -$as_echo_n "checking for working alloca.h... " >&6; } -if ${ac_cv_working_alloca_h+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -char *p = (char *) alloca (2 * sizeof (int)); - if (p) return 0; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_working_alloca_h=yes -else - ac_cv_working_alloca_h=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 -$as_echo "$ac_cv_working_alloca_h" >&6; } -if test $ac_cv_working_alloca_h = yes; then - -$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 -$as_echo_n "checking for alloca... " >&6; } -if ${ac_cv_func_alloca_works+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __GNUC__ -# define alloca __builtin_alloca -#else -# ifdef _MSC_VER -# include -# define alloca _alloca -# else -# ifdef HAVE_ALLOCA_H -# include -# else -# ifdef _AIX - #pragma alloca -# else -# ifndef alloca /* predefined by HP cc +Olibcalls */ -void *alloca (size_t); -# endif -# endif -# endif -# endif -#endif - -int -main () -{ -char *p = (char *) alloca (1); - if (p) return 0; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_func_alloca_works=yes -else - ac_cv_func_alloca_works=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 -$as_echo "$ac_cv_func_alloca_works" >&6; } - -if test $ac_cv_func_alloca_works = yes; then - -$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h - -else - # The SVR3 libPW and SVR4 libucb both contain incompatible functions -# that cause trouble. Some versions do not even contain alloca or -# contain a buggy version. If you still want to use their alloca, -# use ar to extract alloca.o from them instead of compiling alloca.c. - -ALLOCA=\${LIBOBJDIR}alloca.$ac_objext - -$as_echo "#define C_ALLOCA 1" >>confdefs.h - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 -$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } -if ${ac_cv_os_cray+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#if defined CRAY && ! defined CRAY2 -webecray -#else -wenotbecray -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "webecray" >/dev/null 2>&1; then : - ac_cv_os_cray=yes -else - ac_cv_os_cray=no -fi -rm -f conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 -$as_echo "$ac_cv_os_cray" >&6; } -if test $ac_cv_os_cray = yes; then - for ac_func in _getb67 GETB67 getb67; do - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -cat >>confdefs.h <<_ACEOF -#define CRAY_STACKSEG_END $ac_func -_ACEOF - - break -fi - - done -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 -$as_echo_n "checking stack direction for C alloca... " >&6; } -if ${ac_cv_c_stack_direction+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : - ac_cv_c_stack_direction=0 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_includes_default -int -find_stack_direction (int *addr, int depth) -{ - int dir, dummy = 0; - if (! addr) - addr = &dummy; - *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; - dir = depth ? find_stack_direction (addr, depth - 1) : 0; - return dir + dummy; -} - -int -main (int argc, char **argv) -{ - return find_stack_direction (0, argc + !argv + 20) < 0; -} -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - ac_cv_c_stack_direction=1 -else - ac_cv_c_stack_direction=-1 -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 -$as_echo "$ac_cv_c_stack_direction" >&6; } -cat >>confdefs.h <<_ACEOF -#define STACK_DIRECTION $ac_cv_c_stack_direction -_ACEOF - - -fi - - if test "$ac_cv_header_alloca_h" = yes; then - $as_echo "#define ACE_HAS_ALLOCA_H 1" >>confdefs.h - - fi - if test "$ac_cv_func_alloca_works" = yes; then - $as_echo "#define ACE_HAS_ALLOCA 1" >>confdefs.h - - fi -fi - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5 -$as_echo_n "checking whether closedir returns void... " >&6; } -if ${ac_cv_func_closedir_void+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : - ac_cv_func_closedir_void=yes -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_includes_default -#include <$ac_header_dirent> -#ifndef __cplusplus -int closedir (); -#endif - -int -main () -{ -return closedir (opendir (".")) != 0; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - ac_cv_func_closedir_void=no -else - ac_cv_func_closedir_void=yes -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5 -$as_echo "$ac_cv_func_closedir_void" >&6; } -if test $ac_cv_func_closedir_void = yes; then - -$as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h - -fi - - -ac_fn_cxx_check_func "$LINENO" "getpwnam" "ac_cv_func_getpwnam" -if test "x$ac_cv_func_getpwnam" = xyes; then : - -fi - -ac_fn_cxx_check_func "$LINENO" "setpwent" "ac_cv_func_setpwent" -if test "x$ac_cv_func_setpwent" = xyes; then : - -fi - -ac_fn_cxx_check_func "$LINENO" "endpwent" "ac_cv_func_endpwent" -if test "x$ac_cv_func_endpwent" = xyes; then : - -fi - -ac_fn_cxx_check_func "$LINENO" "getpwent" "ac_cv_func_getpwent" -if test "x$ac_cv_func_getpwent" = xyes; then : - -fi - -ac_fn_cxx_check_func "$LINENO" "getpwuid" "ac_cv_func_getpwuid" -if test "x$ac_cv_func_getpwuid" = xyes; then : - -fi - - -if test "$ac_cv_func_getpwnam" != yes || - test "$ac_cv_func_setpwent" != yes || - test "$ac_cv_func_endpwent" != yes || - test "$ac_cv_func_getpwent" != yes || - test "$ac_cv_func_getpwuid" != yes; then - $as_echo "#define ACE_LACKS_PWD_FUNCTIONS 1" >>confdefs.h - -else - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking checking if ACE cuserid() implementation should be used" >&5 -$as_echo_n "checking checking if ACE cuserid() implementation should be used... " >&6; } - if ${ace_cv_lib_use_alt_cuserid+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Undefine _XOPEN_SOURCE since it may make the cuserid() prototype - visible. ACE should not rely on such feature test macros. */ -#undef _XOPEN_SOURCE -#ifndef ACE_LACKS_UNISTD_H -# include -#else -# error No unistd.h header. Need header where cuserid() is located. -#endif /* ACE_LACKS_UNISTD_H */ - -int -main () -{ - - char * foo = cuserid ((char *)0); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - ace_cv_lib_use_alt_cuserid=no - -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#undef _XOPEN_SOURCE -#ifndef ACE_LACKS_UNISTD_H -# include -#else -# error No unistd.h header. Need header where geteuid() is located. -#endif - -int -main () -{ - - uid_t foo = geteuid (); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - ace_cv_lib_use_alt_cuserid=yes - -else - - ace_cv_lib_use_alt_cuserid=no - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_use_alt_cuserid" >&5 -$as_echo "$ace_cv_lib_use_alt_cuserid" >&6; } - if test "$ace_cv_lib_use_alt_cuserid" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_HAS_ALT_CUSERID 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - fi - - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - -fi - - - -for ac_func in strftime -do : - ac_fn_cxx_check_func "$LINENO" "strftime" "ac_cv_func_strftime" -if test "x$ac_cv_func_strftime" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STRFTIME 1 -_ACEOF - -else - # strftime is in -lintl on SCO UNIX. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 -$as_echo_n "checking for strftime in -lintl... " >&6; } -if ${ac_cv_lib_intl_strftime+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lintl $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 strftime (); -int -main () -{ -return strftime (); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_lib_intl_strftime=yes -else - ac_cv_lib_intl_strftime=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 -$as_echo "$ac_cv_lib_intl_strftime" >&6; } -if test "x$ac_cv_lib_intl_strftime" = xyes; then : - $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h - -LIBS="-lintl $LIBS" -fi - -fi -done - - -case "$host_os" in - *win32*) - ac_fn_cxx_check_func "$LINENO" "CancelIO" "ac_cv_func_CancelIO" -if test "x$ac_cv_func_CancelIO" = xyes; then : - $as_echo "#define ACE_HAS_CANCEL_IO 1" >>confdefs.h - -fi - - - ac_fn_cxx_check_func "$LINENO" "SignalObjectAndWait" "ac_cv_func_SignalObjectAndWait" -if test "x$ac_cv_func_SignalObjectAndWait" = xyes; then : - $as_echo "#define ACE_HAS_SIGNAL_OBJECT_AND_WAIT 1" >>confdefs.h - -fi - - - ac_fn_cxx_check_func "$LINENO" "TryEnterCriticalSection" "ac_cv_func_TryEnterCriticalSection" -if test "x$ac_cv_func_TryEnterCriticalSection" = xyes; then : - $as_echo "#define ACE_HAS_WIN32_TRYLOCK 1" >>confdefs.h - -fi - - ;; - *) - ;; -esac - -for ace_func in _InterlockedIncrement _InterlockedDecrement _InterlockedExchangeAdd -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test "$ac_cv_func__InterlockedIncrement" = yes && - test "$ac_cv_func__InterlockedDecrement" = yes && - test "$ac_cv_func__InterlockedExchangeAdd" = yes; then - $as_echo "#define ACE_HAS_INTRINSIC_INTERLOCKED 1" >>confdefs.h - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC atomic builtin" >&5 -$as_echo_n "checking for GCC atomic builtin... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - -int -main () -{ - - volatile unsigned long val = 10; - unsigned long retval = __sync_sub_and_fetch(&val, 1); - retval = __sync_add_and_fetch(&val, 1); - retval = __sync_fetch_and_sub(&val, 1); - retval = __sync_fetch_and_add(&val, 1); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - -$as_echo "#define ACE_HAS_GCC_ATOMIC_BUILTINS 1" >>confdefs.h - - -else - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -for ace_func in access -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in alphasort -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in asctime -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in asctime_r -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in alarm -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in bsearch -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_def in bswap16 -do - -as_ac_var=`$as_echo "ace_cv_defined_$ace_def" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ace_def" >&5 -$as_echo_n "checking for $ace_def... " >&6; } -if eval \${$as_ac_var+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_includes_default -#ifdef $ace_def -int ok; -#else -choke me -#endif - -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - eval "$as_ac_var=yes" -else - eval "$as_ac_var=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$as_ac_var - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` != "no"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_def" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test "$ace_cv_defined_bswap16" = no; then - for ace_def in bswap_16 -do - -as_ac_var=`$as_echo "ace_cv_defined_$ace_def" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ace_def" >&5 -$as_echo_n "checking for $ace_def... " >&6; } -if eval \${$as_ac_var+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#if ACE_HAS_BYTESWAP_H -#include -#endif - -#ifdef $ace_def -int ok; -#else -choke me -#endif - -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - eval "$as_ac_var=yes" -else - eval "$as_ac_var=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$as_ac_var - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` != "no"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_def" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -fi -for ace_def in bswap32 -do - -as_ac_var=`$as_echo "ace_cv_defined_$ace_def" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ace_def" >&5 -$as_echo_n "checking for $ace_def... " >&6; } -if eval \${$as_ac_var+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_includes_default -#ifdef $ace_def -int ok; -#else -choke me -#endif - -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - eval "$as_ac_var=yes" -else - eval "$as_ac_var=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$as_ac_var - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` != "no"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_def" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test "$ace_cv_defined_bswap32" = no; then - for ace_def in bswap_32 -do - -as_ac_var=`$as_echo "ace_cv_defined_$ace_def" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ace_def" >&5 -$as_echo_n "checking for $ace_def... " >&6; } -if eval \${$as_ac_var+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#if ACE_HAS_BYTESWAP_H -#include -#endif - -#ifdef $ace_def -int ok; -#else -choke me -#endif - -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - eval "$as_ac_var=yes" -else - eval "$as_ac_var=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$as_ac_var - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` != "no"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_def" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -fi -for ace_def in bswap64 -do - -as_ac_var=`$as_echo "ace_cv_defined_$ace_def" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ace_def" >&5 -$as_echo_n "checking for $ace_def... " >&6; } -if eval \${$as_ac_var+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_includes_default -#ifdef $ace_def -int ok; -#else -choke me -#endif - -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - eval "$as_ac_var=yes" -else - eval "$as_ac_var=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$as_ac_var - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` != "no"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_def" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test "$ace_cv_defined_bswap64" = no; then - for ace_def in bswap_64 -do - -as_ac_var=`$as_echo "ace_cv_defined_$ace_def" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ace_def" >&5 -$as_echo_n "checking for $ace_def... " >&6; } -if eval \${$as_ac_var+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#if ACE_HAS_BYTESWAP_H -#include -#endif - -#ifdef $ace_def -int ok; -#else -choke me -#endif - -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - eval "$as_ac_var=yes" -else - eval "$as_ac_var=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$as_ac_var - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` != "no"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_def" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -fi - -for ace_func in chdir -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in clock_gettime clock_settime nanosleep -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in difftime -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in dup -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in dup2 -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -ac_fn_cxx_check_func "$LINENO" "execv" "ac_cv_func_execv" -if test "x$ac_cv_func_execv" = xyes; then : - -fi - -ac_fn_cxx_check_func "$LINENO" "execvp" "ac_cv_func_execvp" -if test "x$ac_cv_func_execvp" = xyes; then : - -fi - -ac_fn_cxx_check_func "$LINENO" "execve" "ac_cv_func_execve" -if test "x$ac_cv_func_execve" = xyes; then : - -fi - -if test "$ac_cv_func_execv" != yes && - test "$ac_cv_func_execvp" != yes && - test "$ac_cv_func_execve" != yes; then - $as_echo "#define ACE_LACKS_EXEC 1" >>confdefs.h - -fi - -for ace_func in fgetwc fcntl fork fsync -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in getcwd -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in gethostent -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in getipnodebyaddr -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in getipnodebyname -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in getifaddrs -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in getegid geteuid getgid -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in setenv unsetenv -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in getopt -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test $ac_cv_func_getopt = yes; then - ac_fn_cxx_check_decl "$LINENO" "getopt" "ac_cv_have_decl_getopt" "#include - #ifndef ACE_LACKS_UNISTD_H - # include - #endif -" -if test "x$ac_cv_have_decl_getopt" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_GETOPT_PROTOTYPE 1" >>confdefs.h - -fi - -fi - -ac_fn_cxx_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" -if test "x$ac_cv_func_getpagesize" = xyes; then : - $as_echo "#define ACE_HAS_GETPAGESIZE 1" >>confdefs.h - -else - $as_echo "#define ACE_PAGE_SIZE 4096" >>confdefs.h - -fi - - -for ace_func in getpid -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in getpgid -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test "$ac_cv_func_getpgid" = yes; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpgid prototype" >&5 -$as_echo_n "checking for getpgid prototype... " >&6; } - if ${ace_cv_lib_has_getpgid_prototype+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ace_save_CPPFLAGS="$CPPFLAGS" - ace_no_xopen="-U_XOPEN_SOURCE -U_XOPEN_SOURCE_EXTENDED" - CPPFLAGS="$CPPFLAGS $ace_no_xopen" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "[^_]+getpgid" >/dev/null 2>&1; then : - - ace_cv_lib_has_getpgid_prototype=yes - -else - - ace_cv_lib_has_getpgid_prototype=no - -fi -rm -f conftest* - - CPPFLAGS="$ace_save_CPPFLAGS" - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_has_getpgid_prototype" >&5 -$as_echo "$ace_cv_lib_has_getpgid_prototype" >&6; } - if test "$ace_cv_lib_has_getpgid_prototype" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_GETPGID_PROTOTYPE 1" >>confdefs.h - - - fi - - -fi - -for ace_func in getppid -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in getprogname -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in getrusage -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test $ac_cv_func_getrusage = yes; then - ac_fn_cxx_check_decl "$LINENO" "getrusage" "ac_cv_have_decl_getrusage" "#include -" -if test "x$ac_cv_have_decl_getrusage" = xyes; then : - -$as_echo "#define ACE_HAS_GETRUSAGE_PROTOTYPE 1" >>confdefs.h - -fi - -fi - -for ace_func in getuid -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in gmtime -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in gmtime_r -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in inet_aton -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in isatty -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -ac_fn_cxx_check_func "$LINENO" "isastream" "ac_cv_func_isastream" -if test "x$ac_cv_func_isastream" = xyes; then : - -fi - -if test $ac_cv_func_isastream = yes; then - ac_fn_cxx_check_decl "$LINENO" "isastream" "ac_cv_have_decl_isastream" "#include -" -if test "x$ac_cv_have_decl_isastream" = xyes; then : - -$as_echo "#define ACE_HAS_ISASTREAM_PROTOTYPE 1" >>confdefs.h - -fi - -fi - -for ace_func in itoa -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -case "$host" in - *UnixWare7*) - ;; - *) - - - - - - - - - - ac_fn_cxx_check_func "$LINENO" "lseek64" "ac_cv_func_lseek64" -if test "x$ac_cv_func_lseek64" = xyes; then : - - $as_echo "#define ACE_HAS_LSEEK64 1" >>confdefs.h - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lseek64 prototype" >&5 -$as_echo_n "checking for lseek64 prototype... " >&6; } - if ${ace_cv_lib_has_lseek64_prototype+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ace_save_CPPFLAGS="$CPPFLAGS" - ace_no_largefile64="-U_LARGEFILE64_SOURCE" - CPPFLAGS="$CPPFLAGS $ace_no_largefile64" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "[^_]+lseek64" >/dev/null 2>&1; then : - - ace_cv_lib_has_lseek64_prototype=yes - -else - - ace_cv_lib_has_lseek64_prototype=no - -fi -rm -f conftest* - - CPPFLAGS="$ace_save_CPPFLAGS" - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_has_lseek64_prototype" >&5 -$as_echo "$ace_cv_lib_has_lseek64_prototype" >&6; } - if test "$ace_cv_lib_has_lseek64_prototype" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_LSEEK64_PROTOTYPE 1" >>confdefs.h - - - fi - - -else - - ac_fn_cxx_check_func "$LINENO" "llseek" "ac_cv_func_llseek" -if test "x$ac_cv_func_llseek" = xyes; then : - - $as_echo "#define ACE_HAS_LLSEEK 1" >>confdefs.h - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llseek prototype" >&5 -$as_echo_n "checking for llseek prototype... " >&6; } - if ${ace_cv_lib_has_llseek_prototype+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ace_save_CPPFLAGS="$CPPFLAGS" - ace_no_largefile64="-U_LARGEFILE64_SOURCE" - CPPFLAGS="$CPPFLAGS $ace_no_largefile64" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "[^_]+llseek" >/dev/null 2>&1; then : - - ace_cv_lib_has_llseek_prototype=no - -else - - ace_cv_lib_has_llseek_prototype=yes - -fi -rm -f conftest* - - CPPFLAGS="$ace_save_CPPFLAGS" - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_has_llseek_prototype" >&5 -$as_echo "$ace_cv_lib_has_llseek_prototype" >&6; } - if test "$ace_cv_lib_has_llseek_prototype" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_LLSEEK_PROTOTYPE 1" >>confdefs.h - - - fi - - - - -fi - - -fi - - - ;; -esac - -for ace_func in kill -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in localtime -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in log2 -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in lstat -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in madvise -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test $ac_cv_func_madvise = yes; then - ac_fn_cxx_check_decl "$LINENO" "madvise" "ac_cv_have_decl_madvise" " -#if !defined(ACE_LACKS_SYS_TYPES_H) -# include -#endif -#include - -" -if test "x$ac_cv_have_decl_madvise" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_MADVISE_PROTOTYPE 1" >>confdefs.h - -fi - -fi - -for ace_func in mkdir -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -if test "$ac_cv_func_mkdir" = yes; then -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for 1- or 2-param mkdir" >&5 -$as_echo_n "checking for 1- or 2-param mkdir... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - const char path[] = "mypath"; - int result = mkdir (path); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - -$as_echo "#define ACE_MKDIR_LACKS_MODE 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: 1" >&5 -$as_echo "1" >&6; } - -else - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2" >&5 -$as_echo "2" >&6; } - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -for ace_func in memchr -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in mkfifo -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in mkstemp -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test $ac_cv_func_mkstemp = yes; then - ac_fn_cxx_check_decl "$LINENO" "mkstemp" "ac_cv_have_decl_mkstemp" "#include -" -if test "x$ac_cv_have_decl_mkstemp" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_MKSTEMP_PROTOTYPE 1" >>confdefs.h - -fi - -fi - -for ace_func in mktemp -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test $ac_cv_func_mktemp = yes; then - ac_fn_cxx_check_decl "$LINENO" "mktemp" "ac_cv_have_decl_mktemp" "#include -" -if test "x$ac_cv_have_decl_mktemp" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_MKTEMP_PROTOTYPE 1" >>confdefs.h - -fi - -fi - -for ace_func in msync mprotect -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in pipe -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in qsort -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in realpath -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in setegid seteuid setgid -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in setpgid -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test "$ac_cv_func_setpgid" = yes; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setpgid prototype" >&5 -$as_echo_n "checking for setpgid prototype... " >&6; } - if ${ace_cv_lib_has_setpgid_prototype+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ace_save_CPPFLAGS="$CPPFLAGS" - ace_no_xopen="-U_XOPEN_SOURCE -U_XOPEN_SOURCE_EXTENDED" - CPPFLAGS="$CPPFLAGS $ace_no_xopen" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "[^_]+setpgid" >/dev/null 2>&1; then : - - ace_cv_lib_has_setpgid_prototype=yes - -else - - ace_cv_lib_has_setpgid_prototype=no - -fi -rm -f conftest* - - CPPFLAGS="$ace_save_CPPFLAGS" - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_has_setpgid_prototype" >&5 -$as_echo "$ace_cv_lib_has_setpgid_prototype" >&6; } - if test "$ace_cv_lib_has_setpgid_prototype" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_SETPGID_PROTOTYPE 1" >>confdefs.h - - - fi - - -fi - -for ace_func in setprogname -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in setregid -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test "$ac_cv_func_setregid" = yes; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setregid prototype" >&5 -$as_echo_n "checking for setregid prototype... " >&6; } - if ${ace_cv_lib_has_setregid_prototype+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ace_save_CPPFLAGS="$CPPFLAGS" - ace_no_xopen="-U_BSD_SOURCE -U_XOPEN_SOURCE -U_XOPEN_SOURCE_EXTENDED" - CPPFLAGS="$CPPFLAGS $ace_no_xopen" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "[^_]+setregid" >/dev/null 2>&1; then : - - ace_cv_lib_has_setregid_prototype=yes - -else - - ace_cv_lib_has_setregid_prototype=no - -fi -rm -f conftest* - - CPPFLAGS="$ace_save_CPPFLAGS" - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_has_setregid_prototype" >&5 -$as_echo "$ace_cv_lib_has_setregid_prototype" >&6; } - if test "$ace_cv_lib_has_setregid_prototype" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_SETREGID_PROTOTYPE 1" >>confdefs.h - - - fi - - -fi - -for ace_func in setreuid -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test "$ac_cv_func_setreuid" = yes; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setreuid prototype" >&5 -$as_echo_n "checking for setreuid prototype... " >&6; } - if ${ace_cv_lib_has_setreuid_prototype+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ace_save_CPPFLAGS="$CPPFLAGS" - ace_no_xopen="-U_BSD_SOURCE -U_XOPEN_SOURCE -U_XOPEN_SOURCE_EXTENDED" - CPPFLAGS="$CPPFLAGS $ace_no_xopen" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "[^_]+setreuid" >/dev/null 2>&1; then : - - ace_cv_lib_has_setreuid_prototype=yes - -else - - ace_cv_lib_has_setreuid_prototype=no - -fi -rm -f conftest* - - CPPFLAGS="$ace_save_CPPFLAGS" - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_has_setreuid_prototype" >&5 -$as_echo "$ace_cv_lib_has_setreuid_prototype" >&6; } - if test "$ace_cv_lib_has_setreuid_prototype" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_SETREUID_PROTOTYPE 1" >>confdefs.h - - - fi - - -fi - -for ace_func in setsid setuid -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in sigaction -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in strnlen -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test "$ac_cv_func_strnlen" = yes; then - ac_fn_cxx_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "#include -" -if test "x$ac_cv_have_decl_strnlen" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_STRNLEN_PROTOTYPE 1" >>confdefs.h - -fi - -fi - -for ace_func in strsignal -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in strchr -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in strerror -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in strftime -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in strpbrk -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in strrchr -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in strspn -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in strtod -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in strtol -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in strtoll -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test $ac_cv_func_strtoll = "no"; then - ac_fn_cxx_check_func "$LINENO" "__strtoll" "ac_cv_func___strtoll" -if test "x$ac_cv_func___strtoll" = xyes; then : - -fi - - if test $ac_cv_func___strtoll = "yes"; then - -$as_echo "#define ACE_STRTOLL_EQUIVALENT ::__strtoll" >>confdefs.h - - else - ac_fn_cxx_check_func "$LINENO" "_strtoi64" "ac_cv_func__strtoi64" -if test "x$ac_cv_func__strtoi64" = xyes; then : - -fi - - if test $ac_cv_func__strtoi64 = "yes"; then - $as_echo "#define ACE_STRTOLL_EQUIVALENT ::_strtoi64" >>confdefs.h - - fi - fi -else - ac_fn_cxx_check_decl "$LINENO" "strtoll" "ac_cv_have_decl_strtoll" "#include -" -if test "x$ac_cv_have_decl_strtoll" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_STRTOLL_PROTOTYPE 1" >>confdefs.h - -fi - -fi - - -for ace_func in strtoul -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in strtoull -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test $ac_cv_func_strtoull = "no"; then - ac_fn_cxx_check_func "$LINENO" "__strtoull" "ac_cv_func___strtoull" -if test "x$ac_cv_func___strtoull" = xyes; then : - -fi - - if test $ac_cv_func___strtoull = "yes"; then - -$as_echo "#define ACE_STRTOULL_EQUIVALENT ::__strtoull" >>confdefs.h - - else - ac_fn_cxx_check_func "$LINENO" "_strtoui64" "ac_cv_func__strtoui64" -if test "x$ac_cv_func__strtoui64" = xyes; then : - -fi - - if test $ac_cv_func__strtoui64 = "yes"; then - $as_echo "#define ACE_STRTOULL_EQUIVALENT ::_strtoui64" >>confdefs.h - - fi - fi -else - ac_fn_cxx_check_decl "$LINENO" "strtoull" "ac_cv_have_decl_strtoull" "#include -" -if test "x$ac_cv_have_decl_strtoull" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_STRTOULL_PROTOTYPE 1" >>confdefs.h - -fi - -fi - - -# swab() comes in a number of forms: -# swab (const void*, void*, size_t) is POSIX, XPG4, SUS, SUSv2 standard. -# swab (const char*, char*, size_t) is SVID third edition. -# swab (char*, char*, size_t) is on some odd platforms like Windows. -# So, if swab() is available, figure out which of the three variants it is. -# The second and third have ACE config settings. -for ace_func in swab -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - -#include -#include - -int -main () -{ - -// If this compiles, we have the POSIX, XPG4, etc. standard. -const char src2 = {'a', 'b'}; -char dst2; -const void *vsrc = src; -void *vdst = dst; -swab (vsrc, vdst, 2); - - ; - return 0; -} - -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - ace_cv_std_swab=yes - -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - -#include -#include - -int -main () -{ - -// If this compiles, we have the SVID3 version, else it's the odd, -// non-const one. -const char src2 = {'a', 'b'}; -char dst2; -swab (src, dst, 2); - - ; - return 0; -} - -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - $as_echo "#define ACE_HAS_CONST_CHAR_SWAB 1" >>confdefs.h - - -else - - $as_echo "#define ACE_HAS_NONCONST_SWAB 1" >>confdefs.h - - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in sysconf -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in sysctl -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - - -for ace_header in sys/sysinfo.h sys/systeminfo.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ace_header" | $as_tr_sh` -ac_fn_cxx_check_header_mongrel "$LINENO" "$ace_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - -ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo" -if test "x$ac_cv_func_sysinfo" = xyes; then : - -fi - -if test "$ac_cv_func_sysinfo" = yes; then - if test "$ac_cv_header_sys_systeminfo_h" = yes; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -char buf256; - sysinfo (SI_SYSNAME, buf, sizeof(buf)); - return 0; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - -$as_echo "#define ACE_HAS_SYSV_SYSINFO 1" >>confdefs.h - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - elif test "$ac_cv_header_sys_sysinfo_h" = yes; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -struct sysinfo s; - sysinfo (&s); - return 0; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - -$as_echo "#define ACE_HAS_LINUX_SYSINFO 1" >>confdefs.h - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi -fi - - -for ace_func in system -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -ac_fn_cxx_check_func "$LINENO" "getmsg" "ac_cv_func_getmsg" -if test "x$ac_cv_func_getmsg" = xyes; then : - - if test "$cross_compiling" = yes; then : - - $as_echo "#define ACE_HAS_STREAM_PIPES 1" >>confdefs.h - - -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_UNISTD_H -# include -#endif /* !ACE_LACKS_UNISTD_H */ - -#ifndef ACE_LACKS_SYS_IOCTL_H -# include -#endif /* ACE_LACKS_SYS_IOCTL_H */ - -#ifdef ACE_HAS_STREAMS -# include -#endif /* ACE_HAS_STREAMS */ - -int -main () -{ - int fds[2]; - - if (pipe (fds) != 0) - return -1; - -/* - * Verify that we can actually set a STREAM option that ACE uses. - * This is particularly necessary for platforms where compiling and - * linking succeed but fail at run-time due to a missing actual - * STREAMS implementation. For example, Linux/glibc requires a - * STREAMS patch/add-on. - */ - - int arg = RMSGN; - - if (ioctl (fds[0], I_SRDOPT, (void *) arg) != 0) - return -1; - - return 0; -} - -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - - $as_echo "#define ACE_HAS_STREAM_PIPES 1" >>confdefs.h - - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - -fi - - -ac_fn_cxx_check_func "$LINENO" "gethostbyaddr" "ac_cv_func_gethostbyaddr" -if test "x$ac_cv_func_gethostbyaddr" = xyes; then : - -fi - - -if test "$cross_compiling" != yes; then -case "$host" in - *linux*) - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll_create" >&5 -$as_echo_n "checking for epoll_create... " >&6; } - if ${ace_cv_linux_event_poll+:} false; then : - $as_echo_n "(cached) " >&6 -else - - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - -#include - -int -main () -{ - -int const ACE_NUM_DESCRIPTORS = 10; -return epoll_create (ACE_NUM_DESCRIPTORS) == -1 ? -1 : 0; - - ; - return 0; -} - -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - - ace_cv_linux_event_poll=yes - -else - - ace_cv_linux_event_poll=no - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_linux_event_poll" >&5 -$as_echo "$ace_cv_linux_event_poll" >&6; } - if test "$ace_cv_linux_event_poll" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_HAS_EVENT_POLL 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - fi - - ;; - *) - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - -#include -#include - -int -main () -{ - int fd = open ("/dev/poll", O_RDWR); - close (fd); - return fd == -1 ? -1 : 0; -} - -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - - $as_echo "#define ACE_HAS_DEV_POLL 1" >>confdefs.h - - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - ;; -esac -fi - -ac_fn_cxx_check_func "$LINENO" "gethrtime" "ac_cv_func_gethrtime" -if test "x$ac_cv_func_gethrtime" = xyes; then : - -fi - -if test $ac_cv_func_gethrtime = "yes"; then - ac_fn_cxx_check_type "$LINENO" "hrtime_t" "ac_cv_type_hrtime_t" "#include -" -if test "x$ac_cv_type_hrtime_t" = xyes; then : - -$as_echo "#define ACE_HAS_HI_RES_TIMER 1" >>confdefs.h - -fi - -fi - -for ace_func in readv writev -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in set_t_errno -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in sigsuspend sigtimedwait -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in socketpair -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -ac_fn_cxx_check_func "$LINENO" "strptime" "ac_cv_func_strptime" -if test "x$ac_cv_func_strptime" = xyes; then : - -fi - -if test "$ac_cv_func_strptime" = yes; then - ace_save_CPPFLAGS="$CPPFLAGS" - ace_no_xopen="-U_XOPEN_SOURCE" - CPPFLAGS="$CPPFLAGS $ace_no_xopen" - ac_fn_cxx_check_decl "$LINENO" "strptime" "ac_cv_have_decl_strptime" "#include -" -if test "x$ac_cv_have_decl_strptime" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_STRPTIME_PROTOTYPE 1" >>confdefs.h - -fi - - CPPFLAGS="$ace_save_CPPFLAGS" -else - -$as_echo "#define ACE_LACKS_STRPTIME 1" >>confdefs.h - -fi - -if test "$ac_cv_type_wchar_t" = yes; then - ac_fn_cxx_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen" -if test "x$ac_cv_func_wcslen" = xyes; then : - $as_echo "#define ACE_HAS_XPG4_MULTIBYTE_CHAR 1" >>confdefs.h - -fi - -fi - -for ace_func in syscall -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -ac_fn_cxx_check_func "$LINENO" "alarm" "ac_cv_func_alarm" -if test "x$ac_cv_func_alarm" = xyes; then : - -fi - -ac_fn_cxx_check_func "$LINENO" "signal" "ac_cv_func_signal" -if test "x$ac_cv_func_signal" = xyes; then : - -fi - - -if test "$ac_cv_func_alarm" != yes && - test "$ac_cv_func_signal" != yes; then - $as_echo "#define ACE_LACKS_UNIX_SIGNALS 1" >>confdefs.h - -fi - -ac_fn_cxx_check_func "$LINENO" "getrlimit" "ac_cv_func_getrlimit" -if test "x$ac_cv_func_getrlimit" = xyes; then : - -fi - -ac_fn_cxx_check_func "$LINENO" "setrlimit" "ac_cv_func_setrlimit" -if test "x$ac_cv_func_setrlimit" = xyes; then : - -fi - -if test "$ac_cv_func_getrlimit" != yes || - test "$ac_cv_func_setrlimit" != yes; then - $as_echo "#define ACE_LACKS_RLIMIT 1" >>confdefs.h - -fi - -for ace_func in readlink rename recvmsg sendmsg -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -if test "$ac_cv_header_sys_priocntl_h" = yes; then - ac_fn_cxx_check_func "$LINENO" "priocntl" "ac_cv_func_priocntl" -if test "x$ac_cv_func_priocntl" = xyes; then : - $as_echo "#define ACE_HAS_PRIOCNTL 1" >>confdefs.h - -fi - - - if test "$ac_cv_func_priocntl" = no; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for priocntl macro" >&5 -$as_echo_n "checking for priocntl macro... " >&6; } - if ${ace_cv_lib_has_priocntl_macro+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -#if defined (priocntl) - ACE_PRIOCNTL_MACRO -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "ACE_PRIOCNTL_MACRO" >/dev/null 2>&1; then : - - ace_cv_lib_has_priocntl_macro=yes - -else - - ace_cv_lib_has_priocntl_macro=no - -fi -rm -f conftest* - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_has_priocntl_macro" >&5 -$as_echo "$ace_cv_lib_has_priocntl_macro" >&6; } - if test "$ace_cv_lib_has_priocntl_macro" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_PRIOCNTL 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - fi fi -for ace_func in sbrk -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in ualarm -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test $ac_cv_func_ualarm = yes; then - ac_fn_cxx_check_decl "$LINENO" "ualarm" "ac_cv_have_decl_ualarm" "#include -" -if test "x$ac_cv_have_decl_ualarm" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_UALARM_PROTOTYPE 1" >>confdefs.h - -fi - -fi - -for ace_func in umask -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in uname -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in unlink -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in vasprintf vaswprintf vfwprintf vswprintf -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in wcsnlen -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in fgetws fputws isblank iswblank isctype iswctype itow towlower towupper wcscat wcschr wcscmp wcscpy wcscspn wcslen wcsncat wcsncmp wcsncpy wcsnicmp wcspbrk wcsrchr wcsspn wcsstr wcstod -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in wcstok -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test "$ac_cv_func_wcstok" = yes; then -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for 2- or 3-param wcstok" >&5 -$as_echo_n "checking for 2- or 3-param wcstok... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - wchar_t str[] = L"junk"; - const wchar_t delim[] = L"\t\n"; - wchar_t *ptr; - wchar_t *p = wcstok (str, delim, &ptr); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - -$as_echo "#define ACE_HAS_3_PARAM_WCSTOK 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: 3" >&5 -$as_echo "3" >&6; } - -else - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2" >&5 -$as_echo "2" >&6; } - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -for ace_func in wcstol -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in wcstoll -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test $ac_cv_func_wcstoll = "no"; then - ac_fn_cxx_check_func "$LINENO" "__wcstoll" "ac_cv_func___wcstoll" -if test "x$ac_cv_func___wcstoll" = xyes; then : - -fi - - if test $ac_cv_func___wcstoll = "yes"; then - -$as_echo "#define ACE_WCSTOLL_EQUIVALENT ::__wcstoll" >>confdefs.h - - else - ac_fn_cxx_check_func "$LINENO" "_wcstoi64" "ac_cv_func__wcstoi64" -if test "x$ac_cv_func__wcstoi64" = xyes; then : - -fi - - if test $ac_cv_func__wcstoi64 = "yes"; then - -$as_echo "#define ACE_WCSTOLL_EQUIVALENT ::_wcstoi64" >>confdefs.h - - fi - fi -else - ac_fn_cxx_check_decl "$LINENO" "wcstoll" "ac_cv_have_decl_wcstoll" "#include -#include -" -if test "x$ac_cv_have_decl_wcstoll" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_WCSTOLL_PROTOTYPE 1" >>confdefs.h - -fi - -fi - - -for ace_func in wcstoul -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in wcstoull -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test $ac_cv_func_wcstoull = "no"; then - ac_fn_cxx_check_func "$LINENO" "__wcstoull" "ac_cv_func___wcstoull" -if test "x$ac_cv_func___wcstoull" = xyes; then : - -fi - - if test $ac_cv_func___wcstoull = "yes"; then - -$as_echo "#define ACE_WCSTOULL_EQUIVALENT ::__wcstoull" >>confdefs.h - - else - ac_fn_cxx_check_func "$LINENO" "_wcstoui64" "ac_cv_func__wcstoui64" -if test "x$ac_cv_func__wcstoui64" = xyes; then : - -fi - - if test $ac_cv_func__wcstoui64 = "yes"; then - -$as_echo "#define ACE_WCSTOULL_EQUIVALENT ::_wcstoui64" >>confdefs.h - - fi - fi -else - ac_fn_cxx_check_decl "$LINENO" "wcstoull" "ac_cv_have_decl_wcstoull" "#include -#include -" -if test "x$ac_cv_have_decl_wcstoull" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_WCSTOULL_PROTOTYPE 1" >>confdefs.h - -fi - -fi - - -if test "$ac_cv_header_sys_msg_h" = yes; then - ac_fn_cxx_check_func "$LINENO" "msgctl" "ac_cv_func_msgctl" -if test "x$ac_cv_func_msgctl" = xyes; then : - -fi - - - ac_fn_cxx_check_func "$LINENO" "msgget" "ac_cv_func_msgget" -if test "x$ac_cv_func_msgget" = xyes; then : - -fi - - - ac_fn_cxx_check_func "$LINENO" "msgrcv" "ac_cv_func_msgrcv" -if test "x$ac_cv_func_msgrcv" = xyes; then : - -fi - -fi -if test "$ac_cv_header_sys_sem_h" = yes; then - ac_fn_cxx_check_func "$LINENO" "semctl" "ac_cv_func_semctl" -if test "x$ac_cv_func_semctl" = xyes; then : - -fi - - - ac_fn_cxx_check_func "$LINENO" "semget" "ac_cv_func_semget" -if test "x$ac_cv_func_semget" = xyes; then : - -fi - - - ac_fn_cxx_check_func "$LINENO" "semop" "ac_cv_func_semop" -if test "x$ac_cv_func_semop" = xyes; then : - -fi - -fi -if test "$ac_cv_header_sys_shm_h" = yes; then - ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat" -if test "x$ac_cv_func_shmat" = xyes; then : - -fi - - - ac_fn_cxx_check_func "$LINENO" "shmctl" "ac_cv_func_shmctl" -if test "x$ac_cv_func_shmctl" = xyes; then : - -fi - - - ac_fn_cxx_check_func "$LINENO" "shmdt" "ac_cv_func_shmdt" -if test "x$ac_cv_func_shmdt" = xyes; then : - -fi - - - ac_fn_cxx_check_func "$LINENO" "shmget" "ac_cv_func_shmget" -if test "x$ac_cv_func_shmget" = xyes; then : - -fi - -fi - -ac_fn_cxx_check_func "$LINENO" "read_real_time" "ac_cv_func_read_real_time" -if test "x$ac_cv_func_read_real_time" = xyes; then : - $as_echo "#define ACE_HAS_AIX_HI_RES_TIMER 1" >>confdefs.h - -fi - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open" >&5 -$as_echo_n "checking for shm_open... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include -#include - -int -main () -{ - - const char name[] = "Foo"; - const int oflag = O_RDONLY; - const mode_t mode = 0400; /* Whatever */ - const int fd = shm_open (name, oflag, mode); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - $as_echo "#define ACE_HAS_SHM_OPEN 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if shm_open requires one slash" >&5 -$as_echo_n "checking if shm_open requires one slash... " >&6; } - if ${ace_cv_shm_open_requires_one_slash+:} false; then : - $as_echo_n "(cached) " >&6 -else - - if test "$cross_compiling" = yes; then : - - ace_cv_shm_open_requires_one_slash=no - -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include -#include -#include - -int main (int argc, char *argv[]) -{ - const char name[] = "ACE_Foo"; - const char name2[] = "/ACE_Foo"; - const int oflag = O_RDWR | O_CREAT; - const mode_t mode = 0400; /* Whatever */ - int fd = shm_open (name, oflag, mode); - if (fd != -1) - { - close (fd); - shm_unlink (name); - return 1; /* Don't need the slash */ - } - fd = shm_open (name2, oflag, mode); - if (fd != -1) - { - close (fd); - shm_unlink (name2); - return 0; - } - return 1; /* Nothing worked, so say 'no' */ -} - -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - - ace_cv_shm_open_requires_one_slash=yes - -else - - ace_cv_shm_open_requires_one_slash=no - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_shm_open_requires_one_slash" >&5 -$as_echo "$ace_cv_shm_open_requires_one_slash" >&6; } - if test "$ace_cv_shm_open_requires_one_slash" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_SHM_OPEN_REQUIRES_ONE_SLASH 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - -else - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - - -for ace_func in vsnprintf -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -for ace_func in tempnam truncate -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) { eval $ac_var=; unset $ac_var;} ;; - esac ;; - esac - done - - (set) 2>&1 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes: double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \. - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; #( - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) | - sed ' - /^ac_cv_env_/b end - t clear - :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - :end' >>confcache -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else - if test -w "$cache_file"; then - if test "x$cache_file" != "x/dev/null"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} - if test ! -f "$cache_file" || test -h "$cache_file"; then - cat confcache >"$cache_file" - else - case $cache_file in #( - */* | ?:*) - mv -f confcache "$cache_file"$$ && - mv -f "$cache_file"$$ "$cache_file" ;; #( - *) - mv -f confcache "$cache_file" ;; - esac - fi - fi - else - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} - fi -fi -rm -f confcache - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sem_init" >&5 -$as_echo_n "checking for library containing sem_init... " >&6; } -if ${ac_cv_search_sem_init+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 sem_init (); -int -main () -{ -return sem_init (); - ; - return 0; -} -_ACEOF -for ac_lib in '' rt; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_search_sem_init=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_sem_init+:} false; then : - break -fi -done -if ${ac_cv_search_sem_init+:} false; then : - -else - ac_cv_search_sem_init=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sem_init" >&5 -$as_echo "$ac_cv_search_sem_init" >&6; } -ac_res=$ac_cv_search_sem_init -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - ace_cv_func_sem_init=yes -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sem_destroy" >&5 -$as_echo_n "checking for library containing sem_destroy... " >&6; } -if ${ac_cv_search_sem_destroy+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 sem_destroy (); -int -main () -{ -return sem_destroy (); - ; - return 0; -} -_ACEOF -for ac_lib in '' rt; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_search_sem_destroy=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_sem_destroy+:} false; then : - break -fi -done -if ${ac_cv_search_sem_destroy+:} false; then : - -else - ac_cv_search_sem_destroy=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sem_destroy" >&5 -$as_echo "$ac_cv_search_sem_destroy" >&6; } -ac_res=$ac_cv_search_sem_destroy -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - ace_cv_func_sem_destroy=yes -fi - - -if test "$ace_cv_func_sem_init" = yes && - test "$ace_cv_func_sem_destroy" = yes && - test "$ac_cv_type_sem_t" = yes; then - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef _REENTRANT -#define _REENTRANT -#endif - -#ifndef _THREAD_SAFE -#define _THREAD_SAFE -#endif - -#ifndef ACE_LACKS_UNISTD_H -# include /* needed for _POSIX_THREAD_PROCESS_SHARED */ -#endif - -#include -#include - -#if defined (_POSIX_THREAD_PROCESS_SHARED) -WE_HAVE_SHARED_POSIX_SEMAPHORES -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "WE_HAVE_SHARED_POSIX_SEMAPHORES" >/dev/null 2>&1; then : - - $as_echo "#define ACE_HAS_POSIX_SEM 1" >>confdefs.h - - - ac_fn_cxx_check_func "$LINENO" "sem_open" "ac_cv_func_sem_open" -if test "x$ac_cv_func_sem_open" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "sem_close" "ac_cv_func_sem_close" -if test "x$ac_cv_func_sem_close" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "sem_unlink" "ac_cv_func_sem_unlink" -if test "x$ac_cv_func_sem_unlink" = xyes; then : - -fi - - if test "$ac_cv_func_sem_open" = no || - test "$ac_cv_func_sem_close" = no || - test "$ac_cv_func_sem_unlink" = no; then - - $as_echo "#define ACE_LACKS_NAMED_POSIX_SEM 1" >>confdefs.h - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sem_open works" >&5 -$as_echo_n "checking if sem_open works... " >&6; } - if ${ace_cv_sem_open_works+:} false; then : - $as_echo_n "(cached) " >&6 -else - - if test "$cross_compiling" = yes; then : - - ace_cv_sem_open_works=yes - -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -#include -#endif - -#include -#include - -#include /* for definition of "NULL" */ - -#include - -#ifndef SEM_FAILED -# define SEM_FAILED ((sem_t *) -1) -#endif - -int -main () -{ - sem_t *s = 0; - - s = sem_open ("ace_semaphore_foo", O_CREAT | O_EXCL, 0600, 1); - if (s == SEM_FAILED) - return -1; /* FAILURE */ - - sem_unlink ("ace_semaphore_foo"); - if (sem_close (s) != 0) - return -1; /* Something went wrong! */ - - return 0; -} - -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - - ace_cv_sem_open_works=yes - -else - - ace_cv_sem_open_works=no - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_sem_open_works" >&5 -$as_echo "$ace_cv_sem_open_works" >&6; } - if test "$ace_cv_sem_open_works" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_NAMED_POSIX_SEM 1" >>confdefs.h - - - fi - - fi - -fi -rm -f conftest* - - -fi -if test "$ac_cv_func_sem_open" = yes && - test "$ac_cv_func_sem_close" = yes && - test "$ac_cv_func_sem_unlink" = yes; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sem_timedwait works" >&5 -$as_echo_n "checking if sem_timedwait works... " >&6; } - if ${ace_cv_sem_timedwait_works+:} false; then : - $as_echo_n "(cached) " >&6 -else - - if test "$cross_compiling" = yes; then : - - ace_cv_sem_timedwait_works=yes - -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -#include -#endif - -#include -#include -#include -#include /* for definition of "NULL" */ -#if !defined (ACE_LACKS_ERRNO_H) -# include -#endif -#include - -#ifndef SEM_FAILED -# define SEM_FAILED ((sem_t *) -1) -#endif - -int -main () -{ - sem_t *s = 0; - struct timespec tmo; - int status = 0; - s = sem_open ("ace_semaphore_foo", O_CREAT, 0600, 1); - if (s == SEM_FAILED) - return -1; /* FAILURE */ - - /* Don't care about the time, only whether the call works */ - tmo.tv_sec = 0; - tmo.tv_nsec = 0; - if (sem_timedwait (s, &tmo) == -1) - { - if (errno == ENOTSUP) - status = -1; - } - else - sem_post (s); - - sem_unlink ("ace_semaphore_foo"); - sem_close (s); - - return status; -} - -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - - ace_cv_sem_timedwait_works=yes - -else - - ace_cv_sem_timedwait_works=no - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_sem_timedwait_works" >&5 -$as_echo "$ace_cv_sem_timedwait_works" >&6; } - if test "$ace_cv_sem_timedwait_works" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_POSIX_SEM_TIMEOUT 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - -fi - - - -if test "$ace_user_enable_threads" = yes; then - - if test "$ace_has_pthreads" = yes; then - - for ace_func in pthread_sigmask -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - if test $ac_cv_func_pthread_sigmask = yes; then - ac_fn_cxx_check_decl "$LINENO" "pthread_sigmask" "ac_cv_have_decl_pthread_sigmask" "#include - #include -" -if test "x$ac_cv_have_decl_pthread_sigmask" = xyes; then : - -$as_echo "#define ACE_HAS_PTHREAD_SIGMASK_PROTOTYPE 1" >>confdefs.h - -fi - - fi - - ac_fn_cxx_check_func "$LINENO" "pthread_key_create" "ac_cv_func_pthread_key_create" -if test "x$ac_cv_func_pthread_key_create" = xyes; then : - $as_echo "#define ACE_HAS_THREAD_SPECIFIC_STORAGE 1" >>confdefs.h - -else - - ac_fn_cxx_check_func "$LINENO" "pthread_keycreate" "ac_cv_func_pthread_keycreate" -if test "x$ac_cv_func_pthread_keycreate" = xyes; then : - $as_echo "#define ACE_HAS_THREAD_SPECIFIC_STORAGE 1" >>confdefs.h - -else - $as_echo "#define ACE_HAS_TSS_EMULATION 1" >>confdefs.h - -fi - - -fi - - - for ace_func in pthread_condattr_setkind_np -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - for ace_func in pthread_mutexattr_setkind_np -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - - ac_fn_cxx_check_func "$LINENO" "pthread_condattr_setpshared" "ac_cv_func_pthread_condattr_setpshared" -if test "x$ac_cv_func_pthread_condattr_setpshared" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_CONDATTR_PSHARED 1" >>confdefs.h - -fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_setstack" >&5 -$as_echo_n "checking for pthread_attr_setstack... " >&6; } - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - pthread_attr_t attr; - void *stack; - size_t size; - pthread_attr_setstack (&attr, stack, size); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - -else - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - $as_echo "#define ACE_LACKS_PTHREAD_ATTR_SETSTACK 1" >>confdefs.h - - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - - for ace_func in pthread_attr_setstackaddr -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - for ace_func in pthread_attr_setstacksize -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - - - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - ace_header_exists=yes -else - ace_header_exists=no -fi -rm -f conftest.err conftest.i conftest.$ac_ext - - cat > conftest.$ac_ext < - ACE_REAL_FUNCTION pthread_cancel - -EOF - - if test "$ace_header_exists" = yes; then - if test -z "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No awk program found. Real pthread_cancel function may not be found." >&5 -$as_echo "$as_me: WARNING: No awk program found. Real pthread_cancel function may not be found." >&2;} - fi - - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "ACE_REAL_FUNCTION" | - (eval "$AWK '{print \$2}' > conftest.awk 2>&1"); then - rm -f conftest.$ac_ext - ace_real_function=`cat conftest.awk` - rm -f conftest.awk - fi - - if test pthread_cancel != "$ace_real_function"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for real pthread_cancel from pthread.h" >&5 -$as_echo_n "checking for real pthread_cancel from pthread.h... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_real_function" >&5 -$as_echo "$ace_real_function" >&6; } - fi - else - ace_real_function=pthread_cancel - fi - as_ac_var=`$as_echo "ac_cv_func_$ace_real_function" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_real_function" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - - - ace_save_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $ACE_THR_CPPFLAGS" - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "pthread_cancel" >/dev/null 2>&1; then : - -else - - $as_echo "#define ACE_LACKS_PTHREAD_CANCEL 1" >>confdefs.h - - -fi -rm -f conftest* - - - CPPFLAGS="$ace_save_CPPFLAGS" - -else - - $as_echo "#define ACE_LACKS_PTHREAD_CANCEL 1" >>confdefs.h - - -fi - - - - for ace_func in pthread_yield -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - for ace_func in pthread_thr_sigsetmask -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - - ac_fn_cxx_check_func "$LINENO" "pthread_attr_setdetachstate" "ac_cv_func_pthread_attr_setdetachstate" -if test "x$ac_cv_func_pthread_attr_setdetachstate" = xyes; then : - -else - $as_echo "#define ACE_LACKS_SETDETACH 1" >>confdefs.h - -fi - - - ac_fn_cxx_check_func "$LINENO" "sched_setscheduler" "ac_cv_func_sched_setscheduler" -if test "x$ac_cv_func_sched_setscheduler" = xyes; then : - - ac_fn_cxx_check_func "$LINENO" "pthread_attr_setschedpolicy" "ac_cv_func_pthread_attr_setschedpolicy" -if test "x$ac_cv_func_pthread_attr_setschedpolicy" = xyes; then : - -else - ac_fn_cxx_check_func "$LINENO" "pthread_attr_setsched" "ac_cv_func_pthread_attr_setsched" -if test "x$ac_cv_func_pthread_attr_setsched" = xyes; then : - -else - $as_echo "#define ACE_LACKS_SETSCHED 1" >>confdefs.h - -fi - -fi - - -else - - $as_echo "#define ACE_LACKS_SETSCHED 1" >>confdefs.h - - -fi - - - ac_fn_cxx_check_func "$LINENO" "pthread_attr_setscope" "ac_cv_func_pthread_attr_setscope" -if test "x$ac_cv_func_pthread_attr_setscope" = xyes; then : - -else - $as_echo "#define ACE_LACKS_THREAD_PROCESS_SCOPING 1" >>confdefs.h - -fi - - - ac_fn_cxx_check_func "$LINENO" "pthread_mutexattr_setpshared" "ac_cv_func_pthread_mutexattr_setpshared" -if test "x$ac_cv_func_pthread_mutexattr_setpshared" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_MUTEXATTR_PSHARED 1" >>confdefs.h - -fi - - - ac_fn_cxx_check_func "$LINENO" "pthread_mutexattr_create" "ac_cv_func_pthread_mutexattr_create" -if test "x$ac_cv_func_pthread_mutexattr_create" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_mutexattr_delete" "ac_cv_func_pthread_mutexattr_delete" -if test "x$ac_cv_func_pthread_mutexattr_delete" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_condattr_delete" "ac_cv_func_pthread_condattr_delete" -if test "x$ac_cv_func_pthread_condattr_delete" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_condattr_create" "ac_cv_func_pthread_condattr_create" -if test "x$ac_cv_func_pthread_condattr_create" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_setprio" "ac_cv_func_pthread_setprio" -if test "x$ac_cv_func_pthread_setprio" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_getprio" "ac_cv_func_pthread_getprio" -if test "x$ac_cv_func_pthread_getprio" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_setcancel" "ac_cv_func_pthread_setcancel" -if test "x$ac_cv_func_pthread_setcancel" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_setasynccancel" "ac_cv_func_pthread_setasynccancel" -if test "x$ac_cv_func_pthread_setasynccancel" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_kill" "ac_cv_func_pthread_kill" -if test "x$ac_cv_func_pthread_kill" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_attr_setprio" "ac_cv_func_pthread_attr_setprio" -if test "x$ac_cv_func_pthread_attr_setprio" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_attr_getprio" "ac_cv_func_pthread_attr_getprio" -if test "x$ac_cv_func_pthread_attr_getprio" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_setintr" "ac_cv_func_pthread_setintr" -if test "x$ac_cv_func_pthread_setintr" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_setintrtype" "ac_cv_func_pthread_setintrtype" -if test "x$ac_cv_func_pthread_setintrtype" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_mutexattr_init" "ac_cv_func_pthread_mutexattr_init" -if test "x$ac_cv_func_pthread_mutexattr_init" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_mutexattr_destroy" "ac_cv_func_pthread_mutexattr_destroy" -if test "x$ac_cv_func_pthread_mutexattr_destroy" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_condattr_init" "ac_cv_func_pthread_condattr_init" -if test "x$ac_cv_func_pthread_condattr_init" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_condattr_destroy" "ac_cv_func_pthread_condattr_destroy" -if test "x$ac_cv_func_pthread_condattr_destroy" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_setschedparam" "ac_cv_func_pthread_setschedparam" -if test "x$ac_cv_func_pthread_setschedparam" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_getschedparam" "ac_cv_func_pthread_getschedparam" -if test "x$ac_cv_func_pthread_getschedparam" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_setcancelstate" "ac_cv_func_pthread_setcancelstate" -if test "x$ac_cv_func_pthread_setcancelstate" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_setcanceltype" "ac_cv_func_pthread_setcanceltype" -if test "x$ac_cv_func_pthread_setcanceltype" = xyes; then : - -fi - - - ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" " -#ifndef ACE_LACKS_SYS_TYPES_H -#include -#endif -#include -" -if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then : - -fi - - - ac_fn_cxx_check_type "$LINENO" "pthread_rwlockattr_t" "ac_cv_type_pthread_rwlockattr_t" " -#ifndef ACE_LACKS_SYS_TYPES_H -#include -#endif -#include -" -if test "x$ac_cv_type_pthread_rwlockattr_t" = xyes; then : - -fi - - - for ace_func in pthread_continue pthread_continue_np pthread_resume_np pthread_suspend pthread_suspend_np -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - for ace_func in pthread_getconcurrency pthread_setconcurrency -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - for ace_func in pthread_attr_setcreatesuspend_np -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -if test "$ac_cv_type_cpu_set_t" = yes; then - for ace_func in pthread_getaffinity_np pthread_setaffinity_np -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -fi - - -if test "$ac_cv_type_cpu_set_t" = yes; then - - for ace_func in sched_getaffinity -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test "$ac_cv_func_sched_getaffinity" = yes; then -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for 2- or 3-param sched_getaffinity" >&5 -$as_echo_n "checking for 2- or 3-param sched_getaffinity... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#if !defined(ACE_LACKS_SYS_TYPES_H) -#include -#endif -#if !defined(ACE_LACKS_SCHED_H) -#include -#endif - -int -main () -{ - - pid_t pid; - cpu_set_t cpuset; - sched_getaffinity(pid, sizeof(cpuset), &cpuset); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: 3" >&5 -$as_echo "3" >&6; } - -else - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2" >&5 -$as_echo "2" >&6; } - -$as_echo "#define ACE_HAS_2_PARAM_SCHED_GETAFFINITY 1" >>confdefs.h - - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi - for ace_func in sched_setaffinity -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test "$ac_cv_func_sched_setaffinity" = yes; then -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for 2- or 3-param sched_setaffinity" >&5 -$as_echo_n "checking for 2- or 3-param sched_setaffinity... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#if !defined(ACE_LACKS_SYS_TYPES_H) -#include -#endif -#if !defined(ACE_LACKS_SCHED_H) -#include -#endif - -int -main () -{ - - pid_t pid; - cpu_set_t cpuset; - sched_setaffinity(pid, sizeof(cpuset), &cpuset); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: 3" >&5 -$as_echo "3" >&6; } - -else - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2" >&5 -$as_echo "2" >&6; } - -$as_echo "#define ACE_HAS_2_PARAM_SCHED_SETAFFINITY 1" >>confdefs.h - - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -fi - ac_fn_cxx_check_func "$LINENO" "pthread_rwlock_init" "ac_cv_func_pthread_rwlock_init" -if test "x$ac_cv_func_pthread_rwlock_init" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_rwlock_destroy" "ac_cv_func_pthread_rwlock_destroy" -if test "x$ac_cv_func_pthread_rwlock_destroy" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_rwlock_rdlock" "ac_cv_func_pthread_rwlock_rdlock" -if test "x$ac_cv_func_pthread_rwlock_rdlock" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_rwlock_wrlock" "ac_cv_func_pthread_rwlock_wrlock" -if test "x$ac_cv_func_pthread_rwlock_wrlock" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_rwlock_unlock" "ac_cv_func_pthread_rwlock_unlock" -if test "x$ac_cv_func_pthread_rwlock_unlock" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_rwlock_tryrdlock" "ac_cv_func_pthread_rwlock_tryrdlock" -if test "x$ac_cv_func_pthread_rwlock_tryrdlock" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_rwlock_trywrlock" "ac_cv_func_pthread_rwlock_trywrlock" -if test "x$ac_cv_func_pthread_rwlock_trywrlock" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_rwlockattr_init" "ac_cv_func_pthread_rwlockattr_init" -if test "x$ac_cv_func_pthread_rwlockattr_init" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_rwlockattr_destroy" "ac_cv_func_pthread_rwlockattr_destroy" -if test "x$ac_cv_func_pthread_rwlockattr_destroy" = xyes; then : - -fi - - ac_fn_cxx_check_func "$LINENO" "pthread_rwlockattr_setpshared" "ac_cv_func_pthread_rwlockattr_setpshared" -if test "x$ac_cv_func_pthread_rwlockattr_setpshared" = xyes; then : - -else - -$as_echo "#define ACE_LACKS_RWLOCKATTR_PSHARED 1" >>confdefs.h - -fi - - - if test "$ac_cv_type_pthread_rwlock_t" = yes && - test "$ac_cv_type_pthread_rwlockattr_t" = yes && - test "$ac_cv_func_pthread_rwlock_init" = yes && - test "$ac_cv_func_pthread_rwlock_destroy" = yes && - test "$ac_cv_func_pthread_rwlock_rdlock" = yes && - test "$ac_cv_func_pthread_rwlock_wrlock" = yes && - test "$ac_cv_func_pthread_rwlock_unlock" = yes && - test "$ac_cv_func_pthread_rwlock_tryrdlock" = yes && - test "$ac_cv_func_pthread_rwlock_trywrlock" = yes && - test "$ac_cv_func_pthread_rwlockattr_init" = yes && - test "$ac_cv_func_pthread_rwlockattr_destroy" = yes; then - $as_echo "#define ACE_HAS_PTHREADS_UNIX98_EXT 1" >>confdefs.h - - fi - - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - ace_header_exists=yes -else - ace_header_exists=no -fi -rm -f conftest.err conftest.i conftest.$ac_ext - - cat > conftest.$ac_ext < - ACE_REAL_FUNCTION pthread_self - -EOF - - if test "$ace_header_exists" = yes; then - if test -z "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No awk program found. Real pthread_self function may not be found." >&5 -$as_echo "$as_me: WARNING: No awk program found. Real pthread_self function may not be found." >&2;} - fi - - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "ACE_REAL_FUNCTION" | - (eval "$AWK '{print \$2}' > conftest.awk 2>&1"); then - rm -f conftest.$ac_ext - ace_real_function=`cat conftest.awk` - rm -f conftest.awk - fi - - if test pthread_self != "$ace_real_function"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for real pthread_self from pthread.h" >&5 -$as_echo_n "checking for real pthread_self from pthread.h... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_real_function" >&5 -$as_echo "$ace_real_function" >&6; } - fi - else - ace_real_function=pthread_self - fi - as_ac_var=`$as_echo "ac_cv_func_$ace_real_function" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_real_function" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - - ac_fn_cxx_check_func "$LINENO" "thread_self" "ac_cv_func_thread_self" -if test "x$ac_cv_func_thread_self" = xyes; then : - - $as_echo "#define ACE_HAS_THREAD_SELF 1" >>confdefs.h - - -fi - - -fi - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PROCESS_* enumeration in pthread.h" >&5 -$as_echo_n "checking for PTHREAD_PROCESS_* enumeration in pthread.h... " >&6; } - if ${ace_cv_lib_pthread_process_enum+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - -/* Undefine PTHREAD_PROCESS_SHARED in case some platforms #define it */ -#undef PTHREAD_PROCESS_SHARED -int foo = PTHREAD_PROCESS_SHARED; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_pthread_process_enum=yes - -else - - ace_cv_lib_pthread_process_enum=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_pthread_process_enum" >&5 -$as_echo "$ace_cv_lib_pthread_process_enum" >&6; } - if test "$ace_cv_lib_pthread_process_enum" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_HAS_PTHREAD_PROCESS_ENUM 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - fi - - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_create requires an extern \"C\" start routine" >&5 -$as_echo_n "checking if pthread_create requires an extern \"C\" start routine... " >&6; } - if ${ace_cv_lib_pthread_c_func+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -void *ace_start_routine(void *); - -int -main () -{ - -pthread_create(0, 0, ace_start_routine, 0); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_pthread_c_func=no - -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -extern "C" void *ace_start_routine(void *); - -int -main () -{ - -pthread_create(0, 0, ace_start_routine, 0); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_pthread_c_func=yes - -else - - ace_cv_lib_pthread_c_func=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_pthread_c_func" >&5 -$as_echo "$ace_cv_lib_pthread_c_func" >&6; } - if test "$ace_cv_lib_pthread_c_func" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_HAS_THR_C_FUNC 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - fi - - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_key_create has std arg thread destructor" >&5 -$as_echo_n "checking if pthread_key_create has std arg thread destructor... " >&6; } - if ${ace_cv_lib_pthread_stdarg_dest+:} false; then : - $as_echo_n "(cached) " >&6 -else - - if test "$ac_cv_func_pthread_key_create" = yes; then - ace_pthread_key_create=pthread_key_create - else - ace_pthread_key_create=pthread_keycreate - fi - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -void ace_destructor(void *); - -int -main () -{ - -${ace_pthread_key_create}(0, ace_destructor); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_pthread_stdarg_dest=no - -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -void ace_destructor(...); - -int -main () -{ - -${ace_pthread_key_create}(0, ace_destructor); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_pthread_stdarg_dest=yes - -else - - ace_cv_lib_pthread_stdarg_dest=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_pthread_stdarg_dest" >&5 -$as_echo "$ace_cv_lib_pthread_stdarg_dest" >&6; } - if test "$ace_cv_lib_pthread_stdarg_dest" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_HAS_STDARG_THR_DEST 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - fi - - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_key_create requires an extern \"C\" start routine" >&5 -$as_echo_n "checking if pthread_key_create requires an extern \"C\" start routine... " >&6; } - if ${ace_cv_lib_pthread_c_dest+:} false; then : - $as_echo_n "(cached) " >&6 -else - - if test "$ac_cv_func_pthread_key_create" = yes; then - ace_pthread_key_create=pthread_key_create - else - ace_pthread_key_create=pthread_keycreate - fi - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -void ace_destructor(void *); - -int -main () -{ - -${ace_pthread_key_create}(0, ace_destructor); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_pthread_c_dest=no - -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -extern "C" void ace_destructor(void *); - -int -main () -{ - -${ace_pthread_key_create}(0, ace_destructor); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_pthread_c_dest=yes - -else - - ace_cv_lib_pthread_c_dest=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_pthread_c_dest" >&5 -$as_echo "$ace_cv_lib_pthread_c_dest" >&6; } - if test "$ace_cv_lib_pthread_c_dest" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_HAS_THR_C_DEST 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - fi - - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - - -ac_fn_cxx_check_func "$LINENO" "sched_get_priority_min" "ac_cv_func_sched_get_priority_min" -if test "x$ac_cv_func_sched_get_priority_min" = xyes; then : - -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - int p = (int) PTHREAD_MIN_PRIORITY; - - ; - return 0; -} - -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_has_px_prio_min=no - -else - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - int p = (int) PX_PRIO_MIN; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_has_px_prio_min=yes - -else - - ace_has_px_prio_min=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - - if test "$ace_has_px_prio_min" = yes; then - -$as_echo "#define PTHREAD_MIN_PRIORITY PX_PRIO_MIN" >>confdefs.h - - fi - -ac_fn_cxx_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max" -if test "x$ac_cv_func_sched_get_priority_max" = xyes; then : - -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - int p = (int) PTHREAD_MAX_PRIORITY; - - ; - return 0; -} - -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_has_px_prio_max=no - -else - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - int p = (int) PX_PRIO_MAX; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_has_px_prio_max=yes - -else - - ace_has_px_prio_max=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - - if test "$ace_has_px_prio_max" = yes; then - -$as_echo "#define PTHREAD_MAX_PRIORITY PX_PRIO_MAX" >>confdefs.h - - fi - - fi - if test "$ace_has_sthreads" = yes; then - ac_fn_cxx_check_func "$LINENO" "thr_keycreate" "ac_cv_func_thr_keycreate" -if test "x$ac_cv_func_thr_keycreate" = xyes; then : - $as_echo "#define ACE_HAS_THREAD_SPECIFIC_STORAGE 1" >>confdefs.h - -else - $as_echo "#define ACE_HAS_TSS_EMULATION 1" >>confdefs.h - -fi - - - ac_fn_cxx_check_func "$LINENO" "thr_yield" "ac_cv_func_thr_yield" -if test "x$ac_cv_func_thr_yield" = xyes; then : - $as_echo "#define ACE_HAS_THR_YIELD 1" >>confdefs.h - -fi - - - ac_fn_cxx_check_func "$LINENO" "thr_keydelete" "ac_cv_func_thr_keydelete" -if test "x$ac_cv_func_thr_keydelete" = xyes; then : - $as_echo "#define ACE_HAS_THR_KEYDELETE 1" >>confdefs.h - -fi - - - ac_fn_cxx_check_func "$LINENO" "thr_min_stack" "ac_cv_func_thr_min_stack" -if test "x$ac_cv_func_thr_min_stack" = xyes; then : - -else - - ac_fn_cxx_check_func "$LINENO" "thr_minstack" "ac_cv_func_thr_minstack" -if test "x$ac_cv_func_thr_minstack" = xyes; then : - $as_echo "#define ACE_HAS_THR_MINSTACK 1" >>confdefs.h - -fi - - -fi - - - fi -fi -for ace_func in sigwait -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_HAS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - - -if test "$ace_user_enable_reentrant_funcs" = yes; then - ac_fn_cxx_check_func "$LINENO" "rand_r" "ac_cv_func_rand_r" -if test "x$ac_cv_func_rand_r" = xyes; then : - -fi - - - ac_fn_cxx_check_func "$LINENO" "strtok_r" "ac_cv_func_strtok_r" -if test "x$ac_cv_func_strtok_r" = xyes; then : - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtok_r prototype" >&5 -$as_echo_n "checking for strtok_r prototype... " >&6; } - if ${ace_cv_lib_has_strtok_r_prototype+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ace_save_CPPFLAGS="$CPPFLAGS" - ace_no_posix="-U_POSIX_SOURCE $ACE_THR_CPPFLAGS" - CPPFLAGS="$CPPFLAGS $ace_no_posix" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "[^_]+strtok_r" >/dev/null 2>&1; then : - - ace_cv_lib_has_strtok_r_prototype=yes - -else - - ace_cv_lib_has_strtok_r_prototype=no - -fi -rm -f conftest* - - CPPFLAGS="$ace_save_CPPFLAGS" - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_has_strtok_r_prototype" >&5 -$as_echo "$ace_cv_lib_has_strtok_r_prototype" >&6; } - if test "$ace_cv_lib_has_strtok_r_prototype" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_STRTOK_R_PROTOTYPE 1" >>confdefs.h - - - fi - - -fi - - - ac_fn_cxx_check_func "$LINENO" "getpwnam_r" "ac_cv_func_getpwnam_r" -if test "x$ac_cv_func_getpwnam_r" = xyes; then : - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef _REENTRANT -# define _REENTRANT -#endif -#ifndef ACE_LACKS_PWD_H -# include -#endif -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif - -int -main () -{ - - const char * name = 0; - struct passwd * pwent; - char * buffer = 0; - int buflen; - struct passwd * result = 0; - - int status = getpwnam_r (name, pwent, buffer, buflen, &result); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - if test "$ace_user_enable_reentrant_funcs" = yes; then - $as_echo "#define ACE_HAS_POSIX_GETPWNAM_R 1" >>confdefs.h - - fi - -else - - echo - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext, - -fi - - - ac_fn_cxx_check_func "$LINENO" "ctime_r" "ac_cv_func_ctime_r" -if test "x$ac_cv_func_ctime_r" = xyes; then : - -fi - - - ac_fn_cxx_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r" -if test "x$ac_cv_func_localtime_r" = xyes; then : - -fi - - - ac_fn_cxx_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r" -if test "x$ac_cv_func_gmtime_r" = xyes; then : - -fi - - - ac_fn_cxx_check_func "$LINENO" "asctime_r" "ac_cv_func_asctime_r" -if test "x$ac_cv_func_asctime_r" = xyes; then : - -fi - - - ac_fn_cxx_check_func "$LINENO" "getprotobyname_r" "ac_cv_func_getprotobyname_r" -if test "x$ac_cv_func_getprotobyname_r" = xyes; then : - -fi - - - ac_fn_cxx_check_func "$LINENO" "getprotobynumber_r" "ac_cv_func_getprotobynumber_r" -if test "x$ac_cv_func_getprotobynumber_r" = xyes; then : - -fi - - - ac_fn_cxx_check_func "$LINENO" "gethostbyaddr_r" "ac_cv_func_gethostbyaddr_r" -if test "x$ac_cv_func_gethostbyaddr_r" = xyes; then : - -fi - - - ac_fn_cxx_check_func "$LINENO" "gethostbyname_r" "ac_cv_func_gethostbyname_r" -if test "x$ac_cv_func_gethostbyname_r" = xyes; then : - -fi - - - ac_fn_cxx_check_func "$LINENO" "getservbyname_r" "ac_cv_func_getservbyname_r" -if test "x$ac_cv_func_getservbyname_r" = xyes; then : - -fi - -fi - -for ace_func in readdir_r -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test "$ac_cv_func_readdir_r" = yes; then -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for 2- or 3-param readdir_r" >&5 -$as_echo_n "checking for 2- or 3-param readdir_r... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - -readdir_r(0, 0, 0); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - -$as_echo "#define ACE_HAS_3_PARAM_READDIR_R 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: 3" >&5 -$as_echo "3" >&6; } - -else - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2" >&5 -$as_echo "2" >&6; } - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi - - -for ace_func in seekdir telldir -do -as_ac_var=`$as_echo "ac_cv_func_$ace_func" | $as_tr_sh` -ac_fn_cxx_check_func "$LINENO" "$ace_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -else - cat >>confdefs.h <<_ACEOF -#define `$as_echo "ACE_LACKS_$ace_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - - - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - if test "$ace_has_svr4_dynamic_linking" = yes; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if dlopen takes a char *" >&5 -$as_echo_n "checking if dlopen takes a char *... " >&6; } - if ${ace_cv_lib_charptr_dl+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - const char *filename = 0; - int flag = 0; - void *ptr = dlopen(filename, flag); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_charptr_dl=no - -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - char *filename = 0; - int flag = 0; - void *ptr = dlopen(filename, flag); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_charptr_dl=yes - -else - - ace_cv_lib_charptr_dl=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_charptr_dl" >&5 -$as_echo "$ace_cv_lib_charptr_dl" >&6; } - if test "$ace_cv_lib_charptr_dl" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_CHARPTR_DL 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - fi - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - if test "$ac_cv_func_gethostbyaddr" = yes; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"getby\" functions take a non-const char *" >&5 -$as_echo_n "checking \"getby\" functions take a non-const char *... " >&6; } - if ${ace_cv_lib_nonconst_getby+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - char *addr = 0; - int len = 0; - int type = 0; - struct hostent *mystruct = 0; - - mystruct = gethostbyaddr(name, len, type); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_nonconst_getby=yes - -else - - ace_cv_lib_nonconst_getby=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_nonconst_getby" >&5 -$as_echo "$ace_cv_lib_nonconst_getby" >&6; } - if test "$ace_cv_lib_nonconst_getby" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_NONCONST_GETBY 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - fi - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - -if test "$ace_user_enable_exceptions" = yes; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if new throws std::bad_alloc exception on failure" >&5 -$as_echo_n "checking if new throws std::bad_alloc exception on failure... " >&6; } - if ${ace_cv_new_throws_bad_alloc_exception+:} false; then : - $as_echo_n "(cached) " >&6 -else - - if test "$cross_compiling" = yes; then : - - ace_cv_new_throws_bad_alloc_exception=no - -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#if defined (ACE_HAS_NEW_NO_H) -# include -#elif defined (ACE_HAS_NEW_H) -# include -#endif - -#if defined (ACE_HAS_STDEXCEPT_NO_H) -# include -#elif defined (ACE_HAS_EXCEPTION_H) -# include -#endif - -/* We already checked for ACE_LACKS_NUMERIC_LIMITS */ -#if !defined ACE_LACKS_NUMERIC_LIMITS -#include -#endif - -/* We already checked for ACE_LACKS_SYS_RESOURCE_H */ -#if !defined ACE_LACKS_SYS_RESOURCE_H -#include -#endif - - int main(int, char *[]) { -#if defined ACE_LACKS_NUMERIC_LIMITS - const size_t ALLOC_SIZE = 2 * 1024 * 1024 * 1024; -#else - const size_t ALLOC_SIZE = std::numeric_limits::max () / 2; -#endif - -#if !defined (ACE_LACKS_RLIMIT) - /* set memory limit to the allocation size, so this test - should terminate on the first iteration. */ - struct rlimit rlimit; - if (getrlimit(RLIMIT_DATA, &rlimit) == 0) { - rlimit.rlim_cur = ALLOC_SIZE; - setrlimit(RLIMIT_DATA, &rlimit); - } -#endif - - while (1) { - try { - char *a = new char[ALLOC_SIZE]; - if (a == 0) { - return 1; /* new() does NOT throw exceptions */ - } - } - -#ifdef ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB - catch (std::bad_alloc) -#else - catch (bad_alloc) -#endif /* ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB */ - { - return 0; /* new() does throw exceptions */ - } - }; - - return 1; /* ERROR: We shouldn't get this far! */ - } - -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - - ace_cv_new_throws_bad_alloc_exception=yes - -else - - ace_cv_new_throws_bad_alloc_exception=no - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_new_throws_bad_alloc_exception" >&5 -$as_echo "$ace_cv_new_throws_bad_alloc_exception" >&6; } - if test "$ace_cv_new_throws_bad_alloc_exception" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_NEW_THROWS_EXCEPTIONS 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - - if test "$ace_cv_new_throws_bad_alloc_exception" != yes; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if new throws xalloc exception on failure" >&5 -$as_echo_n "checking if new throws xalloc exception on failure... " >&6; } - if ${ace_cv_new_throws_xalloc_exception+:} false; then : - $as_echo_n "(cached) " >&6 -else - - if test "$cross_compiling" = yes; then : - - ace_cv_new_throws_xalloc_exception=no - -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#if defined (ACE_HAS_NEW_NO_H) -# include -#elif defined (ACE_HAS_NEW_H) -# include -#endif - -#if defined (ACE_HAS_STDEXCEPT_NO_H) -# include -#elif defined (ACE_HAS_EXCEPTION_H) -# include -#endif - -/* We already checked for ACE_LACKS_NUMERIC_LIMITS */ -#if !defined ACE_LACKS_NUMERIC_LIMITS -#include -#endif - -/* We already checked for ACE_LACKS_SYS_RESOURCE_H */ -#if !defined ACE_LACKS_SYS_RESOURCE_H -#include -#endif - - - int main(int, char *[]) { -#if defined ACE_LACKS_NUMERIC_LIMITS - const size_t ALLOC_SIZE = 2 * 1024 * 1024 * 1024; -#else - const size_t ALLOC_SIZE = std::numeric_limits::max () / 2; -#endif - -#if !defined (ACE_LACKS_RLIMIT) - /* set memory limit to the allocation size, so this test - should terminate on the first iteration. */ - struct rlimit rlimit; - if (getrlimit(RLIMIT_DATA, &rlimit) == 0) { - rlimit.rlim_cur = ALLOC_SIZE; - setrlimit(RLIMIT_DATA, &rlimit); - } -#endif - - while (1) { - try { - char *a = new char[ALLOC_SIZE]; - if (a == 0) { - return 1; /* new() does NOT throw exceptions */ - } - } - - catch (xalloc) - { - return 0; /* new() does throw exceptions */ - } - }; - - return 1; /* ERROR: We shouldn't get this far! */ - } - -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - - ace_cv_new_throws_xalloc_exception=yes - -else - - ace_cv_new_throws_xalloc_exception=no - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_new_throws_xalloc_exception" >&5 -$as_echo "$ace_cv_new_throws_xalloc_exception" >&6; } - if test "$ace_cv_new_throws_xalloc_exception" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_NEW_THROWS_EXCEPTIONS 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports new(std::nothrow)" >&5 -$as_echo_n "checking if compiler supports new(std::nothrow)... " >&6; } -if ${ace_cv_has_new_nothrow+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#if defined (ACE_HAS_NEW_NO_H) -# include -#elif defined (ACE_HAS_NEW_H) -# include -#endif - -int main(int, char*[]) { - int *foo; - -#ifdef ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB - foo = new (std::nothrow) int; -#else - foo = new (nothrow) int; -#endif /* ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB */ -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_has_new_nothrow=yes - -else - - ace_cv_has_new_nothrow=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_has_new_nothrow" >&5 -$as_echo "$ace_cv_has_new_nothrow" >&6; } -if test $ace_cv_has_new_nothrow = yes; then - $as_echo "#define ACE_HAS_NEW_NOTHROW 1" >>confdefs.h - -fi - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - if test "$ac_cv_func_getmsg" = yes || - test "$ac_cv_header_stropts_h" = yes; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if putmsg takes a const struct strbuf*" >&5 -$as_echo_n "checking if putmsg takes a const struct strbuf*... " >&6; } - if ${ace_cv_lib_const_strbufptr+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - int result = 0; - int fd = 0; - const struct strbuf * ace_str = 0; - int flags = 0; - - result = putmsg(fd, ace_str, ace_str, flags); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_const_strbufptr=yes - -else - - ace_cv_lib_const_strbufptr=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_const_strbufptr" >&5 -$as_echo "$ace_cv_lib_const_strbufptr" >&6; } - if test "$ace_cv_lib_const_strbufptr" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_CONST_STRBUF_PTR 1" >>confdefs.h - - - fi - - fi - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - - -if test "$ac_cv_func_setrlimit" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setrlimit() takes an enum as 1st argument" >&5 -$as_echo_n "checking if setrlimit() takes an enum as 1st argument... " >&6; } - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "setrlimit.*\(.*[^,]*enum" >/dev/null 2>&1; then : - - cat > conftest.$ac_ext < -EOF - - ace_setrlimit_enum=`eval "$ac_cpp conftest.$ac_ext" | \ - $EGREP '[ ]+setrlimit.*\(.*[^,]*enum' | \ - sed -e 's/^.*setrlimit.*(.*enum//' -e 's/[^ ]*,.*$//'` - - ace_setrlimit_enum="enum $ace_setrlimit_enum" - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_setrlimit_enum" >&5 -$as_echo "$ace_setrlimit_enum" >&6; } - -if test -n "$ace_setrlimit_enum"; then - cat >>confdefs.h <<_ACEOF -#define ACE_HAS_RLIMIT_RESOURCE_ENUM $ace_setrlimit_enum -_ACEOF - -fi - - rm -rf conftest* - - -else - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -fi -rm -f conftest* - - -fi - - - -if test "$ac_cv_func_getrusage" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getrusage() takes an enum as 1st argument" >&5 -$as_echo_n "checking if getrusage() takes an enum as 1st argument... " >&6; } - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "getrusage.*\(.*[^,]*enum" >/dev/null 2>&1; then : - - cat > conftest.$ac_ext < -EOF - - ace_rusage_who=`eval "$ac_cpp conftest.$ac_ext" | \ - $EGREP '[ ]+getrusage.*\(.*[^,]*enum' | \ - sed -e 's/^.*getrusage.*(.*enum//' -e 's/[^ ]*,.*$//'` - - ace_rusage_who="enum $ace_rusage_who" - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_rusage_who" >&5 -$as_echo "$ace_rusage_who" >&6; } - -if test -n "$ace_rusage_who"; then - cat >>confdefs.h <<_ACEOF -#define ACE_HAS_RUSAGE_WHO_ENUM $ace_rusage_who -_ACEOF - -fi - - rm -rf conftest* - - -else - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -fi -rm -f conftest* - - -fi - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if select takes a const struct timeval" >&5 -$as_echo_n "checking if select takes a const struct timeval... " >&6; } - if ${ace_cv_lib_posix_select_const_timeval+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#ifndef ACE_LACKS_UNISTD_H -# include -#endif -#ifndef ACE_LACKS_SYS_SELECT_H -# include -#endif - -int -main () -{ - - int n = 0; - fd_set *readfds = 0; - fd_set *writefds = 0; - fd_set *exceptfds = 0; - const struct timeval* timeout = 0; - select(n, readfds, writefds, exceptfds, timeout); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_posix_select_const_timeval=yes - -else - - ace_cv_lib_posix_select_const_timeval=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_posix_select_const_timeval" >&5 -$as_echo "$ace_cv_lib_posix_select_const_timeval" >&6; } - if test "$ace_cv_lib_posix_select_const_timeval" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_NONCONST_SELECT_TIMEVAL 1" >>confdefs.h - - - fi - - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - - -if test "$ace_cv_struct_msghdr" = yes && - test "$ac_cv_func_sendmsg" = yes; then - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sendmsg omits const qualifier from the msghdr argument" >&5 -$as_echo_n "checking if sendmsg omits const qualifier from the msghdr argument... " >&6; } - if ${ace_cv_lib_nonconst_sendmsg+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - -int -main () -{ - - int s = 0; - const struct msghdr *msg = 0; - unsigned int flags = 0; - - int result = 0; - - result = (int) sendmsg(s, msg, flags); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_nonconst_sendmsg=no - -else - - ace_cv_lib_nonconst_sendmsg=yes - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_nonconst_sendmsg" >&5 -$as_echo "$ace_cv_lib_nonconst_sendmsg" >&6; } - if test "$ace_cv_lib_nonconst_sendmsg" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_NONCONST_SENDMSG 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - fi - -if test "$ac_cv_func_setrlimit" = yes; then - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setrlimit omits const qualifier from the rlimit argument" >&5 -$as_echo_n "checking if setrlimit omits const qualifier from the rlimit argument... " >&6; } - if ${ace_cv_lib_nonconst_setrlimit+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#include - -int -main () -{ - - const struct rlimit* rlp = 0; - setrlimit(RLIMIT_CPU, rlp); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_nonconst_setrlimit=no - -else - - ace_cv_lib_nonconst_setrlimit=yes - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_nonconst_setrlimit" >&5 -$as_echo "$ace_cv_lib_nonconst_setrlimit" >&6; } - if test "$ace_cv_lib_nonconst_setrlimit" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_NONCONST_SETRLIMIT 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - fi - -if test "$ac_cv_header_sys_uio_h" = yes && - test "$ac_cv_func_readv" = yes; then - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if readv omits const qualifier from the iovec argument" >&5 -$as_echo_n "checking if readv omits const qualifier from the iovec argument... " >&6; } - if ${ace_cv_lib_nonconst_readv+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_UNISTD_H -# include -#endif - -#include - -int -main () -{ - - int filedes = 0; - const struct iovec *vector = 0; - size_t count = 0; - - int result = 0; - - result = (int) readv(filedes, vector, count); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_nonconst_readv=no - -else - - ace_cv_lib_nonconst_readv=yes - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_nonconst_readv" >&5 -$as_echo "$ace_cv_lib_nonconst_readv" >&6; } - if test "$ace_cv_lib_nonconst_readv" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_NONCONST_READV 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - fi - -if test "$ac_cv_header_sys_uio_h" = yes && - test "$ac_cv_func_writev" = yes; then - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if writev omits const qualifier from the iovec argument" >&5 -$as_echo_n "checking if writev omits const qualifier from the iovec argument... " >&6; } - if ${ace_cv_lib_nonconst_writev+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_UNISTD_H -# include -#endif - -#include - -int -main () -{ - - int filedes = 0; - const struct iovec *vector = 0; - size_t count = 0; - - int result = 0; - - result = (int) writev(filedes, vector, count); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_nonconst_writev=no - -else - - ace_cv_lib_nonconst_writev=yes - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_nonconst_writev" >&5 -$as_echo "$ace_cv_lib_nonconst_writev" >&6; } - if test "$ace_cv_lib_nonconst_writev" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_NONCONST_WRITEV 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - fi - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (struct sockaddr *) msg_name field in msghdr" >&5 -$as_echo_n "checking for (struct sockaddr *) msg_name field in msghdr... " >&6; } - if ${ace_cv_lib_sockaddr_msg_name+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - -int -main () -{ - - msghdr ace_msghdr; - struct sockaddr *addr = 0; - - /* - * Note that some platforms declare msg_name to be a void*, - * in which case this assignment will work. - * Should we _not_ define ACE_HAS_SOCKADDR_MSG_NAME in that - * case? I tend to think it is more appropriate to define - * ACE_HAS_SOCKADDR_MSG_NAME rather than cast addr to a char*, - * as is done in ACE when the macro is not defined. - * -Ossama - */ - ace_msghdr.msg_name = (struct sockaddr *)addr; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_sockaddr_msg_name=yes - -else - - ace_cv_lib_sockaddr_msg_name=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_sockaddr_msg_name" >&5 -$as_echo "$ace_cv_lib_sockaddr_msg_name" >&6; } - if test "$ace_cv_lib_sockaddr_msg_name" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_SOCKADDR_MSG_NAME 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt() takes a void* fourth argument" >&5 -$as_echo_n "checking if setsockopt() takes a void* fourth argument... " >&6; } - if ${ace_cv_lib_posix_setsockopt_voidp_4+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - -int -main () -{ - - int s = 0; - int level = 0; - int optname = 0; - void* optval = 0; - -#if defined (ACE_HAS_SOCKLEN_T) - socklen_t optlen = 0; -#elif defined (ACE_HAS_SIZET_SOCKET_LEN) - size_t optlen = 0; -#else - int optlen = 0; -#endif - - setsockopt (s, level, optname, optval, optlen); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_posix_setsockopt_voidp_4=yes - -else - - ace_cv_lib_posix_setsockopt_voidp_4=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_posix_setsockopt_voidp_4" >&5 -$as_echo "$ace_cv_lib_posix_setsockopt_voidp_4" >&6; } - if test "$ace_cv_lib_posix_setsockopt_voidp_4" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_HAS_VOIDPTR_SOCKOPT 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt() takes a char* fourth argument" >&5 -$as_echo_n "checking if setsockopt() takes a char* fourth argument... " >&6; } - if ${ace_cv_lib_posix_setsockopt_charp_4+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - -int -main () -{ - - int s = 0; - int level = 0; - int optname = 0; - char* optval = 0; - -#if defined (ACE_HAS_SOCKLEN_T) - socklen_t optlen = 0; -#elif defined (ACE_HAS_SIZET_SOCKET_LEN) - size_t optlen = 0; -#else - int optlen = 0; -#endif - - setsockopt (s, level, optname, optval, optlen); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_posix_setsockopt_charp_4=yes - -else - - ace_cv_lib_posix_setsockopt_charp_4=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_posix_setsockopt_charp_4" >&5 -$as_echo "$ace_cv_lib_posix_setsockopt_charp_4" >&6; } - if test "$ace_cv_lib_posix_setsockopt_charp_4" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_HAS_CHARPTR_SOCKOPT 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - fi - - - - fi - - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if mmap() takes a void* first argument" >&5 -$as_echo_n "checking if mmap() takes a void* first argument... " >&6; } - if ${ace_cv_lib_posix_voidptr_mmap+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#ifndef ACE_LACKS_UNISTD_H -# include -#endif -#include - -int -main () -{ - - void *start = 0; - size_t length = 0; - int prot = 0; - int flags = 0; - int fd = 0; - off_t offset = 0; - - void *result = 0; - - result = (void *)mmap(start, length, prot, flags, fd, offset); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_posix_voidptr_mmap=yes - -else - - ace_cv_lib_posix_voidptr_mmap=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_posix_voidptr_mmap" >&5 -$as_echo "$ace_cv_lib_posix_voidptr_mmap" >&6; } - if test "$ace_cv_lib_posix_voidptr_mmap" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_VOIDPTR_MMAP 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iostream method ipfx()" >&5 -$as_echo_n "checking for iostream method ipfx()... " >&6; } - if ${ace_cv_feature_has_iostream_ipfx+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - cin.ipfx(); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_feature_has_iostream_ipfx=yes - -else - - ace_cv_feature_has_iostream_ipfx=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_has_iostream_ipfx" >&5 -$as_echo "$ace_cv_feature_has_iostream_ipfx" >&6; } - if test "$ace_cv_feature_has_iostream_ipfx" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_IOSTREAM_FX 1" >>confdefs.h - - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for line-buffered streambufs" >&5 -$as_echo_n "checking for line-buffered streambufs... " >&6; } - if ${ace_cv_feature_has_linebuffered_streambuf+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - cin.rdbuf()->linebuffered(1); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_feature_has_linebuffered_streambuf=yes - -else - - ace_cv_feature_has_linebuffered_streambuf=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_has_linebuffered_streambuf" >&5 -$as_echo "$ace_cv_feature_has_linebuffered_streambuf" >&6; } - if test "$ace_cv_feature_has_linebuffered_streambuf" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_LINEBUFFERED_STREAMBUF 1" >>confdefs.h - - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unbuffered streambufs" >&5 -$as_echo_n "checking for unbuffered streambufs... " >&6; } - if ${ace_cv_feature_has_unbuffered_streambuf+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - cin.rdbuf()->unbuffered(1); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_feature_has_unbuffered_streambuf=yes - -else - - ace_cv_feature_has_unbuffered_streambuf=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_has_unbuffered_streambuf" >&5 -$as_echo "$ace_cv_feature_has_unbuffered_streambuf" >&6; } - if test "$ace_cv_feature_has_unbuffered_streambuf" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_UNBUFFERED_STREAMBUF 1" >>confdefs.h - - - fi - - - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal takes a void (*)(int) as second argument" >&5 -$as_echo_n "checking if signal takes a void (*)(int) as second argument... " >&6; } - if ${ace_cv_lib_signal_vi1_2+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - typedef void (*SA)(int); - static void handler(int) { } - -int -main () -{ - - SA nn = handler; - signal(SIGINT, nn); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_signal_vi1_2=yes - -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -extern "C" - { - typedef void (*SA)(int); - void handler(int) { } - } - -int -main () -{ - - SA nn = handler; - signal(SIGINT, nn); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_signal_vi1_2=yes - -else - - ace_cv_lib_signal_vi1_2=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_signal_vi1_2" >&5 -$as_echo "$ace_cv_lib_signal_vi1_2" >&6; } - if test "$ace_cv_lib_signal_vi1_2" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_HAS_SIG_C_FUNC 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - fi - - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal takes a void (*)(void) as second argument" >&5 -$as_echo_n "checking if signal takes a void (*)(void) as second argument... " >&6; } - if ${ace_cv_lib_signal_vv1_2+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - typedef void (*SA)(void); - void handler(void) { } - -int -main () -{ - - SA nn = handler; - signal(SIGINT, nn); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_signal_vv1_2=yes - -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -extern "C" - { - typedef void (*SA)(void); - void handler(void) { } - } - -int -main () -{ - - SA nn = handler; - signal(SIGINT, nn); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_signal_vv1_2=yes - -else - - ace_cv_lib_signal_vv1_2=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_signal_vv1_2" >&5 -$as_echo "$ace_cv_lib_signal_vv1_2" >&6; } - if test "$ace_cv_lib_signal_vv1_2" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_HAS_SIG_C_FUNC 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - fi - - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal takes a void (*)(int, ...) as second argument" >&5 -$as_echo_n "checking if signal takes a void (*)(int, ...) as second argument... " >&6; } - if ${ace_cv_lib_signal_vi1a2_2+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - typedef void (*SA)(int, ...); - void handler(int, ...) { } - -int -main () -{ - - SA nn = handler; - signal(SIGINT, nn); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_signal_vi1a2_2=yes - -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -extern "C" - { - typedef void (*SA)(int, ...); - void handler(int, ...) { } - } - -int -main () -{ - - SA nn = handler; - signal(SIGINT, nn); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_signal_vi1a2_2=yes - -else - - ace_cv_lib_signal_vi1a2_2=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_signal_vi1a2_2" >&5 -$as_echo "$ace_cv_lib_signal_vi1a2_2" >&6; } - if test "$ace_cv_lib_signal_vi1a2_2" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_HAS_SIG_C_FUNC 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - fi - - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal takes a void (*)(...) as second argument" >&5 -$as_echo_n "checking if signal takes a void (*)(...) as second argument... " >&6; } - if ${ace_cv_lib_signal_va1_2+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - typedef void (*SA)(...); - void handler(...) { } - -int -main () -{ - - SA nn = handler; - signal(SIGINT, nn); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_signal_va1_2=yes - -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -extern "C" - { - typedef void (*SA)(...); - void handler(...) { } - } - -int -main () -{ - - SA nn = handler; - signal(SIGINT, nn); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_signal_va1_2=yes - -else - - ace_cv_lib_signal_va1_2=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_signal_va1_2" >&5 -$as_echo "$ace_cv_lib_signal_va1_2" >&6; } - if test "$ace_cv_lib_signal_va1_2" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_HAS_SIG_C_FUNC 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - fi - - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal returns a void (*)(int)" >&5 -$as_echo_n "checking if signal returns a void (*)(int)... " >&6; } -if ${ace_cv_lib_signal_vi1_ret+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -typedef void (*SA)(int); -void foo(SA nn) { } - -int -main () -{ - -SA nn = SIG_DFL; -nn = signal(SIGINT, 0); -foo(nn); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_signal_vi1_ret=yes - -else - - ace_cv_lib_signal_vi1_ret=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_signal_vi1_ret" >&5 -$as_echo "$ace_cv_lib_signal_vi1_ret" >&6; } - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal returns a void (*)(void)" >&5 -$as_echo_n "checking if signal returns a void (*)(void)... " >&6; } -if ${ace_cv_lib_signal_vv1_ret+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -typedef void (*SA)(void); -void foo(SA nn) { } - -int -main () -{ - -SA nn = SIG_DFL; -nn = signal(SIGINT, 0); -foo(nn); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_signal_vv1_ret=yes - -else - - ace_cv_lib_signal_vv1_ret=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_signal_vv1_ret" >&5 -$as_echo "$ace_cv_lib_signal_vv1_ret" >&6; } - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal returns a void (*)(int, ...)" >&5 -$as_echo_n "checking if signal returns a void (*)(int, ...)... " >&6; } -if ${ace_cv_lib_signal_vi1a2_ret+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -typedef void (*SA)(int, ...); - -int -main () -{ - - SA oo = signal(SIGINT, 0); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_signal_vi1a2_ret=yes - -else - - ace_cv_lib_signal_vi1a2_ret=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_signal_vi1a2_ret" >&5 -$as_echo "$ace_cv_lib_signal_vi1a2_ret" >&6; } - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal returns a void (*)(...)" >&5 -$as_echo_n "checking if signal returns a void (*)(...)... " >&6; } -if ${ace_cv_lib_signal_va1_ret+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -typedef void (*SA)(...); - -int -main () -{ - - SA oo = signal(SIGINT, 0); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_signal_va1_ret=yes - -else - - ace_cv_lib_signal_va1_ret=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_signal_va1_ret" >&5 -$as_echo "$ace_cv_lib_signal_va1_ret" >&6; } - -if test "$ac_cv_type_struct_sigaction" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if struct sigaction takes a void (*)(int) handler" >&5 -$as_echo_n "checking if struct sigaction takes a void (*)(int) handler... " >&6; } -if ${ace_cv_lib_struct_sigaction_vi1_handler+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - typedef void (*SA)(int); - void foo(struct sigaction* sa, SA nn) { } - -int -main () -{ - - struct sigaction sa; - SA nn = SIG_DFL; - sa.sa_handler = nn; - foo(&sa, nn); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_struct_sigaction_vi1_handler=yes - -else - - ace_cv_lib_struct_sigaction_vi1_handler=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_struct_sigaction_vi1_handler" >&5 -$as_echo "$ace_cv_lib_struct_sigaction_vi1_handler" >&6; } - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if struct sigaction takes a void (*)(void) handler" >&5 -$as_echo_n "checking if struct sigaction takes a void (*)(void) handler... " >&6; } -if ${ace_cv_lib_struct_sigaction_vv1_handler+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - typedef void (*SA)(void); - void foo(struct sigaction* sa, SA nn) { } - -int -main () -{ - - struct sigaction sa; - SA nn = SIG_DFL; - sa.sa_handler = nn; - foo(&sa, nn); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_struct_sigaction_vv1_handler=yes - -else - - ace_cv_lib_struct_sigaction_vv1_handler=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_struct_sigaction_vv1_handler" >&5 -$as_echo "$ace_cv_lib_struct_sigaction_vv1_handler" >&6; } - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if struct sigaction takes a void (*)(int, ...) handler" >&5 -$as_echo_n "checking if struct sigaction takes a void (*)(int, ...) handler... " >&6; } -if ${ace_cv_lib_struct_sigaction_vi1a2_handler+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - typedef void (*SA)(int, ...); - void foo(struct sigaction* sa, SA nn) { } - -int -main () -{ - - struct sigaction sa; - SA nn = SIG_DFL; - sa.sa_handler = nn; - foo(&sa, nn); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_struct_sigaction_vi1a2_handler=yes - -else - - ace_cv_lib_struct_sigaction_vi1a2_handler=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_struct_sigaction_vi1a2_handler" >&5 -$as_echo "$ace_cv_lib_struct_sigaction_vi1a2_handler" >&6; } - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if struct sigaction takes a void (*)(...) handler" >&5 -$as_echo_n "checking if struct sigaction takes a void (*)(...) handler... " >&6; } -if ${ace_cv_lib_struct_sigaction_va1_handler+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - typedef void (*SA)(...); - void foo(struct sigaction* sa, SA nn) { } - -int -main () -{ - - struct sigaction sa; - SA nn = SIG_DFL; - sa.sa_handler = nn; - foo(&sa, nn); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_struct_sigaction_va1_handler=yes - -else - - ace_cv_lib_struct_sigaction_va1_handler=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_struct_sigaction_va1_handler" >&5 -$as_echo "$ace_cv_lib_struct_sigaction_va1_handler" >&6; } -fi - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgsnd() takes a struct msgbuf* second argument" >&5 -$as_echo_n "checking if msgsnd() takes a struct msgbuf* second argument... " >&6; } - if ${ace_cv_lib_posix_msgsnd_msgbufp_2+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -# include -#ifndef ACE_LACKS_SYS_MSG_H -# include -#endif - -int -main () -{ - - int msqid = 0; - struct msgbuf* msgp = 0; - int msgsz = 0; - int msgflg = 0; - msgsnd(msqid, msgp, msgsz, msgflg); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_posix_msgsnd_msgbufp_2=yes - -else - - ace_cv_lib_posix_msgsnd_msgbufp_2=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_posix_msgsnd_msgbufp_2" >&5 -$as_echo "$ace_cv_lib_posix_msgsnd_msgbufp_2" >&6; } - if test "$ace_cv_lib_posix_msgsnd_msgbufp_2" != no; then - ace_just_a_place_holder=fixme - - - else - ace_just_a_place_holder=fixme - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgsnd() takes a const void* second argument" >&5 -$as_echo_n "checking if msgsnd() takes a const void* second argument... " >&6; } - if ${ace_cv_lib_posix_msgsnd_cvoidp_2+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -# include -#ifndef ACE_LACKS_SYS_MSG_H -# include -#endif - -int -main () -{ - - int msqid = 0; - const void* msgp = 0; - int msgsz = 0; - int msgflg = 0; - msgsnd(msqid, msgp, msgsz, msgflg); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_posix_msgsnd_cvoidp_2=yes - -else - - ace_cv_lib_posix_msgsnd_cvoidp_2=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_posix_msgsnd_cvoidp_2" >&5 -$as_echo "$ace_cv_lib_posix_msgsnd_cvoidp_2" >&6; } - if test "$ace_cv_lib_posix_msgsnd_cvoidp_2" != no; then - ace_just_a_place_holder=fixme - - - else - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_HAS_NONCONST_MSGSND 1" >>confdefs.h - - - - fi - - - - fi - - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgrcv() takes a void* second argument" >&5 -$as_echo_n "checking if msgrcv() takes a void* second argument... " >&6; } -if ${ace_cv_lib_posix_msgrcv_voidp_2+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -# include -#ifndef ACE_LACKS_SYS_MSG_H -# include -#endif - -int -main () -{ - - int msqid = 0; - void* msgp = 0; - int msgsz = 0; - long msgtyp = 0; - int msgflg = 0; - msgrcv(msqid, msgp, msgsz, msgtyp, msgflg); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_posix_msgrcv_voidp_2=yes - -else - - ace_cv_lib_posix_msgrcv_voidp_2=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_posix_msgrcv_voidp_2" >&5 -$as_echo "$ace_cv_lib_posix_msgrcv_voidp_2" >&6; } - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - - -if test "$ac_cv_func_shmat" = yes; then - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if shmat() takes a void* second argument" >&5 -$as_echo_n "checking if shmat() takes a void* second argument... " >&6; } -if ${ace_cv_lib_posix_shmat_voidp_2+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #ifndef ACE_LACKS_SYS_TYPES_H - # include - #endif - # include - # include - -int -main () -{ - - int shmid = 0; - void* shmaddr = 0; - int shmflg = 0; - shmat(shmid, shmaddr, shmflg); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_posix_shmat_voidp_2=yes - -else - - ace_cv_lib_posix_shmat_voidp_2=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_posix_shmat_voidp_2" >&5 -$as_echo "$ace_cv_lib_posix_shmat_voidp_2" >&6; } - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - if test "$ace_cv_lib_posix_shmat_voidp_2" = no; then - -$as_echo "#define ACE_HAS_CHARPTR_SHMAT 1" >>confdefs.h - - fi -fi - -if test "$ac_cv_func_shmdt" = yes; then - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if shmdt() takes a void* argument" >&5 -$as_echo_n "checking if shmdt() takes a void* argument... " >&6; } -if ${ace_cv_lib_posix_shmdt_voidp+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #ifndef ACE_LACKS_SYS_TYPES_H - # include - #endif - # include - # include - -int -main () -{ - - void* shmaddr = 0; - shmdt(shmaddr); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_posix_shmdt_voidp=yes - -else - - ace_cv_lib_posix_shmdt_voidp=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_posix_shmdt_voidp" >&5 -$as_echo "$ace_cv_lib_posix_shmdt_voidp" >&6; } - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - if test "$ace_cv_lib_posix_shmdt_voidp" = no; then - -$as_echo "#define ACE_HAS_CHARPTR_SHMDT 1" >>confdefs.h - - fi -fi - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigaction() takes a const* second argument" >&5 -$as_echo_n "checking if sigaction() takes a const* second argument... " >&6; } -if ${ace_cv_lib_posix_sigaction_constp_2+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - int signum = 0; - const struct sigaction* act = 0; - struct sigaction* oldact = 0; - sigaction(signum, act, oldact); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_posix_sigaction_constp_2=yes - -else - - ace_cv_lib_posix_sigaction_constp_2=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_posix_sigaction_constp_2" >&5 -$as_echo "$ace_cv_lib_posix_sigaction_constp_2" >&6; } - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - -if test "$ace_cv_lib_posix_sigaction_constp_2" = yes; then - $as_echo "#define ACE_HAS_SIGACTION_CONSTP2 1" >>confdefs.h - -fi - - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if gettimeofday() takes a void * second argument" >&5 -$as_echo_n "checking if gettimeofday() takes a void * second argument... " >&6; } -if ${ace_cv_lib_voidptr_gettimeofday+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifndef ACE_LACKS_UNISTD_H -# include -#endif - -int -main () -{ - - struct timeval *tv = 0; - void *tzp = 0; - - gettimeofday(tv, tzp); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_voidptr_gettimeofday=yes - -else - - ace_cv_lib_voidptr_gettimeofday=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_voidptr_gettimeofday" >&5 -$as_echo "$ace_cv_lib_voidptr_gettimeofday" >&6; } - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - -if test "$ace_cv_lib_voidptr_gettimeofday" = no; then - - - - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gettimeofday() takes a struct timezone * second argument" >&5 -$as_echo_n "checking if gettimeofday() takes a struct timezone * second argument... " >&6; } -if ${ace_cv_lib_timezone_gettimeofday+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifndef ACE_LACKS_UNISTD_H -# include -#endif - -int -main () -{ - - struct timeval *tv = 0; - struct timezone *tzp = 0; - - gettimeofday(tv, tzp); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_timezone_gettimeofday=yes - -else - - ace_cv_lib_timezone_gettimeofday=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_timezone_gettimeofday" >&5 -$as_echo "$ace_cv_lib_timezone_gettimeofday" >&6; } - - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" - fi -if test "$ace_cv_lib_voidptr_gettimeofday" = yes || - test "$ace_cv_lib_timezone_gettimeofday" = yes; then - -ac_fn_cxx_check_decl "$LINENO" "gettimeofday" "ac_cv_have_decl_gettimeofday" " -#include -#ifndef ACE_LACKS_UNISTD_H -# include -#endif - -" -if test "x$ac_cv_have_decl_gettimeofday" = xyes; then : - -if test "$ace_cv_lib_voidptr_gettimeofday" = yes; then - $as_echo "#define ACE_HAS_VOIDPTR_GETTIMEOFDAY 1" >>confdefs.h - -else - $as_echo "#define ACE_HAS_TIMEZONE_GETTIMEOFDAY 1" >>confdefs.h - -fi - -else - -if test "$ace_cv_lib_voidptr_gettimeofday" = yes; then - $as_echo "#define ACE_HAS_SVR4_GETTIMEOFDAY 1" >>confdefs.h - -else - $as_echo "#define ACE_HAS_OSF1_GETTIMEOFDAY 1" >>confdefs.h - -fi - -fi - - -fi - -if test "$ac_cv_func_ctime_r" = yes; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ctime_r() takes two arguments" >&5 -$as_echo_n "checking if ctime_r() takes two arguments... " >&6; } - if ${ace_cv_lib_posix_ctime_r_2_params+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef _REENTRANT -# define _REENTRANT -#endif - -#include - -int -main () -{ - - const time_t *t = 0; - char *buf; - ctime_r(t, buf); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_posix_ctime_r_2_params=yes - -else - - ace_cv_lib_posix_ctime_r_2_params=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_posix_ctime_r_2_params" >&5 -$as_echo "$ace_cv_lib_posix_ctime_r_2_params" >&6; } - if test "$ace_cv_lib_posix_ctime_r_2_params" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - -fi - - -if test "$ace_cv_struct_msghdr" = yes; then - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if struct msghdr has a msg_accrights member" >&5 -$as_echo_n "checking if struct msghdr has a msg_accrights member... " >&6; } - if ${ace_cv_lib_posix_struct_msghdr_has_msg_accrights+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - -int -main () -{ - - msghdr mh; - mh.msg_accrights = 0; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_posix_struct_msghdr_has_msg_accrights=yes - -else - - ace_cv_lib_posix_struct_msghdr_has_msg_accrights=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_posix_struct_msghdr_has_msg_accrights" >&5 -$as_echo "$ace_cv_lib_posix_struct_msghdr_has_msg_accrights" >&6; } - if test "$ace_cv_lib_posix_struct_msghdr_has_msg_accrights" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if struct msghdr has a msg_accrightslen member" >&5 -$as_echo_n "checking if struct msghdr has a msg_accrightslen member... " >&6; } - if ${ace_cv_lib_posix_struct_msghdr_has_msg_accrightslen+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - -int -main () -{ - - msghdr mh; - mh.msg_accrightslen = 0; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_posix_struct_msghdr_has_msg_accrightslen=yes - -else - - ace_cv_lib_posix_struct_msghdr_has_msg_accrightslen=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_posix_struct_msghdr_has_msg_accrightslen" >&5 -$as_echo "$ace_cv_lib_posix_struct_msghdr_has_msg_accrightslen" >&6; } - if test "$ace_cv_lib_posix_struct_msghdr_has_msg_accrightslen" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme - - fi - - - if test "$ace_cv_lib_posix_struct_msghdr_has_msg_accrights" = no && - test "$ace_cv_lib_posix_struct_msghdr_has_msg_accrightslen" = no; then - $as_echo "#define ACE_LACKS_MSG_ACCRIGHTS 1" >>confdefs.h - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 4.4 BSD style struct msghdr" >&5 -$as_echo_n "checking for 4.4 BSD style struct msghdr... " >&6; } - if ${ace_cv_lib_4_4bsd_msghdr+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "msg_control" >/dev/null 2>&1; then : - - ace_cv_lib_4_4bsd_msghdr=yes - -else - - ace_cv_lib_4_4bsd_msghdr=no - -fi -rm -f conftest* - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_4_4bsd_msghdr" >&5 -$as_echo "$ace_cv_lib_4_4bsd_msghdr" >&6; } - if test "$ace_cv_lib_4_4bsd_msghdr" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_HAS_4_4BSD_SENDMSG_RECVMSG 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No supported msghdr structure was found. ACE may not compile or function properly." >&5 -$as_echo "$as_me: WARNING: No supported msghdr structure was found. ACE may not compile or function properly." >&2;} - - - fi - - fi - -fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for open() mode masks" >&5 -$as_echo_n "checking for open() mode masks... " >&6; } - if ${ace_cv_feature_have_open_mode_masks+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include - -/* These are ORed so that ACE will not redefine any of them if any of - them exist. */ -#if defined (S_IRWXU) || \ - defined (S_IRUSR) || \ - defined (S_IWUSR) || \ - defined (S_IXUSR) || \ - defined (S_IRWXG) || \ - defined (S_IRGRP) || \ - defined (S_IWGRP) || \ - defined (S_IXGRP) || \ - defined (S_IRWXO) || \ - defined (S_IROTH) || \ - defined (S_IWOTH) || \ - defined (S_IXOTH) - ACE_OPEN_MODE_MASKS_EXIST -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "ACE_OPEN_MODE_MASKS_EXIST" >/dev/null 2>&1; then : - - ace_cv_feature_have_open_mode_masks=yes - -else - - ace_cv_feature_have_open_mode_masks=no - -fi -rm -f conftest* - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_have_open_mode_masks" >&5 -$as_echo "$ace_cv_feature_have_open_mode_masks" >&6; } - if test "$ace_cv_feature_have_open_mode_masks" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_MODE_MASKS 1" >>confdefs.h - - - fi - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX O_NONBLOCK semantics" >&5 -$as_echo_n "checking for POSIX O_NONBLOCK semantics... " >&6; } - if ${ace_cv_feature_posix_o_nonblock+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include - -#if defined (O_NONBLOCK) - ACE_POSIX_O_NONBLOCK -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "ACE_POSIX_O_NONBLOCK" >/dev/null 2>&1; then : - - ace_cv_feature_posix_o_nonblock=yes - -else - - ace_cv_feature_posix_o_nonblock=no - -fi -rm -f conftest* - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_posix_o_nonblock" >&5 -$as_echo "$ace_cv_feature_posix_o_nonblock" >&6; } - if test "$ace_cv_feature_posix_o_nonblock" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_POSIX_NONBLOCK 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_FAILED constant" >&5 -$as_echo_n "checking for MAP_FAILED constant... " >&6; } - if ${ace_cv_lib_have_map_failed+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - ACEMAPFAILED MAP_FAILED - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "ACEMAPFAILED.+[0-9]" >/dev/null 2>&1; then : - - ace_cv_lib_have_map_failed=yes - -else - - ace_cv_lib_have_map_failed=no - -fi -rm -f conftest* - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_have_map_failed" >&5 -$as_echo "$ace_cv_lib_have_map_failed" >&6; } - if test "$ace_cv_lib_have_map_failed" != no; then - ace_just_a_place_holder=fixme - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MAP_FAILED is a long constant" >&5 -$as_echo_n "checking if MAP_FAILED is a long constant... " >&6; } - if ${ace_cv_feature_long_map_failed+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - ACEMAPFAILED MAP_FAILED - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "ACEMAPFAILED.+[0-9]L" >/dev/null 2>&1; then : - - ace_cv_feature_long_map_failed=yes - -else - - ace_cv_feature_long_map_failed=no - -fi -rm -f conftest* - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_long_map_failed" >&5 -$as_echo "$ace_cv_feature_long_map_failed" >&6; } - if test "$ace_cv_feature_long_map_failed" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_LONG_MAP_FAILED 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MAP_FAILED is not cast to void *" >&5 -$as_echo_n "checking if MAP_FAILED is not cast to void *... " >&6; } - if ${ace_cv_have_broken_map_failed+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - void * foo = MAP_FAILED; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_have_broken_map_failed=no - -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - void * foo = (void *) MAP_FAILED; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_have_broken_map_failed=yes - -else - - ace_cv_have_broken_map_failed=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_have_broken_map_failed" >&5 -$as_echo "$ace_cv_have_broken_map_failed" >&6; } - if test "$ace_cv_have_broken_map_failed" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_BROKEN_MAP_FAILED 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - - - fi - - - else - ace_just_a_place_holder=fixme - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TCP_NODELAY support" >&5 -$as_echo_n "checking for TCP_NODELAY support... " >&6; } - if ${ace_cv_feature_tcp_nodelay+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - -#if defined (TCP_NODELAY) - ACE_TCPNODELAY -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "ACE_TCPNODELAY" >/dev/null 2>&1; then : - - ace_cv_feature_tcp_nodelay=yes - -else - - ace_cv_feature_tcp_nodelay=no - -fi -rm -f conftest* - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_tcp_nodelay" >&5 -$as_echo "$ace_cv_feature_tcp_nodelay" >&6; } - if test "$ace_cv_feature_tcp_nodelay" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_TCP_NODELAY 1" >>confdefs.h - - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SO_SNDBUF/SO_RCVBUF socket options" >&5 -$as_echo_n "checking for SO_SNDBUF/SO_RCVBUF socket options... " >&6; } - if ${ace_cv_feature_so_sndbuf_rcvbuf+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - -#if defined (SO_SNDBUF) && \ - defined (SO_RCVBUF) - ACE_SO_BUF -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "ACE_SO_BUF" >/dev/null 2>&1; then : - - ace_cv_feature_so_sndbuf_rcvbuf=yes - -else - - ace_cv_feature_so_sndbuf_rcvbuf=no - -fi -rm -f conftest* - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_so_sndbuf_rcvbuf" >&5 -$as_echo "$ace_cv_feature_so_sndbuf_rcvbuf" >&6; } - if test "$ace_cv_feature_so_sndbuf_rcvbuf" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_SOCKET_BUFSIZ 1" >>confdefs.h - - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ACE memcpy needs loop unrolling" >&5 -$as_echo_n "checking if ACE memcpy needs loop unrolling... " >&6; } - if ${ace_cv_memcpy_loop_unroll+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : - ace_cv_memcpy_loop_unroll=no -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include - -void* -smemcpy (void* dest, const void* src, const size_t n) -{ - unsigned char* to = static_cast( dest) ; - const unsigned char* from = static_cast( src) ; - // Unroll the loop... - switch (n) - { - case 16: to[15] = from[15] ; - case 15: to[14] = from[14] ; - case 14: to[13] = from[13] ; - case 13: to[12] = from[12] ; - case 12: to[11] = from[11] ; - case 11: to[10] = from[10] ; - case 10: to[9] = from[9] ; - case 9: to[8] = from[8] ; - case 8: to[7] = from[7] ; - case 7: to[6] = from[6] ; - case 6: to[5] = from[5] ; - case 5: to[4] = from[4] ; - case 4: to[3] = from[3] ; - case 3: to[2] = from[2] ; - case 2: to[1] = from[1] ; - case 1: to[0] = from[0] ; - case 0: return dest; - default: return memcpy (dest, src, n); - } -} - -// Function pointer -void* (* test_func) (void *dst, const void* src, size_t); - -namespace { enum { ITERATIONS = 100000 }; } - -#include -#include - -int -main(int argc, char* argv[]) -{ - struct timeval start, now; - double value; - - // Test buffer - char dest [16]; - const void* src = " THIS IS A TEST"; - - // We want to test if the loop unrolling is faster for sizes - // from 1..16 - for (size_t counter = 16; counter >=1; counter--) - { - test_func = smemcpy; - - // Warm up - for (int i = ITERATIONS ; i > 0 ; --i) - test_func ((void *)dest, src, counter); - - gettimeofday (&start, 0) ; - for (int j = ITERATIONS ; j > 0 ; --j) - test_func ((void *)dest, src, counter); - gettimeofday (&now, 0); - - double fast = 1000000 * (now.tv_sec - start.tv_sec) + - now.tv_usec - start.tv_usec ; - - test_func = memcpy; - - // Warm up - for (int k = ITERATIONS ; k > 0 ; --k) - test_func ((void *)dest, src, counter); - - gettimeofday (&start, 0) ; - for (int l = ITERATIONS ; l > 0 ; --l) - test_func ((void *)dest, src, counter); - gettimeofday (&now, 0) ; - - double slow = 1000000 * (now.tv_sec-start.tv_sec) + - now.tv_usec - start.tv_usec ; - if (fast > slow) - return 1; // Unrolling was slower than actual memcpy - - if (1.10*fast > slow) - return 1; // Unrolling was not faster by 10% - } - return 0; // Unrolling was faster -- success -} -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - ace_cv_memcpy_loop_unroll=yes -else - ace_cv_memcpy_loop_unroll=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_memcpy_loop_unroll" >&5 -$as_echo "$ace_cv_memcpy_loop_unroll" >&6; } - if test "$ace_cv_memcpy_loop_unroll" != no; then - ace_just_a_place_holder=fixme - -$as_echo "#define ACE_HAS_MEMCPY_LOOP_UNROLL 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - -if test "$ac_cv_header_dlfcn_h" = yes && - test "$ace_has_svr4_dynamic_linking" = yes; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for automatic init/fini calls" >&5 -$as_echo_n "checking for automatic init/fini calls... " >&6; } - if ${ace_cv_feature_auto_init_fini+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ace_cv_feature_auto_init_fini=yes - # TODO: We know how to check for this, but we need to: - # - # 1. Compile one file. - # 2. Compile and link another file. - # 3. Run file in point (2); it returns what we need. - # - # How do we do all that? - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_auto_init_fini" >&5 -$as_echo "$ace_cv_feature_auto_init_fini" >&6; } - if test "$ace_cv_feature_auto_init_fini" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_AUTOMATIC_INIT_FINI 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - -fi -if test "$ace_user_enable_threads" = yes; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recursive thread exit semantics" >&5 -$as_echo_n "checking for recursive thread exit semantics... " >&6; } - if ${ace_cv_feature_recursive_thr_exit+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ace_cv_feature_recursive_thr_exit=yes - # TODO: How do we check for recursive thread exit semantics - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_recursive_thr_exit" >&5 -$as_echo "$ace_cv_feature_recursive_thr_exit" >&6; } - if test "$ace_cv_feature_recursive_thr_exit" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - -fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX domain sockets" >&5 -$as_echo_n "checking for UNIX domain sockets... " >&6; } - if ${ace_cv_feature_unix_sockets+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - -int -main () -{ - - sockaddr_un su; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_feature_unix_sockets=yes - -else - - ace_cv_feature_unix_sockets=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_unix_sockets" >&5 -$as_echo "$ace_cv_feature_unix_sockets" >&6; } - if test "$ace_cv_feature_unix_sockets" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_UNIX_DOMAIN_SOCKETS 1" >>confdefs.h - - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for raw sockets" >&5 -$as_echo_n "checking for raw sockets... " >&6; } - if ${ace_cv_feature_raw_sockets+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include - -int -main () -{ - -return socket(AF_INET, SOCK_RAW, IPPROTO_RAW); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_feature_raw_sockets=yes - -else - - ace_cv_feature_raw_sockets=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_raw_sockets" >&5 -$as_echo "$ace_cv_feature_raw_sockets" >&6; } - if test "$ace_cv_feature_raw_sockets" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_ICMP_SUPPORT 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ACE_Handle_Set optimized for select()" >&5 -$as_echo_n "checking for ACE_Handle_Set optimized for select()... " >&6; } - if ${ace_cv_feature_handle_set_optimized_for_select+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ace_cv_feature_handle_set_optimized_for_select=yes - # TODO: We know how to check this. We need to: - # - # 1. Compile and link a file. - # 2. Run nm on that file. - # - # How do we do that? - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_handle_set_optimized_for_select" >&5 -$as_echo "$ace_cv_feature_handle_set_optimized_for_select" >&6; } - if test "$ace_cv_feature_handle_set_optimized_for_select" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IP multicast support" >&5 -$as_echo_n "checking for IP multicast support... " >&6; } - if ${ace_cv_feature_ip_multicast+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - -int -main () -{ - - ip_mreq im; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_feature_ip_multicast=yes - -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - -int -main () -{ - - ip_mreq im; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_feature_ip_multicast=yes - -else - - ace_cv_feature_ip_multicast=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_ip_multicast" >&5 -$as_echo "$ace_cv_feature_ip_multicast" >&6; } - if test "$ace_cv_feature_ip_multicast" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_IP_MULTICAST 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if running on an Alpha" >&5 -$as_echo_n "checking if running on an Alpha... " >&6; } - if ${ace_cv_feature_alpha+:} false; then : - $as_echo_n "(cached) " >&6 -else - - case "$host" in - alpha*) - ace_cv_feature_alpha=yes - ;; - *) - ace_cv_feature_alpha=no - ;; - esac - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_alpha" >&5 -$as_echo "$ace_cv_feature_alpha" >&6; } - if test "$ace_cv_feature_alpha" != no; then - ace_just_a_place_holder=fixme - - case "$host" in - *linux*) - if test "$GXX" = yes; then - -$as_echo "#define ACE_HAS_ALPHA_TIMER 1" >>confdefs.h - - fi - ;; - esac - - else - ace_just_a_place_holder=fixme - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if running on a Power PC" >&5 -$as_echo_n "checking if running on a Power PC... " >&6; } - if ${ace_cv_feature_powerpc+:} false; then : - $as_echo_n "(cached) " >&6 -else - - case "$host" in - powerpc*) - ace_cv_feature_powerpc=yes - ;; - *) - ace_cv_feature_powerpc=no - ;; - esac - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_powerpc" >&5 -$as_echo "$ace_cv_feature_powerpc" >&6; } - if test "$ace_cv_feature_powerpc" != no; then - ace_just_a_place_holder=fixme - - case "$host" in - *aix*) - ;; - *) - if test "$GXX" = yes; then - -$as_echo "#define ACE_HAS_POWERPC_TIMER 1" >>confdefs.h - - fi - ;; - esac - - else - ace_just_a_place_holder=fixme - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if running on a Pentium(tm) processor" >&5 -$as_echo_n "checking if running on a Pentium(tm) processor... " >&6; } - if ${ace_cv_feature_pentium+:} false; then : - $as_echo_n "(cached) " >&6 -else - - case "$host" in - i386-* | i486-* |i586-* | i686-*) - if test "$GXX" = yes; then - ace_cv_feature_pentium=yes - else - ace_cv_feature_pentium=no - fi - ;; - *) - ace_cv_feature_pentium=no - ;; - esac - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_pentium" >&5 -$as_echo "$ace_cv_feature_pentium" >&6; } - if test "$ace_cv_feature_pentium" != no; then - ace_just_a_place_holder=fixme - - -$as_echo "#define ACE_HAS_PENTIUM 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - fi - - if test X$ace_cv_feature_pentium = Xyes; then - ACE_ON_PENTIUM_TRUE= - ACE_ON_PENTIUM_FALSE='#' -else - ACE_ON_PENTIUM_TRUE='#' - ACE_ON_PENTIUM_FALSE= -fi - - -case "$host" in - i386-* | i486-* | i586-* | i686-* | x86_64-*) - if test "$GXX" = yes; then - ace_cv_has_intel_assembly=yes - else - ace_cv_has_intel_assembly=no - fi - ;; - *) - ace_cv_has_intel_assembly=no - ;; -esac -if test "$ace_cv_has_intel_assembly" != "no"; then - -$as_echo "#define ACE_HAS_INTEL_ASSEMBLY 1" >>confdefs.h - -fi - - - - -if test "$ace_user_enable_reentrant_funcs" = yes && - test "$ac_cv_func_rand_r" = yes && - test "$ac_cv_func_strtok_r" = yes && - test "$ac_cv_func_ctime_r" = yes && - test "$ac_cv_func_localtime_r" = yes && - test "$ac_cv_func_gmtime_r" = yes && - test "$ac_cv_func_asctime_r" = yes; then - $as_echo "#define ACE_HAS_REENTRANT_FUNCTIONS 1" >>confdefs.h - - # Explicitly enable reentrant functions if thread support is not enabled. - if test "$ace_user_enable_threads" = no; then - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_REENTRANT" - fi -fi - -if test "$ace_user_enable_reentrant_funcs" = no || - test "$ac_cv_func_getprotobyname_r" = no || - test "$ac_cv_func_getprotobynumber_r" = no || - test "$ac_cv_func_gethostbyaddr_r" = no || - test "$ac_cv_func_gethostbyname_r" = no || - test "$ac_cv_func_getservbyname_r" = no; then - $as_echo "#define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS 1" >>confdefs.h - -fi - -case "$host" in - *linux* | *freebsd*) $as_echo "#define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS 1" >>confdefs.h -;; - *) ;; -esac - - - - -if test "$ac_cv_func_msgctl" = yes && - test "$ac_cv_func_msgget" = yes && - test "$ac_cv_func_msgrcv" = yes && - test "$ac_cv_func_semctl" = yes && - test "$ac_cv_func_semget" = yes && - test "$ac_cv_func_semop" = yes && - test "$ac_cv_func_shmat" = yes && - test "$ac_cv_func_shmctl" = yes && - test "$ac_cv_func_shmdt" = yes && - test "$ac_cv_func_shmget" = yes; then - $as_echo "#define ACE_HAS_SYSV_IPC 1" >>confdefs.h - -fi - -if test "$ac_cv_func_shmat" != yes || - test "$ac_cv_func_shmctl" != yes || - test "$ac_cv_func_shmdt" != yes || - test "$ac_cv_func_shmget" != yes; then - $as_echo "#define ACE_LACKS_SYSV_SHMEM 1" >>confdefs.h - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which POSIX thread library was found" >&5 -$as_echo_n "checking which POSIX thread library was found... " >&6; } - -ace_has_pthreads=no - -if test "$ac_cv_func_pthread_mutexattr_create" = yes && - test "$ac_cv_func_pthread_mutexattr_delete" = yes && - test "$ac_cv_func_pthread_condattr_delete" = yes && - test "$ac_cv_func_pthread_condattr_create" = yes && - test "$ac_cv_func_pthread_setprio" = yes && - test "$ac_cv_func_pthread_getprio" = yes && - test "$ac_cv_func_pthread_setcancel" = yes && - test "$ac_cv_func_pthread_setasynccancel" = yes && - test "$ac_cv_func_pthread_kill" = yes; then - ace_has_pthreads=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: POSIX Threads Draft 4" >&5 -$as_echo "POSIX Threads Draft 4" >&6; } - -$as_echo "#define ACE_HAS_PTHREADS_DRAFT4 1" >>confdefs.h - -elif test "$ac_cv_func_pthread_mutexattr_init" = yes && - test "$ac_cv_func_pthread_mutexattr_destroy" = yes && - test "$ac_cv_func_pthread_condattr_destroy" = yes && - test "$ac_cv_func_pthread_condattr_init" = yes && - test "$ac_cv_func_pthread_attr_setprio" = yes && - test "$ac_cv_func_pthread_attr_getprio" = yes && - test "$ac_cv_func_pthread_setintr" = yes && - test "$ac_cv_func_pthread_setintrtype" = yes; then - ace_has_pthreads=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: POSIX Threads Draft 6" >&5 -$as_echo "POSIX Threads Draft 6" >&6; } - -$as_echo "#define ACE_HAS_PTHREADS_DRAFT6 1" >>confdefs.h - -elif test "$ac_cv_func_pthread_mutexattr_init" = yes && - test "$ac_cv_func_pthread_mutexattr_destroy" = yes && - test "$ac_cv_func_pthread_condattr_destroy" = yes && - test "$ac_cv_func_pthread_condattr_init" = yes && - test "$ac_cv_func_pthread_setschedparam" = yes && - test "$ac_cv_func_pthread_getschedparam" = yes && - test "$ac_cv_func_pthread_setcancelstate" = yes && - test "$ac_cv_func_pthread_setcanceltype" = yes && - test "$ace_has_sched_yield" != yes; then - ace_has_pthreads=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: POSIX Threads Draft 7" >&5 -$as_echo "POSIX Threads Draft 7" >&6; } - -$as_echo "#define ACE_HAS_PTHREADS_DRAFT7 1" >>confdefs.h - -elif test "$ac_cv_func_pthread_mutexattr_init" = yes && - test "$ac_cv_func_pthread_mutexattr_destroy" = yes && - test "$ac_cv_func_pthread_condattr_destroy" = yes && - test "$ac_cv_func_pthread_condattr_init" = yes && - test "$ac_cv_func_pthread_setschedparam" = yes && - test "$ac_cv_func_pthread_getschedparam" = yes && - test "$ac_cv_func_pthread_setcancelstate" = yes && - test "$ac_cv_func_pthread_setcanceltype" = yes && - test "$ace_has_sched_yield" = yes; then - ace_has_pthreads=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: POSIX Threads Draft Standard" >&5 -$as_echo "POSIX Threads Draft Standard" >&6; } - -$as_echo "#define ACE_HAS_PTHREADS_STD 1" >>confdefs.h - -else - ace_has_pthreads=no - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 -$as_echo "none" >&6; } -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if a UNIX International thread library was found" >&5 -$as_echo_n "checking if a UNIX International thread library was found... " >&6; } -if test "$ace_has_sthreads" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - -if test "$ace_user_enable_threads" != yes || - test "$ace_has_pthreads" != yes && - test "$ace_has_sthreads" != yes; then - ace_user_enable_threads=no - if test -n "$ACE_THR_CPPFLAGS"; then - CPPFLAGS=`eval "echo $CPPFLAGS | sed -e 's/$ACE_THR_CPPFLAGS//' -e 's/-D_THREAD_SAFE\(=[0-9]*\)\?//'"` - fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: It appears that you do NOT have any usable thread libraries" >&5 -$as_echo "$as_me: WARNING: It appears that you do NOT have any usable thread libraries" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: or thread support was explicitly disabled." >&5 -$as_echo "$as_me: WARNING: or thread support was explicitly disabled." >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling thread support." >&5 -$as_echo "$as_me: WARNING: Disabling thread support." >&2;} - if test "$ac_cv_func_readdir_r" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling support for readdir_r() since thread support" >&5 -$as_echo "$as_me: WARNING: Disabling support for readdir_r() since thread support" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: is being disabled." >&5 -$as_echo "$as_me: WARNING: is being disabled." >&2;} - $as_echo "#define ACE_LACKS_READDIR_R 1" >>confdefs.h - - fi fi -if test "$ace_user_enable_threads" = yes; then - $as_echo "#define ACE_HAS_THREADS 1" >>confdefs.h - - $as_echo "#define ACE_MT_SAFE 1" >>confdefs.h - - ACE_CPPFLAGS="$ACE_CPPFLAGS $ACE_THR_CPPFLAGS" - - if test "$ace_has_pthreads" = yes; then - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join null status pointer support" >&5 -$as_echo_n "checking for pthread_join null status pointer support... " >&6; } - if ${ace_cv_have_null_status_pthread_join+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#if defined (ACE_HAS_PTHREADS) && defined (ACE_HAS_PTHREADS_DRAFT4) -/* This test is only valid for Pthreads Draft 4 */ -WE_HAVE_PTHREADS_D4 -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "WE_HAVE_PTHREADS_D4" >/dev/null 2>&1; then : - - if test "$cross_compiling" = yes; then : - - ace_cv_have_null_status_pthread_join=yes - -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef _REENTRANT -#define _REENTRANT -#endif - -#include - -/* _THREAD_SAFE is defined in on some platforms. */ -#ifndef _THREAD_SAFE -#define _THREAD_SAFE -#endif - -#include - -#ifdef __cplusplus -extern "C" -#endif -void * -nothing (void *unused) -{ - return (void *) 34; -}; - -int -main () -{ - pthread_attr_t attr; - pthread_t id; - void *status; - int retval = 0; - - /* ----- */ - /* We return 0 on error for these calls since we only want to - return an error status if pthread_join fails. If these calls - fail then we've got other problems! */ - if (pthread_attr_create (&attr) != 0) return 0 /*1*/; - - if (pthread_create (&id, attr, nothing, 0) != 0) return 0 /*2*/; - - if (pthread_attr_delete (&attr) != 0) return /*3*/; - /* ----- */ - - /* With a second (status) arg of 0, LynxOS 3.0.0 pthread_join () - will fail with errno 14 (address fault detected). */ - if (pthread_join (id, 0) == -1) { - fprintf (stderr, "%s: %d; ", __FILE__, __LINE__); - perror ("pthread_join"); - retval = 1; - } - - if (pthread_join (id, &status) == -1) { - fprintf (stderr, "%s: %d; ", __FILE__, __LINE__); - perror ("pthread_join"); - retval = 2; - } - - return retval; -} - -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - - ace_cv_have_null_status_pthread_join=yes - -else - - ace_cv_have_null_status_pthread_join=no - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - -else - - ace_cv_have_null_status_pthread_join=yes - -fi -rm -f conftest* - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_have_null_status_pthread_join" >&5 -$as_echo "$ace_cv_have_null_status_pthread_join" >&6; } - if test "$ace_cv_have_null_status_pthread_join" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_NULL_PTHREAD_STATUS 1" >>confdefs.h - - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mutex timeouts" >&5 -$as_echo_n "checking for mutex timeouts... " >&6; } - if ${ace_cv_have_mutex_timeouts+:} false; then : - $as_echo_n "(cached) " >&6 -else - - if test "$cross_compiling" = yes; then : - - ac_fn_cxx_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock" -if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes; then : - ace_cv_have_mutex_timeouts=yes -else - ace_cv_have_mutex_timeouts=no -fi - - -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef _REENTRANT -#define _REENTRANT -#endif - -#include - -/* _THREAD_SAFE is defined in on some platforms. */ -#ifndef _THREAD_SAFE -#define _THREAD_SAFE -#endif - -#include - -#include -#include - -#include -#ifndef ACE_LACKS_UNISTD_H -# include -#endif - -pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; - -#ifdef __cplusplus -extern "C" -#endif -void *threadFunc (void *parm) -{ - int rc; - int i; - struct timespec deltatime; - struct timeval tv; - - if (gettimeofday (&tv, 0) != 0) - { - return 0; - } - - deltatime.tv_sec = tv.tv_sec + 5; - deltatime.tv_nsec = 0; - - rc = pthread_mutex_timedlock (&mutex, &deltatime); - - if (rc != ETIMEDOUT) - { - /* printf("Got an incorrect return code from pthread_mutex_timedlock\n"); */ - } - - return 0; -} - -int main (void) -{ - int rc =0; - pthread_t thread; - - rc = pthread_mutex_lock (&mutex); - if (rc != 0) - { - exit (-1); - } - - rc = pthread_create (&thread, NULL, threadFunc, NULL); - if (rc != 0) - { - exit (-1); - } - - rc = pthread_join (thread, NULL); - if (rc != 0) - { - exit (-1); - } - - pthread_mutex_destroy (&mutex); - - return 0; -} - -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - - ace_cv_have_mutex_timeouts=yes - -else - - ace_cv_have_mutex_timeouts=no - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_have_mutex_timeouts" >&5 -$as_echo "$ace_cv_have_mutex_timeouts" >&6; } - if test "$ace_cv_have_mutex_timeouts" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_MUTEX_TIMEOUTS 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sched.h is needed for thread scheduling definitions" >&5 -$as_echo_n "checking if sched.h is needed for thread scheduling definitions... " >&6; } - if ${ace_cv_needs_sched_h+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifdef ACE_HAS_STHREADS -#include -#endif - -#ifdef ACE_HAS_PTHREADS -#include -#endif - -int -main () -{ - -int foo = SCHED_OTHER; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_needs_sched_h=no - -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifdef ACE_HAS_STHREADS -#include -#endif - -#ifdef ACE_HAS_PTHREADS -#include -#endif - -#include - -int -main () -{ - -int foo = SCHED_OTHER; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_needs_sched_h=yes - -else - - ace_cv_needs_sched_h=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_needs_sched_h" >&5 -$as_echo "$ace_cv_needs_sched_h" >&6; } - if test "$ace_cv_needs_sched_h" != no; then - ace_just_a_place_holder=fixme - - $as_echo "#define ACE_NEEDS_SCHED_H 1" >>confdefs.h - - - else - ace_just_a_place_holder=fixme - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SCHED_OTHER is only scheduling policy" >&5 -$as_echo_n "checking if SCHED_OTHER is only scheduling policy... " >&6; } - if ${ace_cv_feature_only_have_sched_other+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifdef ACE_HAS_STHREADS -# include -#endif - -#ifdef ACE_HAS_PTHREADS -# include -#endif - -#if defined (ACE_NEEDS_SCHED_H) -# include -#endif - - /* These are ORed so that ACE will not redefine - any of them if any of them exist. */ -#if !defined (SCHED_FIFO) && \ - !defined (SCHED_RR) && \ - defined (SCHED_OTHER) - WE_ONLY_HAVE_SCHED_OTHER -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "WE_ONLY_HAVE_SCHED_OTHER" >/dev/null 2>&1; then : - - ace_cv_feature_only_have_sched_other=yes - -else - - if test "$cross_compiling" = yes; then : - - ace_cv_feature_only_have_sched_other=no - -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifndef _REENTRANT -#define _REENTRANT -#endif - -#include - -/* _THREAD_SAFE is defined in on some platforms. */ -#ifndef _THREAD_SAFE -#define _THREAD_SAFE -#endif - -#include -#include - -int main () -{ - pthread_attr_t ace_attr; - -#if defined (ACE_HAS_PTHREADS_DRAFT4) - if (pthread_attr_create (&ace_attr) != 0) -#else - if (pthread_attr_init (&ace_attr) != 0) -#endif - { - perror ("pthread_attr_init"); - return 0; /* Return "successfully" since only the policy call - will return with an error for this test. */ - } - -#if defined (ACE_HAS_PTHREADS_DRAFT4) - if (pthread_attr_setsched (&ace_attr, SCHED_FIFO) != 0) -#else - if (pthread_attr_setschedpolicy (&ace_attr, SCHED_FIFO) != 0) -#endif - { - perror ("pthread_attr_setschedpolicy"); - return -1; - } - -#if defined (ACE_HAS_PTHREADS_DRAFT4) - if (pthread_attr_delete (&ace_attr) != 0) -#else - if (pthread_attr_destroy (&ace_attr) != 0) -#endif - { - perror ("pthread_attr_destroy"); - return 0; /* Return "successfully" since only the policy call - will return with an error for this test. */ - } - - return 0; -} - -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - - ace_cv_feature_only_have_sched_other=no - -else - - ace_cv_feature_only_have_sched_other=yes - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - -fi -rm -f conftest* - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_only_have_sched_other" >&5 -$as_echo "$ace_cv_feature_only_have_sched_other" >&6; } - if test "$ace_cv_feature_only_have_sched_other" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_HAS_ONLY_SCHED_OTHER 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - fi fi - -ac_fn_cxx_check_header_mongrel "$LINENO" "libc.h" "ac_cv_header_libc_h" "$ac_includes_default" -if test "x$ac_cv_header_libc_h" = xyes; then : - -fi - - -ac_fn_cxx_check_header_mongrel "$LINENO" "osfcn.h" "ac_cv_header_osfcn_h" "$ac_includes_default" -if test "x$ac_cv_header_osfcn_h" = xyes; then : - -fi - - -if test "$ac_cv_header_libc_h" != yes || - test "$ac_cv_header_osfcn_h" != yes; then - $as_echo "#define ACE_HAS_CPLUSPLUS_HEADERS 1" >>confdefs.h - -fi - - - -if test "$ace_cv_lib_signal_vi1_2" = yes && - test "$ace_cv_lib_signal_vi1_ret" = yes && - test "$ace_cv_lib_struct_sigaction_vi1_handler" = yes; then - $as_echo "#define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES 1" >>confdefs.h - -elif test "$ace_cv_lib_signal_vi1_2" != yes && - test "$ace_cv_lib_signal_vv1_2" != yes && - test "$ace_cv_lib_signal_vi1a2_2" != yes && - test "$ace_cv_lib_signal_va1_2" = yes && - test "$ace_cv_lib_signal_vi1_ret" != yes && - test "$ace_cv_lib_signal_vv1_ret" != yes && - test "$ace_cv_lib_signal_vi1a2_ret" != yes && - test "$ace_cv_lib_signal_va1_ret" = yes && - test "$ace_cv_lib_struct_sigaction_vi1_handler" != yes && - test "$ace_cv_lib_struct_sigaction_vv1_handler" != yes && - test "$ace_cv_lib_struct_sigaction_vi1a2_handler" != yes && - test "$ace_cv_lib_struct_sigaction_va1_handler" = yes; then - $as_echo "#define ACE_HAS_LYNXOS4_SIGNALS 1" >>confdefs.h - - $as_echo "#define ACE_HAS_TANDEM_SIGNALS 1" >>confdefs.h - -elif test "$ace_cv_lib_signal_vi1_2" = yes && - test "$ace_cv_lib_signal_vi1_ret" = yes && - test "$ace_cv_lib_struct_sigaction_vi1_handler" != yes; then - $as_echo "#define ACE_HAS_SVR4_SIGNAL_T 1" >>confdefs.h - -elif test "$ace_cv_lib_signal_vi1_2" = yes && - test "$ace_cv_lib_signal_vv1_ret" = yes && - test "$ace_cv_lib_struct_sigaction_vv1_handler" = yes; then - $as_echo "#define ACE_HAS_SVR4_SIGNAL_T 1" >>confdefs.h - -elif test "$ace_cv_lib_signal_vi1_2" = yes && - test "$ace_cv_lib_signal_vi1_ret" != yes && - test "$ace_cv_lib_signal_vv1_ret" != yes && - test "$ace_cv_lib_signal_vi1a2_ret" != yes && - test "$ace_cv_lib_signal_va1_ret" = yes && - test "$ace_cv_lib_struct_sigaction_vi1_handler" != yes && - test "$ace_cv_lib_struct_sigaction_vv1_handler" != yes && - test "$ace_cv_lib_struct_sigaction_vi1a2_handler" != yes && - test "$ace_cv_lib_struct_sigaction_va1_handler" = yes; then - $as_echo "#define ACE_HAS_UNIXWARE_SVR4_SIGNAL_T 1" >>confdefs.h - -fi - -if test "$ace_u_long_long_typedef_set" = yes; then - -cat >>confdefs.h <<_ACEOF -#define ACE_INT64_TYPE $ACE_INT64 -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define ACE_UINT64_TYPE $ACE_UINT64 -_ACEOF - -fi - -if test "$ace_user_enable_optimize"; then - CXXFLAGS="$CXXFLAGS $OCXXFLAGS" - CFLAGS="$CFLAGS $OCFLAGS" -fi -CXXFLAGS="$ACE_CXXFLAGS $X_CFLAGS $CXXFLAGS" -CFLAGS="$ACE_CFLAGS $X_CFLAGS $CFLAGS" -CPPFLAGS="$ACE_CPPFLAGS $CPPFLAGS" -LDFLAGS="$ACE_LDFLAGS $LDFLAGS" - - -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) { eval $ac_var=; unset $ac_var;} ;; - esac ;; - esac - done - - (set) 2>&1 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes: double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \. - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; #( - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) | - sed ' - /^ac_cv_env_/b end - t clear - :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - :end' >>confcache -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else - if test -w "$cache_file"; then - if test "x$cache_file" != "x/dev/null"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} - if test ! -f "$cache_file" || test -h "$cache_file"; then - cat confcache >"$cache_file" - else - case $cache_file in #( - */* | ?:*) - mv -f confcache "$cache_file"$$ && - mv -f "$cache_file"$$ "$cache_file" ;; #( - *) - mv -f confcache "$cache_file" ;; - esac - fi - fi - else - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} - fi -fi -rm -f confcache - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if generated ACE configuration is usable" >&5 -$as_echo_n "checking if generated ACE configuration is usable... " >&6; } - if ${ace_cv_configuration_is_usable+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - test -d ace/config.h && as_fn_error $? "cannot create file: $acetmp is a directory" "$LINENO" 5 - - test -f ${srcdir}/ace/config.h && mv ${srcdir}/ace/config.h ${srcdir}/ace/config.h.conf - - if test ${srcdir} != "."; then - as_dir=`$as_dirname -- "ace/config.h" || -$as_expr X"ace/config.h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"ace/config.h" : 'X\(//\)[^/]' \| \ - X"ace/config.h" : 'X\(//\)$' \| \ - X"ace/config.h" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"ace/config.h" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'`; as_fn_mkdir_p - fi - - touch ace/config.h - - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - - ace_pre_try_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS -I. -I${srcdir}" - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -// Include ".cpp" files instead of headers so that we can get a more -// thorough test compile. -#include "ace/Time_Value.cpp" -#include "ace/Reactor.cpp" - -int -main () -{ - - ACE_Time_Value t = ACE_OS::gettimeofday (); - t++; - - ACE_Reactor * r = ACE_Reactor::instance (); - - (void) r->close (); - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_configuration_is_usable=yes - -else - - ace_cv_configuration_is_usable=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - CXXFLAGS="$ace_pre_try_CXXFLAGS" - - - - - if test -f ${srcdir}/ace/config.h.conf; then - mv ${srcdir}/ace/config.h.conf ${srcdir}/ace/config.h - fi - - if test ${srcdir} != "."; then - rm ace/config.h - fi - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_configuration_is_usable" >&5 -$as_echo "$ace_cv_configuration_is_usable" >&6; } - if test "$ace_cv_configuration_is_usable" != no; then - ace_just_a_place_holder=fixme - - - else - ace_just_a_place_holder=fixme - - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: -The generated configuration appears to be unusable. Please verify -that your system path and environment variables are correct. If they -appear to be correct then please send the maintainer of this configure -script $ACE_CONFIGURE_MAINTAINER the *COMPRESSED* 'config.log' file, -the generated ace/config.h file and the following information: - - ACE 'configure' Script Information - ================================== - RCS Id: configure.ac 92183 2010-10-08 08:44:15Z olli - - - ACE Version: 5.8.3 - C++ Compiler: $CXX - C++ Preprocessor: $CXXCPP - C++ Flags: $CXXFLAGS - Preprocessor Flags: $CPPFLAGS - Linker: $LD - Linker Flags: $LDFLAGS - Libraries: $LIBS - System type information: - Build: $build Host: $host - -In the meantime, please use the stock ACE build procedure detailed in -the file 'ACE-INSTALL.html'. - " >&5 -$as_echo "$as_me: WARNING: -The generated configuration appears to be unusable. Please verify -that your system path and environment variables are correct. If they -appear to be correct then please send the maintainer of this configure -script $ACE_CONFIGURE_MAINTAINER the *COMPRESSED* 'config.log' file, -the generated ace/config.h file and the following information: - - ACE 'configure' Script Information - ================================== - RCS Id: configure.ac 92183 2010-10-08 08:44:15Z olli - - - ACE Version: 5.8.3 - C++ Compiler: $CXX - C++ Preprocessor: $CXXCPP - C++ Flags: $CXXFLAGS - Preprocessor Flags: $CPPFLAGS - Linker: $LD - Linker Flags: $LDFLAGS - Libraries: $LIBS - System type information: - Build: $build Host: $host - -In the meantime, please use the stock ACE build procedure detailed in -the file 'ACE-INSTALL.html'. - " >&2;} - - - fi - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ACE_IOStream support" >&5 -$as_echo_n "checking for ACE_IOStream support... " >&6; } - if ${ace_cv_feature_ace_iostream+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - test -d ace/config.h && as_fn_error $? "cannot create file: $acetmp is a directory" "$LINENO" 5 - - test -f ${srcdir}/ace/config.h && mv ${srcdir}/ace/config.h ${srcdir}/ace/config.h.conf - - if test ${srcdir} != "."; then - as_dir=`$as_dirname -- "ace/config.h" || -$as_expr X"ace/config.h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"ace/config.h" : 'X\(//\)[^/]' \| \ - X"ace/config.h" : 'X\(//\)$' \| \ - X"ace/config.h" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"ace/config.h" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'`; as_fn_mkdir_p - fi - - touch ace/config.h - - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - - ace_pre_try_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS -I. -I${srcdir}" - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include "ace/IOStream.cpp" - -int -main () -{ - - int a = 0; a += 1; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_feature_ace_iostream=yes - -else - - ace_cv_feature_ace_iostream=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - CXXFLAGS="$ace_pre_try_CXXFLAGS" - - - - - if test -f ${srcdir}/ace/config.h.conf; then - mv ${srcdir}/ace/config.h.conf ${srcdir}/ace/config.h - fi - - if test ${srcdir} != "."; then - rm ace/config.h - fi - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_feature_ace_iostream" >&5 -$as_echo "$ace_cv_feature_ace_iostream" >&6; } - if test "$ace_cv_feature_ace_iostream" != no; then - ace_just_a_place_holder=fixme -: - else - ace_just_a_place_holder=fixme -$as_echo "#define ACE_LACKS_ACE_IOSTREAM 1" >>confdefs.h - - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ACE needs conversion to pass ACE_TTY_IO to DEV_Connector" >&5 -$as_echo_n "checking if ACE needs conversion to pass ACE_TTY_IO to DEV_Connector... " >&6; } - if ${ace_cv_lib_need_dev_io_conv+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - test -d ace/config.h && as_fn_error $? "cannot create file: $acetmp is a directory" "$LINENO" 5 - - test -f ${srcdir}/ace/config.h && mv ${srcdir}/ace/config.h ${srcdir}/ace/config.h.conf - - if test ${srcdir} != "."; then - as_dir=`$as_dirname -- "ace/config.h" || -$as_expr X"ace/config.h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"ace/config.h" : 'X\(//\)[^/]' \| \ - X"ace/config.h" : 'X\(//\)$' \| \ - X"ace/config.h" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"ace/config.h" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'`; as_fn_mkdir_p - fi - - touch ace/config.h - - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - - ace_pre_try_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS -I. -I${srcdir}" - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include "ace/OS.cpp" - -int -main () -{ - - int a=0; a += 1; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_need_dev_io_conv=no - -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - - ace_pre_try_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS -I. -I${srcdir}" - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#define ACE_NEEDS_DEV_IO_CONVERSION -#include "ace/DEV_Connector.cpp" - -int -main () -{ - - int a=0; a += 1; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ace_cv_lib_need_dev_io_conv=yes - -else - - ace_cv_lib_need_dev_io_conv=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - CXXFLAGS="$ace_pre_try_CXXFLAGS" - - - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - CXXFLAGS="$ace_pre_try_CXXFLAGS" - - - - - if test -f ${srcdir}/ace/config.h.conf; then - mv ${srcdir}/ace/config.h.conf ${srcdir}/ace/config.h - fi - - if test ${srcdir} != "."; then - rm ace/config.h - fi - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ace_cv_lib_need_dev_io_conv" >&5 -$as_echo "$ace_cv_lib_need_dev_io_conv" >&6; } - if test "$ace_cv_lib_need_dev_io_conv" != no; then - ace_just_a_place_holder=fixme -$as_echo "#define ACE_NEEDS_DEV_IO_CONVERSION 1" >>confdefs.h - - else - ace_just_a_place_holder=fixme - - fi - - - - - -LD="$PURELINK $PRELINK $LD" - - - - - - -ac_config_files="$ac_config_files Makefile ace/Makefile ace/ETCL/Makefile ace/Monitor_Control/Makefile ace/QoS/Makefile ace/SSL/Makefile bin/Makefile bin/PerlACE/Makefile" - - -ac_config_commands="$ac_config_commands default" - -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) { eval $ac_var=; unset $ac_var;} ;; - esac ;; - esac - done - - (set) 2>&1 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes: double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \. - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; #( - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) | - sed ' - /^ac_cv_env_/b end - t clear - :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - :end' >>confcache -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else - if test -w "$cache_file"; then - if test "x$cache_file" != "x/dev/null"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} - if test ! -f "$cache_file" || test -h "$cache_file"; then - cat confcache >"$cache_file" - else - case $cache_file in #( - */* | ?:*) - mv -f confcache "$cache_file"$$ && - mv -f "$cache_file"$$ "$cache_file" ;; #( - *) - mv -f confcache "$cache_file" ;; - esac - fi - fi - else - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} - fi -fi -rm -f confcache - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -DEFS=-DHAVE_CONFIG_H - -ac_libobjs= -ac_ltlibobjs= -U= -for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue - # 1. Remove the extension, and $U if already installed. - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR - # will be set to the directory where LIBOBJS objects are built. - as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" - as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' -done -LIBOBJS=$ac_libobjs - -LTLIBOBJS=$ac_ltlibobjs - - - if test -n "$EXEEXT"; then - am__EXEEXT_TRUE= - am__EXEEXT_FALSE='#' -else - am__EXEEXT_TRUE='#' - am__EXEEXT_FALSE= -fi - -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then - as_fn_error $? "conditional \"AMDEP\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then - as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${ACE_CROSS_COMPILED_TRUE}" && test -z "${ACE_CROSS_COMPILED_FALSE}"; then - as_fn_error $? "conditional \"ACE_CROSS_COMPILED\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_CROSS_COMPILE_TRUE}" && test -z "${BUILD_CROSS_COMPILE_FALSE}"; then - as_fn_error $? "conditional \"BUILD_CROSS_COMPILE\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_OS_FILES_TRUE}" && test -z "${BUILD_OS_FILES_FALSE}"; then - as_fn_error $? "conditional \"BUILD_OS_FILES\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_CODECS_FILES_TRUE}" && test -z "${BUILD_CODECS_FILES_FALSE}"; then - as_fn_error $? "conditional \"BUILD_CODECS_FILES\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_CONNECTION_FILES_TRUE}" && test -z "${BUILD_CONNECTION_FILES_FALSE}"; then - as_fn_error $? "conditional \"BUILD_CONNECTION_FILES\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_DEMUX_FILES_TRUE}" && test -z "${BUILD_DEMUX_FILES_FALSE}"; then - as_fn_error $? "conditional \"BUILD_DEMUX_FILES\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_FILECACHE_FILES_TRUE}" && test -z "${BUILD_FILECACHE_FILES_FALSE}"; then - as_fn_error $? "conditional \"BUILD_FILECACHE_FILES\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_IPC_FILES_TRUE}" && test -z "${BUILD_IPC_FILES_FALSE}"; then - as_fn_error $? "conditional \"BUILD_IPC_FILES\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_LOGGING_FILES_TRUE}" && test -z "${BUILD_LOGGING_FILES_FALSE}"; then - as_fn_error $? "conditional \"BUILD_LOGGING_FILES\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_MEMORY_FILES_TRUE}" && test -z "${BUILD_MEMORY_FILES_FALSE}"; then - as_fn_error $? "conditional \"BUILD_MEMORY_FILES\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_METRICS_FILES_TRUE}" && test -z "${BUILD_METRICS_FILES_FALSE}"; then - as_fn_error $? "conditional \"BUILD_METRICS_FILES\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_SOCKETS_FILES_TRUE}" && test -z "${BUILD_SOCKETS_FILES_FALSE}"; then - as_fn_error $? "conditional \"BUILD_SOCKETS_FILES\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_STREAMS_FILES_TRUE}" && test -z "${BUILD_STREAMS_FILES_FALSE}"; then - as_fn_error $? "conditional \"BUILD_STREAMS_FILES\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_SVCCONF_FILES_TRUE}" && test -z "${BUILD_SVCCONF_FILES_FALSE}"; then - as_fn_error $? "conditional \"BUILD_SVCCONF_FILES\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_THREADS_FILES_TRUE}" && test -z "${BUILD_THREADS_FILES_FALSE}"; then - as_fn_error $? "conditional \"BUILD_THREADS_FILES\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_TIMER_FILES_TRUE}" && test -z "${BUILD_TIMER_FILES_FALSE}"; then - as_fn_error $? "conditional \"BUILD_TIMER_FILES\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_TOKEN_FILES_TRUE}" && test -z "${BUILD_TOKEN_FILES_FALSE}"; then - as_fn_error $? "conditional \"BUILD_TOKEN_FILES\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_UTILS_FILES_TRUE}" && test -z "${BUILD_UTILS_FILES_FALSE}"; then - as_fn_error $? "conditional \"BUILD_UTILS_FILES\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_UUID_FILES_TRUE}" && test -z "${BUILD_UUID_FILES_FALSE}"; then - as_fn_error $? "conditional \"BUILD_UUID_FILES\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_OTHER_FILES_TRUE}" && test -z "${BUILD_OTHER_FILES_FALSE}"; then - as_fn_error $? "conditional \"BUILD_OTHER_FILES\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_FULL_LIBRARY_TRUE}" && test -z "${BUILD_FULL_LIBRARY_FALSE}"; then - as_fn_error $? "conditional \"BUILD_FULL_LIBRARY\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_ACE_FOR_TAO_TRUE}" && test -z "${BUILD_ACE_FOR_TAO_FALSE}"; then - as_fn_error $? "conditional \"BUILD_ACE_FOR_TAO\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_ACE_CODECS_TRUE}" && test -z "${BUILD_ACE_CODECS_FALSE}"; then - as_fn_error $? "conditional \"BUILD_ACE_CODECS\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_ACE_FILECACHE_TRUE}" && test -z "${BUILD_ACE_FILECACHE_FALSE}"; then - as_fn_error $? "conditional \"BUILD_ACE_FILECACHE\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_ACE_OTHER_TRUE}" && test -z "${BUILD_ACE_OTHER_FALSE}"; then - as_fn_error $? "conditional \"BUILD_ACE_OTHER\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_ACE_TOKEN_TRUE}" && test -z "${BUILD_ACE_TOKEN_FALSE}"; then - as_fn_error $? "conditional \"BUILD_ACE_TOKEN\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_ACE_UUID_TRUE}" && test -z "${BUILD_ACE_UUID_FALSE}"; then - as_fn_error $? "conditional \"BUILD_ACE_UUID\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_RWHO_TRUE}" && test -z "${BUILD_RWHO_FALSE}"; then - as_fn_error $? "conditional \"BUILD_RWHO\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_IPV6_TRUE}" && test -z "${BUILD_IPV6_FALSE}"; then - as_fn_error $? "conditional \"BUILD_IPV6\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_THREADS_TRUE}" && test -z "${BUILD_THREADS_FALSE}"; then - as_fn_error $? "conditional \"BUILD_THREADS\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_WFMO_TRUE}" && test -z "${BUILD_WFMO_FALSE}"; then - as_fn_error $? "conditional \"BUILD_WFMO\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_WINCE_TRUE}" && test -z "${BUILD_WINCE_FALSE}"; then - as_fn_error $? "conditional \"BUILD_WINCE\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_WINREGISTRY_TRUE}" && test -z "${BUILD_WINREGISTRY_FALSE}"; then - as_fn_error $? "conditional \"BUILD_WINREGISTRY\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_X11_TRUE}" && test -z "${BUILD_X11_FALSE}"; then - as_fn_error $? "conditional \"BUILD_X11\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_GL_TRUE}" && test -z "${BUILD_GL_FALSE}"; then - as_fn_error $? "conditional \"BUILD_GL\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_FL_TRUE}" && test -z "${BUILD_FL_FALSE}"; then - as_fn_error $? "conditional \"BUILD_FL\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_ACE_FLREACTOR_TRUE}" && test -z "${BUILD_ACE_FLREACTOR_FALSE}"; then - as_fn_error $? "conditional \"BUILD_ACE_FLREACTOR\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_TAO_FLRESOURCE_TRUE}" && test -z "${BUILD_TAO_FLRESOURCE_FALSE}"; then - as_fn_error $? "conditional \"BUILD_TAO_FLRESOURCE\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_QT_TRUE}" && test -z "${BUILD_QT_FALSE}"; then - as_fn_error $? "conditional \"BUILD_QT\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_ACE_QTREACTOR_TRUE}" && test -z "${BUILD_ACE_QTREACTOR_FALSE}"; then - as_fn_error $? "conditional \"BUILD_ACE_QTREACTOR\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_TAO_QTRESOURCE_TRUE}" && test -z "${BUILD_TAO_QTRESOURCE_FALSE}"; then - as_fn_error $? "conditional \"BUILD_TAO_QTRESOURCE\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_TK_TRUE}" && test -z "${BUILD_TK_FALSE}"; then - as_fn_error $? "conditional \"BUILD_TK\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_ACE_TKREACTOR_TRUE}" && test -z "${BUILD_ACE_TKREACTOR_FALSE}"; then - as_fn_error $? "conditional \"BUILD_ACE_TKREACTOR\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_TAO_TKRESOURCE_TRUE}" && test -z "${BUILD_TAO_TKRESOURCE_FALSE}"; then - as_fn_error $? "conditional \"BUILD_TAO_TKRESOURCE\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_ATHENA_TRUE}" && test -z "${BUILD_ATHENA_FALSE}"; then - as_fn_error $? "conditional \"BUILD_ATHENA\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_ATHENA3D_TRUE}" && test -z "${BUILD_ATHENA3D_FALSE}"; then - as_fn_error $? "conditional \"BUILD_ATHENA3D\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_MOTIF_TRUE}" && test -z "${BUILD_MOTIF_FALSE}"; then - as_fn_error $? "conditional \"BUILD_MOTIF\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_XT_TRUE}" && test -z "${BUILD_XT_FALSE}"; then - as_fn_error $? "conditional \"BUILD_XT\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_ACE_XTREACTOR_TRUE}" && test -z "${BUILD_ACE_XTREACTOR_FALSE}"; then - as_fn_error $? "conditional \"BUILD_ACE_XTREACTOR\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_TAO_XTRESOURCE_TRUE}" && test -z "${BUILD_TAO_XTRESOURCE_FALSE}"; then - as_fn_error $? "conditional \"BUILD_TAO_XTRESOURCE\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_FOX_TRUE}" && test -z "${BUILD_FOX_FALSE}"; then - as_fn_error $? "conditional \"BUILD_FOX\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_ACE_FOXREACTOR_TRUE}" && test -z "${BUILD_ACE_FOXREACTOR_FALSE}"; then - as_fn_error $? "conditional \"BUILD_ACE_FOXREACTOR\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_TAO_FOXRESOURCE_TRUE}" && test -z "${BUILD_TAO_FOXRESOURCE_FALSE}"; then - as_fn_error $? "conditional \"BUILD_TAO_FOXRESOURCE\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_WXWINDOWS_TRUE}" && test -z "${BUILD_WXWINDOWS_FALSE}"; then - as_fn_error $? "conditional \"BUILD_WXWINDOWS\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_BZIP2_TRUE}" && test -z "${BUILD_BZIP2_FALSE}"; then - as_fn_error $? "conditional \"BUILD_BZIP2\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_ZLIB_TRUE}" && test -z "${BUILD_ZLIB_FALSE}"; then - as_fn_error $? "conditional \"BUILD_ZLIB\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_ZZIP_TRUE}" && test -z "${BUILD_ZZIP_FALSE}"; then - as_fn_error $? "conditional \"BUILD_ZZIP\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_GPERF_TRUE}" && test -z "${BUILD_GPERF_FALSE}"; then - as_fn_error $? "conditional \"BUILD_GPERF\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_QOS_TRUE}" && test -z "${BUILD_QOS_FALSE}"; then - as_fn_error $? "conditional \"BUILD_QOS\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_SSL_TRUE}" && test -z "${BUILD_SSL_FALSE}"; then - as_fn_error $? "conditional \"BUILD_SSL\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_ACEXML_TRUE}" && test -z "${BUILD_ACEXML_FALSE}"; then - as_fn_error $? "conditional \"BUILD_ACEXML\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_EXCEPTIONS_TRUE}" && test -z "${BUILD_EXCEPTIONS_FALSE}"; then - as_fn_error $? "conditional \"BUILD_EXCEPTIONS\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${BUILD_USES_WCHAR_TRUE}" && test -z "${BUILD_USES_WCHAR_FALSE}"; then - as_fn_error $? "conditional \"BUILD_USES_WCHAR\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${COMPILE_XTREACTOR_TEST_TRUE}" && test -z "${COMPILE_XTREACTOR_TEST_FALSE}"; then - as_fn_error $? "conditional \"COMPILE_XTREACTOR_TEST\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then - as_fn_error $? "conditional \"am__fastdepCC\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then - as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi - -if test -z "${ACE_ON_PENTIUM_TRUE}" && test -z "${ACE_ON_PENTIUM_FALSE}"; then - as_fn_error $? "conditional \"ACE_ON_PENTIUM\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi - -: "${CONFIG_STATUS=./config.status}" -ac_write_fail=0 -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} -as_write_fail=0 -cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 -#! $SHELL -# Generated by $as_me. -# 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-$SHELL} -export SHELL -_ASEOF -cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 -## -------------------- ## -## 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 -pR'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -pR' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -pR' - fi -else - as_ln_s='cp -pR' -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 - - -# as_fn_executable_p FILE -# ----------------------- -# Test if FILE is an executable regular file. -as_fn_executable_p () -{ - test -f "$1" && test -x "$1" -} # as_fn_executable_p -as_test_x='test -x' -as_executable_p=as_fn_executable_p - -# 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. ## -## ----------------------------------- ## -_ASEOF -test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# 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 ACE $as_me 5.8.3, which was -generated by GNU Autoconf 2.69. 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` -" - -_ACEOF - -case $ac_config_files in *" -"*) set x $ac_config_files; shift; ac_config_files=$*;; -esac - -case $ac_config_headers in *" -"*) set x $ac_config_headers; shift; ac_config_headers=$*;; -esac - - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# Files that config.status was made for. -config_files="$ac_config_files" -config_headers="$ac_config_headers" -config_commands="$ac_config_commands" - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -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 ." - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" -ac_cs_version="\\ -ACE config.status 5.8.3 -configured by $0, generated by GNU Autoconf 2.69, - with options \\"\$ac_cs_config\\" - -Copyright (C) 2012 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='$ac_pwd' -srcdir='$srcdir' -INSTALL='$INSTALL' -MKDIR_P='$MKDIR_P' -AWK='$AWK' -test -n "\$AWK" || AWK=awk -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# 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 - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -if \$ac_cs_recheck; then - set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion - shift - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 - CONFIG_SHELL='$SHELL' - export CONFIG_SHELL - exec "\$@" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -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 - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# -# INIT-COMMANDS -# -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$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='$sed_quote_subst' -double_quote_subst='$double_quote_subst' -delay_variable_subst='$delay_variable_subst' -enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' -macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' -macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' -enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' -pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' -enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' -host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' -host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' -host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' -build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' -build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' -build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' -SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' -Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' -GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' -EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' -FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' -LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' -NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' -LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' -max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' -ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' -exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' -lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' -lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' -lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' -reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' -reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' -OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' -deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' -file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' -AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' -AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' -STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' -RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' -old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' -old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' -CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' -CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' -compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' -GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' -objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' -SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' -ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' -MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' -need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' -DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' -NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' -LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' -OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' -OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' -libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' -shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' -extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' -archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' -enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' -export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' -whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' -compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' -archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' -archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' -module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' -module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' -with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' -allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' -no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' -inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' -link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' -fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' -always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' -export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' -exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' -include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' -prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' -file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' -variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' -need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' -need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' -version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' -runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' -shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' -shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' -libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' -library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' -soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' -postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' -postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' -finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' -finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' -sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' -sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' -enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' -enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' -enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' -old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' -striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' -compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`' -predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`' -postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`' -predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`' -postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`' -compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`' -LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`' -GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`' -archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`' -enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`' -export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' -whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' -compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' -allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' -no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`' -inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`' -link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`' -fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' -always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`' -export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' -include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' -prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`' -compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`' -predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' -postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' -predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' -postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' -compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' - -LTCC='$LTCC' -LTCFLAGS='$LTCFLAGS' -compiler='$compiler_DEFAULT' - -# Quote evaled strings. -for var in SED \ -GREP \ -EGREP \ -FGREP \ -LD \ -NM \ -LN_S \ -lt_SP2NL \ -lt_NL2SP \ -reload_flag \ -OBJDUMP \ -deplibs_check_method \ -file_magic_cmd \ -AR \ -AR_FLAGS \ -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 \ -SHELL \ -ECHO \ -lt_prog_compiler_no_builtin_flag \ -lt_prog_compiler_wl \ -lt_prog_compiler_pic \ -lt_prog_compiler_static \ -lt_cv_prog_compiler_c_o \ -need_locks \ -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_flag_spec_ld \ -hardcode_libdir_separator \ -fix_srcfile_path \ -exclude_expsyms \ -include_expsyms \ -file_list_spec \ -variables_saved_for_relink \ -libname_spec \ -library_names_spec \ -soname_spec \ -finish_eval \ -old_striplib \ -striplib \ -compiler_lib_search_dirs \ -predep_objects \ -postdep_objects \ -predeps \ -postdeps \ -compiler_lib_search_path \ -LD_CXX \ -compiler_CXX \ -lt_prog_compiler_no_builtin_flag_CXX \ -lt_prog_compiler_wl_CXX \ -lt_prog_compiler_pic_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_flag_spec_ld_CXX \ -hardcode_libdir_separator_CXX \ -fix_srcfile_path_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 "X\\\\\$\$var"\` in - *[\\\\\\\`\\"\\\$]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$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 \ -postinstall_cmds \ -postuninstall_cmds \ -finish_cmds \ -sys_lib_search_path_spec \ -sys_lib_dlsearch_path_spec \ -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; do - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in - *[\\\\\\\`\\"\\\$]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" - ;; - *) - eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" - ;; - esac -done - -# Fix-up fallback echo if it was mangled by the above quoting rules. -case \$lt_ECHO in -*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` - ;; -esac - -ac_aux_dir='$ac_aux_dir' -xsi_shell='$xsi_shell' -lt_shell_append='$lt_shell_append' - -# 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='$PACKAGE' - VERSION='$VERSION' - TIMESTAMP='$TIMESTAMP' - RM='$RM' - ofile='$ofile' - - - - - - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - -# Handling of arguments. -for ac_config_target in $ac_config_targets -do - case $ac_config_target in - "ace/config.h") CONFIG_HEADERS="$CONFIG_HEADERS ace/config.h" ;; - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; - "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "ace/Makefile") CONFIG_FILES="$CONFIG_FILES ace/Makefile" ;; - "ace/ETCL/Makefile") CONFIG_FILES="$CONFIG_FILES ace/ETCL/Makefile" ;; - "ace/Monitor_Control/Makefile") CONFIG_FILES="$CONFIG_FILES ace/Monitor_Control/Makefile" ;; - "ace/QoS/Makefile") CONFIG_FILES="$CONFIG_FILES ace/QoS/Makefile" ;; - "ace/SSL/Makefile") CONFIG_FILES="$CONFIG_FILES ace/SSL/Makefile" ;; - "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;; - "bin/PerlACE/Makefile") CONFIG_FILES="$CONFIG_FILES bin/PerlACE/Makefile" ;; - "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; - - *) 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" && -_ACEOF - - -{ - echo "cat >conf$$subs.awk <<_ACEOF" && - echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && - echo "_ACEOF" -} >conf$$subs.sh || - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 -ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` -ac_delim='%!_!# ' -for ac_last_try in false false false false false :; do - . ./conf$$subs.sh || - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 - - ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` - if test $ac_delim_n = $ac_delim_num; then - break - elif $ac_last_try; then - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done -rm -f conf$$subs.sh - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && -_ACEOF -sed -n ' -h -s/^/S["/; s/!.*/"]=/ -p -g -s/^[^!]*!// -:repl -t repl -s/'"$ac_delim"'$// -t delim -:nl -h -s/\(.\{148\}\)..*/\1/ -t more1 -s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ -p -n -b repl -:more1 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t nl -:delim -h -s/\(.\{148\}\)..*/\1/ -t more2 -s/["\\]/\\&/g; s/^/"/; s/$/"/ -p -b -:more2 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t delim -' >$CONFIG_STATUS || ac_write_fail=1 -rm -f conf$$subs.awk -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -_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 -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -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 -_ACEOF - -# VPATH may cause trouble with some makes, so we remove sole $(srcdir), -# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and -# trailing colons and then remove the whole line if VPATH becomes empty -# (actually we leave an empty line to preserve line numbers). -if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ -h -s/// -s/^/:/ -s/[ ]*$/:/ -s/:\$(srcdir):/:/g -s/:\${srcdir}:/:/g -s/:@srcdir@:/:/g -s/^:*// -s/:*$// -x -s/\(=[ ]*\).*/\1/ -G -s/\n// -s/^[^=]*=[ ]*$// -}' -fi - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -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 { -_ACEOF - -# Transform confdefs.h into an awk script `defines.awk', embedded as -# here-document in config.status, that substitutes the proper values into -# config.h.in to produce config.h. - -# Create a delimiter string that does not exist in confdefs.h, to ease -# handling of long lines. -ac_delim='%!_!# ' -for ac_last_try in false false :; do - ac_tt=`sed -n "/$ac_delim/p" confdefs.h` - if test -z "$ac_tt"; then - break - elif $ac_last_try; then - as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done - -# For the awk script, D is an array of macro values keyed by name, -# likewise P contains macro parameters if any. Preserve backslash -# newline sequences. - -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* -sed -n ' -s/.\{148\}/&'"$ac_delim"'/g -t rset -:rset -s/^[ ]*#[ ]*define[ ][ ]*/ / -t def -d -:def -s/\\$// -t bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3"/p -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p -d -:bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3\\\\\\n"\\/p -t cont -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p -t cont -d -:cont -n -s/.\{148\}/&'"$ac_delim"'/g -t clear -:clear -s/\\$// -t bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/"/p -d -:bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p -b cont -' >$CONFIG_STATUS || ac_write_fail=1 - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - for (key in D) D_is_set[key] = 1 - FS = "" -} -/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\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 -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - 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 -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# 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;} -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - ac_datarootdir_hack=' - s&@datadir@&$datadir&g - s&@docdir@&$docdir&g - s&@infodir@&$infodir&g - s&@localedir@&$localedir&g - s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; -esac -_ACEOF - -# Neutralize VPATH when `$srcdir' = `.'. -# Shell code in configure.ac might set extrasub. -# FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_sed_extra="$ac_vpsub -$extrasub -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -: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 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 - -# Whether or not to build static libraries. -build_old_libs=$enable_static - -# 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 - -# What type of objects to build. -pic_mode=$pic_mode - -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install - -# 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 - -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds - -# 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 - -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS - -# 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 - -# 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 - -# The name of the directory that contains temporary libtool files. -objdir=$objdir - -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# An echo program that does not interpret backslashes. -ECHO=$lt_ECHO - -# 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 - -# 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 - -# 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 - -# 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 - -# How to pass a linker flag through the compiler. -wl=$lt_lt_prog_compiler_wl - -# Additional compiler flags for building library objects. -pic_flag=$lt_lt_prog_compiler_pic - -# 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 - -# If ld is used when linking, flag to hardcode \$libdir into a binary -# during linking. This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld - -# 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 - -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path=$lt_fix_srcfile_path - -# 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 - -# 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 '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ - || (rm -f "$cfgfile"; exit 1) - - case $xsi_shell in - yes) - cat << \_LT_EOF >> "$cfgfile" - -# func_dirname file append nondir_replacement -# Compute the dirname of FILE. If nonempty, add APPEND to the result, -# otherwise set result to NONDIR_REPLACEMENT. -func_dirname () -{ - case ${1} in - */*) func_dirname_result="${1%/*}${2}" ;; - * ) func_dirname_result="${3}" ;; - esac -} - -# func_basename file -func_basename () -{ - func_basename_result="${1##*/}" -} - -# func_dirname_and_basename file append nondir_replacement -# perform func_basename and func_dirname in a single function -# call: -# dirname: Compute the dirname of FILE. If nonempty, -# add APPEND to the result, otherwise set result -# to NONDIR_REPLACEMENT. -# value returned in "$func_dirname_result" -# basename: Compute filename of FILE. -# value retuned in "$func_basename_result" -# Implementation must be kept synchronized with func_dirname -# and func_basename. For efficiency, we do not delegate to -# those functions but instead duplicate the functionality here. -func_dirname_and_basename () -{ - case ${1} in - */*) func_dirname_result="${1%/*}${2}" ;; - * ) func_dirname_result="${3}" ;; - esac - func_basename_result="${1##*/}" -} - -# func_stripname prefix suffix name -# strip PREFIX and SUFFIX off of NAME. -# PREFIX and SUFFIX must not contain globbing or regex special -# characters, hashes, percent signs, but SUFFIX may contain a leading -# dot (in which case that matches only a dot). -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}"} -} - -# func_opt_split -func_opt_split () -{ - func_opt_split_opt=${1%%=*} - func_opt_split_arg=${1#*=} -} - -# func_lo2o object -func_lo2o () -{ - case ${1} in - *.lo) func_lo2o_result=${1%.lo}.${objext} ;; - *) func_lo2o_result=${1} ;; - esac -} - -# func_xform libobj-or-source -func_xform () -{ - func_xform_result=${1%.*}.lo -} - -# func_arith arithmetic-term... -func_arith () -{ - func_arith_result=$(( $* )) -} - -# func_len string -# STRING may not start with a hyphen. -func_len () -{ - func_len_result=${#1} -} - -_LT_EOF - ;; - *) # Bourne compatible functions. - cat << \_LT_EOF >> "$cfgfile" - -# func_dirname file append nondir_replacement -# Compute the dirname of FILE. If nonempty, add APPEND to the result, -# otherwise set result to NONDIR_REPLACEMENT. -func_dirname () -{ - # Extract subdirectory from the argument. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` - if test "X$func_dirname_result" = "X${1}"; then - func_dirname_result="${3}" - else - func_dirname_result="$func_dirname_result${2}" - fi -} - -# func_basename file -func_basename () -{ - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` -} - - -# func_stripname prefix suffix name -# strip PREFIX and SUFFIX off of NAME. -# PREFIX and SUFFIX must not contain globbing or regex special -# characters, hashes, percent signs, but SUFFIX may contain a leading -# dot (in which case that matches only a dot). -# func_strip_suffix prefix name -func_stripname () -{ - case ${2} in - .*) func_stripname_result=`$ECHO "X${3}" \ - | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; - *) func_stripname_result=`$ECHO "X${3}" \ - | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; - esac -} - -# sed scripts: -my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' -my_sed_long_arg='1s/^-[^=]*=//' - -# func_opt_split -func_opt_split () -{ - func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` - func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` -} - -# func_lo2o object -func_lo2o () -{ - func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` -} - -# func_xform libobj-or-source -func_xform () -{ - func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` -} - -# func_arith arithmetic-term... -func_arith () -{ - func_arith_result=`expr "$@"` -} - -# func_len string -# STRING may not start with a hyphen. -func_len () -{ - func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` -} - -_LT_EOF -esac - -case $lt_shell_append in - yes) - cat << \_LT_EOF >> "$cfgfile" - -# func_append var value -# Append VALUE to the end of shell variable VAR. -func_append () -{ - eval "$1+=\$2" -} -_LT_EOF - ;; - *) - cat << \_LT_EOF >> "$cfgfile" - -# func_append var value -# Append VALUE to the end of shell variable VAR. -func_append () -{ - eval "$1=\$$1\$2" -} - -_LT_EOF - ;; - esac - - - sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ - || (rm -f "$cfgfile"; exit 1) - - 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 - -# 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 - -# How to pass a linker flag through the compiler. -wl=$lt_lt_prog_compiler_wl_CXX - -# Additional compiler flags for building library objects. -pic_flag=$lt_lt_prog_compiler_pic_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 - -# If ld is used when linking, flag to hardcode \$libdir into a binary -# during linking. This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_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 - -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path=$lt_fix_srcfile_path_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 - -# 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 - - ;; - "default":C) - echo "" - echo "Configuration of ACE 5.8.3 is now complete." - echo "" - ;; - - esac -done # for ac_tag - - -as_fn_exit 0 -_ACEOF -ac_clean_files=$ac_clean_files_save - -test $ac_write_fail = 0 || - as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 - - -# configure is writing to config.log, and then calls config.status. -# config.status does its own redirection, appending to config.log. -# Unfortunately, on DOS this fails, as config.log is still kept open -# by configure, so config.status won't be able to write to it; its -# output is simply discarded. So we exec the FD to /dev/null, -# effectively closing config.log, so it can be properly (re)opened and -# appended to by config.status. When coming back to configure, we -# need to make the FD available again. -if test "$no_create" != yes; then - ac_cs_success=: - ac_config_status_args= - test "$silent" = yes && - ac_config_status_args="$ac_config_status_args --quiet" - exec 5>/dev/null - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false - exec 5>>config.log - # Use ||, not &&, to avoid exiting from the if with $? = 1, which - # would make configure fail if this is the last instruction. - $ac_cs_success || as_fn_exit 1 -fi -if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} -fi - diff --git a/dep/ACE_wrappers/configure.ac b/dep/ACE_wrappers/configure.ac deleted file mode 100644 index cf54043c2..000000000 --- a/dep/ACE_wrappers/configure.ac +++ /dev/null @@ -1,7231 +0,0 @@ -dnl $Id: configure.ac 92183 2010-10-08 08:44:15Z olli $ - -dnl An autoconf script to automatically configure ACE. -dnl Process this file with autoconf to produce a configure script. - -dnl Statically (i.e. at autoconf-time) determine the version of ACE. -dnl This is necessary since the version argument to AC_INIT is -dnl supposed to be a static value, not a dynamic one (e.g. a shell -dnl variable). -dnl -dnl Note that this macro removes the newline output by the M4 -dnl "esyscmd" built-in. Unless you understand what you're doing, -dnl particularly with M4, do not modify this macro definition. -define([ACE_VERSION], patsubst(esyscmd(grep ACE_VERSION ace/Version.h | sed 's/.*\" *\(.*\)\".*/\1/'), [ -]))dnl remove newline ending every `esyscmd' answer - -AC_INIT([ACE],[ACE_VERSION],[ace-bugs@cs.wustl.edu],[ace]) - -AC_REVISION([$Id: configure.ac 92183 2010-10-08 08:44:15Z olli $]) - -AC_COPYRIGHT([ACE(TM), TAO(TM), CIAO(TM), and CoSMIC(TM) (henceforth -referred to as "DOC software") are copyrighted by Douglas C. -Schmidt and his research group at Washington University, -University of California, Irvine, and Vanderbilt University, -Copyright (c) 1993-2005, all rights reserved. Since DOC software is -open-source, free software, you are free to use, modify, copy, and -distribute--perpetually and irrevocably--the DOC software source code -and object code produced from the source, as well as copy and -distribute modified versions of this software. You must, however, -include this copyright statement along with code built using DOC -software. - -Please see the file `COPYING' in the top level ACE directory for -additional details.]) - - -dnl Require GNU Autoconf 2.58 or better. Previous versions did not -dnl correctly support HP-UX. -AC_PREREQ(2.65) - -dnl Autoconf explicitly forbids patterns containing "_AC_". This causes -dnl a problem when using MPC to generate the Automake ".am" files since -dnl the "AC_CLD" project in ACE_wrappers/examples/C++NPv2 ends up having -dnl a Makefile containing "NPv2_AC_CLD" in it, triggering the forbidden -dnl "_AC_" pattern. Explicitly allow our pattern. -m4_pattern_allow([NPv2_AC_CLD]) - -AC_CONFIG_SRCDIR([ace/ACE.cpp]) - -AC_CONFIG_AUX_DIR([aux_config]) -AC_CONFIG_MACRO_DIR([m4]) - -dnl Check what platform we are running on. -AC_CANONICAL_TARGET([]) - -dnl Initialize GNU Automake, and require Automake 1.9.6 or better. -AM_INIT_AUTOMAKE([1.9.6 foreign no-define nostdinc]) - -dnl Add maintainer mode option to the option list. -dnl AM_MAINTAINER_MODE - -dnl The maintainer of this configure script. -ACE_CONFIGURE_MAINTAINER='ace-users@list.isis.vanderbilt.edu' - - -dnl Until autoconf support in ACE is complete, prevent this script -dnl from running unless the user explictly forces the configure script -dnl to run using the "--enable-maintainer-mode" configure script -dnl option. -dnl if test $USE_MAINTAINER_MODE != yes; then -dnl AC_MSG_ERROR([ -dnl ACE autoconf support is currently disabled by default since it is -dnl still under development. Please use the stock ACE build procedure -dnl detailed in the file \`ACE-INSTALL.html'. -dnl -dnl If you wish to experiment with ACE's autoconf support then use the -dnl \"--enable-maintainer-mode\" configure script option to enable -dnl autoconf support. For more details see the file -dnl \`ACE-configuration.txt'.]) -dnl fi dnl test $USE_MAINTAINER_MODE != yes - -dnl Should we use "egrep" or "grep -E"? This sets the "$EGREP" shell -dnl variable. -AC_PROG_EGREP - -dnl If we are configuring in a CVS controlled directory then don't -dnl continue any further. The idea is to prevent automatically -dnl generated files from being checked into the repository. This -dnl will prevent accidental overwrites of ACE's current Makefiles by -dnl the automatically generated ones, for example. -dnl ACE_CHECK_FOR_CVS_DIR - -dnl Prevent the configure script from continuing any further if -dnl configuration is being performed in the top-level directory. The -dnl idea is to prevent files generated during configuration and build -dnl from overwriting the stock files of the same name. -ACE_CHECK_TOP_SRCDIR - -dnl Prepare the `ace/config.h.in' header template. -ACE_PREP_CONFIG_HEADER - -dnl Allow the standard program name transformations. -dnl We probably don't need AC_ARG_PROGRAM any longer since AM_INIT_AUTOMAKE -dnl handles this functionality. -- Ossama -dnl AC_ARG_PROGRAM - -dnl Generate a header file with all settings. -AC_CONFIG_HEADERS([ace/config.h]) - -dnl Move before the AC_ARG_ENABLE stuff to prevent autoconf complaints. -dnl This is a bit messy but it makes life easier for me. -dnl -Ossama -dnl -dnl SECTION: checks for programs -dnl - -dnl Check if system supports "#! /bin/sh" line in scripts -AC_SYS_INTERPRETER - -dnl Check the C compiler and preprocessor. -dnl AC_PROG_CC -dnl AC_PROG_CPP -dnl AC_PROG_CC_C_O - -dnl Check the C++ compiler and preprocessor. -AC_PROG_CXX -AC_PROG_CXXCPP - -dnl Set the test language as C++ -AC_LANG([C++]) - -dnl If we are cross compiling disable certain things in the Makefiles. -AM_CONDITIONAL([ACE_CROSS_COMPILED], [test X$cross_compiling = Xyes]) - -dnl If we are cross compiling disable certain things in the Makefiles. -AM_CONDITIONAL([BUILD_CROSS_COMPILE], [test X$cross_compiling = Xyes]) - -dnl Look for the best awk-style program available. -AC_PROG_AWK - -dnl Parse the version information argument. -dnl Note that "ACE_VERSION" is an m4 macro. -ace_version_temp=ACE_VERSION -ace_save_ifs="$IFS"; IFS='.' -set dummy $ace_version_temp 0 0 0 -IFS="$ace_save_ifs" - -ACE_MAJOR=$2 -ACE_MINOR=$3 -ACE_BETA=$4 -ACE_VERSION_NAME=ACE_VERSION - -AC_SUBST([ACE_MAJOR]) -AC_SUBST([ACE_MINOR]) -AC_SUBST([ACE_BETA]) -AC_SUBST([ACE_VERSION_NAME]) - -dnl Do the usual install settings; don't forget to include a -dnl `install-sh' script, in case there is no BSD compatible `install' -dnl installed (no pun intended) in your machine. - -dnl We don't need this anymore since AM_INIT_AUTOMAKE calls AC_PROG_INSTALL. -dnl -- Ossama -dnl AC_PROG_INSTALL - -dnl Special handling for some UNIX variants and Cygwin32 -dnl AC_USE_SYSTEM_EXTENSIONS - -dnl AC_USE_SYSTEM_EXTENSIONS - -case $host_os in - *cygwin* ) CYGWIN=yes;; - * ) CYGWIN=no;; -esac - - -dnl Check if we support symbolic links -AC_PROG_LN_S - -dnl Check if a lexical analyzer exists (lex, flex, etc.) -AM_PROG_LEX - -dnl Check if some implementation of YACC exists (yacc, byacc, bison, etc.) -AC_PROG_YACC -dnl if test -z "$YACC"; then -dnl ./missing yacc -dnl fi - -dnl Check for perfect hash function generator -AC_CHECK_PROG([GPERF],[gperf],[gperf]) - -dnl Check for profiling progam -AC_CHECK_PROGS([PROF],[gprof prof],) - -dnl The user's/default C++ flags are stored in "CXXFLAGS." We use -dnl the variable "ACE_CXXFLAGS" to set the C++ flags we want. At the end -dnl of the configuration process we combine ACE_CXXFLAGS and CXXFLAGS -dnl into CXXFLAGS (e.g., CXXFLAGS="$ACE_CXXFLAGS $CXXFLAGS"). CXXFLAGS -dnl goes after ACE_CXXFLAGS so that the user's C++ flag command line -dnl choices always override the configure script's choices. -ACE_CXXFLAGS="" -ACE_CFLAGS="" - - - -dnl SECTION 2: Configure script command line options - - -dnl Determine which subsets to build -dnl This is done using the autoconf "--enable-foobar" mechanism. -ACE_CHECK_SUBSETS - -dnl Some of the third party libraries (X11, openssl, etc.) depend on -dnl other libraries. Check for those before the processing --enable -dnl options. - -dnl Check if the socket library is available -AC_SEARCH_LIBS([socket],[socket],,,[-lnsl]) - -dnl Check for gethostbyname in -lnsl since some platforms (e.g. Solaris) -dnl put it there. -AC_SEARCH_LIBS([gethostbyname],[nsl],,) - - -dnl Add --{enable,disable,with,without}-feature options. -ACE_CONFIGURATION_OPTIONS -ACE_COMPILATION_OPTIONS - -# Autoconf's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! -# Libtool's setup macro calls AC_OBJEXT and AC_EXEEXT without setting -# the test language to C. We do it before any libtool setup macros are -# called so that the proper values are cached beforehand. We also do -# it before any linker flags (LDFLAGS) are set so that C++ specific -# ones don't break the tests. -dnl AC_LANG_PUSH([C]) -dnl AC_OBJEXT -dnl AC_EXEEXT -dnl AC_LANG_POP([C]) - -dnl Call ACE_SET_COMPILER_FLAGS before AC_PROG_LIBTOOL and after the -dnl AC_ARG_ENABLE and AC_ARG_WITH calls. -ACE_SET_COMPILER_FLAGS - - -dnl SECTION 3: check for programs <--- moved before section 2 (Ossama) - - -dnl Platform specific libraries needed for ACE's autoconf tests -dnl that currently do not have tests themselves. -dnl Platform specific flags -case "$host" in - *osf3.2*) - LIBS="$LIBS -lmach -lsys5 -lcxx -lc" - ;; - *osf4.0* | *osf5.0*) - LIBS="$LIBS -lmach" - ;; - *psos*) - LIBS="$LIBS -lm" - ;; -esac - - -dnl SECTION 4: checks for libraries - - -dnl Additional X library checks -dnl We only check for these libraries if the user has -dnl enabled XtReactor support. - -xt_reactor_go=no - -if test "$ace_user_enable_xt_reactor" = yes; then -XTREACTOR_TEST_XLIBS="" -dnl Check for Motif if we have X - T_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $X_LIBS" - -dnl Note that ACE currently only needs -lX11 and -lXt for the XtReactor -dnl so we define another library variable that contains additional -dnl libraries for the XtReactor test since it needs either Motif or the -dnl Athena widget set. - - AC_CHECK_LIB([Xm],[XmCreateRowColumn], - [ - AC_DEFINE([ACE_HAS_XT]) - XTREACTOR_TEST_XLIBS="-lXm" - xt_reactor_go=yes - ], - [ - AC_DEFINE([ACE_LACKS_MOTIF]) - AC_CHECK_LIB([Xaw],[XawInitializeWidgetSet], - [ - AC_DEFINE([ACE_HAS_XT]) - XTREACTOR_TEST_XLIBS="-lXaw -lXmu" - xt_reactor_go=yes - ], - [ - xt_reactor_go=no - AC_MSG_WARN([No usable X widget libraries were found.]) - AC_MSG_WARN([XtReactor support will be disabled.]) - ],[-lXmu]) - ],[-lXt]) - - AC_SUBST([XTREACTOR_TEST_XLIBS]) - -dnl Restore pre-test linker flags - LDFLAGS="$T_LDFLAGS" - -fi dnl test "$ace_user_enable_xt_reactor"= yes - - AM_CONDITIONAL([COMPILE_XTREACTOR_TEST],[test X$xt_reactor_go = Xyes]) - -dnl End additional X library checks - -dnl Some platforms do not have a dynamic linking library, however the -dnl dlopen, dlclose, etc., functions may exist in the C library. -dnl (e.g. Digital UNIX) -dnl Check for dynamic linking library -AC_SEARCH_LIBS([dlopen],[dl svld],[ace_has_svr4_dynamic_linking=yes], - [ - ace_has_svr4_dynamic_linking=no - AC_CHECK_LIB([dld],[shl_get],,) - ]) - -dnl Check for getservbyname in -lxnet since some platforms (e.g. Solaris) -dnl may put it there. -AC_SEARCH_LIBS([getservbyname],[socket xnet],,[AC_DEFINE([ACE_LACKS_GETSERVBYNAME])],[-lnsl]) - -dnl Check for compile() regex function in -lgen. Solaris, for example, -dnl may put it there. -AC_SEARCH_LIBS([compile],[gen],,) - -dnl Check for exception handling library (e.g. for Digital UNIX) -AC_SEARCH_LIBS([exc_continue],[exc],,) - -dnl Check for ctime_r in -lc_r. Some platforms, such as Digital UNIX, -dnl put reentrant functions such as asctime_r, ctime_r, gmtime_r, and -dnl localtime_r in -lc_r. -AC_SEARCH_LIBS([ctime_r],[c_r],,) - -dnl XTI/TLI check. Check for XTI first, since it's preferred. If there's -dnl no XTI, try for TLI. t_getprotaddr() is only in XTI. -AC_SEARCH_LIBS([t_getprotaddr],[xti nsl], - [ace_has_xti_funcs=yes],[ace_has_xti_funcs=no]) -AS_IF([test "$ace_has_xti_funcs" = no], - [ - AC_SEARCH_LIBS([t_accept],[tli_r tli nsl], - [ace_has_tli_funcs=yes],[ace_has_tli_funcs=no]) - ],[]) - -dnl Check for all of the things we need to compile and link threads -dnl properly. -AS_IF([test "$ace_user_enable_threads" = yes], - [ - ACE_CHECK_THREADS - ],[]) - -dnl Setup Libtool - -dnl This should be done in the "programs" section of this file but -dnl libtool may then be unaware of compiler flags set during the -dnl thread checks. - -dnl Disable building of static libraries by default -AC_DISABLE_STATIC - -dnl Enable Libtool module support -AC_LIBTOOL_DLOPEN - -dnl -dnl ###### Relies on the as of yet unreleased Libtool 1.6 distribuion ### -dnl -dnl Only enable C++ libtool support. Support for other languages is -dnl unnecessary. -dnl AC_LIBTOOL_TAGS([CXX]) - -dnl FIXME: Temporary hack to make libtool work with g++. -dnl Shared library support will only work with GNU g++ and GNU ld -dnl right now. -dnl save_CC="$CC" -dnl CC="$CXX" - -dnl Check for libtool and turn on Automake processing for Libtool -AC_PROG_LIBTOOL - -dnl Enable C++ support in libtool -dnl AC_LIBTOOL_CXX - -dnl Temporary hack until I get integrate libtool's new tag support -dnl into automake. -dnl This hack forces libtool to always use the C++ tag. -dnl LIBTOOL="$LIBTOOL --tag=CXX" - -dnl Check for sched_yield() in posix4 library. -dnl Some platforms, such as Solaris, may define sched_yield() there. -dnl Later we run AC_CHECK_FUNC(sched_yield), which is redundant in this case -dnl but is needed if sched_yield() is defined in one of the other libraries -dnl we check for. -AC_SEARCH_LIBS([sched_yield],[rt posix4],[ace_has_sched_yield=yes],) - -dnl Check for asynchronous IO calls (perform check *after* thread check!) -ACE_CHECK_ASYNCH_IO - -dnl Additional `-lposix4' library check since it may not be added by the -dnl above checks on some platforms that may need it -dnl AC_SEARCH_LIBS([clock_gettime], -dnl [rt posix4],[AC_DEFINE(ACE_HAS_CLOCK_GETTIME)],) - -dnl This check was added to work around a system-supplied header -dnl (/usr/include/netinet/ip.h) that won't compile with Visual Age C++ -dnl unless the _NO_BITFIELDS preprocessor macro is defined. The comments -dnl there recommend use of _NO_BITFIELDS (and recode where needed to allow -dnl that), but we won't just turn it on. Check to see if it's needed. Note -dnl that this check is related to headers but done before we really know if -dnl the header is present. Thus, if the bare compile fails, but succeeds -dnl with _NO_BITFIELDS, set the flag, else leave things alone. - -AC_CACHE_CHECK([to see if _NO_BITFIELDS needed to compile netinet/ip.h], -[ac_cv_needs_no_bitfields], -[ - ace_save_CXXFLAGS="$CXXFLAGS" - - dnl Try compiling without any flags first. - - AC_COMPILE_IFELSE([ - AC_LANG_PROGRAM([ -#include - ], - [ - return 0; - ]) - ], - [ - ac_cv_needs_no_bitfields=no - ], - [ - CXXFLAGS="$CXXFLAGS -D_NO_BITFIELDS" - - AC_COMPILE_IFELSE([ - AC_LANG_PROGRAM([ -#include - ], - [ - return 0; - ]) - ], - [ - ac_cv_needs_no_bitfields=yes - ], - [ - ac_cv_needs_no_bitfields=no - CXXFLAGS="$ace_save_CXXFLAGS" - ]) - ]) -]) - - -dnl SECTION 5: checks for header files - -dnl Set known platform specific flags -ACE_SET_PLATFORM_MACROS - -dnl Check for dirent headers -AC_HEADER_DIRENT - -AS_IF([test "$ac_cv_header_dirent_dirent_h" = yes || - test "$ac_cv_header_dirent_sys_ndir_h" = yes || - test "$ac_cv_header_dirent_sys_dir_h" = yes || - test "$ac_cv_header_dirent_ndir_h" = yes], - [ - AC_DEFINE([ACE_HAS_DIRENT]) - ],[]) - -dnl Check for sys/wait.h Posix.1 compliance -AC_HEADER_SYS_WAIT - -AC_CHECK_HEADER([dlfcn.h], - [ - dnl We already checked for dlopen in the previous library checks however, - dnl it is possible that ac_cv_func_dlopen=yes if dlopen wasn't found before - dnl the library test. Hence we cannot use AC_CHECK_FUNC(dlopen) here - dnl the previously cached value may prevent ACE_HAS_SVR4_DYNAMIC_LINKING - dnl from being defined. - dnl -Ossama - AS_IF([test "$ace_has_svr4_dynamic_linking" = yes], - [ - AC_DEFINE([ACE_HAS_SVR4_DYNAMIC_LINKING]) - - case "$host_os" in - darwin*) - dnl MaNGOS modification: fix MacOS build by use ACE_TEXT instead ACE_LIB_TEXT (make code similar used in config-macosx.h) - AC_DEFINE([ACE_LD_SEARCH_PATH], - [ACE_TEXT ("DYLD_LIBRARY_PATH")], - [Define to environment variable used for DLL search path]) - AC_DEFINE([ACE_DLL_SUFFIX], - [ACE_TEXT (".dylib")], - [Define to DLL file suffix]) - dnl MaNGOS modification end - ;; - esac - ],[]) - ],) - -ACE_CHECK_LACKS_HEADERS(inttypes.h malloc.h memory.h stdint.h) - -AC_CHECK_HEADER([sys/msg.h], - [ - ACE_CACHE_CHECK([if _KERNEL is needed for msg prototypes], - [ace_cv_lib_broken_msg_h], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifdef UNIXWARE_7_1 -# define _KMEMUSER -#endif - -#include - ]],[[ - struct msg ace_msg; - ]])],[ - ace_cv_lib_broken_msg_h=no - ],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef _KERNEL -# define _KERNEL -# ifdef UNIXWARE_7_1 -# define _KMEMUSER -# endif -#endif -#include - ]], - [[ - struct msg ace_msg; - ]])], - [ - ace_cv_lib_broken_msg_h=yes - ], - [ - dnl If we get here, then we have no idea if it is broken or not. - ace_cv_lib_broken_msg_h=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_HAS_BROKEN_MSG_H]) - ],) - ], - [AC_DEFINE([ACE_LACKS_SYS_MSG_H])]) - -AC_CHECK_HEADER([sys/sem.h],,) -AC_CHECK_HEADER([sys/shm.h],,) - -ACE_CHECK_LACKS_HEADERS(sys/param.h) - -AC_CHECK_HEADER([sys/priocntl.h],[],[]) - -dnl Check for _before_ -ACE_CHECK_LACKS_HEADERS(ucontext.h) - -AC_CHECK_HEADER([sys/procfs.h], - [ - dnl Check if conflicts with - dnl Some (early?) versions of glibc2.1 define the same variables - dnl in and . - ACE_CACHE_CHECK([if sys/procfs.h conflicts with ucontext.h], - [ace_cv_has_procfs_conflict], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_UCONTEXT_H -# include -#endif - -#include - ]],[[ - int a = 0; - ]])],[ - ace_cv_has_procfs_conflict=no - ],[ - ace_cv_has_procfs_conflict=yes - ]) - ], - [ - ], - [ - dnl If ace_cv_has_procfs_conflict = no then define ACE_HAS_PROC_FS. - AC_DEFINE([ACE_HAS_PROC_FS]) - ]) - ],) - -ACE_CHECK_LACKS_HEADERS(arpa/inet.h) - -ACE_CHECK_HAS_HEADERS(bytesex.h) - -ACE_CHECK_HAS_HEADERS(byteswap.h) - -ACE_CHECK_LACKS_HEADERS(dirent.h) - -ACE_CHECK_LACKS_HEADERS(dlfcn.h) - -ACE_CHECK_LACKS_HEADERS(errno.h) - -ACE_CHECK_LACKS_HEADERS(execinfo.h) - -ACE_CHECK_LACKS_HEADERS(fcntl.h) - -ACE_CHECK_HAS_HEADERS(pdh.h) - -ACE_CHECK_HAS_HEADERS(pthread_np.h) - -ACE_CHECK_LACKS_HEADERS(sched.h) - -ACE_CHECK_LACKS_HEADERS(search.h) - -ACE_CHECK_HAS_HEADERS(select.h) - -ACE_CHECK_LACKS_HEADERS(semaphore.h) - -ACE_CHECK_LACKS_HEADERS(signal.h) - -ACE_CHECK_LACKS_HEADERS(stdlib.h) - -ACE_CHECK_LACKS_HEADERS(string.h) - -ACE_CHECK_LACKS_HEADERS(strings.h) - -ACE_CHECK_LACKS_HEADERS(netdb.h) - -ACE_CHECK_LACKS_HEADERS(netinet/in.h) - -ACE_CHECK_LACKS_HEADERS(netinet/tcp.h) - -ACE_CHECK_LACKS_HEADERS(sys/socket.h) - -ACE_CHECK_LACKS_HEADERS(net/if.h, [], [], -[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#ifndef ACE_LACKS_SYS_SOCKET_H -# include -# endif -]) - -ACE_CHECK_HAS_HEADERS(sys/filio.h) - -ACE_CHECK_HAS_HEADERS(intrin.h) - -ACE_CHECK_HAS_HEADERS(ia64intrin.h) - -ACE_CHECK_HAS_HEADERS(ia32intrin.h) - -ACE_CHECK_LACKS_HEADERS(sys/ioctl.h) - -ACE_CHECK_LACKS_HEADERS(sys/ipc.h) - -ACE_CHECK_HAS_HEADERS(sys/loadavg.h) - -ACE_CHECK_LACKS_HEADERS(sys/mman.h) - -ACE_CHECK_HAS_HEADERS(sys/pstat.h) - -ACE_CHECK_LACKS_HEADERS(sys/resource.h) - -ACE_CHECK_LACKS_HEADERS(sys/sem.h) - -ACE_CHECK_LACKS_HEADERS(sys/shm.h) - -ACE_CHECK_LACKS_HEADERS(sys/select.h) - -ACE_CHECK_HAS_HEADERS(sys/sockio.h) - -ACE_CHECK_LACKS_HEADERS(sys/stat.h) - -dnl Test for out of alphabetical order, since it must -dnl be (conditionally) #included in other feature tests. -ACE_CHECK_LACKS_HEADERS(sys/types.h) - -ACE_CHECK_LACKS_HEADERS(sys/sysctl.h, [], [], -[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#ifndef ACE_LACKS_SYS_PARAM_H -# include -#endif -]) - -ACE_CHECK_LACKS_HEADERS(sys/time.h) - -ACE_CHECK_LACKS_HEADERS(sys/uio.h) - -ACE_CHECK_LACKS_HEADERS(sys/un.h) - -ACE_CHECK_LACKS_HEADERS(sys/wait.h) - -ACE_CHECK_HAS_HEADERS(sysent.h) - -ACE_CHECK_LACKS_HEADERS(time.h) - -ACE_CHECK_LACKS_HEADERS(termio.h termios.h) - -ACE_CHECK_LACKS_HEADERS(wctype.h) - -AC_CHECK_TYPE([struct termio], - [AC_DEFINE([ACE_HAS_TERMIO], 1, - [Define to 1 if system supports SysV tty API.])], - [], - [ -#ifndef ACE_LACKS_TERMIO_H -#include -#endif - ]) - -AC_CHECK_TYPE([struct termios], - [AC_DEFINE([ACE_HAS_TERMIOS], 1, - [Define to 1 if system supports POSIX tty API.])], - [], - [ -#ifndef ACE_LACKS_TERMIOS_H -#include -#endif - ]) - -dnl If the platform has XTI, don't bother with the TLI checks as XTI is -dnl preferred. -AS_IF([test "$ace_has_xti_funcs" = yes], - [ - AC_CHECK_HEADER([xti.h], - [ - ace_has_xti=yes - AC_DEFINE([ACE_HAS_XTI]) - ],) - - AC_CHECK_HEADER([sys/xti.h], - [ - ace_has_xti=yes - AC_DEFINE([ACE_HAS_SYS_XTI_H]) - AC_DEFINE([ACE_HAS_XTI]) - ],) - - AC_CHECK_HEADER([sys/timod.h], - [ - AC_DEFINE([ACE_HAS_TIMOD_H]) - ],) - -dnl Check if XTI headers define TCP macros that conflict with netinet/tcp.h's - ACE_CACHE_CHECK([if TCP macros in sys/xti.h conflict with netinet/tcp.h], - [ace_cv_lib_has_conflicting_xti_macros], - [ - ACE_CONVERT_WARNINGS_TO_ERRORS([ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -# if defined (ACE_HAS_XTI) -# include -# if defined (ACE_HAS_SYS_XTI_H) -# include /**/ -# else -# include /**/ -# endif /* ACE_HAS_SYS_XTI_H */ -# else -# if defined (ACE_HAS_TIUSER_H) -# include /**/ -# endif -# endif /* ACE_HAS_XTI */ -# if !defined (ACE_LACKS_NETINET_TCP_H) -# include /**/ -# endif /* !ACE_LACKS_NETINET_TCP_H */ - ]],[[ - int a = 0; - ]])],[ - ace_cv_lib_has_conflicting_xti_macros=no - ],[ - ace_cv_lib_has_conflicting_xti_macros=yes - ]) - ]) - ], - [ - AC_DEFINE([ACE_HAS_CONFLICTING_XTI_MACROS]) - ],) - - ],[]) - -AS_IF([test "$ace_has_tli_funcs" = yes], - [ - AC_CHECK_HEADER([tiuser.h], - [ - ace_has_tli=yes - AC_DEFINE([ACE_HAS_TIUSER_H]) - AC_DEFINE([ACE_HAS_TLI]) - ],) - - AC_CHECK_HEADER([sys/timod.h], - [ - AC_DEFINE([ACE_HAS_TIMOD_H]) - ], - [ - AC_CHECK_HEADER([tli/timod.h], - [ - AC_DEFINE([ACE_HAS_OSF_TIMOD_H]) - ],) - ]) - - AC_CHECK_FUNC([t_getname], - [AC_DEFINE([ACE_HAS_SVR4_TLI])],) - - -if test "$ac_cv_header_tiuser_h" = yes; then - ACE_CACHE_CHECK([if tiuser.h is protected by extern "C"], - [ace_cv_lib_tiuser_with_extern_c],[ - AC_EGREP_HEADER([extern \"C\"],[tiuser.h], - [ - ace_cv_lib_tiuser_with_extern_c=yes - ], - [ - ace_cv_lib_tiuser_with_extern_c=no - ]) - ],,[AC_DEFINE([ACE_HAS_TIUSER_H_BROKEN_EXTERN_C])]) -fi dnl test "$ac_cv_header_tiuser_h" = yes - -AC_CHECK_HEADER([xliuser.h], - [ - ace_has_tli=yes - AC_DEFINE([ACE_HAS_XLI]) - AC_DEFINE([ACE_HAS_TLI]) - ],) - - -dnl Check for TLI prototypes. -if test "$ace_has_tli" = yes; then - ACE_CACHE_CHECK([for TLI prototypes], - [ace_cv_lib_tli_prototypes], - [ -dnl We only check for t_accept. This should hopefully be enough. - AC_EGREP_CPP([t_accept], - [ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif - -#if defined (ACE_HAS_TIMOD_H) -# include -#endif - -#if defined (ACE_HAS_OSF_TIMOD_H) -# include -#endif - -#if defined (ACE_HAS_TIUSER_H) -# include /**/ -#endif /* ACE_HAS_TIUSER_H */ - -#if defined (ACE_HAS_XLI) -# include -#endif - ], - [ - ace_cv_lib_tli_prototypes=yes - ], - [ - ace_cv_lib_tli_prototypes=no - ]) - ],[AC_DEFINE([ACE_HAS_TLI_PROTOTYPES])],) - -dnl Check for t_errno type in TLI headers - ACE_CACHE_CHECK([for t_errno in TLI headers], - [ace_cv_lib_has_t_errno], - [ - dnl Check if t_errno is declared in the TLI headers - AC_EGREP_CPP([t_errno], - [ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif - -#if defined (ACE_HAS_TIMOD_H) -# include -#endif - -#if defined (ACE_HAS_OSF_TIMOD_H) -# include -#endif - -#if defined (ACE_HAS_TIUSER_H) -# include /**/ -#endif /* ACE_HAS_TIUSER_H */ - -#if defined (ACE_HAS_XLI) -# include -#endif - ], - [ - ace_cv_lib_has_t_errno=yes - ], - [ - ace_cv_lib_has_t_errno=no - ]) - ],,[AC_DEFINE([ACE_LACKS_T_ERRNO])]) - -fi dnl test "$ace_has_tli_funcs" = yes -],[]) - -dnl These checks are needed for both XTI and TLI. -AS_IF([test "$ace_has_xti" = yes || test "$ace_has_tli" = yes], - [ - dnl Check if t_error incorrectly accepts char * - ACE_CONVERT_WARNINGS_TO_ERRORS([ - ACE_CACHE_CHECK([if t_error incorrectly accepts char *], - [ace_cv_lib_has_broken_t_error], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif - -#if defined (ACE_HAS_XTI) -# if defined (ACE_HAS_SYS_XTI_H) -# include -# else -# include -# endif /* ACE_HAS_SYS_XTI_H */ -#elif defined (ACE_HAS_TIUSER_H) -# include /**/ -#endif /* ACE_HAS_TIUSER_H */ - -#if defined (ACE_HAS_XLI) -# include -#endif - ]],[[ - const char *ace_errmsg = "FOO"; - t_error (ace_errmsg); - ]])],[ - ace_cv_lib_has_broken_t_error=no - ],[ - ace_cv_lib_has_broken_t_error=yes - ]) - ], - [ - AC_DEFINE([ACE_HAS_BROKEN_T_ERROR]) - ],) - ]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - - ],[]) - -dnl See the notes about ACE_LACKS_MMAP in the functions section of this -dnl configure script. -dnl -Ossama -AC_CHECK_HEADER([sys/mman.h], - [ - AC_EGREP_HEADER([extern \"C\"],[sys/mman.h], - , - [ - AC_DEFINE([ACE_HAS_BROKEN_MMAP_H]) - ]) - ], - [ - AC_DEFINE([ACE_LACKS_MMAP]) - ]) - -dnl Check for bzero() prototype if bstring.h exists. -AC_CHECK_HEADER([bstring.h], - [ - AC_EGREP_HEADER([bzero],[bstring.h], - [ - AC_DEFINE([ACE_HAS_BSTRING]) - ],) - ],) - -AC_CHECK_HEADER([strings.h], - [ - AC_EGREP_HEADER([bzero],[strings.h], - [ - AC_DEFINE([ACE_HAS_STRINGS]) - ],) - ],) - -ACE_CHECK_HAS_HEADERS(sys/syscall.h) - -AC_CHECK_HEADER([poll.h], - [AC_DEFINE([ACE_HAS_POLL])],) - -ACE_CHECK_LACKS_HEADERS(pwd.h) - -AC_CHECK_HEADER([regexpr.h], - [AC_DEFINE([ACE_HAS_REGEX])],) - -AC_CHECK_HEADER([stropts.h], - [AC_DEFINE([ACE_HAS_STREAMS])], - [AC_DEFINE([ACE_LACKS_STROPTS_H])]) - -ACE_CHECK_LACKS_HEADERS(siginfo.h) - -ACE_CHECK_LACKS_HEADERS(unistd.h) - -ACE_CHECK_LACKS_HEADERS(utime.h) - -ACE_CHECK_LACKS_HEADERS(wchar.h) - -AC_CHECK_HEADER([wchar.h], - [AC_DEFINE([ACE_HAS_WCHAR])],) - -AC_CHECK_HEADER([new], - [AC_DEFINE([ACE_HAS_NEW_NO_H])], - [ - ACE_CHECK_HAS_HEADERS([new.h]) - ]) - -AC_CHECK_HEADER([memory],,) - -dnl Check for availablity of "new style" C++ stream headers -AC_CHECK_HEADERS([iomanip ios iostream istream ostream fstream streambuf], - , - [AC_CHECK_HEADERS([iostream.h fstream.h], - [AC_DEFINE([ACE_USES_OLD_IOSTREAMS])], - [AC_DEFINE([ACE_LACKS_IOSTREAM_TOTALLY])])]) - -dnl Check for old malloc() prototype. -ACE_CONVERT_WARNINGS_TO_ERRORS([ -ACE_CACHE_CHECK([for old malloc() prototype], - [ace_cv_lib_old_malloc_proto], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include -#ifndef ACE_LACKS_MALLOC_H -# include -#endif - ]],[[ - char *s = 0; - s = malloc(sizeof(int)); - ]])],[ - ace_cv_lib_old_malloc_proto=yes - ],[ - ace_cv_lib_old_malloc_proto=no - ]) - ],[AC_DEFINE([ACE_HAS_OLD_MALLOC])],) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - - -dnl Check for *_timedwait() prototypes -dnl TODO: We only check for one of the *_timedwait() prototypes. -dnl Is this enough? -AC_CHECK_DECL([recv_timedwait], - [], - [AC_DEFINE([ACE_LACKS_TIMEDWAIT_PROTOTYPES], 1, - [Define to 1 if platform lacks the declarations - of recv_timedwait, send_timedwait, etc.])], - [#include - #include ]) - -dnl Check for {get,set}rlimit prototypes -AC_CHECK_DECL([getrlimit],[],[],[#include ]) -AC_CHECK_DECL([setrlimit],[],[],[#include ]) -if test "$ac_cv_have_decl_getrlimit" != yes || - test "$ac_cv_have_decl_setrlimit" != yes; then - AC_DEFINE([ACE_LACKS_RLIMIT_PROTOTYPE], 1, - [Define to 1 if platform lacks the declaration of - {get,set}rlimit().]) -fi - - -dnl SECTION 6: Checks for typedefs - -dnl dnl Standard typedef checks (All of them may not be needed) -dnl AC_TYPE_UID_T -dnl AC_TYPE_MODE_T -dnl AC_TYPE_OFF_T -dnl AC_TYPE_PID_T -dnl AC_TYPE_SIZE_T - -dnl AC_CHECK_TYPE([off64_t],[long long]) - -dnl Specific typedef checks -dnl TODO: Check whether these typedefs can be defined somewhere else. -AC_CHECK_TYPE([cpu_set_t], - [AC_DEFINE([ACE_HAS_CPU_SET_T], 1, - [Define to 1 if the system has the type `cpu_set_t'.])], - [], - [ -#if !defined(ACE_LACKS_SCHED_H) -#include -#endif - ]) - -AC_CHECK_TYPE([idtype_t], - [AC_DEFINE([ACE_HAS_IDTYPE_T], 1, - [Define to 1 if the system has the type `idtype_t'.])], - [], - [#include ]) - -AC_CHECK_TYPE([key_t], - [], - [AC_DEFINE([ACE_LACKS_KEY_T], 1, - [Define to 1 if the system lacks the type `key_t'.])], - [#include ]) - -AC_CHECK_TYPE([sem_t], - [], - [], - [#include ]) - -AC_CHECK_TYPE([pri_t], - [], - [AC_DEFINE([ACE_LACKS_PRI_T], 1, - [Define to 1 if the system lacks the type 'pri_t'.])], - [#include ]) - -AC_CHECK_TYPE([sig_atomic_t], - [AC_DEFINE([ACE_HAS_SIG_ATOMIC_T], 1, - [Define to 1 if the system has the type 'sig_atomic_t'.])], - [], - [#include ]) - -AC_CHECK_TYPE([union sigval], - [], - [], - [#include ]) - -if test "$ac_cv_type_union_sigval" = yes; then - dnl Depending on the system, the field names of union sigval have - dnl either a sival_ (POSIX) or sigval_ (older versions of FreeBSD) - dnl prefix. Define ACE_HAS_SIGVAL_SIGVAL_INT accordingly. - AC_CHECK_MEMBER([union sigval.sigval_int], - [AC_DEFINE([ACE_HAS_SIGVAL_SIGVAL_INT], 1, - [Define to 1 if `sigval_int' is a member of `union sigval'.])], - [], - [#include ]) - - dnl Depending on the system, the field names of union sigval have - dnl either a sival_ (POSIX) or sigval_ (older versions of FreeBSD) - dnl prefix. Define ACE_HAS_SIGVAL_SIGVAL_PTR accordingly. - AC_CHECK_MEMBER([union sigval.sigval_ptr], - [AC_DEFINE([ACE_HAS_SIGVAL_SIGVAL_PTR], 1, - [Define to 1 if `sigval_ptr' is a member of `union sigval'.])], - [], - [#include ]) -fi - -AC_CHECK_TYPE([ssize_t], - [AC_DEFINE([ACE_HAS_SSIZE_T], 1, - [Define to 1 if the system has the type `ssize_t'.])], - [], - [#include ]) - -AC_CHECK_TYPE([suseconds_t], - [], - [AC_DEFINE([ACE_LACKS_SUSECONDS_T], 1, - [Define to 1 if the system lacks the type 'suseconds_t'.])], - [#include ]) - -AC_CHECK_TYPE([useconds_t], - [], - [AC_DEFINE([ACE_LACKS_USECONDS_T], 1, - [Define to 1 if the system lacks the type 'useconds_t'.])], - [#include ]) - - -dnl Some platforms define ucontext_t in , but ACE -dnl doesn't explicitly include that header. However, it is very -dnl likely that does, either directly or indirectly. -AC_CHECK_TYPE([ucontext_t], - [AC_DEFINE([ACE_HAS_UCONTEXT_T], 1, - [Define to 1 if the system has the type `ucontext_t'.])], - [], -[#include -#ifndef ACE_LACKS_UCONTEXT_H -# include -#endif -]) - -AC_CHECK_TYPE([u_longlong_t], - [], - [AC_DEFINE([ACE_LACKS_U_LONGLONG_T], 1, - [Define to 1 if the system lacks the type `u_long_long_t'.])], - [#include ]) - -AC_CHECK_TYPE([wchar_t], - [], - [AC_DEFINE([ACE_LACKS_WCHAR_T], 1, - [Define to 1 if the system lacks the type `wchar_t'.])], -[#include -#include -]) - -AC_CHECK_TYPE([socklen_t], - [AC_DEFINE([ACE_HAS_SOCKLEN_T], 1, - [Define to 1 if the system has the type `socklen_t'.])], - [], -[ -#ifndef ACE_LACKS_SYS_TYPES_H -#include -#endif -#ifndef ACE_LACKS_SYS_SOCKET_H -#include -#endif -]) - -if test $ac_cv_type_socklen_t = no; then - dnl The compiler in linux just issues a warning, and the test - dnl passes!!! - - dnl FIXED by adding "-Werror" to compiler flags when using GNU C++ - dnl -Ossama - ACE_CONVERT_WARNINGS_TO_ERRORS( - [ - dnl Check if socket size is denoted by size_t - ACE_CACHE_CHECK([if socket size is denoted by size_t], - [ace_cv_lib_posix_socket_len_size_t],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#ifndef ACE_LACKS_SYS_SOCKET_H -# include -#endif - ]],[[ - int s = 0; - struct sockaddr* addr = 0; - int* addrlen = 0; - accept(s, addr, addrlen); - ]])],[ - ace_cv_lib_posix_socket_len_size_t=no - ],[ - dnl Now see if it really does take a size_t socket size - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#ifndef ACE_LACKS_SYS_SOCKET_H -# include -#endif - ]], - [[ - int s = 0; - struct sockaddr* addr = 0; - size_t* addrlen = 0; - accept(s, addr, addrlen); - ]])], - [ - ace_cv_lib_posix_socket_len_size_t=yes - ], - [ - ace_cv_lib_posix_socket_len_size_t=no - ]) - ]) - ],[AC_DEFINE([ACE_HAS_SIZET_SOCKET_LEN])],) - ]) -fi - - -dnl SECTION 7: checks for structures - - -dnl TODO: Check whether these structures can be defined somewhere else. -AC_CHECK_TYPE([struct dirent], - [], - [AC_DEFINE([ACE_LACKS_STRUCT_DIR], 1, - [Define to 1 if the system lacks the type `struct dirent'.])], - [#include ]) -AC_CHECK_TYPE([struct flock], - [], - [AC_DEFINE([ACE_LACKS_FILELOCKS], 1, - [Define to 1 if the system lacks the type `struct flock'.])], - [#include ]) -AC_CHECK_TYPE([rwlock_t], - [], - [AC_DEFINE([ACE_LACKS_RWLOCK_T], 1, - [Define to 1 if the system lacks the type `rwlock_t'.])], - [#include ]) -AC_CHECK_TYPE([struct strbuf], - [AC_DEFINE([ACE_HAS_STRBUF_T], 1, - [Define to 1 if the system has the type `struct strbuf'.])], - [], - [#include ]) -case "$host" in -*irix*) - dnl IRIX prusage fields don't match what ACE currently supports. - ;; -*) - AC_CHECK_TYPE([prusage_t], - [AC_DEFINE([ACE_HAS_PRUSAGE_T], 1, - [Define to 1 if the system has the type `prusage_t'.])], - [], - [#include ]) - ;; -esac -AC_CHECK_TYPE([struct strrecvfd], - [], - [AC_DEFINE([ACE_LACKS_STRRECVFD], 1, - [Define to 1 if the system lacks the type `struct strrecvfd'.])], - [#include ]) -AC_CHECK_TYPE([struct sigaction], - [], - [AC_DEFINE([ACE_LACKS_SIGACTION], 1, - [Define to 1 if the system lacks the type `struct sigaction'.])], - [#include ]) -AC_CHECK_TYPE([sigset_t], - [], - [AC_DEFINE([ACE_LACKS_SIGSET], 1, - [Define to 1 if the system lacks the type `sigset_t'.])], - [#include ]) -AC_CHECK_TYPE([struct lifnum], - [], - [AC_DEFINE([ACE_LACKS_STRUCT_LIFNUM], 1, - [Define to 1 if the system uses int instead of `struct lifnum' for SIOCGIFNUM ioctl.])], - [#include ]) -AC_CHECK_TYPE([struct utsname], - [], - [AC_DEFINE([ACE_LACKS_UTSNAME_T], 1, - [Define to 1 if the system lacks the type `struct utsname'.])], - [#include ]) -AC_CHECK_TYPE([struct sembuf], - [], - [AC_DEFINE([ACE_LACKS_SEMBUF_T], 1, - [Define to 1 if the system lacks the type `struct sembuf'.])], - [ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include ]) - -dnl Thanks to Konstantinos Margaritis for pointing out -dnl that struct siginfo_t may also be defined in signal.h -AC_CHECK_TYPE([siginfo_t], - [AC_DEFINE([ACE_HAS_SIGINFO_T], 1, - [Define to 1 if the system has the type `siginfo_t'.])], - [], - [#include -#ifndef ACE_LACKS_SIGINFO_H -#include -#endif]) - -if test "$ac_cv_type_siginfo_t" = yes; then - AC_CHECK_MEMBER([siginfo_t.si_addr], - [], - [AC_DEFINE([ACE_LACKS_SI_ADDR], 1, - [Define to 1 if `si_addr' is not a member of `siginfo_t'.])], - [#include -#ifndef ACE_LACKS_SIGINFO_H -#include -#endif]) -fi - - -dnl Some platforms need to include sys/types.h before sys/socket.h -dnl in order for struct msghdr to work. -dnl Check for msghdr structure. -ACE_CACHE_CHECK([for struct msghdr],[ace_cv_struct_msghdr], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - ]],[[ - struct msghdr ace_msghdr; - ]])],[ - ace_cv_struct_msghdr=yes - ],[ - ace_cv_struct_msghdr=no - ]) - ], [AC_DEFINE([ACE_HAS_MSG])],) - -ACE_CACHE_CHECK([for condition variable support],[ace_cv_struct_cond_t], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]],[[ - pthread_cond_t ace_pthread_cond_t; - ]])],[ - ace_cv_struct_cond_t=yes - ],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include - ]], - [[ - cond_t ace_cond_t; - ]])], - [ - ace_cv_struct_cond_t=yes - ], - [ - ace_cv_struct_cond_t=no - ]) - ]) - ],,[AC_DEFINE([ACE_LACKS_COND_T])]) - -dnl Check for struct timespec -ACE_CACHE_CHECK([for POSIX timer structure], - [ace_cv_lib_posix_timer_struct], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#if !defined(ACE_LACKS_SYS_TIME_H) -# include -#endif -#include - ]],[[ - timespec sr; - ]])],[ - ace_cv_lib_posix_timer_struct=yes - ],[ - dnl Check if platform uses struct timestruc_t for POSIX timers - dnl instead of struct timespec. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include - ]], - [[ - timestruc_t sr; - ]])], - [ - ace_cv_lib_posix_timer_struct=yes - dnl Check for struct timespec in - ACE_CACHE_CHECK([for struct timespec in sys/timers.h], - [ace_cv_lib_posix_struct_timespec_broken],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include - ]], - [[ - timespec sr; - ]])], - [ - ace_cv_lib_posix_struct_timespec_broken=yes - ], - [ - ace_cv_lib_posix_struct_timespec_broken=no - ]) - ],,) - ], - [ - ace_cv_lib_posix_timer_struct=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_HAS_POSIX_TIME]) - if test "$ace_cv_lib_posix_struct_timespec_broken" = yes; then - AC_DEFINE([ACE_HAS_BROKEN_POSIX_TIME]) - fi - ], - [ - dnl Check for struct timespec in - ACE_CACHE_CHECK([for struct timespec in sys/timers.h], - [ace_cv_lib_posix_struct_timespec_broken],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]],[[ - timespec sr; - ]])],[ - ace_cv_lib_posix_struct_timespec_broken=yes - ],[ - ace_cv_lib_posix_struct_timespec_broken=no - ]) - ],[AC_DEFINE([ACE_HAS_BROKEN_POSIX_TIME])],) - ]) - -dnl Check for typedef timespec_t -dnl TODO: Check whether this typedef can be defined somewhere else. -ACE_CACHE_CHECK([for timespec_t], - [ace_cv_lib_posix_timespec_t],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]],[[ - timespec_t tt; - ]])],[ - ace_cv_lib_posix_timespec_t=yes - ],[ - ace_cv_lib_posix_timespec_t=no - ]) -],,[AC_DEFINE([ACE_LACKS_TIMESPEC_T])]) - -dnl Check for union semun -ACE_CACHE_CHECK([for union semun], - [ace_cv_lib_posix_defines_union_semun],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - ]],[[ -/* We could also check if the macro _SEM_SEMUN_UNDEFINED is defined. - No big deal. */ - -semun us; - ]])],[ - ace_cv_lib_posix_defines_union_semun=yes - ],[ - ace_cv_lib_posix_defines_union_semun=no - ]) -],[AC_DEFINE([ACE_HAS_SEMUN])],) - - - -dnl SECTION 8: checks for variables - -dnl Check for more than two fields in struct rusage -ACE_CACHE_CHECK([for limited struct rusage], - [ace_cv_lib_limited_rusage],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include -#include - ]],[[ - rusage ace_rusage; - /* - We just pick three (i.e. > 2) of the fields that - ACE uses to see if we have a struct rusage that - has more than two fields. - */ - ace_rusage.ru_ixrss = 0; - ace_rusage.ru_idrss = 0; - ace_rusage.ru_isrss = 0; - ]])],[ - ace_cv_lib_limited_rusage=no - ],[ - ace_cv_lib_limited_rusage=yes - ]) -],[AC_DEFINE([ACE_HAS_LIMITED_RUSAGE_T])],) - -dnl Check for sin_len member in struct sockaddr_in -AC_CHECK_MEMBER([struct sockaddr_in.sin_len], - [AC_DEFINE([ACE_HAS_SOCKADDR_IN_SIN_LEN], 1, - [Define to 1 if `sin_len' is a member of `sockaddr_in'.])], - [], - [ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include - ]) - -dnl Check for sin6_len member in struct sockaddr_in6 -AC_CHECK_MEMBER([struct sockaddr_in6.sin6_len], - [AC_DEFINE([ACE_HAS_SOCKADDR_IN6_SIN6_LEN], 1, - [Define to 1 if `sin6_len' is a member of `sockaddr_in6'.])], - [], - [ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include - ]) - -dnl Check for sys_siglist -dnl TODO: Check whether this variable can be defined somewhere else. -dnl [OSSAMA: Should we use autoconf's AC_CHECK_DECLS([sys_siglist]) -dnl test instead?] -ACE_CACHE_CHECK([for sys_siglist], - [ace_cv_lib_posix_sys_siglist],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_UNISTD_H -# include -#endif -#include -#if !defined (_sys_siglist) -# define _sys_siglist sys_siglist -#endif - ]],[[ - void* vp = (void*) &_sys_siglist; - ]])],[ - ace_cv_lib_posix_sys_siglist=yes - ],[ - ace_cv_lib_posix_sys_siglist=no - ]) -],[AC_DEFINE([ACE_HAS_SYS_SIGLIST])],) - - -dnl SECTION 9: checks for compiler characteristics - - -dnl Check if compiler accepts "#pragma once" directive -ACE_CONVERT_WARNINGS_TO_ERRORS([ - ACE_CACHE_CHECK([if compiler accepts "pragma once" directive], - [ace_cv_has_pragma_once], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#pragma once - ]],[[ - int a = 0; /* Put this here so we don't have an empty main(). */ - ]])],[ - ace_cv_has_pragma_once=yes - ],[ - ace_cv_has_pragma_once=no - ]) - ],,[AC_DEFINE([ACE_LACKS_PRAGMA_ONCE])]) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -dnl If we are using GNU C++, see if it accepts the -pipe compiler flag. -dnl "-pipe" on cygwin32 doesn't seem to work, for example. -if test "$GXX" = yes; then - PREPIPECXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS -pipe" - PREPIPECFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -pipe" - ACE_CACHE_CHECK([if "-pipe" compiler flag is supported], - [ace_cv_feature_gxx_has_pipe], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]],[[int a = 0;]])],[ - ace_cv_feature_gxx_has_pipe=yes - ],[ - ace_cv_feature_gxx_has_pipe=no - ]) - ], - [ - dnl We don't need to add "-pipe" here since it was already added - dnl for the test. - dnl CXXFLAGS="$PREPIPECXXFLAGS -pipe" - dnl CFLAGS="$PREPIPECFLAGS -pipe" - ], - [ - CXXFLAGS="$PREPIPECXXFLAGS" - CFLAGS="$PREPIPECFLAGS" - ]) -fi - -dnl Check to see if we are running on a big endian platform -dnl "ace/Basic_Types.h" should perhaps be modified to take advantage -dnl of the results of this test. -dnl Do not run this test if we are using a cross-compiler. -AS_IF([test "$cross_compiling" != yes], - [ - AC_C_BIGENDIAN - ],[]) - -dnl Check type sizes -dnl If we get a size of zero, then the type is unknown to the compiler. - -dnl We don't need to check for sizeof(char) right now. Also conflicts with -dnl ACE definition in Basic_Types.h, so we leave the test out. -if test "$cross_compiling" != yes; then - AC_CHECK_SIZEOF([wchar_t]) - if test "$ac_cv_sizeof_wchar_t" != 0; then - AC_DEFINE_UNQUOTED([ACE_SIZEOF_WCHAR],[$ac_cv_sizeof_wchar_t], - [Size of the native "wchar_t" type]) - fi - AC_CHECK_SIZEOF([short]) - if test "$ac_cv_sizeof_short" != 0; then - AC_DEFINE_UNQUOTED([ACE_SIZEOF_SHORT],[$ac_cv_sizeof_short], - [Size of the native "short" type]) - fi - AC_CHECK_SIZEOF([int]) - if test $ac_cv_sizeof_int != 0; then - AC_DEFINE_UNQUOTED([ACE_SIZEOF_INT],[$ac_cv_sizeof_int], - [Size of the native "int" type]) - fi - AC_CHECK_SIZEOF([long]) - if test $ac_cv_sizeof_long != 0; then - AC_DEFINE_UNQUOTED([ACE_SIZEOF_LONG],[$ac_cv_sizeof_long], - [Size of the native "long" type]) - fi - AC_CHECK_SIZEOF([long long]) - if test $ac_cv_sizeof_long_long != 0; then - AC_DEFINE_UNQUOTED([ACE_SIZEOF_LONG_LONG],[$ac_cv_sizeof_long_long], - [Size of the native "long long" type]) - else - AC_DEFINE([ACE_LACKS_LONGLONG_T]) - fi - AC_CHECK_SIZEOF([void *]) - if test $ac_cv_sizeof_void_p != 0; then - AC_DEFINE_UNQUOTED([ACE_SIZEOF_VOID_P],[$ac_cv_sizeof_void_p], - [Size of the native "pointer to void" type]) - fi - AC_CHECK_SIZEOF([float]) - if test $ac_cv_sizeof_float != 0; then - AC_DEFINE_UNQUOTED([ACE_SIZEOF_FLOAT],[$ac_cv_sizeof_float], - [Size of the native "float" type]) - fi - AC_CHECK_SIZEOF([double]) - if test $ac_cv_sizeof_double != 0; then - AC_DEFINE_UNQUOTED([ACE_SIZEOF_DOUBLE],[$ac_cv_sizeof_double], - [Size of the native "double" type]) - fi - AC_CHECK_SIZEOF([long double]) - if test $ac_cv_sizeof_long_double != 0; then - AC_DEFINE_UNQUOTED([ACE_SIZEOF_LONG_DOUBLE],[$ac_cv_sizeof_long_double], - [Size of the native "long double" type]) - fi - - dnl Set the 64 bit typedefs - ACE_INT64="" - ACE_UINT64="" - dnl if test "$ace_cv_type_u_longlong_t" = yes; then - dnl This doesn't work: AC_CHECK_SIZEOF([u_longlong_t],[8]) - dnl if test $ac_cv_sizeof_u_longlong_t = 8; then - dnl ACE_UINT64="u_longlong_t" - dnl ace_u_long_long_typedef_set=yes - dnl fi - dnl elif test $ac_cv_sizeof_long = 8; then - if test $ac_cv_sizeof_long = 8; then - ACE_INT64="signed long" - ACE_UINT64="unsigned long" - ace_u_long_long_typedef_set=yes - elif test $ac_cv_sizeof_long_long = 8; then - ACE_INT64="signed long long" - ACE_UINT64="unsigned long long" - ace_u_long_long_typedef_set=yes - else - ace_u_long_long_typedef_set=no - fi - - dnl Check for broken "signed char" - dnl If AC_CHECK_SIZEOF(signed char) returns zero then "signed char" - dnl is broken. - AC_CHECK_SIZEOF([signed char],[1]) - if test $ac_cv_sizeof_signed_char = 0; then - AC_DEFINE([ACE_LACKS_SIGNED_CHAR]) - fi -else - ace_u_long_long_typedef_set=no -fi dnl test "$cross_compiling" != yes - -AC_CHECK_TYPE([intmax_t], - [], - [AC_DEFINE([ACE_LACKS_INTMAX_T], 1, - [Define to 1 if the system lacks the type `intmax_t'.])], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -AC_CHECK_TYPE([uintmax_t], - [], - [AC_DEFINE([ACE_LACKS_UINTMAX_T], 1, - [Define to 1 if the system lacks the type `uintmax_t'.])], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -AC_CHECK_TYPE([intptr_t], - [], - [AC_DEFINE([ACE_LACKS_INTPTR_T], 1, - [Define to 1 if the system lacks the type `intptr_t'.])], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -AC_CHECK_TYPE([uintptr_t], - [], - [AC_DEFINE([ACE_LACKS_UINTPTR_T], 1, - [Define to 1 if the system lacks the type `uintptr_t'.])], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -AC_CHECK_TYPE([int8_t], - [AC_DEFINE([ACE_HAS_INT8_T], 1, - [Define to 1 if the system has the type `int8_t'.])], - [], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -AC_CHECK_TYPE([uint8_t], - [AC_DEFINE([ACE_HAS_UINT8_T], 1, - [Define to 1 if the system has the type `uint8_t'.])], - [], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -AC_CHECK_TYPE([int16_t], - [AC_DEFINE([ACE_HAS_INT16_T], 1, - [Define to 1 if the system has the type `int16_t'.])], - [], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -AC_CHECK_TYPE([uint16_t], - [AC_DEFINE([ACE_HAS_UINT16_T], 1, - [Define to 1 if the system has the type `uint16_t'.])], - [], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -AC_CHECK_TYPE([int32_t], - [AC_DEFINE([ACE_HAS_INT32_T], 1, - [Define to 1 if the system has the type `int32_t'.])], - [], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -AC_CHECK_TYPE([uint32_t], - [AC_DEFINE([ACE_HAS_UINT32_T], 1, - [Define to 1 if the system has the type `uint32_t'.])], - [], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -AC_CHECK_TYPE([int64_t], - [AC_DEFINE([ACE_HAS_INT64_T], 1, - [Define to 1 if the system has the type `int64_t'.])], - [], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -AC_CHECK_TYPE([uint64_t], - [AC_DEFINE([ACE_HAS_UINT64_T], 1, - [Define to 1 if the system has the type `uint64_t'.])], - [], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -ACE_CACHE_CHECK([for std::numeric_limits<>], -[ace_cv_func_numeric_limits], -[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include ], - [return std::numeric_limits::max();])], - [ace_cv_func_numeric_limits=yes], - [ace_cv_func_numeric_limits=no]) -],,[AC_DEFINE([ACE_LACKS_NUMERIC_LIMITS])]) - -dnl Other checks - -ACE_VAR_TIMEZONE - - -dnl Check for istream operator>> for char, unsigned char and signed char -ACE_CACHE_CHECK([for istream operator>> for char types], - [ace_cv_feature_char_right_shifts], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]],[[ -unsigned char a = 0; -cin >> a; - -#ifndef ACE_LACKS_SIGNED_CHAR -signed char b = 0; -cin >> b; -#endif - ]])],[ - ace_cv_feature_char_right_shifts=yes - ],[ - ace_cv_feature_char_right_shifts=no - ]) - ],,[AC_DEFINE([ACE_LACKS_CHAR_RIGHT_SHIFTS])]) - - -dnl Check for istream operator>> for char *, unsigned char * and signed char * -ACE_CACHE_CHECK([for istream operator>> for char * types], - [ace_cv_feature_char_ptr_right_shifts], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]],[[ -unsigned char * a = 0; -cin >> a; - -#ifndef ACE_LACKS_SIGNED_CHAR -signed char * b = 0; -cin >> b; -#endif - ]])],[ - ace_cv_feature_char_ptr_right_shifts=yes - ],[ - ace_cv_feature_char_ptr_right_shifts=no - ]) - ],,[AC_DEFINE([ACE_LACKS_CHAR_STAR_RIGHT_SHIFTS])]) - -dnl Check to see how to call the explicit destructor on a template. -dnl There are a few different possibilities: -dnl ACE_HAS_WORKING_EXPLICIT_TEMPLATE_DESTRUCTOR (two cases): -dnl ACE_EXPLICIT_TEMPLATE_DESTRUCTOR_TAKES_ARGS: ~CLASS() -dnl (no other settings): ~CLASS() -dnl w/o ACE_HAS_WORKING_EXPLICIT_TEMPLATE_DESTRUCTOR: -dnl CLASS::~CLASS() -dnl -dnl The first seems to be the most widely used form, although very few -dnl hand-made configs have it set. Many compilers take all three forms. -dnl The only one that seems to be less-used is #2 above, ~CLASS(). -dnl So, we check for the first two cases, and if neither of them work, -dnl we assume the third (no config macros). - -ACE_CACHE_CHECK([to see if template destructor call takes template args], - [ace_cv_feature_explicit_template_des_takes_args], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - -class dyn -{ - public: - dyn () { } - ~dyn () { } -}; - -template -class Base -{ - public: - Base () { } - virtual void f (void) { } - ~Base () { } -}; - -template -class Derived -{ - public: - Derived () - { - x_ = new Base (); - } - virtual void f (void) { } - ~Derived () { x_->~Base (); } - private: - Base *x_; - T t_; -}; - ]],[[ - Derived *x = new Derived (); - - x->f (); - - delete x; - return 0; - ]])],[ - ace_cv_feature_explicit_template_des_takes_args=yes - ],[ - ace_cv_feature_explicit_template_des_takes_args=no - ]) - ],[ - AC_DEFINE([ACE_EXPLICIT_TEMPLATE_DESTRUCTOR_TAKES_ARGS]) - AC_DEFINE([ACE_HAS_WORKING_EXPLICIT_TEMPLATE_DESTRUCTOR]) - ], -) - -dnl Check for the second form of C++ explicit template destructors -dnl Thanks to Nanbor Wang for providing this test. -if test "$ace_cv_feature_explicit_template_des_takes_args" = no; then -ACE_CACHE_CHECK([for working C++ explicit template destructors], - [ace_cv_feature_working_explicit_des], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - -class dyn -{ - public: - dyn () { } - ~dyn () { } -}; - -template -class Base -{ - public: - Base () { } - virtual void f (void) { } - ~Base () { } -}; - -template -class Derived -{ - public: - Derived () - { - x_ = new Base (); - } - virtual void f (void) { } - ~Derived () { x_->~Base (); } - private: - Base *x_; - T t_; -}; - ]],[[ - Derived *x = new Derived (); - - x->f (); - - delete x; - return 0; - ]])],[ - ace_cv_feature_working_explicit_des=yes - ],[ - ace_cv_feature_working_explicit_des=no - ]) - ],[AC_DEFINE([ACE_HAS_WORKING_EXPLICIT_TEMPLATE_DESTRUCTOR])],) -fi - -dnl Check for C++ "std" namespace -ACE_CACHE_CHECK([for C++ "std" namespace], - [ace_cv_feature_posix_uses_std_namespace],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#if defined (ACE_USES_OLD_IOSTREAMS) -# include -#else -# include -#endif - ]],[[ - std::cout << "FOO" << std::endl; - ]])],[ - ace_cv_feature_posix_uses_std_namespace=yes - ],[ - ace_cv_feature_posix_uses_std_namespace=no - ]) - ],[AC_DEFINE([ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB])],) - -dnl Check for new style C++ include file support -ACE_CACHE_CHECK([for new style C++ include file support], - [ace_cv_lib_posix_standard_includes],[ - ace_cv_lib_posix_standard_includes=no - if test "$ace_cv_feature_posix_uses_std_namespace" = yes; then - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]],[[ -#ifdef ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB - std::string str; -#else - string str; -#endif /* ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB */ - ]])],[ace_cv_lib_posix_standard_includes=yes],[]) - fi - ], - [ - AC_DEFINE([ACE_HAS_STDCPP_STL_INCLUDES]) - AC_DEFINE([ACE_HAS_STRING_CLASS]) - ],) - -dnl Check whether platform supports the standard C++ library -dnl TODO: For now, check whether headers , -dnl and exist; is there a better way? -if test "$ac_cv_header_new" = yes && - test "$ac_cv_header_iomanip" = yes && - test "$ac_cv_header_memory" = yes; then - - dnl Check for auto_ptr class - ACE_CACHE_CHECK([for C++ auto_ptr class], - [ace_cv_lib_auto_ptr_class], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]],[[ - int *foo = new int; - -#ifdef ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB - std::auto_ptr safe (foo); -#else - auto_ptr safe (foo); -#endif - foo = safe.release (); - - delete foo; - ]])],[ - ace_cv_lib_auto_ptr_class=yes - ],[ - ace_cv_lib_auto_ptr_class=no - ]) - ], - [ - AC_DEFINE([ACE_HAS_STANDARD_CPP_LIBRARY]) - ], - [ - AC_DEFINE([ACE_LACKS_AUTO_PTR]) - ]) -fi - -if test "$ace_cv_lib_auto_ptr_class" = yes; then - dnl Check for auto_ptr reset method - ACE_CACHE_CHECK([for C++ auto_ptr reset method], - [ace_cv_lib_auto_ptr_reset], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]],[[ - int *foo = new int; - -#ifdef ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB - std::auto_ptr safe (foo); -#else - auto_ptr safe (foo); -#endif - int *bar = new int; - - safe.reset (bar); - - foo = safe.release (); - ]])],[ - ace_cv_lib_auto_ptr_reset=yes - ],[ - ace_cv_lib_auto_ptr_reset=no - ]) - ],,[AC_DEFINE([ACE_AUTO_PTR_LACKS_RESET])]) -fi dnl test $ace_cv_lib_auto_ptr_class=yes - -dnl Check if platform supports placement delete operator -ACE_CACHE_CHECK([for C++ placement delete operator], - [ace_cv_feature_placement_delete],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#if defined (ACE_HAS_NEW_NO_H) -# include -#elif defined (ACE_HAS_NEW_H) -# include -#endif - -class foo -{ -public: - void *operator new (size_t, void *p) { return p; } - void operator delete (void *p, void *) {} -}; - ]],[[ -int *x = 0; -foo *f = new (x) foo; - -// delete f; // Don't call delete for this test! - ]])],[ - ace_cv_feature_placement_delete=yes - ],[ - ace_cv_feature_placement_delete=no - ]) - ],,[AC_DEFINE([ACE_LACKS_PLACEMENT_OPERATOR_DELETE])]) - - -dnl Check if templates require source on platform -dnl -dnl FIXME: This test may be broken. -dnl -dnl FIXME: This test contains vestigial bits of tests for explicit -dnl template instantiation feature macros, even though support for -dnl the same has been removed. -dnl -dnl A rewrite to test only whether ACE_TEMPLATES_REQUIRE_SOURCE or -dnl ACE_TEMPLATES_REQUIRE_PRAGMA is clearly needed. -dnl -ACE_CACHE_CHECK([if templates require source], - [ace_cv_feature_templates_require_source], - [ - dnl Create the common header file - cat > ace_test.h < -class Foo -{ - public: - Foo (T val); - private: - T value_; -}; - -template -class Bar -{ - public: - Bar (Foo *); - private: - Foo *foo_ptr; -}; -#endif /* FOO_H */ -EOF - - dnl Create template source test file - cat > ace_test.$ac_ext < -Foo::Foo (T val) - : value_ (val) -{ - // Nothing else to do. -} - -template -Bar::Bar (Foo *val) - : foo_ptr (val) -{ - // Nothing else to do. -} -#endif /* FOO_CXX */ -EOF - - dnl Add the ACE-specific compiler flags to the compiler flags for - dnl the duration of this test. - ace_cxx_template_save_CXXFLAGS="$CXXFLAGS" - ace_cxx_template_save_CPPFLAGS="$CPPFLAGS" - ace_cxx_template_save_LDFLAGS="$LDFLAGS" - CXXFLAGS="$ACE_CXXFLAGS $CXXFLAGS" - CPPFLAGS="$ACE_CPPFLAGS $CPPFLAGS" - LDFLAGS="$ACE_LDFLAGS $LDFLAGS" - - dnl Remove any template repositories. - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - dnl First try without explicit template instantiation. - AC_LINK_IFELSE([AC_LANG_PROGRAM([[ -#include "ace_test.h" - ]],[[ -Foo foo (15); -Bar bar (0); - ]])],[ - dnl Template source is not required. - ace_cv_feature_templates_require_source=no - - dnl Template source does not require pragma. - AC_CACHE_VAL([ace_cv_feature_templates_require_pragma], - [ace_cv_feature_templates_require_pragma=no]) - - dnl Explicit template instantiation is not required. - AC_CACHE_VAL([ace_cv_feature_explicit_template_instantiation], - [ace_cv_feature_explicit_template_instantiation=no]) - - dnl Pragma template instantiation is not required. - AC_CACHE_VAL([ace_cv_feature_pragma_template_instantiation], - [ace_cv_feature_pragma_template_instantiation=no]) - ],[ - dnl Remove any template repositories. - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - dnl Now try including the template source. - AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#include "ace_test.h" -#include "ace_test.$ac_ext" - ]], - [[ -Foo foo (15); - -Bar bar (0); - ]])], - [ - dnl Template source is required! - ace_cv_feature_templates_require_source=yes - - dnl Template source does not require pragma. - AC_CACHE_VAL([ace_cv_feature_templates_require_pragma], - [ace_cv_feature_templates_require_pragma=no]) - - dnl Explicit template instantiation is not required. - AC_CACHE_VAL([ace_cv_feature_explicit_template_instantiation], - [ace_cv_feature_explicit_template_instantiation=no]) - - dnl Pragma template instantiation is not required. - AC_CACHE_VAL([ace_cv_feature_pragma_template_instantiation], - [ace_cv_feature_pragma_template_instantiation=no]) - ], - [ -dnl BEGIN OUTER REQUIRE SOURCE ######################################### - dnl Remove any generated template repositories. - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - dnl Now try with explicit template instantiation. - AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#include "ace_test.h" - -template class Foo; -template class Bar; - ]], - [[ -Foo foo (15); -Bar bar (0); - ]])], - [ - dnl Template source is not required. - ace_cv_feature_templates_require_source=no - - dnl Template source does not require pragma. - AC_CACHE_VAL([ace_cv_feature_templates_require_pragma], - [ace_cv_feature_templates_require_pragma=no]) - - dnl Explicit template instantiation is required. - AC_CACHE_VAL([ace_cv_feature_explicit_template_instantiation], - [ace_cv_feature_explicit_template_instantiation=yes]) - - dnl Pragma template instantiation is not required. - AC_CACHE_VAL([ace_cv_feature_pragma_template_instantiation], - [ace_cv_feature_pragma_template_instantiation=no]) - ], - [ - dnl Remove any generated template repositories. - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - dnl Don't set - dnl ace_cv_feature_pragma_template_instantiation - dnl to "no" here. It should only be set to "no" if - dnl explicit template instantiation works. - - dnl Now try including the template source. - AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#include "ace_test.h" -#include "ace_test.$ac_ext" - -template class Foo; -template class Bar; - ]], - [[ -Foo foo (15); -Bar bar (0); - ]])], - [ - dnl Template source is required! - ace_cv_feature_templates_require_source=yes - - dnl Template source does not require pragma. - AC_CACHE_VAL([ace_cv_feature_templates_require_pragma], - [ace_cv_feature_templates_require_pragma=no]) - - dnl Explicit template instantiation is required. - AC_CACHE_VAL( - [ace_cv_feature_explicit_template_instantiation], - [ace_cv_feature_explicit_template_instantiation=yes]) - - dnl Pragma template instantiation is not required. - AC_CACHE_VAL( - [ace_cv_feature_pragma_template_instantiation], - [ace_cv_feature_pragma_template_instantiation=no]) - ], - [ -dnl BEGIN INNER REQUIRE SOURCE ######################################### - dnl Remove any generated template repositories. - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - dnl Don't set - dnl ace_cv_feature_explicit_template_instantiation - dnl to "no" here. It should only be set to "no" if - dnl pragma template instantiation works. - - dnl Now try with pragma template instantiation. - AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#include "ace_test.h" - -#pragma instantiate Foo -#pragma instantiate Bar - ]], - [[ -Foo foo (15); -Bar bar (0); - ]])], - [ - dnl Template source is not required. - ace_cv_feature_templates_require_source=no - - dnl Template source does not require pragma. - AC_CACHE_VAL( - [ace_cv_feature_templates_require_pragma], - [ace_cv_feature_templates_require_pragma=no]) - - dnl Explicit template instantiation is not required. - AC_CACHE_VAL( - [ace_cv_feature_explicit_template_instantiation], - [ace_cv_feature_explicit_template_instantiation=no]) - - dnl Pragma template instantiation is required. - AC_CACHE_VAL( - [ace_cv_feature_pragma_template_instantiation], - [ace_cv_feature_pragma_template_instantiation=yes]) - ], - [ - dnl Remove any generated template repositories. - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - dnl Don't set - dnl ace_cv_feature_explicit_template_instantiation - dnl to "no" here. It should only be set to "no" if - dnl pragma template instantiation works. - - dnl Now try including the template source. - AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#include "ace_test.h" -#include "ace_test.$ac_ext" - -#pragma instantiate Foo -#pragma instantiate Bar - ]], - [[ -Foo foo (15); -Bar bar (0); - ]])], - [ - dnl Template source is required! - ace_cv_feature_templates_require_source=yes - - dnl Template source does not require pragma. - AC_CACHE_VAL( - [ace_cv_feature_templates_require_pragma], - [ace_cv_feature_templates_require_pragma=no]) - - dnl Explicit template instantiation is not required. - AC_CACHE_VAL( - [ace_cv_feature_explicit_template_instantiation], - [ace_cv_feature_explicit_template_instantiation=no]) - - dnl Pragma template instantiation is required. - AC_CACHE_VAL( - [ace_cv_feature_pragma_template_instantiation], - [ace_cv_feature_pragma_template_instantiation=yes]) - ], - [ - dnl If we get here, then we have no idea what is needed! - ace_cv_feature_templates_require_source=no - ]) - ]) -dnl END INNER REQUIRE SOURCE ######################################### - ]) - ]) -dnl END OUTER REQUIRE SOURCE ######################################### - ]) - ]) - - dnl Remove any generated template repositories. - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - dnl Remove the test additional test files. - rm -f ace_test* - - dnl Restore the compiler flags - CXXFLAGS="$ace_cxx_template_save_CXXFLAGS" - CPPFLAGS="$ace_cxx_template_save_CPPFLAGS" - LDFLAGS="$ace_cxx_template_save_LDFLAGS" - ], - [ - AC_DEFINE([ACE_TEMPLATES_REQUIRE_SOURCE]) - ], - [ - dnl Check if templates require pragma. - ACE_CACHE_CHECK([if templates require pragma], - [ace_cv_feature_templates_require_pragma], - [ - dnl Create the common header file - cat > ace_test.h < -class Foo -{ - public: - Foo (T val); - private: - T value_; -}; - -template -class Bar -{ - public: - Bar (Foo *); - private: - Foo *foo_ptr; -}; -#endif /* FOO_H */ -EOF - - dnl Create template source test file - cat > ace_test.$ac_ext < -Foo::Foo (T val) - : value_ (val) -{ - // Nothing else to do. -} - -template -Bar::Bar (Foo *val) - : foo_ptr (val) -{ - // Nothing else to do. -} -#endif /* FOO_CXX */ -EOF - - dnl Add the ACE-specific compiler flags to the compiler flags for - dnl the duration of this test. - ace_cxx_template_save_CXXFLAGS="$CXXFLAGS" - ace_cxx_template_save_CPPFLAGS="$CPPFLAGS" - ace_cxx_template_save_LDFLAGS="$LDFLAGS" - CXXFLAGS="$ACE_CXXFLAGS $CXXFLAGS" - CPPFLAGS="$ACE_CPPFLAGS $CPPFLAGS" - LDFLAGS="$ACE_LDFLAGS $LDFLAGS" - - dnl Remove any template repositories. - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - dnl We already know that the simplest case doesn't work so go - dnl straight to the "require pragma" test. - - dnl Now try including the template pragma. - AC_LINK_IFELSE([AC_LANG_PROGRAM([[ -#include "ace_test.h" - -#pragma implementation ("ace_test.$ac_ext") - ]],[[ -Foo foo (15); -Bar bar (0); - ]])],[ - dnl Template source is required! - ace_cv_feature_templates_require_pragma=yes - ],[ -dnl BEGIN OUTER REQUIRE PRAGMA ######################################### - dnl Remove any generated template repositories. - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - dnl Now try with explicit template instantiation. - AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#include "ace_test.h" - -#pragma implementation ("ace_test.$ac_ext") - -template class Foo; -template class Bar; - ]], - [[ -Foo foo (15); -Bar bar (0); - ]])], - [ - dnl Template pragma is required! - ace_cv_feature_templates_require_pragma=yes - - dnl Explicit template instantiation is required. - AC_CACHE_VAL( - [ace_cv_feature_explicit_template_instantiation], - [ace_cv_feature_explicit_template_instantiation=yes]) - - dnl Pragma template instantiation is not required. - AC_CACHE_VAL( - [ace_cv_feature_pragma_template_instantiation], - [ace_cv_feature_pragma_template_instantiation=no]) - ], - [ -dnl BEGIN INNER REQUIRE PRAGMA ######################################### - dnl Remove any generated template repositories. - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - dnl Now try with pragma template instantiation. - AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#include "ace_test.h" - -#pragma implementation ("ace_test.$ac_ext") - -#pragma instantiate Foo -#pragma instantiate Bar - ]], - [[ -Foo foo (15); -Bar bar (0); - ]])], - [ - dnl Template pragma is required! - ace_cv_feature_templates_require_pragma=yes - - dnl Explicit template instantiation is not required. - AC_CACHE_VAL( - [ace_cv_feature_explicit_template_instantiation], - [ace_cv_feature_explicit_template_instantiation=no]) - - dnl Pragma template instantiation is required. - AC_CACHE_VAL( - [ace_cv_feature_pragma_template_instantiation], - [ace_cv_feature_pragma_template_instantiation=yes]) - ], - [ - dnl If we get here, then we have no idea what is needed! - ace_cv_feature_templates_require_pragma=no - ]) -dnl END INNER REQUIRE PRAGMA ######################################### - ]) -dnl END OUTER REQUIRE PRAGMA ######################################### - ]) - - dnl Remove any generated template repositories. - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - dnl Remove the additional test files. - rm -f ace_test* - - dnl Restore the compiler flags - CXXFLAGS="$ace_cxx_template_save_CXXFLAGS" - CPPFLAGS="$ace_cxx_template_save_CPPFLAGS" - LDFLAGS="$ace_cxx_template_save_LDFLAGS" - ], - [ - AC_DEFINE([ACE_TEMPLATES_REQUIRE_PRAGMA]) - ], - [ - dnl Do nothing. - ]) - ]) - - -dnl Check if platform supports template typedefs -ACE_CACHE_CHECK([for template typedefs], - [ace_cv_feature_posix_template_typedefs],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - -class Bar -{ -public: - typedef int Y; - Bar(int bar) : bar_(bar) {} - int value() const { return bar_; } -private: - int bar_; -}; - -template -class Foo -{ -public: - typedef typename T::Y Y; - Foo(T* foo) : foo_(foo) {} - void print(Y); -private: - T* foo_; -}; - -template -void Foo::print(typename T::Y) -{ -} - ]],[[ -Bar bar(15); -Foo foo(&bar); -foo.print(11); - ]])],[ - ace_cv_feature_posix_template_typedefs=yes - ],[ - ace_cv_feature_posix_template_typedefs=no - ]) - ],[AC_DEFINE([ACE_HAS_TEMPLATE_TYPEDEFS])],) - -dnl Check if platform supports static data member templates -ACE_CACHE_CHECK([for static data member templates], - [ace_cv_feature_posix_static_data_member_templates],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -template -class Foo -{ -public: - static T* sdm; -}; - -template T* Foo::sdm = 0; - ]],[[ - /* No body */ - ]])],[ - ace_cv_feature_posix_static_data_member_templates=yes - ],[ - ace_cv_feature_posix_static_data_member_templates=no - ]) - ],,[AC_DEFINE([ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES])]) - -dnl Check if compiler needs definitions for hidden functions -ACE_CACHE_CHECK([if definition is needed for hidden functions], - [ace_cv_feature_need_func_def], - [ - AC_LINK_IFELSE([AC_LANG_PROGRAM([[ - class Foo - { - public: - Foo (void) { a_ = 0; } - private: - Foo (const Foo &); - void operator= (const Foo &); - - int a_; - }; - ]],[[ - Foo Bar; - ]])],[ - ace_cv_feature_need_func_def=no - ],[ - AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ - class Foo - { - public: - Foo (void) { a_ = 0; } - private: - Foo (const Foo &); - const Foo & operator= (const Foo &); - - int a_; - }; - - Foo::Foo (const Foo &) - { - a_ = 0; - } - - const Foo & - Foo::operator= (const Foo &) - { - a_ = 0; - - return *this; - } - ]], - [[ - Foo Bar; - ]])], - [ - ace_cv_feature_need_func_def=yes - ], - [ - dnl If we get here then we don't know what is needed! - ace_cv_feature_need_func_def=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_NEEDS_FUNC_DEFINITIONS]) - ],) - -dnl Check if platform supports C++ exceptions -if test "$ace_user_enable_exceptions" = yes; then - ACE_CACHE_CHECK([for C++ exceptions], - [ace_cv_feature_posix_exceptions],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]],[[ - int ret = 0; - class ACE {}; - try - { - throw ACE(); - } - catch (ACE) - { - ret = 1; - } - ]])],[ - ace_cv_feature_posix_exceptions=yes - ],[ - ace_cv_feature_posix_exceptions=no - ]) - ],[AC_DEFINE([ACE_HAS_EXCEPTIONS])],[ace_user_enable_exceptions=no]) - -fi dnl test "$ace_user_enable_exceptions" = yes - -dnl Check if we need a non-static object manager -dnl TODO / FIXME -dnl ACE_CACHE_CHECK([if we need a non-static object manager], -dnl [ace_cv_feature_nonstatic_object_manager],[ -dnl ace_cv_feature_nonstatic_object_manager=yes - dnl TODO: Should we check for this thing (and HOW), or - dnl should it be the user's choice? - - dnl For now, we will leave it as a user's choice. - dnl -Ossama -dnl ], -dnl [ - dnl Don't define anything until we have a test for this. - dnl AC_DEFINE([ACE_HAS_NONSTATIC_OBJECT_MANAGER]) -dnl ],) - -dnl Save the cache for debugging purposes -AC_CACHE_SAVE - - -dnl SECTION 10: checks for library functions - -ACE_FUNC_STRCASECMP -ACE_FUNC_STRNCASECMP -ACE_FUNC_STRDUP -ACE_FUNC_WCSCASECMP -ACE_FUNC_WCSNCASECMP -ACE_FUNC_WCSDUP - -if test "$ace_user_enable_alloca" = yes; then - AC_FUNC_ALLOCA - if test "$ac_cv_header_alloca_h" = yes; then - AC_DEFINE([ACE_HAS_ALLOCA_H]) - fi - if test "$ac_cv_func_alloca_works" = yes; then - AC_DEFINE([ACE_HAS_ALLOCA]) - fi -fi - -dnl ACE should really have something for both the sys/mman.h header -dnl and the mmap function since we need sys/mman.h for functions like -dnl mprotect and msync, but don't want to use mmap if it doesn't work. -dnl For now, we just check for the sys/mman.h header earlier in this -dnl configure script. - -dnl AC_FUNC_MMAP -dnl if test "$ac_cv_func_mmap_fixed_mapped" = no; then -dnl Even if we have mmap, do not use if broken! -dnl AC_DEFINE(ACE_LACKS_MMAP) -dnl fi - -dnl Check if closedir() returns a meaningful value -AC_FUNC_CLOSEDIR_VOID - -dnl Check for PWD functions -AC_CHECK_FUNC([getpwnam],,) -AC_CHECK_FUNC([setpwent],,) -AC_CHECK_FUNC([endpwent],,) -AC_CHECK_FUNC([getpwent],,) -AC_CHECK_FUNC([getpwuid],,) - -if test "$ac_cv_func_getpwnam" != yes || - test "$ac_cv_func_setpwent" != yes || - test "$ac_cv_func_endpwent" != yes || - test "$ac_cv_func_getpwent" != yes || - test "$ac_cv_func_getpwuid" != yes; then - AC_DEFINE([ACE_LACKS_PWD_FUNCTIONS]) -else - dnl The password file related functions above are required for ACE's - dnl alternate implementation. - - ACE_CONVERT_WARNINGS_TO_ERRORS([ - dnl Check for functions necessary for ACE's alternate implementation - dnl of the now obsolete cuserid() function. - ACE_CACHE_CHECK([checking if ACE cuserid() implementation should be used], - [ace_cv_lib_use_alt_cuserid], - [ - AC_LINK_IFELSE([AC_LANG_PROGRAM([[ -/* Undefine _XOPEN_SOURCE since it may make the cuserid() prototype - visible. ACE should not rely on such feature test macros. */ -#undef _XOPEN_SOURCE -#ifndef ACE_LACKS_UNISTD_H -# include -#else -# error No unistd.h header. Need header where cuserid() is located. -#endif /* ACE_LACKS_UNISTD_H */ - ]],[[ - char * foo = cuserid ((char *)0); - ]])],[ - dnl If successful then use the system cuserid() implementation, - dnl despite the fact that ACE's implementation may be safer. - ace_cv_lib_use_alt_cuserid=no - ],[ - AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#undef _XOPEN_SOURCE -#ifndef ACE_LACKS_UNISTD_H -# include -#else -# error No unistd.h header. Need header where geteuid() is located. -#endif - ]], - [[ - uid_t foo = geteuid (); - ]])], - [ - dnl All of the functions necessary for ACE's cuserid() - dnl implementation exist. - ace_cv_lib_use_alt_cuserid=yes - ], - [ - dnl If we get here, we're hosed! - ace_cv_lib_use_alt_cuserid=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_HAS_ALT_CUSERID]) - ],) - ]) -fi - - - -dnl Check for `strftime' in the `intl' library, for SCO UNIX -AC_FUNC_STRFTIME - -case "$host_os" in - *win32*) - AC_CHECK_FUNC([CancelIO], - [AC_DEFINE([ACE_HAS_CANCEL_IO])],) - - AC_CHECK_FUNC([SignalObjectAndWait], - [AC_DEFINE([ACE_HAS_SIGNAL_OBJECT_AND_WAIT])],) - - AC_CHECK_FUNC([TryEnterCriticalSection], - [AC_DEFINE([ACE_HAS_WIN32_TRYLOCK])],) - ;; - *) - ;; -esac - -ACE_CHECK_HAS_FUNCS(_InterlockedIncrement _InterlockedDecrement _InterlockedExchangeAdd) -if test "$ac_cv_func__InterlockedIncrement" = yes && - test "$ac_cv_func__InterlockedDecrement" = yes && - test "$ac_cv_func__InterlockedExchangeAdd" = yes; then - AC_DEFINE([ACE_HAS_INTRINSIC_INTERLOCKED]) -fi - -dnl Check for GCC atomic builtin -AC_MSG_CHECKING([for GCC atomic builtin]) -AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ - ]], - [[ - volatile unsigned long val = 10; - unsigned long retval = __sync_sub_and_fetch(&val, 1); - retval = __sync_add_and_fetch(&val, 1); - retval = __sync_fetch_and_sub(&val, 1); - retval = __sync_fetch_and_add(&val, 1); - ]])], - [ - AC_MSG_RESULT([yes]) - AC_DEFINE([ACE_HAS_GCC_ATOMIC_BUILTINS], 1, - [Define to 1 if compiler has builtin atomic support]) - ], - [ - AC_MSG_RESULT([no]) - ]) - -ACE_CHECK_LACKS_FUNCS(access) - -ACE_CHECK_LACKS_FUNCS(alphasort) - -ACE_CHECK_LACKS_FUNCS(asctime) - -ACE_CHECK_LACKS_FUNCS(asctime_r) - -ACE_CHECK_LACKS_FUNCS(alarm) - -ACE_CHECK_LACKS_FUNCS(bsearch) - -ACE_CHECK_HAS_DEFINES([bswap16]) -if test "$ace_cv_defined_bswap16" = no; then - ACE_CHECK_HAS_DEFINES([bswap_16],[],[],[ -#if ACE_HAS_BYTESWAP_H -#include -#endif]) -fi -ACE_CHECK_HAS_DEFINES([bswap32]) -if test "$ace_cv_defined_bswap32" = no; then - ACE_CHECK_HAS_DEFINES([bswap_32],[],[],[ -#if ACE_HAS_BYTESWAP_H -#include -#endif]) -fi -ACE_CHECK_HAS_DEFINES([bswap64]) -if test "$ace_cv_defined_bswap64" = no; then - ACE_CHECK_HAS_DEFINES([bswap_64],[],[],[ -#if ACE_HAS_BYTESWAP_H -#include -#endif]) -fi - -ACE_CHECK_LACKS_FUNCS(chdir) - -ACE_CHECK_HAS_FUNCS(clock_gettime clock_settime nanosleep) - -ACE_CHECK_LACKS_FUNCS(difftime) - -ACE_CHECK_LACKS_FUNCS(dup) - -ACE_CHECK_LACKS_FUNCS(dup2) - -dnl ACE uses execv, execvp and execve, so we don't bother to check -dnl for the others (e.g. execl, execlp, execle) -AC_CHECK_FUNC(execv) -AC_CHECK_FUNC(execvp) -AC_CHECK_FUNC(execve) -if test "$ac_cv_func_execv" != yes && - test "$ac_cv_func_execvp" != yes && - test "$ac_cv_func_execve" != yes; then - AC_DEFINE([ACE_LACKS_EXEC]) -fi - -ACE_CHECK_LACKS_FUNCS(fgetwc fcntl fork fsync) - -ACE_CHECK_LACKS_FUNCS(getcwd) - -ACE_CHECK_LACKS_FUNCS(gethostent) - -ACE_CHECK_LACKS_FUNCS(getipnodebyaddr) - -ACE_CHECK_LACKS_FUNCS(getipnodebyname) - -ACE_CHECK_HAS_FUNCS(getifaddrs) - -ACE_CHECK_LACKS_FUNCS(getegid geteuid getgid) - -ACE_CHECK_LACKS_FUNCS(setenv unsetenv) - -ACE_CHECK_LACKS_FUNCS(getopt) -if test $ac_cv_func_getopt = yes; then - AC_CHECK_DECL([getopt], - [], - [AC_DEFINE([ACE_LACKS_GETOPT_PROTOTYPE], 1, - [Define to 1 if platform lacks the declaration - of getopt().])], - [#include - #ifndef ACE_LACKS_UNISTD_H - # include - #endif]) -fi - -AC_CHECK_FUNC([getpagesize], - [AC_DEFINE([ACE_HAS_GETPAGESIZE])], - [AC_DEFINE([ACE_PAGE_SIZE], [4096])]) - -ACE_CHECK_LACKS_FUNCS(getpid) - -ACE_CHECK_LACKS_FUNCS([getpgid]) -if test "$ac_cv_func_getpgid" = yes; then - dnl Check if _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED macros are - dnl needed to make the getpgid() prototype visible. - ACE_CACHE_CHECK([for getpgid prototype], - [ace_cv_lib_has_getpgid_prototype], - [ - ace_save_CPPFLAGS="$CPPFLAGS" - ace_no_xopen="-U_XOPEN_SOURCE -U_XOPEN_SOURCE_EXTENDED" - CPPFLAGS="$CPPFLAGS $ace_no_xopen" - AC_EGREP_HEADER([[^_]+getpgid], [unistd.h], - [ - ace_cv_lib_has_getpgid_prototype=yes - ], - [ - ace_cv_lib_has_getpgid_prototype=no - ]) - dnl Reset the compiler flags - CPPFLAGS="$ace_save_CPPFLAGS" - ],, [AC_DEFINE([ACE_LACKS_GETPGID_PROTOTYPE])]) - AH_TEMPLATE([ACE_LACKS_GETPGID_PROTOTYPE], - [Define to 1 if platform lacks getpgid() declaration in .]) -fi - -ACE_CHECK_LACKS_FUNCS(getppid) - -ACE_CHECK_HAS_FUNCS(getprogname) - -ACE_CHECK_HAS_FUNCS(getrusage) -if test $ac_cv_func_getrusage = yes; then - AC_CHECK_DECL([getrusage], - [AC_DEFINE([ACE_HAS_GETRUSAGE_PROTOTYPE], 1, - [Define to 1 if platform has the declaration - of getrusage().])], - [], - [#include ]) -fi - -ACE_CHECK_LACKS_FUNCS(getuid) - -ACE_CHECK_LACKS_FUNCS(gmtime) - -ACE_CHECK_LACKS_FUNCS(gmtime_r) - -ACE_CHECK_LACKS_FUNCS(inet_aton) - -ACE_CHECK_LACKS_FUNCS(isatty) - -AC_CHECK_FUNC(isastream) -if test $ac_cv_func_isastream = yes; then - AC_CHECK_DECL([isastream], - [AC_DEFINE([ACE_HAS_ISASTREAM_PROTOTYPE], 1, - [Define to 1 if platform has the declaration - of isastream().])], - [], - [#include ]) -fi - -ACE_CHECK_HAS_FUNCS(itoa) - -dnl Check for 64 bit llseek() or lseek64() -case "$host" in - *UnixWare7*) - dnl Skip the check - ;; - *) - ACE_CHECK_LSEEK64 - ;; -esac - -ACE_CHECK_LACKS_FUNCS(kill) - -ACE_CHECK_LACKS_FUNCS(localtime) - -ACE_CHECK_LACKS_FUNCS(log2) - -ACE_CHECK_LACKS_FUNCS(lstat) - -ACE_CHECK_LACKS_FUNCS(madvise) -if test $ac_cv_func_madvise = yes; then - AC_CHECK_DECL([madvise], - [], - [AC_DEFINE([ACE_LACKS_MADVISE_PROTOTYPE], 1, - [Define to 1 if platform lacks the declaration - of madvise().])], - [ -#if !defined(ACE_LACKS_SYS_TYPES_H) -# include -#endif -#include - ]) -fi - -ACE_CHECK_HAS_FUNCS(mkdir) - -if test "$ac_cv_func_mkdir" = yes; then -dnl The mkdir() function has only one argument on Windows and VxWorks -AC_MSG_CHECKING([for 1- or 2-param mkdir]) -AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#include - ]], - [[ - const char path[] = "mypath"; - int result = mkdir (path); - ]])], - [ - AC_DEFINE([ACE_MKDIR_LACKS_MODE], 1, - [Define to 1 if platform has 1 parameter mkdir()]) - AC_MSG_RESULT([1]) - ], - [ - AC_MSG_RESULT([2]) - ]) -fi dnl test "$ac_cv_func_mkdir" = yes - -ACE_CHECK_HAS_FUNCS(memchr) - -ACE_CHECK_LACKS_FUNCS(mkfifo) - -ACE_CHECK_LACKS_FUNCS(mkstemp) -if test $ac_cv_func_mkstemp = yes; then - AC_CHECK_DECL([mkstemp], - [], - [AC_DEFINE([ACE_LACKS_MKSTEMP_PROTOTYPE], 1, - [Define to 1 if platform lacks the declaration - of mkstemp().])], - [#include ]) -fi - -ACE_CHECK_LACKS_FUNCS(mktemp) -if test $ac_cv_func_mktemp = yes; then - AC_CHECK_DECL([mktemp], - [], - [AC_DEFINE([ACE_LACKS_MKTEMP_PROTOTYPE], 1, - [Define to 1 if platform lacks the declaration - of mktemp().])], - [#include ]) -fi - -ACE_CHECK_LACKS_FUNCS(msync mprotect) - -ACE_CHECK_LACKS_FUNCS(pipe) - -ACE_CHECK_LACKS_FUNCS(qsort) - -ACE_CHECK_LACKS_FUNCS(realpath) - -ACE_CHECK_LACKS_FUNCS(setegid seteuid setgid) - -ACE_CHECK_LACKS_FUNCS([setpgid]) -if test "$ac_cv_func_setpgid" = yes; then - dnl Check if _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED macros are - dnl needed to make the setpgid() prototype visible. - ACE_CACHE_CHECK([for setpgid prototype], - [ace_cv_lib_has_setpgid_prototype], - [ - ace_save_CPPFLAGS="$CPPFLAGS" - ace_no_xopen="-U_XOPEN_SOURCE -U_XOPEN_SOURCE_EXTENDED" - CPPFLAGS="$CPPFLAGS $ace_no_xopen" - AC_EGREP_HEADER([[^_]+setpgid], [unistd.h], - [ - ace_cv_lib_has_setpgid_prototype=yes - ], - [ - ace_cv_lib_has_setpgid_prototype=no - ]) - dnl Reset the compiler flags - CPPFLAGS="$ace_save_CPPFLAGS" - ],, [AC_DEFINE([ACE_LACKS_SETPGID_PROTOTYPE])]) - AH_TEMPLATE([ACE_LACKS_SETPGID_PROTOTYPE], - [Define to 1 if platform lacks setpgid() declaration in .]) -fi - -ACE_CHECK_HAS_FUNCS([setprogname]) - -ACE_CHECK_LACKS_FUNCS([setregid]) -if test "$ac_cv_func_setregid" = yes; then - dnl Check if _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED macros are - dnl needed to make the setregid() prototype visible. - ACE_CACHE_CHECK([for setregid prototype], - [ace_cv_lib_has_setregid_prototype], - [ - ace_save_CPPFLAGS="$CPPFLAGS" - ace_no_xopen="-U_BSD_SOURCE -U_XOPEN_SOURCE -U_XOPEN_SOURCE_EXTENDED" - CPPFLAGS="$CPPFLAGS $ace_no_xopen" - AC_EGREP_HEADER([[^_]+setregid], [unistd.h], - [ - ace_cv_lib_has_setregid_prototype=yes - ], - [ - ace_cv_lib_has_setregid_prototype=no - ]) - dnl Reset the compiler flags - CPPFLAGS="$ace_save_CPPFLAGS" - ],, [AC_DEFINE([ACE_LACKS_SETREGID_PROTOTYPE])]) - AH_TEMPLATE([ACE_LACKS_SETREGID_PROTOTYPE], - [Define to 1 if platform lacks setregid() declaration in .]) -fi - -ACE_CHECK_LACKS_FUNCS([setreuid]) -if test "$ac_cv_func_setreuid" = yes; then - dnl Check if _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED macros are - dnl needed to make the setreuid() prototype visible. - ACE_CACHE_CHECK([for setreuid prototype], - [ace_cv_lib_has_setreuid_prototype], - [ - ace_save_CPPFLAGS="$CPPFLAGS" - ace_no_xopen="-U_BSD_SOURCE -U_XOPEN_SOURCE -U_XOPEN_SOURCE_EXTENDED" - CPPFLAGS="$CPPFLAGS $ace_no_xopen" - AC_EGREP_HEADER([[^_]+setreuid], [unistd.h], - [ - ace_cv_lib_has_setreuid_prototype=yes - ], - [ - ace_cv_lib_has_setreuid_prototype=no - ]) - dnl Reset the compiler flags - CPPFLAGS="$ace_save_CPPFLAGS" - ],, [AC_DEFINE([ACE_LACKS_SETREUID_PROTOTYPE])]) - AH_TEMPLATE([ACE_LACKS_SETREUID_PROTOTYPE], - [Define to 1 if platform lacks setreuid() declaration in .]) -fi - -ACE_CHECK_LACKS_FUNCS(setsid setuid) - -ACE_CHECK_LACKS_FUNCS(sigaction) - -ACE_CHECK_HAS_FUNCS(strnlen) -if test "$ac_cv_func_strnlen" = yes; then - AC_CHECK_DECL([strnlen], - [], - [AC_DEFINE([ACE_LACKS_STRNLEN_PROTOTYPE], 1, - [Define to 1 if platform lacks the declaration - of strnlen().])], - [#include ]) -fi - -ACE_CHECK_HAS_FUNCS(strsignal) - -ACE_CHECK_LACKS_FUNCS(strchr) - -ACE_CHECK_LACKS_FUNCS(strerror) - -ACE_CHECK_LACKS_FUNCS(strftime) - -ACE_CHECK_LACKS_FUNCS(strpbrk) - -ACE_CHECK_LACKS_FUNCS(strrchr) - -ACE_CHECK_LACKS_FUNCS(strspn) - -ACE_CHECK_LACKS_FUNCS(strtod) - -ACE_CHECK_LACKS_FUNCS(strtol) - -ACE_FUNC_STRTOLL - -ACE_CHECK_LACKS_FUNCS(strtoul) - -ACE_FUNC_STRTOULL - -# swab() comes in a number of forms: -# swab (const void*, void*, size_t) is POSIX, XPG4, SUS, SUSv2 standard. -# swab (const char*, char*, size_t) is SVID third edition. -# swab (char*, char*, size_t) is on some odd platforms like Windows. -# So, if swab() is available, figure out which of the three variants it is. -# The second and third have ACE config settings. -ACE_CHECK_LACKS_FUNCS([swab], - [ - AC_LINK_IFELSE([ - AC_LANG_PROGRAM([ -#include -#include - ], - [ -// If this compiles, we have the POSIX, XPG4, etc. standard. -const char src[2] = {'a', 'b'}; -char dst[2]; -const void *vsrc = src; -void *vdst = dst; -swab (vsrc, vdst, 2); - ]) - ], - [ - ace_cv_std_swab=yes - ], - [ - AC_LINK_IFELSE([ - AC_LANG_PROGRAM([ -#include -#include - ], - [ -// If this compiles, we have the SVID3 version, else it's the odd, -// non-const one. -const char src[2] = {'a', 'b'}; -char dst[2]; -swab (src, dst, 2); - ]) - ], - [ - AC_DEFINE([ACE_HAS_CONST_CHAR_SWAB]) - ], - [ - AC_DEFINE([ACE_HAS_NONCONST_SWAB]) - ]) - ]) - ], -) - -ACE_CHECK_LACKS_FUNCS(sysconf) - -ACE_CHECK_HAS_FUNCS(sysctl) - -ACE_CHECK_FUNC_SYSINFO - -ACE_CHECK_LACKS_FUNCS(system) - -AC_CHECK_FUNC([getmsg], - [ - AC_RUN_IFELSE([AC_LANG_SOURCE([[ -#ifndef ACE_LACKS_UNISTD_H -# include -#endif /* !ACE_LACKS_UNISTD_H */ - -#ifndef ACE_LACKS_SYS_IOCTL_H -# include -#endif /* ACE_LACKS_SYS_IOCTL_H */ - -#ifdef ACE_HAS_STREAMS -# include -#endif /* ACE_HAS_STREAMS */ - -int -main () -{ - int fds[2]; - - if (pipe (fds) != 0) - return -1; - -/* - * Verify that we can actually set a STREAM option that ACE uses. - * This is particularly necessary for platforms where compiling and - * linking succeed but fail at run-time due to a missing actual - * STREAMS implementation. For example, Linux/glibc requires a - * STREAMS patch/add-on. - */ - - int arg = RMSGN; - - if (ioctl (fds[0], I_SRDOPT, (void *) arg) != 0) - return -1; - - return 0; -} - ]])],[ - AC_DEFINE([ACE_HAS_STREAM_PIPES]) - ],[],[ - dnl action if cross-compiling - AC_DEFINE([ACE_HAS_STREAM_PIPES]) - ]) - ],) - -AC_CHECK_FUNC([gethostbyaddr],,) - -if test "$cross_compiling" != yes; then -case "$host" in - *linux*) - dnl Linux Event Poll - ACE_CACHE_CHECK([for epoll_create], - [ace_cv_linux_event_poll], - [ - AC_RUN_IFELSE([ - AC_LANG_PROGRAM([ -#include - ], - [ -int const ACE_NUM_DESCRIPTORS = 10; -return epoll_create (ACE_NUM_DESCRIPTORS) == -1 ? -1 : 0; - ]) - ], - [ - ace_cv_linux_event_poll=yes - ], - [ - ace_cv_linux_event_poll=no - ]) - ], - [ - AC_DEFINE([ACE_HAS_EVENT_POLL]) - ], - []) - ;; - *) - dnl Check if /dev/poll character device file exists and is - dnl useable. Just because /dev/poll is present doesn't mean its - dnl useable - this is the case on HP-UX 11. /dev/poll is there, but - dnl getting it to work requires a set of patches. - AC_RUN_IFELSE([ - AC_LANG_SOURCE([[ -#include -#include - -int -main () -{ - int fd = open ("/dev/poll", O_RDWR); - close (fd); - return fd == -1 ? -1 : 0; -} - ]])], - [ - AC_DEFINE([ACE_HAS_DEV_POLL]) - ], - [], - []) - ;; -esac -fi - -AC_CHECK_FUNC([gethrtime]) -if test $ac_cv_func_gethrtime = "yes"; then - AC_CHECK_TYPE([hrtime_t], - [AC_DEFINE([ACE_HAS_HI_RES_TIMER], 1, - [Define to 1 if system has SunOS high resolution timer.])], - [], - [#include ]) -fi - -ACE_CHECK_LACKS_FUNCS(readv writev) - -ACE_CHECK_HAS_FUNCS(set_t_errno) - -ACE_CHECK_HAS_FUNCS(sigsuspend sigtimedwait) - -ACE_CHECK_LACKS_FUNCS(socketpair) - -AC_CHECK_FUNC(strptime) -if test "$ac_cv_func_strptime" = yes; then - dnl strptime() is available, but its prototype is not always visible to - dnl the compiler. Check if _XOPEN_SOURCE macro is needed to make the - dnl strptime() prototype visible. - ace_save_CPPFLAGS="$CPPFLAGS" - ace_no_xopen="-U_XOPEN_SOURCE" - CPPFLAGS="$CPPFLAGS $ace_no_xopen" - AC_CHECK_DECL([strptime], - [], - [AC_DEFINE([ACE_LACKS_STRPTIME_PROTOTYPE], 1, - [Define to 1 if platform lacks the declaration - of strptime().])], - [#include ]) - dnl Reset the compiler flags - CPPFLAGS="$ace_save_CPPFLAGS" -else - AC_DEFINE([ACE_LACKS_STRPTIME], 1, - [Define to 1 if platform lacks strptime().]) -fi - -if test "$ac_cv_type_wchar_t" = yes; then - AC_CHECK_FUNC([wcslen], - [AC_DEFINE([ACE_HAS_XPG4_MULTIBYTE_CHAR])],) -fi - -ACE_CHECK_LACKS_FUNCS(syscall) - -AC_CHECK_FUNC([alarm],,) -AC_CHECK_FUNC([signal],,) - -if test "$ac_cv_func_alarm" != yes && - test "$ac_cv_func_signal" != yes; then - AC_DEFINE([ACE_LACKS_UNIX_SIGNALS]) -fi - -AC_CHECK_FUNC([getrlimit]) -AC_CHECK_FUNC([setrlimit]) -if test "$ac_cv_func_getrlimit" != yes || - test "$ac_cv_func_setrlimit" != yes; then - AC_DEFINE([ACE_LACKS_RLIMIT]) -fi - -ACE_CHECK_LACKS_FUNCS(readlink rename recvmsg sendmsg) - -if test "$ac_cv_header_sys_priocntl_h" = yes; then - AC_CHECK_FUNC([priocntl], - [AC_DEFINE([ACE_HAS_PRIOCNTL])],) - -dnl Some platforms define priocntl as a macro! - if test "$ac_cv_func_priocntl" = no; then - ACE_CACHE_CHECK([for priocntl macro], - [ace_cv_lib_has_priocntl_macro], - [ - AC_EGREP_CPP([ACE_PRIOCNTL_MACRO], - [ -#include - -#if defined (priocntl) - ACE_PRIOCNTL_MACRO -#endif - ], - [ - ace_cv_lib_has_priocntl_macro=yes - ], - [ - ace_cv_lib_has_priocntl_macro=no - ]) - ], [AC_DEFINE([ACE_HAS_PRIOCNTL])],) - fi dnl test "$ac_cv_func_priocntl" = no -fi dnl test "$ac_cv_header_sys_priocntl_h" = yes - -dnl FIXME: How do we check for a working sbrk()? Do we need to? -ACE_CHECK_LACKS_FUNCS(sbrk) - -ACE_CHECK_HAS_FUNCS(ualarm) -if test $ac_cv_func_ualarm = yes; then - AC_CHECK_DECL([ualarm], - [], - [AC_DEFINE([ACE_LACKS_UALARM_PROTOTYPE], 1, - [Define to 1 if platform lacks the declaration - of ualarm().])], - [#include ]) -fi - -ACE_CHECK_LACKS_FUNCS(umask) - -ACE_CHECK_LACKS_FUNCS(uname) - -ACE_CHECK_LACKS_FUNCS(unlink) - -ACE_CHECK_HAS_FUNCS(vasprintf vaswprintf vfwprintf vswprintf) - -ACE_CHECK_HAS_FUNCS(wcsnlen) - -ACE_CHECK_LACKS_FUNCS(fgetws fputws isblank iswblank isctype iswctype itow towlower towupper wcscat wcschr wcscmp wcscpy wcscspn wcslen wcsncat wcsncmp wcsncpy wcsnicmp wcspbrk wcsrchr wcsspn wcsstr wcstod) - -ACE_CHECK_LACKS_FUNCS(wcstok) -if test "$ac_cv_func_wcstok" = yes; then -dnl The wcstok() function varies with standards. Check which one we have. -AC_MSG_CHECKING([for 2- or 3-param wcstok]) -AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#include - ]], - [[ - wchar_t str[] = L"junk"; - const wchar_t delim[] = L"\t\n"; - wchar_t *ptr; - wchar_t *p = wcstok (str, delim, &ptr); - ]])], - [ - AC_DEFINE([ACE_HAS_3_PARAM_WCSTOK], 1, - [Define to 1 if platform has 3 parameter wcstok()]) - AC_MSG_RESULT([3]) - ], - [ - AC_MSG_RESULT([2]) - ]) -fi dnl test "$ac_cv_func_wcstok" = yes - -ACE_CHECK_LACKS_FUNCS(wcstol) - -ACE_FUNC_WCSTOLL - -ACE_CHECK_LACKS_FUNCS(wcstoul) - -ACE_FUNC_WCSTOULL - -dnl Check for SYSV IPC functions -dnl -dnl Although Darwin/OS X does not implement any of the SysV IPC API, -dnl its C library contains stubs for all the system calls (probably -dnl left over from the BSD libc). This causes false positives from -dnl AC_CHECK_FUNC which results in configure reporting that SysV IPC -dnl is supported. We avoid this problem by avoiding the function -dnl checks if the cooresponding headers were not detected earlier. -dnl -if test "$ac_cv_header_sys_msg_h" = yes; then - AC_CHECK_FUNC([msgctl],,) - - AC_CHECK_FUNC([msgget],,) - - AC_CHECK_FUNC([msgrcv],,) -fi dnl test "$ac_cv_header_sys_msg_h" = yes - -if test "$ac_cv_header_sys_sem_h" = yes; then - AC_CHECK_FUNC([semctl],,) - - AC_CHECK_FUNC([semget],,) - - AC_CHECK_FUNC([semop],,) -fi dnl test "$ac_cv_header_sys_sem_h" = yes - -if test "$ac_cv_header_sys_shm_h" = yes; then - AC_CHECK_FUNC([shmat],,) - - AC_CHECK_FUNC([shmctl],,) - - AC_CHECK_FUNC([shmdt],,) - - AC_CHECK_FUNC([shmget],,) -fi dnl test "$ac_cv_header_sys_shm_h" = yes - -dnl End check for SYSV IPC functions - -AC_CHECK_FUNC([read_real_time], - [AC_DEFINE([ACE_HAS_AIX_HI_RES_TIMER])],) - -dnl See shm_open() test after this one ... -dnl AC_CHECK_FUNC([shm_open], [AC_DEFINE([ACE_HAS_SHM_OPEN])],) - -dnl Use a more comprehensive test for shm_open() since the prototype -dnl may not be visible on all platforms without enabling POSIX.1b -dnl support (e.g. when the user defines _POSIX_C_SOURCE > 2). -AC_MSG_CHECKING([for shm_open]) -AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include -#include - ]], - [[ - const char name[] = "Foo"; - const int oflag = O_RDONLY; - const mode_t mode = 0400; /* Whatever */ - const int fd = shm_open (name, oflag, mode); - ]])], - [ - AC_DEFINE([ACE_HAS_SHM_OPEN]) - AC_MSG_RESULT([yes]) - - dnl Now see if running it requires a leading slash. - ACE_CACHE_CHECK([if shm_open requires one slash], - [ace_cv_shm_open_requires_one_slash], - [ - AC_RUN_IFELSE([AC_LANG_SOURCE([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include -#include -#include - -int main (int argc, char *argv[]) -{ - const char name[] = "ACE_Foo"; - const char name2[] = "/ACE_Foo"; - const int oflag = O_RDWR | O_CREAT; - const mode_t mode = 0400; /* Whatever */ - int fd = shm_open (name, oflag, mode); - if (fd != -1) - { - close (fd); - shm_unlink (name); - return 1; /* Don't need the slash */ - } - fd = shm_open (name2, oflag, mode); - if (fd != -1) - { - close (fd); - shm_unlink (name2); - return 0; - } - return 1; /* Nothing worked, so say 'no' */ -} - ]])],[ - ace_cv_shm_open_requires_one_slash=yes - ],[ - ace_cv_shm_open_requires_one_slash=no - ],[ - dnl action if cross-compiling - ace_cv_shm_open_requires_one_slash=no - ]) - ],AC_DEFINE([ACE_SHM_OPEN_REQUIRES_ONE_SLASH]),) - ], - [ - AC_MSG_RESULT([no]) - ]) - -dnl if test "$ace_cv_shm_open_requires_one_slash" = yes; then -dnl AC_DEFINE([ACE_SHM_OPEN_REQUIRES_ONE_SLASH]) -dnl fi - -ACE_CHECK_LACKS_FUNCS(vsnprintf) - -ACE_CHECK_LACKS_FUNCS(tempnam truncate) - -dnl Save the cache for debugging purposes -AC_CACHE_SAVE - -dnl Check for POSIX Semaphore functions -dnl We only check for a few of them since some platforms don't have these. -dnl On some platforms, a separate library is required, so use AC_SEARCH_LIBS -dnl instead of AC_CHECK_FUNC. This will add any needed library to LIBS. -AC_SEARCH_LIBS([sem_init],rt,[ace_cv_func_sem_init=yes],,) -AC_SEARCH_LIBS([sem_destroy],rt,[ace_cv_func_sem_destroy=yes],,) - -if test "$ace_cv_func_sem_init" = yes && - test "$ace_cv_func_sem_destroy" = yes && - test "$ac_cv_type_sem_t" = yes; then - -dnl Only enable POSIX semaphore support if process shared semaphores -dnl are supported. Presumably process shared semaphores are only -dnl available if the _POSIX_THREAD_PROCESS_SHARED macro is defined by -dnl the platform. - AC_EGREP_CPP([WE_HAVE_SHARED_POSIX_SEMAPHORES], - [ -#ifndef _REENTRANT -#define _REENTRANT -#endif - -#ifndef _THREAD_SAFE -#define _THREAD_SAFE -#endif - -#ifndef ACE_LACKS_UNISTD_H -# include /* needed for _POSIX_THREAD_PROCESS_SHARED */ -#endif - -#include -#include - -#if defined (_POSIX_THREAD_PROCESS_SHARED) -WE_HAVE_SHARED_POSIX_SEMAPHORES -#endif - ], - [ - AC_DEFINE([ACE_HAS_POSIX_SEM]) - - AC_CHECK_FUNC([sem_open]) - AC_CHECK_FUNC([sem_close]) - AC_CHECK_FUNC([sem_unlink]) - if test "$ac_cv_func_sem_open" = no || - test "$ac_cv_func_sem_close" = no || - test "$ac_cv_func_sem_unlink" = no; then - - AC_DEFINE([ACE_LACKS_NAMED_POSIX_SEM]) - else - dnl Check if it works! For example, in glibc 2.x sem_open exists - dnl but it appears to be a stub. However, it isn't listed as a - dnl stub in so the configure script thinks it is - dnl implemented! - ACE_CACHE_CHECK([if sem_open works], - [ace_cv_sem_open_works], - [ - AC_RUN_IFELSE([AC_LANG_SOURCE([[ -#ifndef ACE_LACKS_SYS_TYPES_H -#include -#endif - -#include -#include - -#include /* for definition of "NULL" */ - -#include - -#ifndef SEM_FAILED -# define SEM_FAILED ((sem_t *) -1) -#endif - -int -main () -{ - sem_t *s = 0; - - s = sem_open ("ace_semaphore_foo", O_CREAT | O_EXCL, 0600, 1); - if (s == SEM_FAILED) - return -1; /* FAILURE */ - - sem_unlink ("ace_semaphore_foo"); - if (sem_close (s) != 0) - return -1; /* Something went wrong! */ - - return 0; -} - ]])],[ - ace_cv_sem_open_works=yes - ],[ - ace_cv_sem_open_works=no - ],[ - dnl action if cross-compiling - ace_cv_sem_open_works=yes - ]) - ],, [AC_DEFINE([ACE_LACKS_NAMED_POSIX_SEM])]) - fi - ],) - -fi dnl check for POSIX Semaphore functions - -dnl If we have POSIX semaphores available, check to see if we also have -dnl the timed wait capability. -if test "$ac_cv_func_sem_open" = yes && - test "$ac_cv_func_sem_close" = yes && - test "$ac_cv_func_sem_unlink" = yes; then - dnl Check if sem_timedwait() works - often it compiles and will run - dnl but if called return ENOTSUP. In that case, we don't want it. - ACE_CACHE_CHECK([if sem_timedwait works], - [ace_cv_sem_timedwait_works], - [ - AC_RUN_IFELSE([AC_LANG_SOURCE([[ -#ifndef ACE_LACKS_SYS_TYPES_H -#include -#endif - -#include -#include -#include -#include /* for definition of "NULL" */ -#if !defined (ACE_LACKS_ERRNO_H) -# include -#endif -#include - -#ifndef SEM_FAILED -# define SEM_FAILED ((sem_t *) -1) -#endif - -int -main () -{ - sem_t *s = 0; - struct timespec tmo; - int status = 0; - s = sem_open ("ace_semaphore_foo", O_CREAT, 0600, 1); - if (s == SEM_FAILED) - return -1; /* FAILURE */ - - /* Don't care about the time, only whether the call works */ - tmo.tv_sec = 0; - tmo.tv_nsec = 0; - if (sem_timedwait (s, &tmo) == -1) - { - if (errno == ENOTSUP) - status = -1; - } - else - sem_post (s); - - sem_unlink ("ace_semaphore_foo"); - sem_close (s); - - return status; -} - ]])],[ - ace_cv_sem_timedwait_works=yes - ],[ - ace_cv_sem_timedwait_works=no - ],[ - dnl action if cross-compiling - ace_cv_sem_timedwait_works=yes - ]) - ], - [AC_DEFINE([ACE_HAS_POSIX_SEM_TIMEOUT])],) -fi - - -dnl The following tests are performed only when the user has enabled -dnl support for threads. - -dnl NOTE: Make sure the thread library is in "LIBS" -dnl (e.g.: LIBS="$LIBS -lpthread") -dnl otherwise the below thread "CHECK_FUNCs" -dnl will not work correctly. -if test "$ace_user_enable_threads" = yes; then - - if test "$ace_has_pthreads" = yes; then -dnl Digital UNIX 4.0 "mangles" the following pthread functions: -dnl pthread_attr_getguardsize_np -dnl pthread_attr_getinheritsched -dnl pthread_attr_getstacksize -dnl pthread_attr_setguardsize_np -dnl pthread_attr_setinheritsched -dnl pthread_attr_setstacksize -dnl pthread_cancel -dnl pthread_cond_broadcast -dnl pthread_cond_destroy -dnl pthread_cond_init -dnl pthread_cond_sig_preempt_int_np -dnl pthread_cond_signal -dnl pthread_cond_signal_int_np -dnl pthread_cond_timedwait -dnl pthread_cond_wait -dnl pthread_create -dnl pthread_delay_np -dnl pthread_detach -dnl pthread_equal -dnl pthread_exit -dnl pthread_get_expiration_np -dnl pthread_getspecific -dnl pthread_join -dnl pthread_lock_global_np -dnl pthread_mutex_destroy -dnl pthread_mutex_init -dnl pthread_mutex_lock -dnl pthread_mutex_trylock -dnl pthread_mutex_unlock -dnl pthread_once -dnl pthread_self -dnl pthread_setspecific -dnl pthread_testcancel -dnl pthread_unlock_global_np -dnl These functions have a double underscore "__" prepended to maintain -dnl backwards compatibility with Pthread Draft 4 functions of the same -dnl name. - - ACE_CHECK_LACKS_FUNCS(pthread_sigmask) - if test $ac_cv_func_pthread_sigmask = yes; then - AC_CHECK_DECL([pthread_sigmask], - [AC_DEFINE([ACE_HAS_PTHREAD_SIGMASK_PROTOTYPE], 1, - [Define to 1 if platform has the declaration - of pthread_sigmask().])], - [], - [#include - #include ]) - fi - - AC_CHECK_FUNC([pthread_key_create], - [AC_DEFINE([ACE_HAS_THREAD_SPECIFIC_STORAGE])], - [ - AC_CHECK_FUNC([pthread_keycreate], - [AC_DEFINE(ACE_HAS_THREAD_SPECIFIC_STORAGE)], - [AC_DEFINE(ACE_HAS_TSS_EMULATION)]) - ]) - - ACE_CHECK_HAS_FUNCS(pthread_condattr_setkind_np) - ACE_CHECK_HAS_FUNCS(pthread_mutexattr_setkind_np) - - dnl Can't use ACE_CHECK_LACKS_FUNCS because the macro doesn't match the - dnl tested function name. - AC_CHECK_FUNC([pthread_condattr_setpshared], - [], - [AC_DEFINE([ACE_LACKS_CONDATTR_PSHARED], 1, - [Define to 1 if system lacks pthread_condattr_setpshared()])]) - - dnl ACE_CHECK_LACKS_FUNCS(pthread_attr_setstack) - dnl Can't use ACE_CHECK_LACKS_FUNCS because the lower-down AC macros build - dnl a program with a stubbed-out pthread_attr_setstack(), avoiding the need - dnl to see pthread_attr_setstack() in pthreads.h. This is usually not a - dnl problem since the link will fail. However, on HP-UX 11iv2 there is a - dnl pthread_attr_setstack() in libpthread, but not in the header. Thus, - dnl the test passes, but ACE build fails. Don't hack in use of this until - dnl HP sees fit to include it in pthread.h (which it does at 11iv3). - AC_MSG_CHECKING([for pthread_attr_setstack]) - AH_TEMPLATE([ACE_LACKS_PTHREAD_ATTR_SETSTACK], - [Define to 1 if platform lacks pthread_attr_setstack()]) - AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#include - ]], - [[ - pthread_attr_t attr; - void *stack; - size_t size; - pthread_attr_setstack (&attr, stack, size); - ]])], - [ - AC_MSG_RESULT([yes]) - ], - [ - AC_MSG_RESULT([no]) - AC_DEFINE([ACE_LACKS_PTHREAD_ATTR_SETSTACK]) - ]) - - ACE_CHECK_LACKS_FUNCS(pthread_attr_setstackaddr) - ACE_CHECK_LACKS_FUNCS(pthread_attr_setstacksize) - - ACE_CHECK_FUNC([pthread_cancel], [pthread.h], - [ - dnl Make sure the prototype actually exists. Some platforms, - dnl such as FreeBSD 4, appear to have a missing prototype. If - dnl the prototype is missing, then don't use pthread_cancel. - dnl Creating a prototype for it in ACE is probably a bad idea. - - ace_save_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $ACE_THR_CPPFLAGS" - - AC_EGREP_HEADER([pthread_cancel], [pthread.h],, - [ - AC_DEFINE([ACE_LACKS_PTHREAD_CANCEL]) - ]) - - dnl Reset the preprocessor flags - CPPFLAGS="$ace_save_CPPFLAGS" - ], - [ - AC_DEFINE([ACE_LACKS_PTHREAD_CANCEL]) - ]) - - ACE_CHECK_LACKS_FUNCS(pthread_yield) - ACE_CHECK_LACKS_FUNCS(pthread_thr_sigsetmask) - - AC_CHECK_FUNC([pthread_attr_setdetachstate], - , - [AC_DEFINE([ACE_LACKS_SETDETACH])]) - - dnl ACE currently doesn't provide enough fine grained control over - dnl these functions so both must be present in order to prevent - dnl ACE_LACKS_SETSCHED from being defined. - AC_CHECK_FUNC([sched_setscheduler], - [ - AC_CHECK_FUNC([pthread_attr_setschedpolicy],, - [AC_CHECK_FUNC([pthread_attr_setsched],, - [AC_DEFINE([ACE_LACKS_SETSCHED])])]) - ], - [ - AC_DEFINE([ACE_LACKS_SETSCHED]) - ]) - - AC_CHECK_FUNC([pthread_attr_setscope], - [], - [AC_DEFINE([ACE_LACKS_THREAD_PROCESS_SCOPING])]) - - AC_CHECK_FUNC([pthread_mutexattr_setpshared], - [], - [AC_DEFINE([ACE_LACKS_MUTEXATTR_PSHARED], 1, - [Define to 1 if system lacks pthread_mutexattr_setpshared().])]) - -dnl Check for POSIX Threads Draft 4 functions - AC_CHECK_FUNC([pthread_mutexattr_create],,) - AC_CHECK_FUNC([pthread_mutexattr_delete],,) - AC_CHECK_FUNC([pthread_condattr_delete],,) - AC_CHECK_FUNC([pthread_condattr_create],,) - AC_CHECK_FUNC([pthread_setprio],,) - AC_CHECK_FUNC([pthread_getprio],,) - AC_CHECK_FUNC([pthread_setcancel],,) - AC_CHECK_FUNC([pthread_setasynccancel],,) - AC_CHECK_FUNC([pthread_kill],,) -dnl Check for POSIX Threads Draft 6 functions - AC_CHECK_FUNC([pthread_attr_setprio],,) - AC_CHECK_FUNC([pthread_attr_getprio],,) - AC_CHECK_FUNC([pthread_setintr],,) - AC_CHECK_FUNC([pthread_setintrtype],,) -dnl Check for POSIX threads Draft 6, 7 and Standard common functions - AC_CHECK_FUNC([pthread_mutexattr_init],,) - AC_CHECK_FUNC([pthread_mutexattr_destroy],,) - AC_CHECK_FUNC([pthread_condattr_init],,) - AC_CHECK_FUNC([pthread_condattr_destroy],,) -dnl Check for POSIX Threads Draft 7 and Draft Standard common functions - AC_CHECK_FUNC([pthread_setschedparam],,) - AC_CHECK_FUNC([pthread_getschedparam],,) - AC_CHECK_FUNC([pthread_setcancelstate],,) - AC_CHECK_FUNC([pthread_setcanceltype],,) -dnl Check for POSIX Threads Draft Standard functions -dnl sched_yield() is in the C library or perhaps in "-lposix4." -dnl We need to add other library checks in this script's "check libraries" -dnl section if it is in another library. -dnl AC_CHECK_FUNC(sched_yield,,) -dnl We already check for this during the library checks. - -dnl Check for Unix98 pthreads extensions - AC_CHECK_TYPE([pthread_rwlock_t], - [], - [], - [ -#ifndef ACE_LACKS_SYS_TYPES_H -#include -#endif -#include ]) - - AC_CHECK_TYPE([pthread_rwlockattr_t], - [], - [], - [ -#ifndef ACE_LACKS_SYS_TYPES_H -#include -#endif -#include ]) - - ACE_CHECK_HAS_FUNCS(pthread_continue pthread_continue_np pthread_resume_np pthread_suspend pthread_suspend_np) - ACE_CHECK_HAS_FUNCS(pthread_getconcurrency pthread_setconcurrency) - ACE_CHECK_HAS_FUNCS(pthread_attr_setcreatesuspend_np) - -dnl Don't test for pthread_getaffinity_np() or pthread_setaffinity_np() -dnl if the system doesn't also have cpu_set_t. The functions are almost -dnl certainly incompatible with our wrapper facade, as we use a "dummy" -dnl cpu_set_t defined in ace/os_include/os_sched.h. -if test "$ac_cv_type_cpu_set_t" = yes; then - ACE_CHECK_HAS_FUNCS(pthread_getaffinity_np pthread_setaffinity_np) -fi - -dnl Linux's sched_{set,get}affinity interface has changed three times: -dnl -dnl In glibc 2.3.2, it was: -dnl -dnl int sched_setaffinity(pid_t __pid, -dnl unsigned int __len, unsigned long * __mask); -dnl -dnl In glibc 2.3.3, it was changed to: -dnl -dnl int sched_setaffinity(pid_t __pid, const cpu_set_t* __mask); -dnl -dnl And in glibc ?.?.?, it was changed again to: -dnl -dnl int sched_setaffinity(pid_t __pid, size_t __cpusetsize, -dnl const cpu_set_t* __cpuset); -dnl -dnl The following feature tests attempt to determine which (if any) -dnl version is supported by the system. A further complication is -dnl that the C library may support one version, the kernel may not, -dnl and vice versa. -dnl -dnl As of this writing, ACE's ACE_OS::sched_setaffinity() wrapper -dnl facade implementation only supports the latter two varients. So -dnl if the system doesn't define cpu_set_t, we simply avoid checking -dnl for sched_setaffinity(). No attempt is made to verify C library / -dnl kernel consistency. -dnl -dnl The "right" thing to do is to implement something similar to the -dnl PLPA (Portable Linux Processor Affinity) Library, converting the -dnl arguments and invoking the syscall directly (instead of calling -dnl the C library wrapper). -dnl - -if test "$ac_cv_type_cpu_set_t" = yes; then - - ACE_CHECK_HAS_FUNCS(sched_getaffinity) -if test "$ac_cv_func_sched_getaffinity" = yes; then -dnl The sched_getaffinity() function varies between linux versions -dnl Check which one we have. -AC_MSG_CHECKING([for 2- or 3-param sched_getaffinity]) -AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#if !defined(ACE_LACKS_SYS_TYPES_H) -#include -#endif -#if !defined(ACE_LACKS_SCHED_H) -#include -#endif - ]], - [[ - pid_t pid; - cpu_set_t cpuset; - sched_getaffinity(pid, sizeof(cpuset), &cpuset); - ]])], - [ - AC_MSG_RESULT([3]) - ], - [ - AC_MSG_RESULT([2]) - AC_DEFINE([ACE_HAS_2_PARAM_SCHED_GETAFFINITY], 1, - [Define to 1 if platform has 2 parameter sched_getaffinity()]) - ]) -fi dnl test "$ac_cv_func_sched_getaffinity" = yes - - ACE_CHECK_HAS_FUNCS(sched_setaffinity) -if test "$ac_cv_func_sched_setaffinity" = yes; then -dnl The sched_setaffinity() function varies between linux versions -dnl Check which one we have. -AC_MSG_CHECKING([for 2- or 3-param sched_setaffinity]) -AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#if !defined(ACE_LACKS_SYS_TYPES_H) -#include -#endif -#if !defined(ACE_LACKS_SCHED_H) -#include -#endif - ]], - [[ - pid_t pid; - cpu_set_t cpuset; - sched_setaffinity(pid, sizeof(cpuset), &cpuset); - ]])], - [ - AC_MSG_RESULT([3]) - ], - [ - AC_MSG_RESULT([2]) - AC_DEFINE([ACE_HAS_2_PARAM_SCHED_SETAFFINITY], 1, - [Define to 1 if platform has 2 parameter sched_setaffinity()]) - ]) -fi dnl test "$ac_cv_func_sched_setaffinity" = yes - -fi dnl test "$ac_cv_type_cpu_set_t" = yes - - AC_CHECK_FUNC([pthread_rwlock_init],,) - AC_CHECK_FUNC([pthread_rwlock_destroy],,) - AC_CHECK_FUNC([pthread_rwlock_rdlock],,) - AC_CHECK_FUNC([pthread_rwlock_wrlock],,) - AC_CHECK_FUNC([pthread_rwlock_unlock],,) - AC_CHECK_FUNC([pthread_rwlock_tryrdlock],,) - AC_CHECK_FUNC([pthread_rwlock_trywrlock],,) - AC_CHECK_FUNC([pthread_rwlockattr_init],,) - AC_CHECK_FUNC([pthread_rwlockattr_destroy],,) - AC_CHECK_FUNC([pthread_rwlockattr_setpshared], - [], - [AC_DEFINE([ACE_LACKS_RWLOCKATTR_PSHARED], 1, - [Define to 1 if system lacks pthread_rwlockattr_setpshared().])]) - - if test "$ac_cv_type_pthread_rwlock_t" = yes && - test "$ac_cv_type_pthread_rwlockattr_t" = yes && - test "$ac_cv_func_pthread_rwlock_init" = yes && - test "$ac_cv_func_pthread_rwlock_destroy" = yes && - test "$ac_cv_func_pthread_rwlock_rdlock" = yes && - test "$ac_cv_func_pthread_rwlock_wrlock" = yes && - test "$ac_cv_func_pthread_rwlock_unlock" = yes && - test "$ac_cv_func_pthread_rwlock_tryrdlock" = yes && - test "$ac_cv_func_pthread_rwlock_trywrlock" = yes && - test "$ac_cv_func_pthread_rwlockattr_init" = yes && - test "$ac_cv_func_pthread_rwlockattr_destroy" = yes; then - AC_DEFINE([ACE_HAS_PTHREADS_UNIX98_EXT]) - fi dnl Unix98 pthreads extensions - -dnl Check if platform has thread_self() rather than pthread_self() - ACE_CHECK_FUNC([pthread_self], [pthread.h], - , - [ - AC_CHECK_FUNC([thread_self], - [ - AC_DEFINE([ACE_HAS_THREAD_SELF]) - ],) - ]) - -dnl Check if pthread.h declares an enum with PTHREAD_PROCESS_PRIVATE and -dnl PTHREAD_PROCESS_SHARED values. - ACE_CACHE_CHECK([for PTHREAD_PROCESS_* enumeration in pthread.h], - [ace_cv_lib_pthread_process_enum], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ -/* Undefine PTHREAD_PROCESS_SHARED in case some platforms #define it */ -#undef PTHREAD_PROCESS_SHARED -int foo = PTHREAD_PROCESS_SHARED; - ]])],[ - ace_cv_lib_pthread_process_enum=yes - ],[ - ace_cv_lib_pthread_process_enum=no - ]) - ], - [ - AC_DEFINE([ACE_HAS_PTHREAD_PROCESS_ENUM]) - ],) - -dnl Check if pthread_create requires an extern "C" start routine -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -ACE_CACHE_CHECK([if pthread_create requires an extern "C" start routine], - [ace_cv_lib_pthread_c_func],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - -void *ace_start_routine(void *); - ]], [[ -pthread_create(0, 0, ace_start_routine, 0); - ]])],[ - ace_cv_lib_pthread_c_func=no - ],[ - dnl Check if extern "C" start routine is required. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include - -extern "C" void *ace_start_routine(void *); - ]], - [[ -pthread_create(0, 0, ace_start_routine, 0); - ]])], - [ - ace_cv_lib_pthread_c_func=yes - ], - [ - ace_cv_lib_pthread_c_func=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_HAS_THR_C_FUNC]) - ],) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -dnl Check if pthread_key_create has a standard arg thread destructor -ACE_CACHE_CHECK([if pthread_key_create has std arg thread destructor], - [ace_cv_lib_pthread_stdarg_dest],[ - if test "$ac_cv_func_pthread_key_create" = yes; then - ace_pthread_key_create=pthread_key_create - else - ace_pthread_key_create=pthread_keycreate - fi - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - -void ace_destructor(void *); - ]], [[ -${ace_pthread_key_create}(0, ace_destructor); - ]])],[ - ace_cv_lib_pthread_stdarg_dest=no - ],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include - -void ace_destructor(...); - ]], - [[ -${ace_pthread_key_create}(0, ace_destructor); - ]])], - [ - ace_cv_lib_pthread_stdarg_dest=yes - ], - [ - ace_cv_lib_pthread_stdarg_dest=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_HAS_STDARG_THR_DEST]) - ],) - -dnl Check if pthread_key_create requires an extern "C" start routine -ACE_CONVERT_WARNINGS_TO_ERRORS([ -ACE_CACHE_CHECK([if pthread_key_create requires an extern "C" start routine], - [ace_cv_lib_pthread_c_dest],[ - if test "$ac_cv_func_pthread_key_create" = yes; then - ace_pthread_key_create=pthread_key_create - else - ace_pthread_key_create=pthread_keycreate - fi - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - -void ace_destructor(void *); - ]], [[ -${ace_pthread_key_create}(0, ace_destructor); - ]])],[ - ace_cv_lib_pthread_c_dest=no - ],[ - dnl Check if extern "C" start routine is required. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include - -extern "C" void ace_destructor(void *); - ]], - [[ -${ace_pthread_key_create}(0, ace_destructor); - ]])], - [ - ace_cv_lib_pthread_c_dest=yes - ], - [ - ace_cv_lib_pthread_c_dest=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_HAS_THR_C_DEST]) - ],) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - - -AC_CHECK_FUNC([sched_get_priority_min],, - [ -dnl Check if the PTHREAD_MIN_PRIORITY constant exists. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - int p = (int) PTHREAD_MIN_PRIORITY; - ]]) - ], - [ - dnl Since we have PTHREAD_MIN_PRIORITY, denote that PX_PRIO_MIN - dnl should not be used. - ace_has_px_prio_min=no - ], - [ - dnl PTHREAD_MIN_PRIORITY doesn't appear to be defined, so - dnl check if the platform defines PX_PRIO_MIN, instead. - - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - int p = (int) PX_PRIO_MIN; - ]])], - [ - ace_has_px_prio_min=yes - ], - [ - ace_has_px_prio_min=no - ]) - ]) - ]) - - if test "$ace_has_px_prio_min" = yes; then - AC_DEFINE([PTHREAD_MIN_PRIORITY], - [PX_PRIO_MIN], - [Minimum thread priority]) - fi - -AC_CHECK_FUNC([sched_get_priority_max],, - [ -dnl Check if the PTHREAD_MAX_PRIORITY constant exists. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - int p = (int) PTHREAD_MAX_PRIORITY; - ]]) - ], - [ - dnl Since we have PTHREAD_MAX_PRIORITY, denote that PX_PRIO_MAX - dnl should not be used. - ace_has_px_prio_max=no - ], - [ - dnl PTHREAD_MAX_PRIORITY doesn't appear to be defined, so - dnl check if the platform defines PX_PRIO_MAX, instead. - - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - int p = (int) PX_PRIO_MAX; - ]])], - [ - ace_has_px_prio_max=yes - ], - [ - ace_has_px_prio_max=no - ]) - ]) - ]) - - if test "$ace_has_px_prio_max" = yes; then - AC_DEFINE([PTHREAD_MAX_PRIORITY], - [PX_PRIO_MAX], - [Maximum thread priority]) - fi - - fi dnl test "$ace_has_pthreads" = yes - - if test "$ace_has_sthreads" = yes; then -dnl Only check for these functions if we have the UNIX International -dnl Threads library "thread." - AC_CHECK_FUNC([thr_keycreate], - [AC_DEFINE([ACE_HAS_THREAD_SPECIFIC_STORAGE])], - [AC_DEFINE([ACE_HAS_TSS_EMULATION])]) - - AC_CHECK_FUNC([thr_yield], - [AC_DEFINE([ACE_HAS_THR_YIELD])],) - - AC_CHECK_FUNC([thr_keydelete], - [AC_DEFINE([ACE_HAS_THR_KEYDELETE])],) - - AC_CHECK_FUNC([thr_min_stack],[], - [ - AC_CHECK_FUNC([thr_minstack], - [AC_DEFINE([ACE_HAS_THR_MINSTACK])],) - ]) - - fi dnl test "$ace_has_sthreads" = yes - -fi dnl test "$ace_user_enable_threads" = yes - -dnl -dnl By Eric: -dnl ACE will define a sigwait function if we lie and say we don't have -dnl one. Unfortunately, the ACE function may conflict with our -dnl function, so we'll go ahead and turn this on, even if we are -dnl ignoring threads. -ACE_CHECK_HAS_FUNCS(sigwait) - - -dnl Check for reentrant functions -if test "$ace_user_enable_reentrant_funcs" = yes; then - AC_CHECK_FUNC([rand_r]) - - AC_CHECK_FUNC([strtok_r], - [ - dnl Check if _POSIX_SOURCE macro is needed to make the strtok_r() - dnl prototype visible. - ACE_CACHE_CHECK([for strtok_r prototype], - [ace_cv_lib_has_strtok_r_prototype], - [ - ace_save_CPPFLAGS="$CPPFLAGS" - ace_no_posix="-U_POSIX_SOURCE $ACE_THR_CPPFLAGS" - CPPFLAGS="$CPPFLAGS $ace_no_posix" - AC_EGREP_HEADER([[^_]+strtok_r], [string.h], - [ - ace_cv_lib_has_strtok_r_prototype=yes - ], - [ - ace_cv_lib_has_strtok_r_prototype=no - ]) - dnl Reset the preprocessor flags - CPPFLAGS="$ace_save_CPPFLAGS" - ],, [AC_DEFINE([ACE_LACKS_STRTOK_R_PROTOTYPE])]) - ],) - - AC_CHECK_FUNC([getpwnam_r], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef _REENTRANT -# define _REENTRANT -#endif -#ifndef ACE_LACKS_PWD_H -# include -#endif -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif - ]], - [[ - const char * name = 0; - struct passwd * pwent; - char * buffer = 0; - int buflen; - struct passwd * result = 0; - - int status = getpwnam_r (name, pwent, buffer, buflen, &result); - ]])], - [ - if test "$ace_user_enable_reentrant_funcs" = yes; then - AC_DEFINE([ACE_HAS_POSIX_GETPWNAM_R]) - fi - ], - [ - dnl Nothing to do! - echo - ]), - ],, - [AC_DEFINE([ACE_LACKS_PWD_REENTRANT_FUNCTIONS])]) - - AC_CHECK_FUNC([ctime_r],,) - - AC_CHECK_FUNC([localtime_r],,) - - AC_CHECK_FUNC([gmtime_r],,) - - AC_CHECK_FUNC([asctime_r],,) - - AC_CHECK_FUNC([getprotobyname_r],,) - - AC_CHECK_FUNC([getprotobynumber_r],,) - - AC_CHECK_FUNC([gethostbyaddr_r],,) - - AC_CHECK_FUNC([gethostbyname_r],,) - - AC_CHECK_FUNC([getservbyname_r],,) -fi dnl End checks for reentrant functions - - -ACE_CHECK_LACKS_FUNCS(readdir_r) -if test "$ac_cv_func_readdir_r" = yes; then -dnl The readdir_r() function varies with standards. Check which one we have. -AC_MSG_CHECKING([for 2- or 3-param readdir_r]) -AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#include - ]], - [[ -readdir_r(0, 0, 0); - ]])], - [ - AC_DEFINE([ACE_HAS_3_PARAM_READDIR_R], 1, - [Define to 1 if platform has 3 parameter readdir_r()]) - AC_MSG_RESULT([3]) - ], - [ - AC_MSG_RESULT([2]) - ]) -fi dnl test "$ac_cv_func_readdir" = yes - - -dnl Disabled until we figure out what to do with the comparator -dnl function argument inconsistencies between different platforms. -dnl For example: -dnl int comparator (const void * d1, const void * d2) -dnl instead of: -dnl int comparator (const dirent ** d1, const dirent ** d2) -dnl -dnl ACE_CHECK_HAS_FUNCS([scandir]) - -ACE_CHECK_LACKS_FUNCS(seekdir telldir) - - -dnl -dnl SECTION 11: checks for function characteristics -dnl - -ACE_CONVERT_WARNINGS_TO_ERRORS([ -dnl Check if dlopen takes a char * arg instead of const char * - if test "$ace_has_svr4_dynamic_linking" = yes; then - ACE_CACHE_CHECK([if dlopen takes a char *], - [ace_cv_lib_charptr_dl], - [ - dnl Check if it takes a const char *, first. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - const char *filename = 0; - int flag = 0; - void *ptr = dlopen(filename, flag); - ]])],[ - ace_cv_lib_charptr_dl=no - ],[ - dnl Now check if it takes a non-const char *. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include - ]], - [[ - char *filename = 0; - int flag = 0; - void *ptr = dlopen(filename, flag); - ]])], - [ - ace_cv_lib_charptr_dl=yes - ], - [ - ace_cv_lib_charptr_dl=no - ]) - ]) - ], [AC_DEFINE([ACE_HAS_CHARPTR_DL])],) - fi dnl test "$ace_has_svr4_dynamic_linking" = yes -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -ACE_CONVERT_WARNINGS_TO_ERRORS([ -dnl Check if "getby" functions use a non-const char * argument - if test "$ac_cv_func_gethostbyaddr" = yes; then - ACE_CACHE_CHECK(["getby" functions take a non-const char *], - [ace_cv_lib_nonconst_getby], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - char *addr = 0; - int len = 0; - int type = 0; - struct hostent *mystruct = 0; - - mystruct = gethostbyaddr(name, len, type); - ]])],[ - ace_cv_lib_nonconst_getby=yes - ],[ - ace_cv_lib_nonconst_getby=no - ]) - ], [AC_DEFINE([ACE_HAS_NONCONST_GETBY])],) - fi dnl test "$ac_cv_func_gethostbyaddr" = yes -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -dnl Check if new throws exception upon failure -if test "$ace_user_enable_exceptions" = yes; then - ACE_CACHE_CHECK([if new throws std::bad_alloc exception on failure], - [ace_cv_new_throws_bad_alloc_exception], - [ - AC_RUN_IFELSE([AC_LANG_SOURCE([[ -#if defined (ACE_HAS_NEW_NO_H) -# include -#elif defined (ACE_HAS_NEW_H) -# include -#endif - -#if defined (ACE_HAS_STDEXCEPT_NO_H) -# include -#elif defined (ACE_HAS_EXCEPTION_H) -# include -#endif - -/* We already checked for ACE_LACKS_NUMERIC_LIMITS */ -#if !defined ACE_LACKS_NUMERIC_LIMITS -#include -#endif - -/* We already checked for ACE_LACKS_SYS_RESOURCE_H */ -#if !defined ACE_LACKS_SYS_RESOURCE_H -#include -#endif - - int main(int, char *[]) { -#if defined ACE_LACKS_NUMERIC_LIMITS - const size_t ALLOC_SIZE = 2 * 1024 * 1024 * 1024; -#else - const size_t ALLOC_SIZE = std::numeric_limits::max () / 2; -#endif - -#if !defined (ACE_LACKS_RLIMIT) - /* set memory limit to the allocation size, so this test - should terminate on the first iteration. */ - struct rlimit rlimit; - if (getrlimit(RLIMIT_DATA, &rlimit) == 0) { - rlimit.rlim_cur = ALLOC_SIZE; - setrlimit(RLIMIT_DATA, &rlimit); - } -#endif - - while (1) { - try { - char *a = new char[ALLOC_SIZE]; - if (a == 0) { - return 1; /* new() does NOT throw exceptions */ - } - } - -#ifdef ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB - catch (std::bad_alloc) -#else - catch (bad_alloc) -#endif /* ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB */ - { - return 0; /* new() does throw exceptions */ - } - }; - - return 1; /* ERROR: We shouldn't get this far! */ - } - ]])],[ - ace_cv_new_throws_bad_alloc_exception=yes - ],[ - ace_cv_new_throws_bad_alloc_exception=no - ],[ - ace_cv_new_throws_bad_alloc_exception=no - ]) - ], [AC_DEFINE([ACE_NEW_THROWS_EXCEPTIONS])],) - - if test "$ace_cv_new_throws_bad_alloc_exception" != yes; then - ACE_CACHE_CHECK([if new throws xalloc exception on failure], - [ace_cv_new_throws_xalloc_exception], - [ - AC_RUN_IFELSE([AC_LANG_SOURCE([[ -#if defined (ACE_HAS_NEW_NO_H) -# include -#elif defined (ACE_HAS_NEW_H) -# include -#endif - -#if defined (ACE_HAS_STDEXCEPT_NO_H) -# include -#elif defined (ACE_HAS_EXCEPTION_H) -# include -#endif - -/* We already checked for ACE_LACKS_NUMERIC_LIMITS */ -#if !defined ACE_LACKS_NUMERIC_LIMITS -#include -#endif - -/* We already checked for ACE_LACKS_SYS_RESOURCE_H */ -#if !defined ACE_LACKS_SYS_RESOURCE_H -#include -#endif - - - int main(int, char *[]) { -#if defined ACE_LACKS_NUMERIC_LIMITS - const size_t ALLOC_SIZE = 2 * 1024 * 1024 * 1024; -#else - const size_t ALLOC_SIZE = std::numeric_limits::max () / 2; -#endif - -#if !defined (ACE_LACKS_RLIMIT) - /* set memory limit to the allocation size, so this test - should terminate on the first iteration. */ - struct rlimit rlimit; - if (getrlimit(RLIMIT_DATA, &rlimit) == 0) { - rlimit.rlim_cur = ALLOC_SIZE; - setrlimit(RLIMIT_DATA, &rlimit); - } -#endif - - while (1) { - try { - char *a = new char[ALLOC_SIZE]; - if (a == 0) { - return 1; /* new() does NOT throw exceptions */ - } - } - - catch (xalloc) - { - return 0; /* new() does throw exceptions */ - } - }; - - return 1; /* ERROR: We shouldn't get this far! */ - } - ]])],[ - ace_cv_new_throws_xalloc_exception=yes - ],[ - ace_cv_new_throws_xalloc_exception=no - ],[ - ace_cv_new_throws_xalloc_exception=no - ]) - ], [AC_DEFINE([ACE_NEW_THROWS_EXCEPTIONS])],) - fi dnl ace_cv_new_throws_bad_alloc_exceptions = no -fi dnl $ace_user_enable_exceptions = yes - -AC_CACHE_CHECK([if compiler supports new(std::nothrow)], - [ace_cv_has_new_nothrow], - [AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ -#if defined (ACE_HAS_NEW_NO_H) -# include -#elif defined (ACE_HAS_NEW_H) -# include -#endif - -int main(int, char*[]) { - int *foo; - -#ifdef ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB - foo = new (std::nothrow) int; -#else - foo = new (nothrow) int; -#endif /* ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB */ -}]])], [ - ace_cv_has_new_nothrow=yes - ],[ - ace_cv_has_new_nothrow=no - ])]) -if test $ace_cv_has_new_nothrow = yes; then - AC_DEFINE([ACE_HAS_NEW_NOTHROW]) -fi - -ACE_CONVERT_WARNINGS_TO_ERRORS([ -dnl Check if putmsg takes a const struct strbuf * -dnl If we have getmsg() we can be pretty sure that we have putmsg() - if test "$ac_cv_func_getmsg" = yes || - test "$ac_cv_header_stropts_h" = yes; then - ACE_CACHE_CHECK([if putmsg takes a const struct strbuf*], - [ace_cv_lib_const_strbufptr], - [ - dnl Check if it takes a const struct strbuf *, first. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - int result = 0; - int fd = 0; - const struct strbuf * ace_str = 0; - int flags = 0; - - result = putmsg(fd, ace_str, ace_str, flags); - ]])],[ - ace_cv_lib_const_strbufptr=yes - ],[ - ace_cv_lib_const_strbufptr=no - ]) - ],, [AC_DEFINE([ACE_LACKS_CONST_STRBUF_PTR])]) - fi dnl "$ac_cv_func_getmsg" = yes || "$ac_cv_header_stropts_h" = yes -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -dnl Check if setrlimit() takes an enum as 1st argument -ACE_CHECK_SETRLIMIT_ENUM - -dnl This test fails (i.e. passes when it shouldn't) when compiling with -dnl GCC/G++ since the compiler treats passing a const to a non-const -dnl argument as a warning and not as an error since the const is -dnl simply discarded. To correct this problem, we use "-Werror" which -dnl converts all warnings to errors, whenever we are compiling with -dnl G++. -dnl -Ossama - -dnl Check if getrusage() takes an enum as 1st argument -ACE_CHECK_GETRUSAGE_ENUM - -dnl TODO: This doesn't work. -dnl The compiler in linux just issues a warning, and the test passes!!! -dnl -dnl FIXED by adding "-Werror" to compiler flags when using GNU C++ -dnl -Ossama -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -dnl Check if select takes a const fifth argument (timeval) -ACE_CACHE_CHECK([if select takes a const struct timeval], - [ace_cv_lib_posix_select_const_timeval],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#ifndef ACE_LACKS_UNISTD_H -# include -#endif -#ifndef ACE_LACKS_SYS_SELECT_H -# include -#endif - ]], [[ - int n = 0; - fd_set *readfds = 0; - fd_set *writefds = 0; - fd_set *exceptfds = 0; - const struct timeval* timeout = 0; - select(n, readfds, writefds, exceptfds, timeout); - ]])],[ - ace_cv_lib_posix_select_const_timeval=yes - ],[ - ace_cv_lib_posix_select_const_timeval=no - ]) - ], , [AC_DEFINE([ACE_HAS_NONCONST_SELECT_TIMEVAL])]) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - - -dnl Only run the following tests if the msghdr structure exists. -if test "$ace_cv_struct_msghdr" = yes && - test "$ac_cv_func_sendmsg" = yes; then - ACE_CONVERT_WARNINGS_TO_ERRORS( - [ -dnl Check if sendmsg takes a const 2nd argument - ACE_CACHE_CHECK([if sendmsg omits const qualifier from the msghdr argument], - [ace_cv_lib_nonconst_sendmsg],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - ]], [[ - int s = 0; - const struct msghdr *msg = 0; - unsigned int flags = 0; - - int result = 0; - - result = (int) sendmsg(s, msg, flags); - ]])],[ - ace_cv_lib_nonconst_sendmsg=no - ],[ - ace_cv_lib_nonconst_sendmsg=yes - ]) - ], [AC_DEFINE([ACE_HAS_NONCONST_SENDMSG])],) - ]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS -fi dnl "$ace_cv_struct_msghdr" = yes && $ac_cv_func_sendmsg = yes - - -dnl Only run the following tests if the setrlimit function exists -if test "$ac_cv_func_setrlimit" = yes; then - ACE_CONVERT_WARNINGS_TO_ERRORS( - [ -dnl Check if setrlimit() takes a const pointer as 2nd argument - ACE_CACHE_CHECK([if setrlimit omits const qualifier from the rlimit argument], - [ace_cv_lib_nonconst_setrlimit],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include -#include - ]], [[ - const struct rlimit* rlp = 0; - setrlimit(RLIMIT_CPU, rlp); - ]])],[ - ace_cv_lib_nonconst_setrlimit=no - ],[ - ace_cv_lib_nonconst_setrlimit=yes - ]) - ], [AC_DEFINE([ACE_HAS_NONCONST_SETRLIMIT])]) - ]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS -fi dnl "$ac_cv_func_setrlimit" = yes; then - - -dnl Only run the following tests if the readv function exists -if test "$ac_cv_header_sys_uio_h" = yes && - test "$ac_cv_func_readv" = yes; then - ACE_CONVERT_WARNINGS_TO_ERRORS( - [ -dnl Check if readv omits the const from the iovec argument - ACE_CACHE_CHECK([if readv omits const qualifier from the iovec argument], - [ace_cv_lib_nonconst_readv],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_UNISTD_H -# include -#endif - -#include - ]], [[ - int filedes = 0; - const struct iovec *vector = 0; - size_t count = 0; - - int result = 0; - - result = (int) readv(filedes, vector, count); - ]])],[ - ace_cv_lib_nonconst_readv=no - ],[ - ace_cv_lib_nonconst_readv=yes - ]) - ], [AC_DEFINE([ACE_HAS_NONCONST_READV])],) - ]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS -fi dnl $ac_cv_header_sys_uio_h = yes && $ac_cv_func_writev = yes - - -dnl Only run the following tests if the writev function exists -if test "$ac_cv_header_sys_uio_h" = yes && - test "$ac_cv_func_writev" = yes; then - ACE_CONVERT_WARNINGS_TO_ERRORS( - [ -dnl Check if writev omits the const from the iovec argument - ACE_CACHE_CHECK([if writev omits const qualifier from the iovec argument], - [ace_cv_lib_nonconst_writev],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_UNISTD_H -# include -#endif - -#include - ]], [[ - int filedes = 0; - const struct iovec *vector = 0; - size_t count = 0; - - int result = 0; - - result = (int) writev(filedes, vector, count); - ]])],[ - ace_cv_lib_nonconst_writev=no - ],[ - ace_cv_lib_nonconst_writev=yes - ]) - ], [AC_DEFINE([ACE_HAS_NONCONST_WRITEV])],) - ]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS -fi dnl $ac_cv_header_sys_uio_h = yes && $ac_cv_func_writev = yes - - -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -ACE_CACHE_CHECK([for (struct sockaddr *) msg_name field in msghdr], - [ace_cv_lib_sockaddr_msg_name],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - ]], [[ - msghdr ace_msghdr; - struct sockaddr *addr = 0; - - /* - * Note that some platforms declare msg_name to be a void*, - * in which case this assignment will work. - * Should we _not_ define ACE_HAS_SOCKADDR_MSG_NAME in that - * case? I tend to think it is more appropriate to define - * ACE_HAS_SOCKADDR_MSG_NAME rather than cast addr to a char*, - * as is done in ACE when the macro is not defined. - * -Ossama - */ - ace_msghdr.msg_name = (struct sockaddr *)addr; - ]])],[ - ace_cv_lib_sockaddr_msg_name=yes - ],[ - ace_cv_lib_sockaddr_msg_name=no - ]) - ], [AC_DEFINE([ACE_HAS_SOCKADDR_MSG_NAME])],) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - - -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -ACE_CACHE_CHECK([if setsockopt() takes a void* fourth argument], - [ace_cv_lib_posix_setsockopt_voidp_4], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - ]], [[ - int s = 0; - int level = 0; - int optname = 0; - void* optval = 0; - -#if defined (ACE_HAS_SOCKLEN_T) - socklen_t optlen = 0; -#elif defined (ACE_HAS_SIZET_SOCKET_LEN) - size_t optlen = 0; -#else - int optlen = 0; -#endif - - setsockopt (s, level, optname, optval, optlen); - ]])],[ - ace_cv_lib_posix_setsockopt_voidp_4=yes - ],[ - ace_cv_lib_posix_setsockopt_voidp_4=no - ]) - ], - [ - AC_DEFINE([ACE_HAS_VOIDPTR_SOCKOPT]) - ], - [ - ACE_CACHE_CHECK([if setsockopt() takes a char* fourth argument], - [ace_cv_lib_posix_setsockopt_charp_4], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - ]], [[ - int s = 0; - int level = 0; - int optname = 0; - char* optval = 0; - -#if defined (ACE_HAS_SOCKLEN_T) - socklen_t optlen = 0; -#elif defined (ACE_HAS_SIZET_SOCKET_LEN) - size_t optlen = 0; -#else - int optlen = 0; -#endif - - setsockopt (s, level, optname, optval, optlen); - ]])],[ - ace_cv_lib_posix_setsockopt_charp_4=yes - ],[ - ace_cv_lib_posix_setsockopt_charp_4=no - ]) - ], - [ - AC_DEFINE([ACE_HAS_CHARPTR_SOCKOPT]) - ],) - ]) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -ACE_CACHE_CHECK([if mmap() takes a void* first argument], - [ace_cv_lib_posix_voidptr_mmap],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#ifndef ACE_LACKS_UNISTD_H -# include -#endif -#include - ]], [[ - void *start = 0; - size_t length = 0; - int prot = 0; - int flags = 0; - int fd = 0; - off_t offset = 0; - - void *result = 0; - - result = (void *)mmap(start, length, prot, flags, fd, offset); - ]])],[ - ace_cv_lib_posix_voidptr_mmap=yes - ],[ - ace_cv_lib_posix_voidptr_mmap=no - ]) - ], [AC_DEFINE([ACE_HAS_VOIDPTR_MMAP])],) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -dnl Check if platform has iostream method ipfx() -ACE_CACHE_CHECK([for iostream method ipfx()], - [ace_cv_feature_has_iostream_ipfx],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - cin.ipfx(); - ]])],[ - ace_cv_feature_has_iostream_ipfx=yes - ],[ - ace_cv_feature_has_iostream_ipfx=no - ]) - ], , [AC_DEFINE([ACE_LACKS_IOSTREAM_FX])]) - -dnl Check if platform has line-buffered streambufs -ACE_CACHE_CHECK([for line-buffered streambufs], - [ace_cv_feature_has_linebuffered_streambuf],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - cin.rdbuf()->linebuffered(1); - ]])],[ - ace_cv_feature_has_linebuffered_streambuf=yes - ],[ - ace_cv_feature_has_linebuffered_streambuf=no - ]) - ], , [AC_DEFINE([ACE_LACKS_LINEBUFFERED_STREAMBUF])]) - -dnl Check if platform has unbuffered streambufs -ACE_CACHE_CHECK([for unbuffered streambufs], - [ace_cv_feature_has_unbuffered_streambuf],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - cin.rdbuf()->unbuffered(1); - ]])],[ - ace_cv_feature_has_unbuffered_streambuf=yes - ],[ - ace_cv_feature_has_unbuffered_streambuf=no - ]) - ], , [AC_DEFINE([ACE_LACKS_UNBUFFERED_STREAMBUF])]) - - -dnl Check if signal takes a void (*)(int) as second argument -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -ACE_CACHE_CHECK([if signal takes a void (*)(int) as second argument], - [ace_cv_lib_signal_vi1_2],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - typedef void (*SA)(int); - static void handler(int) { } - ]], [[ - SA nn = handler; - signal(SIGINT, nn); - ]])],[ - ace_cv_lib_signal_vi1_2=yes - ],[ - dnl Check if extern "C" signal handler is required. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include -extern "C" - { - typedef void (*SA)(int); - void handler(int) { } - } - ]], - [[ - SA nn = handler; - signal(SIGINT, nn); - ]])], - [ - ace_cv_lib_signal_vi1_2=yes - ], - [ - ace_cv_lib_signal_vi1_2=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_HAS_SIG_C_FUNC]) - ],) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -dnl Check if signal takes a void (*)(void) as second argument -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -ACE_CACHE_CHECK([if signal takes a void (*)(void) as second argument], - [ace_cv_lib_signal_vv1_2],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - typedef void (*SA)(void); - void handler(void) { } - ]], [[ - SA nn = handler; - signal(SIGINT, nn); - ]])],[ - ace_cv_lib_signal_vv1_2=yes - ],[ - dnl Check if extern "C" signal handler is required. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include -extern "C" - { - typedef void (*SA)(void); - void handler(void) { } - } - ]], - [[ - SA nn = handler; - signal(SIGINT, nn); - ]])], - [ - ace_cv_lib_signal_vv1_2=yes - ], - [ - ace_cv_lib_signal_vv1_2=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_HAS_SIG_C_FUNC]) - ]) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -dnl Check if signal takes a void (*)(int, ...) as second argument -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -ACE_CACHE_CHECK([if signal takes a void (*)(int, ...) as second argument], - [ace_cv_lib_signal_vi1a2_2],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - typedef void (*SA)(int, ...); - void handler(int, ...) { } - ]], [[ - SA nn = handler; - signal(SIGINT, nn); - ]])],[ - ace_cv_lib_signal_vi1a2_2=yes - ],[ - dnl Check if extern "C" signal handler is required. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include -extern "C" - { - typedef void (*SA)(int, ...); - void handler(int, ...) { } - } - ]], - [[ - SA nn = handler; - signal(SIGINT, nn); - ]])], - [ - ace_cv_lib_signal_vi1a2_2=yes - ], - [ - ace_cv_lib_signal_vi1a2_2=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_HAS_SIG_C_FUNC]) - ],) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -dnl Check if signal takes a void (*)(...) as second argument -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -ACE_CACHE_CHECK([if signal takes a void (*)(...) as second argument], - [ace_cv_lib_signal_va1_2],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - typedef void (*SA)(...); - void handler(...) { } - ]], [[ - SA nn = handler; - signal(SIGINT, nn); - ]])],[ - ace_cv_lib_signal_va1_2=yes - ],[ - dnl Check if extern "C" signal handler is required. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include -extern "C" - { - typedef void (*SA)(...); - void handler(...) { } - } - ]], - [[ - SA nn = handler; - signal(SIGINT, nn); - ]])], - [ - ace_cv_lib_signal_va1_2=yes - ], - [ - ace_cv_lib_signal_va1_2=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_HAS_SIG_C_FUNC]) - ],) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -dnl Check if signal returns a void (*)(int) -AC_CACHE_CHECK([if signal returns a void (*)(int)], - [ace_cv_lib_signal_vi1_ret],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - -typedef void (*SA)(int); -void foo(SA nn) { } - ]], [[ -SA nn = SIG_DFL; -nn = signal(SIGINT, 0); -foo(nn); - ]])],[ - ace_cv_lib_signal_vi1_ret=yes - ],[ - ace_cv_lib_signal_vi1_ret=no - ]) - ]) - -dnl Check if signal returns a void (*)(void) -AC_CACHE_CHECK([if signal returns a void (*)(void)], - [ace_cv_lib_signal_vv1_ret],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - -typedef void (*SA)(void); -void foo(SA nn) { } - ]], [[ -SA nn = SIG_DFL; -nn = signal(SIGINT, 0); -foo(nn); - ]])],[ - ace_cv_lib_signal_vv1_ret=yes - ],[ - ace_cv_lib_signal_vv1_ret=no - ]) - ]) - -dnl Check if signal returns a void (*)(int, ...) -AC_CACHE_CHECK([if signal returns a void (*)(int, ...)], - [ace_cv_lib_signal_vi1a2_ret],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - -typedef void (*SA)(int, ...); - ]], [[ - SA oo = signal(SIGINT, 0); - ]])],[ - ace_cv_lib_signal_vi1a2_ret=yes - ],[ - ace_cv_lib_signal_vi1a2_ret=no - ]) - ]) - -dnl Check if signal returns a void (*)(...) -AC_CACHE_CHECK([if signal returns a void (*)(...)], - [ace_cv_lib_signal_va1_ret],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - -typedef void (*SA)(...); - ]], [[ - SA oo = signal(SIGINT, 0); - ]])],[ - ace_cv_lib_signal_va1_ret=yes - ],[ - ace_cv_lib_signal_va1_ret=no - ]) - ]) - -if test "$ac_cv_type_struct_sigaction" = yes; then -dnl Check if struct sigaction takes a void (*)(int) handler - AC_CACHE_CHECK([if struct sigaction takes a void (*)(int) handler], - [ace_cv_lib_struct_sigaction_vi1_handler],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - typedef void (*SA)(int); - void foo(struct sigaction* sa, SA nn) { } - ]], [[ - struct sigaction sa; - SA nn = SIG_DFL; - sa.sa_handler = nn; - foo(&sa, nn); - ]])],[ - ace_cv_lib_struct_sigaction_vi1_handler=yes - ],[ - ace_cv_lib_struct_sigaction_vi1_handler=no - ]) - ]) - -dnl Check if struct sigaction takes a void (*)(void) handler - AC_CACHE_CHECK([if struct sigaction takes a void (*)(void) handler], - [ace_cv_lib_struct_sigaction_vv1_handler],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - typedef void (*SA)(void); - void foo(struct sigaction* sa, SA nn) { } - ]], [[ - struct sigaction sa; - SA nn = SIG_DFL; - sa.sa_handler = nn; - foo(&sa, nn); - ]])],[ - ace_cv_lib_struct_sigaction_vv1_handler=yes - ],[ - ace_cv_lib_struct_sigaction_vv1_handler=no - ]) - ]) - -dnl Check if struct sigaction takes a void (*)(int, ...) handler - AC_CACHE_CHECK([if struct sigaction takes a void (*)(int, ...) handler], - [ace_cv_lib_struct_sigaction_vi1a2_handler],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - typedef void (*SA)(int, ...); - void foo(struct sigaction* sa, SA nn) { } - ]], [[ - struct sigaction sa; - SA nn = SIG_DFL; - sa.sa_handler = nn; - foo(&sa, nn); - ]])],[ - ace_cv_lib_struct_sigaction_vi1a2_handler=yes - ],[ - ace_cv_lib_struct_sigaction_vi1a2_handler=no - ]) - ]) - -dnl Check if struct sigaction takes a void (*)(...) handler - AC_CACHE_CHECK([if struct sigaction takes a void (*)(...) handler], - [ace_cv_lib_struct_sigaction_va1_handler],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - typedef void (*SA)(...); - void foo(struct sigaction* sa, SA nn) { } - ]], [[ - struct sigaction sa; - SA nn = SIG_DFL; - sa.sa_handler = nn; - foo(&sa, nn); - ]])],[ - ace_cv_lib_struct_sigaction_va1_handler=yes - ],[ - ace_cv_lib_struct_sigaction_va1_handler=no - ]) - ]) -fi dnl test "$ac_cv_type_struct_sigaction" = yes - -dnl TODO: This doesn't work. -dnl The linux compiler issues a warning regarding the invalid void* -dnl conversion. -dnl -dnl FIXED by adding "-Werror" to compiler flags when using GNU C++ -dnl -Ossama -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -dnl Check if msgsnd() takes a struct msgbuf* second argument -ACE_CACHE_CHECK([if msgsnd() takes a struct msgbuf* second argument], - [ace_cv_lib_posix_msgsnd_msgbufp_2],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -# include -#ifndef ACE_LACKS_SYS_MSG_H -# include -#endif - ]], [[ - int msqid = 0; - struct msgbuf* msgp = 0; - int msgsz = 0; - int msgflg = 0; - msgsnd(msqid, msgp, msgsz, msgflg); - ]])],[ - ace_cv_lib_posix_msgsnd_msgbufp_2=yes - ],[ - ace_cv_lib_posix_msgsnd_msgbufp_2=no - ]) - ], - [ - dnl "ACTIONS-IF-SUCCESSFUL" handled later in configure.in - ], - [ - dnl Check if msgsnd() takes a const void* second argument - ACE_CACHE_CHECK([if msgsnd() takes a const void* second argument], - [ace_cv_lib_posix_msgsnd_cvoidp_2],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -# include -#ifndef ACE_LACKS_SYS_MSG_H -# include -#endif - ]], [[ - int msqid = 0; - const void* msgp = 0; - int msgsz = 0; - int msgflg = 0; - msgsnd(msqid, msgp, msgsz, msgflg); - ]])],[ - ace_cv_lib_posix_msgsnd_cvoidp_2=yes - ],[ - ace_cv_lib_posix_msgsnd_cvoidp_2=no - ]) - ], - [ - dnl Do nothing if msgsnd takes a const void* second argument - ], - [ - dnl If we get this far we presumably have a non-const void* second param - AC_DEFINE([ACE_HAS_NONCONST_MSGSND]) - ]) - ]) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -dnl TODO: This doesn't work. -dnl The linux compiler issues a warning regarding the invalid void* -dnl conversion. -dnl -dnl FIXED by adding "-Werror" to compiler flags when using GNU C++ -dnl -Ossama -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -dnl Check if msgrcv() takes a void* second argument -AC_CACHE_CHECK([if msgrcv() takes a void* second argument], - [ace_cv_lib_posix_msgrcv_voidp_2],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -# include -#ifndef ACE_LACKS_SYS_MSG_H -# include -#endif - ]], [[ - int msqid = 0; - void* msgp = 0; - int msgsz = 0; - long msgtyp = 0; - int msgflg = 0; - msgrcv(msqid, msgp, msgsz, msgtyp, msgflg); - ]])],[ - ace_cv_lib_posix_msgrcv_voidp_2=yes - ],[ - ace_cv_lib_posix_msgrcv_voidp_2=no - ]) - ]) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - - -if test "$ac_cv_func_shmat" = yes; then - dnl TODO: This doesn't work. - dnl The linux compiler issues a warning regarding the invalid void* - dnl conversion. - dnl - dnl FIXED by adding "-Werror" to compiler flags when using GNU C++ - dnl -Ossama - ACE_CONVERT_WARNINGS_TO_ERRORS( - [ - dnl Check if shmat() takes a void* second argument - AC_CACHE_CHECK([if shmat() takes a void* second argument], - [ace_cv_lib_posix_shmat_voidp_2],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #ifndef ACE_LACKS_SYS_TYPES_H - # include - #endif - # include - # include - ]], [[ - int shmid = 0; - void* shmaddr = 0; - int shmflg = 0; - shmat(shmid, shmaddr, shmflg); - ]])],[ - ace_cv_lib_posix_shmat_voidp_2=yes - ],[ - ace_cv_lib_posix_shmat_voidp_2=no - ]) - ]) - ]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - if test "$ace_cv_lib_posix_shmat_voidp_2" = no; then - AC_DEFINE([ACE_HAS_CHARPTR_SHMAT], 1, - [Define to 1 if arg 2 of 'shmat' is char *']) - fi -fi - -if test "$ac_cv_func_shmdt" = yes; then - dnl TODO: This doesn't work. - dnl The linux compiler issues a warning regarding the invalid void* - dnl conversion. - dnl - dnl FIXED by adding "-Werror" to compiler flags when using GNU C++ - dnl -Ossama - ACE_CONVERT_WARNINGS_TO_ERRORS( - [ - dnl Check if shmdt() takes a void* second argument - AC_CACHE_CHECK([if shmdt() takes a void* argument], - [ace_cv_lib_posix_shmdt_voidp],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #ifndef ACE_LACKS_SYS_TYPES_H - # include - #endif - # include - # include - ]], [[ - void* shmaddr = 0; - shmdt(shmaddr); - ]])],[ - ace_cv_lib_posix_shmdt_voidp=yes - ],[ - ace_cv_lib_posix_shmdt_voidp=no - ]) - ]) - ]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - if test "$ace_cv_lib_posix_shmdt_voidp" = no; then - AC_DEFINE([ACE_HAS_CHARPTR_SHMDT], 1, - [Define to 1 if arg 1 of 'shmdt' is char *']) - fi -fi - -dnl TODO: This doesn't work. -dnl The linux compiler issues a warning regarding the invalid void* -dnl conversion. -dnl -dnl FIXED by adding "-Werror" to compiler flags when using GNU C++ -dnl -Ossama -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -dnl Check if sigaction() takes a const* second argument -AC_CACHE_CHECK([if sigaction() takes a const* second argument], - [ace_cv_lib_posix_sigaction_constp_2],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - int signum = 0; - const struct sigaction* act = 0; - struct sigaction* oldact = 0; - sigaction(signum, act, oldact); - ]])],[ - ace_cv_lib_posix_sigaction_constp_2=yes - ],[ - ace_cv_lib_posix_sigaction_constp_2=no - ]) - ]) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -if test "$ace_cv_lib_posix_sigaction_constp_2" = yes; then - AC_DEFINE([ACE_HAS_SIGACTION_CONSTP2]) -fi - -dnl We need to use the ACE_CONVERT_WARNINGS_TO_ERRORS() macro since -dnl passing a void * just caused implicit conversion warnings when -dnl using GNU C++, for example. -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -dnl Check for SVR4 style gettimeofday() -AC_CACHE_CHECK([if gettimeofday() takes a void * second argument], - [ace_cv_lib_voidptr_gettimeofday], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include -#ifndef ACE_LACKS_UNISTD_H -# include -#endif - ]], [[ - struct timeval *tv = 0; - void *tzp = 0; - - gettimeofday(tv, tzp); - ]])],[ - ace_cv_lib_voidptr_gettimeofday=yes - ],[ - ace_cv_lib_voidptr_gettimeofday=no - ]) - ]) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -if test "$ace_cv_lib_voidptr_gettimeofday" = no; then -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -dnl Check for old OSF1 style gettimeofday() - AC_CACHE_CHECK([if gettimeofday() takes a struct timezone * second argument], - [ace_cv_lib_timezone_gettimeofday], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include -#ifndef ACE_LACKS_UNISTD_H -# include -#endif - ]], [[ - struct timeval *tv = 0; - struct timezone *tzp = 0; - - gettimeofday(tv, tzp); - ]])],[ - ace_cv_lib_timezone_gettimeofday=yes - ],[ - ace_cv_lib_timezone_gettimeofday=no - ]) - ]) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS -fi dnl test "$ace_cv_lib_voidptr_gettimeofday" = no - -dnl Check for gettimeofday() protoype -if test "$ace_cv_lib_voidptr_gettimeofday" = yes || - test "$ace_cv_lib_timezone_gettimeofday" = yes; then - -AC_CHECK_DECL([gettimeofday], - [ -if test "$ace_cv_lib_voidptr_gettimeofday" = yes; then - AC_DEFINE([ACE_HAS_VOIDPTR_GETTIMEOFDAY]) -else - AC_DEFINE([ACE_HAS_TIMEZONE_GETTIMEOFDAY]) -fi - ],[ -if test "$ace_cv_lib_voidptr_gettimeofday" = yes; then - AC_DEFINE([ACE_HAS_SVR4_GETTIMEOFDAY]) -else - AC_DEFINE([ACE_HAS_OSF1_GETTIMEOFDAY]) -fi - ], - [ -#include -#ifndef ACE_LACKS_UNISTD_H -# include -#endif - ]) - -fi dnl Check for gettimeofday() protoype - - -dnl Check if ctime_r() takes two arguments -if test "$ac_cv_func_ctime_r" = yes; then - ACE_CACHE_CHECK([if ctime_r() takes two arguments], - [ace_cv_lib_posix_ctime_r_2_params], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef _REENTRANT -# define _REENTRANT -#endif - -#include - ]], [[ - const time_t *t = 0; - char *buf; - ctime_r(t, buf); - ]])],[ - ace_cv_lib_posix_ctime_r_2_params=yes - ],[ - ace_cv_lib_posix_ctime_r_2_params=no - ]) - ], [AC_DEFINE([ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R])],) -fi dnl test "$ac_cv_func_ctime_r" = yes - - -dnl -dnl SECTION 12: checks for type characteristics -dnl - -dnl struct msghdr stuff -dnl Only run the following tests if the msghdr structure exists. -if test "$ace_cv_struct_msghdr" = yes; then - - ACE_CACHE_CHECK([if struct msghdr has a msg_accrights member], - [ace_cv_lib_posix_struct_msghdr_has_msg_accrights],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - ]], [[ - msghdr mh; - mh.msg_accrights = 0; - ]])],[ - ace_cv_lib_posix_struct_msghdr_has_msg_accrights=yes - ],[ - ace_cv_lib_posix_struct_msghdr_has_msg_accrights=no - ]) - ]) - - ACE_CACHE_CHECK([if struct msghdr has a msg_accrightslen member], - [ace_cv_lib_posix_struct_msghdr_has_msg_accrightslen],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - ]], [[ - msghdr mh; - mh.msg_accrightslen = 0; - ]])],[ - ace_cv_lib_posix_struct_msghdr_has_msg_accrightslen=yes - ],[ - ace_cv_lib_posix_struct_msghdr_has_msg_accrightslen=no - ]) - ]) - -dnl Check for 4.4 BSD style struct msghdr members -dnl The following test should only be run if the above two testsfail. - if test "$ace_cv_lib_posix_struct_msghdr_has_msg_accrights" = no && - test "$ace_cv_lib_posix_struct_msghdr_has_msg_accrightslen" = no; then - AC_DEFINE([ACE_LACKS_MSG_ACCRIGHTS]) - ACE_CACHE_CHECK([for 4.4 BSD style struct msghdr], - [ace_cv_lib_4_4bsd_msghdr],[ - AC_EGREP_HEADER([msg_control], [sys/socket.h], - [ - ace_cv_lib_4_4bsd_msghdr=yes - ], - [ - ace_cv_lib_4_4bsd_msghdr=no - ]) - ], - [ - AC_DEFINE([ACE_HAS_4_4BSD_SENDMSG_RECVMSG]) - ], - [ - AC_MSG_WARN([No supported msghdr structure was found. ACE may not compile or function properly.]) - ]) - fi - -fi dnl End struct msghdr_stuff - -dnl -dnl SECTION 13: checks for system services -dnl - -dnl Check for open() mode masks -ACE_CACHE_CHECK([for open() mode masks], - [ace_cv_feature_have_open_mode_masks],[ - AC_EGREP_CPP([ACE_OPEN_MODE_MASKS_EXIST], - [ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include - -/* These are ORed so that ACE will not redefine any of them if any of - them exist. */ -#if defined (S_IRWXU) || \ - defined (S_IRUSR) || \ - defined (S_IWUSR) || \ - defined (S_IXUSR) || \ - defined (S_IRWXG) || \ - defined (S_IRGRP) || \ - defined (S_IWGRP) || \ - defined (S_IXGRP) || \ - defined (S_IRWXO) || \ - defined (S_IROTH) || \ - defined (S_IWOTH) || \ - defined (S_IXOTH) - ACE_OPEN_MODE_MASKS_EXIST -#endif - ], - [ - ace_cv_feature_have_open_mode_masks=yes - ], - [ - ace_cv_feature_have_open_mode_masks=no - ]) - ], , [AC_DEFINE([ACE_LACKS_MODE_MASKS])]) - - -dnl Check if platform supports POSIX O_NONBLOCK semantics -ACE_CACHE_CHECK([for POSIX O_NONBLOCK semantics], - [ace_cv_feature_posix_o_nonblock],[ - AC_EGREP_CPP([ACE_POSIX_O_NONBLOCK], - [ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include - -#if defined (O_NONBLOCK) - ACE_POSIX_O_NONBLOCK -#endif - ], - [ - ace_cv_feature_posix_o_nonblock=yes - ], - [ - ace_cv_feature_posix_o_nonblock=no - ]) - ], [AC_DEFINE([ACE_HAS_POSIX_NONBLOCK])],) - -dnl Check for MAP_FAILED constant -ACE_CACHE_CHECK([for MAP_FAILED constant], - [ace_cv_lib_have_map_failed],[ - dnl We need the square brackets around "ACEMAPFAILED.+[0-9]" to - dnl prevent the character class "[0-9]" from becoming "0-9" due to - dnl M4 quoting. - AC_EGREP_CPP([ACEMAPFAILED.+[0-9]], - [ -#include - ACEMAPFAILED MAP_FAILED - ], - [ - ace_cv_lib_have_map_failed=yes - ], - [ - ace_cv_lib_have_map_failed=no - ]) - ], - [ - dnl Check if platform defines MAP_FAILED as a long constant - ACE_CACHE_CHECK([if MAP_FAILED is a long constant], - [ace_cv_feature_long_map_failed],[ - dnl We need the square brackets around "ACEMAPFAILED.+[0-9]L" to - dnl prevent the character class "[0-9]" from becoming "0-9" due to - dnl M4 quoting. - AC_EGREP_CPP([ACEMAPFAILED.+[0-9]L], - [ -#include - ACEMAPFAILED MAP_FAILED - ], - [ - ace_cv_feature_long_map_failed=yes - ], - [ - ace_cv_feature_long_map_failed=no - ]) - ], [AC_DEFINE([ACE_HAS_LONG_MAP_FAILED])], - [ - dnl Check if MAP_FAILED is _not_ cast to void * - ACE_CACHE_CHECK([if MAP_FAILED is not cast to void *], - [ace_cv_have_broken_map_failed],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - void * foo = MAP_FAILED; - ]])],[ - ace_cv_have_broken_map_failed=no - ],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include - ]], - [[ - void * foo = (void *) MAP_FAILED; - ]])], - [ - ace_cv_have_broken_map_failed=yes - ], - [ - dnl If we get here then we have no idea what is wrong! - ace_cv_have_broken_map_failed=no - ]) - ]) - ], [AC_DEFINE([ACE_HAS_BROKEN_MAP_FAILED])],) - ]) - ],) - -dnl Check if platform supports TCP_NODELAY support -ACE_CACHE_CHECK([for TCP_NODELAY support], - [ace_cv_feature_tcp_nodelay],[ - AC_EGREP_CPP([ACE_TCPNODELAY], - [ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - -#if defined (TCP_NODELAY) - ACE_TCPNODELAY -#endif - ], - [ - ace_cv_feature_tcp_nodelay=yes - ], - [ - ace_cv_feature_tcp_nodelay=no - ]) - ], , [AC_DEFINE([ACE_LACKS_TCP_NODELAY])]) - -dnl Check if platform supports SO_SNDBUF/SO_RCVBUF socket options -ACE_CACHE_CHECK([for SO_SNDBUF/SO_RCVBUF socket options], - [ace_cv_feature_so_sndbuf_rcvbuf],[ - AC_EGREP_CPP([ACE_SO_BUF], - [ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - -#if defined (SO_SNDBUF) && \ - defined (SO_RCVBUF) - ACE_SO_BUF -#endif - ], - [ - ace_cv_feature_so_sndbuf_rcvbuf=yes - ], - [ - ace_cv_feature_so_sndbuf_rcvbuf=no - ]) - ], , [AC_DEFINE([ACE_LACKS_SOCKET_BUFSIZ])]) - -dnl Check if memcpy is faster or loop unrolling is faster on a given -dnl platform -ACE_CACHE_CHECK([if ACE memcpy needs loop unrolling], [ace_cv_memcpy_loop_unroll], -[AC_RUN_IFELSE([AC_LANG_SOURCE([[#include -#include - -void* -smemcpy (void* dest, const void* src, const size_t n) -{ - unsigned char* to = static_cast( dest) ; - const unsigned char* from = static_cast( src) ; - // Unroll the loop... - switch (n) - { - case 16: to[15] = from[15] ; - case 15: to[14] = from[14] ; - case 14: to[13] = from[13] ; - case 13: to[12] = from[12] ; - case 12: to[11] = from[11] ; - case 11: to[10] = from[10] ; - case 10: to[9] = from[9] ; - case 9: to[8] = from[8] ; - case 8: to[7] = from[7] ; - case 7: to[6] = from[6] ; - case 6: to[5] = from[5] ; - case 5: to[4] = from[4] ; - case 4: to[3] = from[3] ; - case 3: to[2] = from[2] ; - case 2: to[1] = from[1] ; - case 1: to[0] = from[0] ; - case 0: return dest; - default: return memcpy (dest, src, n); - } -} - -// Function pointer -void* (* test_func) (void *dst, const void* src, size_t); - -namespace { enum { ITERATIONS = 100000 }; } - -#include -#include - -int -main(int argc, char* argv[]) -{ - struct timeval start, now; - double value; - - // Test buffer - char dest [16]; - const void* src = " THIS IS A TEST"; - - // We want to test if the loop unrolling is faster for sizes - // from 1..16 - for (size_t counter = 16; counter >=1; counter--) - { - test_func = smemcpy; - - // Warm up - for (int i = ITERATIONS ; i > 0 ; --i) - test_func ((void *)dest, src, counter); - - gettimeofday (&start, 0) ; - for (int j = ITERATIONS ; j > 0 ; --j) - test_func ((void *)dest, src, counter); - gettimeofday (&now, 0); - - double fast = 1000000 * (now.tv_sec - start.tv_sec) + - now.tv_usec - start.tv_usec ; - - test_func = memcpy; - - // Warm up - for (int k = ITERATIONS ; k > 0 ; --k) - test_func ((void *)dest, src, counter); - - gettimeofday (&start, 0) ; - for (int l = ITERATIONS ; l > 0 ; --l) - test_func ((void *)dest, src, counter); - gettimeofday (&now, 0) ; - - double slow = 1000000 * (now.tv_sec-start.tv_sec) + - now.tv_usec - start.tv_usec ; - if (fast > slow) - return 1; // Unrolling was slower than actual memcpy - - if (1.10*fast > slow) - return 1; // Unrolling was not faster by 10% - } - return 0; // Unrolling was faster -- success -}]])], [ace_cv_memcpy_loop_unroll=yes], - [ace_cv_memcpy_loop_unroll=no], - dnl Cross compilation case - [ace_cv_memcpy_loop_unroll=no])], - dnl only if the test succeeds set the macro - [AC_DEFINE([ACE_HAS_MEMCPY_LOOP_UNROLL], 1, - [Define to 1 if unrolled ACE_OS::fast_memcpy() is faster than system memcpy()])],) - -dnl TODO: We only check for ACE_HAS_AUTOMATIC_INIT_FINI on platforms that -dnl have SVR4 dynamic linking since ACE doesn't support it otherwise. -if test "$ac_cv_header_dlfcn_h" = yes && - test "$ace_has_svr4_dynamic_linking" = yes; then -dnl Check if platform calls init/fini automatically - ACE_CACHE_CHECK([for automatic init/fini calls], - [ace_cv_feature_auto_init_fini],[ - ace_cv_feature_auto_init_fini=yes - # TODO: We know how to check for this, but we need to: - # - # 1. Compile one file. - # 2. Compile and link another file. - # 3. Run file in point (2); it returns what we need. - # - # How do we do all that? - ], [AC_DEFINE([ACE_HAS_AUTOMATIC_INIT_FINI])],) -fi dnl test "$ac_cv_header_dlfcn_h" = yes && - dnl "$ace_has_svr4_dynamic_linking" = yes - -dnl Check for recursive thread exit semantics -if test "$ace_user_enable_threads" = yes; then - ACE_CACHE_CHECK([for recursive thread exit semantics], - [ace_cv_feature_recursive_thr_exit],[ - ace_cv_feature_recursive_thr_exit=yes - # TODO: How do we check for recursive thread exit semantics - ], [AC_DEFINE([ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS])],) -fi - -dnl Check for UNIX domain sockets -ACE_CACHE_CHECK([for UNIX domain sockets], - [ace_cv_feature_unix_sockets], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - ]], [[ - sockaddr_un su; - ]])],[ - ace_cv_feature_unix_sockets=yes - ],[ - ace_cv_feature_unix_sockets=no - ]) - ], , [AC_DEFINE([ACE_LACKS_UNIX_DOMAIN_SOCKETS])]) - -dnl Check for raw sockets -ACE_CACHE_CHECK([for raw sockets], - [ace_cv_feature_raw_sockets], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include - ]], [[ -return socket(AF_INET, SOCK_RAW, IPPROTO_RAW); - ]])],[ - ace_cv_feature_raw_sockets=yes - ],[ - ace_cv_feature_raw_sockets=no - ]) - ], [AC_DEFINE([ACE_HAS_ICMP_SUPPORT])]) - -dnl Check for ACE_Handle_Set optimized for select() -ACE_CACHE_CHECK([for ACE_Handle_Set optimized for select()], - [ace_cv_feature_handle_set_optimized_for_select],[ - ace_cv_feature_handle_set_optimized_for_select=yes - # TODO: We know how to check this. We need to: - # - # 1. Compile and link a file. - # 2. Run nm on that file. - # - # How do we do that? - ], [AC_DEFINE([ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT])],) - -dnl Even we if we don't have IP multicasting, we still need to define -dnl "ACE_HAS_IP_MULTICAST" since struct ip_mreq gets redefined by ACE. -dnl What do we do about this problem? -dnl -Ossama -dnl Check for IP multicast support -ACE_CACHE_CHECK([for IP multicast support], - [ace_cv_feature_ip_multicast],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - ]], [[ - ip_mreq im; - ]])],[ - ace_cv_feature_ip_multicast=yes - ],[ -dnl Some platforms define ip_mreq in . - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - ]], - [[ - ip_mreq im; - ]])], - [ - ace_cv_feature_ip_multicast=yes - ], - [ - ace_cv_feature_ip_multicast=no - ]) - ]) - ], [AC_DEFINE([ACE_HAS_IP_MULTICAST])],) - -ACE_CACHE_CHECK([if running on an Alpha], - [ace_cv_feature_alpha],[ - case "$host" in - alpha*) - ace_cv_feature_alpha=yes - ;; - *) - ace_cv_feature_alpha=no - ;; - esac - ], - [ - case "$host" in - *linux*) - dnl We only define ACE_HAS_ALPHA_TIMER if we are running Linux - dnl on an Alpha and are using GNU C++! - if test "$GXX" = yes; then - AC_DEFINE([ACE_HAS_ALPHA_TIMER], 1, - [Define to 1 if system should use Alpha's cycle counter]) - fi - ;; - esac - ],) - -ACE_CACHE_CHECK([if running on a Power PC], - [ace_cv_feature_powerpc],[ - case "$host" in - powerpc*) - ace_cv_feature_powerpc=yes - ;; - *) - ace_cv_feature_powerpc=no - ;; - esac - ], - [ - case "$host" in - *aix*) - dnl We don't do anything for AIX since AIX already has a - dnl hi-res timer function! - ;; - *) - dnl Only define ACE_HAS_POWERPC_TIMER when using GNU C++! - if test "$GXX" = yes; then - AC_DEFINE([ACE_HAS_POWERPC_TIMER], 1, - [Define to 1 if system should use PowerPC's cycle counter]) - fi - ;; - esac - ],) - -ACE_CACHE_CHECK([if running on a Pentium(tm) processor], - [ace_cv_feature_pentium],[ - case "$host" in - i386-* | i486-* |i586-* | i686-*) -dnl If we do have a pentium, than define ACE_HAS_PENTIUM and add -dnl gethrtime.cpp to the source list, but only if we're using GNU C++ -dnl since gethrtime.cpp uses assembler code specific to that compiler. - if test "$GXX" = yes; then - ace_cv_feature_pentium=yes - else - ace_cv_feature_pentium=no - fi - ;; - *) - ace_cv_feature_pentium=no - ;; - esac - ], - [ - AC_DEFINE([ACE_HAS_PENTIUM], 1, - [Define to 1 if system is using Intel Pentium(tm) processor]) - ],) -AM_CONDITIONAL([ACE_ON_PENTIUM], [test X$ace_cv_feature_pentium = Xyes]) - -case "$host" in - i386-* | i486-* | i586-* | i686-* | x86_64-*) - if test "$GXX" = yes; then - ace_cv_has_intel_assembly=yes - else - ace_cv_has_intel_assembly=no - fi - ;; - *) - ace_cv_has_intel_assembly=no - ;; -esac -if test "$ace_cv_has_intel_assembly" != "no"; then - AC_DEFINE([ACE_HAS_INTEL_ASSEMBLY], 1, - [Define to 1 if the system supports x86/x86_64 inline assembly]) -fi - -dnl -dnl SECTION 14: checks for aggregated features -dnl TODO: Little by little, get rid of these... -dnl - - -dnl Macro ACE_HAS_REENTRANT_FUNCTIONS means the following functions -dnl are usable: -dnl -dnl rand_r -dnl strtok_r -dnl getpwnam_r (if we don't have, define ACE_LACKS_PWD_REENTRANT_FUNCTIONS) -dnl ctime_r -dnl localtime_r -dnl gmtime_r -dnl asctime_r -dnl * getprotobyname_r -dnl * getprotobynumber_r -dnl * gethostbyaddr_r -dnl * gethostbyname_r -dnl * getservbyname_r -dnl -dnl Those marked with '*' are NOT usable if -dnl ACE_LACKS_NETDB_REENTRANT_FUNCTIONS) is defined. -dnl -dnl The time has come to create feature macros for each of these... -dnl With the separate feature macros, we will define (for now) -dnl ACE_HAS_REENTRANT_FUNCTIONS only when all of those WITHOUHT a '*' -dnl are defined. Also, if any of those with '*' are missing, we will -dnl define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS. - -dnl Don't bother with reentrant functions if they are disabled by the user. -if test "$ace_user_enable_reentrant_funcs" = yes && - test "$ac_cv_func_rand_r" = yes && - test "$ac_cv_func_strtok_r" = yes && - test "$ac_cv_func_ctime_r" = yes && - test "$ac_cv_func_localtime_r" = yes && - test "$ac_cv_func_gmtime_r" = yes && - test "$ac_cv_func_asctime_r" = yes; then - AC_DEFINE([ACE_HAS_REENTRANT_FUNCTIONS]) - # Explicitly enable reentrant functions if thread support is not enabled. - if test "$ace_user_enable_threads" = no; then - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_REENTRANT" - fi -fi - -dnl Don't bother with reentrant functions if they are disabled by the user. -if test "$ace_user_enable_reentrant_funcs" = no || - test "$ac_cv_func_getprotobyname_r" = no || - test "$ac_cv_func_getprotobynumber_r" = no || - test "$ac_cv_func_gethostbyaddr_r" = no || - test "$ac_cv_func_gethostbyname_r" = no || - test "$ac_cv_func_getservbyname_r" = no; then - AC_DEFINE([ACE_LACKS_NETDB_REENTRANT_FUNCTIONS]) -fi - -dnl FIXME!!! -dnl The following is a kludge until the netdb reentrant function -dnl number of arguments is handled. -case "$host" in - *linux* | *freebsd*) AC_DEFINE([ACE_LACKS_NETDB_REENTRANT_FUNCTIONS]);; - *) ;; -esac - - -dnl Macro ACE_LACKS_SOME_POSIX_PROTOTYPES implies any of the following -dnl features: -dnl -dnl ! ACE_HAS_MSGSND_MSGBUFP_2 -dnl ! ACE_LACKS_MSGRCV_VOIDP_2 -dnl ! ACE_LACKS_SHMAT_VOIDP_2 -dnl -dnl So, for now, we define it if any of those were autoconf'ed. - -dnl @@ THESE NEED TO BE ADDED AS PROPER CONFIG SETTINGS. --Steve -dnl if test "$ace_cv_lib_posix_msgsnd_msgbufp_2" = yes || -dnl test "$ace_cv_lib_posix_msgrcv_voidp_2" != yes || -dnl test "$ace_cv_lib_posix_shmat_voidp_2" != yes ; then -dnl AC_DEFINE([ACE_LACKS_SOME_POSIX_PROTOTYPES]) -dnl fi - -if test "$ac_cv_func_msgctl" = yes && - test "$ac_cv_func_msgget" = yes && - test "$ac_cv_func_msgrcv" = yes && - test "$ac_cv_func_semctl" = yes && - test "$ac_cv_func_semget" = yes && - test "$ac_cv_func_semop" = yes && - test "$ac_cv_func_shmat" = yes && - test "$ac_cv_func_shmctl" = yes && - test "$ac_cv_func_shmdt" = yes && - test "$ac_cv_func_shmget" = yes; then - AC_DEFINE([ACE_HAS_SYSV_IPC]) -fi - -if test "$ac_cv_func_shmat" != yes || - test "$ac_cv_func_shmctl" != yes || - test "$ac_cv_func_shmdt" != yes || - test "$ac_cv_func_shmget" != yes; then - AC_DEFINE([ACE_LACKS_SYSV_SHMEM]) -fi - -dnl Check for what POSIX threads draft we have -AC_MSG_CHECKING([which POSIX thread library was found]) - -ace_has_pthreads=no - -dnl Check if we have Pthreads Draft 4 -dnl if test "$ac_cv_func_pthread_delay_np" = yes && -if test "$ac_cv_func_pthread_mutexattr_create" = yes && -dnl test "$ac_cv_func_pthread_mutexattr_setkind_np" = yes && - test "$ac_cv_func_pthread_mutexattr_delete" = yes && - test "$ac_cv_func_pthread_condattr_delete" = yes && - test "$ac_cv_func_pthread_condattr_create" = yes && - test "$ac_cv_func_pthread_setprio" = yes && - test "$ac_cv_func_pthread_getprio" = yes && -dnl test "$ac_cv_func_pthread_getspecific" = yes && - test "$ac_cv_func_pthread_setcancel" = yes && - test "$ac_cv_func_pthread_setasynccancel" = yes && - test "$ac_cv_func_pthread_kill" = yes; then - ace_has_pthreads=yes - AC_MSG_RESULT([POSIX Threads Draft 4]) - AC_DEFINE([ACE_HAS_PTHREADS_DRAFT4], 1, - [Platform supports POSIX Threads .4a Draft 4]) -dnl Check if we have Pthreads Draft 6 -elif test "$ac_cv_func_pthread_mutexattr_init" = yes && - test "$ac_cv_func_pthread_mutexattr_destroy" = yes && - test "$ac_cv_func_pthread_condattr_destroy" = yes && - test "$ac_cv_func_pthread_condattr_init" = yes && - test "$ac_cv_func_pthread_attr_setprio" = yes && - test "$ac_cv_func_pthread_attr_getprio" = yes && - test "$ac_cv_func_pthread_setintr" = yes && - test "$ac_cv_func_pthread_setintrtype" = yes; then - ace_has_pthreads=yes - AC_MSG_RESULT([POSIX Threads Draft 6]) - AC_DEFINE([ACE_HAS_PTHREADS_DRAFT6], 1, - [Platform supports POSIX Threads .4a Draft 6]) -dnl Check if we have Pthreads Draft 7 -elif test "$ac_cv_func_pthread_mutexattr_init" = yes && - test "$ac_cv_func_pthread_mutexattr_destroy" = yes && - test "$ac_cv_func_pthread_condattr_destroy" = yes && - test "$ac_cv_func_pthread_condattr_init" = yes && - test "$ac_cv_func_pthread_setschedparam" = yes && - test "$ac_cv_func_pthread_getschedparam" = yes && - test "$ac_cv_func_pthread_setcancelstate" = yes && - test "$ac_cv_func_pthread_setcanceltype" = yes && - test "$ace_has_sched_yield" != yes; then - ace_has_pthreads=yes - AC_MSG_RESULT([POSIX Threads Draft 7]) - AC_DEFINE([ACE_HAS_PTHREADS_DRAFT7], 1, - [Platform supports POSIX Threads .1c Draft 7]) -dnl Check if we have Pthreads Draft Standard -elif test "$ac_cv_func_pthread_mutexattr_init" = yes && - test "$ac_cv_func_pthread_mutexattr_destroy" = yes && - test "$ac_cv_func_pthread_condattr_destroy" = yes && - test "$ac_cv_func_pthread_condattr_init" = yes && - test "$ac_cv_func_pthread_setschedparam" = yes && - test "$ac_cv_func_pthread_getschedparam" = yes && - test "$ac_cv_func_pthread_setcancelstate" = yes && - test "$ac_cv_func_pthread_setcanceltype" = yes && - test "$ace_has_sched_yield" = yes; then - ace_has_pthreads=yes - AC_MSG_RESULT([POSIX Threads Draft Standard]) - AC_DEFINE([ACE_HAS_PTHREADS_STD], 1, - [Platform supports POSIX.1c-1995 threads]) -else - ace_has_pthreads=no - AC_MSG_RESULT([none]) -fi dnl PTHREAD DRAFT CHECKS - -dnl Check if we have UNIX International threads -AC_MSG_CHECKING([if a UNIX International thread library was found]) -if test "$ace_has_sthreads" = yes; then - AC_MSG_RESULT([yes]) -else - AC_MSG_RESULT([no]) -fi - -if test "$ace_user_enable_threads" != yes || - test "$ace_has_pthreads" != yes && - test "$ace_has_sthreads" != yes; then - dnl We don't have a usable thread library! - ace_user_enable_threads=no - dnl Make sure _REENTRANT and _THREAD_SAFE are not in the - dnl preprocessor flags since thread support is being disabled. - dnl Removal of these flags is only performed if the configure script - dnl added them. - if test -n "$ACE_THR_CPPFLAGS"; then -dnl changequote(, )dnl - CPPFLAGS=`eval "echo $CPPFLAGS | sed -e 's/$ACE_THR_CPPFLAGS//' -e 's/-D_THREAD_SAFE\(=[[0-9]]*\)\?//'"` -dnl changequote([, ])dnl - fi - - AC_MSG_WARN([It appears that you do NOT have any usable thread libraries]) - AC_MSG_WARN([or thread support was explicitly disabled.]) - AC_MSG_WARN([Disabling thread support.]) - dnl ACE uses different versions of readdir_r depending on the thread - dnl library being used, i.e. on the ACE_HAS_*THREADS* macros. Since - dnl it doesn't seem like a good idea to define any ACE_HAS_*THREADS* - dnl macro if ACE won't be supporting threads, define ACE_LACKS_READDIR_R - dnl regardless if readdir_r() exists. - if test "$ac_cv_func_readdir_r" = yes; then - AC_MSG_WARN([Disabling support for readdir_r() since thread support]) - AC_MSG_WARN([is being disabled.]) - AC_DEFINE([ACE_LACKS_READDIR_R]) - fi dnl test "$ac_cv_func_readdir_r" = yes -fi dnl - -if test "$ace_user_enable_threads" = yes; then -dnl If we get this far then we have threads. -dnl FIXME: The "_POSIX" macros may need to be defined _before_ the checks for -dnl reentrant functions! However, we don't want to define them if -dnl the UNIX International threads library was detected. - AC_DEFINE([ACE_HAS_THREADS]) - AC_DEFINE([ACE_MT_SAFE]) - ACE_CPPFLAGS="$ACE_CPPFLAGS $ACE_THR_CPPFLAGS" - - if test "$ace_has_pthreads" = yes; then - - dnl Check if OS requires non-null status pointer for ::pthread_join () - dnl - dnl This test must be performed after the POSIX threads implementation - dnl that the platform supports has been determined. - ACE_CACHE_CHECK([for pthread_join null status pointer support], - [ace_cv_have_null_status_pthread_join],[ - AC_EGREP_CPP([WE_HAVE_PTHREADS_D4], - [ -#if defined (ACE_HAS_PTHREADS) && defined (ACE_HAS_PTHREADS_DRAFT4) -/* This test is only valid for Pthreads Draft 4 */ -WE_HAVE_PTHREADS_D4 -#endif - ], - [ - AC_RUN_IFELSE([AC_LANG_SOURCE([[ -#ifndef _REENTRANT -#define _REENTRANT -#endif - -#include - -/* _THREAD_SAFE is defined in on some platforms. */ -#ifndef _THREAD_SAFE -#define _THREAD_SAFE -#endif - -#include - -#ifdef __cplusplus -extern "C" -#endif -void * -nothing (void *unused) -{ - return (void *) 34; -}; - -int -main () -{ - pthread_attr_t attr; - pthread_t id; - void *status; - int retval = 0; - - /* ----- */ - /* We return 0 on error for these calls since we only want to - return an error status if pthread_join fails. If these calls - fail then we've got other problems! */ - if (pthread_attr_create (&attr) != 0) return 0 /*1*/; - - if (pthread_create (&id, attr, nothing, 0) != 0) return 0 /*2*/; - - if (pthread_attr_delete (&attr) != 0) return /*3*/; - /* ----- */ - - /* With a second (status) arg of 0, LynxOS 3.0.0 pthread_join () - will fail with errno 14 (address fault detected). */ - if (pthread_join (id, 0) == -1) { - fprintf (stderr, "%s: %d; ", __FILE__, __LINE__); - perror ("pthread_join"); - retval = 1; - } - - if (pthread_join (id, &status) == -1) { - fprintf (stderr, "%s: %d; ", __FILE__, __LINE__); - perror ("pthread_join"); - retval = 2; - } - - return retval; -} - ]])],[ - ace_cv_have_null_status_pthread_join=yes - ],[ - ace_cv_have_null_status_pthread_join=no - ],[ - dnl If we are cross-compiling let's hope that - dnl that we have a working null status pointer - dnl for pthread_join. - ace_cv_have_null_status_pthread_join=yes - ]) - ], - [ - ace_cv_have_null_status_pthread_join=yes - ]) - ], , [AC_DEFINE([ACE_LACKS_NULL_PTHREAD_STATUS])]) - - dnl Check if OS supports mutex timeouts - dnl (e.g. pthread_mutex_timedlock()). - ACE_CACHE_CHECK([for mutex timeouts], - [ace_cv_have_mutex_timeouts],[ - AC_RUN_IFELSE([AC_LANG_SOURCE([[ -#ifndef _REENTRANT -#define _REENTRANT -#endif - -#include - -/* _THREAD_SAFE is defined in on some platforms. */ -#ifndef _THREAD_SAFE -#define _THREAD_SAFE -#endif - -#include - -#include -#include - -#include -#ifndef ACE_LACKS_UNISTD_H -# include -#endif - -pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; - -#ifdef __cplusplus -extern "C" -#endif -void *threadFunc (void *parm) -{ - int rc; - int i; - struct timespec deltatime; - struct timeval tv; - - if (gettimeofday (&tv, 0) != 0) - { - return 0; - } - - deltatime.tv_sec = tv.tv_sec + 5; - deltatime.tv_nsec = 0; - - rc = pthread_mutex_timedlock (&mutex, &deltatime); - - if (rc != ETIMEDOUT) - { - /* printf("Got an incorrect return code from pthread_mutex_timedlock\n"); */ - } - - return 0; -} - -int main (void) -{ - int rc =0; - pthread_t thread; - - rc = pthread_mutex_lock (&mutex); - if (rc != 0) - { - exit (-1); - } - - rc = pthread_create (&thread, NULL, threadFunc, NULL); - if (rc != 0) - { - exit (-1); - } - - rc = pthread_join (thread, NULL); - if (rc != 0) - { - exit (-1); - } - - pthread_mutex_destroy (&mutex); - - return 0; -} - ]])],[ - ace_cv_have_mutex_timeouts=yes - ],[ - ace_cv_have_mutex_timeouts=no - ],[ - dnl Cross-compiled case - AC_CHECK_FUNC([pthread_mutex_timedlock], - [ace_cv_have_mutex_timeouts=yes], - [ace_cv_have_mutex_timeouts=no]) - ]) - ], [AC_DEFINE([ACE_HAS_MUTEX_TIMEOUTS])],) - - dnl Check if platform needs to #include to get thread - dnl scheduling defs. - ACE_CACHE_CHECK([if sched.h is needed for thread scheduling definitions], - [ace_cv_needs_sched_h], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifdef ACE_HAS_STHREADS -#include -#endif - -#ifdef ACE_HAS_PTHREADS -#include -#endif - ]], [[ -int foo = SCHED_OTHER; - ]])],[ - ace_cv_needs_sched_h=no - ],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#ifdef ACE_HAS_STHREADS -#include -#endif - -#ifdef ACE_HAS_PTHREADS -#include -#endif - -#include - ]], - [[ -int foo = SCHED_OTHER; - ]])], - [ - ace_cv_needs_sched_h=yes - ], - [ - dnl We're hosed if we get here! - ace_cv_needs_sched_h=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_NEEDS_SCHED_H]) - ],) - - dnl Check if platform only supports SCHED_OTHER scheduling policy - dnl - dnl This test must be performed after the POSIX threads implementation - dnl that the platform supports has been determined. - ACE_CACHE_CHECK([if SCHED_OTHER is only scheduling policy], - [ace_cv_feature_only_have_sched_other], - [ - AC_EGREP_CPP([WE_ONLY_HAVE_SCHED_OTHER], - [ -#ifdef ACE_HAS_STHREADS -# include -#endif - -#ifdef ACE_HAS_PTHREADS -# include -#endif - -#if defined (ACE_NEEDS_SCHED_H) -# include -#endif - - /* These are ORed so that ACE will not redefine - any of them if any of them exist. */ -#if !defined (SCHED_FIFO) && \ - !defined (SCHED_RR) && \ - defined (SCHED_OTHER) - WE_ONLY_HAVE_SCHED_OTHER -#endif - ], - [ - ace_cv_feature_only_have_sched_other=yes - ], - [ - AC_RUN_IFELSE([AC_LANG_SOURCE([[ -#ifndef _REENTRANT -#define _REENTRANT -#endif - -#include - -/* _THREAD_SAFE is defined in on some platforms. */ -#ifndef _THREAD_SAFE -#define _THREAD_SAFE -#endif - -#include -#include - -int main () -{ - pthread_attr_t ace_attr; - -#if defined (ACE_HAS_PTHREADS_DRAFT4) - if (pthread_attr_create (&ace_attr) != 0) -#else - if (pthread_attr_init (&ace_attr) != 0) -#endif - { - perror ("pthread_attr_init"); - return 0; /* Return "successfully" since only the policy call - will return with an error for this test. */ - } - -#if defined (ACE_HAS_PTHREADS_DRAFT4) - if (pthread_attr_setsched (&ace_attr, SCHED_FIFO) != 0) -#else - if (pthread_attr_setschedpolicy (&ace_attr, SCHED_FIFO) != 0) -#endif - { - perror ("pthread_attr_setschedpolicy"); - return -1; - } - -#if defined (ACE_HAS_PTHREADS_DRAFT4) - if (pthread_attr_delete (&ace_attr) != 0) -#else - if (pthread_attr_destroy (&ace_attr) != 0) -#endif - { - perror ("pthread_attr_destroy"); - return 0; /* Return "successfully" since only the policy call - will return with an error for this test. */ - } - - return 0; -} - ]])],[ - ace_cv_feature_only_have_sched_other=no - ],[ - ace_cv_feature_only_have_sched_other=yes - ],[ - dnl We only get here if polices other than SCHED_OTHER - dnl were found in the headers and we are cross-compiling. - dnl - dnl If we are cross-compiling let's hope that the - dnl scheduling policies found in the headers - dnl besides SCHED_OTHER (e.g. SCHED_FIFO, SCHED_RR) - dnl are supported. - ace_cv_feature_only_have_sched_other=no - ]) - ]) - ], [AC_DEFINE([ACE_HAS_ONLY_SCHED_OTHER])],) - fi dnl test "$ace_has_pthreads" = yes -fi dnl test "$ace_user_enable_threads" = yes - - -AC_CHECK_HEADER(libc.h) -AC_CHECK_HEADER(osfcn.h) -if test "$ac_cv_header_libc_h" != yes || - test "$ac_cv_header_osfcn_h" != yes; then - AC_DEFINE([ACE_HAS_CPLUSPLUS_HEADERS]) -fi - - - -if test "$ace_cv_lib_signal_vi1_2" = yes && - test "$ace_cv_lib_signal_vi1_ret" = yes && - test "$ace_cv_lib_struct_sigaction_vi1_handler" = yes; then - AC_DEFINE([ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES]) -elif test "$ace_cv_lib_signal_vi1_2" != yes && - test "$ace_cv_lib_signal_vv1_2" != yes && - test "$ace_cv_lib_signal_vi1a2_2" != yes && - test "$ace_cv_lib_signal_va1_2" = yes && - test "$ace_cv_lib_signal_vi1_ret" != yes && - test "$ace_cv_lib_signal_vv1_ret" != yes && - test "$ace_cv_lib_signal_vi1a2_ret" != yes && - test "$ace_cv_lib_signal_va1_ret" = yes && - test "$ace_cv_lib_struct_sigaction_vi1_handler" != yes && - test "$ace_cv_lib_struct_sigaction_vv1_handler" != yes && - test "$ace_cv_lib_struct_sigaction_vi1a2_handler" != yes && - test "$ace_cv_lib_struct_sigaction_va1_handler" = yes; then - AC_DEFINE([ACE_HAS_LYNXOS4_SIGNALS]) - AC_DEFINE([ACE_HAS_TANDEM_SIGNALS]) -elif test "$ace_cv_lib_signal_vi1_2" = yes && - test "$ace_cv_lib_signal_vi1_ret" = yes && - test "$ace_cv_lib_struct_sigaction_vi1_handler" != yes; then - AC_DEFINE([ACE_HAS_SVR4_SIGNAL_T]) -elif test "$ace_cv_lib_signal_vi1_2" = yes && - test "$ace_cv_lib_signal_vv1_ret" = yes && - test "$ace_cv_lib_struct_sigaction_vv1_handler" = yes; then - AC_DEFINE([ACE_HAS_SVR4_SIGNAL_T]) -elif test "$ace_cv_lib_signal_vi1_2" = yes && - test "$ace_cv_lib_signal_vi1_ret" != yes && - test "$ace_cv_lib_signal_vv1_ret" != yes && - test "$ace_cv_lib_signal_vi1a2_ret" != yes && - test "$ace_cv_lib_signal_va1_ret" = yes && - test "$ace_cv_lib_struct_sigaction_vi1_handler" != yes && - test "$ace_cv_lib_struct_sigaction_vv1_handler" != yes && - test "$ace_cv_lib_struct_sigaction_vi1a2_handler" != yes && - test "$ace_cv_lib_struct_sigaction_va1_handler" = yes; then - AC_DEFINE([ACE_HAS_UNIXWARE_SVR4_SIGNAL_T]) -fi dnl ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES - -dnl -dnl SECTION 15: Final checks -dnl - -dnl Make final substitutions and defines -if test "$ace_u_long_long_typedef_set" = yes; then - AC_DEFINE_UNQUOTED([ACE_INT64_TYPE], [$ACE_INT64], - [Define to signed 64 bit integer type]) - AC_DEFINE_UNQUOTED([ACE_UINT64_TYPE], [$ACE_UINT64], - [Define to unsigned 64 bit integer type]) -fi - -dnl Combine package set flags with user's flags. -dnl User's flags go after package flags to allow user to override -dnl package defaults. -dnl X_CFLAGS comes from AC_PATH_XTRA. It may include, for example, -dnl additional include file paths or macros that need to be defined -dnl in order for X11 related files to be compiled properly. -if test "$ace_user_enable_optimize"; then - dnl We want OCXXFLAGS to be on the end, so we use CXXFLAGS, - dnl not ACE_CXXFLAGS! - CXXFLAGS="$CXXFLAGS $OCXXFLAGS" - CFLAGS="$CFLAGS $OCFLAGS" -fi -CXXFLAGS="$ACE_CXXFLAGS $X_CFLAGS $CXXFLAGS" -CFLAGS="$ACE_CFLAGS $X_CFLAGS $CFLAGS" -CPPFLAGS="$ACE_CPPFLAGS $CPPFLAGS" -LDFLAGS="$ACE_LDFLAGS $LDFLAGS" - -dnl The following tests should be performed _after_ the bulk of the -dnl ACE macros have been defined. - -dnl Flush the cache so that it is easier to debug the configure script -dnl if the following integrity check fails. -AC_CACHE_SAVE - -dnl Verify the integrity of the current configuration. -ACE_CACHE_CHECK([if generated ACE configuration is usable], - [ace_cv_configuration_is_usable], - [ - dnl We want an empty ace/config.h to prevent multiple defines - dnl with Autoconf's confdefs.h - ACE_USE_TEMP_FILE([ace/config.h], - [ - dnl Now run the compilation test - ACE_TRY_COMPILE([-I. -I${srcdir}], - [ -// Include ".cpp" files instead of headers so that we can get a more -// thorough test compile. -#include "ace/Time_Value.cpp" -#include "ace/Reactor.cpp" - ], - [ - ACE_Time_Value t = ACE_OS::gettimeofday (); - t++; - - ACE_Reactor * r = ACE_Reactor::instance (); - - (void) r->close (); - ], - [ - ace_cv_configuration_is_usable=yes - ], - [ - ace_cv_configuration_is_usable=no - ]) - ]) - ], - [ - dnl Looks good! Do nothing. - dnl It appears that ace/OS.cpp compiled. If it didn't compile then - dnl there would be no chance that the rest of ACE would compile. - ], - [ - AC_MSG_WARN( - [ -The generated configuration appears to be unusable. Please verify -that your system path and environment variables are correct. If they -appear to be correct then please send the maintainer of this configure -script $ACE_CONFIGURE_MAINTAINER the *COMPRESSED* 'config.log' file, -the generated ace/config.h file and the following information: - - ACE 'configure' Script Information - ================================== - [RCS] translit([$Id: configure.ac 92183 2010-10-08 08:44:15Z olli $], [$"]) - - - ACE Version: ACE_VERSION - C++ Compiler: $CXX - C++ Preprocessor: $CXXCPP - C++ Flags: $CXXFLAGS - Preprocessor Flags: $CPPFLAGS - Linker: $LD - Linker Flags: $LDFLAGS - Libraries: $LIBS - System type information: - Build: $build Host: $host - -In the meantime, please use the stock ACE build procedure detailed in -the file 'ACE-INSTALL.html'. - ]) - ]) - -dnl " - -dnl Check for ACE_IOStream support -ACE_CACHE_CHECK([for ACE_IOStream support], - [ace_cv_feature_ace_iostream], - [ - dnl We want an empty ace/config.h to prevent multiple defines - dnl with Autoconf's confdefs.h - ACE_USE_TEMP_FILE([ace/config.h], - [ - dnl Now run the compilation test - ACE_TRY_COMPILE([-I. -I${srcdir}], - [ -#include "ace/IOStream.cpp" - ], - [ - int a = 0; a += 1; - ], - [ - ace_cv_feature_ace_iostream=yes - ], - [ - ace_cv_feature_ace_iostream=no - ]) - ]) - ], , [AC_DEFINE([ACE_LACKS_ACE_IOSTREAM])]) - -dnl Check if ACE needs conversion to pass ACE_TTY_IO to DEV_Connector -ACE_CACHE_CHECK([if ACE needs conversion to pass ACE_TTY_IO to DEV_Connector], - [ace_cv_lib_need_dev_io_conv], - [ - dnl We want an empty ace/config.h to prevent multiple defines - dnl with Autoconf's confdefs.h - ACE_USE_TEMP_FILE([ace/config.h], - [ - dnl Now run the compilation test - ACE_TRY_COMPILE([-I. -I${srcdir}], - [ -#include "ace/OS.cpp" - ], - [ - int a=0; a += 1; - ], - [ - ace_cv_lib_need_dev_io_conv=no - ], - [ - dnl Now check if ACE_NEEDS_DEV_IO_CONVERSION makes - dnl compilation work! - ACE_TRY_COMPILE([-I. -I${srcdir}], - [ -#define ACE_NEEDS_DEV_IO_CONVERSION -#include "ace/DEV_Connector.cpp" - ], - [ - int a=0; a += 1; - ], - [ - ace_cv_lib_need_dev_io_conv=yes - ], - [ - dnl If we get here, then we have no idea what is wrong! - ace_cv_lib_need_dev_io_conv=no - ]) - ]) - ]) - ], [AC_DEFINE([ACE_NEEDS_DEV_IO_CONVERSION])],) - -dnl End ACE macro tests! - -dnl Substitute whatever X libraries ACE needs, if any. -AC_SUBST([ACE_XLIBS]) - -dnl Prepend purify and quantify command lines if purify and quantify are -dnl enabled. Otherwise, PURELINK and PRELINK will just be "blank." -LD="$PURELINK $PRELINK $LD" -dnl LDFLAGS="$ACE_LDFLAGS $LDFLAGS" - -dnl AC_SUBST(LDFLAGS) -dnl AC_SUBST(LIBOBJS) - -dnl Force CXXFLAGS to be substituted in Makefiles that don't "need" them. -AC_SUBST([CXXFLAGS]) - -dnl -dnl SECTION 16: AC_CONFIG_FILES([FILE...]) -dnl -dnl -dnl We can finally create all the files listed here; Makefile is -dnl created from Makefile.in, etc. Top-level Makefiles should be -dnl created first. - -dnl Makefile -dnl ace/Makefile - -AC_CONFIG_FILES([ - Makefile - ace/Makefile - ace/ETCL/Makefile - ace/Monitor_Control/Makefile - ace/QoS/Makefile - ace/SSL/Makefile - bin/Makefile - bin/PerlACE/Makefile -]) - -dnl Note that the "ACE_VERSION" in the message below is an M4 macro -dnl that expands to the version of ACE being configured. -AC_CONFIG_COMMANDS([default],[ - echo "" - echo "Configuration of ACE ACE_VERSION is now complete." - echo "" - ],[]) -AC_OUTPUT diff --git a/dep/ACE_wrappers/configure.ac~ b/dep/ACE_wrappers/configure.ac~ deleted file mode 100644 index dcfba4447..000000000 --- a/dep/ACE_wrappers/configure.ac~ +++ /dev/null @@ -1,7231 +0,0 @@ -dnl $Id: configure.ac 92183 2010-10-08 08:44:15Z olli $ - -dnl An autoconf script to automatically configure ACE. -dnl Process this file with autoconf to produce a configure script. - -dnl Statically (i.e. at autoconf-time) determine the version of ACE. -dnl This is necessary since the version argument to AC_INIT is -dnl supposed to be a static value, not a dynamic one (e.g. a shell -dnl variable). -dnl -dnl Note that this macro removes the newline output by the M4 -dnl "esyscmd" built-in. Unless you understand what you're doing, -dnl particularly with M4, do not modify this macro definition. -define([ACE_VERSION], patsubst(esyscmd(grep ACE_VERSION ace/Version.h | sed 's/.*\" *\(.*\)\".*/\1/'), [ -]))dnl remove newline ending every `esyscmd' answer - -AC_INIT([ACE],[ACE_VERSION],[ace-bugs@cs.wustl.edu],[ace]) - -AC_REVISION([$Id: configure.ac 92183 2010-10-08 08:44:15Z olli $]) - -AC_COPYRIGHT([ACE(TM), TAO(TM), CIAO(TM), and CoSMIC(TM) (henceforth -referred to as "DOC software") are copyrighted by Douglas C. -Schmidt and his research group at Washington University, -University of California, Irvine, and Vanderbilt University, -Copyright (c) 1993-2005, all rights reserved. Since DOC software is -open-source, free software, you are free to use, modify, copy, and -distribute--perpetually and irrevocably--the DOC software source code -and object code produced from the source, as well as copy and -distribute modified versions of this software. You must, however, -include this copyright statement along with code built using DOC -software. - -Please see the file `COPYING' in the top level ACE directory for -additional details.]) - - -dnl Require GNU Autoconf 2.58 or better. Previous versions did not -dnl correctly support HP-UX. -AC_PREREQ(2.61) - -dnl Autoconf explicitly forbids patterns containing "_AC_". This causes -dnl a problem when using MPC to generate the Automake ".am" files since -dnl the "AC_CLD" project in ACE_wrappers/examples/C++NPv2 ends up having -dnl a Makefile containing "NPv2_AC_CLD" in it, triggering the forbidden -dnl "_AC_" pattern. Explicitly allow our pattern. -m4_pattern_allow([NPv2_AC_CLD]) - -AC_CONFIG_SRCDIR([ace/ACE.cpp]) - -AC_CONFIG_AUX_DIR([aux_config]) -AC_CONFIG_MACRO_DIR([m4]) - -dnl Check what platform we are running on. -AC_CANONICAL_TARGET([]) - -dnl Initialize GNU Automake, and require Automake 1.9.6 or better. -AM_INIT_AUTOMAKE([1.9.6 foreign no-define nostdinc]) - -dnl Add maintainer mode option to the option list. -dnl AM_MAINTAINER_MODE - -dnl The maintainer of this configure script. -ACE_CONFIGURE_MAINTAINER='ace-users@list.isis.vanderbilt.edu' - - -dnl Until autoconf support in ACE is complete, prevent this script -dnl from running unless the user explictly forces the configure script -dnl to run using the "--enable-maintainer-mode" configure script -dnl option. -dnl if test $USE_MAINTAINER_MODE != yes; then -dnl AC_MSG_ERROR([ -dnl ACE autoconf support is currently disabled by default since it is -dnl still under development. Please use the stock ACE build procedure -dnl detailed in the file \`ACE-INSTALL.html'. -dnl -dnl If you wish to experiment with ACE's autoconf support then use the -dnl \"--enable-maintainer-mode\" configure script option to enable -dnl autoconf support. For more details see the file -dnl \`ACE-configuration.txt'.]) -dnl fi dnl test $USE_MAINTAINER_MODE != yes - -dnl Should we use "egrep" or "grep -E"? This sets the "$EGREP" shell -dnl variable. -AC_PROG_EGREP - -dnl If we are configuring in a CVS controlled directory then don't -dnl continue any further. The idea is to prevent automatically -dnl generated files from being checked into the repository. This -dnl will prevent accidental overwrites of ACE's current Makefiles by -dnl the automatically generated ones, for example. -dnl ACE_CHECK_FOR_CVS_DIR - -dnl Prevent the configure script from continuing any further if -dnl configuration is being performed in the top-level directory. The -dnl idea is to prevent files generated during configuration and build -dnl from overwriting the stock files of the same name. -ACE_CHECK_TOP_SRCDIR - -dnl Prepare the `ace/config.h.in' header template. -ACE_PREP_CONFIG_HEADER - -dnl Allow the standard program name transformations. -dnl We probably don't need AC_ARG_PROGRAM any longer since AM_INIT_AUTOMAKE -dnl handles this functionality. -- Ossama -dnl AC_ARG_PROGRAM - -dnl Generate a header file with all settings. -AC_CONFIG_HEADERS([ace/config.h]) - -dnl Move before the AC_ARG_ENABLE stuff to prevent autoconf complaints. -dnl This is a bit messy but it makes life easier for me. -dnl -Ossama -dnl -dnl SECTION: checks for programs -dnl - -dnl Check if system supports "#! /bin/sh" line in scripts -AC_SYS_INTERPRETER - -dnl Check the C compiler and preprocessor. -dnl AC_PROG_CC -dnl AC_PROG_CPP -dnl AC_PROG_CC_C_O - -dnl Check the C++ compiler and preprocessor. -AC_PROG_CXX -AC_PROG_CXXCPP - -dnl Set the test language as C++ -AC_LANG([C++]) - -dnl If we are cross compiling disable certain things in the Makefiles. -AM_CONDITIONAL([ACE_CROSS_COMPILED], [test X$cross_compiling = Xyes]) - -dnl If we are cross compiling disable certain things in the Makefiles. -AM_CONDITIONAL([BUILD_CROSS_COMPILE], [test X$cross_compiling = Xyes]) - -dnl Look for the best awk-style program available. -AC_PROG_AWK - -dnl Parse the version information argument. -dnl Note that "ACE_VERSION" is an m4 macro. -ace_version_temp=ACE_VERSION -ace_save_ifs="$IFS"; IFS='.' -set dummy $ace_version_temp 0 0 0 -IFS="$ace_save_ifs" - -ACE_MAJOR=$2 -ACE_MINOR=$3 -ACE_BETA=$4 -ACE_VERSION_NAME=ACE_VERSION - -AC_SUBST([ACE_MAJOR]) -AC_SUBST([ACE_MINOR]) -AC_SUBST([ACE_BETA]) -AC_SUBST([ACE_VERSION_NAME]) - -dnl Do the usual install settings; don't forget to include a -dnl `install-sh' script, in case there is no BSD compatible `install' -dnl installed (no pun intended) in your machine. - -dnl We don't need this anymore since AM_INIT_AUTOMAKE calls AC_PROG_INSTALL. -dnl -- Ossama -dnl AC_PROG_INSTALL - -dnl Special handling for some UNIX variants and Cygwin32 -dnl AC_AIX - -dnl AC_MINIX - -case $host_os in - *cygwin* ) CYGWIN=yes;; - * ) CYGWIN=no;; -esac - - -dnl Check if we support symbolic links -AC_PROG_LN_S - -dnl Check if a lexical analyzer exists (lex, flex, etc.) -AM_PROG_LEX - -dnl Check if some implementation of YACC exists (yacc, byacc, bison, etc.) -AC_PROG_YACC -dnl if test -z "$YACC"; then -dnl ./missing yacc -dnl fi - -dnl Check for perfect hash function generator -AC_CHECK_PROG([GPERF],[gperf],[gperf]) - -dnl Check for profiling progam -AC_CHECK_PROGS([PROF],[gprof prof],) - -dnl The user's/default C++ flags are stored in "CXXFLAGS." We use -dnl the variable "ACE_CXXFLAGS" to set the C++ flags we want. At the end -dnl of the configuration process we combine ACE_CXXFLAGS and CXXFLAGS -dnl into CXXFLAGS (e.g., CXXFLAGS="$ACE_CXXFLAGS $CXXFLAGS"). CXXFLAGS -dnl goes after ACE_CXXFLAGS so that the user's C++ flag command line -dnl choices always override the configure script's choices. -ACE_CXXFLAGS="" -ACE_CFLAGS="" - - - -dnl SECTION 2: Configure script command line options - - -dnl Determine which subsets to build -dnl This is done using the autoconf "--enable-foobar" mechanism. -ACE_CHECK_SUBSETS - -dnl Some of the third party libraries (X11, openssl, etc.) depend on -dnl other libraries. Check for those before the processing --enable -dnl options. - -dnl Check if the socket library is available -AC_SEARCH_LIBS([socket],[socket],,,[-lnsl]) - -dnl Check for gethostbyname in -lnsl since some platforms (e.g. Solaris) -dnl put it there. -AC_SEARCH_LIBS([gethostbyname],[nsl],,) - - -dnl Add --{enable,disable,with,without}-feature options. -ACE_CONFIGURATION_OPTIONS -ACE_COMPILATION_OPTIONS - -# Autoconf's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! -# Libtool's setup macro calls AC_OBJEXT and AC_EXEEXT without setting -# the test language to C. We do it before any libtool setup macros are -# called so that the proper values are cached beforehand. We also do -# it before any linker flags (LDFLAGS) are set so that C++ specific -# ones don't break the tests. -dnl AC_LANG_PUSH([C]) -dnl AC_OBJEXT -dnl AC_EXEEXT -dnl AC_LANG_POP([C]) - -dnl Call ACE_SET_COMPILER_FLAGS before AC_PROG_LIBTOOL and after the -dnl AC_ARG_ENABLE and AC_ARG_WITH calls. -ACE_SET_COMPILER_FLAGS - - -dnl SECTION 3: check for programs <--- moved before section 2 (Ossama) - - -dnl Platform specific libraries needed for ACE's autoconf tests -dnl that currently do not have tests themselves. -dnl Platform specific flags -case "$host" in - *osf3.2*) - LIBS="$LIBS -lmach -lsys5 -lcxx -lc" - ;; - *osf4.0* | *osf5.0*) - LIBS="$LIBS -lmach" - ;; - *psos*) - LIBS="$LIBS -lm" - ;; -esac - - -dnl SECTION 4: checks for libraries - - -dnl Additional X library checks -dnl We only check for these libraries if the user has -dnl enabled XtReactor support. - -xt_reactor_go=no - -if test "$ace_user_enable_xt_reactor" = yes; then -XTREACTOR_TEST_XLIBS="" -dnl Check for Motif if we have X - T_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $X_LIBS" - -dnl Note that ACE currently only needs -lX11 and -lXt for the XtReactor -dnl so we define another library variable that contains additional -dnl libraries for the XtReactor test since it needs either Motif or the -dnl Athena widget set. - - AC_CHECK_LIB([Xm],[XmCreateRowColumn], - [ - AC_DEFINE([ACE_HAS_XT]) - XTREACTOR_TEST_XLIBS="-lXm" - xt_reactor_go=yes - ], - [ - AC_DEFINE([ACE_LACKS_MOTIF]) - AC_CHECK_LIB([Xaw],[XawInitializeWidgetSet], - [ - AC_DEFINE([ACE_HAS_XT]) - XTREACTOR_TEST_XLIBS="-lXaw -lXmu" - xt_reactor_go=yes - ], - [ - xt_reactor_go=no - AC_MSG_WARN([No usable X widget libraries were found.]) - AC_MSG_WARN([XtReactor support will be disabled.]) - ],[-lXmu]) - ],[-lXt]) - - AC_SUBST([XTREACTOR_TEST_XLIBS]) - -dnl Restore pre-test linker flags - LDFLAGS="$T_LDFLAGS" - -fi dnl test "$ace_user_enable_xt_reactor"= yes - - AM_CONDITIONAL([COMPILE_XTREACTOR_TEST],[test X$xt_reactor_go = Xyes]) - -dnl End additional X library checks - -dnl Some platforms do not have a dynamic linking library, however the -dnl dlopen, dlclose, etc., functions may exist in the C library. -dnl (e.g. Digital UNIX) -dnl Check for dynamic linking library -AC_SEARCH_LIBS([dlopen],[dl svld],[ace_has_svr4_dynamic_linking=yes], - [ - ace_has_svr4_dynamic_linking=no - AC_CHECK_LIB([dld],[shl_get],,) - ]) - -dnl Check for getservbyname in -lxnet since some platforms (e.g. Solaris) -dnl may put it there. -AC_SEARCH_LIBS([getservbyname],[socket xnet],,[AC_DEFINE([ACE_LACKS_GETSERVBYNAME])],[-lnsl]) - -dnl Check for compile() regex function in -lgen. Solaris, for example, -dnl may put it there. -AC_SEARCH_LIBS([compile],[gen],,) - -dnl Check for exception handling library (e.g. for Digital UNIX) -AC_SEARCH_LIBS([exc_continue],[exc],,) - -dnl Check for ctime_r in -lc_r. Some platforms, such as Digital UNIX, -dnl put reentrant functions such as asctime_r, ctime_r, gmtime_r, and -dnl localtime_r in -lc_r. -AC_SEARCH_LIBS([ctime_r],[c_r],,) - -dnl XTI/TLI check. Check for XTI first, since it's preferred. If there's -dnl no XTI, try for TLI. t_getprotaddr() is only in XTI. -AC_SEARCH_LIBS([t_getprotaddr],[xti nsl], - [ace_has_xti_funcs=yes],[ace_has_xti_funcs=no]) -AS_IF([test "$ace_has_xti_funcs" = no], - [ - AC_SEARCH_LIBS([t_accept],[tli_r tli nsl], - [ace_has_tli_funcs=yes],[ace_has_tli_funcs=no]) - ],[]) - -dnl Check for all of the things we need to compile and link threads -dnl properly. -AS_IF([test "$ace_user_enable_threads" = yes], - [ - ACE_CHECK_THREADS - ],[]) - -dnl Setup Libtool - -dnl This should be done in the "programs" section of this file but -dnl libtool may then be unaware of compiler flags set during the -dnl thread checks. - -dnl Disable building of static libraries by default -AC_DISABLE_STATIC - -dnl Enable Libtool module support -AC_LIBTOOL_DLOPEN - -dnl -dnl ###### Relies on the as of yet unreleased Libtool 1.6 distribuion ### -dnl -dnl Only enable C++ libtool support. Support for other languages is -dnl unnecessary. -dnl AC_LIBTOOL_TAGS([CXX]) - -dnl FIXME: Temporary hack to make libtool work with g++. -dnl Shared library support will only work with GNU g++ and GNU ld -dnl right now. -dnl save_CC="$CC" -dnl CC="$CXX" - -dnl Check for libtool and turn on Automake processing for Libtool -AC_PROG_LIBTOOL - -dnl Enable C++ support in libtool -dnl AC_LIBTOOL_CXX - -dnl Temporary hack until I get integrate libtool's new tag support -dnl into automake. -dnl This hack forces libtool to always use the C++ tag. -dnl LIBTOOL="$LIBTOOL --tag=CXX" - -dnl Check for sched_yield() in posix4 library. -dnl Some platforms, such as Solaris, may define sched_yield() there. -dnl Later we run AC_CHECK_FUNC(sched_yield), which is redundant in this case -dnl but is needed if sched_yield() is defined in one of the other libraries -dnl we check for. -AC_SEARCH_LIBS([sched_yield],[rt posix4],[ace_has_sched_yield=yes],) - -dnl Check for asynchronous IO calls (perform check *after* thread check!) -ACE_CHECK_ASYNCH_IO - -dnl Additional `-lposix4' library check since it may not be added by the -dnl above checks on some platforms that may need it -dnl AC_SEARCH_LIBS([clock_gettime], -dnl [rt posix4],[AC_DEFINE(ACE_HAS_CLOCK_GETTIME)],) - -dnl This check was added to work around a system-supplied header -dnl (/usr/include/netinet/ip.h) that won't compile with Visual Age C++ -dnl unless the _NO_BITFIELDS preprocessor macro is defined. The comments -dnl there recommend use of _NO_BITFIELDS (and recode where needed to allow -dnl that), but we won't just turn it on. Check to see if it's needed. Note -dnl that this check is related to headers but done before we really know if -dnl the header is present. Thus, if the bare compile fails, but succeeds -dnl with _NO_BITFIELDS, set the flag, else leave things alone. - -AC_CACHE_CHECK([to see if _NO_BITFIELDS needed to compile netinet/ip.h], -[ac_cv_needs_no_bitfields], -[ - ace_save_CXXFLAGS="$CXXFLAGS" - - dnl Try compiling without any flags first. - - AC_COMPILE_IFELSE([ - AC_LANG_PROGRAM([ -#include - ], - [ - return 0; - ]) - ], - [ - ac_cv_needs_no_bitfields=no - ], - [ - CXXFLAGS="$CXXFLAGS -D_NO_BITFIELDS" - - AC_COMPILE_IFELSE([ - AC_LANG_PROGRAM([ -#include - ], - [ - return 0; - ]) - ], - [ - ac_cv_needs_no_bitfields=yes - ], - [ - ac_cv_needs_no_bitfields=no - CXXFLAGS="$ace_save_CXXFLAGS" - ]) - ]) -]) - - -dnl SECTION 5: checks for header files - -dnl Set known platform specific flags -ACE_SET_PLATFORM_MACROS - -dnl Check for dirent headers -AC_HEADER_DIRENT - -AS_IF([test "$ac_cv_header_dirent_dirent_h" = yes || - test "$ac_cv_header_dirent_sys_ndir_h" = yes || - test "$ac_cv_header_dirent_sys_dir_h" = yes || - test "$ac_cv_header_dirent_ndir_h" = yes], - [ - AC_DEFINE([ACE_HAS_DIRENT]) - ],[]) - -dnl Check for sys/wait.h Posix.1 compliance -AC_HEADER_SYS_WAIT - -AC_CHECK_HEADER([dlfcn.h], - [ - dnl We already checked for dlopen in the previous library checks however, - dnl it is possible that ac_cv_func_dlopen=yes if dlopen wasn't found before - dnl the library test. Hence we cannot use AC_CHECK_FUNC(dlopen) here - dnl the previously cached value may prevent ACE_HAS_SVR4_DYNAMIC_LINKING - dnl from being defined. - dnl -Ossama - AS_IF([test "$ace_has_svr4_dynamic_linking" = yes], - [ - AC_DEFINE([ACE_HAS_SVR4_DYNAMIC_LINKING]) - - case "$host_os" in - darwin*) - dnl MaNGOS modification: fix MacOS build by use ACE_TEXT instead ACE_LIB_TEXT (make code similar used in config-macosx.h) - AC_DEFINE([ACE_LD_SEARCH_PATH], - [ACE_TEXT ("DYLD_LIBRARY_PATH")], - [Define to environment variable used for DLL search path]) - AC_DEFINE([ACE_DLL_SUFFIX], - [ACE_TEXT (".dylib")], - [Define to DLL file suffix]) - dnl MaNGOS modification end - ;; - esac - ],[]) - ],) - -ACE_CHECK_LACKS_HEADERS(inttypes.h malloc.h memory.h stdint.h) - -AC_CHECK_HEADER([sys/msg.h], - [ - ACE_CACHE_CHECK([if _KERNEL is needed for msg prototypes], - [ace_cv_lib_broken_msg_h], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifdef UNIXWARE_7_1 -# define _KMEMUSER -#endif - -#include - ]],[[ - struct msg ace_msg; - ]])],[ - ace_cv_lib_broken_msg_h=no - ],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef _KERNEL -# define _KERNEL -# ifdef UNIXWARE_7_1 -# define _KMEMUSER -# endif -#endif -#include - ]], - [[ - struct msg ace_msg; - ]])], - [ - ace_cv_lib_broken_msg_h=yes - ], - [ - dnl If we get here, then we have no idea if it is broken or not. - ace_cv_lib_broken_msg_h=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_HAS_BROKEN_MSG_H]) - ],) - ], - [AC_DEFINE([ACE_LACKS_SYS_MSG_H])]) - -AC_CHECK_HEADER([sys/sem.h],,) -AC_CHECK_HEADER([sys/shm.h],,) - -ACE_CHECK_LACKS_HEADERS(sys/param.h) - -AC_CHECK_HEADER([sys/priocntl.h],[],[]) - -dnl Check for _before_ -ACE_CHECK_LACKS_HEADERS(ucontext.h) - -AC_CHECK_HEADER([sys/procfs.h], - [ - dnl Check if conflicts with - dnl Some (early?) versions of glibc2.1 define the same variables - dnl in and . - ACE_CACHE_CHECK([if sys/procfs.h conflicts with ucontext.h], - [ace_cv_has_procfs_conflict], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_UCONTEXT_H -# include -#endif - -#include - ]],[[ - int a = 0; - ]])],[ - ace_cv_has_procfs_conflict=no - ],[ - ace_cv_has_procfs_conflict=yes - ]) - ], - [ - ], - [ - dnl If ace_cv_has_procfs_conflict = no then define ACE_HAS_PROC_FS. - AC_DEFINE([ACE_HAS_PROC_FS]) - ]) - ],) - -ACE_CHECK_LACKS_HEADERS(arpa/inet.h) - -ACE_CHECK_HAS_HEADERS(bytesex.h) - -ACE_CHECK_HAS_HEADERS(byteswap.h) - -ACE_CHECK_LACKS_HEADERS(dirent.h) - -ACE_CHECK_LACKS_HEADERS(dlfcn.h) - -ACE_CHECK_LACKS_HEADERS(errno.h) - -ACE_CHECK_LACKS_HEADERS(execinfo.h) - -ACE_CHECK_LACKS_HEADERS(fcntl.h) - -ACE_CHECK_HAS_HEADERS(pdh.h) - -ACE_CHECK_HAS_HEADERS(pthread_np.h) - -ACE_CHECK_LACKS_HEADERS(sched.h) - -ACE_CHECK_LACKS_HEADERS(search.h) - -ACE_CHECK_HAS_HEADERS(select.h) - -ACE_CHECK_LACKS_HEADERS(semaphore.h) - -ACE_CHECK_LACKS_HEADERS(signal.h) - -ACE_CHECK_LACKS_HEADERS(stdlib.h) - -ACE_CHECK_LACKS_HEADERS(string.h) - -ACE_CHECK_LACKS_HEADERS(strings.h) - -ACE_CHECK_LACKS_HEADERS(netdb.h) - -ACE_CHECK_LACKS_HEADERS(netinet/in.h) - -ACE_CHECK_LACKS_HEADERS(netinet/tcp.h) - -ACE_CHECK_LACKS_HEADERS(sys/socket.h) - -ACE_CHECK_LACKS_HEADERS(net/if.h, [], [], -[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#ifndef ACE_LACKS_SYS_SOCKET_H -# include -# endif -]) - -ACE_CHECK_HAS_HEADERS(sys/filio.h) - -ACE_CHECK_HAS_HEADERS(intrin.h) - -ACE_CHECK_HAS_HEADERS(ia64intrin.h) - -ACE_CHECK_HAS_HEADERS(ia32intrin.h) - -ACE_CHECK_LACKS_HEADERS(sys/ioctl.h) - -ACE_CHECK_LACKS_HEADERS(sys/ipc.h) - -ACE_CHECK_HAS_HEADERS(sys/loadavg.h) - -ACE_CHECK_LACKS_HEADERS(sys/mman.h) - -ACE_CHECK_HAS_HEADERS(sys/pstat.h) - -ACE_CHECK_LACKS_HEADERS(sys/resource.h) - -ACE_CHECK_LACKS_HEADERS(sys/sem.h) - -ACE_CHECK_LACKS_HEADERS(sys/shm.h) - -ACE_CHECK_LACKS_HEADERS(sys/select.h) - -ACE_CHECK_HAS_HEADERS(sys/sockio.h) - -ACE_CHECK_LACKS_HEADERS(sys/stat.h) - -dnl Test for out of alphabetical order, since it must -dnl be (conditionally) #included in other feature tests. -ACE_CHECK_LACKS_HEADERS(sys/types.h) - -ACE_CHECK_LACKS_HEADERS(sys/sysctl.h, [], [], -[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#ifndef ACE_LACKS_SYS_PARAM_H -# include -#endif -]) - -ACE_CHECK_LACKS_HEADERS(sys/time.h) - -ACE_CHECK_LACKS_HEADERS(sys/uio.h) - -ACE_CHECK_LACKS_HEADERS(sys/un.h) - -ACE_CHECK_LACKS_HEADERS(sys/wait.h) - -ACE_CHECK_HAS_HEADERS(sysent.h) - -ACE_CHECK_LACKS_HEADERS(time.h) - -ACE_CHECK_LACKS_HEADERS(termio.h termios.h) - -ACE_CHECK_LACKS_HEADERS(wctype.h) - -AC_CHECK_TYPE([struct termio], - [AC_DEFINE([ACE_HAS_TERMIO], 1, - [Define to 1 if system supports SysV tty API.])], - [], - [ -#ifndef ACE_LACKS_TERMIO_H -#include -#endif - ]) - -AC_CHECK_TYPE([struct termios], - [AC_DEFINE([ACE_HAS_TERMIOS], 1, - [Define to 1 if system supports POSIX tty API.])], - [], - [ -#ifndef ACE_LACKS_TERMIOS_H -#include -#endif - ]) - -dnl If the platform has XTI, don't bother with the TLI checks as XTI is -dnl preferred. -AS_IF([test "$ace_has_xti_funcs" = yes], - [ - AC_CHECK_HEADER([xti.h], - [ - ace_has_xti=yes - AC_DEFINE([ACE_HAS_XTI]) - ],) - - AC_CHECK_HEADER([sys/xti.h], - [ - ace_has_xti=yes - AC_DEFINE([ACE_HAS_SYS_XTI_H]) - AC_DEFINE([ACE_HAS_XTI]) - ],) - - AC_CHECK_HEADER([sys/timod.h], - [ - AC_DEFINE([ACE_HAS_TIMOD_H]) - ],) - -dnl Check if XTI headers define TCP macros that conflict with netinet/tcp.h's - ACE_CACHE_CHECK([if TCP macros in sys/xti.h conflict with netinet/tcp.h], - [ace_cv_lib_has_conflicting_xti_macros], - [ - ACE_CONVERT_WARNINGS_TO_ERRORS([ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -# if defined (ACE_HAS_XTI) -# include -# if defined (ACE_HAS_SYS_XTI_H) -# include /**/ -# else -# include /**/ -# endif /* ACE_HAS_SYS_XTI_H */ -# else -# if defined (ACE_HAS_TIUSER_H) -# include /**/ -# endif -# endif /* ACE_HAS_XTI */ -# if !defined (ACE_LACKS_NETINET_TCP_H) -# include /**/ -# endif /* !ACE_LACKS_NETINET_TCP_H */ - ]],[[ - int a = 0; - ]])],[ - ace_cv_lib_has_conflicting_xti_macros=no - ],[ - ace_cv_lib_has_conflicting_xti_macros=yes - ]) - ]) - ], - [ - AC_DEFINE([ACE_HAS_CONFLICTING_XTI_MACROS]) - ],) - - ],[]) - -AS_IF([test "$ace_has_tli_funcs" = yes], - [ - AC_CHECK_HEADER([tiuser.h], - [ - ace_has_tli=yes - AC_DEFINE([ACE_HAS_TIUSER_H]) - AC_DEFINE([ACE_HAS_TLI]) - ],) - - AC_CHECK_HEADER([sys/timod.h], - [ - AC_DEFINE([ACE_HAS_TIMOD_H]) - ], - [ - AC_CHECK_HEADER([tli/timod.h], - [ - AC_DEFINE([ACE_HAS_OSF_TIMOD_H]) - ],) - ]) - - AC_CHECK_FUNC([t_getname], - [AC_DEFINE([ACE_HAS_SVR4_TLI])],) - - -if test "$ac_cv_header_tiuser_h" = yes; then - ACE_CACHE_CHECK([if tiuser.h is protected by extern "C"], - [ace_cv_lib_tiuser_with_extern_c],[ - AC_EGREP_HEADER([extern \"C\"],[tiuser.h], - [ - ace_cv_lib_tiuser_with_extern_c=yes - ], - [ - ace_cv_lib_tiuser_with_extern_c=no - ]) - ],,[AC_DEFINE([ACE_HAS_TIUSER_H_BROKEN_EXTERN_C])]) -fi dnl test "$ac_cv_header_tiuser_h" = yes - -AC_CHECK_HEADER([xliuser.h], - [ - ace_has_tli=yes - AC_DEFINE([ACE_HAS_XLI]) - AC_DEFINE([ACE_HAS_TLI]) - ],) - - -dnl Check for TLI prototypes. -if test "$ace_has_tli" = yes; then - ACE_CACHE_CHECK([for TLI prototypes], - [ace_cv_lib_tli_prototypes], - [ -dnl We only check for t_accept. This should hopefully be enough. - AC_EGREP_CPP([t_accept], - [ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif - -#if defined (ACE_HAS_TIMOD_H) -# include -#endif - -#if defined (ACE_HAS_OSF_TIMOD_H) -# include -#endif - -#if defined (ACE_HAS_TIUSER_H) -# include /**/ -#endif /* ACE_HAS_TIUSER_H */ - -#if defined (ACE_HAS_XLI) -# include -#endif - ], - [ - ace_cv_lib_tli_prototypes=yes - ], - [ - ace_cv_lib_tli_prototypes=no - ]) - ],[AC_DEFINE([ACE_HAS_TLI_PROTOTYPES])],) - -dnl Check for t_errno type in TLI headers - ACE_CACHE_CHECK([for t_errno in TLI headers], - [ace_cv_lib_has_t_errno], - [ - dnl Check if t_errno is declared in the TLI headers - AC_EGREP_CPP([t_errno], - [ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif - -#if defined (ACE_HAS_TIMOD_H) -# include -#endif - -#if defined (ACE_HAS_OSF_TIMOD_H) -# include -#endif - -#if defined (ACE_HAS_TIUSER_H) -# include /**/ -#endif /* ACE_HAS_TIUSER_H */ - -#if defined (ACE_HAS_XLI) -# include -#endif - ], - [ - ace_cv_lib_has_t_errno=yes - ], - [ - ace_cv_lib_has_t_errno=no - ]) - ],,[AC_DEFINE([ACE_LACKS_T_ERRNO])]) - -fi dnl test "$ace_has_tli_funcs" = yes -],[]) - -dnl These checks are needed for both XTI and TLI. -AS_IF([test "$ace_has_xti" = yes || test "$ace_has_tli" = yes], - [ - dnl Check if t_error incorrectly accepts char * - ACE_CONVERT_WARNINGS_TO_ERRORS([ - ACE_CACHE_CHECK([if t_error incorrectly accepts char *], - [ace_cv_lib_has_broken_t_error], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif - -#if defined (ACE_HAS_XTI) -# if defined (ACE_HAS_SYS_XTI_H) -# include -# else -# include -# endif /* ACE_HAS_SYS_XTI_H */ -#elif defined (ACE_HAS_TIUSER_H) -# include /**/ -#endif /* ACE_HAS_TIUSER_H */ - -#if defined (ACE_HAS_XLI) -# include -#endif - ]],[[ - const char *ace_errmsg = "FOO"; - t_error (ace_errmsg); - ]])],[ - ace_cv_lib_has_broken_t_error=no - ],[ - ace_cv_lib_has_broken_t_error=yes - ]) - ], - [ - AC_DEFINE([ACE_HAS_BROKEN_T_ERROR]) - ],) - ]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - - ],[]) - -dnl See the notes about ACE_LACKS_MMAP in the functions section of this -dnl configure script. -dnl -Ossama -AC_CHECK_HEADER([sys/mman.h], - [ - AC_EGREP_HEADER([extern \"C\"],[sys/mman.h], - , - [ - AC_DEFINE([ACE_HAS_BROKEN_MMAP_H]) - ]) - ], - [ - AC_DEFINE([ACE_LACKS_MMAP]) - ]) - -dnl Check for bzero() prototype if bstring.h exists. -AC_CHECK_HEADER([bstring.h], - [ - AC_EGREP_HEADER([bzero],[bstring.h], - [ - AC_DEFINE([ACE_HAS_BSTRING]) - ],) - ],) - -AC_CHECK_HEADER([strings.h], - [ - AC_EGREP_HEADER([bzero],[strings.h], - [ - AC_DEFINE([ACE_HAS_STRINGS]) - ],) - ],) - -ACE_CHECK_HAS_HEADERS(sys/syscall.h) - -AC_CHECK_HEADER([poll.h], - [AC_DEFINE([ACE_HAS_POLL])],) - -ACE_CHECK_LACKS_HEADERS(pwd.h) - -AC_CHECK_HEADER([regexpr.h], - [AC_DEFINE([ACE_HAS_REGEX])],) - -AC_CHECK_HEADER([stropts.h], - [AC_DEFINE([ACE_HAS_STREAMS])], - [AC_DEFINE([ACE_LACKS_STROPTS_H])]) - -ACE_CHECK_LACKS_HEADERS(siginfo.h) - -ACE_CHECK_LACKS_HEADERS(unistd.h) - -ACE_CHECK_LACKS_HEADERS(utime.h) - -ACE_CHECK_LACKS_HEADERS(wchar.h) - -AC_CHECK_HEADER([wchar.h], - [AC_DEFINE([ACE_HAS_WCHAR])],) - -AC_CHECK_HEADER([new], - [AC_DEFINE([ACE_HAS_NEW_NO_H])], - [ - ACE_CHECK_HAS_HEADERS([new.h]) - ]) - -AC_CHECK_HEADER([memory],,) - -dnl Check for availablity of "new style" C++ stream headers -AC_CHECK_HEADERS([iomanip ios iostream istream ostream fstream streambuf], - , - [AC_CHECK_HEADERS([iostream.h fstream.h], - [AC_DEFINE([ACE_USES_OLD_IOSTREAMS])], - [AC_DEFINE([ACE_LACKS_IOSTREAM_TOTALLY])])]) - -dnl Check for old malloc() prototype. -ACE_CONVERT_WARNINGS_TO_ERRORS([ -ACE_CACHE_CHECK([for old malloc() prototype], - [ace_cv_lib_old_malloc_proto], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include -#ifndef ACE_LACKS_MALLOC_H -# include -#endif - ]],[[ - char *s = 0; - s = malloc(sizeof(int)); - ]])],[ - ace_cv_lib_old_malloc_proto=yes - ],[ - ace_cv_lib_old_malloc_proto=no - ]) - ],[AC_DEFINE([ACE_HAS_OLD_MALLOC])],) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - - -dnl Check for *_timedwait() prototypes -dnl TODO: We only check for one of the *_timedwait() prototypes. -dnl Is this enough? -AC_CHECK_DECL([recv_timedwait], - [], - [AC_DEFINE([ACE_LACKS_TIMEDWAIT_PROTOTYPES], 1, - [Define to 1 if platform lacks the declarations - of recv_timedwait, send_timedwait, etc.])], - [#include - #include ]) - -dnl Check for {get,set}rlimit prototypes -AC_CHECK_DECL([getrlimit],[],[],[#include ]) -AC_CHECK_DECL([setrlimit],[],[],[#include ]) -if test "$ac_cv_have_decl_getrlimit" != yes || - test "$ac_cv_have_decl_setrlimit" != yes; then - AC_DEFINE([ACE_LACKS_RLIMIT_PROTOTYPE], 1, - [Define to 1 if platform lacks the declaration of - {get,set}rlimit().]) -fi - - -dnl SECTION 6: Checks for typedefs - -dnl dnl Standard typedef checks (All of them may not be needed) -dnl AC_TYPE_UID_T -dnl AC_TYPE_MODE_T -dnl AC_TYPE_OFF_T -dnl AC_TYPE_PID_T -dnl AC_TYPE_SIZE_T - -dnl AC_CHECK_TYPE([off64_t],[long long]) - -dnl Specific typedef checks -dnl TODO: Check whether these typedefs can be defined somewhere else. -AC_CHECK_TYPE([cpu_set_t], - [AC_DEFINE([ACE_HAS_CPU_SET_T], 1, - [Define to 1 if the system has the type `cpu_set_t'.])], - [], - [ -#if !defined(ACE_LACKS_SCHED_H) -#include -#endif - ]) - -AC_CHECK_TYPE([idtype_t], - [AC_DEFINE([ACE_HAS_IDTYPE_T], 1, - [Define to 1 if the system has the type `idtype_t'.])], - [], - [#include ]) - -AC_CHECK_TYPE([key_t], - [], - [AC_DEFINE([ACE_LACKS_KEY_T], 1, - [Define to 1 if the system lacks the type `key_t'.])], - [#include ]) - -AC_CHECK_TYPE([sem_t], - [], - [], - [#include ]) - -AC_CHECK_TYPE([pri_t], - [], - [AC_DEFINE([ACE_LACKS_PRI_T], 1, - [Define to 1 if the system lacks the type 'pri_t'.])], - [#include ]) - -AC_CHECK_TYPE([sig_atomic_t], - [AC_DEFINE([ACE_HAS_SIG_ATOMIC_T], 1, - [Define to 1 if the system has the type 'sig_atomic_t'.])], - [], - [#include ]) - -AC_CHECK_TYPE([union sigval], - [], - [], - [#include ]) - -if test "$ac_cv_type_union_sigval" = yes; then - dnl Depending on the system, the field names of union sigval have - dnl either a sival_ (POSIX) or sigval_ (older versions of FreeBSD) - dnl prefix. Define ACE_HAS_SIGVAL_SIGVAL_INT accordingly. - AC_CHECK_MEMBER([union sigval.sigval_int], - [AC_DEFINE([ACE_HAS_SIGVAL_SIGVAL_INT], 1, - [Define to 1 if `sigval_int' is a member of `union sigval'.])], - [], - [#include ]) - - dnl Depending on the system, the field names of union sigval have - dnl either a sival_ (POSIX) or sigval_ (older versions of FreeBSD) - dnl prefix. Define ACE_HAS_SIGVAL_SIGVAL_PTR accordingly. - AC_CHECK_MEMBER([union sigval.sigval_ptr], - [AC_DEFINE([ACE_HAS_SIGVAL_SIGVAL_PTR], 1, - [Define to 1 if `sigval_ptr' is a member of `union sigval'.])], - [], - [#include ]) -fi - -AC_CHECK_TYPE([ssize_t], - [AC_DEFINE([ACE_HAS_SSIZE_T], 1, - [Define to 1 if the system has the type `ssize_t'.])], - [], - [#include ]) - -AC_CHECK_TYPE([suseconds_t], - [], - [AC_DEFINE([ACE_LACKS_SUSECONDS_T], 1, - [Define to 1 if the system lacks the type 'suseconds_t'.])], - [#include ]) - -AC_CHECK_TYPE([useconds_t], - [], - [AC_DEFINE([ACE_LACKS_USECONDS_T], 1, - [Define to 1 if the system lacks the type 'useconds_t'.])], - [#include ]) - - -dnl Some platforms define ucontext_t in , but ACE -dnl doesn't explicitly include that header. However, it is very -dnl likely that does, either directly or indirectly. -AC_CHECK_TYPE([ucontext_t], - [AC_DEFINE([ACE_HAS_UCONTEXT_T], 1, - [Define to 1 if the system has the type `ucontext_t'.])], - [], -[#include -#ifndef ACE_LACKS_UCONTEXT_H -# include -#endif -]) - -AC_CHECK_TYPE([u_longlong_t], - [], - [AC_DEFINE([ACE_LACKS_U_LONGLONG_T], 1, - [Define to 1 if the system lacks the type `u_long_long_t'.])], - [#include ]) - -AC_CHECK_TYPE([wchar_t], - [], - [AC_DEFINE([ACE_LACKS_WCHAR_T], 1, - [Define to 1 if the system lacks the type `wchar_t'.])], -[#include -#include -]) - -AC_CHECK_TYPE([socklen_t], - [AC_DEFINE([ACE_HAS_SOCKLEN_T], 1, - [Define to 1 if the system has the type `socklen_t'.])], - [], -[ -#ifndef ACE_LACKS_SYS_TYPES_H -#include -#endif -#ifndef ACE_LACKS_SYS_SOCKET_H -#include -#endif -]) - -if test $ac_cv_type_socklen_t = no; then - dnl The compiler in linux just issues a warning, and the test - dnl passes!!! - - dnl FIXED by adding "-Werror" to compiler flags when using GNU C++ - dnl -Ossama - ACE_CONVERT_WARNINGS_TO_ERRORS( - [ - dnl Check if socket size is denoted by size_t - ACE_CACHE_CHECK([if socket size is denoted by size_t], - [ace_cv_lib_posix_socket_len_size_t],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#ifndef ACE_LACKS_SYS_SOCKET_H -# include -#endif - ]],[[ - int s = 0; - struct sockaddr* addr = 0; - int* addrlen = 0; - accept(s, addr, addrlen); - ]])],[ - ace_cv_lib_posix_socket_len_size_t=no - ],[ - dnl Now see if it really does take a size_t socket size - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#ifndef ACE_LACKS_SYS_SOCKET_H -# include -#endif - ]], - [[ - int s = 0; - struct sockaddr* addr = 0; - size_t* addrlen = 0; - accept(s, addr, addrlen); - ]])], - [ - ace_cv_lib_posix_socket_len_size_t=yes - ], - [ - ace_cv_lib_posix_socket_len_size_t=no - ]) - ]) - ],[AC_DEFINE([ACE_HAS_SIZET_SOCKET_LEN])],) - ]) -fi - - -dnl SECTION 7: checks for structures - - -dnl TODO: Check whether these structures can be defined somewhere else. -AC_CHECK_TYPE([struct dirent], - [], - [AC_DEFINE([ACE_LACKS_STRUCT_DIR], 1, - [Define to 1 if the system lacks the type `struct dirent'.])], - [#include ]) -AC_CHECK_TYPE([struct flock], - [], - [AC_DEFINE([ACE_LACKS_FILELOCKS], 1, - [Define to 1 if the system lacks the type `struct flock'.])], - [#include ]) -AC_CHECK_TYPE([rwlock_t], - [], - [AC_DEFINE([ACE_LACKS_RWLOCK_T], 1, - [Define to 1 if the system lacks the type `rwlock_t'.])], - [#include ]) -AC_CHECK_TYPE([struct strbuf], - [AC_DEFINE([ACE_HAS_STRBUF_T], 1, - [Define to 1 if the system has the type `struct strbuf'.])], - [], - [#include ]) -case "$host" in -*irix*) - dnl IRIX prusage fields don't match what ACE currently supports. - ;; -*) - AC_CHECK_TYPE([prusage_t], - [AC_DEFINE([ACE_HAS_PRUSAGE_T], 1, - [Define to 1 if the system has the type `prusage_t'.])], - [], - [#include ]) - ;; -esac -AC_CHECK_TYPE([struct strrecvfd], - [], - [AC_DEFINE([ACE_LACKS_STRRECVFD], 1, - [Define to 1 if the system lacks the type `struct strrecvfd'.])], - [#include ]) -AC_CHECK_TYPE([struct sigaction], - [], - [AC_DEFINE([ACE_LACKS_SIGACTION], 1, - [Define to 1 if the system lacks the type `struct sigaction'.])], - [#include ]) -AC_CHECK_TYPE([sigset_t], - [], - [AC_DEFINE([ACE_LACKS_SIGSET], 1, - [Define to 1 if the system lacks the type `sigset_t'.])], - [#include ]) -AC_CHECK_TYPE([struct lifnum], - [], - [AC_DEFINE([ACE_LACKS_STRUCT_LIFNUM], 1, - [Define to 1 if the system uses int instead of `struct lifnum' for SIOCGIFNUM ioctl.])], - [#include ]) -AC_CHECK_TYPE([struct utsname], - [], - [AC_DEFINE([ACE_LACKS_UTSNAME_T], 1, - [Define to 1 if the system lacks the type `struct utsname'.])], - [#include ]) -AC_CHECK_TYPE([struct sembuf], - [], - [AC_DEFINE([ACE_LACKS_SEMBUF_T], 1, - [Define to 1 if the system lacks the type `struct sembuf'.])], - [ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include ]) - -dnl Thanks to Konstantinos Margaritis for pointing out -dnl that struct siginfo_t may also be defined in signal.h -AC_CHECK_TYPE([siginfo_t], - [AC_DEFINE([ACE_HAS_SIGINFO_T], 1, - [Define to 1 if the system has the type `siginfo_t'.])], - [], - [#include -#ifndef ACE_LACKS_SIGINFO_H -#include -#endif]) - -if test "$ac_cv_type_siginfo_t" = yes; then - AC_CHECK_MEMBER([siginfo_t.si_addr], - [], - [AC_DEFINE([ACE_LACKS_SI_ADDR], 1, - [Define to 1 if `si_addr' is not a member of `siginfo_t'.])], - [#include -#ifndef ACE_LACKS_SIGINFO_H -#include -#endif]) -fi - - -dnl Some platforms need to include sys/types.h before sys/socket.h -dnl in order for struct msghdr to work. -dnl Check for msghdr structure. -ACE_CACHE_CHECK([for struct msghdr],[ace_cv_struct_msghdr], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - ]],[[ - struct msghdr ace_msghdr; - ]])],[ - ace_cv_struct_msghdr=yes - ],[ - ace_cv_struct_msghdr=no - ]) - ], [AC_DEFINE([ACE_HAS_MSG])],) - -ACE_CACHE_CHECK([for condition variable support],[ace_cv_struct_cond_t], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]],[[ - pthread_cond_t ace_pthread_cond_t; - ]])],[ - ace_cv_struct_cond_t=yes - ],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include - ]], - [[ - cond_t ace_cond_t; - ]])], - [ - ace_cv_struct_cond_t=yes - ], - [ - ace_cv_struct_cond_t=no - ]) - ]) - ],,[AC_DEFINE([ACE_LACKS_COND_T])]) - -dnl Check for struct timespec -ACE_CACHE_CHECK([for POSIX timer structure], - [ace_cv_lib_posix_timer_struct], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#if !defined(ACE_LACKS_SYS_TIME_H) -# include -#endif -#include - ]],[[ - timespec sr; - ]])],[ - ace_cv_lib_posix_timer_struct=yes - ],[ - dnl Check if platform uses struct timestruc_t for POSIX timers - dnl instead of struct timespec. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include - ]], - [[ - timestruc_t sr; - ]])], - [ - ace_cv_lib_posix_timer_struct=yes - dnl Check for struct timespec in - ACE_CACHE_CHECK([for struct timespec in sys/timers.h], - [ace_cv_lib_posix_struct_timespec_broken],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include - ]], - [[ - timespec sr; - ]])], - [ - ace_cv_lib_posix_struct_timespec_broken=yes - ], - [ - ace_cv_lib_posix_struct_timespec_broken=no - ]) - ],,) - ], - [ - ace_cv_lib_posix_timer_struct=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_HAS_POSIX_TIME]) - if test "$ace_cv_lib_posix_struct_timespec_broken" = yes; then - AC_DEFINE([ACE_HAS_BROKEN_POSIX_TIME]) - fi - ], - [ - dnl Check for struct timespec in - ACE_CACHE_CHECK([for struct timespec in sys/timers.h], - [ace_cv_lib_posix_struct_timespec_broken],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]],[[ - timespec sr; - ]])],[ - ace_cv_lib_posix_struct_timespec_broken=yes - ],[ - ace_cv_lib_posix_struct_timespec_broken=no - ]) - ],[AC_DEFINE([ACE_HAS_BROKEN_POSIX_TIME])],) - ]) - -dnl Check for typedef timespec_t -dnl TODO: Check whether this typedef can be defined somewhere else. -ACE_CACHE_CHECK([for timespec_t], - [ace_cv_lib_posix_timespec_t],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]],[[ - timespec_t tt; - ]])],[ - ace_cv_lib_posix_timespec_t=yes - ],[ - ace_cv_lib_posix_timespec_t=no - ]) -],,[AC_DEFINE([ACE_LACKS_TIMESPEC_T])]) - -dnl Check for union semun -ACE_CACHE_CHECK([for union semun], - [ace_cv_lib_posix_defines_union_semun],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - ]],[[ -/* We could also check if the macro _SEM_SEMUN_UNDEFINED is defined. - No big deal. */ - -semun us; - ]])],[ - ace_cv_lib_posix_defines_union_semun=yes - ],[ - ace_cv_lib_posix_defines_union_semun=no - ]) -],[AC_DEFINE([ACE_HAS_SEMUN])],) - - - -dnl SECTION 8: checks for variables - -dnl Check for more than two fields in struct rusage -ACE_CACHE_CHECK([for limited struct rusage], - [ace_cv_lib_limited_rusage],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include -#include - ]],[[ - rusage ace_rusage; - /* - We just pick three (i.e. > 2) of the fields that - ACE uses to see if we have a struct rusage that - has more than two fields. - */ - ace_rusage.ru_ixrss = 0; - ace_rusage.ru_idrss = 0; - ace_rusage.ru_isrss = 0; - ]])],[ - ace_cv_lib_limited_rusage=no - ],[ - ace_cv_lib_limited_rusage=yes - ]) -],[AC_DEFINE([ACE_HAS_LIMITED_RUSAGE_T])],) - -dnl Check for sin_len member in struct sockaddr_in -AC_CHECK_MEMBER([struct sockaddr_in.sin_len], - [AC_DEFINE([ACE_HAS_SOCKADDR_IN_SIN_LEN], 1, - [Define to 1 if `sin_len' is a member of `sockaddr_in'.])], - [], - [ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include - ]) - -dnl Check for sin6_len member in struct sockaddr_in6 -AC_CHECK_MEMBER([struct sockaddr_in6.sin6_len], - [AC_DEFINE([ACE_HAS_SOCKADDR_IN6_SIN6_LEN], 1, - [Define to 1 if `sin6_len' is a member of `sockaddr_in6'.])], - [], - [ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include - ]) - -dnl Check for sys_siglist -dnl TODO: Check whether this variable can be defined somewhere else. -dnl [OSSAMA: Should we use autoconf's AC_CHECK_DECLS([sys_siglist]) -dnl test instead?] -ACE_CACHE_CHECK([for sys_siglist], - [ace_cv_lib_posix_sys_siglist],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_UNISTD_H -# include -#endif -#include -#if !defined (_sys_siglist) -# define _sys_siglist sys_siglist -#endif - ]],[[ - void* vp = (void*) &_sys_siglist; - ]])],[ - ace_cv_lib_posix_sys_siglist=yes - ],[ - ace_cv_lib_posix_sys_siglist=no - ]) -],[AC_DEFINE([ACE_HAS_SYS_SIGLIST])],) - - -dnl SECTION 9: checks for compiler characteristics - - -dnl Check if compiler accepts "#pragma once" directive -ACE_CONVERT_WARNINGS_TO_ERRORS([ - ACE_CACHE_CHECK([if compiler accepts "pragma once" directive], - [ace_cv_has_pragma_once], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#pragma once - ]],[[ - int a = 0; /* Put this here so we don't have an empty main(). */ - ]])],[ - ace_cv_has_pragma_once=yes - ],[ - ace_cv_has_pragma_once=no - ]) - ],,[AC_DEFINE([ACE_LACKS_PRAGMA_ONCE])]) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -dnl If we are using GNU C++, see if it accepts the -pipe compiler flag. -dnl "-pipe" on cygwin32 doesn't seem to work, for example. -if test "$GXX" = yes; then - PREPIPECXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS -pipe" - PREPIPECFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -pipe" - ACE_CACHE_CHECK([if "-pipe" compiler flag is supported], - [ace_cv_feature_gxx_has_pipe], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]],[[int a = 0;]])],[ - ace_cv_feature_gxx_has_pipe=yes - ],[ - ace_cv_feature_gxx_has_pipe=no - ]) - ], - [ - dnl We don't need to add "-pipe" here since it was already added - dnl for the test. - dnl CXXFLAGS="$PREPIPECXXFLAGS -pipe" - dnl CFLAGS="$PREPIPECFLAGS -pipe" - ], - [ - CXXFLAGS="$PREPIPECXXFLAGS" - CFLAGS="$PREPIPECFLAGS" - ]) -fi - -dnl Check to see if we are running on a big endian platform -dnl "ace/Basic_Types.h" should perhaps be modified to take advantage -dnl of the results of this test. -dnl Do not run this test if we are using a cross-compiler. -AS_IF([test "$cross_compiling" != yes], - [ - AC_C_BIGENDIAN - ],[]) - -dnl Check type sizes -dnl If we get a size of zero, then the type is unknown to the compiler. - -dnl We don't need to check for sizeof(char) right now. Also conflicts with -dnl ACE definition in Basic_Types.h, so we leave the test out. -if test "$cross_compiling" != yes; then - AC_CHECK_SIZEOF([wchar_t]) - if test "$ac_cv_sizeof_wchar_t" != 0; then - AC_DEFINE_UNQUOTED([ACE_SIZEOF_WCHAR],[$ac_cv_sizeof_wchar_t], - [Size of the native "wchar_t" type]) - fi - AC_CHECK_SIZEOF([short]) - if test "$ac_cv_sizeof_short" != 0; then - AC_DEFINE_UNQUOTED([ACE_SIZEOF_SHORT],[$ac_cv_sizeof_short], - [Size of the native "short" type]) - fi - AC_CHECK_SIZEOF([int]) - if test $ac_cv_sizeof_int != 0; then - AC_DEFINE_UNQUOTED([ACE_SIZEOF_INT],[$ac_cv_sizeof_int], - [Size of the native "int" type]) - fi - AC_CHECK_SIZEOF([long]) - if test $ac_cv_sizeof_long != 0; then - AC_DEFINE_UNQUOTED([ACE_SIZEOF_LONG],[$ac_cv_sizeof_long], - [Size of the native "long" type]) - fi - AC_CHECK_SIZEOF([long long]) - if test $ac_cv_sizeof_long_long != 0; then - AC_DEFINE_UNQUOTED([ACE_SIZEOF_LONG_LONG],[$ac_cv_sizeof_long_long], - [Size of the native "long long" type]) - else - AC_DEFINE([ACE_LACKS_LONGLONG_T]) - fi - AC_CHECK_SIZEOF([void *]) - if test $ac_cv_sizeof_void_p != 0; then - AC_DEFINE_UNQUOTED([ACE_SIZEOF_VOID_P],[$ac_cv_sizeof_void_p], - [Size of the native "pointer to void" type]) - fi - AC_CHECK_SIZEOF([float]) - if test $ac_cv_sizeof_float != 0; then - AC_DEFINE_UNQUOTED([ACE_SIZEOF_FLOAT],[$ac_cv_sizeof_float], - [Size of the native "float" type]) - fi - AC_CHECK_SIZEOF([double]) - if test $ac_cv_sizeof_double != 0; then - AC_DEFINE_UNQUOTED([ACE_SIZEOF_DOUBLE],[$ac_cv_sizeof_double], - [Size of the native "double" type]) - fi - AC_CHECK_SIZEOF([long double]) - if test $ac_cv_sizeof_long_double != 0; then - AC_DEFINE_UNQUOTED([ACE_SIZEOF_LONG_DOUBLE],[$ac_cv_sizeof_long_double], - [Size of the native "long double" type]) - fi - - dnl Set the 64 bit typedefs - ACE_INT64="" - ACE_UINT64="" - dnl if test "$ace_cv_type_u_longlong_t" = yes; then - dnl This doesn't work: AC_CHECK_SIZEOF([u_longlong_t],[8]) - dnl if test $ac_cv_sizeof_u_longlong_t = 8; then - dnl ACE_UINT64="u_longlong_t" - dnl ace_u_long_long_typedef_set=yes - dnl fi - dnl elif test $ac_cv_sizeof_long = 8; then - if test $ac_cv_sizeof_long = 8; then - ACE_INT64="signed long" - ACE_UINT64="unsigned long" - ace_u_long_long_typedef_set=yes - elif test $ac_cv_sizeof_long_long = 8; then - ACE_INT64="signed long long" - ACE_UINT64="unsigned long long" - ace_u_long_long_typedef_set=yes - else - ace_u_long_long_typedef_set=no - fi - - dnl Check for broken "signed char" - dnl If AC_CHECK_SIZEOF(signed char) returns zero then "signed char" - dnl is broken. - AC_CHECK_SIZEOF([signed char],[1]) - if test $ac_cv_sizeof_signed_char = 0; then - AC_DEFINE([ACE_LACKS_SIGNED_CHAR]) - fi -else - ace_u_long_long_typedef_set=no -fi dnl test "$cross_compiling" != yes - -AC_CHECK_TYPE([intmax_t], - [], - [AC_DEFINE([ACE_LACKS_INTMAX_T], 1, - [Define to 1 if the system lacks the type `intmax_t'.])], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -AC_CHECK_TYPE([uintmax_t], - [], - [AC_DEFINE([ACE_LACKS_UINTMAX_T], 1, - [Define to 1 if the system lacks the type `uintmax_t'.])], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -AC_CHECK_TYPE([intptr_t], - [], - [AC_DEFINE([ACE_LACKS_INTPTR_T], 1, - [Define to 1 if the system lacks the type `intptr_t'.])], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -AC_CHECK_TYPE([uintptr_t], - [], - [AC_DEFINE([ACE_LACKS_UINTPTR_T], 1, - [Define to 1 if the system lacks the type `uintptr_t'.])], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -AC_CHECK_TYPE([int8_t], - [AC_DEFINE([ACE_HAS_INT8_T], 1, - [Define to 1 if the system has the type `int8_t'.])], - [], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -AC_CHECK_TYPE([uint8_t], - [AC_DEFINE([ACE_HAS_UINT8_T], 1, - [Define to 1 if the system has the type `uint8_t'.])], - [], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -AC_CHECK_TYPE([int16_t], - [AC_DEFINE([ACE_HAS_INT16_T], 1, - [Define to 1 if the system has the type `int16_t'.])], - [], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -AC_CHECK_TYPE([uint16_t], - [AC_DEFINE([ACE_HAS_UINT16_T], 1, - [Define to 1 if the system has the type `uint16_t'.])], - [], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -AC_CHECK_TYPE([int32_t], - [AC_DEFINE([ACE_HAS_INT32_T], 1, - [Define to 1 if the system has the type `int32_t'.])], - [], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -AC_CHECK_TYPE([uint32_t], - [AC_DEFINE([ACE_HAS_UINT32_T], 1, - [Define to 1 if the system has the type `uint32_t'.])], - [], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -AC_CHECK_TYPE([int64_t], - [AC_DEFINE([ACE_HAS_INT64_T], 1, - [Define to 1 if the system has the type `int64_t'.])], - [], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -AC_CHECK_TYPE([uint64_t], - [AC_DEFINE([ACE_HAS_UINT64_T], 1, - [Define to 1 if the system has the type `uint64_t'.])], - [], - [ -#ifndef ACE_LACKS_STDINT_H -#include -#endif -#ifndef ACE_LACKS_INTTYPES_H -#include -#endif]) - -ACE_CACHE_CHECK([for std::numeric_limits<>], -[ace_cv_func_numeric_limits], -[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include ], - [return std::numeric_limits::max();])], - [ace_cv_func_numeric_limits=yes], - [ace_cv_func_numeric_limits=no]) -],,[AC_DEFINE([ACE_LACKS_NUMERIC_LIMITS])]) - -dnl Other checks - -ACE_VAR_TIMEZONE - - -dnl Check for istream operator>> for char, unsigned char and signed char -ACE_CACHE_CHECK([for istream operator>> for char types], - [ace_cv_feature_char_right_shifts], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]],[[ -unsigned char a = 0; -cin >> a; - -#ifndef ACE_LACKS_SIGNED_CHAR -signed char b = 0; -cin >> b; -#endif - ]])],[ - ace_cv_feature_char_right_shifts=yes - ],[ - ace_cv_feature_char_right_shifts=no - ]) - ],,[AC_DEFINE([ACE_LACKS_CHAR_RIGHT_SHIFTS])]) - - -dnl Check for istream operator>> for char *, unsigned char * and signed char * -ACE_CACHE_CHECK([for istream operator>> for char * types], - [ace_cv_feature_char_ptr_right_shifts], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]],[[ -unsigned char * a = 0; -cin >> a; - -#ifndef ACE_LACKS_SIGNED_CHAR -signed char * b = 0; -cin >> b; -#endif - ]])],[ - ace_cv_feature_char_ptr_right_shifts=yes - ],[ - ace_cv_feature_char_ptr_right_shifts=no - ]) - ],,[AC_DEFINE([ACE_LACKS_CHAR_STAR_RIGHT_SHIFTS])]) - -dnl Check to see how to call the explicit destructor on a template. -dnl There are a few different possibilities: -dnl ACE_HAS_WORKING_EXPLICIT_TEMPLATE_DESTRUCTOR (two cases): -dnl ACE_EXPLICIT_TEMPLATE_DESTRUCTOR_TAKES_ARGS: ~CLASS() -dnl (no other settings): ~CLASS() -dnl w/o ACE_HAS_WORKING_EXPLICIT_TEMPLATE_DESTRUCTOR: -dnl CLASS::~CLASS() -dnl -dnl The first seems to be the most widely used form, although very few -dnl hand-made configs have it set. Many compilers take all three forms. -dnl The only one that seems to be less-used is #2 above, ~CLASS(). -dnl So, we check for the first two cases, and if neither of them work, -dnl we assume the third (no config macros). - -ACE_CACHE_CHECK([to see if template destructor call takes template args], - [ace_cv_feature_explicit_template_des_takes_args], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - -class dyn -{ - public: - dyn () { } - ~dyn () { } -}; - -template -class Base -{ - public: - Base () { } - virtual void f (void) { } - ~Base () { } -}; - -template -class Derived -{ - public: - Derived () - { - x_ = new Base (); - } - virtual void f (void) { } - ~Derived () { x_->~Base (); } - private: - Base *x_; - T t_; -}; - ]],[[ - Derived *x = new Derived (); - - x->f (); - - delete x; - return 0; - ]])],[ - ace_cv_feature_explicit_template_des_takes_args=yes - ],[ - ace_cv_feature_explicit_template_des_takes_args=no - ]) - ],[ - AC_DEFINE([ACE_EXPLICIT_TEMPLATE_DESTRUCTOR_TAKES_ARGS]) - AC_DEFINE([ACE_HAS_WORKING_EXPLICIT_TEMPLATE_DESTRUCTOR]) - ], -) - -dnl Check for the second form of C++ explicit template destructors -dnl Thanks to Nanbor Wang for providing this test. -if test "$ace_cv_feature_explicit_template_des_takes_args" = no; then -ACE_CACHE_CHECK([for working C++ explicit template destructors], - [ace_cv_feature_working_explicit_des], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - -class dyn -{ - public: - dyn () { } - ~dyn () { } -}; - -template -class Base -{ - public: - Base () { } - virtual void f (void) { } - ~Base () { } -}; - -template -class Derived -{ - public: - Derived () - { - x_ = new Base (); - } - virtual void f (void) { } - ~Derived () { x_->~Base (); } - private: - Base *x_; - T t_; -}; - ]],[[ - Derived *x = new Derived (); - - x->f (); - - delete x; - return 0; - ]])],[ - ace_cv_feature_working_explicit_des=yes - ],[ - ace_cv_feature_working_explicit_des=no - ]) - ],[AC_DEFINE([ACE_HAS_WORKING_EXPLICIT_TEMPLATE_DESTRUCTOR])],) -fi - -dnl Check for C++ "std" namespace -ACE_CACHE_CHECK([for C++ "std" namespace], - [ace_cv_feature_posix_uses_std_namespace],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#if defined (ACE_USES_OLD_IOSTREAMS) -# include -#else -# include -#endif - ]],[[ - std::cout << "FOO" << std::endl; - ]])],[ - ace_cv_feature_posix_uses_std_namespace=yes - ],[ - ace_cv_feature_posix_uses_std_namespace=no - ]) - ],[AC_DEFINE([ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB])],) - -dnl Check for new style C++ include file support -ACE_CACHE_CHECK([for new style C++ include file support], - [ace_cv_lib_posix_standard_includes],[ - ace_cv_lib_posix_standard_includes=no - if test "$ace_cv_feature_posix_uses_std_namespace" = yes; then - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]],[[ -#ifdef ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB - std::string str; -#else - string str; -#endif /* ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB */ - ]])],[ace_cv_lib_posix_standard_includes=yes],[]) - fi - ], - [ - AC_DEFINE([ACE_HAS_STDCPP_STL_INCLUDES]) - AC_DEFINE([ACE_HAS_STRING_CLASS]) - ],) - -dnl Check whether platform supports the standard C++ library -dnl TODO: For now, check whether headers , -dnl and exist; is there a better way? -if test "$ac_cv_header_new" = yes && - test "$ac_cv_header_iomanip" = yes && - test "$ac_cv_header_memory" = yes; then - - dnl Check for auto_ptr class - ACE_CACHE_CHECK([for C++ auto_ptr class], - [ace_cv_lib_auto_ptr_class], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]],[[ - int *foo = new int; - -#ifdef ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB - std::auto_ptr safe (foo); -#else - auto_ptr safe (foo); -#endif - foo = safe.release (); - - delete foo; - ]])],[ - ace_cv_lib_auto_ptr_class=yes - ],[ - ace_cv_lib_auto_ptr_class=no - ]) - ], - [ - AC_DEFINE([ACE_HAS_STANDARD_CPP_LIBRARY]) - ], - [ - AC_DEFINE([ACE_LACKS_AUTO_PTR]) - ]) -fi - -if test "$ace_cv_lib_auto_ptr_class" = yes; then - dnl Check for auto_ptr reset method - ACE_CACHE_CHECK([for C++ auto_ptr reset method], - [ace_cv_lib_auto_ptr_reset], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]],[[ - int *foo = new int; - -#ifdef ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB - std::auto_ptr safe (foo); -#else - auto_ptr safe (foo); -#endif - int *bar = new int; - - safe.reset (bar); - - foo = safe.release (); - ]])],[ - ace_cv_lib_auto_ptr_reset=yes - ],[ - ace_cv_lib_auto_ptr_reset=no - ]) - ],,[AC_DEFINE([ACE_AUTO_PTR_LACKS_RESET])]) -fi dnl test $ace_cv_lib_auto_ptr_class=yes - -dnl Check if platform supports placement delete operator -ACE_CACHE_CHECK([for C++ placement delete operator], - [ace_cv_feature_placement_delete],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#if defined (ACE_HAS_NEW_NO_H) -# include -#elif defined (ACE_HAS_NEW_H) -# include -#endif - -class foo -{ -public: - void *operator new (size_t, void *p) { return p; } - void operator delete (void *p, void *) {} -}; - ]],[[ -int *x = 0; -foo *f = new (x) foo; - -// delete f; // Don't call delete for this test! - ]])],[ - ace_cv_feature_placement_delete=yes - ],[ - ace_cv_feature_placement_delete=no - ]) - ],,[AC_DEFINE([ACE_LACKS_PLACEMENT_OPERATOR_DELETE])]) - - -dnl Check if templates require source on platform -dnl -dnl FIXME: This test may be broken. -dnl -dnl FIXME: This test contains vestigial bits of tests for explicit -dnl template instantiation feature macros, even though support for -dnl the same has been removed. -dnl -dnl A rewrite to test only whether ACE_TEMPLATES_REQUIRE_SOURCE or -dnl ACE_TEMPLATES_REQUIRE_PRAGMA is clearly needed. -dnl -ACE_CACHE_CHECK([if templates require source], - [ace_cv_feature_templates_require_source], - [ - dnl Create the common header file - cat > ace_test.h < -class Foo -{ - public: - Foo (T val); - private: - T value_; -}; - -template -class Bar -{ - public: - Bar (Foo *); - private: - Foo *foo_ptr; -}; -#endif /* FOO_H */ -EOF - - dnl Create template source test file - cat > ace_test.$ac_ext < -Foo::Foo (T val) - : value_ (val) -{ - // Nothing else to do. -} - -template -Bar::Bar (Foo *val) - : foo_ptr (val) -{ - // Nothing else to do. -} -#endif /* FOO_CXX */ -EOF - - dnl Add the ACE-specific compiler flags to the compiler flags for - dnl the duration of this test. - ace_cxx_template_save_CXXFLAGS="$CXXFLAGS" - ace_cxx_template_save_CPPFLAGS="$CPPFLAGS" - ace_cxx_template_save_LDFLAGS="$LDFLAGS" - CXXFLAGS="$ACE_CXXFLAGS $CXXFLAGS" - CPPFLAGS="$ACE_CPPFLAGS $CPPFLAGS" - LDFLAGS="$ACE_LDFLAGS $LDFLAGS" - - dnl Remove any template repositories. - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - dnl First try without explicit template instantiation. - AC_LINK_IFELSE([AC_LANG_PROGRAM([[ -#include "ace_test.h" - ]],[[ -Foo foo (15); -Bar bar (0); - ]])],[ - dnl Template source is not required. - ace_cv_feature_templates_require_source=no - - dnl Template source does not require pragma. - AC_CACHE_VAL([ace_cv_feature_templates_require_pragma], - [ace_cv_feature_templates_require_pragma=no]) - - dnl Explicit template instantiation is not required. - AC_CACHE_VAL([ace_cv_feature_explicit_template_instantiation], - [ace_cv_feature_explicit_template_instantiation=no]) - - dnl Pragma template instantiation is not required. - AC_CACHE_VAL([ace_cv_feature_pragma_template_instantiation], - [ace_cv_feature_pragma_template_instantiation=no]) - ],[ - dnl Remove any template repositories. - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - dnl Now try including the template source. - AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#include "ace_test.h" -#include "ace_test.$ac_ext" - ]], - [[ -Foo foo (15); - -Bar bar (0); - ]])], - [ - dnl Template source is required! - ace_cv_feature_templates_require_source=yes - - dnl Template source does not require pragma. - AC_CACHE_VAL([ace_cv_feature_templates_require_pragma], - [ace_cv_feature_templates_require_pragma=no]) - - dnl Explicit template instantiation is not required. - AC_CACHE_VAL([ace_cv_feature_explicit_template_instantiation], - [ace_cv_feature_explicit_template_instantiation=no]) - - dnl Pragma template instantiation is not required. - AC_CACHE_VAL([ace_cv_feature_pragma_template_instantiation], - [ace_cv_feature_pragma_template_instantiation=no]) - ], - [ -dnl BEGIN OUTER REQUIRE SOURCE ######################################### - dnl Remove any generated template repositories. - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - dnl Now try with explicit template instantiation. - AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#include "ace_test.h" - -template class Foo; -template class Bar; - ]], - [[ -Foo foo (15); -Bar bar (0); - ]])], - [ - dnl Template source is not required. - ace_cv_feature_templates_require_source=no - - dnl Template source does not require pragma. - AC_CACHE_VAL([ace_cv_feature_templates_require_pragma], - [ace_cv_feature_templates_require_pragma=no]) - - dnl Explicit template instantiation is required. - AC_CACHE_VAL([ace_cv_feature_explicit_template_instantiation], - [ace_cv_feature_explicit_template_instantiation=yes]) - - dnl Pragma template instantiation is not required. - AC_CACHE_VAL([ace_cv_feature_pragma_template_instantiation], - [ace_cv_feature_pragma_template_instantiation=no]) - ], - [ - dnl Remove any generated template repositories. - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - dnl Don't set - dnl ace_cv_feature_pragma_template_instantiation - dnl to "no" here. It should only be set to "no" if - dnl explicit template instantiation works. - - dnl Now try including the template source. - AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#include "ace_test.h" -#include "ace_test.$ac_ext" - -template class Foo; -template class Bar; - ]], - [[ -Foo foo (15); -Bar bar (0); - ]])], - [ - dnl Template source is required! - ace_cv_feature_templates_require_source=yes - - dnl Template source does not require pragma. - AC_CACHE_VAL([ace_cv_feature_templates_require_pragma], - [ace_cv_feature_templates_require_pragma=no]) - - dnl Explicit template instantiation is required. - AC_CACHE_VAL( - [ace_cv_feature_explicit_template_instantiation], - [ace_cv_feature_explicit_template_instantiation=yes]) - - dnl Pragma template instantiation is not required. - AC_CACHE_VAL( - [ace_cv_feature_pragma_template_instantiation], - [ace_cv_feature_pragma_template_instantiation=no]) - ], - [ -dnl BEGIN INNER REQUIRE SOURCE ######################################### - dnl Remove any generated template repositories. - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - dnl Don't set - dnl ace_cv_feature_explicit_template_instantiation - dnl to "no" here. It should only be set to "no" if - dnl pragma template instantiation works. - - dnl Now try with pragma template instantiation. - AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#include "ace_test.h" - -#pragma instantiate Foo -#pragma instantiate Bar - ]], - [[ -Foo foo (15); -Bar bar (0); - ]])], - [ - dnl Template source is not required. - ace_cv_feature_templates_require_source=no - - dnl Template source does not require pragma. - AC_CACHE_VAL( - [ace_cv_feature_templates_require_pragma], - [ace_cv_feature_templates_require_pragma=no]) - - dnl Explicit template instantiation is not required. - AC_CACHE_VAL( - [ace_cv_feature_explicit_template_instantiation], - [ace_cv_feature_explicit_template_instantiation=no]) - - dnl Pragma template instantiation is required. - AC_CACHE_VAL( - [ace_cv_feature_pragma_template_instantiation], - [ace_cv_feature_pragma_template_instantiation=yes]) - ], - [ - dnl Remove any generated template repositories. - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - dnl Don't set - dnl ace_cv_feature_explicit_template_instantiation - dnl to "no" here. It should only be set to "no" if - dnl pragma template instantiation works. - - dnl Now try including the template source. - AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#include "ace_test.h" -#include "ace_test.$ac_ext" - -#pragma instantiate Foo -#pragma instantiate Bar - ]], - [[ -Foo foo (15); -Bar bar (0); - ]])], - [ - dnl Template source is required! - ace_cv_feature_templates_require_source=yes - - dnl Template source does not require pragma. - AC_CACHE_VAL( - [ace_cv_feature_templates_require_pragma], - [ace_cv_feature_templates_require_pragma=no]) - - dnl Explicit template instantiation is not required. - AC_CACHE_VAL( - [ace_cv_feature_explicit_template_instantiation], - [ace_cv_feature_explicit_template_instantiation=no]) - - dnl Pragma template instantiation is required. - AC_CACHE_VAL( - [ace_cv_feature_pragma_template_instantiation], - [ace_cv_feature_pragma_template_instantiation=yes]) - ], - [ - dnl If we get here, then we have no idea what is needed! - ace_cv_feature_templates_require_source=no - ]) - ]) -dnl END INNER REQUIRE SOURCE ######################################### - ]) - ]) -dnl END OUTER REQUIRE SOURCE ######################################### - ]) - ]) - - dnl Remove any generated template repositories. - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - dnl Remove the test additional test files. - rm -f ace_test* - - dnl Restore the compiler flags - CXXFLAGS="$ace_cxx_template_save_CXXFLAGS" - CPPFLAGS="$ace_cxx_template_save_CPPFLAGS" - LDFLAGS="$ace_cxx_template_save_LDFLAGS" - ], - [ - AC_DEFINE([ACE_TEMPLATES_REQUIRE_SOURCE]) - ], - [ - dnl Check if templates require pragma. - ACE_CACHE_CHECK([if templates require pragma], - [ace_cv_feature_templates_require_pragma], - [ - dnl Create the common header file - cat > ace_test.h < -class Foo -{ - public: - Foo (T val); - private: - T value_; -}; - -template -class Bar -{ - public: - Bar (Foo *); - private: - Foo *foo_ptr; -}; -#endif /* FOO_H */ -EOF - - dnl Create template source test file - cat > ace_test.$ac_ext < -Foo::Foo (T val) - : value_ (val) -{ - // Nothing else to do. -} - -template -Bar::Bar (Foo *val) - : foo_ptr (val) -{ - // Nothing else to do. -} -#endif /* FOO_CXX */ -EOF - - dnl Add the ACE-specific compiler flags to the compiler flags for - dnl the duration of this test. - ace_cxx_template_save_CXXFLAGS="$CXXFLAGS" - ace_cxx_template_save_CPPFLAGS="$CPPFLAGS" - ace_cxx_template_save_LDFLAGS="$LDFLAGS" - CXXFLAGS="$ACE_CXXFLAGS $CXXFLAGS" - CPPFLAGS="$ACE_CPPFLAGS $CPPFLAGS" - LDFLAGS="$ACE_LDFLAGS $LDFLAGS" - - dnl Remove any template repositories. - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - dnl We already know that the simplest case doesn't work so go - dnl straight to the "require pragma" test. - - dnl Now try including the template pragma. - AC_LINK_IFELSE([AC_LANG_PROGRAM([[ -#include "ace_test.h" - -#pragma implementation ("ace_test.$ac_ext") - ]],[[ -Foo foo (15); -Bar bar (0); - ]])],[ - dnl Template source is required! - ace_cv_feature_templates_require_pragma=yes - ],[ -dnl BEGIN OUTER REQUIRE PRAGMA ######################################### - dnl Remove any generated template repositories. - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - dnl Now try with explicit template instantiation. - AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#include "ace_test.h" - -#pragma implementation ("ace_test.$ac_ext") - -template class Foo; -template class Bar; - ]], - [[ -Foo foo (15); -Bar bar (0); - ]])], - [ - dnl Template pragma is required! - ace_cv_feature_templates_require_pragma=yes - - dnl Explicit template instantiation is required. - AC_CACHE_VAL( - [ace_cv_feature_explicit_template_instantiation], - [ace_cv_feature_explicit_template_instantiation=yes]) - - dnl Pragma template instantiation is not required. - AC_CACHE_VAL( - [ace_cv_feature_pragma_template_instantiation], - [ace_cv_feature_pragma_template_instantiation=no]) - ], - [ -dnl BEGIN INNER REQUIRE PRAGMA ######################################### - dnl Remove any generated template repositories. - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - dnl Now try with pragma template instantiation. - AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#include "ace_test.h" - -#pragma implementation ("ace_test.$ac_ext") - -#pragma instantiate Foo -#pragma instantiate Bar - ]], - [[ -Foo foo (15); -Bar bar (0); - ]])], - [ - dnl Template pragma is required! - ace_cv_feature_templates_require_pragma=yes - - dnl Explicit template instantiation is not required. - AC_CACHE_VAL( - [ace_cv_feature_explicit_template_instantiation], - [ace_cv_feature_explicit_template_instantiation=no]) - - dnl Pragma template instantiation is required. - AC_CACHE_VAL( - [ace_cv_feature_pragma_template_instantiation], - [ace_cv_feature_pragma_template_instantiation=yes]) - ], - [ - dnl If we get here, then we have no idea what is needed! - ace_cv_feature_templates_require_pragma=no - ]) -dnl END INNER REQUIRE PRAGMA ######################################### - ]) -dnl END OUTER REQUIRE PRAGMA ######################################### - ]) - - dnl Remove any generated template repositories. - rm -rf Templates.DB SunWS_cache ptrepository *.rpo - - dnl Remove the additional test files. - rm -f ace_test* - - dnl Restore the compiler flags - CXXFLAGS="$ace_cxx_template_save_CXXFLAGS" - CPPFLAGS="$ace_cxx_template_save_CPPFLAGS" - LDFLAGS="$ace_cxx_template_save_LDFLAGS" - ], - [ - AC_DEFINE([ACE_TEMPLATES_REQUIRE_PRAGMA]) - ], - [ - dnl Do nothing. - ]) - ]) - - -dnl Check if platform supports template typedefs -ACE_CACHE_CHECK([for template typedefs], - [ace_cv_feature_posix_template_typedefs],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - -class Bar -{ -public: - typedef int Y; - Bar(int bar) : bar_(bar) {} - int value() const { return bar_; } -private: - int bar_; -}; - -template -class Foo -{ -public: - typedef typename T::Y Y; - Foo(T* foo) : foo_(foo) {} - void print(Y); -private: - T* foo_; -}; - -template -void Foo::print(typename T::Y) -{ -} - ]],[[ -Bar bar(15); -Foo foo(&bar); -foo.print(11); - ]])],[ - ace_cv_feature_posix_template_typedefs=yes - ],[ - ace_cv_feature_posix_template_typedefs=no - ]) - ],[AC_DEFINE([ACE_HAS_TEMPLATE_TYPEDEFS])],) - -dnl Check if platform supports static data member templates -ACE_CACHE_CHECK([for static data member templates], - [ace_cv_feature_posix_static_data_member_templates],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -template -class Foo -{ -public: - static T* sdm; -}; - -template T* Foo::sdm = 0; - ]],[[ - /* No body */ - ]])],[ - ace_cv_feature_posix_static_data_member_templates=yes - ],[ - ace_cv_feature_posix_static_data_member_templates=no - ]) - ],,[AC_DEFINE([ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES])]) - -dnl Check if compiler needs definitions for hidden functions -ACE_CACHE_CHECK([if definition is needed for hidden functions], - [ace_cv_feature_need_func_def], - [ - AC_LINK_IFELSE([AC_LANG_PROGRAM([[ - class Foo - { - public: - Foo (void) { a_ = 0; } - private: - Foo (const Foo &); - void operator= (const Foo &); - - int a_; - }; - ]],[[ - Foo Bar; - ]])],[ - ace_cv_feature_need_func_def=no - ],[ - AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ - class Foo - { - public: - Foo (void) { a_ = 0; } - private: - Foo (const Foo &); - const Foo & operator= (const Foo &); - - int a_; - }; - - Foo::Foo (const Foo &) - { - a_ = 0; - } - - const Foo & - Foo::operator= (const Foo &) - { - a_ = 0; - - return *this; - } - ]], - [[ - Foo Bar; - ]])], - [ - ace_cv_feature_need_func_def=yes - ], - [ - dnl If we get here then we don't know what is needed! - ace_cv_feature_need_func_def=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_NEEDS_FUNC_DEFINITIONS]) - ],) - -dnl Check if platform supports C++ exceptions -if test "$ace_user_enable_exceptions" = yes; then - ACE_CACHE_CHECK([for C++ exceptions], - [ace_cv_feature_posix_exceptions],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]],[[ - int ret = 0; - class ACE {}; - try - { - throw ACE(); - } - catch (ACE) - { - ret = 1; - } - ]])],[ - ace_cv_feature_posix_exceptions=yes - ],[ - ace_cv_feature_posix_exceptions=no - ]) - ],[AC_DEFINE([ACE_HAS_EXCEPTIONS])],[ace_user_enable_exceptions=no]) - -fi dnl test "$ace_user_enable_exceptions" = yes - -dnl Check if we need a non-static object manager -dnl TODO / FIXME -dnl ACE_CACHE_CHECK([if we need a non-static object manager], -dnl [ace_cv_feature_nonstatic_object_manager],[ -dnl ace_cv_feature_nonstatic_object_manager=yes - dnl TODO: Should we check for this thing (and HOW), or - dnl should it be the user's choice? - - dnl For now, we will leave it as a user's choice. - dnl -Ossama -dnl ], -dnl [ - dnl Don't define anything until we have a test for this. - dnl AC_DEFINE([ACE_HAS_NONSTATIC_OBJECT_MANAGER]) -dnl ],) - -dnl Save the cache for debugging purposes -AC_CACHE_SAVE - - -dnl SECTION 10: checks for library functions - -ACE_FUNC_STRCASECMP -ACE_FUNC_STRNCASECMP -ACE_FUNC_STRDUP -ACE_FUNC_WCSCASECMP -ACE_FUNC_WCSNCASECMP -ACE_FUNC_WCSDUP - -if test "$ace_user_enable_alloca" = yes; then - AC_FUNC_ALLOCA - if test "$ac_cv_header_alloca_h" = yes; then - AC_DEFINE([ACE_HAS_ALLOCA_H]) - fi - if test "$ac_cv_func_alloca_works" = yes; then - AC_DEFINE([ACE_HAS_ALLOCA]) - fi -fi - -dnl ACE should really have something for both the sys/mman.h header -dnl and the mmap function since we need sys/mman.h for functions like -dnl mprotect and msync, but don't want to use mmap if it doesn't work. -dnl For now, we just check for the sys/mman.h header earlier in this -dnl configure script. - -dnl AC_FUNC_MMAP -dnl if test "$ac_cv_func_mmap_fixed_mapped" = no; then -dnl Even if we have mmap, do not use if broken! -dnl AC_DEFINE(ACE_LACKS_MMAP) -dnl fi - -dnl Check if closedir() returns a meaningful value -AC_FUNC_CLOSEDIR_VOID - -dnl Check for PWD functions -AC_CHECK_FUNC([getpwnam],,) -AC_CHECK_FUNC([setpwent],,) -AC_CHECK_FUNC([endpwent],,) -AC_CHECK_FUNC([getpwent],,) -AC_CHECK_FUNC([getpwuid],,) - -if test "$ac_cv_func_getpwnam" != yes || - test "$ac_cv_func_setpwent" != yes || - test "$ac_cv_func_endpwent" != yes || - test "$ac_cv_func_getpwent" != yes || - test "$ac_cv_func_getpwuid" != yes; then - AC_DEFINE([ACE_LACKS_PWD_FUNCTIONS]) -else - dnl The password file related functions above are required for ACE's - dnl alternate implementation. - - ACE_CONVERT_WARNINGS_TO_ERRORS([ - dnl Check for functions necessary for ACE's alternate implementation - dnl of the now obsolete cuserid() function. - ACE_CACHE_CHECK([checking if ACE cuserid() implementation should be used], - [ace_cv_lib_use_alt_cuserid], - [ - AC_LINK_IFELSE([AC_LANG_PROGRAM([[ -/* Undefine _XOPEN_SOURCE since it may make the cuserid() prototype - visible. ACE should not rely on such feature test macros. */ -#undef _XOPEN_SOURCE -#ifndef ACE_LACKS_UNISTD_H -# include -#else -# error No unistd.h header. Need header where cuserid() is located. -#endif /* ACE_LACKS_UNISTD_H */ - ]],[[ - char * foo = cuserid ((char *)0); - ]])],[ - dnl If successful then use the system cuserid() implementation, - dnl despite the fact that ACE's implementation may be safer. - ace_cv_lib_use_alt_cuserid=no - ],[ - AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#undef _XOPEN_SOURCE -#ifndef ACE_LACKS_UNISTD_H -# include -#else -# error No unistd.h header. Need header where geteuid() is located. -#endif - ]], - [[ - uid_t foo = geteuid (); - ]])], - [ - dnl All of the functions necessary for ACE's cuserid() - dnl implementation exist. - ace_cv_lib_use_alt_cuserid=yes - ], - [ - dnl If we get here, we're hosed! - ace_cv_lib_use_alt_cuserid=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_HAS_ALT_CUSERID]) - ],) - ]) -fi - - - -dnl Check for `strftime' in the `intl' library, for SCO UNIX -AC_FUNC_STRFTIME - -case "$host_os" in - *win32*) - AC_CHECK_FUNC([CancelIO], - [AC_DEFINE([ACE_HAS_CANCEL_IO])],) - - AC_CHECK_FUNC([SignalObjectAndWait], - [AC_DEFINE([ACE_HAS_SIGNAL_OBJECT_AND_WAIT])],) - - AC_CHECK_FUNC([TryEnterCriticalSection], - [AC_DEFINE([ACE_HAS_WIN32_TRYLOCK])],) - ;; - *) - ;; -esac - -ACE_CHECK_HAS_FUNCS(_InterlockedIncrement _InterlockedDecrement _InterlockedExchangeAdd) -if test "$ac_cv_func__InterlockedIncrement" = yes && - test "$ac_cv_func__InterlockedDecrement" = yes && - test "$ac_cv_func__InterlockedExchangeAdd" = yes; then - AC_DEFINE([ACE_HAS_INTRINSIC_INTERLOCKED]) -fi - -dnl Check for GCC atomic builtin -AC_MSG_CHECKING([for GCC atomic builtin]) -AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ - ]], - [[ - volatile unsigned long val = 10; - unsigned long retval = __sync_sub_and_fetch(&val, 1); - retval = __sync_add_and_fetch(&val, 1); - retval = __sync_fetch_and_sub(&val, 1); - retval = __sync_fetch_and_add(&val, 1); - ]])], - [ - AC_MSG_RESULT([yes]) - AC_DEFINE([ACE_HAS_GCC_ATOMIC_BUILTINS], 1, - [Define to 1 if compiler has builtin atomic support]) - ], - [ - AC_MSG_RESULT([no]) - ]) - -ACE_CHECK_LACKS_FUNCS(access) - -ACE_CHECK_LACKS_FUNCS(alphasort) - -ACE_CHECK_LACKS_FUNCS(asctime) - -ACE_CHECK_LACKS_FUNCS(asctime_r) - -ACE_CHECK_LACKS_FUNCS(alarm) - -ACE_CHECK_LACKS_FUNCS(bsearch) - -ACE_CHECK_HAS_DEFINES([bswap16]) -if test "$ace_cv_defined_bswap16" = no; then - ACE_CHECK_HAS_DEFINES([bswap_16],[],[],[ -#if ACE_HAS_BYTESWAP_H -#include -#endif]) -fi -ACE_CHECK_HAS_DEFINES([bswap32]) -if test "$ace_cv_defined_bswap32" = no; then - ACE_CHECK_HAS_DEFINES([bswap_32],[],[],[ -#if ACE_HAS_BYTESWAP_H -#include -#endif]) -fi -ACE_CHECK_HAS_DEFINES([bswap64]) -if test "$ace_cv_defined_bswap64" = no; then - ACE_CHECK_HAS_DEFINES([bswap_64],[],[],[ -#if ACE_HAS_BYTESWAP_H -#include -#endif]) -fi - -ACE_CHECK_LACKS_FUNCS(chdir) - -ACE_CHECK_HAS_FUNCS(clock_gettime clock_settime nanosleep) - -ACE_CHECK_LACKS_FUNCS(difftime) - -ACE_CHECK_LACKS_FUNCS(dup) - -ACE_CHECK_LACKS_FUNCS(dup2) - -dnl ACE uses execv, execvp and execve, so we don't bother to check -dnl for the others (e.g. execl, execlp, execle) -AC_CHECK_FUNC(execv) -AC_CHECK_FUNC(execvp) -AC_CHECK_FUNC(execve) -if test "$ac_cv_func_execv" != yes && - test "$ac_cv_func_execvp" != yes && - test "$ac_cv_func_execve" != yes; then - AC_DEFINE([ACE_LACKS_EXEC]) -fi - -ACE_CHECK_LACKS_FUNCS(fgetwc fcntl fork fsync) - -ACE_CHECK_LACKS_FUNCS(getcwd) - -ACE_CHECK_LACKS_FUNCS(gethostent) - -ACE_CHECK_LACKS_FUNCS(getipnodebyaddr) - -ACE_CHECK_LACKS_FUNCS(getipnodebyname) - -ACE_CHECK_HAS_FUNCS(getifaddrs) - -ACE_CHECK_LACKS_FUNCS(getegid geteuid getgid) - -ACE_CHECK_LACKS_FUNCS(setenv unsetenv) - -ACE_CHECK_LACKS_FUNCS(getopt) -if test $ac_cv_func_getopt = yes; then - AC_CHECK_DECL([getopt], - [], - [AC_DEFINE([ACE_LACKS_GETOPT_PROTOTYPE], 1, - [Define to 1 if platform lacks the declaration - of getopt().])], - [#include - #ifndef ACE_LACKS_UNISTD_H - # include - #endif]) -fi - -AC_CHECK_FUNC([getpagesize], - [AC_DEFINE([ACE_HAS_GETPAGESIZE])], - [AC_DEFINE([ACE_PAGE_SIZE], [4096])]) - -ACE_CHECK_LACKS_FUNCS(getpid) - -ACE_CHECK_LACKS_FUNCS([getpgid]) -if test "$ac_cv_func_getpgid" = yes; then - dnl Check if _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED macros are - dnl needed to make the getpgid() prototype visible. - ACE_CACHE_CHECK([for getpgid prototype], - [ace_cv_lib_has_getpgid_prototype], - [ - ace_save_CPPFLAGS="$CPPFLAGS" - ace_no_xopen="-U_XOPEN_SOURCE -U_XOPEN_SOURCE_EXTENDED" - CPPFLAGS="$CPPFLAGS $ace_no_xopen" - AC_EGREP_HEADER([[^_]+getpgid], [unistd.h], - [ - ace_cv_lib_has_getpgid_prototype=yes - ], - [ - ace_cv_lib_has_getpgid_prototype=no - ]) - dnl Reset the compiler flags - CPPFLAGS="$ace_save_CPPFLAGS" - ],, [AC_DEFINE([ACE_LACKS_GETPGID_PROTOTYPE])]) - AH_TEMPLATE([ACE_LACKS_GETPGID_PROTOTYPE], - [Define to 1 if platform lacks getpgid() declaration in .]) -fi - -ACE_CHECK_LACKS_FUNCS(getppid) - -ACE_CHECK_HAS_FUNCS(getprogname) - -ACE_CHECK_HAS_FUNCS(getrusage) -if test $ac_cv_func_getrusage = yes; then - AC_CHECK_DECL([getrusage], - [AC_DEFINE([ACE_HAS_GETRUSAGE_PROTOTYPE], 1, - [Define to 1 if platform has the declaration - of getrusage().])], - [], - [#include ]) -fi - -ACE_CHECK_LACKS_FUNCS(getuid) - -ACE_CHECK_LACKS_FUNCS(gmtime) - -ACE_CHECK_LACKS_FUNCS(gmtime_r) - -ACE_CHECK_LACKS_FUNCS(inet_aton) - -ACE_CHECK_LACKS_FUNCS(isatty) - -AC_CHECK_FUNC(isastream) -if test $ac_cv_func_isastream = yes; then - AC_CHECK_DECL([isastream], - [AC_DEFINE([ACE_HAS_ISASTREAM_PROTOTYPE], 1, - [Define to 1 if platform has the declaration - of isastream().])], - [], - [#include ]) -fi - -ACE_CHECK_HAS_FUNCS(itoa) - -dnl Check for 64 bit llseek() or lseek64() -case "$host" in - *UnixWare7*) - dnl Skip the check - ;; - *) - ACE_CHECK_LSEEK64 - ;; -esac - -ACE_CHECK_LACKS_FUNCS(kill) - -ACE_CHECK_LACKS_FUNCS(localtime) - -ACE_CHECK_LACKS_FUNCS(log2) - -ACE_CHECK_LACKS_FUNCS(lstat) - -ACE_CHECK_LACKS_FUNCS(madvise) -if test $ac_cv_func_madvise = yes; then - AC_CHECK_DECL([madvise], - [], - [AC_DEFINE([ACE_LACKS_MADVISE_PROTOTYPE], 1, - [Define to 1 if platform lacks the declaration - of madvise().])], - [ -#if !defined(ACE_LACKS_SYS_TYPES_H) -# include -#endif -#include - ]) -fi - -ACE_CHECK_HAS_FUNCS(mkdir) - -if test "$ac_cv_func_mkdir" = yes; then -dnl The mkdir() function has only one argument on Windows and VxWorks -AC_MSG_CHECKING([for 1- or 2-param mkdir]) -AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#include - ]], - [[ - const char path[] = "mypath"; - int result = mkdir (path); - ]])], - [ - AC_DEFINE([ACE_MKDIR_LACKS_MODE], 1, - [Define to 1 if platform has 1 parameter mkdir()]) - AC_MSG_RESULT([1]) - ], - [ - AC_MSG_RESULT([2]) - ]) -fi dnl test "$ac_cv_func_mkdir" = yes - -ACE_CHECK_HAS_FUNCS(memchr) - -ACE_CHECK_LACKS_FUNCS(mkfifo) - -ACE_CHECK_LACKS_FUNCS(mkstemp) -if test $ac_cv_func_mkstemp = yes; then - AC_CHECK_DECL([mkstemp], - [], - [AC_DEFINE([ACE_LACKS_MKSTEMP_PROTOTYPE], 1, - [Define to 1 if platform lacks the declaration - of mkstemp().])], - [#include ]) -fi - -ACE_CHECK_LACKS_FUNCS(mktemp) -if test $ac_cv_func_mktemp = yes; then - AC_CHECK_DECL([mktemp], - [], - [AC_DEFINE([ACE_LACKS_MKTEMP_PROTOTYPE], 1, - [Define to 1 if platform lacks the declaration - of mktemp().])], - [#include ]) -fi - -ACE_CHECK_LACKS_FUNCS(msync mprotect) - -ACE_CHECK_LACKS_FUNCS(pipe) - -ACE_CHECK_LACKS_FUNCS(qsort) - -ACE_CHECK_LACKS_FUNCS(realpath) - -ACE_CHECK_LACKS_FUNCS(setegid seteuid setgid) - -ACE_CHECK_LACKS_FUNCS([setpgid]) -if test "$ac_cv_func_setpgid" = yes; then - dnl Check if _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED macros are - dnl needed to make the setpgid() prototype visible. - ACE_CACHE_CHECK([for setpgid prototype], - [ace_cv_lib_has_setpgid_prototype], - [ - ace_save_CPPFLAGS="$CPPFLAGS" - ace_no_xopen="-U_XOPEN_SOURCE -U_XOPEN_SOURCE_EXTENDED" - CPPFLAGS="$CPPFLAGS $ace_no_xopen" - AC_EGREP_HEADER([[^_]+setpgid], [unistd.h], - [ - ace_cv_lib_has_setpgid_prototype=yes - ], - [ - ace_cv_lib_has_setpgid_prototype=no - ]) - dnl Reset the compiler flags - CPPFLAGS="$ace_save_CPPFLAGS" - ],, [AC_DEFINE([ACE_LACKS_SETPGID_PROTOTYPE])]) - AH_TEMPLATE([ACE_LACKS_SETPGID_PROTOTYPE], - [Define to 1 if platform lacks setpgid() declaration in .]) -fi - -ACE_CHECK_HAS_FUNCS([setprogname]) - -ACE_CHECK_LACKS_FUNCS([setregid]) -if test "$ac_cv_func_setregid" = yes; then - dnl Check if _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED macros are - dnl needed to make the setregid() prototype visible. - ACE_CACHE_CHECK([for setregid prototype], - [ace_cv_lib_has_setregid_prototype], - [ - ace_save_CPPFLAGS="$CPPFLAGS" - ace_no_xopen="-U_BSD_SOURCE -U_XOPEN_SOURCE -U_XOPEN_SOURCE_EXTENDED" - CPPFLAGS="$CPPFLAGS $ace_no_xopen" - AC_EGREP_HEADER([[^_]+setregid], [unistd.h], - [ - ace_cv_lib_has_setregid_prototype=yes - ], - [ - ace_cv_lib_has_setregid_prototype=no - ]) - dnl Reset the compiler flags - CPPFLAGS="$ace_save_CPPFLAGS" - ],, [AC_DEFINE([ACE_LACKS_SETREGID_PROTOTYPE])]) - AH_TEMPLATE([ACE_LACKS_SETREGID_PROTOTYPE], - [Define to 1 if platform lacks setregid() declaration in .]) -fi - -ACE_CHECK_LACKS_FUNCS([setreuid]) -if test "$ac_cv_func_setreuid" = yes; then - dnl Check if _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED macros are - dnl needed to make the setreuid() prototype visible. - ACE_CACHE_CHECK([for setreuid prototype], - [ace_cv_lib_has_setreuid_prototype], - [ - ace_save_CPPFLAGS="$CPPFLAGS" - ace_no_xopen="-U_BSD_SOURCE -U_XOPEN_SOURCE -U_XOPEN_SOURCE_EXTENDED" - CPPFLAGS="$CPPFLAGS $ace_no_xopen" - AC_EGREP_HEADER([[^_]+setreuid], [unistd.h], - [ - ace_cv_lib_has_setreuid_prototype=yes - ], - [ - ace_cv_lib_has_setreuid_prototype=no - ]) - dnl Reset the compiler flags - CPPFLAGS="$ace_save_CPPFLAGS" - ],, [AC_DEFINE([ACE_LACKS_SETREUID_PROTOTYPE])]) - AH_TEMPLATE([ACE_LACKS_SETREUID_PROTOTYPE], - [Define to 1 if platform lacks setreuid() declaration in .]) -fi - -ACE_CHECK_LACKS_FUNCS(setsid setuid) - -ACE_CHECK_LACKS_FUNCS(sigaction) - -ACE_CHECK_HAS_FUNCS(strnlen) -if test "$ac_cv_func_strnlen" = yes; then - AC_CHECK_DECL([strnlen], - [], - [AC_DEFINE([ACE_LACKS_STRNLEN_PROTOTYPE], 1, - [Define to 1 if platform lacks the declaration - of strnlen().])], - [#include ]) -fi - -ACE_CHECK_HAS_FUNCS(strsignal) - -ACE_CHECK_LACKS_FUNCS(strchr) - -ACE_CHECK_LACKS_FUNCS(strerror) - -ACE_CHECK_LACKS_FUNCS(strftime) - -ACE_CHECK_LACKS_FUNCS(strpbrk) - -ACE_CHECK_LACKS_FUNCS(strrchr) - -ACE_CHECK_LACKS_FUNCS(strspn) - -ACE_CHECK_LACKS_FUNCS(strtod) - -ACE_CHECK_LACKS_FUNCS(strtol) - -ACE_FUNC_STRTOLL - -ACE_CHECK_LACKS_FUNCS(strtoul) - -ACE_FUNC_STRTOULL - -# swab() comes in a number of forms: -# swab (const void*, void*, size_t) is POSIX, XPG4, SUS, SUSv2 standard. -# swab (const char*, char*, size_t) is SVID third edition. -# swab (char*, char*, size_t) is on some odd platforms like Windows. -# So, if swab() is available, figure out which of the three variants it is. -# The second and third have ACE config settings. -ACE_CHECK_LACKS_FUNCS([swab], - [ - AC_LINK_IFELSE([ - AC_LANG_PROGRAM([ -#include -#include - ], - [ -// If this compiles, we have the POSIX, XPG4, etc. standard. -const char src[2] = {'a', 'b'}; -char dst[2]; -const void *vsrc = src; -void *vdst = dst; -swab (vsrc, vdst, 2); - ]) - ], - [ - ace_cv_std_swab=yes - ], - [ - AC_LINK_IFELSE([ - AC_LANG_PROGRAM([ -#include -#include - ], - [ -// If this compiles, we have the SVID3 version, else it's the odd, -// non-const one. -const char src[2] = {'a', 'b'}; -char dst[2]; -swab (src, dst, 2); - ]) - ], - [ - AC_DEFINE([ACE_HAS_CONST_CHAR_SWAB]) - ], - [ - AC_DEFINE([ACE_HAS_NONCONST_SWAB]) - ]) - ]) - ], -) - -ACE_CHECK_LACKS_FUNCS(sysconf) - -ACE_CHECK_HAS_FUNCS(sysctl) - -ACE_CHECK_FUNC_SYSINFO - -ACE_CHECK_LACKS_FUNCS(system) - -AC_CHECK_FUNC([getmsg], - [ - AC_RUN_IFELSE([AC_LANG_SOURCE([[ -#ifndef ACE_LACKS_UNISTD_H -# include -#endif /* !ACE_LACKS_UNISTD_H */ - -#ifndef ACE_LACKS_SYS_IOCTL_H -# include -#endif /* ACE_LACKS_SYS_IOCTL_H */ - -#ifdef ACE_HAS_STREAMS -# include -#endif /* ACE_HAS_STREAMS */ - -int -main () -{ - int fds[2]; - - if (pipe (fds) != 0) - return -1; - -/* - * Verify that we can actually set a STREAM option that ACE uses. - * This is particularly necessary for platforms where compiling and - * linking succeed but fail at run-time due to a missing actual - * STREAMS implementation. For example, Linux/glibc requires a - * STREAMS patch/add-on. - */ - - int arg = RMSGN; - - if (ioctl (fds[0], I_SRDOPT, (void *) arg) != 0) - return -1; - - return 0; -} - ]])],[ - AC_DEFINE([ACE_HAS_STREAM_PIPES]) - ],[],[ - dnl action if cross-compiling - AC_DEFINE([ACE_HAS_STREAM_PIPES]) - ]) - ],) - -AC_CHECK_FUNC([gethostbyaddr],,) - -if test "$cross_compiling" != yes; then -case "$host" in - *linux*) - dnl Linux Event Poll - ACE_CACHE_CHECK([for epoll_create], - [ace_cv_linux_event_poll], - [ - AC_RUN_IFELSE([ - AC_LANG_PROGRAM([ -#include - ], - [ -int const ACE_NUM_DESCRIPTORS = 10; -return epoll_create (ACE_NUM_DESCRIPTORS) == -1 ? -1 : 0; - ]) - ], - [ - ace_cv_linux_event_poll=yes - ], - [ - ace_cv_linux_event_poll=no - ]) - ], - [ - AC_DEFINE([ACE_HAS_EVENT_POLL]) - ], - []) - ;; - *) - dnl Check if /dev/poll character device file exists and is - dnl useable. Just because /dev/poll is present doesn't mean its - dnl useable - this is the case on HP-UX 11. /dev/poll is there, but - dnl getting it to work requires a set of patches. - AC_RUN_IFELSE([ - AC_LANG_SOURCE([[ -#include -#include - -int -main () -{ - int fd = open ("/dev/poll", O_RDWR); - close (fd); - return fd == -1 ? -1 : 0; -} - ]])], - [ - AC_DEFINE([ACE_HAS_DEV_POLL]) - ], - [], - []) - ;; -esac -fi - -AC_CHECK_FUNC([gethrtime]) -if test $ac_cv_func_gethrtime = "yes"; then - AC_CHECK_TYPE([hrtime_t], - [AC_DEFINE([ACE_HAS_HI_RES_TIMER], 1, - [Define to 1 if system has SunOS high resolution timer.])], - [], - [#include ]) -fi - -ACE_CHECK_LACKS_FUNCS(readv writev) - -ACE_CHECK_HAS_FUNCS(set_t_errno) - -ACE_CHECK_HAS_FUNCS(sigsuspend sigtimedwait) - -ACE_CHECK_LACKS_FUNCS(socketpair) - -AC_CHECK_FUNC(strptime) -if test "$ac_cv_func_strptime" = yes; then - dnl strptime() is available, but its prototype is not always visible to - dnl the compiler. Check if _XOPEN_SOURCE macro is needed to make the - dnl strptime() prototype visible. - ace_save_CPPFLAGS="$CPPFLAGS" - ace_no_xopen="-U_XOPEN_SOURCE" - CPPFLAGS="$CPPFLAGS $ace_no_xopen" - AC_CHECK_DECL([strptime], - [], - [AC_DEFINE([ACE_LACKS_STRPTIME_PROTOTYPE], 1, - [Define to 1 if platform lacks the declaration - of strptime().])], - [#include ]) - dnl Reset the compiler flags - CPPFLAGS="$ace_save_CPPFLAGS" -else - AC_DEFINE([ACE_LACKS_STRPTIME], 1, - [Define to 1 if platform lacks strptime().]) -fi - -if test "$ac_cv_type_wchar_t" = yes; then - AC_CHECK_FUNC([wcslen], - [AC_DEFINE([ACE_HAS_XPG4_MULTIBYTE_CHAR])],) -fi - -ACE_CHECK_LACKS_FUNCS(syscall) - -AC_CHECK_FUNC([alarm],,) -AC_CHECK_FUNC([signal],,) - -if test "$ac_cv_func_alarm" != yes && - test "$ac_cv_func_signal" != yes; then - AC_DEFINE([ACE_LACKS_UNIX_SIGNALS]) -fi - -AC_CHECK_FUNC([getrlimit]) -AC_CHECK_FUNC([setrlimit]) -if test "$ac_cv_func_getrlimit" != yes || - test "$ac_cv_func_setrlimit" != yes; then - AC_DEFINE([ACE_LACKS_RLIMIT]) -fi - -ACE_CHECK_LACKS_FUNCS(readlink rename recvmsg sendmsg) - -if test "$ac_cv_header_sys_priocntl_h" = yes; then - AC_CHECK_FUNC([priocntl], - [AC_DEFINE([ACE_HAS_PRIOCNTL])],) - -dnl Some platforms define priocntl as a macro! - if test "$ac_cv_func_priocntl" = no; then - ACE_CACHE_CHECK([for priocntl macro], - [ace_cv_lib_has_priocntl_macro], - [ - AC_EGREP_CPP([ACE_PRIOCNTL_MACRO], - [ -#include - -#if defined (priocntl) - ACE_PRIOCNTL_MACRO -#endif - ], - [ - ace_cv_lib_has_priocntl_macro=yes - ], - [ - ace_cv_lib_has_priocntl_macro=no - ]) - ], [AC_DEFINE([ACE_HAS_PRIOCNTL])],) - fi dnl test "$ac_cv_func_priocntl" = no -fi dnl test "$ac_cv_header_sys_priocntl_h" = yes - -dnl FIXME: How do we check for a working sbrk()? Do we need to? -ACE_CHECK_LACKS_FUNCS(sbrk) - -ACE_CHECK_HAS_FUNCS(ualarm) -if test $ac_cv_func_ualarm = yes; then - AC_CHECK_DECL([ualarm], - [], - [AC_DEFINE([ACE_LACKS_UALARM_PROTOTYPE], 1, - [Define to 1 if platform lacks the declaration - of ualarm().])], - [#include ]) -fi - -ACE_CHECK_LACKS_FUNCS(umask) - -ACE_CHECK_LACKS_FUNCS(uname) - -ACE_CHECK_LACKS_FUNCS(unlink) - -ACE_CHECK_HAS_FUNCS(vasprintf vaswprintf vfwprintf vswprintf) - -ACE_CHECK_HAS_FUNCS(wcsnlen) - -ACE_CHECK_LACKS_FUNCS(fgetws fputws isblank iswblank isctype iswctype itow towlower towupper wcscat wcschr wcscmp wcscpy wcscspn wcslen wcsncat wcsncmp wcsncpy wcsnicmp wcspbrk wcsrchr wcsspn wcsstr wcstod) - -ACE_CHECK_LACKS_FUNCS(wcstok) -if test "$ac_cv_func_wcstok" = yes; then -dnl The wcstok() function varies with standards. Check which one we have. -AC_MSG_CHECKING([for 2- or 3-param wcstok]) -AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#include - ]], - [[ - wchar_t str[] = L"junk"; - const wchar_t delim[] = L"\t\n"; - wchar_t *ptr; - wchar_t *p = wcstok (str, delim, &ptr); - ]])], - [ - AC_DEFINE([ACE_HAS_3_PARAM_WCSTOK], 1, - [Define to 1 if platform has 3 parameter wcstok()]) - AC_MSG_RESULT([3]) - ], - [ - AC_MSG_RESULT([2]) - ]) -fi dnl test "$ac_cv_func_wcstok" = yes - -ACE_CHECK_LACKS_FUNCS(wcstol) - -ACE_FUNC_WCSTOLL - -ACE_CHECK_LACKS_FUNCS(wcstoul) - -ACE_FUNC_WCSTOULL - -dnl Check for SYSV IPC functions -dnl -dnl Although Darwin/OS X does not implement any of the SysV IPC API, -dnl its C library contains stubs for all the system calls (probably -dnl left over from the BSD libc). This causes false positives from -dnl AC_CHECK_FUNC which results in configure reporting that SysV IPC -dnl is supported. We avoid this problem by avoiding the function -dnl checks if the cooresponding headers were not detected earlier. -dnl -if test "$ac_cv_header_sys_msg_h" = yes; then - AC_CHECK_FUNC([msgctl],,) - - AC_CHECK_FUNC([msgget],,) - - AC_CHECK_FUNC([msgrcv],,) -fi dnl test "$ac_cv_header_sys_msg_h" = yes - -if test "$ac_cv_header_sys_sem_h" = yes; then - AC_CHECK_FUNC([semctl],,) - - AC_CHECK_FUNC([semget],,) - - AC_CHECK_FUNC([semop],,) -fi dnl test "$ac_cv_header_sys_sem_h" = yes - -if test "$ac_cv_header_sys_shm_h" = yes; then - AC_CHECK_FUNC([shmat],,) - - AC_CHECK_FUNC([shmctl],,) - - AC_CHECK_FUNC([shmdt],,) - - AC_CHECK_FUNC([shmget],,) -fi dnl test "$ac_cv_header_sys_shm_h" = yes - -dnl End check for SYSV IPC functions - -AC_CHECK_FUNC([read_real_time], - [AC_DEFINE([ACE_HAS_AIX_HI_RES_TIMER])],) - -dnl See shm_open() test after this one ... -dnl AC_CHECK_FUNC([shm_open], [AC_DEFINE([ACE_HAS_SHM_OPEN])],) - -dnl Use a more comprehensive test for shm_open() since the prototype -dnl may not be visible on all platforms without enabling POSIX.1b -dnl support (e.g. when the user defines _POSIX_C_SOURCE > 2). -AC_MSG_CHECKING([for shm_open]) -AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include -#include - ]], - [[ - const char name[] = "Foo"; - const int oflag = O_RDONLY; - const mode_t mode = 0400; /* Whatever */ - const int fd = shm_open (name, oflag, mode); - ]])], - [ - AC_DEFINE([ACE_HAS_SHM_OPEN]) - AC_MSG_RESULT([yes]) - - dnl Now see if running it requires a leading slash. - ACE_CACHE_CHECK([if shm_open requires one slash], - [ace_cv_shm_open_requires_one_slash], - [ - AC_RUN_IFELSE([AC_LANG_SOURCE([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include -#include -#include - -int main (int argc, char *argv[]) -{ - const char name[] = "ACE_Foo"; - const char name2[] = "/ACE_Foo"; - const int oflag = O_RDWR | O_CREAT; - const mode_t mode = 0400; /* Whatever */ - int fd = shm_open (name, oflag, mode); - if (fd != -1) - { - close (fd); - shm_unlink (name); - return 1; /* Don't need the slash */ - } - fd = shm_open (name2, oflag, mode); - if (fd != -1) - { - close (fd); - shm_unlink (name2); - return 0; - } - return 1; /* Nothing worked, so say 'no' */ -} - ]])],[ - ace_cv_shm_open_requires_one_slash=yes - ],[ - ace_cv_shm_open_requires_one_slash=no - ],[ - dnl action if cross-compiling - ace_cv_shm_open_requires_one_slash=no - ]) - ],AC_DEFINE([ACE_SHM_OPEN_REQUIRES_ONE_SLASH]),) - ], - [ - AC_MSG_RESULT([no]) - ]) - -dnl if test "$ace_cv_shm_open_requires_one_slash" = yes; then -dnl AC_DEFINE([ACE_SHM_OPEN_REQUIRES_ONE_SLASH]) -dnl fi - -ACE_CHECK_LACKS_FUNCS(vsnprintf) - -ACE_CHECK_LACKS_FUNCS(tempnam truncate) - -dnl Save the cache for debugging purposes -AC_CACHE_SAVE - -dnl Check for POSIX Semaphore functions -dnl We only check for a few of them since some platforms don't have these. -dnl On some platforms, a separate library is required, so use AC_SEARCH_LIBS -dnl instead of AC_CHECK_FUNC. This will add any needed library to LIBS. -AC_SEARCH_LIBS([sem_init],rt,[ace_cv_func_sem_init=yes],,) -AC_SEARCH_LIBS([sem_destroy],rt,[ace_cv_func_sem_destroy=yes],,) - -if test "$ace_cv_func_sem_init" = yes && - test "$ace_cv_func_sem_destroy" = yes && - test "$ac_cv_type_sem_t" = yes; then - -dnl Only enable POSIX semaphore support if process shared semaphores -dnl are supported. Presumably process shared semaphores are only -dnl available if the _POSIX_THREAD_PROCESS_SHARED macro is defined by -dnl the platform. - AC_EGREP_CPP([WE_HAVE_SHARED_POSIX_SEMAPHORES], - [ -#ifndef _REENTRANT -#define _REENTRANT -#endif - -#ifndef _THREAD_SAFE -#define _THREAD_SAFE -#endif - -#ifndef ACE_LACKS_UNISTD_H -# include /* needed for _POSIX_THREAD_PROCESS_SHARED */ -#endif - -#include -#include - -#if defined (_POSIX_THREAD_PROCESS_SHARED) -WE_HAVE_SHARED_POSIX_SEMAPHORES -#endif - ], - [ - AC_DEFINE([ACE_HAS_POSIX_SEM]) - - AC_CHECK_FUNC([sem_open]) - AC_CHECK_FUNC([sem_close]) - AC_CHECK_FUNC([sem_unlink]) - if test "$ac_cv_func_sem_open" = no || - test "$ac_cv_func_sem_close" = no || - test "$ac_cv_func_sem_unlink" = no; then - - AC_DEFINE([ACE_LACKS_NAMED_POSIX_SEM]) - else - dnl Check if it works! For example, in glibc 2.x sem_open exists - dnl but it appears to be a stub. However, it isn't listed as a - dnl stub in so the configure script thinks it is - dnl implemented! - ACE_CACHE_CHECK([if sem_open works], - [ace_cv_sem_open_works], - [ - AC_RUN_IFELSE([AC_LANG_SOURCE([[ -#ifndef ACE_LACKS_SYS_TYPES_H -#include -#endif - -#include -#include - -#include /* for definition of "NULL" */ - -#include - -#ifndef SEM_FAILED -# define SEM_FAILED ((sem_t *) -1) -#endif - -int -main () -{ - sem_t *s = 0; - - s = sem_open ("ace_semaphore_foo", O_CREAT | O_EXCL, 0600, 1); - if (s == SEM_FAILED) - return -1; /* FAILURE */ - - sem_unlink ("ace_semaphore_foo"); - if (sem_close (s) != 0) - return -1; /* Something went wrong! */ - - return 0; -} - ]])],[ - ace_cv_sem_open_works=yes - ],[ - ace_cv_sem_open_works=no - ],[ - dnl action if cross-compiling - ace_cv_sem_open_works=yes - ]) - ],, [AC_DEFINE([ACE_LACKS_NAMED_POSIX_SEM])]) - fi - ],) - -fi dnl check for POSIX Semaphore functions - -dnl If we have POSIX semaphores available, check to see if we also have -dnl the timed wait capability. -if test "$ac_cv_func_sem_open" = yes && - test "$ac_cv_func_sem_close" = yes && - test "$ac_cv_func_sem_unlink" = yes; then - dnl Check if sem_timedwait() works - often it compiles and will run - dnl but if called return ENOTSUP. In that case, we don't want it. - ACE_CACHE_CHECK([if sem_timedwait works], - [ace_cv_sem_timedwait_works], - [ - AC_RUN_IFELSE([AC_LANG_SOURCE([[ -#ifndef ACE_LACKS_SYS_TYPES_H -#include -#endif - -#include -#include -#include -#include /* for definition of "NULL" */ -#if !defined (ACE_LACKS_ERRNO_H) -# include -#endif -#include - -#ifndef SEM_FAILED -# define SEM_FAILED ((sem_t *) -1) -#endif - -int -main () -{ - sem_t *s = 0; - struct timespec tmo; - int status = 0; - s = sem_open ("ace_semaphore_foo", O_CREAT, 0600, 1); - if (s == SEM_FAILED) - return -1; /* FAILURE */ - - /* Don't care about the time, only whether the call works */ - tmo.tv_sec = 0; - tmo.tv_nsec = 0; - if (sem_timedwait (s, &tmo) == -1) - { - if (errno == ENOTSUP) - status = -1; - } - else - sem_post (s); - - sem_unlink ("ace_semaphore_foo"); - sem_close (s); - - return status; -} - ]])],[ - ace_cv_sem_timedwait_works=yes - ],[ - ace_cv_sem_timedwait_works=no - ],[ - dnl action if cross-compiling - ace_cv_sem_timedwait_works=yes - ]) - ], - [AC_DEFINE([ACE_HAS_POSIX_SEM_TIMEOUT])],) -fi - - -dnl The following tests are performed only when the user has enabled -dnl support for threads. - -dnl NOTE: Make sure the thread library is in "LIBS" -dnl (e.g.: LIBS="$LIBS -lpthread") -dnl otherwise the below thread "CHECK_FUNCs" -dnl will not work correctly. -if test "$ace_user_enable_threads" = yes; then - - if test "$ace_has_pthreads" = yes; then -dnl Digital UNIX 4.0 "mangles" the following pthread functions: -dnl pthread_attr_getguardsize_np -dnl pthread_attr_getinheritsched -dnl pthread_attr_getstacksize -dnl pthread_attr_setguardsize_np -dnl pthread_attr_setinheritsched -dnl pthread_attr_setstacksize -dnl pthread_cancel -dnl pthread_cond_broadcast -dnl pthread_cond_destroy -dnl pthread_cond_init -dnl pthread_cond_sig_preempt_int_np -dnl pthread_cond_signal -dnl pthread_cond_signal_int_np -dnl pthread_cond_timedwait -dnl pthread_cond_wait -dnl pthread_create -dnl pthread_delay_np -dnl pthread_detach -dnl pthread_equal -dnl pthread_exit -dnl pthread_get_expiration_np -dnl pthread_getspecific -dnl pthread_join -dnl pthread_lock_global_np -dnl pthread_mutex_destroy -dnl pthread_mutex_init -dnl pthread_mutex_lock -dnl pthread_mutex_trylock -dnl pthread_mutex_unlock -dnl pthread_once -dnl pthread_self -dnl pthread_setspecific -dnl pthread_testcancel -dnl pthread_unlock_global_np -dnl These functions have a double underscore "__" prepended to maintain -dnl backwards compatibility with Pthread Draft 4 functions of the same -dnl name. - - ACE_CHECK_LACKS_FUNCS(pthread_sigmask) - if test $ac_cv_func_pthread_sigmask = yes; then - AC_CHECK_DECL([pthread_sigmask], - [AC_DEFINE([ACE_HAS_PTHREAD_SIGMASK_PROTOTYPE], 1, - [Define to 1 if platform has the declaration - of pthread_sigmask().])], - [], - [#include - #include ]) - fi - - AC_CHECK_FUNC([pthread_key_create], - [AC_DEFINE([ACE_HAS_THREAD_SPECIFIC_STORAGE])], - [ - AC_CHECK_FUNC([pthread_keycreate], - [AC_DEFINE(ACE_HAS_THREAD_SPECIFIC_STORAGE)], - [AC_DEFINE(ACE_HAS_TSS_EMULATION)]) - ]) - - ACE_CHECK_HAS_FUNCS(pthread_condattr_setkind_np) - ACE_CHECK_HAS_FUNCS(pthread_mutexattr_setkind_np) - - dnl Can't use ACE_CHECK_LACKS_FUNCS because the macro doesn't match the - dnl tested function name. - AC_CHECK_FUNC([pthread_condattr_setpshared], - [], - [AC_DEFINE([ACE_LACKS_CONDATTR_PSHARED], 1, - [Define to 1 if system lacks pthread_condattr_setpshared()])]) - - dnl ACE_CHECK_LACKS_FUNCS(pthread_attr_setstack) - dnl Can't use ACE_CHECK_LACKS_FUNCS because the lower-down AC macros build - dnl a program with a stubbed-out pthread_attr_setstack(), avoiding the need - dnl to see pthread_attr_setstack() in pthreads.h. This is usually not a - dnl problem since the link will fail. However, on HP-UX 11iv2 there is a - dnl pthread_attr_setstack() in libpthread, but not in the header. Thus, - dnl the test passes, but ACE build fails. Don't hack in use of this until - dnl HP sees fit to include it in pthread.h (which it does at 11iv3). - AC_MSG_CHECKING([for pthread_attr_setstack]) - AH_TEMPLATE([ACE_LACKS_PTHREAD_ATTR_SETSTACK], - [Define to 1 if platform lacks pthread_attr_setstack()]) - AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#include - ]], - [[ - pthread_attr_t attr; - void *stack; - size_t size; - pthread_attr_setstack (&attr, stack, size); - ]])], - [ - AC_MSG_RESULT([yes]) - ], - [ - AC_MSG_RESULT([no]) - AC_DEFINE([ACE_LACKS_PTHREAD_ATTR_SETSTACK]) - ]) - - ACE_CHECK_LACKS_FUNCS(pthread_attr_setstackaddr) - ACE_CHECK_LACKS_FUNCS(pthread_attr_setstacksize) - - ACE_CHECK_FUNC([pthread_cancel], [pthread.h], - [ - dnl Make sure the prototype actually exists. Some platforms, - dnl such as FreeBSD 4, appear to have a missing prototype. If - dnl the prototype is missing, then don't use pthread_cancel. - dnl Creating a prototype for it in ACE is probably a bad idea. - - ace_save_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $ACE_THR_CPPFLAGS" - - AC_EGREP_HEADER([pthread_cancel], [pthread.h],, - [ - AC_DEFINE([ACE_LACKS_PTHREAD_CANCEL]) - ]) - - dnl Reset the preprocessor flags - CPPFLAGS="$ace_save_CPPFLAGS" - ], - [ - AC_DEFINE([ACE_LACKS_PTHREAD_CANCEL]) - ]) - - ACE_CHECK_LACKS_FUNCS(pthread_yield) - ACE_CHECK_LACKS_FUNCS(pthread_thr_sigsetmask) - - AC_CHECK_FUNC([pthread_attr_setdetachstate], - , - [AC_DEFINE([ACE_LACKS_SETDETACH])]) - - dnl ACE currently doesn't provide enough fine grained control over - dnl these functions so both must be present in order to prevent - dnl ACE_LACKS_SETSCHED from being defined. - AC_CHECK_FUNC([sched_setscheduler], - [ - AC_CHECK_FUNC([pthread_attr_setschedpolicy],, - [AC_CHECK_FUNC([pthread_attr_setsched],, - [AC_DEFINE([ACE_LACKS_SETSCHED])])]) - ], - [ - AC_DEFINE([ACE_LACKS_SETSCHED]) - ]) - - AC_CHECK_FUNC([pthread_attr_setscope], - [], - [AC_DEFINE([ACE_LACKS_THREAD_PROCESS_SCOPING])]) - - AC_CHECK_FUNC([pthread_mutexattr_setpshared], - [], - [AC_DEFINE([ACE_LACKS_MUTEXATTR_PSHARED], 1, - [Define to 1 if system lacks pthread_mutexattr_setpshared().])]) - -dnl Check for POSIX Threads Draft 4 functions - AC_CHECK_FUNC([pthread_mutexattr_create],,) - AC_CHECK_FUNC([pthread_mutexattr_delete],,) - AC_CHECK_FUNC([pthread_condattr_delete],,) - AC_CHECK_FUNC([pthread_condattr_create],,) - AC_CHECK_FUNC([pthread_setprio],,) - AC_CHECK_FUNC([pthread_getprio],,) - AC_CHECK_FUNC([pthread_setcancel],,) - AC_CHECK_FUNC([pthread_setasynccancel],,) - AC_CHECK_FUNC([pthread_kill],,) -dnl Check for POSIX Threads Draft 6 functions - AC_CHECK_FUNC([pthread_attr_setprio],,) - AC_CHECK_FUNC([pthread_attr_getprio],,) - AC_CHECK_FUNC([pthread_setintr],,) - AC_CHECK_FUNC([pthread_setintrtype],,) -dnl Check for POSIX threads Draft 6, 7 and Standard common functions - AC_CHECK_FUNC([pthread_mutexattr_init],,) - AC_CHECK_FUNC([pthread_mutexattr_destroy],,) - AC_CHECK_FUNC([pthread_condattr_init],,) - AC_CHECK_FUNC([pthread_condattr_destroy],,) -dnl Check for POSIX Threads Draft 7 and Draft Standard common functions - AC_CHECK_FUNC([pthread_setschedparam],,) - AC_CHECK_FUNC([pthread_getschedparam],,) - AC_CHECK_FUNC([pthread_setcancelstate],,) - AC_CHECK_FUNC([pthread_setcanceltype],,) -dnl Check for POSIX Threads Draft Standard functions -dnl sched_yield() is in the C library or perhaps in "-lposix4." -dnl We need to add other library checks in this script's "check libraries" -dnl section if it is in another library. -dnl AC_CHECK_FUNC(sched_yield,,) -dnl We already check for this during the library checks. - -dnl Check for Unix98 pthreads extensions - AC_CHECK_TYPE([pthread_rwlock_t], - [], - [], - [ -#ifndef ACE_LACKS_SYS_TYPES_H -#include -#endif -#include ]) - - AC_CHECK_TYPE([pthread_rwlockattr_t], - [], - [], - [ -#ifndef ACE_LACKS_SYS_TYPES_H -#include -#endif -#include ]) - - ACE_CHECK_HAS_FUNCS(pthread_continue pthread_continue_np pthread_resume_np pthread_suspend pthread_suspend_np) - ACE_CHECK_HAS_FUNCS(pthread_getconcurrency pthread_setconcurrency) - ACE_CHECK_HAS_FUNCS(pthread_attr_setcreatesuspend_np) - -dnl Don't test for pthread_getaffinity_np() or pthread_setaffinity_np() -dnl if the system doesn't also have cpu_set_t. The functions are almost -dnl certainly incompatible with our wrapper facade, as we use a "dummy" -dnl cpu_set_t defined in ace/os_include/os_sched.h. -if test "$ac_cv_type_cpu_set_t" = yes; then - ACE_CHECK_HAS_FUNCS(pthread_getaffinity_np pthread_setaffinity_np) -fi - -dnl Linux's sched_{set,get}affinity interface has changed three times: -dnl -dnl In glibc 2.3.2, it was: -dnl -dnl int sched_setaffinity(pid_t __pid, -dnl unsigned int __len, unsigned long * __mask); -dnl -dnl In glibc 2.3.3, it was changed to: -dnl -dnl int sched_setaffinity(pid_t __pid, const cpu_set_t* __mask); -dnl -dnl And in glibc ?.?.?, it was changed again to: -dnl -dnl int sched_setaffinity(pid_t __pid, size_t __cpusetsize, -dnl const cpu_set_t* __cpuset); -dnl -dnl The following feature tests attempt to determine which (if any) -dnl version is supported by the system. A further complication is -dnl that the C library may support one version, the kernel may not, -dnl and vice versa. -dnl -dnl As of this writing, ACE's ACE_OS::sched_setaffinity() wrapper -dnl facade implementation only supports the latter two varients. So -dnl if the system doesn't define cpu_set_t, we simply avoid checking -dnl for sched_setaffinity(). No attempt is made to verify C library / -dnl kernel consistency. -dnl -dnl The "right" thing to do is to implement something similar to the -dnl PLPA (Portable Linux Processor Affinity) Library, converting the -dnl arguments and invoking the syscall directly (instead of calling -dnl the C library wrapper). -dnl - -if test "$ac_cv_type_cpu_set_t" = yes; then - - ACE_CHECK_HAS_FUNCS(sched_getaffinity) -if test "$ac_cv_func_sched_getaffinity" = yes; then -dnl The sched_getaffinity() function varies between linux versions -dnl Check which one we have. -AC_MSG_CHECKING([for 2- or 3-param sched_getaffinity]) -AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#if !defined(ACE_LACKS_SYS_TYPES_H) -#include -#endif -#if !defined(ACE_LACKS_SCHED_H) -#include -#endif - ]], - [[ - pid_t pid; - cpu_set_t cpuset; - sched_getaffinity(pid, sizeof(cpuset), &cpuset); - ]])], - [ - AC_MSG_RESULT([3]) - ], - [ - AC_MSG_RESULT([2]) - AC_DEFINE([ACE_HAS_2_PARAM_SCHED_GETAFFINITY], 1, - [Define to 1 if platform has 2 parameter sched_getaffinity()]) - ]) -fi dnl test "$ac_cv_func_sched_getaffinity" = yes - - ACE_CHECK_HAS_FUNCS(sched_setaffinity) -if test "$ac_cv_func_sched_setaffinity" = yes; then -dnl The sched_setaffinity() function varies between linux versions -dnl Check which one we have. -AC_MSG_CHECKING([for 2- or 3-param sched_setaffinity]) -AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#if !defined(ACE_LACKS_SYS_TYPES_H) -#include -#endif -#if !defined(ACE_LACKS_SCHED_H) -#include -#endif - ]], - [[ - pid_t pid; - cpu_set_t cpuset; - sched_setaffinity(pid, sizeof(cpuset), &cpuset); - ]])], - [ - AC_MSG_RESULT([3]) - ], - [ - AC_MSG_RESULT([2]) - AC_DEFINE([ACE_HAS_2_PARAM_SCHED_SETAFFINITY], 1, - [Define to 1 if platform has 2 parameter sched_setaffinity()]) - ]) -fi dnl test "$ac_cv_func_sched_setaffinity" = yes - -fi dnl test "$ac_cv_type_cpu_set_t" = yes - - AC_CHECK_FUNC([pthread_rwlock_init],,) - AC_CHECK_FUNC([pthread_rwlock_destroy],,) - AC_CHECK_FUNC([pthread_rwlock_rdlock],,) - AC_CHECK_FUNC([pthread_rwlock_wrlock],,) - AC_CHECK_FUNC([pthread_rwlock_unlock],,) - AC_CHECK_FUNC([pthread_rwlock_tryrdlock],,) - AC_CHECK_FUNC([pthread_rwlock_trywrlock],,) - AC_CHECK_FUNC([pthread_rwlockattr_init],,) - AC_CHECK_FUNC([pthread_rwlockattr_destroy],,) - AC_CHECK_FUNC([pthread_rwlockattr_setpshared], - [], - [AC_DEFINE([ACE_LACKS_RWLOCKATTR_PSHARED], 1, - [Define to 1 if system lacks pthread_rwlockattr_setpshared().])]) - - if test "$ac_cv_type_pthread_rwlock_t" = yes && - test "$ac_cv_type_pthread_rwlockattr_t" = yes && - test "$ac_cv_func_pthread_rwlock_init" = yes && - test "$ac_cv_func_pthread_rwlock_destroy" = yes && - test "$ac_cv_func_pthread_rwlock_rdlock" = yes && - test "$ac_cv_func_pthread_rwlock_wrlock" = yes && - test "$ac_cv_func_pthread_rwlock_unlock" = yes && - test "$ac_cv_func_pthread_rwlock_tryrdlock" = yes && - test "$ac_cv_func_pthread_rwlock_trywrlock" = yes && - test "$ac_cv_func_pthread_rwlockattr_init" = yes && - test "$ac_cv_func_pthread_rwlockattr_destroy" = yes; then - AC_DEFINE([ACE_HAS_PTHREADS_UNIX98_EXT]) - fi dnl Unix98 pthreads extensions - -dnl Check if platform has thread_self() rather than pthread_self() - ACE_CHECK_FUNC([pthread_self], [pthread.h], - , - [ - AC_CHECK_FUNC([thread_self], - [ - AC_DEFINE([ACE_HAS_THREAD_SELF]) - ],) - ]) - -dnl Check if pthread.h declares an enum with PTHREAD_PROCESS_PRIVATE and -dnl PTHREAD_PROCESS_SHARED values. - ACE_CACHE_CHECK([for PTHREAD_PROCESS_* enumeration in pthread.h], - [ace_cv_lib_pthread_process_enum], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ -/* Undefine PTHREAD_PROCESS_SHARED in case some platforms #define it */ -#undef PTHREAD_PROCESS_SHARED -int foo = PTHREAD_PROCESS_SHARED; - ]])],[ - ace_cv_lib_pthread_process_enum=yes - ],[ - ace_cv_lib_pthread_process_enum=no - ]) - ], - [ - AC_DEFINE([ACE_HAS_PTHREAD_PROCESS_ENUM]) - ],) - -dnl Check if pthread_create requires an extern "C" start routine -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -ACE_CACHE_CHECK([if pthread_create requires an extern "C" start routine], - [ace_cv_lib_pthread_c_func],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - -void *ace_start_routine(void *); - ]], [[ -pthread_create(0, 0, ace_start_routine, 0); - ]])],[ - ace_cv_lib_pthread_c_func=no - ],[ - dnl Check if extern "C" start routine is required. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include - -extern "C" void *ace_start_routine(void *); - ]], - [[ -pthread_create(0, 0, ace_start_routine, 0); - ]])], - [ - ace_cv_lib_pthread_c_func=yes - ], - [ - ace_cv_lib_pthread_c_func=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_HAS_THR_C_FUNC]) - ],) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -dnl Check if pthread_key_create has a standard arg thread destructor -ACE_CACHE_CHECK([if pthread_key_create has std arg thread destructor], - [ace_cv_lib_pthread_stdarg_dest],[ - if test "$ac_cv_func_pthread_key_create" = yes; then - ace_pthread_key_create=pthread_key_create - else - ace_pthread_key_create=pthread_keycreate - fi - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - -void ace_destructor(void *); - ]], [[ -${ace_pthread_key_create}(0, ace_destructor); - ]])],[ - ace_cv_lib_pthread_stdarg_dest=no - ],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include - -void ace_destructor(...); - ]], - [[ -${ace_pthread_key_create}(0, ace_destructor); - ]])], - [ - ace_cv_lib_pthread_stdarg_dest=yes - ], - [ - ace_cv_lib_pthread_stdarg_dest=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_HAS_STDARG_THR_DEST]) - ],) - -dnl Check if pthread_key_create requires an extern "C" start routine -ACE_CONVERT_WARNINGS_TO_ERRORS([ -ACE_CACHE_CHECK([if pthread_key_create requires an extern "C" start routine], - [ace_cv_lib_pthread_c_dest],[ - if test "$ac_cv_func_pthread_key_create" = yes; then - ace_pthread_key_create=pthread_key_create - else - ace_pthread_key_create=pthread_keycreate - fi - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - -void ace_destructor(void *); - ]], [[ -${ace_pthread_key_create}(0, ace_destructor); - ]])],[ - ace_cv_lib_pthread_c_dest=no - ],[ - dnl Check if extern "C" start routine is required. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include - -extern "C" void ace_destructor(void *); - ]], - [[ -${ace_pthread_key_create}(0, ace_destructor); - ]])], - [ - ace_cv_lib_pthread_c_dest=yes - ], - [ - ace_cv_lib_pthread_c_dest=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_HAS_THR_C_DEST]) - ],) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - - -AC_CHECK_FUNC([sched_get_priority_min],, - [ -dnl Check if the PTHREAD_MIN_PRIORITY constant exists. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - int p = (int) PTHREAD_MIN_PRIORITY; - ]]) - ], - [ - dnl Since we have PTHREAD_MIN_PRIORITY, denote that PX_PRIO_MIN - dnl should not be used. - ace_has_px_prio_min=no - ], - [ - dnl PTHREAD_MIN_PRIORITY doesn't appear to be defined, so - dnl check if the platform defines PX_PRIO_MIN, instead. - - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - int p = (int) PX_PRIO_MIN; - ]])], - [ - ace_has_px_prio_min=yes - ], - [ - ace_has_px_prio_min=no - ]) - ]) - ]) - - if test "$ace_has_px_prio_min" = yes; then - AC_DEFINE([PTHREAD_MIN_PRIORITY], - [PX_PRIO_MIN], - [Minimum thread priority]) - fi - -AC_CHECK_FUNC([sched_get_priority_max],, - [ -dnl Check if the PTHREAD_MAX_PRIORITY constant exists. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - int p = (int) PTHREAD_MAX_PRIORITY; - ]]) - ], - [ - dnl Since we have PTHREAD_MAX_PRIORITY, denote that PX_PRIO_MAX - dnl should not be used. - ace_has_px_prio_max=no - ], - [ - dnl PTHREAD_MAX_PRIORITY doesn't appear to be defined, so - dnl check if the platform defines PX_PRIO_MAX, instead. - - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - int p = (int) PX_PRIO_MAX; - ]])], - [ - ace_has_px_prio_max=yes - ], - [ - ace_has_px_prio_max=no - ]) - ]) - ]) - - if test "$ace_has_px_prio_max" = yes; then - AC_DEFINE([PTHREAD_MAX_PRIORITY], - [PX_PRIO_MAX], - [Maximum thread priority]) - fi - - fi dnl test "$ace_has_pthreads" = yes - - if test "$ace_has_sthreads" = yes; then -dnl Only check for these functions if we have the UNIX International -dnl Threads library "thread." - AC_CHECK_FUNC([thr_keycreate], - [AC_DEFINE([ACE_HAS_THREAD_SPECIFIC_STORAGE])], - [AC_DEFINE([ACE_HAS_TSS_EMULATION])]) - - AC_CHECK_FUNC([thr_yield], - [AC_DEFINE([ACE_HAS_THR_YIELD])],) - - AC_CHECK_FUNC([thr_keydelete], - [AC_DEFINE([ACE_HAS_THR_KEYDELETE])],) - - AC_CHECK_FUNC([thr_min_stack],[], - [ - AC_CHECK_FUNC([thr_minstack], - [AC_DEFINE([ACE_HAS_THR_MINSTACK])],) - ]) - - fi dnl test "$ace_has_sthreads" = yes - -fi dnl test "$ace_user_enable_threads" = yes - -dnl -dnl By Eric: -dnl ACE will define a sigwait function if we lie and say we don't have -dnl one. Unfortunately, the ACE function may conflict with our -dnl function, so we'll go ahead and turn this on, even if we are -dnl ignoring threads. -ACE_CHECK_HAS_FUNCS(sigwait) - - -dnl Check for reentrant functions -if test "$ace_user_enable_reentrant_funcs" = yes; then - AC_CHECK_FUNC([rand_r]) - - AC_CHECK_FUNC([strtok_r], - [ - dnl Check if _POSIX_SOURCE macro is needed to make the strtok_r() - dnl prototype visible. - ACE_CACHE_CHECK([for strtok_r prototype], - [ace_cv_lib_has_strtok_r_prototype], - [ - ace_save_CPPFLAGS="$CPPFLAGS" - ace_no_posix="-U_POSIX_SOURCE $ACE_THR_CPPFLAGS" - CPPFLAGS="$CPPFLAGS $ace_no_posix" - AC_EGREP_HEADER([[^_]+strtok_r], [string.h], - [ - ace_cv_lib_has_strtok_r_prototype=yes - ], - [ - ace_cv_lib_has_strtok_r_prototype=no - ]) - dnl Reset the preprocessor flags - CPPFLAGS="$ace_save_CPPFLAGS" - ],, [AC_DEFINE([ACE_LACKS_STRTOK_R_PROTOTYPE])]) - ],) - - AC_CHECK_FUNC([getpwnam_r], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef _REENTRANT -# define _REENTRANT -#endif -#ifndef ACE_LACKS_PWD_H -# include -#endif -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif - ]], - [[ - const char * name = 0; - struct passwd * pwent; - char * buffer = 0; - int buflen; - struct passwd * result = 0; - - int status = getpwnam_r (name, pwent, buffer, buflen, &result); - ]])], - [ - if test "$ace_user_enable_reentrant_funcs" = yes; then - AC_DEFINE([ACE_HAS_POSIX_GETPWNAM_R]) - fi - ], - [ - dnl Nothing to do! - echo - ]), - ],, - [AC_DEFINE([ACE_LACKS_PWD_REENTRANT_FUNCTIONS])]) - - AC_CHECK_FUNC([ctime_r],,) - - AC_CHECK_FUNC([localtime_r],,) - - AC_CHECK_FUNC([gmtime_r],,) - - AC_CHECK_FUNC([asctime_r],,) - - AC_CHECK_FUNC([getprotobyname_r],,) - - AC_CHECK_FUNC([getprotobynumber_r],,) - - AC_CHECK_FUNC([gethostbyaddr_r],,) - - AC_CHECK_FUNC([gethostbyname_r],,) - - AC_CHECK_FUNC([getservbyname_r],,) -fi dnl End checks for reentrant functions - - -ACE_CHECK_LACKS_FUNCS(readdir_r) -if test "$ac_cv_func_readdir_r" = yes; then -dnl The readdir_r() function varies with standards. Check which one we have. -AC_MSG_CHECKING([for 2- or 3-param readdir_r]) -AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[ -#include - ]], - [[ -readdir_r(0, 0, 0); - ]])], - [ - AC_DEFINE([ACE_HAS_3_PARAM_READDIR_R], 1, - [Define to 1 if platform has 3 parameter readdir_r()]) - AC_MSG_RESULT([3]) - ], - [ - AC_MSG_RESULT([2]) - ]) -fi dnl test "$ac_cv_func_readdir" = yes - - -dnl Disabled until we figure out what to do with the comparator -dnl function argument inconsistencies between different platforms. -dnl For example: -dnl int comparator (const void * d1, const void * d2) -dnl instead of: -dnl int comparator (const dirent ** d1, const dirent ** d2) -dnl -dnl ACE_CHECK_HAS_FUNCS([scandir]) - -ACE_CHECK_LACKS_FUNCS(seekdir telldir) - - -dnl -dnl SECTION 11: checks for function characteristics -dnl - -ACE_CONVERT_WARNINGS_TO_ERRORS([ -dnl Check if dlopen takes a char * arg instead of const char * - if test "$ace_has_svr4_dynamic_linking" = yes; then - ACE_CACHE_CHECK([if dlopen takes a char *], - [ace_cv_lib_charptr_dl], - [ - dnl Check if it takes a const char *, first. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - const char *filename = 0; - int flag = 0; - void *ptr = dlopen(filename, flag); - ]])],[ - ace_cv_lib_charptr_dl=no - ],[ - dnl Now check if it takes a non-const char *. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include - ]], - [[ - char *filename = 0; - int flag = 0; - void *ptr = dlopen(filename, flag); - ]])], - [ - ace_cv_lib_charptr_dl=yes - ], - [ - ace_cv_lib_charptr_dl=no - ]) - ]) - ], [AC_DEFINE([ACE_HAS_CHARPTR_DL])],) - fi dnl test "$ace_has_svr4_dynamic_linking" = yes -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -ACE_CONVERT_WARNINGS_TO_ERRORS([ -dnl Check if "getby" functions use a non-const char * argument - if test "$ac_cv_func_gethostbyaddr" = yes; then - ACE_CACHE_CHECK(["getby" functions take a non-const char *], - [ace_cv_lib_nonconst_getby], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - char *addr = 0; - int len = 0; - int type = 0; - struct hostent *mystruct = 0; - - mystruct = gethostbyaddr(name, len, type); - ]])],[ - ace_cv_lib_nonconst_getby=yes - ],[ - ace_cv_lib_nonconst_getby=no - ]) - ], [AC_DEFINE([ACE_HAS_NONCONST_GETBY])],) - fi dnl test "$ac_cv_func_gethostbyaddr" = yes -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -dnl Check if new throws exception upon failure -if test "$ace_user_enable_exceptions" = yes; then - ACE_CACHE_CHECK([if new throws std::bad_alloc exception on failure], - [ace_cv_new_throws_bad_alloc_exception], - [ - AC_RUN_IFELSE([AC_LANG_SOURCE([[ -#if defined (ACE_HAS_NEW_NO_H) -# include -#elif defined (ACE_HAS_NEW_H) -# include -#endif - -#if defined (ACE_HAS_STDEXCEPT_NO_H) -# include -#elif defined (ACE_HAS_EXCEPTION_H) -# include -#endif - -/* We already checked for ACE_LACKS_NUMERIC_LIMITS */ -#if !defined ACE_LACKS_NUMERIC_LIMITS -#include -#endif - -/* We already checked for ACE_LACKS_SYS_RESOURCE_H */ -#if !defined ACE_LACKS_SYS_RESOURCE_H -#include -#endif - - int main(int, char *[]) { -#if defined ACE_LACKS_NUMERIC_LIMITS - const size_t ALLOC_SIZE = 2 * 1024 * 1024 * 1024; -#else - const size_t ALLOC_SIZE = std::numeric_limits::max () / 2; -#endif - -#if !defined (ACE_LACKS_RLIMIT) - /* set memory limit to the allocation size, so this test - should terminate on the first iteration. */ - struct rlimit rlimit; - if (getrlimit(RLIMIT_DATA, &rlimit) == 0) { - rlimit.rlim_cur = ALLOC_SIZE; - setrlimit(RLIMIT_DATA, &rlimit); - } -#endif - - while (1) { - try { - char *a = new char[ALLOC_SIZE]; - if (a == 0) { - return 1; /* new() does NOT throw exceptions */ - } - } - -#ifdef ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB - catch (std::bad_alloc) -#else - catch (bad_alloc) -#endif /* ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB */ - { - return 0; /* new() does throw exceptions */ - } - }; - - return 1; /* ERROR: We shouldn't get this far! */ - } - ]])],[ - ace_cv_new_throws_bad_alloc_exception=yes - ],[ - ace_cv_new_throws_bad_alloc_exception=no - ],[ - ace_cv_new_throws_bad_alloc_exception=no - ]) - ], [AC_DEFINE([ACE_NEW_THROWS_EXCEPTIONS])],) - - if test "$ace_cv_new_throws_bad_alloc_exception" != yes; then - ACE_CACHE_CHECK([if new throws xalloc exception on failure], - [ace_cv_new_throws_xalloc_exception], - [ - AC_RUN_IFELSE([AC_LANG_SOURCE([[ -#if defined (ACE_HAS_NEW_NO_H) -# include -#elif defined (ACE_HAS_NEW_H) -# include -#endif - -#if defined (ACE_HAS_STDEXCEPT_NO_H) -# include -#elif defined (ACE_HAS_EXCEPTION_H) -# include -#endif - -/* We already checked for ACE_LACKS_NUMERIC_LIMITS */ -#if !defined ACE_LACKS_NUMERIC_LIMITS -#include -#endif - -/* We already checked for ACE_LACKS_SYS_RESOURCE_H */ -#if !defined ACE_LACKS_SYS_RESOURCE_H -#include -#endif - - - int main(int, char *[]) { -#if defined ACE_LACKS_NUMERIC_LIMITS - const size_t ALLOC_SIZE = 2 * 1024 * 1024 * 1024; -#else - const size_t ALLOC_SIZE = std::numeric_limits::max () / 2; -#endif - -#if !defined (ACE_LACKS_RLIMIT) - /* set memory limit to the allocation size, so this test - should terminate on the first iteration. */ - struct rlimit rlimit; - if (getrlimit(RLIMIT_DATA, &rlimit) == 0) { - rlimit.rlim_cur = ALLOC_SIZE; - setrlimit(RLIMIT_DATA, &rlimit); - } -#endif - - while (1) { - try { - char *a = new char[ALLOC_SIZE]; - if (a == 0) { - return 1; /* new() does NOT throw exceptions */ - } - } - - catch (xalloc) - { - return 0; /* new() does throw exceptions */ - } - }; - - return 1; /* ERROR: We shouldn't get this far! */ - } - ]])],[ - ace_cv_new_throws_xalloc_exception=yes - ],[ - ace_cv_new_throws_xalloc_exception=no - ],[ - ace_cv_new_throws_xalloc_exception=no - ]) - ], [AC_DEFINE([ACE_NEW_THROWS_EXCEPTIONS])],) - fi dnl ace_cv_new_throws_bad_alloc_exceptions = no -fi dnl $ace_user_enable_exceptions = yes - -AC_CACHE_CHECK([if compiler supports new(std::nothrow)], - [ace_cv_has_new_nothrow], - [AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ -#if defined (ACE_HAS_NEW_NO_H) -# include -#elif defined (ACE_HAS_NEW_H) -# include -#endif - -int main(int, char*[]) { - int *foo; - -#ifdef ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB - foo = new (std::nothrow) int; -#else - foo = new (nothrow) int; -#endif /* ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB */ -}]])], [ - ace_cv_has_new_nothrow=yes - ],[ - ace_cv_has_new_nothrow=no - ])]) -if test $ace_cv_has_new_nothrow = yes; then - AC_DEFINE([ACE_HAS_NEW_NOTHROW]) -fi - -ACE_CONVERT_WARNINGS_TO_ERRORS([ -dnl Check if putmsg takes a const struct strbuf * -dnl If we have getmsg() we can be pretty sure that we have putmsg() - if test "$ac_cv_func_getmsg" = yes || - test "$ac_cv_header_stropts_h" = yes; then - ACE_CACHE_CHECK([if putmsg takes a const struct strbuf*], - [ace_cv_lib_const_strbufptr], - [ - dnl Check if it takes a const struct strbuf *, first. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - int result = 0; - int fd = 0; - const struct strbuf * ace_str = 0; - int flags = 0; - - result = putmsg(fd, ace_str, ace_str, flags); - ]])],[ - ace_cv_lib_const_strbufptr=yes - ],[ - ace_cv_lib_const_strbufptr=no - ]) - ],, [AC_DEFINE([ACE_LACKS_CONST_STRBUF_PTR])]) - fi dnl "$ac_cv_func_getmsg" = yes || "$ac_cv_header_stropts_h" = yes -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -dnl Check if setrlimit() takes an enum as 1st argument -ACE_CHECK_SETRLIMIT_ENUM - -dnl This test fails (i.e. passes when it shouldn't) when compiling with -dnl GCC/G++ since the compiler treats passing a const to a non-const -dnl argument as a warning and not as an error since the const is -dnl simply discarded. To correct this problem, we use "-Werror" which -dnl converts all warnings to errors, whenever we are compiling with -dnl G++. -dnl -Ossama - -dnl Check if getrusage() takes an enum as 1st argument -ACE_CHECK_GETRUSAGE_ENUM - -dnl TODO: This doesn't work. -dnl The compiler in linux just issues a warning, and the test passes!!! -dnl -dnl FIXED by adding "-Werror" to compiler flags when using GNU C++ -dnl -Ossama -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -dnl Check if select takes a const fifth argument (timeval) -ACE_CACHE_CHECK([if select takes a const struct timeval], - [ace_cv_lib_posix_select_const_timeval],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#ifndef ACE_LACKS_UNISTD_H -# include -#endif -#ifndef ACE_LACKS_SYS_SELECT_H -# include -#endif - ]], [[ - int n = 0; - fd_set *readfds = 0; - fd_set *writefds = 0; - fd_set *exceptfds = 0; - const struct timeval* timeout = 0; - select(n, readfds, writefds, exceptfds, timeout); - ]])],[ - ace_cv_lib_posix_select_const_timeval=yes - ],[ - ace_cv_lib_posix_select_const_timeval=no - ]) - ], , [AC_DEFINE([ACE_HAS_NONCONST_SELECT_TIMEVAL])]) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - - -dnl Only run the following tests if the msghdr structure exists. -if test "$ace_cv_struct_msghdr" = yes && - test "$ac_cv_func_sendmsg" = yes; then - ACE_CONVERT_WARNINGS_TO_ERRORS( - [ -dnl Check if sendmsg takes a const 2nd argument - ACE_CACHE_CHECK([if sendmsg omits const qualifier from the msghdr argument], - [ace_cv_lib_nonconst_sendmsg],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - ]], [[ - int s = 0; - const struct msghdr *msg = 0; - unsigned int flags = 0; - - int result = 0; - - result = (int) sendmsg(s, msg, flags); - ]])],[ - ace_cv_lib_nonconst_sendmsg=no - ],[ - ace_cv_lib_nonconst_sendmsg=yes - ]) - ], [AC_DEFINE([ACE_HAS_NONCONST_SENDMSG])],) - ]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS -fi dnl "$ace_cv_struct_msghdr" = yes && $ac_cv_func_sendmsg = yes - - -dnl Only run the following tests if the setrlimit function exists -if test "$ac_cv_func_setrlimit" = yes; then - ACE_CONVERT_WARNINGS_TO_ERRORS( - [ -dnl Check if setrlimit() takes a const pointer as 2nd argument - ACE_CACHE_CHECK([if setrlimit omits const qualifier from the rlimit argument], - [ace_cv_lib_nonconst_setrlimit],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include -#include - ]], [[ - const struct rlimit* rlp = 0; - setrlimit(RLIMIT_CPU, rlp); - ]])],[ - ace_cv_lib_nonconst_setrlimit=no - ],[ - ace_cv_lib_nonconst_setrlimit=yes - ]) - ], [AC_DEFINE([ACE_HAS_NONCONST_SETRLIMIT])]) - ]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS -fi dnl "$ac_cv_func_setrlimit" = yes; then - - -dnl Only run the following tests if the readv function exists -if test "$ac_cv_header_sys_uio_h" = yes && - test "$ac_cv_func_readv" = yes; then - ACE_CONVERT_WARNINGS_TO_ERRORS( - [ -dnl Check if readv omits the const from the iovec argument - ACE_CACHE_CHECK([if readv omits const qualifier from the iovec argument], - [ace_cv_lib_nonconst_readv],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_UNISTD_H -# include -#endif - -#include - ]], [[ - int filedes = 0; - const struct iovec *vector = 0; - size_t count = 0; - - int result = 0; - - result = (int) readv(filedes, vector, count); - ]])],[ - ace_cv_lib_nonconst_readv=no - ],[ - ace_cv_lib_nonconst_readv=yes - ]) - ], [AC_DEFINE([ACE_HAS_NONCONST_READV])],) - ]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS -fi dnl $ac_cv_header_sys_uio_h = yes && $ac_cv_func_writev = yes - - -dnl Only run the following tests if the writev function exists -if test "$ac_cv_header_sys_uio_h" = yes && - test "$ac_cv_func_writev" = yes; then - ACE_CONVERT_WARNINGS_TO_ERRORS( - [ -dnl Check if writev omits the const from the iovec argument - ACE_CACHE_CHECK([if writev omits const qualifier from the iovec argument], - [ace_cv_lib_nonconst_writev],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_UNISTD_H -# include -#endif - -#include - ]], [[ - int filedes = 0; - const struct iovec *vector = 0; - size_t count = 0; - - int result = 0; - - result = (int) writev(filedes, vector, count); - ]])],[ - ace_cv_lib_nonconst_writev=no - ],[ - ace_cv_lib_nonconst_writev=yes - ]) - ], [AC_DEFINE([ACE_HAS_NONCONST_WRITEV])],) - ]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS -fi dnl $ac_cv_header_sys_uio_h = yes && $ac_cv_func_writev = yes - - -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -ACE_CACHE_CHECK([for (struct sockaddr *) msg_name field in msghdr], - [ace_cv_lib_sockaddr_msg_name],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - ]], [[ - msghdr ace_msghdr; - struct sockaddr *addr = 0; - - /* - * Note that some platforms declare msg_name to be a void*, - * in which case this assignment will work. - * Should we _not_ define ACE_HAS_SOCKADDR_MSG_NAME in that - * case? I tend to think it is more appropriate to define - * ACE_HAS_SOCKADDR_MSG_NAME rather than cast addr to a char*, - * as is done in ACE when the macro is not defined. - * -Ossama - */ - ace_msghdr.msg_name = (struct sockaddr *)addr; - ]])],[ - ace_cv_lib_sockaddr_msg_name=yes - ],[ - ace_cv_lib_sockaddr_msg_name=no - ]) - ], [AC_DEFINE([ACE_HAS_SOCKADDR_MSG_NAME])],) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - - -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -ACE_CACHE_CHECK([if setsockopt() takes a void* fourth argument], - [ace_cv_lib_posix_setsockopt_voidp_4], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - ]], [[ - int s = 0; - int level = 0; - int optname = 0; - void* optval = 0; - -#if defined (ACE_HAS_SOCKLEN_T) - socklen_t optlen = 0; -#elif defined (ACE_HAS_SIZET_SOCKET_LEN) - size_t optlen = 0; -#else - int optlen = 0; -#endif - - setsockopt (s, level, optname, optval, optlen); - ]])],[ - ace_cv_lib_posix_setsockopt_voidp_4=yes - ],[ - ace_cv_lib_posix_setsockopt_voidp_4=no - ]) - ], - [ - AC_DEFINE([ACE_HAS_VOIDPTR_SOCKOPT]) - ], - [ - ACE_CACHE_CHECK([if setsockopt() takes a char* fourth argument], - [ace_cv_lib_posix_setsockopt_charp_4], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - ]], [[ - int s = 0; - int level = 0; - int optname = 0; - char* optval = 0; - -#if defined (ACE_HAS_SOCKLEN_T) - socklen_t optlen = 0; -#elif defined (ACE_HAS_SIZET_SOCKET_LEN) - size_t optlen = 0; -#else - int optlen = 0; -#endif - - setsockopt (s, level, optname, optval, optlen); - ]])],[ - ace_cv_lib_posix_setsockopt_charp_4=yes - ],[ - ace_cv_lib_posix_setsockopt_charp_4=no - ]) - ], - [ - AC_DEFINE([ACE_HAS_CHARPTR_SOCKOPT]) - ],) - ]) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -ACE_CACHE_CHECK([if mmap() takes a void* first argument], - [ace_cv_lib_posix_voidptr_mmap],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#ifndef ACE_LACKS_UNISTD_H -# include -#endif -#include - ]], [[ - void *start = 0; - size_t length = 0; - int prot = 0; - int flags = 0; - int fd = 0; - off_t offset = 0; - - void *result = 0; - - result = (void *)mmap(start, length, prot, flags, fd, offset); - ]])],[ - ace_cv_lib_posix_voidptr_mmap=yes - ],[ - ace_cv_lib_posix_voidptr_mmap=no - ]) - ], [AC_DEFINE([ACE_HAS_VOIDPTR_MMAP])],) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -dnl Check if platform has iostream method ipfx() -ACE_CACHE_CHECK([for iostream method ipfx()], - [ace_cv_feature_has_iostream_ipfx],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - cin.ipfx(); - ]])],[ - ace_cv_feature_has_iostream_ipfx=yes - ],[ - ace_cv_feature_has_iostream_ipfx=no - ]) - ], , [AC_DEFINE([ACE_LACKS_IOSTREAM_FX])]) - -dnl Check if platform has line-buffered streambufs -ACE_CACHE_CHECK([for line-buffered streambufs], - [ace_cv_feature_has_linebuffered_streambuf],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - cin.rdbuf()->linebuffered(1); - ]])],[ - ace_cv_feature_has_linebuffered_streambuf=yes - ],[ - ace_cv_feature_has_linebuffered_streambuf=no - ]) - ], , [AC_DEFINE([ACE_LACKS_LINEBUFFERED_STREAMBUF])]) - -dnl Check if platform has unbuffered streambufs -ACE_CACHE_CHECK([for unbuffered streambufs], - [ace_cv_feature_has_unbuffered_streambuf],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - cin.rdbuf()->unbuffered(1); - ]])],[ - ace_cv_feature_has_unbuffered_streambuf=yes - ],[ - ace_cv_feature_has_unbuffered_streambuf=no - ]) - ], , [AC_DEFINE([ACE_LACKS_UNBUFFERED_STREAMBUF])]) - - -dnl Check if signal takes a void (*)(int) as second argument -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -ACE_CACHE_CHECK([if signal takes a void (*)(int) as second argument], - [ace_cv_lib_signal_vi1_2],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - typedef void (*SA)(int); - static void handler(int) { } - ]], [[ - SA nn = handler; - signal(SIGINT, nn); - ]])],[ - ace_cv_lib_signal_vi1_2=yes - ],[ - dnl Check if extern "C" signal handler is required. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include -extern "C" - { - typedef void (*SA)(int); - void handler(int) { } - } - ]], - [[ - SA nn = handler; - signal(SIGINT, nn); - ]])], - [ - ace_cv_lib_signal_vi1_2=yes - ], - [ - ace_cv_lib_signal_vi1_2=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_HAS_SIG_C_FUNC]) - ],) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -dnl Check if signal takes a void (*)(void) as second argument -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -ACE_CACHE_CHECK([if signal takes a void (*)(void) as second argument], - [ace_cv_lib_signal_vv1_2],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - typedef void (*SA)(void); - void handler(void) { } - ]], [[ - SA nn = handler; - signal(SIGINT, nn); - ]])],[ - ace_cv_lib_signal_vv1_2=yes - ],[ - dnl Check if extern "C" signal handler is required. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include -extern "C" - { - typedef void (*SA)(void); - void handler(void) { } - } - ]], - [[ - SA nn = handler; - signal(SIGINT, nn); - ]])], - [ - ace_cv_lib_signal_vv1_2=yes - ], - [ - ace_cv_lib_signal_vv1_2=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_HAS_SIG_C_FUNC]) - ]) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -dnl Check if signal takes a void (*)(int, ...) as second argument -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -ACE_CACHE_CHECK([if signal takes a void (*)(int, ...) as second argument], - [ace_cv_lib_signal_vi1a2_2],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - typedef void (*SA)(int, ...); - void handler(int, ...) { } - ]], [[ - SA nn = handler; - signal(SIGINT, nn); - ]])],[ - ace_cv_lib_signal_vi1a2_2=yes - ],[ - dnl Check if extern "C" signal handler is required. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include -extern "C" - { - typedef void (*SA)(int, ...); - void handler(int, ...) { } - } - ]], - [[ - SA nn = handler; - signal(SIGINT, nn); - ]])], - [ - ace_cv_lib_signal_vi1a2_2=yes - ], - [ - ace_cv_lib_signal_vi1a2_2=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_HAS_SIG_C_FUNC]) - ],) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -dnl Check if signal takes a void (*)(...) as second argument -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -ACE_CACHE_CHECK([if signal takes a void (*)(...) as second argument], - [ace_cv_lib_signal_va1_2],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - typedef void (*SA)(...); - void handler(...) { } - ]], [[ - SA nn = handler; - signal(SIGINT, nn); - ]])],[ - ace_cv_lib_signal_va1_2=yes - ],[ - dnl Check if extern "C" signal handler is required. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include -extern "C" - { - typedef void (*SA)(...); - void handler(...) { } - } - ]], - [[ - SA nn = handler; - signal(SIGINT, nn); - ]])], - [ - ace_cv_lib_signal_va1_2=yes - ], - [ - ace_cv_lib_signal_va1_2=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_HAS_SIG_C_FUNC]) - ],) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -dnl Check if signal returns a void (*)(int) -AC_CACHE_CHECK([if signal returns a void (*)(int)], - [ace_cv_lib_signal_vi1_ret],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - -typedef void (*SA)(int); -void foo(SA nn) { } - ]], [[ -SA nn = SIG_DFL; -nn = signal(SIGINT, 0); -foo(nn); - ]])],[ - ace_cv_lib_signal_vi1_ret=yes - ],[ - ace_cv_lib_signal_vi1_ret=no - ]) - ]) - -dnl Check if signal returns a void (*)(void) -AC_CACHE_CHECK([if signal returns a void (*)(void)], - [ace_cv_lib_signal_vv1_ret],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - -typedef void (*SA)(void); -void foo(SA nn) { } - ]], [[ -SA nn = SIG_DFL; -nn = signal(SIGINT, 0); -foo(nn); - ]])],[ - ace_cv_lib_signal_vv1_ret=yes - ],[ - ace_cv_lib_signal_vv1_ret=no - ]) - ]) - -dnl Check if signal returns a void (*)(int, ...) -AC_CACHE_CHECK([if signal returns a void (*)(int, ...)], - [ace_cv_lib_signal_vi1a2_ret],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - -typedef void (*SA)(int, ...); - ]], [[ - SA oo = signal(SIGINT, 0); - ]])],[ - ace_cv_lib_signal_vi1a2_ret=yes - ],[ - ace_cv_lib_signal_vi1a2_ret=no - ]) - ]) - -dnl Check if signal returns a void (*)(...) -AC_CACHE_CHECK([if signal returns a void (*)(...)], - [ace_cv_lib_signal_va1_ret],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - -typedef void (*SA)(...); - ]], [[ - SA oo = signal(SIGINT, 0); - ]])],[ - ace_cv_lib_signal_va1_ret=yes - ],[ - ace_cv_lib_signal_va1_ret=no - ]) - ]) - -if test "$ac_cv_type_struct_sigaction" = yes; then -dnl Check if struct sigaction takes a void (*)(int) handler - AC_CACHE_CHECK([if struct sigaction takes a void (*)(int) handler], - [ace_cv_lib_struct_sigaction_vi1_handler],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - typedef void (*SA)(int); - void foo(struct sigaction* sa, SA nn) { } - ]], [[ - struct sigaction sa; - SA nn = SIG_DFL; - sa.sa_handler = nn; - foo(&sa, nn); - ]])],[ - ace_cv_lib_struct_sigaction_vi1_handler=yes - ],[ - ace_cv_lib_struct_sigaction_vi1_handler=no - ]) - ]) - -dnl Check if struct sigaction takes a void (*)(void) handler - AC_CACHE_CHECK([if struct sigaction takes a void (*)(void) handler], - [ace_cv_lib_struct_sigaction_vv1_handler],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - typedef void (*SA)(void); - void foo(struct sigaction* sa, SA nn) { } - ]], [[ - struct sigaction sa; - SA nn = SIG_DFL; - sa.sa_handler = nn; - foo(&sa, nn); - ]])],[ - ace_cv_lib_struct_sigaction_vv1_handler=yes - ],[ - ace_cv_lib_struct_sigaction_vv1_handler=no - ]) - ]) - -dnl Check if struct sigaction takes a void (*)(int, ...) handler - AC_CACHE_CHECK([if struct sigaction takes a void (*)(int, ...) handler], - [ace_cv_lib_struct_sigaction_vi1a2_handler],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - typedef void (*SA)(int, ...); - void foo(struct sigaction* sa, SA nn) { } - ]], [[ - struct sigaction sa; - SA nn = SIG_DFL; - sa.sa_handler = nn; - foo(&sa, nn); - ]])],[ - ace_cv_lib_struct_sigaction_vi1a2_handler=yes - ],[ - ace_cv_lib_struct_sigaction_vi1a2_handler=no - ]) - ]) - -dnl Check if struct sigaction takes a void (*)(...) handler - AC_CACHE_CHECK([if struct sigaction takes a void (*)(...) handler], - [ace_cv_lib_struct_sigaction_va1_handler],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - typedef void (*SA)(...); - void foo(struct sigaction* sa, SA nn) { } - ]], [[ - struct sigaction sa; - SA nn = SIG_DFL; - sa.sa_handler = nn; - foo(&sa, nn); - ]])],[ - ace_cv_lib_struct_sigaction_va1_handler=yes - ],[ - ace_cv_lib_struct_sigaction_va1_handler=no - ]) - ]) -fi dnl test "$ac_cv_type_struct_sigaction" = yes - -dnl TODO: This doesn't work. -dnl The linux compiler issues a warning regarding the invalid void* -dnl conversion. -dnl -dnl FIXED by adding "-Werror" to compiler flags when using GNU C++ -dnl -Ossama -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -dnl Check if msgsnd() takes a struct msgbuf* second argument -ACE_CACHE_CHECK([if msgsnd() takes a struct msgbuf* second argument], - [ace_cv_lib_posix_msgsnd_msgbufp_2],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -# include -#ifndef ACE_LACKS_SYS_MSG_H -# include -#endif - ]], [[ - int msqid = 0; - struct msgbuf* msgp = 0; - int msgsz = 0; - int msgflg = 0; - msgsnd(msqid, msgp, msgsz, msgflg); - ]])],[ - ace_cv_lib_posix_msgsnd_msgbufp_2=yes - ],[ - ace_cv_lib_posix_msgsnd_msgbufp_2=no - ]) - ], - [ - dnl "ACTIONS-IF-SUCCESSFUL" handled later in configure.in - ], - [ - dnl Check if msgsnd() takes a const void* second argument - ACE_CACHE_CHECK([if msgsnd() takes a const void* second argument], - [ace_cv_lib_posix_msgsnd_cvoidp_2],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -# include -#ifndef ACE_LACKS_SYS_MSG_H -# include -#endif - ]], [[ - int msqid = 0; - const void* msgp = 0; - int msgsz = 0; - int msgflg = 0; - msgsnd(msqid, msgp, msgsz, msgflg); - ]])],[ - ace_cv_lib_posix_msgsnd_cvoidp_2=yes - ],[ - ace_cv_lib_posix_msgsnd_cvoidp_2=no - ]) - ], - [ - dnl Do nothing if msgsnd takes a const void* second argument - ], - [ - dnl If we get this far we presumably have a non-const void* second param - AC_DEFINE([ACE_HAS_NONCONST_MSGSND]) - ]) - ]) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -dnl TODO: This doesn't work. -dnl The linux compiler issues a warning regarding the invalid void* -dnl conversion. -dnl -dnl FIXED by adding "-Werror" to compiler flags when using GNU C++ -dnl -Ossama -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -dnl Check if msgrcv() takes a void* second argument -AC_CACHE_CHECK([if msgrcv() takes a void* second argument], - [ace_cv_lib_posix_msgrcv_voidp_2],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -# include -#ifndef ACE_LACKS_SYS_MSG_H -# include -#endif - ]], [[ - int msqid = 0; - void* msgp = 0; - int msgsz = 0; - long msgtyp = 0; - int msgflg = 0; - msgrcv(msqid, msgp, msgsz, msgtyp, msgflg); - ]])],[ - ace_cv_lib_posix_msgrcv_voidp_2=yes - ],[ - ace_cv_lib_posix_msgrcv_voidp_2=no - ]) - ]) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - - -if test "$ac_cv_func_shmat" = yes; then - dnl TODO: This doesn't work. - dnl The linux compiler issues a warning regarding the invalid void* - dnl conversion. - dnl - dnl FIXED by adding "-Werror" to compiler flags when using GNU C++ - dnl -Ossama - ACE_CONVERT_WARNINGS_TO_ERRORS( - [ - dnl Check if shmat() takes a void* second argument - AC_CACHE_CHECK([if shmat() takes a void* second argument], - [ace_cv_lib_posix_shmat_voidp_2],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #ifndef ACE_LACKS_SYS_TYPES_H - # include - #endif - # include - # include - ]], [[ - int shmid = 0; - void* shmaddr = 0; - int shmflg = 0; - shmat(shmid, shmaddr, shmflg); - ]])],[ - ace_cv_lib_posix_shmat_voidp_2=yes - ],[ - ace_cv_lib_posix_shmat_voidp_2=no - ]) - ]) - ]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - if test "$ace_cv_lib_posix_shmat_voidp_2" = no; then - AC_DEFINE([ACE_HAS_CHARPTR_SHMAT], 1, - [Define to 1 if arg 2 of 'shmat' is char *']) - fi -fi - -if test "$ac_cv_func_shmdt" = yes; then - dnl TODO: This doesn't work. - dnl The linux compiler issues a warning regarding the invalid void* - dnl conversion. - dnl - dnl FIXED by adding "-Werror" to compiler flags when using GNU C++ - dnl -Ossama - ACE_CONVERT_WARNINGS_TO_ERRORS( - [ - dnl Check if shmdt() takes a void* second argument - AC_CACHE_CHECK([if shmdt() takes a void* argument], - [ace_cv_lib_posix_shmdt_voidp],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #ifndef ACE_LACKS_SYS_TYPES_H - # include - #endif - # include - # include - ]], [[ - void* shmaddr = 0; - shmdt(shmaddr); - ]])],[ - ace_cv_lib_posix_shmdt_voidp=yes - ],[ - ace_cv_lib_posix_shmdt_voidp=no - ]) - ]) - ]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - if test "$ace_cv_lib_posix_shmdt_voidp" = no; then - AC_DEFINE([ACE_HAS_CHARPTR_SHMDT], 1, - [Define to 1 if arg 1 of 'shmdt' is char *']) - fi -fi - -dnl TODO: This doesn't work. -dnl The linux compiler issues a warning regarding the invalid void* -dnl conversion. -dnl -dnl FIXED by adding "-Werror" to compiler flags when using GNU C++ -dnl -Ossama -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -dnl Check if sigaction() takes a const* second argument -AC_CACHE_CHECK([if sigaction() takes a const* second argument], - [ace_cv_lib_posix_sigaction_constp_2],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - int signum = 0; - const struct sigaction* act = 0; - struct sigaction* oldact = 0; - sigaction(signum, act, oldact); - ]])],[ - ace_cv_lib_posix_sigaction_constp_2=yes - ],[ - ace_cv_lib_posix_sigaction_constp_2=no - ]) - ]) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -if test "$ace_cv_lib_posix_sigaction_constp_2" = yes; then - AC_DEFINE([ACE_HAS_SIGACTION_CONSTP2]) -fi - -dnl We need to use the ACE_CONVERT_WARNINGS_TO_ERRORS() macro since -dnl passing a void * just caused implicit conversion warnings when -dnl using GNU C++, for example. -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -dnl Check for SVR4 style gettimeofday() -AC_CACHE_CHECK([if gettimeofday() takes a void * second argument], - [ace_cv_lib_voidptr_gettimeofday], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include -#ifndef ACE_LACKS_UNISTD_H -# include -#endif - ]], [[ - struct timeval *tv = 0; - void *tzp = 0; - - gettimeofday(tv, tzp); - ]])],[ - ace_cv_lib_voidptr_gettimeofday=yes - ],[ - ace_cv_lib_voidptr_gettimeofday=no - ]) - ]) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS - -if test "$ace_cv_lib_voidptr_gettimeofday" = no; then -ACE_CONVERT_WARNINGS_TO_ERRORS( -[ -dnl Check for old OSF1 style gettimeofday() - AC_CACHE_CHECK([if gettimeofday() takes a struct timezone * second argument], - [ace_cv_lib_timezone_gettimeofday], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include -#ifndef ACE_LACKS_UNISTD_H -# include -#endif - ]], [[ - struct timeval *tv = 0; - struct timezone *tzp = 0; - - gettimeofday(tv, tzp); - ]])],[ - ace_cv_lib_timezone_gettimeofday=yes - ],[ - ace_cv_lib_timezone_gettimeofday=no - ]) - ]) -]) dnl ACE_CONVERT_WARNINGS_TO_ERRORS -fi dnl test "$ace_cv_lib_voidptr_gettimeofday" = no - -dnl Check for gettimeofday() protoype -if test "$ace_cv_lib_voidptr_gettimeofday" = yes || - test "$ace_cv_lib_timezone_gettimeofday" = yes; then - -AC_CHECK_DECL([gettimeofday], - [ -if test "$ace_cv_lib_voidptr_gettimeofday" = yes; then - AC_DEFINE([ACE_HAS_VOIDPTR_GETTIMEOFDAY]) -else - AC_DEFINE([ACE_HAS_TIMEZONE_GETTIMEOFDAY]) -fi - ],[ -if test "$ace_cv_lib_voidptr_gettimeofday" = yes; then - AC_DEFINE([ACE_HAS_SVR4_GETTIMEOFDAY]) -else - AC_DEFINE([ACE_HAS_OSF1_GETTIMEOFDAY]) -fi - ], - [ -#include -#ifndef ACE_LACKS_UNISTD_H -# include -#endif - ]) - -fi dnl Check for gettimeofday() protoype - - -dnl Check if ctime_r() takes two arguments -if test "$ac_cv_func_ctime_r" = yes; then - ACE_CACHE_CHECK([if ctime_r() takes two arguments], - [ace_cv_lib_posix_ctime_r_2_params], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef _REENTRANT -# define _REENTRANT -#endif - -#include - ]], [[ - const time_t *t = 0; - char *buf; - ctime_r(t, buf); - ]])],[ - ace_cv_lib_posix_ctime_r_2_params=yes - ],[ - ace_cv_lib_posix_ctime_r_2_params=no - ]) - ], [AC_DEFINE([ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R])],) -fi dnl test "$ac_cv_func_ctime_r" = yes - - -dnl -dnl SECTION 12: checks for type characteristics -dnl - -dnl struct msghdr stuff -dnl Only run the following tests if the msghdr structure exists. -if test "$ace_cv_struct_msghdr" = yes; then - - ACE_CACHE_CHECK([if struct msghdr has a msg_accrights member], - [ace_cv_lib_posix_struct_msghdr_has_msg_accrights],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - ]], [[ - msghdr mh; - mh.msg_accrights = 0; - ]])],[ - ace_cv_lib_posix_struct_msghdr_has_msg_accrights=yes - ],[ - ace_cv_lib_posix_struct_msghdr_has_msg_accrights=no - ]) - ]) - - ACE_CACHE_CHECK([if struct msghdr has a msg_accrightslen member], - [ace_cv_lib_posix_struct_msghdr_has_msg_accrightslen],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - ]], [[ - msghdr mh; - mh.msg_accrightslen = 0; - ]])],[ - ace_cv_lib_posix_struct_msghdr_has_msg_accrightslen=yes - ],[ - ace_cv_lib_posix_struct_msghdr_has_msg_accrightslen=no - ]) - ]) - -dnl Check for 4.4 BSD style struct msghdr members -dnl The following test should only be run if the above two testsfail. - if test "$ace_cv_lib_posix_struct_msghdr_has_msg_accrights" = no && - test "$ace_cv_lib_posix_struct_msghdr_has_msg_accrightslen" = no; then - AC_DEFINE([ACE_LACKS_MSG_ACCRIGHTS]) - ACE_CACHE_CHECK([for 4.4 BSD style struct msghdr], - [ace_cv_lib_4_4bsd_msghdr],[ - AC_EGREP_HEADER([msg_control], [sys/socket.h], - [ - ace_cv_lib_4_4bsd_msghdr=yes - ], - [ - ace_cv_lib_4_4bsd_msghdr=no - ]) - ], - [ - AC_DEFINE([ACE_HAS_4_4BSD_SENDMSG_RECVMSG]) - ], - [ - AC_MSG_WARN([No supported msghdr structure was found. ACE may not compile or function properly.]) - ]) - fi - -fi dnl End struct msghdr_stuff - -dnl -dnl SECTION 13: checks for system services -dnl - -dnl Check for open() mode masks -ACE_CACHE_CHECK([for open() mode masks], - [ace_cv_feature_have_open_mode_masks],[ - AC_EGREP_CPP([ACE_OPEN_MODE_MASKS_EXIST], - [ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include - -/* These are ORed so that ACE will not redefine any of them if any of - them exist. */ -#if defined (S_IRWXU) || \ - defined (S_IRUSR) || \ - defined (S_IWUSR) || \ - defined (S_IXUSR) || \ - defined (S_IRWXG) || \ - defined (S_IRGRP) || \ - defined (S_IWGRP) || \ - defined (S_IXGRP) || \ - defined (S_IRWXO) || \ - defined (S_IROTH) || \ - defined (S_IWOTH) || \ - defined (S_IXOTH) - ACE_OPEN_MODE_MASKS_EXIST -#endif - ], - [ - ace_cv_feature_have_open_mode_masks=yes - ], - [ - ace_cv_feature_have_open_mode_masks=no - ]) - ], , [AC_DEFINE([ACE_LACKS_MODE_MASKS])]) - - -dnl Check if platform supports POSIX O_NONBLOCK semantics -ACE_CACHE_CHECK([for POSIX O_NONBLOCK semantics], - [ace_cv_feature_posix_o_nonblock],[ - AC_EGREP_CPP([ACE_POSIX_O_NONBLOCK], - [ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include - -#if defined (O_NONBLOCK) - ACE_POSIX_O_NONBLOCK -#endif - ], - [ - ace_cv_feature_posix_o_nonblock=yes - ], - [ - ace_cv_feature_posix_o_nonblock=no - ]) - ], [AC_DEFINE([ACE_HAS_POSIX_NONBLOCK])],) - -dnl Check for MAP_FAILED constant -ACE_CACHE_CHECK([for MAP_FAILED constant], - [ace_cv_lib_have_map_failed],[ - dnl We need the square brackets around "ACEMAPFAILED.+[0-9]" to - dnl prevent the character class "[0-9]" from becoming "0-9" due to - dnl M4 quoting. - AC_EGREP_CPP([ACEMAPFAILED.+[0-9]], - [ -#include - ACEMAPFAILED MAP_FAILED - ], - [ - ace_cv_lib_have_map_failed=yes - ], - [ - ace_cv_lib_have_map_failed=no - ]) - ], - [ - dnl Check if platform defines MAP_FAILED as a long constant - ACE_CACHE_CHECK([if MAP_FAILED is a long constant], - [ace_cv_feature_long_map_failed],[ - dnl We need the square brackets around "ACEMAPFAILED.+[0-9]L" to - dnl prevent the character class "[0-9]" from becoming "0-9" due to - dnl M4 quoting. - AC_EGREP_CPP([ACEMAPFAILED.+[0-9]L], - [ -#include - ACEMAPFAILED MAP_FAILED - ], - [ - ace_cv_feature_long_map_failed=yes - ], - [ - ace_cv_feature_long_map_failed=no - ]) - ], [AC_DEFINE([ACE_HAS_LONG_MAP_FAILED])], - [ - dnl Check if MAP_FAILED is _not_ cast to void * - ACE_CACHE_CHECK([if MAP_FAILED is not cast to void *], - [ace_cv_have_broken_map_failed],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include - ]], [[ - void * foo = MAP_FAILED; - ]])],[ - ace_cv_have_broken_map_failed=no - ],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#include - ]], - [[ - void * foo = (void *) MAP_FAILED; - ]])], - [ - ace_cv_have_broken_map_failed=yes - ], - [ - dnl If we get here then we have no idea what is wrong! - ace_cv_have_broken_map_failed=no - ]) - ]) - ], [AC_DEFINE([ACE_HAS_BROKEN_MAP_FAILED])],) - ]) - ],) - -dnl Check if platform supports TCP_NODELAY support -ACE_CACHE_CHECK([for TCP_NODELAY support], - [ace_cv_feature_tcp_nodelay],[ - AC_EGREP_CPP([ACE_TCPNODELAY], - [ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - -#if defined (TCP_NODELAY) - ACE_TCPNODELAY -#endif - ], - [ - ace_cv_feature_tcp_nodelay=yes - ], - [ - ace_cv_feature_tcp_nodelay=no - ]) - ], , [AC_DEFINE([ACE_LACKS_TCP_NODELAY])]) - -dnl Check if platform supports SO_SNDBUF/SO_RCVBUF socket options -ACE_CACHE_CHECK([for SO_SNDBUF/SO_RCVBUF socket options], - [ace_cv_feature_so_sndbuf_rcvbuf],[ - AC_EGREP_CPP([ACE_SO_BUF], - [ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - -#if defined (SO_SNDBUF) && \ - defined (SO_RCVBUF) - ACE_SO_BUF -#endif - ], - [ - ace_cv_feature_so_sndbuf_rcvbuf=yes - ], - [ - ace_cv_feature_so_sndbuf_rcvbuf=no - ]) - ], , [AC_DEFINE([ACE_LACKS_SOCKET_BUFSIZ])]) - -dnl Check if memcpy is faster or loop unrolling is faster on a given -dnl platform -ACE_CACHE_CHECK([if ACE memcpy needs loop unrolling], [ace_cv_memcpy_loop_unroll], -[AC_RUN_IFELSE([AC_LANG_SOURCE([[#include -#include - -void* -smemcpy (void* dest, const void* src, const size_t n) -{ - unsigned char* to = static_cast( dest) ; - const unsigned char* from = static_cast( src) ; - // Unroll the loop... - switch (n) - { - case 16: to[15] = from[15] ; - case 15: to[14] = from[14] ; - case 14: to[13] = from[13] ; - case 13: to[12] = from[12] ; - case 12: to[11] = from[11] ; - case 11: to[10] = from[10] ; - case 10: to[9] = from[9] ; - case 9: to[8] = from[8] ; - case 8: to[7] = from[7] ; - case 7: to[6] = from[6] ; - case 6: to[5] = from[5] ; - case 5: to[4] = from[4] ; - case 4: to[3] = from[3] ; - case 3: to[2] = from[2] ; - case 2: to[1] = from[1] ; - case 1: to[0] = from[0] ; - case 0: return dest; - default: return memcpy (dest, src, n); - } -} - -// Function pointer -void* (* test_func) (void *dst, const void* src, size_t); - -namespace { enum { ITERATIONS = 100000 }; } - -#include -#include - -int -main(int argc, char* argv[]) -{ - struct timeval start, now; - double value; - - // Test buffer - char dest [16]; - const void* src = " THIS IS A TEST"; - - // We want to test if the loop unrolling is faster for sizes - // from 1..16 - for (size_t counter = 16; counter >=1; counter--) - { - test_func = smemcpy; - - // Warm up - for (int i = ITERATIONS ; i > 0 ; --i) - test_func ((void *)dest, src, counter); - - gettimeofday (&start, 0) ; - for (int j = ITERATIONS ; j > 0 ; --j) - test_func ((void *)dest, src, counter); - gettimeofday (&now, 0); - - double fast = 1000000 * (now.tv_sec - start.tv_sec) + - now.tv_usec - start.tv_usec ; - - test_func = memcpy; - - // Warm up - for (int k = ITERATIONS ; k > 0 ; --k) - test_func ((void *)dest, src, counter); - - gettimeofday (&start, 0) ; - for (int l = ITERATIONS ; l > 0 ; --l) - test_func ((void *)dest, src, counter); - gettimeofday (&now, 0) ; - - double slow = 1000000 * (now.tv_sec-start.tv_sec) + - now.tv_usec - start.tv_usec ; - if (fast > slow) - return 1; // Unrolling was slower than actual memcpy - - if (1.10*fast > slow) - return 1; // Unrolling was not faster by 10% - } - return 0; // Unrolling was faster -- success -}]])], [ace_cv_memcpy_loop_unroll=yes], - [ace_cv_memcpy_loop_unroll=no], - dnl Cross compilation case - [ace_cv_memcpy_loop_unroll=no])], - dnl only if the test succeeds set the macro - [AC_DEFINE([ACE_HAS_MEMCPY_LOOP_UNROLL], 1, - [Define to 1 if unrolled ACE_OS::fast_memcpy() is faster than system memcpy()])],) - -dnl TODO: We only check for ACE_HAS_AUTOMATIC_INIT_FINI on platforms that -dnl have SVR4 dynamic linking since ACE doesn't support it otherwise. -if test "$ac_cv_header_dlfcn_h" = yes && - test "$ace_has_svr4_dynamic_linking" = yes; then -dnl Check if platform calls init/fini automatically - ACE_CACHE_CHECK([for automatic init/fini calls], - [ace_cv_feature_auto_init_fini],[ - ace_cv_feature_auto_init_fini=yes - # TODO: We know how to check for this, but we need to: - # - # 1. Compile one file. - # 2. Compile and link another file. - # 3. Run file in point (2); it returns what we need. - # - # How do we do all that? - ], [AC_DEFINE([ACE_HAS_AUTOMATIC_INIT_FINI])],) -fi dnl test "$ac_cv_header_dlfcn_h" = yes && - dnl "$ace_has_svr4_dynamic_linking" = yes - -dnl Check for recursive thread exit semantics -if test "$ace_user_enable_threads" = yes; then - ACE_CACHE_CHECK([for recursive thread exit semantics], - [ace_cv_feature_recursive_thr_exit],[ - ace_cv_feature_recursive_thr_exit=yes - # TODO: How do we check for recursive thread exit semantics - ], [AC_DEFINE([ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS])],) -fi - -dnl Check for UNIX domain sockets -ACE_CACHE_CHECK([for UNIX domain sockets], - [ace_cv_feature_unix_sockets], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - ]], [[ - sockaddr_un su; - ]])],[ - ace_cv_feature_unix_sockets=yes - ],[ - ace_cv_feature_unix_sockets=no - ]) - ], , [AC_DEFINE([ACE_LACKS_UNIX_DOMAIN_SOCKETS])]) - -dnl Check for raw sockets -ACE_CACHE_CHECK([for raw sockets], - [ace_cv_feature_raw_sockets], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include - ]], [[ -return socket(AF_INET, SOCK_RAW, IPPROTO_RAW); - ]])],[ - ace_cv_feature_raw_sockets=yes - ],[ - ace_cv_feature_raw_sockets=no - ]) - ], [AC_DEFINE([ACE_HAS_ICMP_SUPPORT])]) - -dnl Check for ACE_Handle_Set optimized for select() -ACE_CACHE_CHECK([for ACE_Handle_Set optimized for select()], - [ace_cv_feature_handle_set_optimized_for_select],[ - ace_cv_feature_handle_set_optimized_for_select=yes - # TODO: We know how to check this. We need to: - # - # 1. Compile and link a file. - # 2. Run nm on that file. - # - # How do we do that? - ], [AC_DEFINE([ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT])],) - -dnl Even we if we don't have IP multicasting, we still need to define -dnl "ACE_HAS_IP_MULTICAST" since struct ip_mreq gets redefined by ACE. -dnl What do we do about this problem? -dnl -Ossama -dnl Check for IP multicast support -ACE_CACHE_CHECK([for IP multicast support], - [ace_cv_feature_ip_multicast],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - ]], [[ - ip_mreq im; - ]])],[ - ace_cv_feature_ip_multicast=yes - ],[ -dnl Some platforms define ip_mreq in . - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include - ]], - [[ - ip_mreq im; - ]])], - [ - ace_cv_feature_ip_multicast=yes - ], - [ - ace_cv_feature_ip_multicast=no - ]) - ]) - ], [AC_DEFINE([ACE_HAS_IP_MULTICAST])],) - -ACE_CACHE_CHECK([if running on an Alpha], - [ace_cv_feature_alpha],[ - case "$host" in - alpha*) - ace_cv_feature_alpha=yes - ;; - *) - ace_cv_feature_alpha=no - ;; - esac - ], - [ - case "$host" in - *linux*) - dnl We only define ACE_HAS_ALPHA_TIMER if we are running Linux - dnl on an Alpha and are using GNU C++! - if test "$GXX" = yes; then - AC_DEFINE([ACE_HAS_ALPHA_TIMER], 1, - [Define to 1 if system should use Alpha's cycle counter]) - fi - ;; - esac - ],) - -ACE_CACHE_CHECK([if running on a Power PC], - [ace_cv_feature_powerpc],[ - case "$host" in - powerpc*) - ace_cv_feature_powerpc=yes - ;; - *) - ace_cv_feature_powerpc=no - ;; - esac - ], - [ - case "$host" in - *aix*) - dnl We don't do anything for AIX since AIX already has a - dnl hi-res timer function! - ;; - *) - dnl Only define ACE_HAS_POWERPC_TIMER when using GNU C++! - if test "$GXX" = yes; then - AC_DEFINE([ACE_HAS_POWERPC_TIMER], 1, - [Define to 1 if system should use PowerPC's cycle counter]) - fi - ;; - esac - ],) - -ACE_CACHE_CHECK([if running on a Pentium(tm) processor], - [ace_cv_feature_pentium],[ - case "$host" in - i386-* | i486-* |i586-* | i686-*) -dnl If we do have a pentium, than define ACE_HAS_PENTIUM and add -dnl gethrtime.cpp to the source list, but only if we're using GNU C++ -dnl since gethrtime.cpp uses assembler code specific to that compiler. - if test "$GXX" = yes; then - ace_cv_feature_pentium=yes - else - ace_cv_feature_pentium=no - fi - ;; - *) - ace_cv_feature_pentium=no - ;; - esac - ], - [ - AC_DEFINE([ACE_HAS_PENTIUM], 1, - [Define to 1 if system is using Intel Pentium(tm) processor]) - ],) -AM_CONDITIONAL([ACE_ON_PENTIUM], [test X$ace_cv_feature_pentium = Xyes]) - -case "$host" in - i386-* | i486-* | i586-* | i686-* | x86_64-*) - if test "$GXX" = yes; then - ace_cv_has_intel_assembly=yes - else - ace_cv_has_intel_assembly=no - fi - ;; - *) - ace_cv_has_intel_assembly=no - ;; -esac -if test "$ace_cv_has_intel_assembly" != "no"; then - AC_DEFINE([ACE_HAS_INTEL_ASSEMBLY], 1, - [Define to 1 if the system supports x86/x86_64 inline assembly]) -fi - -dnl -dnl SECTION 14: checks for aggregated features -dnl TODO: Little by little, get rid of these... -dnl - - -dnl Macro ACE_HAS_REENTRANT_FUNCTIONS means the following functions -dnl are usable: -dnl -dnl rand_r -dnl strtok_r -dnl getpwnam_r (if we don't have, define ACE_LACKS_PWD_REENTRANT_FUNCTIONS) -dnl ctime_r -dnl localtime_r -dnl gmtime_r -dnl asctime_r -dnl * getprotobyname_r -dnl * getprotobynumber_r -dnl * gethostbyaddr_r -dnl * gethostbyname_r -dnl * getservbyname_r -dnl -dnl Those marked with '*' are NOT usable if -dnl ACE_LACKS_NETDB_REENTRANT_FUNCTIONS) is defined. -dnl -dnl The time has come to create feature macros for each of these... -dnl With the separate feature macros, we will define (for now) -dnl ACE_HAS_REENTRANT_FUNCTIONS only when all of those WITHOUHT a '*' -dnl are defined. Also, if any of those with '*' are missing, we will -dnl define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS. - -dnl Don't bother with reentrant functions if they are disabled by the user. -if test "$ace_user_enable_reentrant_funcs" = yes && - test "$ac_cv_func_rand_r" = yes && - test "$ac_cv_func_strtok_r" = yes && - test "$ac_cv_func_ctime_r" = yes && - test "$ac_cv_func_localtime_r" = yes && - test "$ac_cv_func_gmtime_r" = yes && - test "$ac_cv_func_asctime_r" = yes; then - AC_DEFINE([ACE_HAS_REENTRANT_FUNCTIONS]) - # Explicitly enable reentrant functions if thread support is not enabled. - if test "$ace_user_enable_threads" = no; then - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_REENTRANT" - fi -fi - -dnl Don't bother with reentrant functions if they are disabled by the user. -if test "$ace_user_enable_reentrant_funcs" = no || - test "$ac_cv_func_getprotobyname_r" = no || - test "$ac_cv_func_getprotobynumber_r" = no || - test "$ac_cv_func_gethostbyaddr_r" = no || - test "$ac_cv_func_gethostbyname_r" = no || - test "$ac_cv_func_getservbyname_r" = no; then - AC_DEFINE([ACE_LACKS_NETDB_REENTRANT_FUNCTIONS]) -fi - -dnl FIXME!!! -dnl The following is a kludge until the netdb reentrant function -dnl number of arguments is handled. -case "$host" in - *linux*) AC_DEFINE([ACE_LACKS_NETDB_REENTRANT_FUNCTIONS]);; - *) ;; -esac - - -dnl Macro ACE_LACKS_SOME_POSIX_PROTOTYPES implies any of the following -dnl features: -dnl -dnl ! ACE_HAS_MSGSND_MSGBUFP_2 -dnl ! ACE_LACKS_MSGRCV_VOIDP_2 -dnl ! ACE_LACKS_SHMAT_VOIDP_2 -dnl -dnl So, for now, we define it if any of those were autoconf'ed. - -dnl @@ THESE NEED TO BE ADDED AS PROPER CONFIG SETTINGS. --Steve -dnl if test "$ace_cv_lib_posix_msgsnd_msgbufp_2" = yes || -dnl test "$ace_cv_lib_posix_msgrcv_voidp_2" != yes || -dnl test "$ace_cv_lib_posix_shmat_voidp_2" != yes ; then -dnl AC_DEFINE([ACE_LACKS_SOME_POSIX_PROTOTYPES]) -dnl fi - -if test "$ac_cv_func_msgctl" = yes && - test "$ac_cv_func_msgget" = yes && - test "$ac_cv_func_msgrcv" = yes && - test "$ac_cv_func_semctl" = yes && - test "$ac_cv_func_semget" = yes && - test "$ac_cv_func_semop" = yes && - test "$ac_cv_func_shmat" = yes && - test "$ac_cv_func_shmctl" = yes && - test "$ac_cv_func_shmdt" = yes && - test "$ac_cv_func_shmget" = yes; then - AC_DEFINE([ACE_HAS_SYSV_IPC]) -fi - -if test "$ac_cv_func_shmat" != yes || - test "$ac_cv_func_shmctl" != yes || - test "$ac_cv_func_shmdt" != yes || - test "$ac_cv_func_shmget" != yes; then - AC_DEFINE([ACE_LACKS_SYSV_SHMEM]) -fi - -dnl Check for what POSIX threads draft we have -AC_MSG_CHECKING([which POSIX thread library was found]) - -ace_has_pthreads=no - -dnl Check if we have Pthreads Draft 4 -dnl if test "$ac_cv_func_pthread_delay_np" = yes && -if test "$ac_cv_func_pthread_mutexattr_create" = yes && -dnl test "$ac_cv_func_pthread_mutexattr_setkind_np" = yes && - test "$ac_cv_func_pthread_mutexattr_delete" = yes && - test "$ac_cv_func_pthread_condattr_delete" = yes && - test "$ac_cv_func_pthread_condattr_create" = yes && - test "$ac_cv_func_pthread_setprio" = yes && - test "$ac_cv_func_pthread_getprio" = yes && -dnl test "$ac_cv_func_pthread_getspecific" = yes && - test "$ac_cv_func_pthread_setcancel" = yes && - test "$ac_cv_func_pthread_setasynccancel" = yes && - test "$ac_cv_func_pthread_kill" = yes; then - ace_has_pthreads=yes - AC_MSG_RESULT([POSIX Threads Draft 4]) - AC_DEFINE([ACE_HAS_PTHREADS_DRAFT4], 1, - [Platform supports POSIX Threads .4a Draft 4]) -dnl Check if we have Pthreads Draft 6 -elif test "$ac_cv_func_pthread_mutexattr_init" = yes && - test "$ac_cv_func_pthread_mutexattr_destroy" = yes && - test "$ac_cv_func_pthread_condattr_destroy" = yes && - test "$ac_cv_func_pthread_condattr_init" = yes && - test "$ac_cv_func_pthread_attr_setprio" = yes && - test "$ac_cv_func_pthread_attr_getprio" = yes && - test "$ac_cv_func_pthread_setintr" = yes && - test "$ac_cv_func_pthread_setintrtype" = yes; then - ace_has_pthreads=yes - AC_MSG_RESULT([POSIX Threads Draft 6]) - AC_DEFINE([ACE_HAS_PTHREADS_DRAFT6], 1, - [Platform supports POSIX Threads .4a Draft 6]) -dnl Check if we have Pthreads Draft 7 -elif test "$ac_cv_func_pthread_mutexattr_init" = yes && - test "$ac_cv_func_pthread_mutexattr_destroy" = yes && - test "$ac_cv_func_pthread_condattr_destroy" = yes && - test "$ac_cv_func_pthread_condattr_init" = yes && - test "$ac_cv_func_pthread_setschedparam" = yes && - test "$ac_cv_func_pthread_getschedparam" = yes && - test "$ac_cv_func_pthread_setcancelstate" = yes && - test "$ac_cv_func_pthread_setcanceltype" = yes && - test "$ace_has_sched_yield" != yes; then - ace_has_pthreads=yes - AC_MSG_RESULT([POSIX Threads Draft 7]) - AC_DEFINE([ACE_HAS_PTHREADS_DRAFT7], 1, - [Platform supports POSIX Threads .1c Draft 7]) -dnl Check if we have Pthreads Draft Standard -elif test "$ac_cv_func_pthread_mutexattr_init" = yes && - test "$ac_cv_func_pthread_mutexattr_destroy" = yes && - test "$ac_cv_func_pthread_condattr_destroy" = yes && - test "$ac_cv_func_pthread_condattr_init" = yes && - test "$ac_cv_func_pthread_setschedparam" = yes && - test "$ac_cv_func_pthread_getschedparam" = yes && - test "$ac_cv_func_pthread_setcancelstate" = yes && - test "$ac_cv_func_pthread_setcanceltype" = yes && - test "$ace_has_sched_yield" = yes; then - ace_has_pthreads=yes - AC_MSG_RESULT([POSIX Threads Draft Standard]) - AC_DEFINE([ACE_HAS_PTHREADS_STD], 1, - [Platform supports POSIX.1c-1995 threads]) -else - ace_has_pthreads=no - AC_MSG_RESULT([none]) -fi dnl PTHREAD DRAFT CHECKS - -dnl Check if we have UNIX International threads -AC_MSG_CHECKING([if a UNIX International thread library was found]) -if test "$ace_has_sthreads" = yes; then - AC_MSG_RESULT([yes]) -else - AC_MSG_RESULT([no]) -fi - -if test "$ace_user_enable_threads" != yes || - test "$ace_has_pthreads" != yes && - test "$ace_has_sthreads" != yes; then - dnl We don't have a usable thread library! - ace_user_enable_threads=no - dnl Make sure _REENTRANT and _THREAD_SAFE are not in the - dnl preprocessor flags since thread support is being disabled. - dnl Removal of these flags is only performed if the configure script - dnl added them. - if test -n "$ACE_THR_CPPFLAGS"; then -dnl changequote(, )dnl - CPPFLAGS=`eval "echo $CPPFLAGS | sed -e 's/$ACE_THR_CPPFLAGS//' -e 's/-D_THREAD_SAFE\(=[[0-9]]*\)\?//'"` -dnl changequote([, ])dnl - fi - - AC_MSG_WARN([It appears that you do NOT have any usable thread libraries]) - AC_MSG_WARN([or thread support was explicitly disabled.]) - AC_MSG_WARN([Disabling thread support.]) - dnl ACE uses different versions of readdir_r depending on the thread - dnl library being used, i.e. on the ACE_HAS_*THREADS* macros. Since - dnl it doesn't seem like a good idea to define any ACE_HAS_*THREADS* - dnl macro if ACE won't be supporting threads, define ACE_LACKS_READDIR_R - dnl regardless if readdir_r() exists. - if test "$ac_cv_func_readdir_r" = yes; then - AC_MSG_WARN([Disabling support for readdir_r() since thread support]) - AC_MSG_WARN([is being disabled.]) - AC_DEFINE([ACE_LACKS_READDIR_R]) - fi dnl test "$ac_cv_func_readdir_r" = yes -fi dnl - -if test "$ace_user_enable_threads" = yes; then -dnl If we get this far then we have threads. -dnl FIXME: The "_POSIX" macros may need to be defined _before_ the checks for -dnl reentrant functions! However, we don't want to define them if -dnl the UNIX International threads library was detected. - AC_DEFINE([ACE_HAS_THREADS]) - AC_DEFINE([ACE_MT_SAFE]) - ACE_CPPFLAGS="$ACE_CPPFLAGS $ACE_THR_CPPFLAGS" - - if test "$ace_has_pthreads" = yes; then - - dnl Check if OS requires non-null status pointer for ::pthread_join () - dnl - dnl This test must be performed after the POSIX threads implementation - dnl that the platform supports has been determined. - ACE_CACHE_CHECK([for pthread_join null status pointer support], - [ace_cv_have_null_status_pthread_join],[ - AC_EGREP_CPP([WE_HAVE_PTHREADS_D4], - [ -#if defined (ACE_HAS_PTHREADS) && defined (ACE_HAS_PTHREADS_DRAFT4) -/* This test is only valid for Pthreads Draft 4 */ -WE_HAVE_PTHREADS_D4 -#endif - ], - [ - AC_RUN_IFELSE([AC_LANG_SOURCE([[ -#ifndef _REENTRANT -#define _REENTRANT -#endif - -#include - -/* _THREAD_SAFE is defined in on some platforms. */ -#ifndef _THREAD_SAFE -#define _THREAD_SAFE -#endif - -#include - -#ifdef __cplusplus -extern "C" -#endif -void * -nothing (void *unused) -{ - return (void *) 34; -}; - -int -main () -{ - pthread_attr_t attr; - pthread_t id; - void *status; - int retval = 0; - - /* ----- */ - /* We return 0 on error for these calls since we only want to - return an error status if pthread_join fails. If these calls - fail then we've got other problems! */ - if (pthread_attr_create (&attr) != 0) return 0 /*1*/; - - if (pthread_create (&id, attr, nothing, 0) != 0) return 0 /*2*/; - - if (pthread_attr_delete (&attr) != 0) return /*3*/; - /* ----- */ - - /* With a second (status) arg of 0, LynxOS 3.0.0 pthread_join () - will fail with errno 14 (address fault detected). */ - if (pthread_join (id, 0) == -1) { - fprintf (stderr, "%s: %d; ", __FILE__, __LINE__); - perror ("pthread_join"); - retval = 1; - } - - if (pthread_join (id, &status) == -1) { - fprintf (stderr, "%s: %d; ", __FILE__, __LINE__); - perror ("pthread_join"); - retval = 2; - } - - return retval; -} - ]])],[ - ace_cv_have_null_status_pthread_join=yes - ],[ - ace_cv_have_null_status_pthread_join=no - ],[ - dnl If we are cross-compiling let's hope that - dnl that we have a working null status pointer - dnl for pthread_join. - ace_cv_have_null_status_pthread_join=yes - ]) - ], - [ - ace_cv_have_null_status_pthread_join=yes - ]) - ], , [AC_DEFINE([ACE_LACKS_NULL_PTHREAD_STATUS])]) - - dnl Check if OS supports mutex timeouts - dnl (e.g. pthread_mutex_timedlock()). - ACE_CACHE_CHECK([for mutex timeouts], - [ace_cv_have_mutex_timeouts],[ - AC_RUN_IFELSE([AC_LANG_SOURCE([[ -#ifndef _REENTRANT -#define _REENTRANT -#endif - -#include - -/* _THREAD_SAFE is defined in on some platforms. */ -#ifndef _THREAD_SAFE -#define _THREAD_SAFE -#endif - -#include - -#include -#include - -#include -#ifndef ACE_LACKS_UNISTD_H -# include -#endif - -pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; - -#ifdef __cplusplus -extern "C" -#endif -void *threadFunc (void *parm) -{ - int rc; - int i; - struct timespec deltatime; - struct timeval tv; - - if (gettimeofday (&tv, 0) != 0) - { - return 0; - } - - deltatime.tv_sec = tv.tv_sec + 5; - deltatime.tv_nsec = 0; - - rc = pthread_mutex_timedlock (&mutex, &deltatime); - - if (rc != ETIMEDOUT) - { - /* printf("Got an incorrect return code from pthread_mutex_timedlock\n"); */ - } - - return 0; -} - -int main (void) -{ - int rc =0; - pthread_t thread; - - rc = pthread_mutex_lock (&mutex); - if (rc != 0) - { - exit (-1); - } - - rc = pthread_create (&thread, NULL, threadFunc, NULL); - if (rc != 0) - { - exit (-1); - } - - rc = pthread_join (thread, NULL); - if (rc != 0) - { - exit (-1); - } - - pthread_mutex_destroy (&mutex); - - return 0; -} - ]])],[ - ace_cv_have_mutex_timeouts=yes - ],[ - ace_cv_have_mutex_timeouts=no - ],[ - dnl Cross-compiled case - AC_CHECK_FUNC([pthread_mutex_timedlock], - [ace_cv_have_mutex_timeouts=yes], - [ace_cv_have_mutex_timeouts=no]) - ]) - ], [AC_DEFINE([ACE_HAS_MUTEX_TIMEOUTS])],) - - dnl Check if platform needs to #include to get thread - dnl scheduling defs. - ACE_CACHE_CHECK([if sched.h is needed for thread scheduling definitions], - [ace_cv_needs_sched_h], - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#ifdef ACE_HAS_STHREADS -#include -#endif - -#ifdef ACE_HAS_PTHREADS -#include -#endif - ]], [[ -int foo = SCHED_OTHER; - ]])],[ - ace_cv_needs_sched_h=no - ],[ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[ -#ifdef ACE_HAS_STHREADS -#include -#endif - -#ifdef ACE_HAS_PTHREADS -#include -#endif - -#include - ]], - [[ -int foo = SCHED_OTHER; - ]])], - [ - ace_cv_needs_sched_h=yes - ], - [ - dnl We're hosed if we get here! - ace_cv_needs_sched_h=no - ]) - ]) - ], - [ - AC_DEFINE([ACE_NEEDS_SCHED_H]) - ],) - - dnl Check if platform only supports SCHED_OTHER scheduling policy - dnl - dnl This test must be performed after the POSIX threads implementation - dnl that the platform supports has been determined. - ACE_CACHE_CHECK([if SCHED_OTHER is only scheduling policy], - [ace_cv_feature_only_have_sched_other], - [ - AC_EGREP_CPP([WE_ONLY_HAVE_SCHED_OTHER], - [ -#ifdef ACE_HAS_STHREADS -# include -#endif - -#ifdef ACE_HAS_PTHREADS -# include -#endif - -#if defined (ACE_NEEDS_SCHED_H) -# include -#endif - - /* These are ORed so that ACE will not redefine - any of them if any of them exist. */ -#if !defined (SCHED_FIFO) && \ - !defined (SCHED_RR) && \ - defined (SCHED_OTHER) - WE_ONLY_HAVE_SCHED_OTHER -#endif - ], - [ - ace_cv_feature_only_have_sched_other=yes - ], - [ - AC_RUN_IFELSE([AC_LANG_SOURCE([[ -#ifndef _REENTRANT -#define _REENTRANT -#endif - -#include - -/* _THREAD_SAFE is defined in on some platforms. */ -#ifndef _THREAD_SAFE -#define _THREAD_SAFE -#endif - -#include -#include - -int main () -{ - pthread_attr_t ace_attr; - -#if defined (ACE_HAS_PTHREADS_DRAFT4) - if (pthread_attr_create (&ace_attr) != 0) -#else - if (pthread_attr_init (&ace_attr) != 0) -#endif - { - perror ("pthread_attr_init"); - return 0; /* Return "successfully" since only the policy call - will return with an error for this test. */ - } - -#if defined (ACE_HAS_PTHREADS_DRAFT4) - if (pthread_attr_setsched (&ace_attr, SCHED_FIFO) != 0) -#else - if (pthread_attr_setschedpolicy (&ace_attr, SCHED_FIFO) != 0) -#endif - { - perror ("pthread_attr_setschedpolicy"); - return -1; - } - -#if defined (ACE_HAS_PTHREADS_DRAFT4) - if (pthread_attr_delete (&ace_attr) != 0) -#else - if (pthread_attr_destroy (&ace_attr) != 0) -#endif - { - perror ("pthread_attr_destroy"); - return 0; /* Return "successfully" since only the policy call - will return with an error for this test. */ - } - - return 0; -} - ]])],[ - ace_cv_feature_only_have_sched_other=no - ],[ - ace_cv_feature_only_have_sched_other=yes - ],[ - dnl We only get here if polices other than SCHED_OTHER - dnl were found in the headers and we are cross-compiling. - dnl - dnl If we are cross-compiling let's hope that the - dnl scheduling policies found in the headers - dnl besides SCHED_OTHER (e.g. SCHED_FIFO, SCHED_RR) - dnl are supported. - ace_cv_feature_only_have_sched_other=no - ]) - ]) - ], [AC_DEFINE([ACE_HAS_ONLY_SCHED_OTHER])],) - fi dnl test "$ace_has_pthreads" = yes -fi dnl test "$ace_user_enable_threads" = yes - - -AC_CHECK_HEADER(libc.h) -AC_CHECK_HEADER(osfcn.h) -if test "$ac_cv_header_libc_h" != yes || - test "$ac_cv_header_osfcn_h" != yes; then - AC_DEFINE([ACE_HAS_CPLUSPLUS_HEADERS]) -fi - - - -if test "$ace_cv_lib_signal_vi1_2" = yes && - test "$ace_cv_lib_signal_vi1_ret" = yes && - test "$ace_cv_lib_struct_sigaction_vi1_handler" = yes; then - AC_DEFINE([ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES]) -elif test "$ace_cv_lib_signal_vi1_2" != yes && - test "$ace_cv_lib_signal_vv1_2" != yes && - test "$ace_cv_lib_signal_vi1a2_2" != yes && - test "$ace_cv_lib_signal_va1_2" = yes && - test "$ace_cv_lib_signal_vi1_ret" != yes && - test "$ace_cv_lib_signal_vv1_ret" != yes && - test "$ace_cv_lib_signal_vi1a2_ret" != yes && - test "$ace_cv_lib_signal_va1_ret" = yes && - test "$ace_cv_lib_struct_sigaction_vi1_handler" != yes && - test "$ace_cv_lib_struct_sigaction_vv1_handler" != yes && - test "$ace_cv_lib_struct_sigaction_vi1a2_handler" != yes && - test "$ace_cv_lib_struct_sigaction_va1_handler" = yes; then - AC_DEFINE([ACE_HAS_LYNXOS4_SIGNALS]) - AC_DEFINE([ACE_HAS_TANDEM_SIGNALS]) -elif test "$ace_cv_lib_signal_vi1_2" = yes && - test "$ace_cv_lib_signal_vi1_ret" = yes && - test "$ace_cv_lib_struct_sigaction_vi1_handler" != yes; then - AC_DEFINE([ACE_HAS_SVR4_SIGNAL_T]) -elif test "$ace_cv_lib_signal_vi1_2" = yes && - test "$ace_cv_lib_signal_vv1_ret" = yes && - test "$ace_cv_lib_struct_sigaction_vv1_handler" = yes; then - AC_DEFINE([ACE_HAS_SVR4_SIGNAL_T]) -elif test "$ace_cv_lib_signal_vi1_2" = yes && - test "$ace_cv_lib_signal_vi1_ret" != yes && - test "$ace_cv_lib_signal_vv1_ret" != yes && - test "$ace_cv_lib_signal_vi1a2_ret" != yes && - test "$ace_cv_lib_signal_va1_ret" = yes && - test "$ace_cv_lib_struct_sigaction_vi1_handler" != yes && - test "$ace_cv_lib_struct_sigaction_vv1_handler" != yes && - test "$ace_cv_lib_struct_sigaction_vi1a2_handler" != yes && - test "$ace_cv_lib_struct_sigaction_va1_handler" = yes; then - AC_DEFINE([ACE_HAS_UNIXWARE_SVR4_SIGNAL_T]) -fi dnl ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES - -dnl -dnl SECTION 15: Final checks -dnl - -dnl Make final substitutions and defines -if test "$ace_u_long_long_typedef_set" = yes; then - AC_DEFINE_UNQUOTED([ACE_INT64_TYPE], [$ACE_INT64], - [Define to signed 64 bit integer type]) - AC_DEFINE_UNQUOTED([ACE_UINT64_TYPE], [$ACE_UINT64], - [Define to unsigned 64 bit integer type]) -fi - -dnl Combine package set flags with user's flags. -dnl User's flags go after package flags to allow user to override -dnl package defaults. -dnl X_CFLAGS comes from AC_PATH_XTRA. It may include, for example, -dnl additional include file paths or macros that need to be defined -dnl in order for X11 related files to be compiled properly. -if test "$ace_user_enable_optimize"; then - dnl We want OCXXFLAGS to be on the end, so we use CXXFLAGS, - dnl not ACE_CXXFLAGS! - CXXFLAGS="$CXXFLAGS $OCXXFLAGS" - CFLAGS="$CFLAGS $OCFLAGS" -fi -CXXFLAGS="$ACE_CXXFLAGS $X_CFLAGS $CXXFLAGS" -CFLAGS="$ACE_CFLAGS $X_CFLAGS $CFLAGS" -CPPFLAGS="$ACE_CPPFLAGS $CPPFLAGS" -LDFLAGS="$ACE_LDFLAGS $LDFLAGS" - -dnl The following tests should be performed _after_ the bulk of the -dnl ACE macros have been defined. - -dnl Flush the cache so that it is easier to debug the configure script -dnl if the following integrity check fails. -AC_CACHE_SAVE - -dnl Verify the integrity of the current configuration. -ACE_CACHE_CHECK([if generated ACE configuration is usable], - [ace_cv_configuration_is_usable], - [ - dnl We want an empty ace/config.h to prevent multiple defines - dnl with Autoconf's confdefs.h - ACE_USE_TEMP_FILE([ace/config.h], - [ - dnl Now run the compilation test - ACE_TRY_COMPILE([-I. -I${srcdir}], - [ -// Include ".cpp" files instead of headers so that we can get a more -// thorough test compile. -#include "ace/Time_Value.cpp" -#include "ace/Reactor.cpp" - ], - [ - ACE_Time_Value t = ACE_OS::gettimeofday (); - t++; - - ACE_Reactor * r = ACE_Reactor::instance (); - - (void) r->close (); - ], - [ - ace_cv_configuration_is_usable=yes - ], - [ - ace_cv_configuration_is_usable=no - ]) - ]) - ], - [ - dnl Looks good! Do nothing. - dnl It appears that ace/OS.cpp compiled. If it didn't compile then - dnl there would be no chance that the rest of ACE would compile. - ], - [ - AC_MSG_WARN( - [ -The generated configuration appears to be unusable. Please verify -that your system path and environment variables are correct. If they -appear to be correct then please send the maintainer of this configure -script $ACE_CONFIGURE_MAINTAINER the *COMPRESSED* 'config.log' file, -the generated ace/config.h file and the following information: - - ACE 'configure' Script Information - ================================== - [RCS] translit([$Id: configure.ac 92183 2010-10-08 08:44:15Z olli $], [$"]) - - - ACE Version: ACE_VERSION - C++ Compiler: $CXX - C++ Preprocessor: $CXXCPP - C++ Flags: $CXXFLAGS - Preprocessor Flags: $CPPFLAGS - Linker: $LD - Linker Flags: $LDFLAGS - Libraries: $LIBS - System type information: - Build: $build Host: $host - -In the meantime, please use the stock ACE build procedure detailed in -the file 'ACE-INSTALL.html'. - ]) - ]) - -dnl " - -dnl Check for ACE_IOStream support -ACE_CACHE_CHECK([for ACE_IOStream support], - [ace_cv_feature_ace_iostream], - [ - dnl We want an empty ace/config.h to prevent multiple defines - dnl with Autoconf's confdefs.h - ACE_USE_TEMP_FILE([ace/config.h], - [ - dnl Now run the compilation test - ACE_TRY_COMPILE([-I. -I${srcdir}], - [ -#include "ace/IOStream.cpp" - ], - [ - int a = 0; a += 1; - ], - [ - ace_cv_feature_ace_iostream=yes - ], - [ - ace_cv_feature_ace_iostream=no - ]) - ]) - ], , [AC_DEFINE([ACE_LACKS_ACE_IOSTREAM])]) - -dnl Check if ACE needs conversion to pass ACE_TTY_IO to DEV_Connector -ACE_CACHE_CHECK([if ACE needs conversion to pass ACE_TTY_IO to DEV_Connector], - [ace_cv_lib_need_dev_io_conv], - [ - dnl We want an empty ace/config.h to prevent multiple defines - dnl with Autoconf's confdefs.h - ACE_USE_TEMP_FILE([ace/config.h], - [ - dnl Now run the compilation test - ACE_TRY_COMPILE([-I. -I${srcdir}], - [ -#include "ace/OS.cpp" - ], - [ - int a=0; a += 1; - ], - [ - ace_cv_lib_need_dev_io_conv=no - ], - [ - dnl Now check if ACE_NEEDS_DEV_IO_CONVERSION makes - dnl compilation work! - ACE_TRY_COMPILE([-I. -I${srcdir}], - [ -#define ACE_NEEDS_DEV_IO_CONVERSION -#include "ace/DEV_Connector.cpp" - ], - [ - int a=0; a += 1; - ], - [ - ace_cv_lib_need_dev_io_conv=yes - ], - [ - dnl If we get here, then we have no idea what is wrong! - ace_cv_lib_need_dev_io_conv=no - ]) - ]) - ]) - ], [AC_DEFINE([ACE_NEEDS_DEV_IO_CONVERSION])],) - -dnl End ACE macro tests! - -dnl Substitute whatever X libraries ACE needs, if any. -AC_SUBST([ACE_XLIBS]) - -dnl Prepend purify and quantify command lines if purify and quantify are -dnl enabled. Otherwise, PURELINK and PRELINK will just be "blank." -LD="$PURELINK $PRELINK $LD" -dnl LDFLAGS="$ACE_LDFLAGS $LDFLAGS" - -dnl AC_SUBST(LDFLAGS) -dnl AC_SUBST(LIBOBJS) - -dnl Force CXXFLAGS to be substituted in Makefiles that don't "need" them. -AC_SUBST([CXXFLAGS]) - -dnl -dnl SECTION 16: AC_CONFIG_FILES([FILE...]) -dnl -dnl -dnl We can finally create all the files listed here; Makefile is -dnl created from Makefile.in, etc. Top-level Makefiles should be -dnl created first. - -dnl Makefile -dnl ace/Makefile - -AC_CONFIG_FILES([ - Makefile - ace/Makefile - ace/ETCL/Makefile - ace/Monitor_Control/Makefile - ace/QoS/Makefile - ace/SSL/Makefile - bin/Makefile - bin/PerlACE/Makefile -]) - -dnl Note that the "ACE_VERSION" in the message below is an M4 macro -dnl that expands to the version of ACE being configured. -AC_CONFIG_COMMANDS([default],[ - echo "" - echo "Configuration of ACE ACE_VERSION is now complete." - echo "" - ],[]) -AC_OUTPUT diff --git a/dep/ACE_wrappers/contrib/FaCE/ACE.ico b/dep/ACE_wrappers/contrib/FaCE/ACE.ico deleted file mode 100644 index 3efedc902..000000000 Binary files a/dep/ACE_wrappers/contrib/FaCE/ACE.ico and /dev/null differ diff --git a/dep/ACE_wrappers/contrib/FaCE/ACE_Racer.bmp b/dep/ACE_wrappers/contrib/FaCE/ACE_Racer.bmp deleted file mode 100644 index a487f63f8..000000000 Binary files a/dep/ACE_wrappers/contrib/FaCE/ACE_Racer.bmp and /dev/null differ diff --git a/dep/ACE_wrappers/contrib/FaCE/CE_ARGV.cpp b/dep/ACE_wrappers/contrib/FaCE/CE_ARGV.cpp deleted file mode 100644 index 710d542ff..000000000 --- a/dep/ACE_wrappers/contrib/FaCE/CE_ARGV.cpp +++ /dev/null @@ -1,117 +0,0 @@ -// $Id: CE_ARGV.cpp 85395 2009-05-19 10:22:42Z johnnyw $ - -#include "CE_ARGV.h" - -CE_ARGV::CE_ARGV(wchar_t* cmdLine) -: ce_argv_(0) -, ce_argc_(0) -{ - const wchar_t* dummyArgv = L"root"; // dummy for the first argv - const wchar_t* separator = L" "; // blank space is a separator - - int formattedCmdLineLength = wcslen(dummyArgv) + - wcslen(separator) + - 1; // 1 is for the NULL at the end - - if (wcslen(cmdLine) > 0) { - formattedCmdLineLength += wcslen(cmdLine); - formattedCmdLineLength += wcslen(separator); - } - - // formattedCmdLine will have dummyArgv and a separator at the beginning of cmdLine - // and a separator at the end to generalize format and reduce the amount of code - wchar_t* formattedCmdLine = 0; - formattedCmdLine = new wchar_t[formattedCmdLineLength]; - - wcscpy(formattedCmdLine, dummyArgv); - wcscat(formattedCmdLine, separator); - - int max_possible_argc = 1; // start with 1 because of the dummyArgv at the beginning - - if (wcslen(cmdLine) > 0) { - int formattedPos = wcslen(formattedCmdLine); - int cmdLineLength = wcslen(cmdLine); - - // Inside of this for loop, it does same thing as strcat except it - // checks and puts only one single white space between two argv entries. - for (int i = 0; i < cmdLineLength; ++i) { - if (iswspace(cmdLine[i]) != 0) { - ++max_possible_argc; // counting the number of white spaces - } - - formattedCmdLine[formattedPos++] = cmdLine[i]; - - if (iswspace(cmdLine[i]) != 0) { - // make sure there is only one white space between two argv entries. - while ((i < cmdLineLength) && (iswspace(cmdLine[i + 1]) != 0)) { - ++i; - } - } - } - - formattedCmdLine[formattedPos] = 0; - wcscat(formattedCmdLine, separator); // make sure formattedCmdLine ends with a blank - } - - int formattedCmdLength = wcslen(formattedCmdLine); - - bool insideQuotation = false; - int* argv_strlen = 0; - int entry_size = 0; - argv_strlen = new int[max_possible_argc]; - - // determine argc - for (int i = 0; i < formattedCmdLength; ++i) { - if (formattedCmdLine[i] == '\\') { - ++i; // ignore the following character - ++entry_size; - } - else if (formattedCmdLine[i] == '"') { - insideQuotation = !insideQuotation; - } - else if ((!insideQuotation) && (iswspace(formattedCmdLine[i]) != 0)) { - // new argv entry end found - argv_strlen[ce_argc_++] = entry_size; // cache the size of this entry - entry_size = 0; - } - else { - ++entry_size; - } - } - - ce_argv_ = new wchar_t*[ce_argc_ + 1]; - ce_argv_[ce_argc_] = 0; // Last command line entry is a NULL. - - for (int j = 0, cmdLinePos = 0; j < ce_argc_; ++j, ++cmdLinePos) { - int length = argv_strlen[j]; - - ce_argv_[j] = new wchar_t[length + 1]; - ce_argv_[j][length] = 0; // string termination null - - if (iswspace(formattedCmdLine[cmdLinePos]) != 0) { - // This is where prior argv has trailing '"' at the end. - ++cmdLinePos; - } - - for (int n = 0; n < length; ++n, ++cmdLinePos) { - if ((formattedCmdLine[cmdLinePos] == '\\') || (formattedCmdLine[cmdLinePos] == '"')) { - ++cmdLinePos; - } - - ce_argv_[j][n] = formattedCmdLine[cmdLinePos]; - } - } - - delete argv_strlen; - delete formattedCmdLine; -} - - -CE_ARGV::~CE_ARGV(void) -{ - for (int i = 0; i < ce_argc_; ++i) { - delete [] ce_argv_[i]; - } - - delete [] ce_argv_; -} diff --git a/dep/ACE_wrappers/contrib/FaCE/CE_ARGV.h b/dep/ACE_wrappers/contrib/FaCE/CE_ARGV.h deleted file mode 100644 index ae5bdd0c9..000000000 --- a/dep/ACE_wrappers/contrib/FaCE/CE_ARGV.h +++ /dev/null @@ -1,91 +0,0 @@ -// -*- C++ -*- -//============================================================================= -/** - * @file CE_ARGV.h - * - * $Id: CE_ARGV.h 85504 2009-06-04 09:41:32Z johnnyw $ - * - * @author Si Mong Park - */ -//============================================================================= - -#ifndef CE_ARGV_H -#define CE_ARGV_H - -#include -#include - - -/** - * @class CE_ARGV - * - * @brief This class is to hash input parameters, argc and argv, for WinCE platform. - * - * Since WinCE only supports wchar_t as an input from OS, some implementation detail, - * especially for CORBA spec, will not support wchar_t (wchar_t) type parameter. - * Moreover, WinCE's input parameter type is totally different than any other OS; - * all command line parameters will be stored in a single wide-character string with - * each unit parameter divided by blank space, and it does not provide the name of - * executable (generally known as argv[0]). - * This class is to convert CE's command line parameters and simulate as in the same - * manner as other general platforms, adding 'root' as a first argc, which is for the - * name of executable in other OS. - */ -class CE_ARGV -{ -public: - /** - * Ctor accepts CE command line as a parameter. - */ - CE_ARGV(wchar_t* cmdLine); - - /** - * Default Dtor that deletes any memory allocated for the converted string. - */ - ~CE_ARGV(void); - - /** - * Returns the number of command line parameters, same as argc on Unix. - */ - int argc(void); - - /** - * Returns the 'char**' that contains the converted command line parameters. - */ - wchar_t** argv(void); - -private: - /** - * Copy Ctor is not allowed. - */ - CE_ARGV(void); - - /** - * Copy Ctor is not allowed. - */ - CE_ARGV(CE_ARGV&); - - /** - * Pointer of converted command line parameters. - */ - wchar_t** ce_argv_; - - /** - * Integer that is same as argc on other OS's. - */ - int ce_argc_; -}; - - -inline int CE_ARGV::argc() -{ - return ce_argc_; -} - - -inline wchar_t** CE_ARGV::argv() -{ - return ce_argv_; -} - -#endif // CE_ARGV_H diff --git a/dep/ACE_wrappers/contrib/FaCE/CE_Screen_Output.cpp b/dep/ACE_wrappers/contrib/FaCE/CE_Screen_Output.cpp deleted file mode 100644 index 0c5cfa36e..000000000 --- a/dep/ACE_wrappers/contrib/FaCE/CE_Screen_Output.cpp +++ /dev/null @@ -1,166 +0,0 @@ -// $Id: CE_Screen_Output.cpp 80826 2008-03-04 14:51:23Z wotte $ - -#include "CE_Screen_Output.h" -#include - -// This utility does not use ACE, and shouldn't. -//FUZZ: disable check_for_lack_ACE_OS - -HWND CE_Screen_Output::handler_ = 0; - - -CE_Screen_Output::CE_Screen_Output() -: pFile_(0) -{ -} - - -CE_Screen_Output::~CE_Screen_Output() -{ - if (pFile_ != 0) { - fclose(pFile_); - } -} - - -void CE_Screen_Output::SetOutputWindow(HWND hEdit) -{ - handler_ = hEdit; -} - - -void CE_Screen_Output::clear() -{ - SetWindowText(handler_, 0); -} - - -CE_Screen_Output& CE_Screen_Output::operator << (wchar_t* output) -{ - int length = GetWindowTextLength(handler_); - SendMessage(handler_, EM_SETSEL, length, length); - SendMessage(handler_, EM_REPLACESEL, 0, (LPARAM)output); - - if (pFile_ != 0) - { - fwprintf(pFile_, L"%s", output); - } - - return *this; -} - - -CE_Screen_Output& CE_Screen_Output::operator << (const wchar_t* output) -{ - wchar_t* buffer = _wcsdup(output); - if (buffer != 0) - { - *this << buffer; - delete buffer; - } - return *this; -} - - -CE_Screen_Output& CE_Screen_Output::operator << (char* output) -{ - int len = MultiByteToWideChar(CP_OEMCP, MB_PRECOMPOSED, output, -1, 0, 0); - wchar_t* w_output = new wchar_t[len]; - - MultiByteToWideChar(CP_OEMCP, MB_PRECOMPOSED, output, -1, w_output, len); - *this << w_output; - - delete w_output; - - return *this; -} - - -CE_Screen_Output& CE_Screen_Output::operator << (const char* output) -{ - int len = MultiByteToWideChar(CP_OEMCP, MB_PRECOMPOSED, output, -1, 0, 0); - wchar_t* w_output = new wchar_t[len]; - - MultiByteToWideChar(CP_OEMCP, MB_PRECOMPOSED, output, -1, w_output, len); - *this << w_output; - - delete w_output; - return *this; -} - - -CE_Screen_Output& CE_Screen_Output::operator << (char output) -{ - *this << (int)output; - return *this; -} - - -CE_Screen_Output& CE_Screen_Output::operator << (unsigned char output) -{ - *this << (int)output; - return *this; -} - - -CE_Screen_Output& CE_Screen_Output::operator << (unsigned short output) -{ - wchar_t buffer[20]; - wsprintf(buffer, L"%u", output); - *this << buffer; - return *this; -} - - -CE_Screen_Output& CE_Screen_Output::operator << (int output) -{ - wchar_t buffer[20]; - wsprintf(buffer, L"%d", output); - *this << buffer; - return *this; -} - - -CE_Screen_Output& CE_Screen_Output::operator << (unsigned int output) -{ - wchar_t buffer[20]; - wsprintf(buffer, L"%du", output); - *this << buffer; - return *this; -} - - -CE_Screen_Output& CE_Screen_Output::operator << (float output) -{ - wchar_t buffer[20]; - swprintf(buffer, L"%f", output); - *this << buffer; - return *this; -} - - -CE_Screen_Output& CE_Screen_Output::operator << (long output) -{ - wchar_t buffer[20]; - wsprintf(buffer, L"%l", output); - *this << buffer; - return *this; -} - - -CE_Screen_Output& CE_Screen_Output::operator << (unsigned long output) -{ - wchar_t buffer[20]; - wsprintf(buffer, L"%lu", output); - *this << buffer; - return *this; -} - - -CE_Screen_Output& CE_Screen_Output::operator << (FILE* pFile) -{ - pFile_ = pFile; - return *this; -} - -//FUZZ: enable check_for_lack_ACE_OS diff --git a/dep/ACE_wrappers/contrib/FaCE/CE_Screen_Output.h b/dep/ACE_wrappers/contrib/FaCE/CE_Screen_Output.h deleted file mode 100644 index 550b047f1..000000000 --- a/dep/ACE_wrappers/contrib/FaCE/CE_Screen_Output.h +++ /dev/null @@ -1,98 +0,0 @@ -/** - * @file CE_Screen_Output.h - * - * $Id: CE_Screen_Output.h 85385 2009-05-19 10:12:29Z johnnyw $ - * - * @author Si Mong Park - */ -//============================================================================= - -#ifndef CE_Screen_Output_h -#define CE_Screen_Output_h - -#include -#include - -const wchar_t endl[] = L"\r\n"; -const wchar_t tab[] = L"\t"; - -/** - * @class CE_Screen_Output - * - * @brief Replacement of text output for Windows CE. - * - * This class allows standard text output to be displayed on - * text window for Windows CE. Generally, all ACE output will - * go through under CE if and only if user uses WindozeCE - * implementation by using main_ce instead of main. - * Also, for the easier debugging purpose, object pointer of - * this class can be gotten from ACE_Log_Msg::msg_callback() - * and then can be used directly by user just like cout stream. - */ -class CE_Screen_Output -{ -public: - /** - * Default Ctor - */ - CE_Screen_Output(); - - /** - * Default Dtor - */ - virtual ~CE_Screen_Output(); - - /** - * Interface to specify active window handle. - */ - void SetOutputWindow(HWND hWnd); - - /** - * Clears text screen. - */ - void clear(); - - /** - * << operator that performs actual print out. - * - * Note: This is the only one operator that performs - * output. All other perators convert the type and - * use this operator underneath. - */ - CE_Screen_Output& operator << (wchar_t*); - CE_Screen_Output& operator << (const wchar_t*); - - CE_Screen_Output& operator << (char* output); - CE_Screen_Output& operator << (const char* output); - - CE_Screen_Output& operator << (char output); - CE_Screen_Output& operator << (unsigned char output); - - CE_Screen_Output& operator << (unsigned short output); - - CE_Screen_Output& operator << (int output); - CE_Screen_Output& operator << (unsigned int output); - - CE_Screen_Output& operator << (float output); - - CE_Screen_Output& operator << (long output); - CE_Screen_Output& operator << (unsigned long output); - - CE_Screen_Output& operator << (FILE* pFile); - -private: - /** - * Copy Ctor - */ - CE_Screen_Output(CE_Screen_Output&); - - static HWND handler_; - - /** - * File pointer that used to save output to file. - * This class does not own the file handler pointer. - */ - FILE* pFile_; -}; - -#endif // CE_Screen_Output_h diff --git a/dep/ACE_wrappers/contrib/FaCE/FACE.ico b/dep/ACE_wrappers/contrib/FaCE/FACE.ico deleted file mode 100644 index 8a91925b1..000000000 Binary files a/dep/ACE_wrappers/contrib/FaCE/FACE.ico and /dev/null differ diff --git a/dep/ACE_wrappers/contrib/FaCE/FaCE.cpp b/dep/ACE_wrappers/contrib/FaCE/FaCE.cpp deleted file mode 100644 index f757c0c65..000000000 --- a/dep/ACE_wrappers/contrib/FaCE/FaCE.cpp +++ /dev/null @@ -1,656 +0,0 @@ -// $Id: FaCE.cpp 85504 2009-06-04 09:41:32Z johnnyw $ - -#include "FaCE.h" - -#ifdef NO_ACE - -#include "CE_ARGV.h" - -#else - -#include -#include -#include - -#endif // NO_ACE - -#include -#include -#include - -// This utility does not use ACE, and shouldn't. -//FUZZ: disable check_for_lack_ACE_OS - -const ACE_TCHAR* g_ParameterFileName = ACE_TEXT("Parameters.txt"); - -/** - * This simple and small class manages user-input command line - * parameters and parameter history file. - * - * @author Si Mong Park (spark@ociweb.com) - * @version $Revision: 85504 $ $Date: 2009-06-04 11:41:32 +0200 (Thu, 04 Jun 2009) $ - */ -class ParameterList -{ -public: - /** - * Default Ctor. - */ - ParameterList() : next_(0), param_(0) {}; - - /** - * Dtor: deletes all sub-PameterList objects as well as - * memory block allocated for the param_ by _wcsdup(). - */ - ~ParameterList() { free(param_); delete next_; }; - - /** - * Add a new parameter to the list. - */ - void addParameter(char*); - - /** - * Add a new parameter to the list. - */ - void addParameter(ACE_TCHAR*); - - /** - * Save all parameters stored in the list to the - * file. - * Note that 'outputFile' is only for the internal use - * and user must call this function without any parameter. - */ - void saveParameter(FILE* outputFile = 0); - - /** - * Send out windows message to load/update parameters. - */ - void sendParameterMSG(HWND, UINT); - -private: - /** - * A pointer to the next ParameterList object. - * This attribute is totally hidden from user. - */ - ParameterList* next_; - - /** - * User-specified command line parameter. - * This attribute is totally hidden from user. - */ - ACE_TCHAR* param_; -}; - - -void ParameterList::addParameter(char* newParameter) -{ -#ifdef NO_ACE - int len = MultiByteToWideChar(CP_OEMCP, MB_PRECOMPOSED, newParameter, -1, 0, 0); - wchar_t* w_output = new wchar_t[len]; - - MultiByteToWideChar(CP_OEMCP, MB_PRECOMPOSED, newParameter, -1, w_output, len); - this->addParameter(w_output); - - delete w_output; -#else - this->addParameter(ACE_TEXT_CHAR_TO_TCHAR(newParameter)); -#endif // NO_ACE -} - - -void ParameterList::addParameter(ACE_TCHAR* newParameter) -{ - if (this->param_ == 0) { - this->param_ = _wcsdup(newParameter); - this->next_ = new ParameterList(); // create and add a new ParameterList object - } - else { - if (wcscmp(this->param_, newParameter) != 0) { - this->next_->addParameter(newParameter); - } - } -} - - -void ParameterList::saveParameter(FILE* outputFile) -{ - if ( (outputFile == 0) && (this->param_ != 0) ) { - outputFile = _wfopen(g_ParameterFileName, ACE_TEXT("w+")); - } - - if (outputFile != 0) { - if (this->param_ != 0) { - fwprintf(outputFile, ACE_TEXT("%s\n"), this->param_); - this->next_->saveParameter(outputFile); - } - else { - fclose(outputFile); - } - } -} - - -void ParameterList::sendParameterMSG(HWND hDlg, UINT message) -{ - if (param_ != 0) { - SendDlgItemMessage(hDlg, IDC_CMDEDIT, message, 0, (LPARAM)this->param_); - this->next_->sendParameterMSG(hDlg, message); - } -} - - -// Global Variables: -HINSTANCE g_hInst; // The current instance -HWND g_hwndCB; // The command bar handle -HWND hWndEdit; // Read only edit box for output display -FILE* g_OutputFile; // File handler for output save - -ParameterList g_Parameter; // command line parameter list - -ACE_CE_Screen_Output cout; // Replacement of std::cout - -ACE_TCHAR g_CommandLine[MAX_COMMAND_LINE]; // User-specified command line parameter -ACE_TCHAR g_SaveFileName[MAX_LOADSTRING]; // Name of the output file - -static SHACTIVATEINFO s_sai; - -// Forward declarations of functions included in this code module: -ATOM MyRegisterClass (HINSTANCE, ACE_TCHAR*); -BOOL InitInstance (HINSTANCE, int); -LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM); -LRESULT CALLBACK About (HWND, UINT, WPARAM, LPARAM); -LRESULT CALLBACK CommandLine (HWND, UINT, WPARAM, LPARAM); -LRESULT CALLBACK SaveFileName (HWND, UINT, WPARAM, LPARAM); -LRESULT CALLBACK FileError (HWND, UINT, WPARAM, LPARAM); -LRESULT CALLBACK FileExist (HWND, UINT, WPARAM, LPARAM); -HWND CreateRpCommandBar(HWND); - - -void InitSetup() -{ - g_OutputFile = 0; - memset(g_CommandLine, 0, MAX_COMMAND_LINE * sizeof(ACE_TCHAR)); - memset(g_SaveFileName, 0, MAX_LOADSTRING * sizeof(ACE_TCHAR)); -} - - -void LoadParameterHistory() -{ - FILE* parameterFile = _wfopen(g_ParameterFileName, ACE_TEXT("r")); - - if (parameterFile != 0) { - while (feof(parameterFile) == 0) { - // Note: Remember that fwprintf takes wide-character format specifier but - // save string as ASCII. Thus, history must be read as ASCII then converted - // to wide-character (Unicode on WinCE). - char singleParameter[MAX_COMMAND_LINE]; - int size = 0; - fread(&singleParameter[size], sizeof(char), 1, parameterFile); - - // WinCE does not have function that reads upto the end of line. - while (singleParameter[size] != '\n') { - fread(&singleParameter[++size], sizeof(char), 1, parameterFile); - } - - if (size > 0) { - singleParameter[size] = 0; // NULL terminator - g_Parameter.addParameter(singleParameter); - } - } - fclose(parameterFile); - } -} - - -// -// FUNCTION: MyRegisterClass() -// -// PURPOSE: Registers the window class. -// -// COMMENTS: -// -// It is important to call this function so that the application -// will get 'well formed' small icons associated with it. -// -ATOM MyRegisterClass(HINSTANCE hInstance, ACE_TCHAR* szWindowClass) -{ - WNDCLASS wc; - - wc.style = CS_HREDRAW | CS_VREDRAW; - wc.lpfnWndProc = (WNDPROC) WndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_FACE)); - wc.hCursor = 0; - wc.hbrBackground = (HBRUSH) GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = 0; - wc.lpszClassName = szWindowClass; - - return RegisterClass(&wc); -} - -// -// FUNCTION: InitInstance(HANDLE, int) -// -// PURPOSE: Saves instance handle and creates main window -// -// COMMENTS: -// -// In this function, we save the instance handle in a global variable and -// create and display the main program window. -// -BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) -{ - HWND hWnd = 0; - - ACE_TCHAR szTitle[MAX_LOADSTRING]; // The title bar text - ACE_TCHAR szWindowClass[MAX_LOADSTRING]; // The window class name - - g_hInst = hInstance; // Store instance handle in our global variable - // Initialize global strings - LoadString(hInstance, IDC_FACE, szWindowClass, MAX_LOADSTRING); - LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING); - - //If it is already running, then focus on the window - hWnd = FindWindow(szWindowClass, szTitle); - if (hWnd) - { - // set focus to foremost child window - // The "| 0x01" is used to bring any owned windows to the foreground and - // activate them. - SetForegroundWindow((HWND)((ULONG) hWnd | 0x00000001)); - return 0; - } - - MyRegisterClass(hInstance, szWindowClass); - - RECT rect; - GetClientRect(hWnd, &rect); - - hWnd = CreateWindow(szWindowClass, szTitle, WS_VISIBLE, - CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, 0, 0, hInstance, 0); - - if (!hWnd) - { - int error = 0; - error = GetLastError(); - return FALSE; - } - //When the main window is created using CW_USEDEFAULT the height of the menubar (if one - // is created is not taken into account). So we resize the window after creating it - // if a menubar is present - { - RECT rc; - GetWindowRect(hWnd, &rc); - rc.bottom -= MENU_HEIGHT; - if (g_hwndCB) - MoveWindow(hWnd, rc.left, rc.top, rc.right, rc.bottom, FALSE); - } - - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - - return TRUE; -} - -// -// FUNCTION: WndProc(HWND, unsigned, WORD, LONG) -// -// PURPOSE: Processes messages for the main window. -// -// WM_COMMAND - process the application menu -// WM_PAINT - Paint the main window -// WM_DESTROY - post a quit message and return -// -// -LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) -{ - HDC hdc; - int wmId, wmEvent, nCmdHt; - PAINTSTRUCT ps; - RECT textRect; - - switch (message) - { - case WM_COMMAND: - wmId = LOWORD(wParam); - wmEvent = HIWORD(wParam); - // Parse the menu selections: - switch (wmId) - { - case IDM_HELP_ABOUT: - DialogBox(g_hInst, (const ACE_TCHAR*)IDD_ABOUTBOX, hWnd, (DLGPROC)About); - break; - - case IDOK: - SendMessage(hWnd, WM_ACTIVATE, MAKEWPARAM(WA_INACTIVE, 0), (LPARAM)hWnd); - SendMessage(hWnd, WM_CLOSE, 0, 0); - break; - - case ID_SETTING_RUN: - { -#ifdef NO_ACE - cout << ACE_TEXT("START with command line: ") << g_CommandLine << endl; - CE_ARGV ce_argv(g_CommandLine); - main_i(ce_argv.argc(), ce_argv.argv()); - cout << ACE_TEXT("END") << endl << endl; -#else - cout << ACE_TEXT("START with command line: ") << g_CommandLine << endl; - ACE_ARGV ce_argv(g_CommandLine); - ACE::init(); - ACE_LOG_MSG->msg_callback(&cout); // register call back - ACE_LOG_MSG->set_flags(ACE_Log_Msg::MSG_CALLBACK); // set call back flag - ace_main_i(ce_argv.argc(), ce_argv.argv()); - ACE::fini(); - cout << ACE_TEXT("END") << endl << endl; -#endif // NO_ACE - } - break; - - case ID_SETTING_EXIT: - SendMessage(hWnd, WM_DESTROY, 0, 0); - break; - - case ID_TOOLS_SAVETOFILE: - // create a dialog box to get the file name - DialogBox(g_hInst, (const ACE_TCHAR*)IDD_OUTFILE, hWnd, (DLGPROC)SaveFileName); - break; - - case ID_SETTING_COMMANDLINE: - // create a dialog box to get the command line - DialogBox(g_hInst, (const ACE_TCHAR*)IDD_CMDLINE, hWnd, (DLGPROC)CommandLine); - break; - - default: - return DefWindowProc(hWnd, message, wParam, lParam); - } - break; - - case WM_CREATE: - SHMENUBARINFO mbi; - - memset(&mbi, 0, sizeof(SHMENUBARINFO)); - mbi.cbSize = sizeof(SHMENUBARINFO); - mbi.hwndParent = hWnd; - mbi.nToolBarId = IDM_MENU; - mbi.hInstRes = g_hInst; - mbi.nBmpId = 0; - mbi.cBmpImages = 0; - - if (!SHCreateMenuBar(&mbi)) - return 0; - - g_hwndCB = mbi.hwndMB; - - // Initialize the shell activate info structure - memset (&s_sai, 0, sizeof (s_sai)); - s_sai.cbSize = sizeof (s_sai); - - GetClientRect(hWnd, &textRect); - nCmdHt = CommandBar_Height(mbi.hwndMB); - - hWndEdit = CreateWindow(ACE_TEXT("EDIT"), - 0, - WS_CHILD | WS_VISIBLE | ES_READONLY | ES_MULTILINE | WS_VSCROLL | WS_HSCROLL, - 0, - 0, - textRect.right, - textRect.bottom - MENU_HEIGHT, - hWnd, - 0, - g_hInst, - 0); - cout.SetOutputWindow(hWndEdit); - LoadParameterHistory(); - break; - - case WM_PAINT: - RECT rt; - hdc = BeginPaint(hWnd, &ps); - GetClientRect(hWnd, &rt); - EndPaint(hWnd, &ps); - break; - - case WM_ACTIVATE: - // Notify shell of our activate message - SHHandleWMActivate(hWnd, wParam, lParam, &s_sai, FALSE); - break; - - case WM_SETTINGCHANGE: - SHHandleWMSettingChange(hWnd, wParam, lParam, &s_sai); - break; - - case WM_HIBERNATE: // low power - case WM_CLOSE: - case WM_DESTROY: - g_Parameter.saveParameter(); // save parameters to history file - CommandBar_Destroy(g_hwndCB); - PostQuitMessage(0); - break; - - default: - return DefWindowProc(hWnd, message, wParam, lParam); - } - return 0; -} - - -HWND CreateRpCommandBar(HWND hwnd) -{ - SHMENUBARINFO mbi; - - memset(&mbi, 0, sizeof(SHMENUBARINFO)); - mbi.cbSize = sizeof(SHMENUBARINFO); - mbi.hwndParent = hwnd; - mbi.nToolBarId = IDM_MENU; - mbi.hInstRes = g_hInst; - mbi.nBmpId = 0; - mbi.cBmpImages = 0; - - if (!SHCreateMenuBar(&mbi)) - return 0; - - return mbi.hwndMB; -} - -// Mesage handler for the About box. -LRESULT CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM) -{ - SHINITDLGINFO shidi; - - const ACE_TCHAR* copyrightNote = -ACE_TEXT("ACE and TAO are copyrighted by Dr. Douglas C. Schmidt and Center for Distributed Object") \ -ACE_TEXT("Computing at Washington University, 1993-2002, all rights reserved.") \ -ACE_TEXT("FaCE is copyrighted by Object Computing, Inc., 2002,\n all rights reserved.\n") \ -ACE_TEXT("See License.txt for more information."); - - switch (message) - { - case WM_INITDIALOG: - // Create a Done button and size it. - shidi.dwMask = SHIDIM_FLAGS; - shidi.dwFlags = SHIDIF_DONEBUTTON | SHIDIF_SIPDOWN | SHIDIF_SIZEDLGFULLSCREEN; - shidi.hDlg = hDlg; - SHInitDialog(&shidi); - SetDlgItemText(hDlg, IDC_COPYRIGHT, copyrightNote); - return TRUE; - - case WM_COMMAND: - if (LOWORD(wParam) == IDOK) - { - EndDialog(hDlg, LOWORD(wParam)); - return TRUE; - } - break; - } - return FALSE; -} - - -LRESULT CALLBACK CommandLine(HWND hDlg, UINT message, WPARAM wParam, LPARAM) -{ - int wmId; - int wmEvent; - - switch (message) - { - case WM_INITDIALOG: - g_Parameter.sendParameterMSG(hDlg, CB_INSERTSTRING); - SetDlgItemText(hDlg, IDC_CMDEDIT, g_CommandLine); // pass existing command line for display - return TRUE; - - case WM_COMMAND: - wmId = LOWORD(wParam); - wmEvent = HIWORD(wParam); - // Parse the menu selections: - switch (wmId) - { - case IDOK: - // new command line accepted - GetDlgItemText(hDlg, IDC_CMDEDIT, g_CommandLine, MAX_COMMAND_LINE - 1); - EndDialog(hDlg, wmId); - g_Parameter.addParameter(g_CommandLine); - return TRUE; - - case IDCANCEL: - EndDialog(hDlg, wmId); - return TRUE; - - default: - return FALSE; - } - break; - default: - return FALSE; - } - - return FALSE; -} - - -LRESULT CALLBACK SaveFileName(HWND hDlg, UINT message, WPARAM wParam, LPARAM) -{ - int wmId; - int wmEvent; - - ACE_TCHAR tempBuffer[MAX_LOADSTRING]; - ACE_TCHAR fileMode[3] = { 0, '+', 0 }; // mode will either be "a+" or "w+" - FILE* tempFile; - - switch (message) - { - case WM_INITDIALOG: - SetDlgItemText(hDlg, IDC_SAVEFILE, g_SaveFileName); - return TRUE; - - case WM_COMMAND: - wmId = LOWORD(wParam); - wmEvent = HIWORD(wParam); - // Parse the menu selections: - switch (wmId) - { - case IDOK: - GetDlgItemText(hDlg, IDC_SAVEFILE, tempBuffer, MAX_LOADSTRING - 1); - EndDialog(hDlg, wmId); - - tempFile = _wfopen(tempBuffer, ACE_TEXT("r")); - - if (tempFile != 0) // if file exists - { - fclose(tempFile); // close temp handler - int choice = DialogBox(g_hInst, (const ACE_TCHAR*)IDD_FILEEXIST, hDlg, (DLGPROC)FileExist); - switch (choice) - { - case IDOVERWRITE: // overwrite existing file - fileMode[0] = 'w'; - break; - - case IDC_APPEND: // append to existing file - fileMode[0] = 'a'; - break; - - case IDCANCEL: // cancel operation without changing g_OutputFile - return TRUE; - } - } - else // if file does not exist - { - fileMode[0] = 'w'; - } - - tempFile = _wfopen(tempBuffer, fileMode); - - if (tempFile == 0) - { - DialogBox(g_hInst, (const ACE_TCHAR*)IDD_ERRFILE, hDlg, (DLGPROC)FileError); - } - else - { - wcscpy(g_SaveFileName, tempBuffer); - - if (g_OutputFile != 0) - { - fclose(g_OutputFile); // close any open file - } - - g_OutputFile = tempFile; - - cout << g_OutputFile; // update FILE* for the CE_Screen_Output class object. - } - - return TRUE; - - case IDCANCEL: - EndDialog(hDlg, wmId); - return TRUE; - - default: - return FALSE; - } - break; - default: - return FALSE; - } - - return FALSE; -} - - -LRESULT CALLBACK FileError(HWND hDlg, UINT message, WPARAM wParam, LPARAM) -{ - switch (message) - { - case WM_INITDIALOG: - return TRUE; - - case WM_COMMAND: - if (LOWORD(wParam) == IDOK) - { - EndDialog(hDlg, LOWORD(wParam)); - return TRUE; - } - break; - } - - return FALSE; -} - - -LRESULT CALLBACK FileExist(HWND hDlg, UINT message, WPARAM wParam, LPARAM) -{ - switch (message) - { - case WM_INITDIALOG: - return TRUE; - case WM_COMMAND: - EndDialog(hDlg, LOWORD(wParam)); - return TRUE; - default: - return FALSE; - } - - return FALSE; -} - -//FUZZ: enable check_for_lack_ACE_OS diff --git a/dep/ACE_wrappers/contrib/FaCE/FaCE.h b/dep/ACE_wrappers/contrib/FaCE/FaCE.h deleted file mode 100644 index b815a6182..000000000 --- a/dep/ACE_wrappers/contrib/FaCE/FaCE.h +++ /dev/null @@ -1,56 +0,0 @@ -// -*- C++ -*- -//============================================================================= -/** - * @file FaCE.h - * - * $Id: FaCE.h 91730 2010-09-13 09:31:11Z johnnyw $ - * - * @author Si Mong Park - */ -//============================================================================= - -#if !defined(AFX_FACE_H__1043241E_A6A9_4246_A9E4_7A774E19EE73__INCLUDED_) -#define AFX_FACE_H__1043241E_A6A9_4246_A9E4_7A774E19EE73__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#if (_WIN32_WCE <= 211) -#error This project can not be built for H/PC Pro 2.11 or earlier platforms. -#endif - -#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers - -////// -// BEGIN FaCE specific preprocessor -#ifdef NO_ACE - -#include -#include "CE_Screen_Output.h" - -#define ACE_TCHAR wchar_t -#define ACE_TEXT(STRING) L##STRING -#define ACE_CE_Screen_Output CE_Screen_Output - -int main_i(int, wchar_t**); - -#else - -#include - -int ace_main_i(int, ACE_TCHAR**); - -#endif // NO_ACE -// END FaCE specific -////// - -#include "resource.h" - -#define MENU_HEIGHT 26 -#define MAX_LOADSTRING 101 -#define MAX_COMMAND_LINE 1001 // Max number of characters + 1 (null at the end) for user-input argv - -extern ACE_CE_Screen_Output cout; // Replacement of std::cout - -#endif // !defined(AFX_FACE_H__1043241E_A6A9_4246_A9E4_7A774E19EE73__INCLUDED_) diff --git a/dep/ACE_wrappers/contrib/FaCE/FaCE.mpc b/dep/ACE_wrappers/contrib/FaCE/FaCE.mpc deleted file mode 100644 index db495a1f6..000000000 --- a/dep/ACE_wrappers/contrib/FaCE/FaCE.mpc +++ /dev/null @@ -1,16 +0,0 @@ -// -*- MPC -*- -// $Id: FaCE.mpc 85401 2009-05-19 13:14:39Z johnnyw $ - -project: aceexe { - exename = FaCE - // This is just a dummy_label to prevent the example from being compiled - // in MPC builds - requires += dummy_label - requires += wince - lit_libs += aygshell commctrl - - Source_Files { - FaCE.cpp - Main.cpp - } -} diff --git a/dep/ACE_wrappers/contrib/FaCE/FaCE.rc b/dep/ACE_wrappers/contrib/FaCE/FaCE.rc deleted file mode 100644 index 1d1b40df8..000000000 --- a/dep/ACE_wrappers/contrib/FaCE/FaCE.rc +++ /dev/null @@ -1,268 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "newres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_FACE ICON DISCARDABLE "FACE.ico" - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#include ""newres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Data -// - -IDM_MENU SHMENUBAR MOVEABLE PURE -BEGIN - IDM_MENU, 2, - I_IMAGENONE, ID_SETTING, TBSTATE_ENABLED, - TBSTYLE_DROPDOWN | TBSTYLE_AUTOSIZE, IDS_CAP_SETTING, 0, 0, - I_IMAGENONE, IDM_MAIN_COMMAND1, TBSTATE_ENABLED, - TBSTYLE_DROPDOWN | TBSTYLE_AUTOSIZE, IDS_HELP, 0, 1, -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Menubar -// - -IDM_MENU MENU DISCARDABLE -BEGIN - POPUP "Setting" - BEGIN - MENUITEM "Command Line", ID_SETTING_COMMANDLINE - MENUITEM "Run", ID_SETTING_RUN - MENUITEM SEPARATOR - MENUITEM "Exit", ID_SETTING_EXIT - END - POPUP "Tools" - BEGIN - MENUITEM "About", IDM_HELP_ABOUT - MENUITEM "Save To File", ID_TOOLS_SAVETOFILE - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 148, 161 -STYLE WS_POPUP | WS_CAPTION -EXSTYLE 0x80000000L -CAPTION "About FACE" -FONT 8, "System" -BEGIN - CONTROL 113,IDC_STATIC,"Static",SS_BITMAP | SS_CENTERIMAGE,33,6, - 69,52 - CTEXT "Static",IDC_COPYRIGHT,7,86,128,68 - CONTROL 114,IDC_TAO,"Static",SS_BITMAP,7,61,134,22 -END - -IDD_CMDLINE DIALOG DISCARDABLE 0, 0, 125, 50 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Command Line" -FONT 8, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,7,29,50,14 - PUSHBUTTON "Cancel",IDCANCEL,68,29,50,14 - COMBOBOX IDC_CMDEDIT,7,7,111,80,CBS_DROPDOWN | CBS_AUTOHSCROLL | - CBS_OEMCONVERT | CBS_SORT | CBS_HASSTRINGS | WS_VSCROLL | - WS_TABSTOP -END - -IDD_OUTFILE DIALOG DISCARDABLE 0, 0, 127, 49 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Output File Name" -FONT 8, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,7,28,50,14 - PUSHBUTTON "Cancel",IDCANCEL,70,28,50,14 - EDITTEXT IDC_SAVEFILE,7,7,113,14,ES_AUTOHSCROLL -END - -IDD_ERRFILE DIALOG DISCARDABLE 0, 0, 124, 49 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "ERROR" -FONT 8, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,37,28,50,14 - CTEXT "File Creation Error!",IDC_ERRFILE,13,7,98,17, - SS_CENTERIMAGE -END - -IDD_FILEEXIST DIALOG DISCARDABLE 0, 0, 114, 90 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "File Exists" -FONT 8, "System" -BEGIN - DEFPUSHBUTTON "Overwrite",IDOVERWRITE,32,32,50,14 - PUSHBUTTON "Cancel",IDCANCEL,32,68,50,14 - PUSHBUTTON "Append",IDC_APPEND,32,50,50,14 - CTEXT "File already exists!",IDC_STATIC,7,15,100,11 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Accelerator -// - -IDC_FACE ACCELERATORS DISCARDABLE -BEGIN - "A", IDM_HELP_ABOUT, VIRTKEY, CONTROL, NOINVERT - "Q", IDOK, VIRTKEY, CONTROL, NOINVERT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 141 - TOPMARGIN, 6 - BOTTOMMARGIN, 154 - END - - IDD_CMDLINE, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 118 - TOPMARGIN, 7 - BOTTOMMARGIN, 43 - END - - IDD_OUTFILE, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 120 - TOPMARGIN, 7 - BOTTOMMARGIN, 42 - END - - IDD_ERRFILE, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 117 - TOPMARGIN, 7 - BOTTOMMARGIN, 42 - END - - IDD_FILEEXIST, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 107 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_ACERACER BITMAP DISCARDABLE "ACE_Racer.bmp" -IDB_TAO BITMAP DISCARDABLE "TAO.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE DISCARDABLE -BEGIN - IDS_APP_TITLE "FaCE" - IDC_FACE "FaCE" -END - -STRINGTABLE DISCARDABLE -BEGIN - IDS_HELP "Tools" -END - -STRINGTABLE DISCARDABLE -BEGIN - IDS_COMMAND1 "Done " -END - -STRINGTABLE DISCARDABLE -BEGIN - IDS_CAP_SETTING "Setting" -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/dep/ACE_wrappers/contrib/FaCE/FaCENOACE.mpc b/dep/ACE_wrappers/contrib/FaCE/FaCENOACE.mpc deleted file mode 100644 index cc8c55979..000000000 --- a/dep/ACE_wrappers/contrib/FaCE/FaCENOACE.mpc +++ /dev/null @@ -1,16 +0,0 @@ -// -*- MPC -*- -// $Id: FaCENOACE.mpc 85401 2009-05-19 13:14:39Z johnnyw $ - -project: vc_warnings { - exename = FaCENOACE - requires += wince - macros += NO_ACE - lit_libs += aygshell commctrl - - Source_Files { - FaCE.cpp - Main.cpp - CE_ARGV.cpp - CE_Screen_Output.cpp - } -} diff --git a/dep/ACE_wrappers/contrib/FaCE/FaCE_OS.h b/dep/ACE_wrappers/contrib/FaCE/FaCE_OS.h deleted file mode 100644 index 82acae491..000000000 --- a/dep/ACE_wrappers/contrib/FaCE/FaCE_OS.h +++ /dev/null @@ -1,38 +0,0 @@ -// -*- C++ -*- - -//============================================================================= -/** - * @file FaCE_OS.h - * - * $Id: FaCE_OS.h 80826 2008-03-04 14:51:23Z wotte $ - * - * @author Si Mong Park - */ -//============================================================================= - -#ifndef FaCE_OS_h -#define FaCE_OS_h - -// This definition is for the "int FaCE_MAIN(int, wchar_t**)" using FaCE. -# define FaCE_MAIN \ -ace_main_i (int, ACE_TCHAR**); \ -extern BOOL InitInstance (HINSTANCE, int); \ -extern void InitSetup(); \ -int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, ACE_TCHAR* lpCmdLine, int nCmdShow) \ -{ \ - MSG msg; \ - HACCEL hAccelTable; \ - if (!InitInstance (hInstance, nCmdShow)) return FALSE; \ - hAccelTable = LoadAccelerators(hInstance, (const ACE_TCHAR*)IDC_FACE); \ - InitSetup(); \ - while (GetMessage(&msg, 0, 0, 0)) { \ - if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg)) { \ - TranslateMessage(&msg); \ - DispatchMessage(&msg); \ - } \ - } \ - return msg.wParam; \ -} \ -int ace_main_i - -#endif // FaCE_OS_h diff --git a/dep/ACE_wrappers/contrib/FaCE/License.txt b/dep/ACE_wrappers/contrib/FaCE/License.txt deleted file mode 100644 index 21719fba7..000000000 --- a/dep/ACE_wrappers/contrib/FaCE/License.txt +++ /dev/null @@ -1,27 +0,0 @@ -== -== Copyright and Licensing Information -== - -ACE(tm) and TAO(tm) are copyrighted by Dr. Douglas C. Schmidt and the Center for Distributed -Object Computing ('DOC' group) at Washington University, Copyright (C) 1993 - 2002, all rights -reserved. Since ACE and TAO are open source, free software, you are free to use, modify, and -distribute the ACE and TAO source code and object code produced from the source, as long as -you include this copyright statement along with code built using ACE and TAO. Please refer to -ACE and TAO documentations for detailed copyright and license information on ACE and TAO. - -FaCE is an additional front-end shell package designed for ACE and TAO testing work for Pocket -PC 2002 platform, created and released by Object Computing, Inc. (OCI) and distributed with ACE -and TAO under the same licensing terms. You can modify and change the source of FaCE for your -own use as long as you provide attribution to OCI by including its copyright statement in your -distributions of source and object code. OCI welcomes submissions of improvements to the FaCE -code base. - -FaCE is copyrighted by Object Computing, Inc., St. Louis Missouri, Copyright (C) 2002, -all rights reserved. - - -== -== Warranty Information -== - -FaCE is provided 'as is' without warranties of any kind. diff --git a/dep/ACE_wrappers/contrib/FaCE/Main.cpp b/dep/ACE_wrappers/contrib/FaCE/Main.cpp deleted file mode 100644 index 9f7ed4ea9..000000000 --- a/dep/ACE_wrappers/contrib/FaCE/Main.cpp +++ /dev/null @@ -1,49 +0,0 @@ -// $Id: Main.cpp 85397 2009-05-19 10:34:37Z johnnyw $ - -// ************************************************ -// ** This file is NOT to be used for framework. ** -// ************************************************ - -// This file defines the entry point for Windows CE, which is defined in OS.h for real applications. - - -#include "FaCE.h" - -extern BOOL InitInstance (HINSTANCE, int); -extern void InitSetup(); - - -int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, ACE_TCHAR*, int nCmdShow) -{ - MSG msg; - HACCEL hAccelTable; - if (!InitInstance (hInstance, nCmdShow)) return FALSE; - hAccelTable = LoadAccelerators(hInstance, (const ACE_TCHAR*)IDC_FACE); - InitSetup(); - while (GetMessage(&msg, 0, 0, 0)) { - if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - } - return msg.wParam; -} - - -#ifdef NO_ACE - -int main_i(int, ACE_TCHAR**) -{ - // this function will be replaced by user's main_ce function - return 0; -} - -#else - -int ace_main_i(int, ACE_TCHAR**) -{ - // this function will be replaced by user's main_ce function - return 0; -} - -#endif // NO_ACE diff --git a/dep/ACE_wrappers/contrib/FaCE/README b/dep/ACE_wrappers/contrib/FaCE/README deleted file mode 100644 index a4bd2d981..000000000 --- a/dep/ACE_wrappers/contrib/FaCE/README +++ /dev/null @@ -1,287 +0,0 @@ -=== -=== FaCE (Front-end for ACE CE) -=== -=== Object Computing, Inc. -=== St. Louis, Missouri -=== Copyright (C) 2002. All rights reserved. -=== -=== V1.01, March 30th, 2002 -=== - - -== What's FaCE? - -FaCE is a simple front-end framework for testing and debugging non-Windows -CE applications on the Pocket PC 2002 platform. Originally, FaCE was -developed to test ACE and TAO components internally in Object Computing, Inc. -However, since it has shown dramatic increase of productivity in a lot -shorter amount of time, it has been prepared as a package for all programmers -who want to test and run existing codes (non-WinCE native codes) on Pocket PC -2002 and WinCE 3.0. - -The features of FaCE are: - - 1. command line parameter support - 2. command line history support (never type in same command line again) - 3. output displayed on the windows screen - 4. output to file (with append and overwrite support) - 5. does not use MFC - 6. almost no modification to existing user code - 7. easy to enable and disable after install - -* Default project files only contain Pocket PC 2002 platform configuration. - A new configuration can be added for other WinCE 3.0 platform from eVC. - - -== Package Contents - -Files contained in FaCE package are: - - Main Framework Files for both ACE users and non-ACE users - - ACE_Racer.bmp - - FaCE.h & cpp - - FaCE.ico - - FaCE.rc - - newres.h - - resource.h - - TAO.bmp - - ACE entry point definition file - - FaCE_OS.h - - Additional Framework files for non-ACE users - - CE_ARGV.h & cpp - - CE_Screen_Output.h & cpp - - Files for loading skeleton FaCE from eVC - - FaCE.vcp & vcw : FaCE Project files for ACE users - - FaCENOACE.vcp & vcw : FaCE Project files for non-ACE users - - Main.cpp : almost empty entry point function - - Misc. Files - - ACE.ico : a bonus icon of ACE logo - - License.txt : license and warranty information - - ReadMe.txt : this document - - -== Requirement - - - Microsoft(C) eMbedded Visual Studio/C++ (eVC) 3.0 - - Pocket PC 2002 SDK - - ** For ACE-users only: - - ACE+TAO installed and configured for WinCE build only for ACE-users - - ace and ace_os libraries built for WinCE and loaded on machine - - -== Important Note - -It has been reported that certain Pocket PC 2002 machines with ARM processor -can be totally dead and will not even respond to the hard reset. While the -real cause of this problem is unknown, HP has released a patch for this -problem. We have tested it, and it seems working fine on our machine (HP -Jornada 568), which is our 5th machine that has been running fine for the -longest time. - -As this has been identified by hardware manufacturer and can be fixed as HP -did, Object Computing, Inc. (OCI) or any member of ACE+TAO community cannot -be responsible for this problem. If this problem happens during debugging, -contact your hardware manufacturer for fix or replacement. It has found -that almost all Pocket PC 2002 machines regardless of manufacturers have same -problem. - -Also, Phil Mesnier at OCI has found that virtual function calls under certain -situation can cause a problem that randomly changes parameter and pointer -values over function calls. This is due to the incorrect instructions -generated by eVC for ARM processor. So far, no solution or patch has been -released by compiler vendor, although vendor is aware of this problem. - -Since Pocket PC 2002 is based on WinCE 3.0, ACE+TAO as well as FaCE should -be able to run on any WinCE 3.0 platform by adding a new configuraion with -minimal change. - - -== Installation & Setup - -1. Create a subdirectory named 'FaCE' (or anything in your taste) under - your current project directory. - -2. Copy FaCE_OS.h to the ACE_ROOT/ace directory, and add following line at - the end of your ACE_ROOT/ace/config.h file: - - #include "FaCE_OS.h" - -3. Copy main framework files listed above and add them into "your" project - (NOT FaCE.vcw/vcp). For non-ACE users, copy additional framework files - for non-ACE users in addition to the main framework files. - It would be a good idea to create a new folder in your project and put - all FaCE files into it. This way, it will be easy to disable FaCE by - setting the folder excluded from the build on the folder property option. - - ** IMPORTANT! ** - FaCE does NOT use MFC. Thus, if your project is already set for - 'Not using MFC', then do not change the setting. - - * Note: Make sure those files are not shared by multiple executables. - Each project must have its own copy of those files. - It is a good idea to create a separate folder on your project - and put FaCE related files into that folder. In that case, - if you want to disable FaCE and run by using normal 'main', - then you can simply set the whole FaCE folder excluded from - build in the project setting menu. - -4. Change your 'main()' function part similar to the following example. - - #ifdef ACE_HAS_WINCE - #include "FaCE/FaCE.h" // use the name of subdirectory you created - int FaCE_MAIN (int argc, ACE_TCHAR *argv[]) - #else - int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) // ACE normal entry point - #endif - - Change the directory name for "FaCE/FaCE.h" if necessary. - For non-ACE users, use 'UNDER_CE' instead of 'ACE_HAS_WINCE'. - - == Possible Additional Change - - Above change will be the only change if your program compiles and links - fine under eVC. It does not mean that your program is WinCE-ready but - just means that your program does not include the libraries that are not - supported by WinCE, such as iostream. - - For ACE users, good examples will be the ACE test programs under - $ACE_ROOT/test. - - For non-ACE users, I highly recommend to create a project for WinCE first - if it has not already been done and write your code using wmain. - Try compile and link your program without FaCE to check your program does - not include any libraries not supported by WinCE. FaCE supports text output - by aliasing 'cout' in FaCE.h; however, it is NOT a real iostream but an alias - for CE_Screen_Output class. You may need to use '#ifdef UNDER_CE' for your - iostream includes, if you want to share the code among different platforms. - - Also, it is important to match the parameter types for 'wmain' function. - For WinCE, it MUST be in the format of: - - int FaCE_MAIN (int, wchar_t**) - - and you can leave your original wmain type as it was for non-CE platform - definition. - -5. Go to 'ResourceView' or double-click on the 'FaCE.rc'. Open 'String Table -> - String Table' from the resource browse view, and change the string value (caption) - defined for 'IDS_APP_TITLE' from 'FaCE' to your program name. This will - help identifying multiple FaCE-fied applications when you brose them - through system memory -> running programs in case of crash. - -6. That's it! - -** Optionally, you can personalize the icons defined for FaCE for your own. - To do this easily, load "FaCE.vcw" (requires ACE library) or "FaCENOACE.vcw" - from eVC. Also, FaCENOACE.vcw can be used as 'hello world'-type starting - frame-work for non-WinCE programmers. - -** Non-ACE users may see the warning messages saying, "Could not find the file xxx", - for ace.h, Log_Msg.h, OS.h, and CE_Screen_Output.h. This is due to the eVC's - not-so-perfect precompilation file checking and totally harmless. - -** Later if you don't want to use FaCE anymore, simply restore your original - main function and remove FaCE files from your project (or exclude FaCE files - from build). ACE library does not have to be rebuilt as FaCE_OS.h only - contains macro. - -== Running FaCE - -1. Command line option - -User can specify the command line option for the program by using 'Settings -> -Command Line' from the FaCE menu. FaCE will automatically save all user-entered -command line parameters as a ASCII format file named 'Parameters.txt' in the -root directory of WinCE device/emulator. User can edit and change by openning -this file from any text editor and save as a ASCII text file with DOS standard -CR/LF combo. This will greatly save time especially when you are working on the -Pocket PC machine that does not have keyboard. Remember NOT to convert file -format to Unicode; it must be standard DOS ASCII text file. - -2. Output Saving - -You can save output to file by selecting 'Tools -> Save To File'. By default, -FaCE will not create/save any file. Also, any output received before setting -up this feature will not be saved. - -If the file with specified name exists, FaCE will ask whether you want to -append to the end of file or erase and overwrite. All output files will be -saved in the root directory of the system. - -3. Running Your Program - -'Setting -> Run' will execute your program. Two tags, 'START' and 'END' -indicate the beginning and end of your code. - -For ACE users, any log message sent to ACE message log (ACE_DEBUG, for example) -will be displayed on the screen. Also, if you have setup to save to file, -the same contents will be saved to the file as well. Note that the output will -NOT have ACE internal tags (i.e. Dec 04 14:51:12.000 2001@LM_DEBUG@) because -FaCE uses callback message function, and ACE does not pass those tags along -with the output message. - -For non-ACE users, you can declare your own local copy of CE_Screen_Output -object. For example, you can declare CE_Screen_Output object in your cpp file -like: - - CE_Screen_Output cout; - -and use it like, - - int a = 100; - wchar_t* strTemp = L"Hello, world!"; - cout << L"String : " << strTemp << L"a = " << a << endl; - -Remember, CE_Screen_Output is just a simple text output function and does not -have the full capabilities of iostream, which is not available for WinCE 3.0. - -4. In case of crash - -If you have started your code, but the code crashes, which can be easily -identified by looking for the 'END' tag, then you can use Windows CE's memory -program to kill the process (Start -> Settings -> System tag -> Memory -> -Running Programs tag). If you have changed IDS_APP_TITLE in the resource -viewer, then you will see the name you have specified; otherwise, FaCE will be -listed. You can select the name and stop the process by clicking 'Stop' button. -Sometimes, you may need to reset the machine if you cannot access memory program. - - -== Note - -- This FaCE framework does not use any MFC; it only uses general Win32 - API, thus, your project setting does not have to be changed. - -- FaCE is for the 'legacy' Unix/DOS style console applications that - do not use any Win32 and MFC for Windows OS. Programs that are already - using native Windows/WinCE API's will not need FaCE framework. - -- If you run your application from FaCE (Settings -> Run), 'START' and - 'END' will appear at the beginning and end of output messages from your - application. If you see 'END' lable after execution, you can run your - program again without exit and start up FaCE again. - -- Make sure to terminate FaCE by selecting 'Settings -> Exit'. It will - completely terminate FaCE session; Clicking on the 'X' button - at the top-left corner of the screen will not, just like most WinCE programs. - -- FaCE_MAIN is only for the WinCE port of ACE, ensuring proper windows system - message filtering along with proper registraion so that user can see the - process from memory setting and task switcher applications. - -- ACE and FaCE do not overrides native WinMain. If you are developing for - Windows OS only, your WinMain should be just safe from any overrides. - In this case, of course, you don't need to use FaCE package. - - -== Question or Comment - -If you have question and/or comment specific to the FaCE, please contact -Si Park at spark@ociweb.com or Justin Michel at michel_j@ociweb.com. - -For general ACE+TAO support, please refer to comp.soft-sys.ace or contact -Object Computing, Inc. at http://www.ociweb.com. diff --git a/dep/ACE_wrappers/contrib/FaCE/TAO.bmp b/dep/ACE_wrappers/contrib/FaCE/TAO.bmp deleted file mode 100644 index 1492f7895..000000000 Binary files a/dep/ACE_wrappers/contrib/FaCE/TAO.bmp and /dev/null differ diff --git a/dep/ACE_wrappers/contrib/FaCE/newres.h b/dep/ACE_wrappers/contrib/FaCE/newres.h deleted file mode 100644 index 2eba90a70..000000000 --- a/dep/ACE_wrappers/contrib/FaCE/newres.h +++ /dev/null @@ -1,44 +0,0 @@ -// $Id: newres.h 91743 2010-09-13 18:24:51Z johnnyw $ - -#ifndef __NEWRES_H__ -#define __NEWRES_H__ - -#if !defined(UNDER_CE) -#define UNDER_CE _WIN32_WCE -#endif - -#if defined(_WIN32_WCE) - #if !defined(WCEOLE_ENABLE_DIALOGEX) - #define DIALOGEX DIALOG DISCARDABLE - #endif - #include - #define SHMENUBAR RCDATA - #if defined(WIN32_PLATFORM_PSPC) && (_WIN32_WCE >= 300) - #include - #define AFXCE_IDR_SCRATCH_SHMENU 28700 - #else - #define I_IMAGENONE (-2) - #define NOMENU 0xFFFF - #define IDS_SHNEW 1 - - #define IDM_SHAREDNEW 10 - #define IDM_SHAREDNEWDEFAULT 11 - #endif // _WIN32_WCE_PSPC - #define AFXCE_IDD_SAVEMODIFIEDDLG 28701 -#endif // _WIN32_WCE - -#ifdef RC_INVOKED -#ifndef _INC_WINDOWS -#define _INC_WINDOWS - #include "winuser.h" // extract from windows header - #include "winver.h" - #include "windows.h" -#endif -#endif - -#ifdef IDC_STATIC -#undef IDC_STATIC -#endif -#define IDC_STATIC (-1) - -#endif //__NEWRES_H__ diff --git a/dep/ACE_wrappers/contrib/FaCE/resource.h b/dep/ACE_wrappers/contrib/FaCE/resource.h deleted file mode 100644 index e52adfb2f..000000000 --- a/dep/ACE_wrappers/contrib/FaCE/resource.h +++ /dev/null @@ -1,45 +0,0 @@ -// $Id: resource.h 91743 2010-09-13 18:24:51Z johnnyw $ - -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by FaCE.rc -// -#define IDS_APP_TITLE 1 -#define IDC_FACE 3 -#define IDI_FACE 101 -#define IDM_MENU 102 -#define IDD_ABOUTBOX 103 -#define IDS_HELP 104 -#define IDD_CMDLINE 104 -#define IDD_OUTFILE 105 -#define IDD_ERRFILE 107 -#define IDD_FILEEXIST 109 -#define IDB_ACERACER 113 -#define IDB_TAO 114 -#define IDS_COMMAND1 301 -#define IDC_CMDEDIT 1001 -#define IDC_SAVEFILE 1002 -#define IDC_ERRFILE 1003 -#define IDOVERWRITE 1004 -#define IDC_APPEND 1005 -#define IDC_COPYRIGHT 1007 -#define IDC_TAO 1008 -#define IDM_MAIN_COMMAND1 40001 -#define IDM_HELP_ABOUT 40003 -#define ID_SETTING 40004 -#define IDS_CAP_SETTING 40006 -#define ID_SETTING_COMMANDLINE 40007 -#define ID_SETTING_RUN 40008 -#define ID_SETTING_EXIT 40011 -#define ID_TOOLS_SAVETOFILE 40012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 116 -#define _APS_NEXT_COMMAND_VALUE 40013 -#define _APS_NEXT_CONTROL_VALUE 1009 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/dep/ACE_wrappers/contrib/minizip/ChangeLogUnzip b/dep/ACE_wrappers/contrib/minizip/ChangeLogUnzip deleted file mode 100644 index 50ca6a9e0..000000000 --- a/dep/ACE_wrappers/contrib/minizip/ChangeLogUnzip +++ /dev/null @@ -1,67 +0,0 @@ -Change in 1.01e (12 feb 05) -- Fix in zipOpen2 for globalcomment (Rolf Kalbermatter) -- Fix possible memory leak in unzip.c (Zoran Stevanovic) - -Change in 1.01b (20 may 04) -- Integrate patch from Debian package (submited by Mark Brown) -- Add tools mztools from Xavier Roche - -Change in 1.01 (8 may 04) -- fix buffer overrun risk in unzip.c (Xavier Roche) -- fix a minor buffer insecurity in minizip.c (Mike Whittaker) - -Change in 1.00: (10 sept 03) -- rename to 1.00 -- cosmetic code change - -Change in 0.22: (19 May 03) -- crypting support (unless you define NOCRYPT) -- append file in existing zipfile - -Change in 0.21: (10 Mar 03) -- bug fixes - -Change in 0.17: (27 Jan 02) -- bug fixes - -Change in 0.16: (19 Jan 02) -- Support of ioapi for virtualize zip file access - -Change in 0.15: (19 Mar 98) -- fix memory leak in minizip.c - -Change in 0.14: (10 Mar 98) -- fix bugs in minizip.c sample for zipping big file -- fix problem in month in date handling -- fix bug in unzlocal_GetCurrentFileInfoInternal in unzip.c for - comment handling - -Change in 0.13: (6 Mar 98) -- fix bugs in zip.c -- add real minizip sample - -Change in 0.12: (4 Mar 98) -- add zip.c and zip.h for creates .zip file -- fix change_file_date in miniunz.c for Unix (Jean-loup Gailly) -- fix miniunz.c for file without specific record for directory - -Change in 0.11: (3 Mar 98) -- fix bug in unzGetCurrentFileInfo for get extra field and comment -- enhance miniunz sample, remove the bad unztst.c sample - -Change in 0.10: (2 Mar 98) -- fix bug in unzReadCurrentFile -- rename unzip* to unz* function and structure -- remove Windows-like hungary notation variable name -- modify some structure in unzip.h -- add somes comment in source -- remove unzipGetcCurrentFile function -- replace ZUNZEXPORT by ZEXPORT -- add unzGetLocalExtrafield for get the local extrafield info -- add a new sample, miniunz.c - -Change in 0.4: (25 Feb 98) -- suppress the type unzipFileInZip. - Only on file in the zipfile can be open at the same time -- fix somes typo in code -- added tm_unz structure in unzip_file_info (date/time in readable format) diff --git a/dep/ACE_wrappers/contrib/minizip/crypt.h b/dep/ACE_wrappers/contrib/minizip/crypt.h deleted file mode 100644 index f326da10f..000000000 --- a/dep/ACE_wrappers/contrib/minizip/crypt.h +++ /dev/null @@ -1,136 +0,0 @@ -/* crypt.h -- base code for crypt/uncrypt ZIPfile - -$Id: crypt.h 80826 2008-03-04 14:51:23Z wotte $ - -Version 1.01e, February 12th, 2005 - -Copyright (C) 1998-2005 Gilles Vollant - -This code is a modified version of crypting code in Infozip distribution - -The encryption/decryption parts of this source code (as opposed to the -non-echoing password parts) were originally written in Europe. The -whole source package can be freely distributed, including from the USA. -(Prior to January 2000, re-export from the US was a violation of US law.) - -This encryption code is a direct transcription of the algorithm from -Roger Schlafly, described by Phil Katz in the file appnote.txt. This -file (appnote.txt) is distributed with the PKZIP program (even in the -version without encryption capabilities). - -If you don't need crypting in your application, just define symbols -NOCRYPT and NOUNCRYPT. - -This code support the "Traditional PKWARE Encryption". - -The new AES encryption added on Zip format by Winzip (see the page -http://www.winzip.com/aes_info.htm ) and PKWare PKZip 5.x Strong -Encryption is not supported. -*/ - - -#define CRC32(c, b) ((*(pcrc_32_tab+(((int)(c) ^ (b)) & 0xff))) ^ ((c) >> 8)) - -/*********************************************************************** - * Return the next byte in the pseudo-random sequence - */ -static int decrypt_byte(unsigned long* pkeys, const unsigned long* pcrc_32_tab) -{ - unsigned temp; /* POTENTIAL BUG: temp*(temp^1) may overflow in an - * unpredictable manner on 16-bit systems; not a problem - * with any known compiler so far, though */ - - MINIZIP_UNUSED_ARG(pcrc_32_tab); - - temp = ((unsigned)(*(pkeys+2)) & 0xffff) | 2; - return (int)(((temp * (temp ^ 1)) >> 8) & 0xff); -} - -/*********************************************************************** - * Update the encryption keys with the next byte of plain text - */ -static int update_keys(unsigned long* pkeys,const unsigned long* pcrc_32_tab,int c) -{ - (*(pkeys+0)) = CRC32((*(pkeys+0)), c); - (*(pkeys+1)) += (*(pkeys+0)) & 0xff; - (*(pkeys+1)) = (*(pkeys+1)) * 134775813L + 1; - { - register int keyshift = (int)((*(pkeys+1)) >> 24); - (*(pkeys+2)) = CRC32((*(pkeys+2)), keyshift); - } - return c; -} - - -/*********************************************************************** - * Initialize the encryption keys and the random header according to - * the given password. - */ -static void init_keys(const char* passwd,unsigned long* pkeys,const unsigned long* pcrc_32_tab) -{ - *(pkeys+0) = 305419896L; - *(pkeys+1) = 591751049L; - *(pkeys+2) = 878082192L; - while (*passwd != '\0') { - update_keys(pkeys,pcrc_32_tab,(int)*passwd); - passwd++; - } -} - -#define zdecode(pkeys,pcrc_32_tab,c) \ - (update_keys(pkeys,pcrc_32_tab,c ^= decrypt_byte(pkeys,pcrc_32_tab))) - -#define zencode(pkeys,pcrc_32_tab,c,t) \ - (t=decrypt_byte(pkeys,pcrc_32_tab), update_keys(pkeys,pcrc_32_tab,c), t^(c)) - -#ifdef INCLUDECRYPTINGCODE_IFCRYPTALLOWED - -#define RAND_HEAD_LEN 12 -/* "last resort" source for second part of crypt seed pattern */ -# ifndef ZCR_SEED2 -# define ZCR_SEED2 3141592654UL /* use PI as default pattern */ -# endif - -static int crypthead(passwd, buf, bufSize, pkeys, pcrc_32_tab, crcForCrypting) - const char *passwd; /* password string */ - unsigned char *buf; /* where to write header */ - int bufSize; - unsigned long* pkeys; - const unsigned long* pcrc_32_tab; - unsigned long crcForCrypting; -{ - int n; /* index in random header */ - int t; /* temporary */ - int c; /* random byte */ - unsigned char header[RAND_HEAD_LEN-2]; /* random header */ - static unsigned calls = 0; /* ensure different random header each time */ - - if (bufSize> 7) & 0xff; - header[n] = (unsigned char)zencode(pkeys, pcrc_32_tab, c, t); - } - /* Encrypt random header (last two bytes is high word of crc) */ - init_keys(passwd, pkeys, pcrc_32_tab); - for (n = 0; n < RAND_HEAD_LEN-2; n++) - { - buf[n] = (unsigned char)zencode(pkeys, pcrc_32_tab, header[n], t); - } - buf[n++] = zencode(pkeys, pcrc_32_tab, (int)(crcForCrypting >> 16) & 0xff, t); - buf[n++] = zencode(pkeys, pcrc_32_tab, (int)(crcForCrypting >> 24) & 0xff, t); - return n; -} - -#endif diff --git a/dep/ACE_wrappers/contrib/minizip/ioapi.c b/dep/ACE_wrappers/contrib/minizip/ioapi.c deleted file mode 100644 index 5caa4c6cb..000000000 --- a/dep/ACE_wrappers/contrib/minizip/ioapi.c +++ /dev/null @@ -1,169 +0,0 @@ -/* ioapi.c -- IO base function header for compress/uncompress .zip - files using zlib + zip or unzip API - - Version 1.01e, February 12th, 2005 - - Copyright (C) 1998-2005 Gilles Vollant - - $Id: ioapi.c 80826 2008-03-04 14:51:23Z wotte $ -*/ - -#include -#include -#include - -#include "zlib.h" -#include "ioapi.h" - - - -/* I've found an old Unix (a SunOS 4.1.3_U1) without all SEEK_* defined.... */ - -#ifndef SEEK_CUR -#define SEEK_CUR 1 -#endif - -#ifndef SEEK_END -#define SEEK_END 2 -#endif - -#ifndef SEEK_SET -#define SEEK_SET 0 -#endif - -voidpf ZCALLBACK fopen_file_func OF(( - voidpf opaque, - const char* filename, - int mode)); - -uLong ZCALLBACK fread_file_func OF(( - voidpf opaque, - voidpf stream, - void* buf, - uLong size)); - -uLong ZCALLBACK fwrite_file_func OF(( - voidpf opaque, - voidpf stream, - const void* buf, - uLong size)); - -long ZCALLBACK ftell_file_func OF(( - voidpf opaque, - voidpf stream)); - -long ZCALLBACK fseek_file_func OF(( - voidpf opaque, - voidpf stream, - uLong offset, - int origin)); - -int ZCALLBACK fclose_file_func OF(( - voidpf opaque, - voidpf stream)); - -int ZCALLBACK ferror_file_func OF(( - voidpf opaque, - voidpf stream)); - - -voidpf ZCALLBACK fopen_file_func ( voidpf opaque,const char* filename,int mode) - { - FILE* file = 0; - const char* mode_fopen = 0; - MINIZIP_UNUSED_ARG (opaque); - if ((mode & ZLIB_FILEFUNC_MODE_READWRITEFILTER)==ZLIB_FILEFUNC_MODE_READ) - mode_fopen = "rb"; - else - if (mode & ZLIB_FILEFUNC_MODE_EXISTING) - mode_fopen = "r+b"; - else - if (mode & ZLIB_FILEFUNC_MODE_CREATE) - mode_fopen = "wb"; - - if ((filename != 0) && (mode_fopen != 0)) - file = fopen(filename, mode_fopen); - return file; -} - - -uLong ZCALLBACK fread_file_func (voidpf opaque,voidpf stream,void* buf,uLong size) -{ - uLong ret; - - MINIZIP_UNUSED_ARG (opaque); - - ret = (uLong)fread(buf, 1, (size_t)size, (FILE *)stream); - return ret; -} - - -uLong ZCALLBACK fwrite_file_func (voidpf opaque,voidpf stream,const void* buf,uLong size) - -{ - uLong ret; - MINIZIP_UNUSED_ARG (opaque); - ret = (uLong)fwrite(buf, 1, (size_t)size, (FILE *)stream); - return ret; -} - -long ZCALLBACK ftell_file_func (opaque, stream) - voidpf opaque; - voidpf stream; -{ - long ret; - MINIZIP_UNUSED_ARG (opaque); - ret = ftell((FILE *)stream); - return ret; -} - -long ZCALLBACK fseek_file_func (voidpf opaque,voidpf stream,uLong offset,int origin) -{ - int fseek_origin=0; - long ret; - MINIZIP_UNUSED_ARG (opaque); - switch (origin) - { - case ZLIB_FILEFUNC_SEEK_CUR : - fseek_origin = SEEK_CUR; - break; - case ZLIB_FILEFUNC_SEEK_END : - fseek_origin = SEEK_END; - break; - case ZLIB_FILEFUNC_SEEK_SET : - fseek_origin = SEEK_SET; - break; - default: return -1; - } - ret = 0; - fseek((FILE *)stream, offset, fseek_origin); - return ret; -} - -int ZCALLBACK fclose_file_func (voidpf opaque,voidpf stream) -{ - int ret; - MINIZIP_UNUSED_ARG (opaque); - ret = fclose((FILE *)stream); - return ret; -} - -int ZCALLBACK ferror_file_func (voidpf opaque,voidpf stream) -{ - int ret; - MINIZIP_UNUSED_ARG (opaque); - ret = ferror((FILE *)stream); - return ret; -} - -void fill_fopen_filefunc (zlib_filefunc_def* pzlib_filefunc_def) - { - pzlib_filefunc_def->zopen_file = fopen_file_func; - pzlib_filefunc_def->zread_file = fread_file_func; - pzlib_filefunc_def->zwrite_file = fwrite_file_func; - pzlib_filefunc_def->ztell_file = ftell_file_func; - pzlib_filefunc_def->zseek_file = fseek_file_func; - pzlib_filefunc_def->zclose_file = fclose_file_func; - pzlib_filefunc_def->zerror_file = ferror_file_func; - pzlib_filefunc_def->opaque = 0; -} diff --git a/dep/ACE_wrappers/contrib/minizip/ioapi.h b/dep/ACE_wrappers/contrib/minizip/ioapi.h deleted file mode 100644 index 169a9525a..000000000 --- a/dep/ACE_wrappers/contrib/minizip/ioapi.h +++ /dev/null @@ -1,78 +0,0 @@ -/* ioapi.h -- IO base function header for compress/uncompress .zip - files using zlib + zip or unzip API - - Version 1.01e, February 12th, 2005 - - Copyright (C) 1998-2005 Gilles Vollant - - $Id: ioapi.h 80826 2008-03-04 14:51:23Z wotte $ -*/ - -#ifndef _ZLIBIOAPI_H -#define _ZLIBIOAPI_H - -#include "minizip_export.h" - -#define ZLIB_FILEFUNC_SEEK_CUR (1) -#define ZLIB_FILEFUNC_SEEK_END (2) -#define ZLIB_FILEFUNC_SEEK_SET (0) - -#define ZLIB_FILEFUNC_MODE_READ (1) -#define ZLIB_FILEFUNC_MODE_WRITE (2) -#define ZLIB_FILEFUNC_MODE_READWRITEFILTER (3) - -#define ZLIB_FILEFUNC_MODE_EXISTING (4) -#define ZLIB_FILEFUNC_MODE_CREATE (8) - - -#ifndef ZCALLBACK - -#if (defined(WIN32) || defined (WINDOWS) || defined (_WINDOWS)) && defined(CALLBACK) && defined (USEWINDOWS_CALLBACK) -#define ZCALLBACK CALLBACK -#else -#define ZCALLBACK -#endif -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const char* filename, int mode)); -typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size)); -typedef uLong (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf, uLong size)); -typedef long (ZCALLBACK *tell_file_func) OF((voidpf opaque, voidpf stream)); -typedef long (ZCALLBACK *seek_file_func) OF((voidpf opaque, voidpf stream, uLong offset, int origin)); -typedef int (ZCALLBACK *close_file_func) OF((voidpf opaque, voidpf stream)); -typedef int (ZCALLBACK *testerror_file_func) OF((voidpf opaque, voidpf stream)); - -typedef struct zlib_filefunc_def_s -{ - open_file_func zopen_file; - read_file_func zread_file; - write_file_func zwrite_file; - tell_file_func ztell_file; - seek_file_func zseek_file; - close_file_func zclose_file; - testerror_file_func zerror_file; - voidpf opaque; -} zlib_filefunc_def; - - - -void fill_fopen_filefunc OF((zlib_filefunc_def* pzlib_filefunc_def)); - -#define ZREAD(filefunc,filestream,buf,size) ((*((filefunc).zread_file))((filefunc).opaque,filestream,buf,size)) -#define ZWRITE(filefunc,filestream,buf,size) ((*((filefunc).zwrite_file))((filefunc).opaque,filestream,buf,size)) -#define ZTELL(filefunc,filestream) ((*((filefunc).ztell_file))((filefunc).opaque,filestream)) -#define ZSEEK(filefunc,filestream,pos,mode) ((*((filefunc).zseek_file))((filefunc).opaque,filestream,pos,mode)) -#define ZCLOSE(filefunc,filestream) ((*((filefunc).zclose_file))((filefunc).opaque,filestream)) -#define ZERROR(filefunc,filestream) ((*((filefunc).zerror_file))((filefunc).opaque,filestream)) - - -#ifdef __cplusplus -} -#endif - -#endif - diff --git a/dep/ACE_wrappers/contrib/minizip/miniunz.c b/dep/ACE_wrappers/contrib/minizip/miniunz.c deleted file mode 100644 index e2da71970..000000000 --- a/dep/ACE_wrappers/contrib/minizip/miniunz.c +++ /dev/null @@ -1,587 +0,0 @@ -/* - miniunz.c - Version 1.01e, February 12th, 2005 - - Copyright (C) 1998-2005 Gilles Vollant - - $Id: miniunz.c 91813 2010-09-17 07:52:52Z johnnyw $ -*/ - - -#include -#include -#include -#include -#include -#include - -#ifdef unix -# include -# include -#else -# include -# include -#endif - -#include "unzip.h" - -#define CASESENSITIVITY (0) -#define WRITEBUFFERSIZE (8192) -#define MAXFILENAME (256) - -#ifdef WIN32 -#define USEWIN32IOAPI -#include "iowin32.h" -#endif -/* - mini unzip, demo of unzip package - - usage : - Usage : miniunz [-exvlo] file.zip [file_to_extract] [-d extractdir] - - list the file in the zipfile, and print the content of FILE_ID.ZIP or README.TXT - if it exists -*/ - - -/* change_file_date : change the date/time of a file - filename : the filename of the file where date/time must be modified - dosdate : the new date at the MSDos format (4 bytes) - tmu_date : the SAME new date at the tm_unz format */ -void change_file_date(filename,dosdate,tmu_date) - const char *filename; - uLong dosdate; - tm_unz tmu_date; -{ -#ifdef WIN32 - HANDLE hFile; - FILETIME ftm,ftLocal,ftCreate,ftLastAcc,ftLastWrite; - - hFile = CreateFile(filename,GENERIC_READ | GENERIC_WRITE, - 0,0,OPEN_EXISTING,0,0); - GetFileTime(hFile,&ftCreate,&ftLastAcc,&ftLastWrite); - DosDateTimeToFileTime((WORD)(dosdate>>16),(WORD)dosdate,&ftLocal); - LocalFileTimeToFileTime(&ftLocal,&ftm); - SetFileTime(hFile,&ftm,&ftLastAcc,&ftm); - CloseHandle(hFile); -#else -#ifdef unix - struct utimbuf ut; - struct tm newdate; - newdate.tm_sec = tmu_date.tm_sec; - newdate.tm_min=tmu_date.tm_min; - newdate.tm_hour=tmu_date.tm_hour; - newdate.tm_mday=tmu_date.tm_mday; - newdate.tm_mon=tmu_date.tm_mon; - if (tmu_date.tm_year > 1900) - newdate.tm_year=tmu_date.tm_year - 1900; - else - newdate.tm_year=tmu_date.tm_year ; - newdate.tm_isdst=-1; - - ut.actime=ut.modtime=mktime(&newdate); - utime(filename,&ut); -#endif -#endif -} - - -/* mymkdir and change_file_date are not 100 % portable - As I don't know well Unix, I wait feedback for the unix portion */ - -int mymkdir(dirname) - const char* dirname; -{ - int ret=0; -#ifdef WIN32 - ret = mkdir(dirname); -#else -#ifdef unix - ret = mkdir (dirname,0775); -#endif -#endif - return ret; -} - -int makedir (newdir) - char *newdir; -{ - char *buffer ; - char *p; - int len = (int)strlen(newdir); - - if (len <= 0) - return 0; - - buffer = (char*)malloc(len+1); - strcpy(buffer,newdir); - - if (buffer[len-1] == '/') { - buffer[len-1] = '\0'; - } - if (mymkdir(buffer) == 0) - { - free(buffer); - return 1; - } - - p = buffer+1; - while (1) - { - char hold; - - while(*p && *p != '\\' && *p != '/') - p++; - hold = *p; - *p = 0; - if ((mymkdir(buffer) == -1) && (errno == ENOENT)) - { - printf("couldn't create directory %s\n",buffer); - free(buffer); - return 0; - } - if (hold == 0) - break; - *p++ = hold; - } - free(buffer); - return 1; -} - -void do_banner() -{ - printf("MiniUnz 1.01b, demo of zLib + Unz package written by Gilles Vollant\n"); - printf("more info at http://www.winimage.com/zLibDll/unzip.html\n\n"); -} - -void do_help() -{ - printf("Usage : miniunz [-e] [-x] [-v] [-l] [-o] [-p password] file.zip [file_to_extr.] [-d extractdir]\n\n" \ - " -e Extract without pathname (junk paths)\n" \ - " -x Extract with pathname\n" \ - " -v list files\n" \ - " -l list files\n" \ - " -d directory to extract into\n" \ - " -o overwrite files without prompting\n" \ - " -p extract crypted file using password\n\n"); -} - - -int do_list(uf) - unzFile uf; -{ - uLong i; - unz_global_info gi; - int err; - - err = unzGetGlobalInfo (uf,&gi); - if (err!=UNZ_OK) - printf("error %d with zipfile in unzGetGlobalInfo \n",err); - printf(" Length Method Size Ratio Date Time CRC-32 Name\n"); - printf(" ------ ------ ---- ----- ---- ---- ------ ----\n"); - for (i=0;i0) - ratio = (file_info.compressed_size*100)/file_info.uncompressed_size; - - /* display a '*' if the file is crypted */ - if ((file_info.flag & 1) != 0) - charCrypt='*'; - - if (file_info.compression_method==0) - string_method="Stored"; - else - if (file_info.compression_method==Z_DEFLATED) - { - uInt iLevel=(uInt)((file_info.flag & 0x6)/2); - if (iLevel==0) - string_method="Defl:N"; - else if (iLevel==1) - string_method="Defl:X"; - else if ((iLevel==2) || (iLevel==3)) - string_method="Defl:F"; /* 2:fast , 3 : extra fast*/ - } - else - string_method="Unkn. "; - - printf("%7lu %6s%c%7lu %3lu%% %2.2lu-%2.2lu-%2.2lu %2.2lu:%2.2lu %8.8lx %s\n", - file_info.uncompressed_size,string_method, - charCrypt, - file_info.compressed_size, - ratio, - (uLong)file_info.tmu_date.tm_mon + 1, - (uLong)file_info.tmu_date.tm_mday, - (uLong)file_info.tmu_date.tm_year % 100, - (uLong)file_info.tmu_date.tm_hour,(uLong)file_info.tmu_date.tm_min, - (uLong)file_info.crc,filename_inzip); - if ((i+1)='a') && (rep<='z')) - rep -= 0x20; - } - while ((rep!='Y') && (rep!='N') && (rep!='A')); - } - - if (rep == 'N') - skip = 1; - - if (rep == 'A') - *popt_overwrite=1; - } - - if ((skip==0) && (err==UNZ_OK)) - { - fout=fopen(write_filename,"wb"); - - /* some zipfile don't contain directory alone before file */ - if ((fout==0) && ((*popt_extract_without_path)==0) && - (filename_withoutpath!=(char*)filename_inzip)) - { - char c=*(filename_withoutpath-1); - *(filename_withoutpath-1)='\0'; - makedir(write_filename); - *(filename_withoutpath-1)=c; - fout=fopen(write_filename,"wb"); - } - - if (fout==0) - { - printf("error opening %s\n",write_filename); - } - } - - if (fout!=0) - { - printf(" extracting: %s\n",write_filename); - - do - { - err = unzReadCurrentFile(uf,buf,size_buf); - if (err<0) - { - printf("error %d with zipfile in unzReadCurrentFile\n",err); - break; - } - if (err>0) - if (fwrite(buf,err,1,fout)!=1) - { - printf("error in writing extracted file\n"); - err=UNZ_ERRNO; - break; - } - } - while (err>0); - if (fout) - fclose(fout); - - if (err==0) - change_file_date(write_filename,file_info.dosDate, - file_info.tmu_date); - } - - if (err==UNZ_OK) - { - err = unzCloseCurrentFile (uf); - if (err!=UNZ_OK) - { - printf("error %d with zipfile in unzCloseCurrentFile\n",err); - } - } - else - unzCloseCurrentFile(uf); /* don't lose the error */ - } - - free(buf); - return err; -} - - -int do_extract(uf,opt_extract_without_path,opt_overwrite,password) - unzFile uf; - int opt_extract_without_path; - int opt_overwrite; - const char* password; -{ - uLong i; - unz_global_info gi; - int err; - FILE* fout=0; - - err = unzGetGlobalInfo (uf,&gi); - if (err!=UNZ_OK) - printf("error %d with zipfile in unzGetGlobalInfo \n",err); - - for (i=0;i -#include -#include -#include -#include -#include - -#ifdef unix -# include -# include -# include -# include -#else -# include -# include -#endif - -#include "zip.h" - -#ifdef WIN32 -#define USEWIN32IOAPI -#include "iowin32.h" -#endif - - - -#define WRITEBUFFERSIZE (16384) -#define MAXFILENAME (256) - -#ifdef WIN32 -uLong filetime(f, tmzip, dt) - char *f; /* name of file to get info on */ - tm_zip *tmzip; /* return value: access, modific. and creation times */ - uLong *dt; /* dostime */ -{ - int ret = 0; - { - FILETIME ftLocal; - HANDLE hFind; - WIN32_FIND_DATA ff32; - - hFind = FindFirstFile(f,&ff32); - if (hFind != INVALID_HANDLE_VALUE) - { - FileTimeToLocalFileTime(&(ff32.ftLastWriteTime),&ftLocal); - FileTimeToDosDateTime(&ftLocal,((LPWORD)dt)+1,((LPWORD)dt)+0); - FindClose(hFind); - ret = 1; - } - } - return ret; -} -#else -#ifdef unix -uLong filetime(f, tmzip, dt) - char *f; /* name of file to get info on */ - tm_zip *tmzip; /* return value: access, modific. and creation times */ - uLong *dt; /* dostime */ -{ - int ret=0; - struct stat s; /* results of stat() */ - struct tm* filedate; - time_t tm_t=0; - - if (strcmp(f,"-")!=0) - { - char name[MAXFILENAME+1]; - int len = strlen(f); - if (len > MAXFILENAME) - len = MAXFILENAME; - - strncpy(name, f,MAXFILENAME-1); - /* strncpy doesnt append the trailing NULL, of the string is too long. */ - name[ MAXFILENAME ] = '\0'; - - if (name[len - 1] == '/') - name[len - 1] = '\0'; - /* not all systems allow stat'ing a file with / appended */ - if (stat(name,&s)==0) - { - tm_t = s.st_mtime; - ret = 1; - } - } - filedate = localtime(&tm_t); - - tmzip->tm_sec = filedate->tm_sec; - tmzip->tm_min = filedate->tm_min; - tmzip->tm_hour = filedate->tm_hour; - tmzip->tm_mday = filedate->tm_mday; - tmzip->tm_mon = filedate->tm_mon ; - tmzip->tm_year = filedate->tm_year; - - return ret; -} -#else -uLong filetime(f, tmzip, dt) - char *f; /* name of file to get info on */ - tm_zip *tmzip; /* return value: access, modific. and creation times */ - uLong *dt; /* dostime */ -{ - return 0; -} -#endif -#endif - - - - -int check_exist_file(filename) - const char* filename; -{ - FILE* ftestexist; - int ret = 1; - ftestexist = fopen(filename,"rb"); - if (ftestexist==0) - ret = 0; - else - fclose(ftestexist); - return ret; -} - -void do_banner() -{ - printf("MiniZip 1.01b, demo of zLib + Zip package written by Gilles Vollant\n"); - printf("more info at http://www.winimage.com/zLibDll/unzip.html\n\n"); -} - -void do_help() -{ - printf("Usage : minizip [-o] [-a] [-0 to -9] [-p password] file.zip [files_to_add]\n\n" \ - " -o Overwrite existing file.zip\n" \ - " -a Append to existing file.zip\n" \ - " -0 Store only\n" \ - " -1 Compress faster\n" \ - " -9 Compress better\n\n"); -} - -/* calculate the CRC32 of a file, - because to encrypt a file, we need known the CRC32 of the file before */ -int getFileCrc(const char* filenameinzip,void*buf,unsigned long size_buf,unsigned long* result_crc) -{ - unsigned long calculate_crc=0; - int err=ZIP_OK; - FILE * fin = fopen(filenameinzip,"rb"); - unsigned long size_read = 0; - unsigned long total_read = 0; - if (fin==0) - { - err = ZIP_ERRNO; - } - - if (err == ZIP_OK) - do - { - err = ZIP_OK; - size_read = (int)fread(buf,1,size_buf,fin); - if (size_read < size_buf) - if (feof(fin)==0) - { - printf("error in reading %s\n",filenameinzip); - err = ZIP_ERRNO; - } - - if (size_read>0) - calculate_crc = crc32(calculate_crc,buf,size_read); - total_read += size_read; - - } while ((err == ZIP_OK) && (size_read>0)); - - if (fin) - fclose(fin); - - *result_crc=calculate_crc; - printf("file %s crc %x\n",filenameinzip,calculate_crc); - return err; -} - -int main(argc,argv) - int argc; - char *argv[]; -{ - int i; - int opt_overwrite=0; - int opt_compress_level=Z_DEFAULT_COMPRESSION; - int zipfilenamearg = 0; - char filename_try[MAXFILENAME+16]; - int zipok; - int err=0; - int size_buf=0; - void* buf=0; - const char* password=0; - - - do_banner(); - if (argc==1) - { - do_help(); - return 0; - } - else - { - for (i=1;i='0') && (c<='9')) - opt_compress_level = c-'0'; - - if (((c=='p') || (c=='P')) && (i+1='a') && (rep<='z')) - rep -= 0x20; - } - while ((rep!='Y') && (rep!='N') && (rep!='A')); - if (rep=='N') - zipok = 0; - if (rep=='A') - opt_overwrite = 2; - } - } - - if (zipok==1) - { - zipFile zf; - int errclose; -# ifdef USEWIN32IOAPI - zlib_filefunc_def ffunc; - fill_win32_filefunc(&ffunc); - zf = zipOpen2(filename_try,(opt_overwrite==2) ? 2 : 0,0,&ffunc); -# else - zf = zipOpen(filename_try,(opt_overwrite==2) ? 2 : 0); -# endif - - if (zf == 0) - { - printf("error opening %s\n",filename_try); - err= ZIP_ERRNO; - } - else - printf("creating %s\n",filename_try); - - for (i=zipfilenamearg+1;(i='0') || (argv[i][1]<='9'))) && - (strlen(argv[i]) == 2))) - { - FILE * fin; - int size_read; - const char* filenameinzip = argv[i]; - zip_fileinfo zi; - unsigned long crcFile=0; - - zi.tmz_date.tm_sec = zi.tmz_date.tm_min = zi.tmz_date.tm_hour = - zi.tmz_date.tm_mday = zi.tmz_date.tm_mon = zi.tmz_date.tm_year = 0; - zi.dosDate = 0; - zi.internal_fa = 0; - zi.external_fa = 0; - filetime(filenameinzip,&zi.tmz_date,&zi.dosDate); - -/* - err = zipOpenNewFileInZip(zf,filenameinzip,&zi, - 0,0,0,0,0 / * comment * /, - (opt_compress_level != 0) ? Z_DEFLATED : 0, - opt_compress_level); -*/ - if ((password != 0) && (err==ZIP_OK)) - err = getFileCrc(filenameinzip,buf,size_buf,&crcFile); - - err = zipOpenNewFileInZip3(zf,filenameinzip,&zi, - 0,0,0,0,0 /* comment*/, - (opt_compress_level != 0) ? Z_DEFLATED : 0, - opt_compress_level,0, - /* -MAX_WBITS, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY, */ - -MAX_WBITS, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY, - password,crcFile); - - if (err != ZIP_OK) - printf("error in opening %s in zipfile\n",filenameinzip); - else - { - fin = fopen(filenameinzip,"rb"); - if (fin==0) - { - err=ZIP_ERRNO; - printf("error in opening %s for reading\n",filenameinzip); - } - } - - if (err == ZIP_OK) - do - { - err = ZIP_OK; - size_read = (int)fread(buf,1,size_buf,fin); - if (size_read < size_buf) - if (feof(fin)==0) - { - printf("error in reading %s\n",filenameinzip); - err = ZIP_ERRNO; - } - - if (size_read>0) - { - err = zipWriteInFileInZip (zf,buf,size_read); - if (err<0) - { - printf("error in writing %s in the zipfile\n", - filenameinzip); - } - - } - } while ((err == ZIP_OK) && (size_read>0)); - - if (fin) - fclose(fin); - - if (err<0) - err=ZIP_ERRNO; - else - { - err = zipCloseFileInZip(zf); - if (err!=ZIP_OK) - printf("error in closing %s in the zipfile\n", - filenameinzip); - } - } - } - errclose = zipClose(zf,0); - if (errclose != ZIP_OK) - printf("error in closing %s\n",filename_try); - } - else - { - do_help(); - } - - free(buf); - return 0; -} diff --git a/dep/ACE_wrappers/contrib/minizip/minizip.mpc b/dep/ACE_wrappers/contrib/minizip/minizip.mpc deleted file mode 100644 index bf857f091..000000000 --- a/dep/ACE_wrappers/contrib/minizip/minizip.mpc +++ /dev/null @@ -1,23 +0,0 @@ -// -*- MPC -*- -// $Id: minizip.mpc 90163 2010-05-18 21:42:20Z mitza $ - -project (minizip) : install, zlib, vc_warnings { - sharedname = minizip - libout = $(ACE_ROOT)/lib - dynamicflags += MINIZIP_BUILD_DLL - requires += zlib - - Source_Files { - zip.c - unzip.c - ioapi.c - } - - Header_Files { - minizip_export.h - ioapi.h - unzip.h - zip.h - } -} - diff --git a/dep/ACE_wrappers/contrib/minizip/minizip.mwc b/dep/ACE_wrappers/contrib/minizip/minizip.mwc deleted file mode 100644 index daeed2ad0..000000000 --- a/dep/ACE_wrappers/contrib/minizip/minizip.mwc +++ /dev/null @@ -1,3 +0,0 @@ -// $Id: minizip.mwc 85579 2009-06-08 18:46:54Z mitza $ -workspace { -} diff --git a/dep/ACE_wrappers/contrib/minizip/minizip_export.h b/dep/ACE_wrappers/contrib/minizip/minizip_export.h deleted file mode 100644 index c8baa9779..000000000 --- a/dep/ACE_wrappers/contrib/minizip/minizip_export.h +++ /dev/null @@ -1,37 +0,0 @@ - -// -*- C++ -*- -// $Id: minizip_export.h 86019 2009-07-14 12:13:09Z wotte $ -// Definition for Win32 Export directives. - -#ifndef MINIZIP_EXPORT_H -#define MINIZIP_EXPORT_H - -#if defined (MINIZIP_AS_STATIC_LIBS) -# if !defined (MINIZIP_HAS_DLL) -# define MINIZIP_HAS_DLL 0 -# endif /* ! MINIZIP_HAS_DLL */ -#else -# if !defined (MINIZIP_HAS_DLL) -# define MINIZIP_HAS_DLL 1 -# endif /* ! MINIZIP_HAS_DLL */ -#endif /* MINIZIP_AS_STATIC_LIBS */ - -#if defined (MINIZIP_HAS_DLL) -# if (MINIZIP_HAS_DLL == 1) && defined (_WINDOWS) -# if defined (MINIZIP_BUILD_DLL) -# define MINIZIP_EXPORT __declspec(dllexport) -# else /* MINIZIP_BUILD_DLL */ -# define MINIZIP_EXPORT __declspec(dllimport) -# endif /* MINIZIP_BUILD_DLL */ -# else /* MINIZIP_HAS_DLL == 1 */ -# define MINIZIP_EXPORT -# endif /* MINIZIP_HAS_DLL == 1 */ -#endif /* MINIZIP_HAS_DLL */ - -#if defined (__GNUC__) && ((__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2))) -# define MINIZIP_UNUSED_ARG(a) (void) (a) -#else -# define MINIZIP_UNUSED_ARG(a) do {/* null */} while (&a == 0) -#endif - -#endif /* MINIZIP_EXPORT_H */ diff --git a/dep/ACE_wrappers/contrib/minizip/mztools.c b/dep/ACE_wrappers/contrib/minizip/mztools.c deleted file mode 100644 index a56bea87d..000000000 --- a/dep/ACE_wrappers/contrib/minizip/mztools.c +++ /dev/null @@ -1,282 +0,0 @@ -/* - Additional tools for Minizip - Code: Xavier Roche '2004 - License: Same as ZLIB (www.gzip.org) - $Id: mztools.c 91813 2010-09-17 07:52:52Z johnnyw $ -*/ - -/* Code */ -#include -#include -#include -#include "zlib.h" -#include "unzip.h" - -#define READ_8(adr) ((unsigned char)*(adr)) -#define READ_16(adr) ( READ_8(adr) | (READ_8(adr+1) << 8) ) -#define READ_32(adr) ( READ_16(adr) | (READ_16((adr)+2) << 16) ) - -#define WRITE_8(buff, n) do { \ - *((unsigned char*)(buff)) = (unsigned char) ((n) & 0xff); \ -} while(0) -#define WRITE_16(buff, n) do { \ - WRITE_8((unsigned char*)(buff), n); \ - WRITE_8(((unsigned char*)(buff)) + 1, (n) >> 8); \ -} while(0) -#define WRITE_32(buff, n) do { \ - WRITE_16((unsigned char*)(buff), (n) & 0xffff); \ - WRITE_16((unsigned char*)(buff) + 2, (n) >> 16); \ -} while(0) - -extern int ZEXPORT unzRepair(file, fileOut, fileOutTmp, nRecovered, bytesRecovered) -const char* file; -const char* fileOut; -const char* fileOutTmp; -uLong* nRecovered; -uLong* bytesRecovered; -{ - int err = Z_OK; - FILE* fpZip = fopen(file, "rb"); - FILE* fpOut = fopen(fileOut, "wb"); - FILE* fpOutCD = fopen(fileOutTmp, "wb"); - if (fpZip != 0 && fpOut != 0) { - int entries = 0; - uLong totalBytes = 0; - char header[30]; - char filename[256]; - char extra[1024]; - int offset = 0; - int offsetCD = 0; - while ( fread(header, 1, 30, fpZip) == 30 ) { - int currentOffset = offset; - - /* File entry */ - if (READ_32(header) == 0x04034b50) { - unsigned int version = READ_16(header + 4); - unsigned int gpflag = READ_16(header + 6); - unsigned int method = READ_16(header + 8); - unsigned int filetime = READ_16(header + 10); - unsigned int filedate = READ_16(header + 12); - unsigned int crc = READ_32(header + 14); /* crc */ - unsigned int cpsize = READ_32(header + 18); /* compressed size */ - unsigned int uncpsize = READ_32(header + 22); /* uncompressed sz */ - unsigned int fnsize = READ_16(header + 26); /* file name length */ - unsigned int extsize = READ_16(header + 28); /* extra field length */ - filename[0] = extra[0] = '\0'; - - /* Header */ - if (fwrite(header, 1, 30, fpOut) == 30) { - offset += 30; - } else { - err = Z_ERRNO; - break; - } - - /* Filename */ - if (fnsize > 0) { - if (fread(filename, 1, fnsize, fpZip) == fnsize) { - if (fwrite(filename, 1, fnsize, fpOut) == fnsize) { - offset += fnsize; - } else { - err = Z_ERRNO; - break; - } - } else { - err = Z_ERRNO; - break; - } - } else { - err = Z_STREAM_ERROR; - break; - } - - /* Extra field */ - if (extsize > 0) { - if (fread(extra, 1, extsize, fpZip) == extsize) { - if (fwrite(extra, 1, extsize, fpOut) == extsize) { - offset += extsize; - } else { - err = Z_ERRNO; - break; - } - } else { - err = Z_ERRNO; - break; - } - } - - /* Data */ - { - int dataSize = cpsize; - if (dataSize == 0) { - dataSize = uncpsize; - } - if (dataSize > 0) { - char* data = malloc(dataSize); - if (data != 0) { - if ((int)fread(data, 1, dataSize, fpZip) == dataSize) { - if ((int)fwrite(data, 1, dataSize, fpOut) == dataSize) { - offset += dataSize; - totalBytes += dataSize; - } else { - err = Z_ERRNO; - } - } else { - err = Z_ERRNO; - } - free(data); - if (err != Z_OK) { - break; - } - } else { - err = Z_MEM_ERROR; - break; - } - } - } - - /* Central directory entry */ - { - char header[46]; - char* comment = ""; - int comsize = (int) strlen(comment); - WRITE_32(header, 0x02014b50); - WRITE_16(header + 4, version); - WRITE_16(header + 6, version); - WRITE_16(header + 8, gpflag); - WRITE_16(header + 10, method); - WRITE_16(header + 12, filetime); - WRITE_16(header + 14, filedate); - WRITE_32(header + 16, crc); - WRITE_32(header + 20, cpsize); - WRITE_32(header + 24, uncpsize); - WRITE_16(header + 28, fnsize); - WRITE_16(header + 30, extsize); - WRITE_16(header + 32, comsize); - WRITE_16(header + 34, 0); /* disk # */ - WRITE_16(header + 36, 0); /* int attrb */ - WRITE_32(header + 38, 0); /* ext attrb */ - WRITE_32(header + 42, currentOffset); - /* Header */ - if (fwrite(header, 1, 46, fpOutCD) == 46) { - offsetCD += 46; - - /* Filename */ - if (fnsize > 0) { - if (fwrite(filename, 1, fnsize, fpOutCD) == fnsize) { - offsetCD += fnsize; - } else { - err = Z_ERRNO; - break; - } - } else { - err = Z_STREAM_ERROR; - break; - } - - /* Extra field */ - if (extsize > 0) { - if (fwrite(extra, 1, extsize, fpOutCD) == extsize) { - offsetCD += extsize; - } else { - err = Z_ERRNO; - break; - } - } - - /* Comment field */ - if (comsize > 0) { - if ((int)fwrite(comment, 1, comsize, fpOutCD) == comsize) { - offsetCD += comsize; - } else { - err = Z_ERRNO; - break; - } - } - - - } else { - err = Z_ERRNO; - break; - } - } - - /* Success */ - entries++; - - } else { - break; - } - } - - /* Final central directory */ - { - int entriesZip = entries; - char header[22]; - char* comment = ""; // "ZIP File recovered by zlib/minizip/mztools"; - int comsize = (int) strlen(comment); - if (entriesZip > 0xffff) { - entriesZip = 0xffff; - } - WRITE_32(header, 0x06054b50); - WRITE_16(header + 4, 0); /* disk # */ - WRITE_16(header + 6, 0); /* disk # */ - WRITE_16(header + 8, entriesZip); /* hack */ - WRITE_16(header + 10, entriesZip); /* hack */ - WRITE_32(header + 12, offsetCD); /* size of CD */ - WRITE_32(header + 16, offset); /* offset to CD */ - WRITE_16(header + 20, comsize); /* comment */ - - /* Header */ - if (fwrite(header, 1, 22, fpOutCD) == 22) { - - /* Comment field */ - if (comsize > 0) { - if ((int)fwrite(comment, 1, comsize, fpOutCD) != comsize) { - err = Z_ERRNO; - } - } - - } else { - err = Z_ERRNO; - } - } - - /* Final merge (file + central directory) */ - fclose(fpOutCD); - if (err == Z_OK) { - fpOutCD = fopen(fileOutTmp, "rb"); - if (fpOutCD != 0) { - int nRead; - char buffer[8192]; - while ( (nRead = (int)fread(buffer, 1, sizeof(buffer), fpOutCD)) > 0) { - if ((int)fwrite(buffer, 1, nRead, fpOut) != nRead) { - err = Z_ERRNO; - break; - } - } - fclose(fpOutCD); - } - } - - /* Close */ - fclose(fpZip); - fclose(fpOut); - - /* Wipe temporary file */ - (void)remove(fileOutTmp); - - /* Number of recovered entries */ - if (err == Z_OK) { - if (nRecovered != 0) { - *nRecovered = entries; - } - if (bytesRecovered != 0) { - *bytesRecovered = totalBytes; - } - } - } else { - err = Z_STREAM_ERROR; - } - return err; -} diff --git a/dep/ACE_wrappers/contrib/minizip/mztools.h b/dep/ACE_wrappers/contrib/minizip/mztools.h deleted file mode 100644 index da47ebc2e..000000000 --- a/dep/ACE_wrappers/contrib/minizip/mztools.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - Additional tools for Minizip - Code: Xavier Roche '2004 - License: Same as ZLIB (www.gzip.org) - $Id: mztools.h 80826 2008-03-04 14:51:23Z wotte $ -*/ - -#ifndef _zip_tools_H -#define _zip_tools_H - -#ifdef __cplusplus -extern "C" { -#endif - -#ifndef _ZLIB_H -#include "zlib.h" -#endif - -#include "unzip.h" - -/* Repair a ZIP file (missing central directory) - file: file to recover - fileOut: output file after recovery - fileOutTmp: temporary file name used for recovery -*/ -extern int ZEXPORT unzRepair(const char* file, - const char* fileOut, - const char* fileOutTmp, - uLong* nRecovered, - uLong* bytesRecovered); - -#endif diff --git a/dep/ACE_wrappers/contrib/minizip/unzip.c b/dep/ACE_wrappers/contrib/minizip/unzip.c deleted file mode 100644 index f9719c922..000000000 --- a/dep/ACE_wrappers/contrib/minizip/unzip.c +++ /dev/null @@ -1,1536 +0,0 @@ -/* unzip.c -- IO for uncompress .zip files using zlib - Version 1.01e, February 12th, 2005 - - Copyright (C) 1998-2005 Gilles Vollant - - Read unzip.h for more info - $Id: unzip.c 91813 2010-09-17 07:52:52Z johnnyw $ -*/ - -/* Decryption code comes from crypt.c by Info-ZIP but has been greatly reduced in terms of -compatibility with older software. The following is from the original crypt.c. Code -woven in by Terry Thorsen 1/2003. -*/ -/* - Copyright (c) 1990-2000 Info-ZIP. All rights reserved. - - See the accompanying file LICENSE, version 2000-Apr-09 or later - (the contents of which are also included in zip.h) for terms of use. - If, for some reason, all these files are missing, the Info-ZIP license - also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html -*/ -/* - crypt.c (full version) by Info-ZIP. Last revised: [see crypt.h] - - The encryption/decryption parts of this source code (as opposed to the - non-echoing password parts) were originally written in Europe. The - whole source package can be freely distributed, including from the USA. - (Prior to January 2000, re-export from the US was a violation of US law.) - */ - -/* - This encryption code is a direct transcription of the algorithm from - Roger Schlafly, described by Phil Katz in the file appnote.txt. This - file (appnote.txt) is distributed with the PKZIP program (even in the - version without encryption capabilities). - */ - - -#include -#include -#include -#include "zlib.h" -#include "unzip.h" - -#ifdef STDC -# include -# include -# include -#endif -#ifdef NO_ERRNO_H - extern int errno; -#else -# include -#endif - - -#ifndef local -# define local static -#endif -/* compile with -Dlocal if your debugger can't find static symbols */ - - -#ifndef CASESENSITIVITYDEFAULT_NO -# if !defined(unix) && !defined(CASESENSITIVITYDEFAULT_YES) -# define CASESENSITIVITYDEFAULT_NO -# endif -#endif - - -#ifndef UNZ_BUFSIZE -#define UNZ_BUFSIZE (16384) -#endif - -#ifndef UNZ_MAXFILENAMEINZIP -#define UNZ_MAXFILENAMEINZIP (256) -#endif - -#ifndef ALLOC -# define ALLOC(size) (malloc(size)) -#endif -#ifndef TRYFREE -# define TRYFREE(p) {if (p) free(p);} -#endif - -#define SIZECENTRALDIRITEM (0x2e) -#define SIZEZIPLOCALHEADER (0x1e) - - - - -const char unz_copyright[] = - " unzip 1.01 Copyright 1998-2004 Gilles Vollant - http://www.winimage.com/zLibDll"; - -/* unz_file_info_interntal contain internal info about a file in zipfile*/ -typedef struct unz_file_info_internal_s -{ - uLong offset_curfile;/* relative offset of local header 4 bytes */ -} unz_file_info_internal; - - -/* file_in_zip_read_info_s contain internal information about a file in zipfile, - when reading and decompress it */ -typedef struct -{ - char *read_buffer; /* internal buffer for compressed data */ - z_stream stream; /* zLib stream structure for inflate */ - - uLong pos_in_zipfile; /* position in byte on the zipfile, for fseek*/ - uLong stream_initialised; /* flag set if stream structure is initialised*/ - - uLong offset_local_extrafield;/* offset of the local extra field */ - uInt size_local_extrafield;/* size of the local extra field */ - uLong pos_local_extrafield; /* position in the local extra field in read*/ - - uLong crc32; /* crc32 of all data uncompressed */ - uLong crc32_wait; /* crc32 we must obtain after decompress all */ - uLong rest_read_compressed; /* number of byte to be decompressed */ - uLong rest_read_uncompressed;/*number of byte to be obtained after decomp*/ - zlib_filefunc_def z_filefunc; - voidpf filestream; /* io structore of the zipfile */ - uLong compression_method; /* compression method (0==store) */ - uLong byte_before_the_zipfile;/* byte before the zipfile, (>0 for sfx)*/ - int raw; -} file_in_zip_read_info_s; - - -/* unz_s contain internal information about the zipfile -*/ -typedef struct -{ - zlib_filefunc_def z_filefunc; - voidpf filestream; /* io structore of the zipfile */ - unz_global_info gi; /* public global information */ - uLong byte_before_the_zipfile;/* byte before the zipfile, (>0 for sfx)*/ - uLong num_file; /* number of the current file in the zipfile*/ - uLong pos_in_central_dir; /* pos of the current file in the central dir*/ - uLong current_file_ok; /* flag about the usability of the current file*/ - uLong central_pos; /* position of the beginning of the central dir*/ - - uLong size_central_dir; /* size of the central directory */ - uLong offset_central_dir; /* offset of start of central directory with - respect to the starting disk number */ - - unz_file_info cur_file_info; /* public info about the current file in zip*/ - unz_file_info_internal cur_file_info_internal; /* private info about it*/ - file_in_zip_read_info_s* pfile_in_zip_read; /* structure about the current - file if we are decompressing it */ - int encrypted; -# ifndef NOUNCRYPT - unsigned long keys[3]; /* keys defining the pseudo-random sequence */ - const unsigned long* pcrc_32_tab; -# endif -} unz_s; - - -#ifndef NOUNCRYPT -#include "crypt.h" -#endif - -/* =========================================================================== - Read a byte from a gz_stream; update next_in and avail_in. Return EOF - for end of file. - IN assertion: the stream s has been sucessfully opened for reading. -*/ - - -local int unzlocal_getByte OF(( - const zlib_filefunc_def* pzlib_filefunc_def, - voidpf filestream, - int *pi)); - -local int unzlocal_getByte(const zlib_filefunc_def* pzlib_filefunc_def,voidpf filestream,int *pi) - -{ - unsigned char c; - int err = (int)ZREAD(*pzlib_filefunc_def,filestream,&c,1); - if (err==1) - { - *pi = (int)c; - return UNZ_OK; - } - else - { - if (ZERROR(*pzlib_filefunc_def,filestream)) - return UNZ_ERRNO; - else - return UNZ_EOF; - } -} - - -/* =========================================================================== - Reads a long in LSB order from the given gz_stream. Sets -*/ -local int unzlocal_getShort OF(( - const zlib_filefunc_def* pzlib_filefunc_def, - voidpf filestream, - uLong *pX)); - -local int unzlocal_getShort (const zlib_filefunc_def* pzlib_filefunc_def,voidpf filestream,uLong *pX) - -{ - uLong x ; - int i = 0; - int err; - - err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i); - x = (uLong)i; - - if (err==UNZ_OK) - err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i); - x += ((uLong)i)<<8; - - if (err==UNZ_OK) - *pX = x; - else - *pX = 0; - return err; -} - -local int unzlocal_getLong OF(( - const zlib_filefunc_def* pzlib_filefunc_def, - voidpf filestream, - uLong *pX)); - -local int unzlocal_getLong (const zlib_filefunc_def* pzlib_filefunc_def,voidpf filestream,uLong *pX) - -{ - uLong x ; - int i = 0; - int err; - - err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i); - x = (uLong)i; - - if (err==UNZ_OK) - err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i); - x += ((uLong)i)<<8; - - if (err==UNZ_OK) - err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i); - x += ((uLong)i)<<16; - - if (err==UNZ_OK) - err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i); - x += ((uLong)i)<<24; - - if (err==UNZ_OK) - *pX = x; - else - *pX = 0; - return err; -} - - -/* My own strcmpi / strcasecmp */ -local int strcmpcasenosensitive_internal(const char* fileName1,const char* fileName2) - -{ - for (;;) - { - char c1=*(fileName1++); - char c2=*(fileName2++); - if ((c1>='a') && (c1<='z')) - c1 -= 0x20; - if ((c2>='a') && (c2<='z')) - c2 -= 0x20; - if (c1=='\0') - return ((c2=='\0') ? 0 : -1); - if (c2=='\0') - return 1; - if (c1c2) - return 1; - } -} - - -#ifdef CASESENSITIVITYDEFAULT_NO -#define CASESENSITIVITYDEFAULTVALUE 2 -#else -#define CASESENSITIVITYDEFAULTVALUE 1 -#endif - -#ifndef STRCMPCASENOSENTIVEFUNCTION -#define STRCMPCASENOSENTIVEFUNCTION strcmpcasenosensitive_internal -#endif - -/* - Compare two filename (fileName1,fileName2). - If iCaseSenisivity = 1, comparision is case sensitivity (like strcmp) - If iCaseSenisivity = 2, comparision is not case sensitivity (like strcmpi - or strcasecmp) - If iCaseSenisivity = 0, case sensitivity is defaut of your operating system - (like 1 on Unix, 2 on Windows) - -*/ -extern MINIZIP_EXPORT int unzStringFileNameCompare (const char* fileName1,const char* fileName2,int iCaseSensitivity) - -{ - if (iCaseSensitivity==0) - iCaseSensitivity=CASESENSITIVITYDEFAULTVALUE; - - if (iCaseSensitivity==1) - return strcmp(fileName1,fileName2); - - return STRCMPCASENOSENTIVEFUNCTION(fileName1,fileName2); -} - -#ifndef BUFREADCOMMENT -#define BUFREADCOMMENT (0x400) -#endif - -/* - Locate the Central directory of a zipfile (at the end, just before - the global comment) -*/ -local uLong unzlocal_SearchCentralDir OF(( - const zlib_filefunc_def* pzlib_filefunc_def, - voidpf filestream)); - -local uLong unzlocal_SearchCentralDir(const zlib_filefunc_def* pzlib_filefunc_def,voidpf filestream) - -{ - unsigned char* buf; - uLong uSizeFile; - uLong uBackRead; - uLong uMaxBack=0xffff; /* maximum size of global comment */ - uLong uPosFound=0; - - if (ZSEEK(*pzlib_filefunc_def,filestream,0,ZLIB_FILEFUNC_SEEK_END) != 0) - return 0; - - - uSizeFile = ZTELL(*pzlib_filefunc_def,filestream); - - if (uMaxBack>uSizeFile) - uMaxBack = uSizeFile; - - buf = (unsigned char*)ALLOC(BUFREADCOMMENT+4); - if (buf==0) - return 0; - - uBackRead = 4; - while (uBackReaduMaxBack) - uBackRead = uMaxBack; - else - uBackRead+=BUFREADCOMMENT; - uReadPos = uSizeFile-uBackRead ; - - uReadSize = ((BUFREADCOMMENT+4) < (uSizeFile-uReadPos)) ? - (BUFREADCOMMENT+4) : (uSizeFile-uReadPos); - if (ZSEEK(*pzlib_filefunc_def,filestream,uReadPos,ZLIB_FILEFUNC_SEEK_SET)!=0) - break; - - if (ZREAD(*pzlib_filefunc_def,filestream,buf,uReadSize)!=uReadSize) - break; - - for (i=(int)uReadSize-3; (i--)>0;) - if (((*(buf+i))==0x50) && ((*(buf+i+1))==0x4b) && - ((*(buf+i+2))==0x05) && ((*(buf+i+3))==0x06)) - { - uPosFound = uReadPos+i; - break; - } - - if (uPosFound!=0) - break; - } - TRYFREE(buf); - return uPosFound; -} - -/* - Open a Zip file. path contain the full pathname (by example, - on a Windows NT computer "c:\\test\\zlib114.zip" or on an Unix computer - "zlib/zlib114.zip". - If the zipfile cannot be opened (file doesn't exist or in not valid), the - return value is NULL. - Else, the return value is a unzFile Handle, usable with other function - of this unzip package. -*/ -extern MINIZIP_EXPORT unzFile unzOpen2 (const char *path, zlib_filefunc_def* pzlib_filefunc_def) - { - unz_s us; - unz_s *s; - uLong central_pos,uL; - - uLong number_disk; /* number of the current dist, used for - spaning ZIP, unsupported, always 0*/ - uLong number_disk_with_CD; /* number the the disk with central dir, used - for spaning ZIP, unsupported, always 0*/ - uLong number_entry_CD; /* total number of entries in - the central dir - (same than number_entry on nospan) */ - - int err=UNZ_OK; - - if (unz_copyright[0]!=' ') - return 0; - - if (pzlib_filefunc_def==0) - fill_fopen_filefunc(&us.z_filefunc); - else - us.z_filefunc = *pzlib_filefunc_def; - - us.filestream= (*(us.z_filefunc.zopen_file))(us.z_filefunc.opaque, - path, - ZLIB_FILEFUNC_MODE_READ | - ZLIB_FILEFUNC_MODE_EXISTING); - if (us.filestream==0) - return 0; - - central_pos = unzlocal_SearchCentralDir(&us.z_filefunc,us.filestream); - if (central_pos==0) - err=UNZ_ERRNO; - - if (ZSEEK(us.z_filefunc, us.filestream, - central_pos,ZLIB_FILEFUNC_SEEK_SET)!=0) - err=UNZ_ERRNO; - - /* the signature, already checked */ - if (unzlocal_getLong(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK) - err=UNZ_ERRNO; - - /* number of this disk */ - if (unzlocal_getShort(&us.z_filefunc, us.filestream,&number_disk)!=UNZ_OK) - err=UNZ_ERRNO; - - /* number of the disk with the start of the central directory */ - if (unzlocal_getShort(&us.z_filefunc, us.filestream,&number_disk_with_CD)!=UNZ_OK) - err=UNZ_ERRNO; - - /* total number of entries in the central dir on this disk */ - if (unzlocal_getShort(&us.z_filefunc, us.filestream,&us.gi.number_entry)!=UNZ_OK) - err=UNZ_ERRNO; - - /* total number of entries in the central dir */ - if (unzlocal_getShort(&us.z_filefunc, us.filestream,&number_entry_CD)!=UNZ_OK) - err=UNZ_ERRNO; - - if ((number_entry_CD!=us.gi.number_entry) || - (number_disk_with_CD!=0) || - (number_disk!=0)) - err=UNZ_BADZIPFILE; - - /* size of the central directory */ - if (unzlocal_getLong(&us.z_filefunc, us.filestream,&us.size_central_dir)!=UNZ_OK) - err=UNZ_ERRNO; - - /* offset of start of central directory with respect to the - starting disk number */ - if (unzlocal_getLong(&us.z_filefunc, us.filestream,&us.offset_central_dir)!=UNZ_OK) - err=UNZ_ERRNO; - - /* zipfile comment length */ - if (unzlocal_getShort(&us.z_filefunc, us.filestream,&us.gi.size_comment)!=UNZ_OK) - err=UNZ_ERRNO; - - if ((central_pospfile_in_zip_read!=0) - unzCloseCurrentFile(file); - - ZCLOSE(s->z_filefunc, s->filestream); - TRYFREE(s); - return UNZ_OK; -} - - -/* - Write info about the ZipFile in the *pglobal_info structure. - No preparation of the structure is needed - return UNZ_OK if there is no problem. */ -extern MINIZIP_EXPORT int unzGetGlobalInfo (unzFile file,unz_global_info *pglobal_info) - { - unz_s* s; - if (file==0) - return UNZ_PARAMERROR; - s=(unz_s*)file; - *pglobal_info=s->gi; - return UNZ_OK; -} - - -/* - Translate date/time from Dos format to tm_unz (readable more easilty) -*/ -local void unzlocal_DosDateToTmuDate (uLong ulDosDate,tm_unz* ptm) - { - uLong uDate; - uDate = (uLong)(ulDosDate>>16); - ptm->tm_mday = (uInt)(uDate&0x1f) ; - ptm->tm_mon = (uInt)((((uDate)&0x1E0)/0x20)-1) ; - ptm->tm_year = (uInt)(((uDate&0x0FE00)/0x0200)+1980) ; - - ptm->tm_hour = (uInt) ((ulDosDate &0xF800)/0x800); - ptm->tm_min = (uInt) ((ulDosDate&0x7E0)/0x20) ; - ptm->tm_sec = (uInt) (2*(ulDosDate&0x1f)) ; -} - -/* - Get Info about the current file in the zipfile, with internal only info -*/ -local int unzlocal_GetCurrentFileInfoInternal OF((unzFile file, - unz_file_info *pfile_info, - unz_file_info_internal - *pfile_info_internal, - char *szFileName, - uLong fileNameBufferSize, - void *extraField, - uLong extraFieldBufferSize, - char *szComment, - uLong commentBufferSize)); - -local int unzlocal_GetCurrentFileInfoInternal (unzFile file, - unz_file_info *pfile_info, - unz_file_info_internal *pfile_info_internal, - char *szFileName,uLong fileNameBufferSize, - void *extraField,uLong extraFieldBufferSize, - char *szComment,uLong commentBufferSize) - -{ - unz_s* s; - unz_file_info file_info; - unz_file_info_internal file_info_internal; - int err=UNZ_OK; - uLong uMagic; - long lSeek=0; - - if (file==0) - return UNZ_PARAMERROR; - s=(unz_s*)file; - if (ZSEEK(s->z_filefunc, s->filestream, - s->pos_in_central_dir+s->byte_before_the_zipfile, - ZLIB_FILEFUNC_SEEK_SET)!=0) - err=UNZ_ERRNO; - - - /* we check the magic */ - if (err==UNZ_OK) - {if (unzlocal_getLong(&s->z_filefunc, s->filestream,&uMagic) != UNZ_OK) - err=UNZ_ERRNO; - else if (uMagic!=0x02014b50) - err=UNZ_BADZIPFILE; - } - if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.version) != UNZ_OK) - err=UNZ_ERRNO; - - if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.version_needed) != UNZ_OK) - err=UNZ_ERRNO; - - if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.flag) != UNZ_OK) - err=UNZ_ERRNO; - - if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.compression_method) != UNZ_OK) - err=UNZ_ERRNO; - - if (unzlocal_getLong(&s->z_filefunc, s->filestream,&file_info.dosDate) != UNZ_OK) - err=UNZ_ERRNO; - - unzlocal_DosDateToTmuDate(file_info.dosDate,&file_info.tmu_date); - - if (unzlocal_getLong(&s->z_filefunc, s->filestream,&file_info.crc) != UNZ_OK) - err=UNZ_ERRNO; - - if (unzlocal_getLong(&s->z_filefunc, s->filestream,&file_info.compressed_size) != UNZ_OK) - err=UNZ_ERRNO; - - if (unzlocal_getLong(&s->z_filefunc, s->filestream,&file_info.uncompressed_size) != UNZ_OK) - err=UNZ_ERRNO; - - if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.size_filename) != UNZ_OK) - err=UNZ_ERRNO; - - if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.size_file_extra) != UNZ_OK) - err=UNZ_ERRNO; - - if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.size_file_comment) != UNZ_OK) - err=UNZ_ERRNO; - - if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.disk_num_start) != UNZ_OK) - err=UNZ_ERRNO; - - if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.internal_fa) != UNZ_OK) - err=UNZ_ERRNO; - - if (unzlocal_getLong(&s->z_filefunc, s->filestream,&file_info.external_fa) != UNZ_OK) - err=UNZ_ERRNO; - - if (unzlocal_getLong(&s->z_filefunc, s->filestream,&file_info_internal.offset_curfile) != UNZ_OK) - err=UNZ_ERRNO; - - lSeek+=file_info.size_filename; - if ((err==UNZ_OK) && (szFileName!=0)) - { - uLong uSizeRead ; - if (file_info.size_filename0) && (fileNameBufferSize>0)) - if (ZREAD(s->z_filefunc, s->filestream,szFileName,uSizeRead)!=uSizeRead) - err=UNZ_ERRNO; - lSeek -= uSizeRead; - } - - - if ((err==UNZ_OK) && (extraField!=0)) - { - uLong uSizeRead ; - if (file_info.size_file_extraz_filefunc, s->filestream,lSeek,ZLIB_FILEFUNC_SEEK_CUR)==0) - lSeek=0; - else - err=UNZ_ERRNO; - } - - if ((file_info.size_file_extra>0) && (extraFieldBufferSize>0)) - { - if (ZREAD(s->z_filefunc, s->filestream,extraField,uSizeRead)!=uSizeRead) - err=UNZ_ERRNO; - - lSeek += file_info.size_file_extra - uSizeRead; - } - } - else - lSeek+=file_info.size_file_extra; - - - if ((err==UNZ_OK) && (szComment!=0)) - { - uLong uSizeRead ; - if (file_info.size_file_commentz_filefunc, s->filestream,lSeek,ZLIB_FILEFUNC_SEEK_CUR)==0) - lSeek=0; - else - err=UNZ_ERRNO; - } - if ((file_info.size_file_comment>0) && (commentBufferSize>0)) - if (ZREAD(s->z_filefunc, s->filestream,szComment,uSizeRead)!=uSizeRead) - err=UNZ_ERRNO; - lSeek+=file_info.size_file_comment - uSizeRead; - } - else - lSeek+=file_info.size_file_comment; - - if ((err==UNZ_OK) && (pfile_info!=0)) - *pfile_info=file_info; - - if ((err==UNZ_OK) && (pfile_info_internal!=0)) - *pfile_info_internal=file_info_internal; - - return err; -} - - - -/* - Write info about the ZipFile in the *pglobal_info structure. - No preparation of the structure is needed - return UNZ_OK if there is no problem. -*/extern MINIZIP_EXPORT int unzGetCurrentFileInfo (unzFile file, - unz_file_info *pfile_info, - char *szFileName,uLong fileNameBufferSize, - void *extraField,uLong extraFieldBufferSize, - char *szComment,uLong commentBufferSize) -{ - return unzlocal_GetCurrentFileInfoInternal(file,pfile_info,0, - szFileName,fileNameBufferSize, - extraField,extraFieldBufferSize, - szComment,commentBufferSize); -} - -/* - Set the current file of the zipfile to the first file. - return UNZ_OK if there is no problem -*/ -extern MINIZIP_EXPORT int unzGoToFirstFile (unzFile file) - { - int err=UNZ_OK; - unz_s* s; - if (file==0) - return UNZ_PARAMERROR; - s=(unz_s*)file; - s->pos_in_central_dir=s->offset_central_dir; - s->num_file=0; - err=unzlocal_GetCurrentFileInfoInternal(file,&s->cur_file_info, - &s->cur_file_info_internal, - 0,0,0,0,0,0); - s->current_file_ok = (err == UNZ_OK); - return err; -} - -/* - Set the current file of the zipfile to the next file. - return UNZ_OK if there is no problem - return UNZ_END_OF_LIST_OF_FILE if the actual file was the latest. -*/ -extern MINIZIP_EXPORT int unzGoToNextFile (unzFile file) - { - unz_s* s; - int err; - - if (file==0) - return UNZ_PARAMERROR; - s=(unz_s*)file; - if (!s->current_file_ok) - return UNZ_END_OF_LIST_OF_FILE; - if (s->gi.number_entry != 0xffff) /* 2^16 files overflow hack */ - if (s->num_file+1==s->gi.number_entry) - return UNZ_END_OF_LIST_OF_FILE; - - s->pos_in_central_dir += SIZECENTRALDIRITEM + s->cur_file_info.size_filename + - s->cur_file_info.size_file_extra + s->cur_file_info.size_file_comment ; - s->num_file++; - err = unzlocal_GetCurrentFileInfoInternal(file,&s->cur_file_info, - &s->cur_file_info_internal, - 0,0,0,0,0,0); - s->current_file_ok = (err == UNZ_OK); - return err; -} - - -/* - Try locate the file szFileName in the zipfile. - For the iCaseSensitivity signification, see unzipStringFileNameCompare - - return value : - UNZ_OK if the file is found. It becomes the current file. - UNZ_END_OF_LIST_OF_FILE if the file is not found -*/ -extern MINIZIP_EXPORT int unzLocateFile (unzFile file,const char * szFileName,int iCaseSensitivity) - { - unz_s* s; - int err; - - /* We remember the 'current' position in the file so that we can jump - * back there if we fail. - */ - unz_file_info cur_file_infoSaved; - unz_file_info_internal cur_file_info_internalSaved; - uLong num_fileSaved; - uLong pos_in_central_dirSaved; - - - if (file==0) - return UNZ_PARAMERROR; - - if (strlen(szFileName)>=UNZ_MAXFILENAMEINZIP) - return UNZ_PARAMERROR; - - s=(unz_s*)file; - if (!s->current_file_ok) - return UNZ_END_OF_LIST_OF_FILE; - - /* Save the current state */ - num_fileSaved = s->num_file; - pos_in_central_dirSaved = s->pos_in_central_dir; - cur_file_infoSaved = s->cur_file_info; - cur_file_info_internalSaved = s->cur_file_info_internal; - - err = unzGoToFirstFile(file); - - while (err == UNZ_OK) - { - char szCurrentFileName[UNZ_MAXFILENAMEINZIP+1]; - err = unzGetCurrentFileInfo(file,0, - szCurrentFileName,sizeof(szCurrentFileName)-1, - 0,0,0,0); - if (err == UNZ_OK) - { - if (unzStringFileNameCompare(szCurrentFileName, - szFileName,iCaseSensitivity)==0) - return UNZ_OK; - err = unzGoToNextFile(file); - } - } - - /* We failed, so restore the state of the 'current file' to where we - * were. - */ - s->num_file = num_fileSaved ; - s->pos_in_central_dir = pos_in_central_dirSaved ; - s->cur_file_info = cur_file_infoSaved; - s->cur_file_info_internal = cur_file_info_internalSaved; - return err; -} - - -/* -/////////////////////////////////////////// -// Contributed by Ryan Haksi (mailto://cryogen@infoserve.net) -// I need random access -// -// Further optimization could be realized by adding an ability -// to cache the directory in memory. The goal being a single -// comprehensive file read to put the file I need in a memory. -*/ - -/* -typedef struct unz_file_pos_s -{ - uLong pos_in_zip_directory; // offset in file - uLong num_of_file; // # of file -} unz_file_pos; -*/ - -extern MINIZIP_EXPORT int unzGetFilePos(unzFile file,unz_file_pos* file_pos) - { - unz_s* s; - - if (file==0 || file_pos==0) - return UNZ_PARAMERROR; - s=(unz_s*)file; - if (!s->current_file_ok) - return UNZ_END_OF_LIST_OF_FILE; - - file_pos->pos_in_zip_directory = s->pos_in_central_dir; - file_pos->num_of_file = s->num_file; - - return UNZ_OK; -} - -extern MINIZIP_EXPORT int unzGoToFilePos(unzFile file,unz_file_pos* file_pos) - { - unz_s* s; - int err; - - if (file==0 || file_pos==0) - return UNZ_PARAMERROR; - s=(unz_s*)file; - - /* jump to the right spot */ - s->pos_in_central_dir = file_pos->pos_in_zip_directory; - s->num_file = file_pos->num_of_file; - - /* set the current file */ - err = unzlocal_GetCurrentFileInfoInternal(file,&s->cur_file_info, - &s->cur_file_info_internal, - 0,0,0,0,0,0); - /* return results */ - s->current_file_ok = (err == UNZ_OK); - return err; -} - -/* -// Unzip Helper Functions - should be here? -/////////////////////////////////////////// -*/ - -/* - Read the local header of the current zipfile - Check the coherency of the local header and info in the end of central - directory about this file - store in *piSizeVar the size of extra info in local header - (filename and size of extra field data) -*/ -local int unzlocal_CheckCurrentFileCoherencyHeader (unz_s* s,uInt* piSizeVar, - uLong *poffset_local_extrafield, - uInt *psize_local_extrafield) - { - uLong uMagic,uData,uFlags; - uLong size_filename; - uLong size_extra_field; - int err=UNZ_OK; - - *piSizeVar = 0; - *poffset_local_extrafield = 0; - *psize_local_extrafield = 0; - - if (ZSEEK(s->z_filefunc, s->filestream,s->cur_file_info_internal.offset_curfile + - s->byte_before_the_zipfile,ZLIB_FILEFUNC_SEEK_SET)!=0) - return UNZ_ERRNO; - - - if (err==UNZ_OK) - { - if (unzlocal_getLong(&s->z_filefunc, s->filestream,&uMagic) != UNZ_OK) - err=UNZ_ERRNO; - else if (uMagic!=0x04034b50) - err=UNZ_BADZIPFILE; - } - - - if (unzlocal_getShort(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) - err=UNZ_ERRNO; -/* - else if ((err==UNZ_OK) && (uData!=s->cur_file_info.wVersion)) - err=UNZ_BADZIPFILE; -*/ - if (unzlocal_getShort(&s->z_filefunc, s->filestream,&uFlags) != UNZ_OK) - err=UNZ_ERRNO; - - if (unzlocal_getShort(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) - err=UNZ_ERRNO; - else if ((err==UNZ_OK) && (uData!=s->cur_file_info.compression_method)) - err=UNZ_BADZIPFILE; - - if ((err==UNZ_OK) && (s->cur_file_info.compression_method!=0) && - (s->cur_file_info.compression_method!=Z_DEFLATED)) - err=UNZ_BADZIPFILE; - - if (unzlocal_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* date/time */ - err=UNZ_ERRNO; - - if (unzlocal_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* crc */ - err=UNZ_ERRNO; - else if ((err==UNZ_OK) && (uData!=s->cur_file_info.crc) && - ((uFlags & 8)==0)) - err=UNZ_BADZIPFILE; - - if (unzlocal_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* size compr */ - err=UNZ_ERRNO; - else if ((err==UNZ_OK) && (uData!=s->cur_file_info.compressed_size) && - ((uFlags & 8)==0)) - err=UNZ_BADZIPFILE; - - if (unzlocal_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* size uncompr */ - err=UNZ_ERRNO; - else if ((err==UNZ_OK) && (uData!=s->cur_file_info.uncompressed_size) && - ((uFlags & 8)==0)) - err=UNZ_BADZIPFILE; - - - if (unzlocal_getShort(&s->z_filefunc, s->filestream,&size_filename) != UNZ_OK) - err=UNZ_ERRNO; - else if ((err==UNZ_OK) && (size_filename!=s->cur_file_info.size_filename)) - err=UNZ_BADZIPFILE; - - *piSizeVar += (uInt)size_filename; - - if (unzlocal_getShort(&s->z_filefunc, s->filestream,&size_extra_field) != UNZ_OK) - err=UNZ_ERRNO; - *poffset_local_extrafield= s->cur_file_info_internal.offset_curfile + - SIZEZIPLOCALHEADER + size_filename; - *psize_local_extrafield = (uInt)size_extra_field; - - *piSizeVar += (uInt)size_extra_field; - - return err; -} - -/* - Open for reading data the current file in the zipfile. - If there is no error and the file is opened, the return value is UNZ_OK. -*/ -extern MINIZIP_EXPORT int unzOpenCurrentFile3 (unzFile file,int* method,int* level,int raw,const char* password) - { - int err=UNZ_OK; - uInt iSizeVar; - unz_s* s; - file_in_zip_read_info_s* pfile_in_zip_read_info; - uLong offset_local_extrafield; /* offset of the local extra field */ - uInt size_local_extrafield; /* size of the local extra field */ -# ifndef NOUNCRYPT - char source[12]; -# else - if (password != 0) - return UNZ_PARAMERROR; -# endif - - if (file==0) - return UNZ_PARAMERROR; - s=(unz_s*)file; - if (!s->current_file_ok) - return UNZ_PARAMERROR; - - if (s->pfile_in_zip_read != 0) - unzCloseCurrentFile(file); - - if (unzlocal_CheckCurrentFileCoherencyHeader(s,&iSizeVar, - &offset_local_extrafield,&size_local_extrafield)!=UNZ_OK) - return UNZ_BADZIPFILE; - - pfile_in_zip_read_info = (file_in_zip_read_info_s*) - ALLOC(sizeof(file_in_zip_read_info_s)); - if (pfile_in_zip_read_info==0) - return UNZ_INTERNALERROR; - - pfile_in_zip_read_info->read_buffer=(char*)ALLOC(UNZ_BUFSIZE); - pfile_in_zip_read_info->offset_local_extrafield = offset_local_extrafield; - pfile_in_zip_read_info->size_local_extrafield = size_local_extrafield; - pfile_in_zip_read_info->pos_local_extrafield=0; - pfile_in_zip_read_info->raw=raw; - - if (pfile_in_zip_read_info->read_buffer==0) - { - TRYFREE(pfile_in_zip_read_info); - return UNZ_INTERNALERROR; - } - - pfile_in_zip_read_info->stream_initialised=0; - - if (method!=0) - *method = (int)s->cur_file_info.compression_method; - - if (level!=0) - { - *level = 6; - switch (s->cur_file_info.flag & 0x06) - { - case 6 : *level = 1; break; - case 4 : *level = 2; break; - case 2 : *level = 9; break; - } - } - - if ((s->cur_file_info.compression_method!=0) && - (s->cur_file_info.compression_method!=Z_DEFLATED)) - err=UNZ_BADZIPFILE; - - pfile_in_zip_read_info->crc32_wait=s->cur_file_info.crc; - pfile_in_zip_read_info->crc32=0; - pfile_in_zip_read_info->compression_method = - s->cur_file_info.compression_method; - pfile_in_zip_read_info->filestream=s->filestream; - pfile_in_zip_read_info->z_filefunc=s->z_filefunc; - pfile_in_zip_read_info->byte_before_the_zipfile=s->byte_before_the_zipfile; - - pfile_in_zip_read_info->stream.total_out = 0; - - if ((s->cur_file_info.compression_method==Z_DEFLATED) && - (!raw)) - { - pfile_in_zip_read_info->stream.zalloc = (alloc_func)0; - pfile_in_zip_read_info->stream.zfree = (free_func)0; - pfile_in_zip_read_info->stream.opaque = (voidpf)0; - pfile_in_zip_read_info->stream.next_in = (voidpf)0; - pfile_in_zip_read_info->stream.avail_in = 0; - - err=inflateInit2(&pfile_in_zip_read_info->stream, -MAX_WBITS); - if (err == Z_OK) - pfile_in_zip_read_info->stream_initialised=1; - else - { - TRYFREE(pfile_in_zip_read_info); - return err; - } - /* windowBits is passed < 0 to tell that there is no zlib header. - * Note that in this case inflate *requires* an extra "dummy" byte - * after the compressed stream in order to complete decompression and - * return Z_STREAM_END. - * In unzip, i don't wait absolutely Z_STREAM_END because I known the - * size of both compressed and uncompressed data - */ - } - pfile_in_zip_read_info->rest_read_compressed = - s->cur_file_info.compressed_size ; - pfile_in_zip_read_info->rest_read_uncompressed = - s->cur_file_info.uncompressed_size ; - - - pfile_in_zip_read_info->pos_in_zipfile = - s->cur_file_info_internal.offset_curfile + SIZEZIPLOCALHEADER + - iSizeVar; - - pfile_in_zip_read_info->stream.avail_in = (uInt)0; - - s->pfile_in_zip_read = pfile_in_zip_read_info; - -# ifndef NOUNCRYPT - if (password != 0) - { - int i; - s->pcrc_32_tab = get_crc_table(); - init_keys(password,s->keys,s->pcrc_32_tab); - if (ZSEEK(s->z_filefunc, s->filestream, - s->pfile_in_zip_read->pos_in_zipfile + - s->pfile_in_zip_read->byte_before_the_zipfile, - SEEK_SET)!=0) - return UNZ_INTERNALERROR; - if(ZREAD(s->z_filefunc, s->filestream,source, 12)<12) - return UNZ_INTERNALERROR; - - for (i = 0; i<12; i++) - zdecode(s->keys,s->pcrc_32_tab,source[i]); - - s->pfile_in_zip_read->pos_in_zipfile+=12; - s->encrypted=1; - } -# endif - - - return UNZ_OK; -} - -extern MINIZIP_EXPORT int unzOpenCurrentFile (unzFile file) - { - return unzOpenCurrentFile3(file, 0, 0, 0, 0); -} - -extern MINIZIP_EXPORT int unzOpenCurrentFilePassword (unzFile file,const char* password) -{ - return unzOpenCurrentFile3(file, 0, 0, 0, password); -} - -extern MINIZIP_EXPORT int unzOpenCurrentFile2 (unzFile file,int* method,int* level,int raw) -{ - return unzOpenCurrentFile3(file, method, level, raw, 0); -} - -/* - Read bytes from the current file. - buf contain buffer where data must be copied - len the size of buf. - - return the number of byte copied if somes bytes are copied - return 0 if the end of file was reached - return <0 with error code if there is an error - (UNZ_ERRNO for IO error, or zLib error for uncompress error) -*/ -extern MINIZIP_EXPORT int unzReadCurrentFile (unzFile file,voidp buf,unsigned len) - { - int err=UNZ_OK; - uInt iRead = 0; - unz_s* s; - file_in_zip_read_info_s* pfile_in_zip_read_info; - if (file==0) - return UNZ_PARAMERROR; - s=(unz_s*)file; - pfile_in_zip_read_info=s->pfile_in_zip_read; - - if (pfile_in_zip_read_info==0) - return UNZ_PARAMERROR; - - - if ((pfile_in_zip_read_info->read_buffer == 0)) - return UNZ_END_OF_LIST_OF_FILE; - - if (len==0) - return 0; - - pfile_in_zip_read_info->stream.next_out = (Bytef*)buf; - - pfile_in_zip_read_info->stream.avail_out = (uInt)len; - - if ((len>pfile_in_zip_read_info->rest_read_uncompressed) && - (!(pfile_in_zip_read_info->raw))) - pfile_in_zip_read_info->stream.avail_out = - (uInt)pfile_in_zip_read_info->rest_read_uncompressed; - - if ((len>pfile_in_zip_read_info->rest_read_compressed+ - pfile_in_zip_read_info->stream.avail_in) && - (pfile_in_zip_read_info->raw)) - pfile_in_zip_read_info->stream.avail_out = - (uInt)pfile_in_zip_read_info->rest_read_compressed+ - pfile_in_zip_read_info->stream.avail_in; - - while (pfile_in_zip_read_info->stream.avail_out>0) - { - if ((pfile_in_zip_read_info->stream.avail_in==0) && - (pfile_in_zip_read_info->rest_read_compressed>0)) - { - uInt uReadThis = UNZ_BUFSIZE; - if (pfile_in_zip_read_info->rest_read_compressedrest_read_compressed; - if (uReadThis == 0) - return UNZ_EOF; - if (ZSEEK(pfile_in_zip_read_info->z_filefunc, - pfile_in_zip_read_info->filestream, - pfile_in_zip_read_info->pos_in_zipfile + - pfile_in_zip_read_info->byte_before_the_zipfile, - ZLIB_FILEFUNC_SEEK_SET)!=0) - return UNZ_ERRNO; - if (ZREAD(pfile_in_zip_read_info->z_filefunc, - pfile_in_zip_read_info->filestream, - pfile_in_zip_read_info->read_buffer, - uReadThis)!=uReadThis) - return UNZ_ERRNO; - - -# ifndef NOUNCRYPT - if(s->encrypted) - { - uInt i; - for(i=0;iread_buffer[i] = - zdecode(s->keys,s->pcrc_32_tab, - pfile_in_zip_read_info->read_buffer[i]); - } -# endif - - - pfile_in_zip_read_info->pos_in_zipfile += uReadThis; - - pfile_in_zip_read_info->rest_read_compressed-=uReadThis; - - pfile_in_zip_read_info->stream.next_in = - (Bytef*)pfile_in_zip_read_info->read_buffer; - pfile_in_zip_read_info->stream.avail_in = (uInt)uReadThis; - } - - if ((pfile_in_zip_read_info->compression_method==0) || (pfile_in_zip_read_info->raw)) - { - uInt uDoCopy,i ; - - if ((pfile_in_zip_read_info->stream.avail_in == 0) && - (pfile_in_zip_read_info->rest_read_compressed == 0)) - return (iRead==0) ? UNZ_EOF : iRead; - - if (pfile_in_zip_read_info->stream.avail_out < - pfile_in_zip_read_info->stream.avail_in) - uDoCopy = pfile_in_zip_read_info->stream.avail_out ; - else - uDoCopy = pfile_in_zip_read_info->stream.avail_in ; - - for (i=0;istream.next_out+i) = - *(pfile_in_zip_read_info->stream.next_in+i); - - pfile_in_zip_read_info->crc32 = crc32(pfile_in_zip_read_info->crc32, - pfile_in_zip_read_info->stream.next_out, - uDoCopy); - pfile_in_zip_read_info->rest_read_uncompressed-=uDoCopy; - pfile_in_zip_read_info->stream.avail_in -= uDoCopy; - pfile_in_zip_read_info->stream.avail_out -= uDoCopy; - pfile_in_zip_read_info->stream.next_out += uDoCopy; - pfile_in_zip_read_info->stream.next_in += uDoCopy; - pfile_in_zip_read_info->stream.total_out += uDoCopy; - iRead += uDoCopy; - } - else - { - uLong uTotalOutBefore,uTotalOutAfter; - const Bytef *bufBefore; - uLong uOutThis; - int flush=Z_SYNC_FLUSH; - - uTotalOutBefore = pfile_in_zip_read_info->stream.total_out; - bufBefore = pfile_in_zip_read_info->stream.next_out; - - /* - if ((pfile_in_zip_read_info->rest_read_uncompressed == - pfile_in_zip_read_info->stream.avail_out) && - (pfile_in_zip_read_info->rest_read_compressed == 0)) - flush = Z_FINISH; - */ - err=inflate(&pfile_in_zip_read_info->stream,flush); - - if ((err>=0) && (pfile_in_zip_read_info->stream.msg!=0)) - err = Z_DATA_ERROR; - - uTotalOutAfter = pfile_in_zip_read_info->stream.total_out; - uOutThis = uTotalOutAfter-uTotalOutBefore; - - pfile_in_zip_read_info->crc32 = - crc32(pfile_in_zip_read_info->crc32,bufBefore, - (uInt)(uOutThis)); - - pfile_in_zip_read_info->rest_read_uncompressed -= - uOutThis; - - iRead += (uInt)(uTotalOutAfter - uTotalOutBefore); - - if (err==Z_STREAM_END) - return (iRead==0) ? UNZ_EOF : iRead; - if (err!=Z_OK) - break; - } - } - - if (err==Z_OK) - return iRead; - return err; -} - - -/* - Give the current position in uncompressed data -*/ -extern MINIZIP_EXPORT z_off_t unztell (unzFile file) -{ - unz_s* s; - file_in_zip_read_info_s* pfile_in_zip_read_info; - if (file==0) - return UNZ_PARAMERROR; - s=(unz_s*)file; - pfile_in_zip_read_info=s->pfile_in_zip_read; - - if (pfile_in_zip_read_info==0) - return UNZ_PARAMERROR; - - return (z_off_t)pfile_in_zip_read_info->stream.total_out; -} - - -/* - return 1 if the end of file was reached, 0 elsewhere -*/ -extern MINIZIP_EXPORT int unzeof (unzFile file) -{ - unz_s* s; - file_in_zip_read_info_s* pfile_in_zip_read_info; - if (file==0) - return UNZ_PARAMERROR; - s=(unz_s*)file; - pfile_in_zip_read_info=s->pfile_in_zip_read; - - if (pfile_in_zip_read_info==0) - return UNZ_PARAMERROR; - - if (pfile_in_zip_read_info->rest_read_uncompressed == 0) - return 1; - else - return 0; -} - - -//FUZZ: disable check_for_NULL -/* - Read extra field from the current file (opened by unzOpenCurrentFile) - This is the local-header version of the extra field (sometimes, there is - more info in the local-header version than in the central-header) - - if buf==NULL, it return the size of the local extra field that can be read - - if buf!=NULL, len is the size of the buffer, the extra header is copied in - buf. - the return value is the number of bytes copied in buf, or (if <0) - the error code -*/ -//FUZZ: enable check_for_NULL -extern MINIZIP_EXPORT int unzGetLocalExtrafield (unzFile file,voidp buf,unsigned len) -{ - unz_s* s; - file_in_zip_read_info_s* pfile_in_zip_read_info; - uInt read_now; - uLong size_to_read; - - if (file==0) - return UNZ_PARAMERROR; - s=(unz_s*)file; - pfile_in_zip_read_info=s->pfile_in_zip_read; - - if (pfile_in_zip_read_info==0) - return UNZ_PARAMERROR; - - size_to_read = (pfile_in_zip_read_info->size_local_extrafield - - pfile_in_zip_read_info->pos_local_extrafield); - - if (buf==0) - return (int)size_to_read; - - if (len>size_to_read) - read_now = (uInt)size_to_read; - else - read_now = (uInt)len ; - - if (read_now==0) - return 0; - - if (ZSEEK(pfile_in_zip_read_info->z_filefunc, - pfile_in_zip_read_info->filestream, - pfile_in_zip_read_info->offset_local_extrafield + - pfile_in_zip_read_info->pos_local_extrafield, - ZLIB_FILEFUNC_SEEK_SET)!=0) - return UNZ_ERRNO; - - if (ZREAD(pfile_in_zip_read_info->z_filefunc, - pfile_in_zip_read_info->filestream, - buf,read_now)!=read_now) - return UNZ_ERRNO; - - return (int)read_now; -} - -/* - Close the file in zip opened with unzipOpenCurrentFile - Return UNZ_CRCERROR if all the file was read but the CRC is not good -*/ -extern MINIZIP_EXPORT int unzCloseCurrentFile (unzFile file) -{ - int err=UNZ_OK; - - unz_s* s; - file_in_zip_read_info_s* pfile_in_zip_read_info; - if (file==0) - return UNZ_PARAMERROR; - s=(unz_s*)file; - pfile_in_zip_read_info=s->pfile_in_zip_read; - - if (pfile_in_zip_read_info==0) - return UNZ_PARAMERROR; - - - if ((pfile_in_zip_read_info->rest_read_uncompressed == 0) && - (!pfile_in_zip_read_info->raw)) - { - if (pfile_in_zip_read_info->crc32 != pfile_in_zip_read_info->crc32_wait) - err=UNZ_CRCERROR; - } - - - TRYFREE(pfile_in_zip_read_info->read_buffer); - pfile_in_zip_read_info->read_buffer = 0; - if (pfile_in_zip_read_info->stream_initialised) - inflateEnd(&pfile_in_zip_read_info->stream); - - pfile_in_zip_read_info->stream_initialised = 0; - TRYFREE(pfile_in_zip_read_info); - - s->pfile_in_zip_read=0; - - return err; -} - - -/* - Get the global comment string of the ZipFile, in the szComment buffer. - uSizeBuf is the size of the szComment buffer. - return the number of byte copied or an error code <0 -*/ -extern MINIZIP_EXPORT int unzGetGlobalComment (unzFile file,char *szComment,uLong uSizeBuf) -{ - unz_s* s; - uLong uReadThis ; - if (file==0) - return UNZ_PARAMERROR; - s=(unz_s*)file; - - uReadThis = uSizeBuf; - if (uReadThis>s->gi.size_comment) - uReadThis = s->gi.size_comment; - - if (ZSEEK(s->z_filefunc,s->filestream,s->central_pos+22,ZLIB_FILEFUNC_SEEK_SET)!=0) - return UNZ_ERRNO; - - if (uReadThis>0) - { - *szComment='\0'; - if (ZREAD(s->z_filefunc,s->filestream,szComment,uReadThis)!=uReadThis) - return UNZ_ERRNO; - } - - if ((szComment != 0) && (uSizeBuf > s->gi.size_comment)) - *(szComment+s->gi.size_comment)='\0'; - return (int)uReadThis; -} - -/* Additions by RX '2004 */ -extern MINIZIP_EXPORT uLong unzGetOffset (unzFile file) -{ - unz_s* s; - - if (file==0) - return UNZ_PARAMERROR; - s=(unz_s*)file; - if (!s->current_file_ok) - return 0; - if (s->gi.number_entry != 0 && s->gi.number_entry != 0xffff) - if (s->num_file==s->gi.number_entry) - return 0; - return s->pos_in_central_dir; -} - -extern MINIZIP_EXPORT int unzSetOffset (unzFile file,uLong pos) -{ - unz_s* s; - int err; - - if (file==0) - return UNZ_PARAMERROR; - s=(unz_s*)file; - - s->pos_in_central_dir = pos; - s->num_file = s->gi.number_entry; /* hack */ - err = unzlocal_GetCurrentFileInfoInternal(file,&s->cur_file_info, - &s->cur_file_info_internal, - 0,0,0,0,0,0); - s->current_file_ok = (err == UNZ_OK); - return err; -} diff --git a/dep/ACE_wrappers/contrib/minizip/unzip.h b/dep/ACE_wrappers/contrib/minizip/unzip.h deleted file mode 100644 index 731ef36c9..000000000 --- a/dep/ACE_wrappers/contrib/minizip/unzip.h +++ /dev/null @@ -1,368 +0,0 @@ -/* unzip.h -- IO for uncompress .zip files using zlib - Version 1.01e, February 12th, 2005 - - Copyright (C) 1998-2005 Gilles Vollant - - This unzip package allow extract file from .ZIP file, compatible with PKZip 2.04g - WinZip, InfoZip tools and compatible. - - Multi volume ZipFile (span) are not supported. - Encryption compatible with pkzip 2.04g only supported - Old compressions used by old PKZip 1.x are not supported - - - I WAIT FEEDBACK at mail info@winimage.com - Visit also http://www.winimage.com/zLibDll/unzip.htm for evolution - - Condition of use and distribution are the same than zlib : - - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any damages - arising from the use of this software. - - Permission is granted to anyone to use this software for any purpose, - including commercial applications, and to alter it and redistribute it - freely, subject to the following restrictions: - - 1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - 3. This notice may not be removed or altered from any source distribution. - - $Id: unzip.h 80826 2008-03-04 14:51:23Z wotte $ - -*/ - -/* for more info about .ZIP format, see - http://www.info-zip.org/pub/infozip/doc/appnote-981119-iz.zip - http://www.info-zip.org/pub/infozip/doc/ - PkWare has also a specification at : - ftp://ftp.pkware.com/probdesc.zip -*/ - -/* Modifications to minizip by ACE/TAO/CIAO developers: - 1. Added include of minizip_export.h to make minizip compile under Windows as a DLL - 2. Modified the function declarations to be conformant with ANSI C */ - -#ifndef _unz_H -#define _unz_H - -#ifdef __cplusplus -extern "C" { -#endif - -#ifndef _ZLIB_H -#include "zlib.h" -#endif - -#include "minizip_export.h" - -#ifndef _ZLIBIOAPI_H -#include "ioapi.h" -#endif - -#if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP) -/* like the STRICT of WIN32, we define a pointer that cannot be converted - from (void*) without cast */ -typedef struct TagunzFile__ { int unused; } unzFile__; -typedef unzFile__ *unzFile; -#else -typedef voidp unzFile; -#endif - - -#define UNZ_OK (0) -#define UNZ_END_OF_LIST_OF_FILE (-100) -#define UNZ_ERRNO (Z_ERRNO) -#define UNZ_EOF (0) -#define UNZ_PARAMERROR (-102) -#define UNZ_BADZIPFILE (-103) -#define UNZ_INTERNALERROR (-104) -#define UNZ_CRCERROR (-105) - -/* tm_unz contain date/time info */ -typedef struct tm_unz_s -{ - uInt tm_sec; /* seconds after the minute - [0,59] */ - uInt tm_min; /* minutes after the hour - [0,59] */ - uInt tm_hour; /* hours since midnight - [0,23] */ - uInt tm_mday; /* day of the month - [1,31] */ - uInt tm_mon; /* months since January - [0,11] */ - uInt tm_year; /* years - [1980..2044] */ -} tm_unz; - -/* unz_global_info structure contain global data about the ZIPfile - These data comes from the end of central dir */ -typedef struct unz_global_info_s -{ - uLong number_entry; /* total number of entries in - the central dir on this disk */ - uLong size_comment; /* size of the global comment of the zipfile */ -} unz_global_info; - - -/* unz_file_info contain information about a file in the zipfile */ -typedef struct unz_file_info_s -{ - uLong version; /* version made by 2 bytes */ - uLong version_needed; /* version needed to extract 2 bytes */ - uLong flag; /* general purpose bit flag 2 bytes */ - uLong compression_method; /* compression method 2 bytes */ - uLong dosDate; /* last mod file date in Dos fmt 4 bytes */ - uLong crc; /* crc-32 4 bytes */ - uLong compressed_size; /* compressed size 4 bytes */ - uLong uncompressed_size; /* uncompressed size 4 bytes */ - uLong size_filename; /* filename length 2 bytes */ - uLong size_file_extra; /* extra field length 2 bytes */ - uLong size_file_comment; /* file comment length 2 bytes */ - - uLong disk_num_start; /* disk number start 2 bytes */ - uLong internal_fa; /* internal file attributes 2 bytes */ - uLong external_fa; /* external file attributes 4 bytes */ - - tm_unz tmu_date; -} unz_file_info; - -extern int MINIZIP_EXPORT unzStringFileNameCompare OF ((const char* fileName1, - const char* fileName2, - int iCaseSensitivity)); -/* - Compare two filename (fileName1,fileName2). - If iCaseSenisivity = 1, comparision is case sensitivity (like strcmp) - If iCaseSenisivity = 2, comparision is not case sensitivity (like strcmpi - or strcasecmp) - If iCaseSenisivity = 0, case sensitivity is defaut of your operating system - (like 1 on Unix, 2 on Windows) -*/ - - -extern unzFile MINIZIP_EXPORT unzOpen OF((const char *path)); -/* - Open a Zip file. path contain the full pathname (by example, - on a Windows XP computer "c:\\zlib\\zlib113.zip" or on an Unix computer - "zlib/zlib113.zip". - If the zipfile cannot be opened (file don't exist or in not valid), the - return value is NULL. - Else, the return value is a unzFile Handle, usable with other function - of this unzip package. -*/ - -extern unzFile MINIZIP_EXPORT unzOpen2 OF((const char *path, - zlib_filefunc_def* pzlib_filefunc_def)); -/* - Open a Zip file, like unzOpen, but provide a set of file low level API - for read/write the zip file (see ioapi.h) -*/ - -extern int MINIZIP_EXPORT unzClose OF((unzFile file)); -/* - Close a ZipFile opened with unzipOpen. - If there is files inside the .Zip opened with unzOpenCurrentFile (see later), - these files MUST be closed with unzipCloseCurrentFile before call unzipClose. - return UNZ_OK if there is no problem. */ - -extern int MINIZIP_EXPORT unzGetGlobalInfo OF((unzFile file, - unz_global_info *pglobal_info)); -/* - Write info about the ZipFile in the *pglobal_info structure. - No preparation of the structure is needed - return UNZ_OK if there is no problem. */ - - -extern int MINIZIP_EXPORT unzGetGlobalComment OF((unzFile file, - char *szComment, - uLong uSizeBuf)); -/* - Get the global comment string of the ZipFile, in the szComment buffer. - uSizeBuf is the size of the szComment buffer. - return the number of byte copied or an error code <0 -*/ - - -/***************************************************************************/ -/* Unzip package allow you browse the directory of the zipfile */ - -extern int MINIZIP_EXPORT unzGoToFirstFile OF((unzFile file)); -/* - Set the current file of the zipfile to the first file. - return UNZ_OK if there is no problem -*/ - -extern int MINIZIP_EXPORT unzGoToNextFile OF((unzFile file)); -/* - Set the current file of the zipfile to the next file. - return UNZ_OK if there is no problem - return UNZ_END_OF_LIST_OF_FILE if the actual file was the latest. -*/ - -extern int MINIZIP_EXPORT unzLocateFile OF((unzFile file, - const char *szFileName, - int iCaseSensitivity)); -/* - Try locate the file szFileName in the zipfile. - For the iCaseSensitivity signification, see unzStringFileNameCompare - - return value : - UNZ_OK if the file is found. It becomes the current file. - UNZ_END_OF_LIST_OF_FILE if the file is not found -*/ - - -/* ****************************************** */ -/* Ryan supplied functions */ -/* unz_file_info contain information about a file in the zipfile */ -typedef struct unz_file_pos_s -{ - uLong pos_in_zip_directory; /* offset in zip file directory */ - uLong num_of_file; /* # of file */ -} unz_file_pos; - -extern int MINIZIP_EXPORT unzGetFilePos( - unzFile file, - unz_file_pos* file_pos); - -extern int MINIZIP_EXPORT unzGoToFilePos( - unzFile file, - unz_file_pos* file_pos); - -/* ****************************************** */ - -extern int MINIZIP_EXPORT unzGetCurrentFileInfo OF((unzFile file, - unz_file_info *pfile_info, - char *szFileName, - uLong fileNameBufferSize, - void *extraField, - uLong extraFieldBufferSize, - char *szComment, - uLong commentBufferSize)); -//FUZZ: disable check_for_NULL -/* - Get Info about the current file - if pfile_info!=NULL, the *pfile_info structure will contain somes info about - the current file - if szFileName!=NULL, the filemane string will be copied in szFileName - (fileNameBufferSize is the size of the buffer) - if extraField!=NULL, the extra field information will be copied in extraField - (extraFieldBufferSize is the size of the buffer). - This is the Central-header version of the extra field - if szComment!=NULL, the comment string of the file will be copied in szComment - (commentBufferSize is the size of the buffer) -*/ -//FUZZ: enable check_for_NULL -/***************************************************************************/ -/* for reading the content of the current zipfile, you can open it, read data - from it, and close it (you can close it before reading all the file) - */ - -extern int MINIZIP_EXPORT unzOpenCurrentFile OF((unzFile file)); -/* - Open for reading data the current file in the zipfile. - If there is no error, the return value is UNZ_OK. -*/ - -extern int MINIZIP_EXPORT unzOpenCurrentFilePassword OF((unzFile file, - const char* password)); -/* - Open for reading data the current file in the zipfile. - password is a crypting password - If there is no error, the return value is UNZ_OK. -*/ - -extern int MINIZIP_EXPORT unzOpenCurrentFile2 OF((unzFile file, - int* method, - int* level, - int raw)); -//FUZZ: disable check_for_NULL -/* - Same than unzOpenCurrentFile, but open for read raw the file (not uncompress) - if raw==1 - *method will receive method of compression, *level will receive level of - compression - note : you can set level parameter as NULL (if you did not want known level, - but you CANNOT set method parameter as NULL -*/ -//FUZZ: enable check_for_NULL - -extern int MINIZIP_EXPORT unzOpenCurrentFile3 OF((unzFile file, - int* method, - int* level, - int raw, - const char* password)); -//FUZZ: disable check_for_NULL -/* - Same than unzOpenCurrentFile, but open for read raw the file (not uncompress) - if raw==1 - *method will receive method of compression, *level will receive level of - compression - note : you can set level parameter as NULL (if you did not want known level, - but you CANNOT set method parameter as NULL -*/ -//FUZZ: enable check_for_NULL - - -extern int MINIZIP_EXPORT unzCloseCurrentFile OF((unzFile file)); -/* - Close the file in zip opened with unzOpenCurrentFile - Return UNZ_CRCERROR if all the file was read but the CRC is not good -*/ - -extern int MINIZIP_EXPORT unzReadCurrentFile OF((unzFile file, - voidp buf, - unsigned len)); -/* - Read bytes from the current file (opened by unzOpenCurrentFile) - buf contain buffer where data must be copied - len the size of buf. - - return the number of byte copied if somes bytes are copied - return 0 if the end of file was reached - return <0 with error code if there is an error - (UNZ_ERRNO for IO error, or zLib error for uncompress error) -*/ - -extern z_off_t MINIZIP_EXPORT unztell OF((unzFile file)); -/* - Give the current position in uncompressed data -*/ - -extern int MINIZIP_EXPORT unzeof OF((unzFile file)); -/* - return 1 if the end of file was reached, 0 elsewhere -*/ - -extern int MINIZIP_EXPORT unzGetLocalExtrafield OF((unzFile file, - voidp buf, - unsigned len)); -//FUZZ: disable check_for_NULL -/* - Read extra field from the current file (opened by unzOpenCurrentFile) - This is the local-header version of the extra field (sometimes, there is - more info in the local-header version than in the central-header) - - if buf==NULL, it return the size of the local extra field - - if buf!=NULL, len is the size of the buffer, the extra header is copied in - buf. - the return value is the number of bytes copied in buf, or (if <0) - the error code -*/ -//FUZZ: enable check_for_NULL - -/***************************************************************************/ - -/* Get the current file offset */ -extern uLong MINIZIP_EXPORT unzGetOffset (unzFile file); - -/* Set the current file offset */ -extern int MINIZIP_EXPORT unzSetOffset (unzFile file, uLong pos); - - - -#ifdef __cplusplus -} -#endif - -#endif /* _unz_H */ diff --git a/dep/ACE_wrappers/contrib/minizip/zip.c b/dep/ACE_wrappers/contrib/minizip/zip.c deleted file mode 100644 index 2a0d3de75..000000000 --- a/dep/ACE_wrappers/contrib/minizip/zip.c +++ /dev/null @@ -1,1164 +0,0 @@ -/* zip.c -- IO on .zip files using zlib - Version 1.01e, February 12th, 2005 - - 27 Dec 2004 Rolf Kalbermatter - Modification to zipOpen2 to support globalComment retrieval. - - Copyright (C) 1998-2005 Gilles Vollant - - Read zip.h for more info - $Id: zip.c 91813 2010-09-17 07:52:52Z johnnyw $ -*/ - - -#include -#include -#include -#include -#include "zlib.h" -#include "zip.h" - -#ifdef STDC -# include -# include -# include -#endif -#ifdef NO_ERRNO_H -extern int errno; -#else -# include -#endif - - -#ifndef local -# define local static -#endif -/* compile with -Dlocal if your debugger can't find static symbols */ - -#ifndef VERSIONMADEBY -# define VERSIONMADEBY (0x0) /* platform depedent */ -#endif - -#ifndef Z_BUFSIZE -#define Z_BUFSIZE (16384) -#endif - -#ifndef Z_MAXFILENAMEINZIP -#define Z_MAXFILENAMEINZIP (256) -#endif - -#ifndef ALLOC -# define ALLOC(size) (malloc(size)) -#endif -#ifndef TRYFREE -# define TRYFREE(p) {if (p) free(p);} -#endif - -/* - #define SIZECENTRALDIRITEM (0x2e) - #define SIZEZIPLOCALHEADER (0x1e) -*/ - -/* I've found an old Unix (a SunOS 4.1.3_U1) without all SEEK_* defined.... */ - -#ifndef SEEK_CUR -#define SEEK_CUR 1 -#endif - -#ifndef SEEK_END -#define SEEK_END 2 -#endif - -#ifndef SEEK_SET -#define SEEK_SET 0 -#endif - -#ifndef DEF_MEM_LEVEL -#if MAX_MEM_LEVEL >= 8 -# define DEF_MEM_LEVEL 8 -#else -# define DEF_MEM_LEVEL MAX_MEM_LEVEL -#endif -#endif -const char zip_copyright[] = -" zip 1.01 Copyright 1998-2004 Gilles Vollant - http://www.winimage.com/zLibDll"; - - -#define SIZEDATA_INDATABLOCK (4096-(4*4)) - -#define LOCALHEADERMAGIC (0x04034b50) -#define CENTRALHEADERMAGIC (0x02014b50) -#define ENDHEADERMAGIC (0x06054b50) - -#define FLAG_LOCALHEADER_OFFSET (0x06) -#define CRC_LOCALHEADER_OFFSET (0x0e) - -#define SIZECENTRALHEADER (0x2e) /* 46 */ - -typedef struct linkedlist_datablock_internal_s -{ - struct linkedlist_datablock_internal_s* next_datablock; - uLong avail_in_this_block; - uLong filled_in_this_block; - uLong unused; /* for future use and alignement */ - unsigned char data[SIZEDATA_INDATABLOCK]; -} linkedlist_datablock_internal; - -typedef struct linkedlist_data_s -{ - linkedlist_datablock_internal* first_block; - linkedlist_datablock_internal* last_block; -} linkedlist_data; - - -typedef struct -{ - z_stream stream; /* zLib stream structure for inflate */ - int stream_initialised; /* 1 is stream is initialised */ - uInt pos_in_buffered_data; /* last written byte in buffered_data */ - - uLong pos_local_header; /* offset of the local header of the file - currenty writing */ - char* central_header; /* central header data for the current file */ - uLong size_centralheader; /* size of the central header for cur file */ - uLong flag; /* flag of the file currently writing */ - - int method; /* compression method of file currenty wr.*/ - int raw; /* 1 for directly writing raw data */ - Byte buffered_data[Z_BUFSIZE];/* buffer contain compressed data to be writ*/ - uLong dosDate; - uLong crc32; - int encrypt; -#ifndef NOCRYPT - unsigned long keys[3]; /* keys defining the pseudo-random sequence */ - const unsigned long* pcrc_32_tab; - int crypt_header_size; -#endif -} curfile_info; - -typedef struct -{ - zlib_filefunc_def z_filefunc; - voidpf filestream; /* io structore of the zipfile */ - linkedlist_data central_dir;/* datablock with central dir in construction*/ - int in_opened_file_inzip; /* 1 if a file in the zip is currently writ.*/ - curfile_info ci; /* info on the file curretly writing */ - - uLong begin_pos; /* position of the beginning of the zipfile */ - uLong add_position_when_writting_offset; - uLong number_entry; -#ifndef NO_ADDFILEINEXISTINGZIP - char *globalcomment; -#endif -} zip_internal; - - - -#ifndef NOCRYPT -#define INCLUDECRYPTINGCODE_IFCRYPTALLOWED -#include "crypt.h" -#endif - -local linkedlist_datablock_internal* allocate_new_datablock() -{ - linkedlist_datablock_internal* ldi; - ldi = (linkedlist_datablock_internal*) - ALLOC(sizeof(linkedlist_datablock_internal)); - if (ldi!=0) - { - ldi->next_datablock = 0; - ldi->filled_in_this_block = 0 ; - ldi->avail_in_this_block = SIZEDATA_INDATABLOCK ; - } - return ldi; -} - -local void free_datablock( linkedlist_datablock_internal* ldi) -{ - while (ldi!=0) - { - linkedlist_datablock_internal* ldinext = ldi->next_datablock; - TRYFREE(ldi); - ldi = ldinext; - } -} - -local void init_linkedlist(linkedlist_data* ll) -{ - ll->first_block = ll->last_block = 0; -} - -/* local void free_linkedlist(linkedlist_data* ll) */ -/* { */ -/* free_datablock(ll->first_block); */ -/* ll->first_block = ll->last_block = 0; */ -/* } */ - - -local int add_data_in_datablock(linkedlist_data* ll,const void* buf,uLong len) - -{ - linkedlist_datablock_internal* ldi; - const unsigned char* from_copy; - - if (ll==0) - return ZIP_INTERNALERROR; - - if (ll->last_block == 0) - { - ll->first_block = ll->last_block = allocate_new_datablock(); - if (ll->first_block == 0) - return ZIP_INTERNALERROR; - } - - ldi = ll->last_block; - from_copy = (unsigned char*)buf; - - while (len>0) - { - uInt copy_this; - uInt i; - unsigned char* to_copy; - - if (ldi->avail_in_this_block==0) - { - ldi->next_datablock = allocate_new_datablock(); - if (ldi->next_datablock == 0) - return ZIP_INTERNALERROR; - ldi = ldi->next_datablock ; - ll->last_block = ldi; - } - - if (ldi->avail_in_this_block < len) - copy_this = (uInt)ldi->avail_in_this_block; - else - copy_this = (uInt)len; - - to_copy = &(ldi->data[ldi->filled_in_this_block]); - - for (i=0;ifilled_in_this_block += copy_this; - ldi->avail_in_this_block -= copy_this; - from_copy += copy_this ; - len -= copy_this; - } - return ZIP_OK; -} - - - -/****************************************************************************/ - -#ifndef NO_ADDFILEINEXISTINGZIP -/* =========================================================================== - Inputs a long in LSB order to the given file - nbByte == 1, 2 or 4 (byte, short or long) -*/ - -local int ziplocal_putValue OF((const zlib_filefunc_def* pzlib_filefunc_def, - voidpf filestream, uLong x, int nbByte)); -local int ziplocal_putValue (const zlib_filefunc_def* pzlib_filefunc_def,voidpf filestream,uLong x,int nbByte) - -{ - unsigned char buf[4]; - int n; - for (n = 0; n < nbByte; n++) - { - buf[n] = (unsigned char)(x & 0xff); - x >>= 8; - } - if (x != 0) - { /* data overflow - hack for ZIP64 (X Roche) */ - for (n = 0; n < nbByte; n++) - { - buf[n] = 0xff; - } - } - - if (ZWRITE(*pzlib_filefunc_def,filestream,buf,nbByte)!=(uLong)nbByte) - return ZIP_ERRNO; - else - return ZIP_OK; -} - -local void ziplocal_putValue_inmemory OF((void* dest, uLong x, int nbByte)); -local void ziplocal_putValue_inmemory (void* dest,uLong x,int nbByte) - -{ - unsigned char* buf=(unsigned char*)dest; - int n; - for (n = 0; n < nbByte; n++) { - buf[n] = (unsigned char)(x & 0xff); - x >>= 8; - } - - if (x != 0) - { /* data overflow - hack for ZIP64 */ - for (n = 0; n < nbByte; n++) - { - buf[n] = 0xff; - } - } -} - -/****************************************************************************/ - - -local uLong ziplocal_TmzDateToDosDate(const tm_zip* ptm,uLong dosDate) - -{ - uLong year = (uLong)ptm->tm_year; - MINIZIP_UNUSED_ARG(dosDate); - if (year>1980) - year-=1980; - else if (year>80) - year-=80; - return - (uLong) (((ptm->tm_mday) + (32 * (ptm->tm_mon+1)) + (512 * year)) << 16) | - ((ptm->tm_sec/2) + (32* ptm->tm_min) + (2048 * (uLong)ptm->tm_hour)); -} - - -/****************************************************************************/ - -local int ziplocal_getByte OF((const zlib_filefunc_def* pzlib_filefunc_def, - voidpf filestream, - int *pi)); - -local int ziplocal_getByte(const zlib_filefunc_def* pzlib_filefunc_def,voidpf filestream,int *pi) - -{ - unsigned char c; - int err = (int)ZREAD(*pzlib_filefunc_def,filestream,&c,1); - if (err==1) - { - *pi = (int)c; - return ZIP_OK; - } - else - { - if (ZERROR(*pzlib_filefunc_def,filestream)) - return ZIP_ERRNO; - else - return ZIP_EOF; - } -} - - -/* =========================================================================== - Reads a long in LSB order from the given gz_stream. Sets -*/ -local int ziplocal_getShort OF((const zlib_filefunc_def* pzlib_filefunc_def, - voidpf filestream, - uLong *pX)); - -local int ziplocal_getShort (const zlib_filefunc_def* pzlib_filefunc_def,voidpf filestream,uLong *pX) - -{ - uLong x ; - int i = 0; - int err; - - err = ziplocal_getByte(pzlib_filefunc_def,filestream,&i); - x = (uLong)i; - - if (err==ZIP_OK) - err = ziplocal_getByte(pzlib_filefunc_def,filestream,&i); - x += ((uLong)i)<<8; - - if (err==ZIP_OK) - *pX = x; - else - *pX = 0; - return err; -} - -local int ziplocal_getLong OF((const zlib_filefunc_def* pzlib_filefunc_def, - voidpf filestream, - uLong *pX)); - -local int ziplocal_getLong (const zlib_filefunc_def* pzlib_filefunc_def,voidpf filestream,uLong *pX) - -{ - uLong x ; - int i = 0; - int err; - - err = ziplocal_getByte(pzlib_filefunc_def,filestream,&i); - x = (uLong)i; - - if (err==ZIP_OK) - err = ziplocal_getByte(pzlib_filefunc_def,filestream,&i); - x += ((uLong)i)<<8; - - if (err==ZIP_OK) - err = ziplocal_getByte(pzlib_filefunc_def,filestream,&i); - x += ((uLong)i)<<16; - - if (err==ZIP_OK) - err = ziplocal_getByte(pzlib_filefunc_def,filestream,&i); - x += ((uLong)i)<<24; - - if (err==ZIP_OK) - *pX = x; - else - *pX = 0; - return err; -} - -#ifndef BUFREADCOMMENT -#define BUFREADCOMMENT (0x400) -#endif -/* - Locate the Central directory of a zipfile (at the end, just before - the global comment) -*/ -local uLong ziplocal_SearchCentralDir OF((const zlib_filefunc_def* pzlib_filefunc_def, - voidpf filestream)); - -local uLong ziplocal_SearchCentralDir(const zlib_filefunc_def* pzlib_filefunc_def,voidpf filestream) - -{ - unsigned char* buf; - uLong uSizeFile; - uLong uBackRead; - uLong uMaxBack=0xffff; /* maximum size of global comment */ - uLong uPosFound=0; - - if (ZSEEK(*pzlib_filefunc_def,filestream,0,ZLIB_FILEFUNC_SEEK_END) != 0) - return 0; - - - uSizeFile = ZTELL(*pzlib_filefunc_def,filestream); - - if (uMaxBack>uSizeFile) - uMaxBack = uSizeFile; - - buf = (unsigned char*)ALLOC(BUFREADCOMMENT+4); - if (buf==0) - return 0; - - uBackRead = 4; - while (uBackReaduMaxBack) - uBackRead = uMaxBack; - else - uBackRead+=BUFREADCOMMENT; - uReadPos = uSizeFile-uBackRead ; - - uReadSize = ((BUFREADCOMMENT+4) < (uSizeFile-uReadPos)) ? - (BUFREADCOMMENT+4) : (uSizeFile-uReadPos); - if (ZSEEK(*pzlib_filefunc_def,filestream,uReadPos,ZLIB_FILEFUNC_SEEK_SET)!=0) - break; - - if (ZREAD(*pzlib_filefunc_def,filestream,buf,uReadSize)!=uReadSize) - break; - - for (i=(int)uReadSize-3; (i--)>0;) - if (((*(buf+i))==0x50) && ((*(buf+i+1))==0x4b) && - ((*(buf+i+2))==0x05) && ((*(buf+i+3))==0x06)) - { - uPosFound = uReadPos+i; - break; - } - - if (uPosFound!=0) - break; - } - TRYFREE(buf); - return uPosFound; -} -#endif /* !NO_ADDFILEINEXISTINGZIP*/ - -/************************************************************/ -extern MINIZIP_EXPORT zipFile zipOpen2 (const char *pathname,int append,zipcharpc* globalcomment,zlib_filefunc_def* pzlib_filefunc_def) - -{ - zip_internal ziinit; - zip_internal* zi; - int err=ZIP_OK; - - - if (pzlib_filefunc_def==0) - fill_fopen_filefunc(&ziinit.z_filefunc); - else - ziinit.z_filefunc = *pzlib_filefunc_def; - - ziinit.filestream = (*(ziinit.z_filefunc.zopen_file)) - (ziinit.z_filefunc.opaque, - pathname, - (append == APPEND_STATUS_CREATE) ? - (ZLIB_FILEFUNC_MODE_READ | ZLIB_FILEFUNC_MODE_WRITE | ZLIB_FILEFUNC_MODE_CREATE) : - (ZLIB_FILEFUNC_MODE_READ | ZLIB_FILEFUNC_MODE_WRITE | ZLIB_FILEFUNC_MODE_EXISTING)); - - if (ziinit.filestream == 0) - return 0; - ziinit.begin_pos = ZTELL(ziinit.z_filefunc,ziinit.filestream); - ziinit.in_opened_file_inzip = 0; - ziinit.ci.stream_initialised = 0; - ziinit.number_entry = 0; - ziinit.add_position_when_writting_offset = 0; - init_linkedlist(&(ziinit.central_dir)); - - - zi = (zip_internal*)ALLOC(sizeof(zip_internal)); - if (zi==0) - { - ZCLOSE(ziinit.z_filefunc,ziinit.filestream); - return 0; - } - - /* now we add file in a zipfile */ -# ifndef NO_ADDFILEINEXISTINGZIP - ziinit.globalcomment = 0; - if (append == APPEND_STATUS_ADDINZIP) - { - uLong byte_before_the_zipfile;/* byte before the zipfile, (>0 for sfx)*/ - - uLong size_central_dir; /* size of the central directory */ - uLong offset_central_dir; /* offset of start of central directory */ - uLong central_pos,uL; - - uLong number_disk; /* number of the current dist, used for - spaning ZIP, unsupported, always 0*/ - uLong number_disk_with_CD; /* number the the disk with central dir, used - for spaning ZIP, unsupported, always 0*/ - uLong number_entry; - uLong number_entry_CD; /* total number of entries in - the central dir - (same than number_entry on nospan) */ - uLong size_comment; - - central_pos = ziplocal_SearchCentralDir(&ziinit.z_filefunc,ziinit.filestream); - if (central_pos==0) - err=ZIP_ERRNO; - - if (ZSEEK(ziinit.z_filefunc, ziinit.filestream, - central_pos,ZLIB_FILEFUNC_SEEK_SET)!=0) - err=ZIP_ERRNO; - - /* the signature, already checked */ - if (ziplocal_getLong(&ziinit.z_filefunc, ziinit.filestream,&uL)!=ZIP_OK) - err=ZIP_ERRNO; - - /* number of this disk */ - if (ziplocal_getShort(&ziinit.z_filefunc, ziinit.filestream,&number_disk)!=ZIP_OK) - err=ZIP_ERRNO; - - /* number of the disk with the start of the central directory */ - if (ziplocal_getShort(&ziinit.z_filefunc, ziinit.filestream,&number_disk_with_CD)!=ZIP_OK) - err=ZIP_ERRNO; - - /* total number of entries in the central dir on this disk */ - if (ziplocal_getShort(&ziinit.z_filefunc, ziinit.filestream,&number_entry)!=ZIP_OK) - err=ZIP_ERRNO; - - /* total number of entries in the central dir */ - if (ziplocal_getShort(&ziinit.z_filefunc, ziinit.filestream,&number_entry_CD)!=ZIP_OK) - err=ZIP_ERRNO; - - if ((number_entry_CD!=number_entry) || - (number_disk_with_CD!=0) || - (number_disk!=0)) - err=ZIP_BADZIPFILE; - - /* size of the central directory */ - if (ziplocal_getLong(&ziinit.z_filefunc, ziinit.filestream,&size_central_dir)!=ZIP_OK) - err=ZIP_ERRNO; - - /* offset of start of central directory with respect to the - starting disk number */ - if (ziplocal_getLong(&ziinit.z_filefunc, ziinit.filestream,&offset_central_dir)!=ZIP_OK) - err=ZIP_ERRNO; - - /* zipfile global comment length */ - if (ziplocal_getShort(&ziinit.z_filefunc, ziinit.filestream,&size_comment)!=ZIP_OK) - err=ZIP_ERRNO; - - if ((central_pos0) - { - ziinit.globalcomment = ALLOC(size_comment+1); - if (ziinit.globalcomment) - { - size_comment = ZREAD(ziinit.z_filefunc, - ziinit.filestream, - ziinit.globalcomment, - size_comment); - ziinit.globalcomment[size_comment]=0; - } - } - - byte_before_the_zipfile = central_pos - - (offset_central_dir+size_central_dir); - ziinit.add_position_when_writting_offset = byte_before_the_zipfile; - - { - uLong size_central_dir_to_read = size_central_dir; - size_t buf_size = SIZEDATA_INDATABLOCK; - void* buf_read = (void*)ALLOC(buf_size); - if (ZSEEK(ziinit.z_filefunc, ziinit.filestream, - offset_central_dir + byte_before_the_zipfile, - ZLIB_FILEFUNC_SEEK_SET) != 0) - err=ZIP_ERRNO; - - while ((size_central_dir_to_read>0) && (err==ZIP_OK)) - { - uLong read_this = SIZEDATA_INDATABLOCK; - if (read_this > size_central_dir_to_read) - read_this = size_central_dir_to_read; - if (ZREAD(ziinit.z_filefunc, - ziinit.filestream, - buf_read, - read_this) != read_this) - err=ZIP_ERRNO; - - if (err==ZIP_OK) - err = add_data_in_datablock(&ziinit.central_dir,buf_read, - (uLong)read_this); - size_central_dir_to_read-=read_this; - } - TRYFREE(buf_read); - } - ziinit.begin_pos = byte_before_the_zipfile; - ziinit.number_entry = number_entry_CD; - - if (ZSEEK(ziinit.z_filefunc, ziinit.filestream, - offset_central_dir+byte_before_the_zipfile,ZLIB_FILEFUNC_SEEK_SET)!=0) - err=ZIP_ERRNO; - } - - if (globalcomment) - { - *globalcomment = ziinit.globalcomment; - } -# endif /* !NO_ADDFILEINEXISTINGZIP*/ - - if (err != ZIP_OK) - { -# ifndef NO_ADDFILEINEXISTINGZIP - TRYFREE(ziinit.globalcomment); -# endif /* !NO_ADDFILEINEXISTINGZIP*/ - TRYFREE(zi); - return 0; - } - else - { - *zi = ziinit; - return (zipFile)zi; - } -} - -extern MINIZIP_EXPORT zipFile zipOpen (const char *pathname,int append) -{ - return zipOpen2(pathname,append,0,0); -} - -extern MINIZIP_EXPORT int zipOpenNewFileInZip3 (zipFile file,const char* filename,const zip_fileinfo* zipfi, - const void* extrafield_local,uInt size_extrafield_local, - const void* extrafield_global,uInt size_extrafield_global, - const char* comment,int method,int level,int raw, - int windowBits,int memLevel,int strategy, - const char* password,uLong crcForCrypting) - -{ - zip_internal* zi; - uInt size_filename; - uInt size_comment; - uInt i; - int err = ZIP_OK; - -# ifdef NOCRYPT - if (password != 0) - return ZIP_PARAMERROR; -# endif - - if (file == 0) - return ZIP_PARAMERROR; - if ((method!=0) && (method!=Z_DEFLATED)) - return ZIP_PARAMERROR; - - zi = (zip_internal*)file; - - if (zi->in_opened_file_inzip == 1) - { - err = zipCloseFileInZip (file); - if (err != ZIP_OK) - return err; - } - - - if (filename==0) - filename="-"; - - if (comment==0) - size_comment = 0; - else - size_comment = (uInt)strlen(comment); - - size_filename = (uInt)strlen(filename); - - if (zipfi == 0) - zi->ci.dosDate = 0; - else - { - if (zipfi->dosDate != 0) - zi->ci.dosDate = zipfi->dosDate; - else zi->ci.dosDate = ziplocal_TmzDateToDosDate(&zipfi->tmz_date,zipfi->dosDate); - } - - zi->ci.flag = 0; - if ((level==8) || (level==9)) - zi->ci.flag |= 2; - if ((level==2)) - zi->ci.flag |= 4; - if ((level==1)) - zi->ci.flag |= 6; - if (password != 0) - zi->ci.flag |= 1; - - zi->ci.crc32 = 0; - zi->ci.method = method; - zi->ci.encrypt = 0; - zi->ci.stream_initialised = 0; - zi->ci.pos_in_buffered_data = 0; - zi->ci.raw = raw; - zi->ci.pos_local_header = ZTELL(zi->z_filefunc,zi->filestream) ; - zi->ci.size_centralheader = SIZECENTRALHEADER + size_filename + - size_extrafield_global + size_comment; - zi->ci.central_header = (char*)ALLOC((uInt)zi->ci.size_centralheader); - - ziplocal_putValue_inmemory(zi->ci.central_header,(uLong)CENTRALHEADERMAGIC,4); - /* version info */ - ziplocal_putValue_inmemory(zi->ci.central_header+4,(uLong)VERSIONMADEBY,2); - ziplocal_putValue_inmemory(zi->ci.central_header+6,(uLong)20,2); - ziplocal_putValue_inmemory(zi->ci.central_header+8,(uLong)zi->ci.flag,2); - ziplocal_putValue_inmemory(zi->ci.central_header+10,(uLong)zi->ci.method,2); - ziplocal_putValue_inmemory(zi->ci.central_header+12,(uLong)zi->ci.dosDate,4); - ziplocal_putValue_inmemory(zi->ci.central_header+16,(uLong)0,4); /*crc*/ - ziplocal_putValue_inmemory(zi->ci.central_header+20,(uLong)0,4); /*compr size*/ - ziplocal_putValue_inmemory(zi->ci.central_header+24,(uLong)0,4); /*uncompr size*/ - ziplocal_putValue_inmemory(zi->ci.central_header+28,(uLong)size_filename,2); - ziplocal_putValue_inmemory(zi->ci.central_header+30,(uLong)size_extrafield_global,2); - ziplocal_putValue_inmemory(zi->ci.central_header+32,(uLong)size_comment,2); - ziplocal_putValue_inmemory(zi->ci.central_header+34,(uLong)0,2); /*disk nm start*/ - - if (zipfi==0) - ziplocal_putValue_inmemory(zi->ci.central_header+36,(uLong)0,2); - else - ziplocal_putValue_inmemory(zi->ci.central_header+36,(uLong)zipfi->internal_fa,2); - - if (zipfi==0) - ziplocal_putValue_inmemory(zi->ci.central_header+38,(uLong)0,4); - else - ziplocal_putValue_inmemory(zi->ci.central_header+38,(uLong)zipfi->external_fa,4); - - ziplocal_putValue_inmemory(zi->ci.central_header+42,(uLong)zi->ci.pos_local_header- zi->add_position_when_writting_offset,4); - - for (i=0;ici.central_header+SIZECENTRALHEADER+i) = *(filename+i); - - for (i=0;ici.central_header+SIZECENTRALHEADER+size_filename+i) = - *(((const char*)extrafield_global)+i); - - for (i=0;ici.central_header+SIZECENTRALHEADER+size_filename+ - size_extrafield_global+i) = *(comment+i); - if (zi->ci.central_header == 0) - return ZIP_INTERNALERROR; - - /* write the local header */ - err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)LOCALHEADERMAGIC,4); - - if (err==ZIP_OK) - err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)20,2);/* version needed to extract */ - if (err==ZIP_OK) - err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)zi->ci.flag,2); - - if (err==ZIP_OK) - err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)zi->ci.method,2); - - if (err==ZIP_OK) - err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)zi->ci.dosDate,4); - - if (err==ZIP_OK) - err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,4); /* crc 32, unknown */ - if (err==ZIP_OK) - err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,4); /* compressed size, unknown */ - if (err==ZIP_OK) - err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,4); /* uncompressed size, unknown */ - - if (err==ZIP_OK) - err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)size_filename,2); - - if (err==ZIP_OK) - err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)size_extrafield_local,2); - - if ((err==ZIP_OK) && (size_filename>0)) - if (ZWRITE(zi->z_filefunc,zi->filestream,filename,size_filename)!=size_filename) - err = ZIP_ERRNO; - - if ((err==ZIP_OK) && (size_extrafield_local>0)) - if (ZWRITE(zi->z_filefunc,zi->filestream,extrafield_local,size_extrafield_local) - !=size_extrafield_local) - err = ZIP_ERRNO; - - zi->ci.stream.avail_in = (uInt)0; - zi->ci.stream.avail_out = (uInt)Z_BUFSIZE; - zi->ci.stream.next_out = zi->ci.buffered_data; - zi->ci.stream.total_in = 0; - zi->ci.stream.total_out = 0; - - if ((err==ZIP_OK) && (zi->ci.method == Z_DEFLATED) && (!zi->ci.raw)) - { - zi->ci.stream.zalloc = (alloc_func)0; - zi->ci.stream.zfree = (free_func)0; - zi->ci.stream.opaque = (voidpf)0; - - if (windowBits>0) - windowBits = -windowBits; - - err = deflateInit2(&zi->ci.stream, level, - Z_DEFLATED, windowBits, memLevel, strategy); - - if (err==Z_OK) - zi->ci.stream_initialised = 1; - } -# ifndef NOCRYPT - zi->ci.crypt_header_size = 0; - if ((err==Z_OK) && (password != 0)) - { - unsigned char bufHead[RAND_HEAD_LEN]; - unsigned int sizeHead; - zi->ci.encrypt = 1; - zi->ci.pcrc_32_tab = get_crc_table(); - /*init_keys(password,zi->ci.keys,zi->ci.pcrc_32_tab);*/ - - sizeHead=crypthead(password,bufHead,RAND_HEAD_LEN,zi->ci.keys,zi->ci.pcrc_32_tab,crcForCrypting); - zi->ci.crypt_header_size = sizeHead; - - if (ZWRITE(zi->z_filefunc,zi->filestream,bufHead,sizeHead) != sizeHead) - err = ZIP_ERRNO; - } -# endif - - if (err==Z_OK) - zi->in_opened_file_inzip = 1; - return err; -} - -extern MINIZIP_EXPORT int zipOpenNewFileInZip2(zipFile file,const char* filename,const zip_fileinfo* zipfi, - const void* extrafield_local,uInt size_extrafield_local, - const void* extrafield_global,uInt size_extrafield_global, - const char* comment,int method,int level,int raw) - -{ - return zipOpenNewFileInZip3 (file, filename, zipfi, - extrafield_local, size_extrafield_local, - extrafield_global, size_extrafield_global, - comment, method, level, raw, - -MAX_WBITS, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY, - 0, 0); -} - -extern MINIZIP_EXPORT int zipOpenNewFileInZip (zipFile file,const char* filename,const zip_fileinfo* zipfi, - const void* extrafield_local,uInt size_extrafield_local, - const void* extrafield_global,uInt size_extrafield_global, - const char* comment,int method,int level) - -{ - return zipOpenNewFileInZip2 (file, filename, zipfi, - extrafield_local, size_extrafield_local, - extrafield_global, size_extrafield_global, - comment, method, level, 0); -} - -local int zipFlushWriteBuffer(zi) - zip_internal* zi; -{ - int err=ZIP_OK; - - if (zi->ci.encrypt != 0) - { -#ifndef NOCRYPT - uInt i; - int t; - for (i=0;ici.pos_in_buffered_data;i++) - zi->ci.buffered_data[i] = zencode(zi->ci.keys, zi->ci.pcrc_32_tab, - zi->ci.buffered_data[i],t); -#endif - } - if (ZWRITE(zi->z_filefunc,zi->filestream,zi->ci.buffered_data,zi->ci.pos_in_buffered_data) - !=zi->ci.pos_in_buffered_data) - err = ZIP_ERRNO; - zi->ci.pos_in_buffered_data = 0; - return err; -} - -extern MINIZIP_EXPORT int zipWriteInFileInZip (zipFile file,const void* buf,unsigned len) -{ - zip_internal* zi; - int err=ZIP_OK; - - if (file == 0) - return ZIP_PARAMERROR; - zi = (zip_internal*)file; - - if (zi->in_opened_file_inzip == 0) - return ZIP_PARAMERROR; - - zi->ci.stream.next_in = (void*)buf; - zi->ci.stream.avail_in = len; - zi->ci.crc32 = crc32(zi->ci.crc32,buf,len); - - while ((err==ZIP_OK) && (zi->ci.stream.avail_in>0)) - { - if (zi->ci.stream.avail_out == 0) - { - if (zipFlushWriteBuffer(zi) == ZIP_ERRNO) - err = ZIP_ERRNO; - zi->ci.stream.avail_out = (uInt)Z_BUFSIZE; - zi->ci.stream.next_out = zi->ci.buffered_data; - } - - - if(err != ZIP_OK) - break; - - if ((zi->ci.method == Z_DEFLATED) && (!zi->ci.raw)) - { - uLong uTotalOutBefore = zi->ci.stream.total_out; - err=deflate(&zi->ci.stream, Z_NO_FLUSH); - zi->ci.pos_in_buffered_data += - (uInt)(zi->ci.stream.total_out - uTotalOutBefore); - } - else - { - uInt copy_this,i; - if (zi->ci.stream.avail_in < zi->ci.stream.avail_out) - copy_this = zi->ci.stream.avail_in; - else - copy_this = zi->ci.stream.avail_out; - for (i=0;ici.stream.next_out)+i) = - *(((const char*)zi->ci.stream.next_in)+i); - - { - zi->ci.stream.avail_in -= copy_this; - zi->ci.stream.avail_out-= copy_this; - zi->ci.stream.next_in+= copy_this; - zi->ci.stream.next_out+= copy_this; - zi->ci.stream.total_in+= copy_this; - zi->ci.stream.total_out+= copy_this; - zi->ci.pos_in_buffered_data += copy_this; - } - } - } - - return err; -} - -extern MINIZIP_EXPORT int zipCloseFileInZipRaw (zipFile file,uLong uncompressed_size,uLong crc32) - -{ - zip_internal* zi; - uLong compressed_size; - int err=ZIP_OK; - - if (file == 0) - return ZIP_PARAMERROR; - zi = (zip_internal*)file; - - if (zi->in_opened_file_inzip == 0) - return ZIP_PARAMERROR; - zi->ci.stream.avail_in = 0; - - if ((zi->ci.method == Z_DEFLATED) && (!zi->ci.raw)) - while (err==ZIP_OK) - { - uLong uTotalOutBefore; - if (zi->ci.stream.avail_out == 0) - { - if (zipFlushWriteBuffer(zi) == ZIP_ERRNO) - err = ZIP_ERRNO; - zi->ci.stream.avail_out = (uInt)Z_BUFSIZE; - zi->ci.stream.next_out = zi->ci.buffered_data; - } - uTotalOutBefore = zi->ci.stream.total_out; - err=deflate(&zi->ci.stream, Z_FINISH); - zi->ci.pos_in_buffered_data += (uInt)(zi->ci.stream.total_out - uTotalOutBefore) ; - } - - if (err==Z_STREAM_END) - err=ZIP_OK; /* this is normal */ - - if ((zi->ci.pos_in_buffered_data>0) && (err==ZIP_OK)) - if (zipFlushWriteBuffer(zi)==ZIP_ERRNO) - err = ZIP_ERRNO; - - if ((zi->ci.method == Z_DEFLATED) && (!zi->ci.raw)) - { - err=deflateEnd(&zi->ci.stream); - zi->ci.stream_initialised = 0; - } - - if (!zi->ci.raw) - { - crc32 = (uLong)zi->ci.crc32; - uncompressed_size = (uLong)zi->ci.stream.total_in; - } - compressed_size = (uLong)zi->ci.stream.total_out; -# ifndef NOCRYPT - compressed_size += zi->ci.crypt_header_size; -# endif - - ziplocal_putValue_inmemory(zi->ci.central_header+16,crc32,4); /*crc*/ - ziplocal_putValue_inmemory(zi->ci.central_header+20, - compressed_size,4); /*compr size*/ - if (zi->ci.stream.data_type == Z_ASCII) - ziplocal_putValue_inmemory(zi->ci.central_header+36,(uLong)Z_ASCII,2); - ziplocal_putValue_inmemory(zi->ci.central_header+24, - uncompressed_size,4); /*uncompr size*/ - - if (err==ZIP_OK) - err = add_data_in_datablock(&zi->central_dir,zi->ci.central_header, - (uLong)zi->ci.size_centralheader); - free(zi->ci.central_header); - - if (err==ZIP_OK) - { - long cur_pos_inzip = ZTELL(zi->z_filefunc,zi->filestream); - if (ZSEEK(zi->z_filefunc,zi->filestream, - zi->ci.pos_local_header + 14,ZLIB_FILEFUNC_SEEK_SET)!=0) - err = ZIP_ERRNO; - - if (err==ZIP_OK) - err = ziplocal_putValue(&zi->z_filefunc, - zi->filestream, - crc32, - 4); /* crc 32, unknown */ - - if (err==ZIP_OK) /* compressed size, unknown */ - err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,compressed_size,4); - - if (err==ZIP_OK) /* uncompressed size, unknown */ - err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,uncompressed_size,4); - - if (ZSEEK(zi->z_filefunc,zi->filestream, - cur_pos_inzip,ZLIB_FILEFUNC_SEEK_SET)!=0) - err = ZIP_ERRNO; - } - - zi->number_entry ++; - zi->in_opened_file_inzip = 0; - - return err; -} - -extern MINIZIP_EXPORT int zipCloseFileInZip (zipFile file) - -{ - return zipCloseFileInZipRaw (file,0,0); -} - -extern MINIZIP_EXPORT int zipClose (zipFile file,const char* global_comment) -{ - zip_internal* zi; - int err = 0; - uLong size_centraldir = 0; - uLong centraldir_pos_inzip; - uInt size_global_comment; - if (file == 0) - return ZIP_PARAMERROR; - zi = (zip_internal*)file; - - if (zi->in_opened_file_inzip == 1) - { - err = zipCloseFileInZip (file); - } - -#ifndef NO_ADDFILEINEXISTINGZIP - if (global_comment==0) - global_comment = zi->globalcomment; -#endif - if (global_comment==0) - size_global_comment = 0; - else - size_global_comment = (uInt)strlen(global_comment); - - centraldir_pos_inzip = ZTELL(zi->z_filefunc,zi->filestream); - if (err==ZIP_OK) - { - linkedlist_datablock_internal* ldi = zi->central_dir.first_block ; - while (ldi!=0) - { - if ((err==ZIP_OK) && (ldi->filled_in_this_block>0)) - if (ZWRITE(zi->z_filefunc,zi->filestream, - ldi->data,ldi->filled_in_this_block) - !=ldi->filled_in_this_block ) - err = ZIP_ERRNO; - - size_centraldir += ldi->filled_in_this_block; - ldi = ldi->next_datablock; - } - } - free_datablock(zi->central_dir.first_block); - - if (err==ZIP_OK) /* Magic End */ - err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)ENDHEADERMAGIC,4); - - if (err==ZIP_OK) /* number of this disk */ - err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,2); - - if (err==ZIP_OK) /* number of the disk with the start of the central directory */ - err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,2); - - if (err==ZIP_OK) /* total number of entries in the central dir on this disk */ - err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)zi->number_entry,2); - - if (err==ZIP_OK) /* total number of entries in the central dir */ - err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)zi->number_entry,2); - - if (err==ZIP_OK) /* size of the central directory */ - err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)size_centraldir,4); - - if (err==ZIP_OK) /* offset of start of central directory with respect to the - starting disk number */ - err = ziplocal_putValue(&zi->z_filefunc,zi->filestream, - (uLong)(centraldir_pos_inzip - zi->add_position_when_writting_offset), - 4); - - if (err==ZIP_OK) /* zipfile comment length */ - err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)size_global_comment,2); - - if ((err==ZIP_OK) && (size_global_comment>0)) - if (ZWRITE(zi->z_filefunc,zi->filestream, - global_comment,size_global_comment) != size_global_comment) - err = ZIP_ERRNO; - - if (ZCLOSE(zi->z_filefunc,zi->filestream) != 0) - if (err == ZIP_OK) - err = ZIP_ERRNO; - -#ifndef NO_ADDFILEINEXISTINGZIP - TRYFREE(zi->globalcomment); -#endif - TRYFREE(zi); - - return err; -} diff --git a/dep/ACE_wrappers/contrib/minizip/zip.h b/dep/ACE_wrappers/contrib/minizip/zip.h deleted file mode 100644 index efd620e60..000000000 --- a/dep/ACE_wrappers/contrib/minizip/zip.h +++ /dev/null @@ -1,245 +0,0 @@ -/* zip.h -- IO for compress .zip files using zlib - Version 1.01e, February 12th, 2005 - - Copyright (C) 1998-2005 Gilles Vollant - - This unzip package allow creates .ZIP file, compatible with PKZip 2.04g - WinZip, InfoZip tools and compatible. - Multi volume ZipFile (span) are not supported. - Encryption compatible with pkzip 2.04g only supported - Old compressions used by old PKZip 1.x are not supported - - For uncompress .zip file, look at unzip.h - - - I WAIT FEEDBACK at mail info@winimage.com - Visit also http://www.winimage.com/zLibDll/unzip.html for evolution - - Condition of use and distribution are the same than zlib : - - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any damages - arising from the use of this software. - - Permission is granted to anyone to use this software for any purpose, - including commercial applications, and to alter it and redistribute it - freely, subject to the following restrictions: - - 1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - 3. This notice may not be removed or altered from any source distribution. - - $Id: zip.h 80826 2008-03-04 14:51:23Z wotte $ - -*/ - -/* for more info about .ZIP format, see - http://www.info-zip.org/pub/infozip/doc/appnote-981119-iz.zip - http://www.info-zip.org/pub/infozip/doc/ - PkWare has also a specification at : - ftp://ftp.pkware.com/probdesc.zip -*/ - -/* Modifications to minizip by ACE/TAO/CIAO developers: - 1. Added include of minizip_export.h to make minizip compile under Windows as a DLL - 2. Modified the function declarations to be conformant with ANSI C */ - -#ifndef _zip_H -#define _zip_H - -#ifdef __cplusplus -extern "C" { -#endif - -#ifndef _ZLIB_H -#include "zlib.h" -#endif - -#include "minizip_export.h" - -#ifndef _ZLIBIOAPI_H -#include "ioapi.h" -#endif - -#if defined(STRICTZIP) || defined(STRICTZIPUNZIP) -/* like the STRICT of WIN32, we define a pointer that cannot be converted - from (void*) without cast */ -typedef struct TagzipFile__ { int unused; } zipFile__; -typedef zipFile__ *zipFile; -#else -typedef voidp zipFile; -#endif - -#define ZIP_OK (0) -#define ZIP_EOF (0) -#define ZIP_ERRNO (Z_ERRNO) -#define ZIP_PARAMERROR (-102) -#define ZIP_BADZIPFILE (-103) -#define ZIP_INTERNALERROR (-104) - -#ifndef DEF_MEM_LEVEL -# if MAX_MEM_LEVEL >= 8 -# define DEF_MEM_LEVEL 8 -# else -# define DEF_MEM_LEVEL MAX_MEM_LEVEL -# endif -#endif -/* default memLevel */ - -/* tm_zip contain date/time info */ -typedef struct tm_zip_s -{ - uInt tm_sec; /* seconds after the minute - [0,59] */ - uInt tm_min; /* minutes after the hour - [0,59] */ - uInt tm_hour; /* hours since midnight - [0,23] */ - uInt tm_mday; /* day of the month - [1,31] */ - uInt tm_mon; /* months since January - [0,11] */ - uInt tm_year; /* years - [1980..2044] */ -} tm_zip; - -typedef struct -{ - tm_zip tmz_date; /* date in understandable format */ - uLong dosDate; /* if dos_date == 0, tmu_date is used */ -/* uLong flag; */ /* general purpose bit flag 2 bytes */ - - uLong internal_fa; /* internal file attributes 2 bytes */ - uLong external_fa; /* external file attributes 4 bytes */ -} zip_fileinfo; - -typedef const char* zipcharpc; - - -#define APPEND_STATUS_CREATE (0) -#define APPEND_STATUS_CREATEAFTER (1) -#define APPEND_STATUS_ADDINZIP (2) - -extern zipFile MINIZIP_EXPORT zipOpen OF((const char *pathname, int append)); -/* - Create a zipfile. - pathname contain on Windows XP a filename like "c:\\zlib\\zlib113.zip" or on - an Unix computer "zlib/zlib113.zip". - if the file pathname exist and append==APPEND_STATUS_CREATEAFTER, the zip - will be created at the end of the file. - (useful if the file contain a self extractor code) - if the file pathname exist and append==APPEND_STATUS_ADDINZIP, we will - add files in existing zip (be sure you don't add file that doesn't exist) - If the zipfile cannot be opened, the return value is NULL. - Else, the return value is a zipFile Handle, usable with other function - of this zip package. -*/ - -/* Note : there is no delete function into a zipfile. - If you want delete file into a zipfile, you must open a zipfile, and create another - Of couse, you can use RAW reading and writing to copy the file you did not want delte -*/ - -extern zipFile MINIZIP_EXPORT zipOpen2 OF((const char *pathname, - int append, - zipcharpc* globalcomment, - zlib_filefunc_def* pzlib_filefunc_def)); - -extern int MINIZIP_EXPORT zipOpenNewFileInZip OF((zipFile file, - const char* filename, - const zip_fileinfo* zipfi, - const void* extrafield_local, - uInt size_extrafield_local, - const void* extrafield_global, - uInt size_extrafield_global, - const char* comment, - int method, - int level)); -//FUZZ: disable check_for_NULL -/* - Open a file in the ZIP for writing. - filename : the filename in zip (if NULL, '-' without quote will be used - *zipfi contain supplemental information - if extrafield_local!=NULL and size_extrafield_local>0, extrafield_local - contains the extrafield data the the local header - if extrafield_global!=NULL and size_extrafield_global>0, extrafield_global - contains the extrafield data the the local header - if comment != NULL, comment contain the comment string - method contain the compression method (0 for store, Z_DEFLATED for deflate) - level contain the level of compression (can be Z_DEFAULT_COMPRESSION) -*/ -//FUZZ: enable check_for_NULL - - -extern int MINIZIP_EXPORT zipOpenNewFileInZip2 OF((zipFile file, - const char* filename, - const zip_fileinfo* zipfi, - const void* extrafield_local, - uInt size_extrafield_local, - const void* extrafield_global, - uInt size_extrafield_global, - const char* comment, - int method, - int level, - int raw)); - -/* - Same than zipOpenNewFileInZip, except if raw=1, we write raw file - */ - -extern int MINIZIP_EXPORT zipOpenNewFileInZip3 OF((zipFile file, - const char* filename, - const zip_fileinfo* zipfi, - const void* extrafield_local, - uInt size_extrafield_local, - const void* extrafield_global, - uInt size_extrafield_global, - const char* comment, - int method, - int level, - int raw, - int windowBits, - int memLevel, - int strategy, - const char* password, - uLong crcForCtypting)); -//FUZZ: disable check_for_NULL -/* - Same than zipOpenNewFileInZip2, except - windowBits,memLevel,,strategy : see parameter strategy in deflateInit2 - password : crypting password (NULL for no crypting) - crcForCtypting : crc of file to compress (needed for crypting) - */ -//FUZZ: enable check_for_NULL - - -extern int MINIZIP_EXPORT zipWriteInFileInZip OF((zipFile file, - const void* buf, - unsigned len)); -/* - Write data in the zipfile -*/ - -extern int MINIZIP_EXPORT zipCloseFileInZip OF((zipFile file)); -/* - Close the current file in the zipfile -*/ - -extern int MINIZIP_EXPORT zipCloseFileInZipRaw OF((zipFile file, - uLong uncompressed_size, - uLong crc32)); -/* - Close the current file in the zipfile, for fiel opened with - parameter raw=1 in zipOpenNewFileInZip2 - uncompressed_size and crc32 are value for the uncompressed size -*/ - -extern int MINIZIP_EXPORT zipClose OF((zipFile file, - const char* global_comment)); -/* - Close the zipfile -*/ - -#ifdef __cplusplus -} -#endif - -#endif /* _zip_H */ diff --git a/dep/ACE_wrappers/include/makeinclude/all_in_one.GNU b/dep/ACE_wrappers/include/makeinclude/all_in_one.GNU deleted file mode 100644 index f11384eb6..000000000 --- a/dep/ACE_wrappers/include/makeinclude/all_in_one.GNU +++ /dev/null @@ -1,72 +0,0 @@ -# -*- Makefile -*- - -#---------------------------------------------------------------------------- -# $Id: all_in_one.GNU 80826 2008-03-04 14:51:23Z wotte $ -#---------------------------------------------------------------------------- - -# Only include once. -ifndef ALL_IN_ONE_GNU -ALL_IN_ONE_GNU = 1 - -# Include wrapper macros to all user defines, etc. -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU - -TAO_ROOT ?= $(ACE_ROOT)/TAO - -ifneq ($(ADDITIONAL_INCLUDE),) - include $(ADDITIONAL_INCLUDE) -endif - -# Now test for installed components, and set the BIN. LIB, and SHLIB -# targets from the *_UNCHECKED ones if the component checks -# succeed. Client Makefile must set the variable REQUIRED_COMPONENTS -# with a list of required components. If no additional components -# are required, REQUIRED_COMPONENTS need not be set. -include $(ACE_ROOT)/include/makeinclude/component_check.GNU - -# If no required components are missing, set the real targets -ifeq ($(MISSING_COMPONENTS),) - ifdef BIN_UNCHECKED - BIN += $(BIN_UNCHECKED) - endif # !BIN_UNCHECKED - ifdef static_libs - ifdef LIB_UNCHECKED - LIB += $(LIB_UNCHECKED) - endif # !LIB_UNCHECKED - endif # static_libs - ifdef shared_libs - ifdef SHLIB_UNCHECKED - SHLIB += $(SHLIB_UNCHECKED) - endif # !SHLIB_UNCHECKED - endif # !shared_libs -endif # COMPILE_COMPONENT - -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU - -ifdef DIRS - include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU -else # !DIRS - include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -endif # DIRS -ifdef CLEANUP_LIB - include_lib = 1 -endif # LIB - -ifdef CLEANUP_SHLIB - include_lib = 1 -endif # SHLIB - -ifeq ($(include_lib),1) - include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -endif - -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -# Remove the -g option if requested. -SUPPRESS_DASH_G ?= -ifeq ($(SUPPRESS_DASH_G),1) - DCFLAGS := $(filter-out -g, $DCFLAGS) -endif - -endif # ALL_IN_ONE_GNU diff --git a/dep/ACE_wrappers/include/makeinclude/component_check.GNU b/dep/ACE_wrappers/include/makeinclude/component_check.GNU deleted file mode 100644 index 0815118f1..000000000 --- a/dep/ACE_wrappers/include/makeinclude/component_check.GNU +++ /dev/null @@ -1,16 +0,0 @@ -# -*- Makefile -*- - -#---------------------------------------------------------------------------- -# $Id: component_check.GNU 80826 2008-03-04 14:51:23Z wotte $ -#---------------------------------------------------------------------------- - -# Load all components. -ALL_COMPONENTS := $(ACE_MAKE_OPTIONS) -ALL_COMPONENTS += $(shell sh $(ACE_ROOT)/bin/ace_components --ace) -ALL_COMPONENTS += $(shell sh $(ACE_ROOT)/bin/ace_components --tao) -ALL_COMPONENTS += $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ALL_COMPONENTS += $(shell sh $(ACE_ROOT)/bin/ace_components --pace) - -# Filter out all the components that are currently available from the -# list of requirements. -MISSING_COMPONENTS := $(filter-out $(ALL_COMPONENTS), $(REQUIRED_COMPONENTS)) diff --git a/dep/ACE_wrappers/include/makeinclude/macros.GNU b/dep/ACE_wrappers/include/makeinclude/macros.GNU deleted file mode 100644 index 1e90b4252..000000000 --- a/dep/ACE_wrappers/include/makeinclude/macros.GNU +++ /dev/null @@ -1,29 +0,0 @@ -#-*- Makefile -*- - -#---------------------------------------------------------------------------- -# $Id: macros.GNU 90163 2010-05-18 21:42:20Z mitza $ -# -# Local and nested target definitions -#---------------------------------------------------------------------------- - -TARGETS_LOCAL = \ - all.local \ - debug.local \ - profile.local \ - optimize.local \ - install.local \ - binout.local \ - clean_binout.local \ - clean_binaries.local \ - clean_idl_stubs.local \ - clean.local \ - realclean.local \ - clobber.local \ - depend.local \ - rcs_info.local \ - idl_stubs.local \ - svnignore.local - -TARGETS_NESTED = \ - $(TARGETS_LOCAL:.local=.nested) - diff --git a/dep/ACE_wrappers/include/makeinclude/platform_aix.GNU b/dep/ACE_wrappers/include/makeinclude/platform_aix.GNU deleted file mode 100644 index 7e497b8e3..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_aix.GNU +++ /dev/null @@ -1,104 +0,0 @@ -# $Id: platform_aix.GNU 91285 2010-08-05 08:29:30Z johnnyw $ - -# AIX 5.x using the IBM C Set++ compiler. -# -# NOTE! IBM is no longer supporting AIX at any version earlier than 4.3, -# and Riverace is not testing or supporting ACE on them either. No steps -# have been taken to intentionally disable anything, but it is not being -# tested either. -# -# NOTE 2! This file is only for use with the older CSet++ compiler, which -# IBM doesn't sell or support any longer. Riverace doesn't support ACE -# with it either. This file is still here in case there is some site -# still using the old compiler, but it is completely unsupported. -# -# On 4.1, this file assumes that the user has installed the AIX patch -# containing the dl*() APIs. To use these APIs, IBM has created a -# separate product (free to AIX licensees) called shared library -# hookable symbols (or slhs/6000). If they don't have this patch, the -# sv* commands for compiling and linking will not be present on the -# system. -# -# On 4.2, the AIX fileset bos.rte.bind_cmds must be at version 4.2.0.2 or -# higher in order to build libACEshr.a, and at 4.2.0.4 or higher for dl*() -# routines to work properly. Best to apply the update available at: -# ftp://service.boulder.ibm.com/aix/fixes/v4/os/bos.rte.bind_cmds.4.2.0.4.bff -# or a successor. - -debug ?= 1 -distrib ?= 0 -optimize ?= 0 -threads ?= 1 - -# In case anything here or in the config depends on OS version number, -# grab it here and pass it all to the compiler as well. -AIX_MAJOR_VERS := $(shell uname -v) -AIX_MINOR_VERS := $(shell uname -r) - -# aix_build turns on the funky shared library building code. -aix_build = 1 -# ibmcxx_build turns on the extra step for instantiating and compiling -# template instances. -ibmcxx_build = 1 - -ifeq ($(threads),1) -CC = xlc_r -CXX = xlC_r -DLD = makeC++SharedLib_r -else -CC = xlc -CXX = xlC -DLD = makeC++SharedLib -endif - -# -qextchk is handy, but produces false type mismatches when linking -# netsvcs with 3.1.4, so it's disabled. IBM reports this fixed in 3.6.4. -TEMPINCDIR = tempinc -CCFLAGS += $(CFLAGS) -qtempinc=$(TEMPINCDIR) -qinfo - -# IBM C/C++ compiler 3.6.x produces a bazillion warnings about 0-valued -# preprocessor defs. Since both 3.1 and 3.4 could be installed, don't ask -# lslpp for one or the other. Instead, compile a file and see which compiler -# the user has set up for use. This trick was submitted by Craig Rodrigues -# , originally from the vacpp compiler newsgroup. -# It relies on the preprocessor defining __xlC__ to the proper version -# number of the compiler. -XLCVERSION := $(shell echo "__xlC__" > ./testAIXCompilerVersion.cpp) -XLCVERSION := $(shell $(CXX) -E ./testAIXCompilerVersion.cpp | tail -1) -ACE_AIX_CLEAN := $(shell $(RM) ./testAIXCompilerVersion.cpp) -ifeq ($(XLCVERSION),0x0306) - CCFLAGS += -qflag=e:e -else - CCFLAGS += -qflag=w:w -endif -CPPFLAGS += -qlanglvl=ansi -DACE_AIX_MAJOR_VERS=$(AIX_MAJOR_VERS) -DACE_AIX_MINOR_VERS=$(AIX_MINOR_VERS) - -# -qinitauto seems useful, but when built with -qinitauto=5F, the -# Process_Strategy_Test went CPU bound in ostream, so I removed it (S. Huston) -DCFLAGS += -g -qcheck=nobounds:div:null - -ACELIB = -lACE -LD = $(CXX) - -ifeq ($(AIX_MINOR_VERS),1) -LLIBS = -lsvld -ltli_r $(ACELIB) -LIBS += $(filter-out $(SHLIBA:lib%.a=-l%), $(LLIBS)) -else -LIBS += -ltli_r -ldl -endif - -ARFLAGS = ruv -AR = ar -LDFLAGS += -bI:/lib/pse.exp -# Default OCCFLAGS builds common code for all RS/6000 architectures but -# this can be set to optimize for your particular computer. The commented -# out example optimizes for RS/6000 43P. -# OCCFLAGS is not used by default. To used it, set optimize=1 -# either in this file or on the command line. -#OCCFLAGS += -qarch=ppc -qtune=604 -OCCFLAGS += -O2 -qarch=com -RANLIB = ranlib -SOFLAGS = -p 0 - -SOVERSION = -SONAME = diff --git a/dep/ACE_wrappers/include/makeinclude/platform_aix_g++.GNU b/dep/ACE_wrappers/include/makeinclude/platform_aix_g++.GNU deleted file mode 100644 index c62a802d7..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_aix_g++.GNU +++ /dev/null @@ -1,94 +0,0 @@ -# $Id: platform_aix_g++.GNU 91285 2010-08-05 08:29:30Z johnnyw $ -# -# Platform macros for building on AIX with g++. This has been tested on -# AIX 4.3 and 5 with gcc 3. Earlier versions of gcc may compile, but are -# known to have serious problems on AIX. -# -# Contributed by Ian Wright -# Updated for AIX 4.3 and gcc 3 by Steve Huston - -debug ?= 1 -distrib ?= 0 -optimize ?= 1 -threads ?= 1 -buildbits ?= 32 -with_ld ?= aix -no_hidden_visibility ?= 1 - -PLATFORM_XT_CPPFLAGS= -PLATFORM_XT_LIBS=-lXt -PLATFORM_XT_LDFLAGS= - -PLATFORM_X11_CPPFLAGS= -PLATFORM_X11_LIBS=-lX11 -PLATFORM_X11_LDFLAGS= - -# Yes, believe it or not... -# The way to make a shared lib on AIX is to make a shared object file and -# then put that in an archive. -# Non-shared archives are named libns.a - ns = non-shared. -SOEXT = so -LDFLAGS += -Wl,-brtl - -ifeq (1,$(threads)) - CFLAGS += -pthread -endif - -ifeq ($(shared_libs),1) -ACELIB = -lACE -else -ACELIB = -lACEns -endif - -# In case anything here or in the config depends on OS version number, -# grab it here and pass it all to the compiler as well. -AIX_MAJOR_VERS := $(shell uname -v) -AIX_MINOR_VERS := $(shell uname -r) -AIX_VERS := $(AIX_MAJOR_VERS)0$(AIX_MINOR_VERS) - -CC = gcc -CXX = g++ - -CFLAGS += -W -Wall -DACE_AIX_VERS=$(AIX_VERS) -ifeq ($(buildbits),32) - CFLAGS += -maix32 -endif -ifeq ($(buildbits),64) - CFLAGS += -maix64 - LDFLAGS += -maix64 - ARFLAGS += -X64 -endif -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -# Linking TAO_IDL runs out of TOC space unless -bbigtoc is given to ld. -# Don't do it for everything because it decreases run-time performance. -ifeq ($(notdir $(shell pwd)), TAO_IDL) -LDFLAGS += -Wl,-bbigtoc -endif - -OCFLAGS = -O2 -OCCFLAGS = $(OCFLAGS) -ifeq ($(threads),1) - SOFLAGS += -pthread -endif - -# AIX 5 has a new ld option, -bexpfull, that exports all the symbols that -# g++ 3.3+ needs to work correctly. The new option is available by default -# in AIX 5.2 and later, but must be installed by a patch to AIX 5.1. -ifeq ($(AIX_MAJOR_VERS),5) - SOFLAGS += -shared -Wl,-bexpfull # -Wl,-bloadmap:lib.mapelse -else - SOFLAGS += -shared -Wl,-bexpall # -Wl,-bloadmap:lib.map -endif - -LIBS += -lxti -ldl -ARFLAGS += cruv -RANLIB = ranlib - -# Test for template instantiation, add to SOFLAGS if versioned_so set, -# add -E to LDFLAGS if using GNU ld -# -include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU - -CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG) diff --git a/dep/ACE_wrappers/include/makeinclude/platform_aix_ibm.GNU b/dep/ACE_wrappers/include/makeinclude/platform_aix_ibm.GNU deleted file mode 100644 index 2dfde0c15..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_aix_ibm.GNU +++ /dev/null @@ -1,184 +0,0 @@ -# $Id: platform_aix_ibm.GNU 91285 2010-08-05 08:29:30Z johnnyw $ - -# This file is for use with AIX 5.x and up, using either of the IBM -# compilers (Visual Age C++ 6 or newer compiler). - -debug ?= 1 -distrib ?= 0 -optimize ?= 0 -threads ?= 1 -buildbits ?= 32 - -ifeq (,$(inline)) -ifeq (1,$(debug)) - inline = 0 -else - inline = 1 -endif -endif - -# First, find out which compiler we're building with. The settings we -# use for compiling, as well as how to build shared libraries, depend on -# the compiler version. There's no easy way to ask lslpp which is installed. -# Instead, compile a file and see which compiler is set up for use. This -# trick was submitted by Craig Rodrigues , originally -# from the vacpp compiler newsgroup. -# It relies on the preprocessor defining __xlC__ to the proper version -# number of the compiler. -XLCVERSION := $(shell echo "__xlC__" > ./testxlCvers.cpp;xlC -E ./testxlCvers.cpp | tail -n 1;$(RM) testxlCvers.cpp) -#XLCVERSION := $(shell xlC -E ./testAIXCompilerVersion.cpp | tail -1') -#ACE_AIX_CLEAN := $(shell $(RM) ./testAIXCompilerVersion.cpp) - -# In case anything here or in the config depends on OS version number, -# grab it here and pass it all to the compiler as well. -AIX_MAJOR_VERS := $(shell uname -v) -AIX_MINOR_VERS := $(shell uname -r) -AIX_VERS := $(AIX_MAJOR_VERS)0$(AIX_MINOR_VERS) - -SOEXT = so -SOFLAGS += -G -LDFLAGS += -brtl -#SHR_FILTER=$(ACE_ROOT)/bin/aix_shr - -ifeq ($(threads),1) -# Note - the _r form of the compiler command turns on -qthreads and the -# thread-required preprocessor defines, as well as -lpthreads for linking. -# If this is Visual Age C++ 5, DLD will get reset below. -CC = xlc_r -CXX = xlC_r -DLD = makeC++SharedLib_r -else -CC = xlc -CXX = xlC -DLD = makeC++SharedLib -endif - -ARFLAGS = ruv -AR = ar -LD = $(SHR_FILTER) $(CXX) -RANLIB = ranlib - -CPPFLAGS += -DACE_AIX_VERS=$(AIX_VERS) - -# AIX 5.2 offers POSIX aio, but the Visual Age C++ compiler can't grok the -# aio.h header file. This is a known problem and will be addressed in -# May 2004 (per IBM). This is a workaround for it, supplied by IBM. -# When the compiler fix is released, this workaround (and the change -# to -qflag, below) can be removed. (Steve Huston) -ifeq (502,$(AIX_VERS)) -CPPFLAGS += -U__C99_RESTRICT -endif - -# -qinitauto seems like an interesting option, but some tests (specifically -# Process_Strategy_Test) hang with it turned on. This should be investigated -# at some point. -DCCFLAGS += -g -qcheck=nobounds:div:null -DCFLAGS += -g - -ifeq ($(XLCVERSION),0x0600) - # This is just for the workaround for aio, above. Without it, the - # compiler warns that __C99_RESTRICT is reserved. When that workaround - # is gone, this ifeq can be removed also. -qflag=w:w is what we want - # in the end. - CCFLAGS += -qtemplateregistry=templateregistry.$(MAKEFILE) - ifeq (502,$(AIX_VERS)) - CCFLAGS += -qflag=e:e - else - CCFLAGS += -qflag=w:w - endif -else - ifeq ($(XLCVERSION),0x0700) - CCFLAGS += -qflag=w:w - ifeq ($(templates),manual) - CCFLAGS += -qnotempinc -qnotemplateregistry - else - CCFLAGS += -qtemplateregistry=templateregistry.$(MAKEFILE) - endif - # According to documentation, default is -qeh, which is equivalent - # to -qeh=v5. Apparently 6.0 fixed some problems with nested - # try-catch blocks. - CCFLAGS += -qeh=v6 - else - ifeq ($(XLCVERSION),0x0800) - CCFLAGS += -qflag=w:w - ifeq ($(templates),manual) - CCFLAGS += -qnotempinc -qnotemplateregistry - else - CCFLAGS += -qtemplateregistry=templateregistry.$(MAKEFILE) - endif - # According to documentation, default is -qeh, which is equivalent - # to -qeh=v5. Apparently 6.0 fixed some problems with nested - # try-catch blocks. - CCFLAGS += -qeh=v6 - else - ifeq ($(XLCVERSION),0x0900) - CCFLAGS += -qflag=w:w - ifeq ($(templates),manual) - CCFLAGS += -qnotempinc -qnotemplateregistry - else - CCFLAGS += -qtemplateregistry=templateregistry.$(MAKEFILE) - endif - # According to documentation, default is -qeh, which is equivalent - # to -qeh=v5. Apparently 6.0 fixed some problems with nested - # try-catch blocks. - CCFLAGS += -qeh=v6 - else - CXX = echo "Unrecognized compiler version $(XLCVERSION)\n" - endif - endif - endif -endif - -DLD = $(CXX) -qmkshrobj -SOFLAGS += $(CCFLAGS) $(CPPFLAGS) $(INCLDIRS) - -ifeq ($(buildbits),64) - DLD += -q64 - CFLAGS += -q64 -qwarn64 - CCFLAGS += -q64 -qwarn64 - ARFLAGS := -X64 $(ARFLAGS) - - # This option results in a crash of TAO when building 64bit with - # Visual Age 6. No idea why but don't use it when using Visual Age 6. - ifneq ($(XLCVERSION),0x0600) - # CCFLAGS += -qstaticinline - endif -else - # Using 32bit the staticinline option works. - #CCFLAGS += -qstaticinline -endif - -CCFLAGS += -qfuncsect - -# The Visual Age preprocessor is not usable with the TAO_IDL compiler. -# At the moment an idl file just contains includes of other idl files -# the Visual Age preprocessor doesn't report that file in the list of -# files that is used. The only way we can workaround this is using the -# gcc preprocessor, do this in your platform_macros.GNU is this -# causes problems -# TAO_IDL_PREPROCESSOR = gcc - -ifeq ($(exceptions),0) - CCFLAGS += -qnoeh -endif - -CCFLAGS += -qrtti=all - -ifeq ($(shared_libs),1) -ACELIB = -lACE -else -ACELIB = -lACEns -endif - -LIBS += -lxti -ldl - -SONAME = -SOVERSION = -# Default OCCFLAGS builds common code for all RS/6000 architectures but -# this can be set to optimize for your particular computer. The commented -# out example optimizes for RS/6000 43P. -# OCCFLAGS is not used by default. To used it, set optimize=1 -# either in this file or on the command line. -#OCCFLAGS += -qarch=ppc -qtune=604 - -OCCFLAGS += -qlibansi -O2 -qarch=com diff --git a/dep/ACE_wrappers/include/makeinclude/platform_cegcc.GNU b/dep/ACE_wrappers/include/makeinclude/platform_cegcc.GNU deleted file mode 100644 index 73105598b..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_cegcc.GNU +++ /dev/null @@ -1,63 +0,0 @@ -# $Id: platform_cegcc.GNU 86432 2009-08-09 18:56:15Z johnnyw $ -# -# This file should allow to build ACE for Windows CE with GCC tools. -# -# Don't forget to define the ACE_ROOT environment variable! -# - -# -# Chose your target CPU (by default we set it to ARM. In your -# platform_macros.GNU file you can override this to pentium, i486 or i386 -# -TCPU ?= arm - -cygwin32 = 1 - -# Cygwin doesn't have rwho -rwho = 0 - -# Cygwin doesn't allow to add the version number of ACE to the dll name -# because fe ace.dll.5.2.3 isn't a valid dll name -versioned_so=0 - -ACE_CE_VER ?= 0x600 - -qos ?= 1 - -# Disable auto-import warnings. The Cygwin linker has a problem with imports -# See https://sourceforge.net/tracker/?func=detail&atid=102435&aid=683455&group_id=2435 -# for the details why to do this. -LDFLAGS += -Wl,--enable-auto-import -CPPFLAGS += -DACE_HAS_CEGCC - -CPPFLAGS += -D_WIN32_WCE=$(ACE_CE_VER) -DUNICODE -D_UNICODE -D_WINDOWS -DCEVER -DWIN32 -D_WINSOCKAPI_ -RCFLAGS += -D_WIN32_WCE=$(ACE_CE_VER) -DUNICODE -D_UNICODE -D_WINDOWS -DCEVER -DWIN32 -D_WINSOCKAPI_ -D_WIN32_IE=0x0500 - -cpumodelflag=0 -tunemodelflag=0 - -COMPARCH ?= i386-mingw32ce- -#COMPARCH ?= arm-wince-mingw32ce- - -LIBS += -lcoredll -lmingw32 -lmingwex -lws2 -lsupc++ -liphlpapi - -no_hidden_visibility ?= 1 -qos ?= 1 - -ifdef COMSPEC - HOST_EXE_EXT = .exe -endif - -ifneq (,$(HOST_ROOT)) -TAO_IDLFLAGS += -g $(HOST_ROOT)/bin/ace_gperf -TAO_IDL = $(HOST_ROOT)/bin/tao_idl$(HOST_EXE_EXT) -TAO_IDL3_TO_IDL2 = $(HOST_ROOT)/TAO/CIAO/bin/tao_idl3_to_idl2$(HOST_EXE_EXT) -TAO_IDL_DEP = $(TAO_IDL) -TAO_IDL3_TO_IDL2_DEP = $(TAO_IDL3_TO_IDL2) -else -# Append the HOST_EXE_EXT if it's not already there -TAO_IDL_DEP = $(TAO_IDL:$(HOST_EXE_EXT)=)$(HOST_EXE_EXT) -TAO_IDL3_TO_IDL2_DEP = $(TAO_IDL3_TO_IDL2:$(HOST_EXE_EXT)=)$(HOST_EXE_EXT) -endif - -include $(ACE_ROOT)/include/makeinclude/platform_gnuwin32_common.GNU diff --git a/dep/ACE_wrappers/include/makeinclude/platform_clang_common.GNU b/dep/ACE_wrappers/include/makeinclude/platform_clang_common.GNU deleted file mode 100644 index 9f098a2b1..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_clang_common.GNU +++ /dev/null @@ -1,110 +0,0 @@ -# -*- Makefile -*- -# $Id: platform_clang_common.GNU 91093 2010-07-15 09:12:20Z wotte $ -# -# Common file help turn on/off explicit template instantiation - -ifeq ($(CXX),insure) - # insure does not pass through the -dumpversion option. - CXX_FOR_VERSION_TEST ?= g++ -else - CXX_FOR_VERSION_TEST ?= $(CXX) -endif - -CXX_VERSION := $(shell $(CXX_FOR_VERSION_TEST) -dumpversion) - -# If no option has been specified, set templates to automatic -# version of the compiler. -# -templates ?= automatic - -# The correct flags to pass to the linker for ELF dynamic shared library -# versioning. -# If the platform file didn't already set versioned_so, default to 1. -versioned_so ?= 1 -with_ld ?= -ifeq ($(versioned_so),1) - ifeq ($(with_ld),hpux) - SOFLAGS += -Wl,+h -Wl,$(SONAME) - else - ifeq ($(with_ld),aix) - # What to do here??? - else - SOFLAGS += -Wl,-h -Wl,$(SONAME) - endif - endif -endif - -static_libs_only ?= - -CXX_FULL_VERSION := $(shell $(CXX_FOR_VERSION_TEST) --version) -gcc_template_instantiation_visibility ?= 0 - -# Only modify LDFLAGS if DLD has been set. -ifneq ($(DLD),) - ifeq ($(DLD),$(CXX_FOR_VERSION_TEST)) # only try this is we are using ld through gcc - LD_FOR_VERSION_TEST = $(shell $(CXX_FOR_VERSION_TEST) -print-prog-name=ld) - else - LD_FOR_VERSION_TEST = $(DLD) - endif # DLD = CXX_FOR_VERSION_TEST - # The -E option is GNU ld specific - ifneq ($(mingw32),1) - GNU_LD := $(shell sh -c '$(LD_FOR_VERSION_TEST) -v 2>&1 | grep -c "GNU ld"') - else - GNU_LD := $(if $(findstring GNU ld,$(shell $(LD_FOR_VERSION_TEST) -v)), 1, 0) - endif # mingw32 -endif # DLD - -ifeq ($(GNU_LD),1) - STATIC_LINK_FLAG ?= -static -endif # GNU_LD - -ifeq ($(no_strict_aliasing), 1) - CCFLAGS += -fno-strict-aliasing -endif - -ifeq ($(shared_libs), 1) - ifneq ($(static_libs_only), 1) - # Add all symbols to the dynamic symbol table. Needed to enable - # dynamic_cast<> for shared libraries. (see - # http://gcc.gnu.org/faq.html#dso) - - ifeq ($(GNU_LD),1) - # Make sure this version of ld supports the -E option. - ifneq ($(mingw32),1) - LD_EXPORT_DEFINED := $(shell sh -c '$(LD_FOR_VERSION_TEST) -E 2>&1 | egrep -i "(option|flag)" /dev/null; echo $$?') - else - LD_EXPORT_DEFINED := $(shell $(LD_FOR_VERSION_TEST) -E 2>&1 | grep -c -i -e '(option|flag)') - ifeq ($(LD_EXPORT_DEFINED),0) - LD_EXPORT_DEFINED:=1 - else - LD_EXPORT_DEFINED:=0 - endif - endif # mingw32 - ifeq ($(LD_EXPORT_DEFINED),1) - LDFLAGS += -Wl,-E - endif # LD_EXPORT_DEFINED = 1 - endif # GNU ld - - # Take advantage of G++ (>= 4.x) visibility attributes to generate - # improved shared library binaries. - ifneq ($(no_hidden_visibility),1) - CCFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden - ifeq ($(gcc_template_instantiation_visibility),1) - CCFLAGS += -DACE_GCC_HAS_TEMPLATE_INSTANTIATION_VISIBILITY_ATTRS=1 - endif # gcc_template_instantiation_visibility - else - CPPFLAGS += -DACE_HAS_CUSTOM_EXPORT_MACROS=0 - endif # no_hidden_visibility - else - # Explicitly disable G++ (>= 4.x) visibility attributes since - # they are only meant for use when building shared libraries. - no_hidden_visibility = 1 - CPPFLAGS += -DACE_HAS_CUSTOM_EXPORT_MACROS=0 - endif # static_libs_only -else - # Explicitly disable G++ (>= 4.x) visibility attributes since - # they are only meant for use when building shared libraries. - no_hidden_visibility = 1 - CPPFLAGS += -DACE_HAS_CUSTOM_EXPORT_MACROS=0 -endif # shared_libs - diff --git a/dep/ACE_wrappers/include/makeinclude/platform_cray.GNU b/dep/ACE_wrappers/include/makeinclude/platform_cray.GNU deleted file mode 100644 index df5eb7abb..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_cray.GNU +++ /dev/null @@ -1,45 +0,0 @@ -# $Id: platform_cray.GNU 91285 2010-08-05 08:29:30Z johnnyw $ - -# Platform macros for SGI/Cray UNICOS (vector) & UNICOS/mk (mpp) - -# UNICOS 9.0.2.8 -# UNICOS 10.0.0.5 -# UNICOS/mk 2.0.4.57 -# Cray C++ Version 3.2.0.1 -# Cray Standard C Version 6.2.0.1 -# -# Contributed by Doug Anderson - -debug = 1 -static_libs_only = 1 -quantify = -purify = - -# Cray's autoinstantiation seems to be broken, resulting in -# C++ prelinker: error: instantiation loop -# So, we're using ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION -CC = cc -LDLIB += -L$(ACE_ROOT)/lib -CXX = CC -#CFLAGS += -CCFLAGS += -h noautoinstantiate -DCFLAGS += -g -DCCFLAGS += $(DCFLAGS) -OCFLAGS += -O2 -OCCFLAGS += $(OCFLAGS) - -CCFLAGS += -h exceptions - -DLD = $(CXX) -LD = $(CXX) -LIBS = -lpthread -PIC = -AR = ar -ARFLAGS = ruv -RANLIB = /bin/true - -# This is necessary to get libraries to contain template info, but only -# necessary when using autoinstantiation -# PRELIB = @echo ""; \ -# echo "int main() { return 0; }" >dummy.cpp; \ -# echo "$(CXX) $(CCFLAGS) $(CPPFLAGS) $(LDFLAGS) $(LIBS) -o dummy dummy.cpp $?";\ -# $(CXX) $(CCFLAGS) $(CPPFLAGS) $(LDFLAGS) $(LIBS) -o dummy dummy.cpp $?; diff --git a/dep/ACE_wrappers/include/makeinclude/platform_cygwin32.GNU b/dep/ACE_wrappers/include/makeinclude/platform_cygwin32.GNU deleted file mode 100644 index f129a5a9f..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_cygwin32.GNU +++ /dev/null @@ -1,30 +0,0 @@ -# $Id: platform_cygwin32.GNU 80826 2008-03-04 14:51:23Z wotte $ -# -# This file should allow to build ACE for cygwin32 with cygwin tools. -# -# Edit to change TCPU and w32api defs below. -# -# Don't forget to define the ACE_ROOT environment variable! -# - -# -# Chose your target CPU (by default we set it to pentiumpro. In your -# platform_macros.GNU file you can override this to pentium, i486 or i386 -# -TCPU ?= pentiumpro - -cygwin32 = 1 - -# Cygwin doesn't have rwho -rwho = 0 - -# Cygwin doesn't allow to add the version number of ACE to the dll name -# because fe ace.dll.5.2.3 isn't a valid dll name -versioned_so=0 - -# Disable auto-import warnings. The Cygwin linker has a problem with imports -# See https://sourceforge.net/tracker/?func=detail&atid=102435&aid=683455&group_id=2435 -# for the details why to do this. -LDFLAGS += -Wl,--enable-auto-import - -include $(ACE_ROOT)/include/makeinclude/platform_gnuwin32_common.GNU diff --git a/dep/ACE_wrappers/include/makeinclude/platform_freebsd.GNU b/dep/ACE_wrappers/include/makeinclude/platform_freebsd.GNU deleted file mode 100644 index 51c818e29..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_freebsd.GNU +++ /dev/null @@ -1,106 +0,0 @@ -# $Id: platform_freebsd.GNU 91285 2010-08-05 08:29:30Z johnnyw $ - -# platform_freebsd.GNU - -## See /usr/ports/Mk/bsd.port.mk for sample usage of the OSVERSION -## variable, especially with respect to defining the correct compiler -## flags for threads. -OSVERSION := $(shell sysctl -n kern.osreldate) - -## GNU make does not support boolean conditional expressions -## so we have to use a dummy RET variable. -RET = $(shell test $(OSVERSION) -ge 200000 && printf 1) -ifeq ($(RET),1) -versioned_so = 1 -endif - -threads ?= 1 -debug ?= 1 -optimize ?= 1 -pipes ?= 1 - -CC = gcc -CXX = g++ - -CFLAGS += -W -Wall -Wpointer-arith -DCFLAGS += -g -RET = $(shell test $(OSVERSION) -ge 300000 && printf 1) -ifneq ($(RET),1) - LDFLAGS += -Wl,-rpath $(ACE_ROOT)/lib -endif -DLD = $(CXX) -LD = $(CXX) -OCFLAGS += -O2 -PIC = -fpic -AR = ar -ARFLAGS = ruv -RANLIB = ranlib - -SOFLAGS += $(CPPFLAGS) -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -PRELIB = @echo - -## Set the correct compiler flags for pthreads. This -## test is copied from /usr/ports/Mk/bsd.port.mk -ifeq ($(threads),1) -RET = $(shell test $(OSVERSION) -lt 500016 && printf 1) -ifeq ($(RET),1) - PTHREAD_CPPFLAGS = -D_THREAD_SAFE - PTHREAD_LIBS = -pthread -else - RET = $(shell test $(OSVERSION) -lt 502102 && printf 1) - ifeq ($(RET),1) - PTHREAD_LIBS = -lc_r - else - PTHREAD_LIBS = -lpthread - endif -endif # RET - -CPPFLAGS += $(PTHREAD_CPPFLAGS) -LIBS += $(PTHREAD_LIBS) - -else -CPPFLAGS += -DACE_MT_SAFE=0 -endif # threads - -PLATFORM_XT_CPPFLAGS= -PLATFORM_XT_LIBS=-lXt -PLATFORM_XT_LDFLAGS= - -PLATFORM_FL_CPPFLAGS= -PLATFORM_FL_LIBS=-lfltk -lfltk_forms -lfltk_gl -PLATFORM_FL_LDFLAGS= - -PLATFORM_X11_CPPFLAGS=-I/usr/X11R6/include -PLATFORM_X11_LIBS=-lX11 -PLATFORM_X11_LDFLAGS=-L/usr/X11R6/lib - -PLATFORM_GL_CPPFLAGS=-I/usr/X11R6/include -PLATFORM_GL_LIBS =-lGL -PLATFORM_GL_LDFLAGS =-L/usr/X11R6/lib - -PLATFORM_GTK_CPPFLAGS=$(shell gtk-config --cflags) -PLATFORM_GTK_LIBS =$(shell gtk-config --libs) -PLATFORM_GTK_LDFLAGS = - -PLATFORM_FOX_CPPFLAGS ?= -I/usr/include/fox -PLATFORM_FOX_LIBS ?= -lFOX -PLATFORM_FOX_LDFLAGS ?= - -PLATFORM_TK_CPPFLAGS=$(shell . /usr/local/lib/tk8.*/tkConfig.sh && echo -n $$TK_INCLUDE_SPEC) -PLATFORM_TK_LIBS=$(shell . /usr/local/lib/tk8.*/tkConfig.sh && echo -n $$TK_LIB_FLAG) -PLATFORM_TK_LDFLAGS= - -PLATFORM_TCL_CPPFLAGS=$(shell . /usr/local/lib/tcl8.*/tclConfig.sh && echo -n $$TCL_INCLUDE_SPEC) -PLATFORM_TCL_LIBS=$(shell . /usr/local/lib/tcl8.*/tclConfig.sh && echo -n $$TCL_LIB_FLAG) -PLATFORM_TCL_LDFLAGS= - -CPPFLAGS+=-I/usr/local/include -LDFLAGS+=-L/usr/local/lib - -# Test for template instantiation, add to SOFLAGS if SONAME set, -# add -E to LDFLAGS if using GNU ld -# -include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU - -CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG) diff --git a/dep/ACE_wrappers/include/makeinclude/platform_g++_common.GNU b/dep/ACE_wrappers/include/makeinclude/platform_g++_common.GNU deleted file mode 100644 index e10da58c8..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_g++_common.GNU +++ /dev/null @@ -1,176 +0,0 @@ -# -*- Makefile -*- -# $Id: platform_g++_common.GNU 91626 2010-09-07 10:59:20Z johnnyw $ - -ifeq ($(insure),1) - CC = insure - CXX = insure -else - ifneq ($(CROSS_COMPILE),) - # Build using the cross-tools - CC = ${CROSS_COMPILE}gcc - CXX = ${CROSS_COMPILE}g++ - AR = ${CROSS_COMPILE}ar - # Cross-linker requires this for linked in shared libs that depend - # themselves on other shared libs (not directly linked in) - LDFLAGS += -Wl,-rpath-link,$(ACE_ROOT)/lib - ifneq (,$(HOST_ROOT)) - TAO_IDLFLAGS += -g $(HOST_ROOT)/bin/ace_gperf - TAO_IDL = $(HOST_ROOT)/bin/tao_idl - TAO_IDL_DEP = $(TAO_IDL) - TAO_IDL3_TO_IDL2 = $(HOST_ROOT)/TAO/CIAO/bin/tao_idl3_to_idl2 - TAO_IDL3_TO_IDL2_DEP = $(TAO_IDL3_TO_IDL2) - # make sure to use the target compiler, not the cross-compiler - # as preprocessor for the cross-compiled idl tools - TAO_IDL_PREPROCESSOR = gcc - endif - endif -endif - -ifneq ($(TCPU),) - ifeq ($(tunemodelflag),1) - FLAGS_C_CC += -mtune=$(TCPU) - endif - - ifeq ($(cpumodelflag),1) - FLAGS_C_CC += -mcpu=$(TCPU) - endif - - ifeq ($(archmodelflag),1) - FLAGS_C_CC += -march=$(TCPU) - endif -endif - -ifeq ($(CXX),insure) - # insure does not pass through the -dumpversion option. - CXX_FOR_VERSION_TEST ?= g++ -else - CXX_FOR_VERSION_TEST ?= $(CXX) -endif - -CXX_VERSION := $(shell $(CXX_FOR_VERSION_TEST) -dumpversion) -CXX_MACHINE := $(shell $(CXX_FOR_VERSION_TEST) -dumpmachine) -ifeq (cmd,$(findstring cmd,$(SHELL))) -CXX_MAJOR_VERSION := $(firstword $(subst ., ,$(CXX_VERSION))) -else -CXX_MAJOR_VERSION := $(shell $(CXX_FOR_VERSION_TEST) -dumpversion | sed -e 's/[^0-9\.]//g' | sed -e 's/\..*$$//') -endif -ifeq ($(findstring $(CXX_MAJOR_VERSION),1 2 3),$(CXX_MAJOR_VERSION)) -GXX_4_OR_BETTER := 0 -else -GXX_4_OR_BETTER := 1 -endif - -# If no option has been specified, set templates to automatic -# version of the compiler. -# -templates ?= automatic - -# The correct flags to pass to the linker for ELF dynamic shared library -# versioning. -# If the platform file didn't already set versioned_so, default to 1. -versioned_so ?= 1 -with_ld ?= -ifeq ($(versioned_so),1) - ifeq ($(with_ld),hpux) - SOFLAGS += -Wl,+h -Wl,$(SONAME) - else - ifeq ($(with_ld),aix) - # What to do here??? - else - SOFLAGS += -Wl,-h -Wl,$(SONAME) - endif - endif -endif - -static_libs_only ?= - -CXX_FULL_VERSION := $(shell $(CXX_FOR_VERSION_TEST) --version) -gcc_template_instantiation_visibility ?= 0 - -# Only modify LDFLAGS if DLD has been set. -ifneq ($(DLD),) - ifeq ($(DLD),$(CXX_FOR_VERSION_TEST)) # only try this is we are using ld through gcc - LD_FOR_VERSION_TEST = $(shell $(CXX_FOR_VERSION_TEST) -print-prog-name=ld) - else - LD_FOR_VERSION_TEST = $(DLD) - endif # DLD = CXX_FOR_VERSION_TEST - # The -E option is GNU ld specific - ifneq ($(mingw32),1) - GNU_LD := $(shell sh -c '$(LD_FOR_VERSION_TEST) -v 2>&1 | grep -c "GNU ld"') - else - GNU_LD := $(if $(findstring GNU ld,$(shell $(LD_FOR_VERSION_TEST) -v)), 1, 0) - endif # mingw32 -endif # DLD - -ifeq ($(GNU_LD),1) - STATIC_LINK_FLAG ?= -static -endif # GNU_LD - -ifeq ($(no_strict_aliasing), 1) - CCFLAGS += -fno-strict-aliasing -endif - -ifeq ($(shared_libs), 1) - ifneq ($(static_libs_only), 1) - # Add all symbols to the dynamic symbol table. Needed to enable - # dynamic_cast<> for shared libraries. (see - # http://gcc.gnu.org/faq.html#dso) - - ifeq ($(GNU_LD),1) - # Make sure this version of ld supports the -E option. - ifneq ($(mingw32),1) - LD_EXPORT_DEFINED := $(shell sh -c '$(LD_FOR_VERSION_TEST) -E 2>&1 | egrep -i "(option|flag)" /dev/null; echo $$?') - else - LD_EXPORT_DEFINED := $(shell $(LD_FOR_VERSION_TEST) -E 2>&1 | grep -c -i -e '(option|flag)') - ifeq ($(LD_EXPORT_DEFINED),0) - LD_EXPORT_DEFINED:=1 - else - LD_EXPORT_DEFINED:=0 - endif - endif # mingw32 - ifeq ($(LD_EXPORT_DEFINED),1) - LDFLAGS += -Wl,-E - endif # LD_EXPORT_DEFINED = 1 - endif # GNU ld - - # Take advantage of G++ (>= 4.x) visibility attributes to generate - # improved shared library binaries. - ifeq ($(GXX_4_OR_BETTER), 1) - ifneq ($(no_hidden_visibility),1) - CCFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden - ifeq ($(gcc_template_instantiation_visibility),1) - CCFLAGS += -DACE_GCC_HAS_TEMPLATE_INSTANTIATION_VISIBILITY_ATTRS=1 - endif # gcc_template_instantiation_visibility - else - CPPFLAGS += -DACE_HAS_CUSTOM_EXPORT_MACROS=0 - endif # no_hidden_visibility - endif # GXX_4_OR_BETTER == 1 - else - # Explicitly disable G++ (>= 4.x) visibility attributes since - # they are only meant for use when building shared libraries. - ifeq ($(GXX_4_OR_BETTER), 1) - no_hidden_visibility = 1 - CPPFLAGS += -DACE_HAS_CUSTOM_EXPORT_MACROS=0 - endif # GXX_4_OR_BETTER == 1 - endif # static_libs_only -else - # Explicitly disable G++ (>= 4.x) visibility attributes since - # they are only meant for use when building shared libraries. - ifeq ($(GXX_4_OR_BETTER), 1) - no_hidden_visibility = 1 - CPPFLAGS += -DACE_HAS_CUSTOM_EXPORT_MACROS=0 - endif # GXX_4_OR_BETTER == 1 -endif # shared_libs - -# GCC 2.x needs this to compile TAO correctly -ifeq ($(CXX_MAJOR_VERSION), 2) - CCFLAGS += -ftemplate-depth-23 -endif - -minimaltoc ?= 0 - -ifeq ($(minimaltoc),1) - FLAGS_C_CC += -mminimal-toc -endif - - diff --git a/dep/ACE_wrappers/include/makeinclude/platform_gnuwin32_common.GNU b/dep/ACE_wrappers/include/makeinclude/platform_gnuwin32_common.GNU deleted file mode 100644 index 465c975d6..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_gnuwin32_common.GNU +++ /dev/null @@ -1,134 +0,0 @@ -# -*- Makefile -*- -# $Id: platform_gnuwin32_common.GNU 91285 2010-08-05 08:29:30Z johnnyw $ - -ifneq ($(mingw32),1) - ifneq ($(cygwin32),1) - fail := \ - $(shell \ - echo "You should not use this file but one of"; \ - echo "platform_mingw32.GNU or platform_cygwin32.GNU"; \ - exit 1) - endif -endif - -no_hidden_visibility ?= 1 - -GNUWIN32_CXX_VERSION := $(shell $(CXX) -dumpversion) - -winsock2 ?= 1 -debug ?= 1 -optimize ?= 1 -threads ?= 1 -pipes ?= 1 - -# When building shared libraries -ifeq ($(shared_libs), 1) - ifneq ($(static_libs_only), 1) - inline ?= 0 - endif -endif - -ifeq ($(debug),0) -CFLAGS += -DNDEBUG -endif -CC = ${COMPARCH}gcc -CXX = ${COMPARCH}g++ -RC = ${COMPARCH}windres -DLLTOOL = ${COMPARCH}dlltool - -RC_OUTPUT_FLAG = -o - -ifeq (2.9,$(findstring 2.9,$(GNUWIN32_CXX_VERSION))) - cpumodelflag ?= 1 - tunemodelflag ?= 0 -else - cpumodelflag ?= 0 - tunemodelflag ?= 1 -endif - -ifeq ($(tunemodelflag),1) - MODEL_FLAGS += -mtune=$(TCPU) -endif - -ifeq ($(cpumodelflag),1) - MODEL_FLAGS += -mcpu=$(TCPU) -endif - -CFLAGS += -Wpointer-arith -ifeq ($(threads),1) - CFLAGS += -mthreads -endif # threads - -CFLAGS += $(MODEL_FLAGS) - -EXEEXT = .exe - -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) - -ifeq ($(mingw32),1) -ifeq ($(winsock2),1) -LIBS += -lws2_32 -lmswsock -endif -LIBS += -lwsock32 -lnetapi32 -endif - -OCFLAGS += -O3 -PIC = -AR = ${COMPARCH}ar -ARFLAGS = rsuv -RANLIB = ${COMPARCH}ranlib -SOEXT = dll -SOFLAGS += $(MODEL_FLAGS) $(CPPFLAGS) -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< - -PLATFORM_FL_CPPFLAGS ?= -PLATFORM_FL_LIBS ?= -lfltk -lfltk_forms -lfltk_gl -lfltk_images -PLATFORM_FL_LDFLAGS ?= - -PLATFORM_GL_CPPFLAGS ?= -I/usr/X11R6/include -PLATFORM_GL_LIBS ?= -lGL -PLATFORM_GL_LDFLAGS ?= -L/usr/X11R6/lib - -PLATFORM_WX_CPPFLAGS ?= $(shell wx-config --cxxflags) -I/usr/local/include -PLATFORM_WX_LIBS ?= $(shell wx-config --libs) -PLATFORM_WX_LDFLAGS ?= $(shell wx-config --ldflags) - -# The sed below is to strip comments on the .def file, -# to workaround to a bug in ld. -CMDSEP ?= ; -SHLIBBUILD = \ - $(RM) $(VSHDIR)/$@.def.old $(VSHDIR)/$@.def $(CMDSEP) \ - $(DLLTOOL) --export-all --output-def $(VSHDIR)/$@.def --dllname $@ \ - $(VSHOBJS) \ - && mv $(VSHDIR)/$@.def $(VSHDIR)/$@.def.old \ - && sed "s/;.*$$//g" < $(VSHDIR)/$@.def.old > $(VSHDIR)/$@.def \ - && $(SOLINK.cc) -Wl,--enable-auto-image-base -Wl,--out-implib,$@.a \ - -shared -o $@ $(LDFLAGS) -Wl,$(VSHDIR)/$@.def \ - $(VSHOBJS) $(ACE_SHLIBS) $(LIBS) - -PRELIB = @true - -# Test for template instantiation, add to SOFLAGS if SONAME set, -# add -E to LDFLAGS if using GNU ld -# -include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU - -ifeq ($(GXX_4_OR_BETTER), 1) - no_attributes ?= 1 - wall ?= 1 -else - no_attributes ?= 0 - wall ?= 0 -endif - -ifeq ($(no_attributes), 1) - CFLAGS += -Wno-attributes -endif - -ifeq ($(wall),1) - CFLAGS += -Wall -W -endif - -CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG) diff --git a/dep/ACE_wrappers/include/makeinclude/platform_hpux_aCC.GNU b/dep/ACE_wrappers/include/makeinclude/platform_hpux_aCC.GNU deleted file mode 100644 index 52afe0e00..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_hpux_aCC.GNU +++ /dev/null @@ -1,227 +0,0 @@ -# $Id: platform_hpux_aCC.GNU 91285 2010-08-05 08:29:30Z johnnyw $ -# -# This is for HP-UX 11.x using the aC++ compiler. -# -# HP-UX 11 supports both 32-bit and 64-bit builds, regardless of which -# architecture the build is done on. This file is set up to build native -# to the machine it's running on. To cross-build for another platform, add -# "buildbits=32" to make a 32-bit build, and "buildbits=64" to do a 64-bit -# build. Note that if you explicitly specify a 64-bit build, the option -# -Wl,+vnocompatwarnings is added to shut up the "At least one PA 2.0 object -# file detected..." messages. - -buildbits ?= 0 -debug ?= 1 -distrib ?= 0 -optimize ?= 0 -stdcpplib ?= 1 -threads ?= 1 -versioned_so ?= 0 - -# First, extract the OS version number. -HPVERS_WORDS := $(subst ., ,$(shell uname -r)) -HPMODEL := $(shell uname -m) -HPUX_VERS := $(join $(word 2,$(HPVERS_WORDS)),$(word 3,$(HPVERS_WORDS))) -# -CC = /bin/cc -CXX = aCC - -# Determine compiler version -CXXVERS_WORDS := $(subst ., , $(shell $(CXX) -V 2>&1)) -CXXINFO := $(word 3, $(CXXVERS_WORDS)) -# aCC++ 3.67 gives "aCC: HP ANSI C++ B3910B A.03.67" -# aCC++ 3.73 gives "aCC: HP ANSI C++ B3910B A.03.73" -# -ifeq (ANSI, $(CXXINFO)) - CXXMINORVERS := $(word 8, $(CXXVERS_WORDS)) - CXXMAJORVERS := $(word 7, $(CXXVERS_WORDS)) -else - ifeq (aC++/ANSI, $(CXXINFO)) - CXXMINORVERS := $(word 8, $(CXXVERS_WORDS)) - CXXMAJORVERS := $(word 7, $(CXXVERS_WORDS)) - else - CXXMINORVERS := $(word 7, $(CXXVERS_WORDS)) - CXXMAJORVERS := $(word 6, $(CXXVERS_WORDS)) - endif -endif - -ifeq (1,$(stdcpplib)) - CCFLAGS += -AA - ifeq (03,$(CXXMAJORVERS)) - # Warning 930 is spurious when new(std::nothrow) is used. Reported to HP - # as support call 3201224717. (Steve Huston, 23-Nov-2002) - CCFLAGS += +W930 - # aCC 3.31 has poor member template support. - ifeq (31,$(CXXMINORVERS)) - CCFLAGS += -DACE_LACKS_MEMBER_TEMPLATES - endif - endif -# Compile errors using -AA and +noeh together - HP problem report -# JAGad12608, fix slated for Dec 2001 Release -- Steve Huston, April 10, 2001. -else - CCFLAGS += -AP -endif - -# Set the appropriate preprocessor defs for threading based on OS version -# and specified compiler options. -ifeq ($(threads),1) - THR_DEFS = -DACE_HAS_THREADS - - # x.30 was the first version offering -mt. So, if it's a .2x version, - # set the defs by hand; anything else, use -mt. This leaves out .1x - # versions, which should be no problem at this point. - ifeq (,$(filter 2%,$(CXXMINORVERS))) - CC_THR_DEFS += -mt - else - # Different for v2 vs. v1 C++ library selection. - ifeq (1,$(stdcpplib)) - THR_DEFS += -D_RWSTD_MULTI_THREAD - else - THR_DEFS += -DRWSTD_MULTI_THREAD -D_THREAD_SAFE - endif - - # For HP-UX 11.x, choose kernel threads over CMA (user) threads. - ifeq ($(word 2,$(HPVERS_WORDS)), 11) - THR_DEFS += -D_POSIX_C_SOURCE=199506L - endif - endif -else - THR_DEFS = -DACE_HAS_THREADS=0 - # On HP-UX 11, even without building for threads, the *_r reentrant - # functions are available, and _REENTRANT enables them. - THR_DEFS += -D_REENTRANT -endif - -ifeq ($(HPMODEL), ia64) - itanium = 1 -endif - -ifeq (03,$(CXXMAJORVERS)) - # Suppress Warning 302 ((...) parameter list is a non-portable feature) - # Suppress Warning 361 (missing return from non-void function) - # Suppress Warning 1039(Binary incompatabilty between old and new compilers) - CCFLAGS += +W302,361,1039 - ifeq (57,$(CXXMINORVERS)) - # aCC 3.57 has a bug. When a class has private constructors - # and is trying to be created from a friend class we end up with - # a compile error. We disable array optimization in the compiler - # by setting this environment variable. HP CR JAGaf43094 - export aCC_ARRAY_OPT=OFF - endif - ifeq (60,$(CXXMINORVERS)) - # Same bug as above - export aCC_ARRAY_OPT=OFF - endif - ifeq (80,$(CXXMINORVERS)) - # Enabled template meta programming - CCFLAGS += +hpxstd98 - endif - ifeq (85,$(CXXMINORVERS)) - # Enabled template meta programming - CCFLAGS += +hpxstd98 - endif -endif - -ifeq (05,$(CXXMAJORVERS)) - # Warnings about binary incompatiblity - CCFLAGS += +W1016,1031 -endif - -ifeq (06,$(CXXMAJORVERS)) - ifeq (13,$(CXXMINORVERS)) - # Warnings dllexport/dllimport conflict with "x" (declared at line y); dllexport assumed - CCFLAGS += +W3390,3397 - endif -endif - -CPPFLAGS += $(THR_DEFS) -D_HPUX_SOURCE -DHPUX_VERS=$(HPUX_VERS) -DACE_LACKS_PRAGMA_ONCE -CCFLAGS += $(CC_THR_DEFS) - -DCCFLAGS += -g -DLD = $(CXX) $(CCFLAGS) -LD = $(CXX) -OCCFLAGS = -O -PIC = +Z - -AR = /usr/ccs/bin/ar -ARFLAGS = ruv -RANLIB = echo -LDFLAGS = -Wl,+s -z -SOFLAGS += -b - -ifeq ($(distrib),1) - -ifeq ($(buildbits),32) -SOFLAGS += -Wl,-x -Wl,+h$(@F) -Wl,+b/usr/lib -endif -ifeq ($(buildbits),64) - ifeq ($(itanium),1) - SOFLAGS += -Wl,-x -Wl,+h$(@F) -Wl,+b/usr/lib/hpux64 - else - SOFLAGS += -Wl,-x -Wl,+h$(@F) -Wl,+b/usr/lib/pa20_64 - endif -endif - -endif - -ifeq ($(itanium),1) - SOEXT = so -else - SOEXT = sl -endif - -ifeq ($(buildbits),32) - ifeq ($(itanium),1) - CFLAGS += +DD32 - CCFLAGS += +DD32 - else - CFLAGS += +DA1.1 +DS1.1 - CCFLAGS += +DA1.1 +DS1.1 - endif -else -ifeq ($(buildbits),64) - ifeq ($(itanium),1) - CFLAGS += +DD64 - CCFLAGS += +DD64 - else - ## Without the W, it isn't really a 64-bit build - CFLAGS += +DA2.0W +DS2.0W - CCFLAGS += +DA2.0W +DS2.0W - endif -LDFLAGS += -Wl,+vnocompatwarnings -else - ifneq ($(itanium),1) - # HP aCC on Itanium doesn't support this option, defaults to 32bit then. - CFLAGS += +DAportable - CCFLAGS += +DAportable - endif -endif -endif - -#11.x: -ifeq ($(threads),1) - # If -mt is in CCFLAGS, we don't need to add anything to LIBS; -mt does it. - ifeq ($(findstring -mt,$(CCFLAGS)),) - ## -L./ must directly preceed the system libraries for 64-bit builds - ## with aCC 3.27. Without this change, libpthread.sl can not be found. - LIBS += -L./ -lpthread - endif -endif -LIBS += -lxti -lrt -ldld - -# The correct flags to pass to the linker for dynamic shared library -# versioning -# -ifneq ($(SONAME),) - SOFLAGS += -Wl,+h -Wl,$(SONAME) -endif - -# if _FILE_OFFSET_BITS==64 then the HP headers will produce -# spurious 600 warnings, except on 11.23 -# Can also (possible) be fixed with patch PHKL_34670 on HP-UX 11.11 -# -ifeq ($(64bitoffsets),1) - ifneq ($(HPUX_VERS), 1123) - CCFLAGS += +W600 - endif -endif diff --git a/dep/ACE_wrappers/include/makeinclude/platform_hpux_gcc.GNU b/dep/ACE_wrappers/include/makeinclude/platform_hpux_gcc.GNU deleted file mode 100644 index 994468945..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_hpux_gcc.GNU +++ /dev/null @@ -1,105 +0,0 @@ -# $Id: platform_hpux_gcc.GNU 91285 2010-08-05 08:29:30Z johnnyw $ -# - -buildbits ?= 64 -debug ?= 1 -distrib ?= 0 -optimize ?= 1 -stdcpplib ?= 1 -threads ?= 1 -versioned_so ?= 0 -with_ld ?= hpux - -# First, extract the OS version number. -HPVERS_WORDS := $(subst ., ,$(shell uname -r)) -HPMODEL := $(shell uname -m) -HPUX_VERS := $(join $(word 2,$(HPVERS_WORDS)),$(word 3,$(HPVERS_WORDS))) -# -CC = gcc -CXX = g++ -CFLAGS += -w - -# -# Set the appropriate preprocessor defs for threading based on OS version. -# If the user has requested building without threads, then don't set any. -# -ifeq ($(threads),1) - ifeq (3.,$(findstring 3.,$(CXX_VERSION))) - THR_DEFS = -threads - endif - ifeq ($(word 2,$(HPVERS_WORDS)), 11) - THR_DEFS += -DACE_HAS_THREADS -D_POSIX_C_SOURCE=199506L - else - THR_DEFS += -DACE_HAS_THREADS -D_REENTRANT - endif -endif - -ifeq ($(HPMODEL), ia64) - itanium = 1 -endif - -# On HP-UX 11, there's a conflict with pthread_atfork in sys/unistd.h and -# sys/pthread.h - both define the function, but slightly differently. -# -fstrict-prototype resolves the issue. -#ifeq ($(word 2,$(HPVERS_WORDS)), 11) -#CCFLAGS += -fstrict-prototype -#endif -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -OCFLAGS += -O2 -PIC = -fPIC -# GNU ar doesn't work (missing libfl.sl?) so use HP ar. -AR = /usr/bin/ar -ARFLAGS = ruv -RANLIB = echo -LDFLAGS = -L. -L$(ACE_ROOT)/lib -Wl,+s -SOFLAGS += $(CPPFLAGS) -shared -nostdlib $(PIC) -Wl,-E -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.$(SOEXT) $< -PRELIB = @true - -ifeq ($(itanium),1) - SOEXT = so -else - SOEXT = sl -endif - -ifeq ($(itanium),1) - ifeq ($(buildbits),64) - CCFLAGS += -mlp64 - CFLAGS += -mlp64 - else - CCFLAGS += -milp32 - CFLAGS += -milp32 - endif -endif - -# -# Grab the appropriate libraries based on the version of HP-UX we're building -# on and whether or not thread support is being used. -# -ifeq ($(word 2,$(HPVERS_WORDS)), 11) - - #11.x: - ifeq ($(threads),1) - LIBS += -lxti -lpthread -lrt -ldld - else - LIBS += -lxti -lrt -ldld - endif - -else - - # 10.x: - LIBS += -lxti -ldld - ifeq ($(threads),1) - LIBS += -lcma - endif - -endif - -# Test for template instantiation, add to SOFLAGS if versioned_so set, -# add -E to LDFLAGS if using GNU ld -# -include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU - -CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG) -DHPUX_VERS=$(HPUX_VERS) $(THR_DEFS) diff --git a/dep/ACE_wrappers/include/makeinclude/platform_integrity_ghs.GNU b/dep/ACE_wrappers/include/makeinclude/platform_integrity_ghs.GNU deleted file mode 100644 index a102639cb..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_integrity_ghs.GNU +++ /dev/null @@ -1,67 +0,0 @@ -# $Id: platform_integrity_ghs.GNU 91285 2010-08-05 08:29:30Z johnnyw $ -CROSS-COMPILE = 1 - -debug ?= 1 -optimize ?= 1 - -shared_libs = -static_libs = 1 - -#### CPU type -ifndef CPU - CPU = ppc -endif # CPU - -INTEGRITYTARGET = 1 - -#### Green Hills location, and target-specific definitions. -ifndef GHSROOT - GHSROOT = /home/scooter2/i40_solaris2 -endif - -ifndef RTOSROOT - RTOSROOT = /export/integrity/rtos -endif - -ifndef BSP - BSP = mcp750 -endif - -ifndef TARGET_BSP - TARGET_BSP = $(ACE_ROOT)/tests/ACE.bsp -endif - -ifndef TARGET_LD - TARGET_LD = $(ACE_ROOT)/tests/INTEGRITY.ld -endif - -#### Set Integrity version -verline := $(shell ($(GHSROOT)/gversion 2>&1|grep "Green Hills Software")) -ifeq "$(verline)" "" - $(error Not Green Hills or the environment is not set-up) -endif -INTEGRITY_VERSION_STR := $(strip $(if ifeq $(word 4, $(verline)) "INTEGRITY", $(word 5, $(verline)))) -ifeq "$(INTEGRITY_VERSION_STR)" "" - $(error This Green Hills setup is not for Integrity) -endif -ifeq "$(INTEGRITY_VERSION_STR)" "4.1.8" - CCFLAGS += -DINTEGRITY_VERSION=40108 -endif - -CC = $(GHSROOT)/cc$(CPU) -CXX = $(GHSROOT)/cx$(CPU) - -# undefine "vector" because it's predefined for 7400 boards -IOPS = -bspname=$(RTOSROOT)/target/$(BSP).bld -os_dir $(RTOSROOT) --one_instantiation_per_object -non_shared -Uvector -IOPS += --exceptions - -CCFLAGS += $(CFLAGS) -integrate -dynamic -I$(RTOSROOT)/INTEGRITY-include-SCA $(IOPS) -bspfile=$(TARGET_BSP) $(TARGET_LD) -DCFLAGS += -G -SOFLAGS += -shared -DLD = $(CXX) -LD = $(CXX) -LIBS += -lshm_client -lnet -livfssca -lposixsca -lsocket -PIC = -AR := $(CXX) -archive $(IOPS) -ARFLAGS = -o - diff --git a/dep/ACE_wrappers/include/makeinclude/platform_linux.GNU b/dep/ACE_wrappers/include/makeinclude/platform_linux.GNU deleted file mode 100644 index 1e9277dec..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_linux.GNU +++ /dev/null @@ -1,122 +0,0 @@ -# -*- Makefile -*- -# $Id: platform_linux.GNU 91626 2010-09-07 10:59:20Z johnnyw $ - -# According to Bryon G. Rigg , this file -# should allow ACE to be built on Linux. - -include $(ACE_ROOT)/include/makeinclude/platform_linux_common.GNU - -ifeq ($(insure),0) - CC ?= gcc - CXX ?= g++ - CXX_FOR_VERSION_TEST ?= $(CXX) -else - CXX_FOR_VERSION_TEST ?= g++ -endif - -# fix this -pipes ?= 1 - -CXX_FULL_VERSION := $(shell $(CXX_FOR_VERSION_TEST) --version) -CXX_VERSION := $(shell $(CXX_FOR_VERSION_TEST) -dumpversion) - -ifeq (Ubuntu, $(findstring Ubuntu,$(LSB_RELEASE_ID))) - ifeq (7.10, $(findstring 7.10,$(LSB_RELEASE_RELEASE))) - no_hidden_visibility ?= 1 - endif - ifeq (7.04, $(findstring 7.04,$(LSB_RELEASE_RELEASE))) - no_hidden_visibility ?= 1 - endif -endif -ifeq (Red Hat, $(findstring Red Hat,$(CXX_FULL_VERSION))) - ifeq (4.1.1, $(findstring 4.1.1,$(CXX_VERSION))) - gcc_template_instantiation_visibility ?= 1 - endif - ifeq (4.1.2, $(findstring 4.1.2,$(CXX_VERSION))) - gcc_template_instantiation_visibility ?= 1 - endif -endif -# Mandriva 2007 -ifeq (4.1.1-3mdk, $(findstring 4.1.1-3mdk,$(CXX_FULL_VERSION))) - gcc_template_instantiation_visibility ?= 1 -endif - -FLAGS_C_CC += -W -Wall -Wpointer-arith -ifeq ($(threads),1) - CPPFLAGS += -D_REENTRANT $(PLATFORM_AIO_SUPPORT) -endif # threads - -ifeq ($(buildbits),32) - FLAGS_C_CC += -m32 - LDFLAGS += -m32 -endif -ifeq ($(buildbits),64) - FLAGS_C_CC += -m64 - LDFLAGS += -m64 -endif - -# Rely on _GNU_SOURCE to set these defaults defined in /usr/include/features.h -# instead of setting them directly here (older versions of gcc don't set it -# for you): _SVID_SOURCE _BSD_SOURCE _POSIX_SOURCE _POSIX_C_SOURCE=199506L, ... -CPPFLAGS += -D_GNU_SOURCE - -DCFLAGS += -ggdb -DCCFLAGS += -ggdb -DLD = $(CXX) -LD = $(CXX) -LIBS += -ldl - -ifeq ($(threads),1) - LIBS += -lpthread - # look for the rt library in the usual places - LIBS += $(shell test "`ls -L /usr/lib*/librt.so* /lib*/librt.so*`" && echo -lrt) -endif - -ifeq ($(optimize),1) - SOFLAGS += -Wl,-O3 -endif - -SOFLAGS += $(CPPFLAGS) -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<; \ - $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o -PRELIB = @true - -# Test for template instantiation, add to SOFLAGS if SONAME set, -# add -E to LDFLAGS if using GNU ld -# -include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU - -# TAO with GCC 4.0.2 and -O3 seems to result in runtime issues, for example -# the ForwardRequest PI test will fail. For GCC 4.0.2 we default to -O2 -ifeq ($(CXX_VERSION),4.0.2) - OCFLAGS ?= -O2 - OCCFLAGS ?=-O2 -else - OCFLAGS ?= -O3 - OCCFLAGS ?= -O3 -endif - -CFLAGS += $(FLAGS_C_CC) -CCFLAGS += $(FLAGS_C_CC) $(TEMPLATES_FLAG) - -# Added line below to support "Executable Shared Object" files (as -# needed by the service configurator). -# Marius Kjeldahl -ifeq ($(threads),1) - ESOBUILD = $(COMPILEESO.cc) $(PIC) -shared -o $(VSHDIR)$*.so $< - ifndef PRELIB - PRELIB = @true - endif # ! PRELIB -endif - -#### GNU gas has a string limit of 4096 characters. On Alphas, -#### builds will fail due to running over that limit. There are -#### at least two workarounds: -#### 1) Change the limit to 8192 characters and rebuild gas. See -#### ACE-INSTALL.html for more information. -#### 2) Don't use -g when compiling those files. -#### If you're building on an Alpha and you haven't hacked and -#### rebuilt gas, you might need to uncomment the following. -#### ifeq ($(debug),1) -#### SUPPRESS_DASH_G = 1 -#### endif # debug diff --git a/dep/ACE_wrappers/include/makeinclude/platform_linux_common.GNU b/dep/ACE_wrappers/include/makeinclude/platform_linux_common.GNU deleted file mode 100644 index 0f4358352..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_linux_common.GNU +++ /dev/null @@ -1,120 +0,0 @@ -# -*- Makefile -*- -# $Id: platform_linux_common.GNU 91626 2010-09-07 10:59:20Z johnnyw $ - -# We always include config-linux.h on Linux platforms. -ACE_PLATFORM_CONFIG ?= config-linux.h - -debug ?= 1 -optimize ?= 1 -threads ?= 1 -insure ?= 0 - -LSB_RELEASE_ID := $(shell lsb_release -i 2> /dev/null || echo Distributor ID: Unknown) -LSB_RELEASE_RELEASE := $(shell lsb_release -r 2> /dev/null || echo Release: Unknown) - -PLATFORM_XT_CPPFLAGS= -PLATFORM_XT_LIBS=-lXt -PLATFORM_XT_LDFLAGS= - -PLATFORM_FL_CPPFLAGS= -PLATFORM_FL_LIBS=-lfltk -lfltk_forms -lfltk_gl -PLATFORM_FL_LDFLAGS= - -PLATFORM_X11_CPPFLAGS=-I/usr/X11R6/include -PLATFORM_X11_LIBS=-lX11 -PLATFORM_X11_LDFLAGS=-L/usr/X11R6/lib - -PLATFORM_GL_CPPFLAGS=-I/usr/X11R6/include -PLATFORM_GL_LIBS =-lGL -PLATFORM_GL_LDFLAGS =-L/usr/X11R6/lib - -PLATFORM_GTK_CPPFLAGS=$(shell gtk-config --cflags) -PLATFORM_GTK_LIBS =$(shell gtk-config --libs) -PLATFORM_GTK_LDFLAGS = - -PLATFORM_FOX_CPPFLAGS ?= -I/usr/include/fox -PLATFORM_FOX_LIBS ?= -lFOX -PLATFORM_FOX_LDFLAGS ?= - -# NOTE: we only support wxWindows over GTK -PLATFORM_WX_CPPFLAGS= $(shell wx-config --cxxflags) $(PLATFORM_GTK_CPPFLAGS) -PLATFORM_WX_LIBS = $(shell wx-config --libs) $(PLATFORM_GTK_LIBS) -PLATFORM_WX_LDFLAGS = $(shell wx-config --ldflags) $(PLATFORM_GTK_LDFLAGS) - -PLATFORM_BOOST_CPPFLAGS ?= -PLATFORM_BOOST_LDLAGS ?= -PLATFORM_BOOST_UTF_LIBS ?= -lboost_unit_test_framework - -ifeq (Ubuntu, $(findstring Ubuntu,$(LSB_RELEASE_ID))) - PLATFORM_TK_CPPFLAGS=$(shell . /usr/lib/tk*/tkConfig.sh && echo -n $$TK_INCLUDE_SPEC $$TK_DEFS) - PLATFORM_TK_LIBS=$(shell . /usr/lib/tk*/tkConfig.sh && echo -n $$TK_LIB_FLAG) - PLATFORM_TK_LDFLAGS= - - PLATFORM_TCL_CPPFLAGS= - PLATFORM_TCL_LIBS=-ltcl8.4 - PLATFORM_TCL_LDFLAGS= -else - PLATFORM_TK_CPPFLAGS=-I$(shell . /usr/lib*/tkConfig.sh && echo -n $$TK_INC_DIR $$TK_DEFS) - PLATFORM_TK_LIBS=$(shell . /usr/lib*/tkConfig.sh && echo -n $$TK_LIB_FLAG) - PLATFORM_TK_LDFLAGS= - - - PLATFORM_TCL_CPPFLAGS= - PLATFORM_TCL_LIBS=-ltcl - PLATFORM_TCL_LDFLAGS= -endif - -PLATFORM_QT_CPPFLAGS ?= -I$(QTDIR)/include -PLATFORM_QT_LIBS ?= -lqt-mt -PLATFORM_QT_LDFLAGS ?= -L$(QTDIR)/lib - -sctp ?= -# support for OpenSS7 SCTP -ifeq ($(sctp),openss7) - PLATFORM_SCTP_CPPFLAGS+= -DACE_HAS_OPENSS7_SCTP - PLATFORM_SCTP_LDFLAGS?= - PLATFORM_SCTP_LIBS?= -endif - -# support for LKSCTP (Linux Kernel 2.5) -ifeq ($(sctp),lksctp) - PLATFORM_SCTP_CPPFLAGS+= -DACE_HAS_LKSCTP - PLATFORM_SCTP_LDFLAGS?= -L/usr/local/lib - PLATFORM_SCTP_LIBS?= -lsctp -endif - -PLATFORM_AIO_SUPPORT := \ - $(shell test "`ls -L /usr/lib*/librt.so* /lib*/librt.so*`" && echo -DACE_HAS_AIO_CALLS) - -GNU_LIBPTHREAD_VERSION := $(shell getconf GNU_LIBPTHREAD_VERSION 2> /dev/null || echo Unknown) -ifeq (NPTL, $(word 1,$(GNU_LIBPTHREAD_VERSION))) - NPTL_VERS := $(subst ., ,$(word 2,$(GNU_LIBPTHREAD_VERSION))) - ifneq (0, $(word 1,$(NPTL_VERS))) - nptl ?= 1 - endif -endif -nptl ?= 0 -ifeq ($(nptl),0) - CPPFLAGS += -DACE_LACKS_LINUX_NPTL -endif - -ssl ?= 0 -ifeq ($(ssl),1) - # Some Linux OpenSSL installations compile in Kerberos support. Add - # the Kerberos include path to preprocessor include path. - # - # We should probably also add the Kerberos libraries to - # PLATFORM_SSL_LIBS but we can't be sure if they are needed without - # a more sophisticated check. This will only be a problem when - # statically linking the OpenSSL library. The majority of - # installations use shared OpenSSL libraries so we should be okay, - # at least until we migrate to Autoconf. - PLATFORM_SSL_CPPFLAGS += -I/usr/kerberos/include -endif # ssl - -SYSARCH := $(shell uname -m) - -PIC = -fPIC -AR ?= ar -ARFLAGS ?= rsuv -RANLIB = @true diff --git a/dep/ACE_wrappers/include/makeinclude/platform_linux_icc.GNU b/dep/ACE_wrappers/include/makeinclude/platform_linux_icc.GNU deleted file mode 100644 index 8ec34bce7..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_linux_icc.GNU +++ /dev/null @@ -1,114 +0,0 @@ -# $Id: platform_linux_icc.GNU 86019 2009-07-14 12:13:09Z wotte $ - -# This file should allow ACE to be built on Linux, using the Intel compiler. - -AR = xiar - -include $(ACE_ROOT)/include/makeinclude/platform_linux_common.GNU - -fast ?= 0 -ipo ?= 0 - -ifeq ($(insure),0) - CC = icc - CXX = icpc -endif - -ifndef CXX_VERSION - CXX_VERSION := $(shell $(CXX) --version) -endif - -ifeq (8.0,$(findstring 8.0,$(CXX_VERSION))) - CFLAGS += -wd1476,1505 -endif -ifeq (8.1,$(findstring 8.1,$(CXX_VERSION))) - CFLAGS += -wd1476,1505,1572 -no-gcc -endif -ifeq (9.0,$(findstring 9.0,$(CXX_VERSION))) - CFLAGS += -wd1684 -endif -ifeq (9.1,$(findstring 9.1,$(CXX_VERSION))) - CFLAGS += -wd1684 -endif -ifeq (10.0,$(findstring 10.0,$(CXX_VERSION))) - CFLAGS += -wd1684 -endif -ifeq (10.1,$(findstring 10.1,$(CXX_VERSION))) - CFLAGS += -wd1684 -endif -ifeq (11.0,$(findstring 11.0,$(CXX_VERSION))) - CFLAGS += -wd1684 -endif - -no_hidden_visibility ?= 1 - -ifeq ($(inline),0) - CPPFLAGS += -fno-inline -endif - -ifeq ($(fast),1) - CPPFLAGS += -fast -endif - -ifeq ($(ipo),1) - CPPFLAGS += -ipo -endif - -CFLAGS += -w1 -ifeq ($(threads),1) - CPPFLAGS += -D_REENTRANT $(PLATFORM_AIO_SUPPORT) -endif # threads - -CCFLAGS += $(CFLAGS) $(IMPLICIT_TEMPLATES_FLAG) -ip -DCFLAGS += -g -debug full -DLD = $(CXX) -LD = $(CXX) -LIBS += -ldl - -ifeq ($(threads),1) - LIBS += -lpthread - ifeq (-DACE_HAS_AIO_CALLS,$(PLATFORM_AIO_SUPPORT)) - LIBS += -lrt - endif -endif - -OCFLAGS += -O3 - -# Disable floating point optimizer solves problem with -# min/max float values in the TAO_IDL compiler tests -# If these options are not passed we can get overflows -# when testing min/max -CPPFLAGS += -fp-model double - -ifeq ($(optimize),0) - # Disable all optimizing in code - CPPFLAGS += -O0 -endif - -SOFLAGS += $(CPPFLAGS) -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<; \ - $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o -PRELIB = @true - -ifeq ($(shared_libs), 1) - ifneq ($static_libs_only), 1) - LDFLAGS += -Wl,-E - ifneq ($(no_hidden_visibility),1) - CCFLAGS += -fvisibility=hidden - else - CPPFLAGS += -DACE_HAS_CUSTOM_EXPORT_MACROS=0 - endif # no_hidden_visibility - endif -endif - - -# Added line below to support "Executable Shared Object" files (as -# needed by the service configurator). -# Marius Kjeldahl -ifeq ($(threads),1) - ESOBUILD = $(COMPILEESO.cc) $(PIC) -shared -o $(VSHDIR)$*.so $< - ifndef PRELIB - PRELIB = @true - endif # ! PRELIB -endif - diff --git a/dep/ACE_wrappers/include/makeinclude/platform_linux_pgi.GNU b/dep/ACE_wrappers/include/makeinclude/platform_linux_pgi.GNU deleted file mode 100644 index f908c18bb..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_linux_pgi.GNU +++ /dev/null @@ -1,45 +0,0 @@ -# $Id: platform_linux_pgi.GNU 81315 2008-04-10 07:14:15Z johnnyw $ - -# This file should allow ACE to be built on Linux, using the -# Portland Group PGI compilers -# -# This is just a copy of platform_linux.GNU, with a few things changed. - -include $(ACE_ROOT)/include/makeinclude/platform_linux_common.GNU - -CC = pgcc -CXX = pgCC - -ifeq ($(threads),1) - CPPFLAGS += -D_REENTRANT $(PLATFORM_AIO_SUPPORT) -endif # threads - -CCFLAGS += $(CFLAGS) $(IMPLICIT_TEMPLATES_FLAG) -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -LIBS += -ldl - -ifeq ($(threads),1) - LIBS += -lpthread - ifeq (-DACE_HAS_AIO_CALLS,$(PLATFORM_AIO_SUPPORT)) - LIBS += -lrt - endif -endif - -OCFLAGS += -O3 - -SOFLAGS += $(CPPFLAGS) -shared $(PIC) --prelink_objects -SOBUILD = $(COMPILE.cc) $(PIC) --prelink_objects -o $(VSHDIR)$*.so $<; \ - $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o -PRELIB = @true - -# Added line below to support "Executable Shared Object" files (as -# needed by the service configurator). -# Marius Kjeldahl -ifeq ($(threads),1) - ESOBUILD = $(COMPILEESO.cc) $(PIC) -shared -o $(VSHDIR)$*.so $< - ifndef PRELIB - PRELIB = @true - endif # ! PRELIB -endif diff --git a/dep/ACE_wrappers/include/makeinclude/platform_linux_suncc.GNU b/dep/ACE_wrappers/include/makeinclude/platform_linux_suncc.GNU deleted file mode 100644 index 0a6a2ca6e..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_linux_suncc.GNU +++ /dev/null @@ -1,80 +0,0 @@ -# $Id: platform_linux_suncc.GNU 86702 2009-09-14 06:55:44Z olli $ - -# This file should allow ACE to be built on Linux, using the Sun compiler. -# The Sun compiler on linux is still in the Alpha stage, so no guarantees -# given at this point - -include $(ACE_ROOT)/include/makeinclude/platform_linux_common.GNU - -no_hidden_visibility ?= 1 - -ifeq ($(insure),0) - CC = CC - CXX = CC -endif - -ifeq ($(threads),1) - CPPFLAGS += -D_REENTRANT $(PLATFORM_AIO_SUPPORT) -endif # threads - -GNU_LIBPTHREAD_VERSION := $(shell getconf GNU_LIBPTHREAD_VERSION) -ifeq (NPTL, $(word 1,$(GNU_LIBPTHREAD_VERSION))) - CPPFLAGS += -DACE_HAS_LINUX_NPTL -endif - -CCFLAGS += $(CFLAGS) $(IMPLICIT_TEMPLATES_FLAG) -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -LIBS += -ldl - -ifeq ($(threads),1) - LIBS += -lpthread - ifeq (-DACE_HAS_AIO_CALLS,$(PLATFORM_AIO_SUPPORT)) - LIBS += -lrt - endif -endif - -OCFLAGS += -O3 - -ifeq ($(optimize),0) - # Disable all optimizing in code - CPPFLAGS += -O0 -endif - -PIC = -SOFLAGS += $(CPPFLAGS) -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<; \ - $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o -PRELIB = @true - -ifeq ($(shared_libs), 1) - ifneq ($static_libs_only), 1) - ifneq ($(no_hidden_visibility),1) - CCFLAGS += -fvisibility=hidden - else - CPPFLAGS += -DACE_HAS_CUSTOM_EXPORT_MACROS=0 - endif # no_hidden_visibility - endif -endif - -ifeq ($(buildbits),32) - CFLAGS += -m32 - LDFLAGS += -m32 -endif -ifeq ($(buildbits),64) - CFLAGS += -m64 -endif - -# Enable GNU extensions -CPPFLAGS+= -D_GNU_SOURCE - -# Added line below to support "Executable Shared Object" files (as -# needed by the service configurator). -# Marius Kjeldahl -ifeq ($(threads),1) - ESOBUILD = $(COMPILEESO.cc) $(PIC) -shared -o $(VSHDIR)$*.so $< - ifndef PRELIB - PRELIB = @true - endif # ! PRELIB -endif diff --git a/dep/ACE_wrappers/include/makeinclude/platform_lynxos.GNU b/dep/ACE_wrappers/include/makeinclude/platform_lynxos.GNU deleted file mode 100644 index d8b005eea..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_lynxos.GNU +++ /dev/null @@ -1,103 +0,0 @@ -# $Id: platform_lynxos.GNU 91285 2010-08-05 08:29:30Z johnnyw $ -# -# LynxOS with g++. Defaults to LynxOS Version 4.0.0. For Version 4.2.0, -# for example, add "VERSION=4.2.0" to your make invocation. - -ifeq ($(shell uname -s),LynxOS) - export VERSION=$(shell uname -r) - - # LynxOS's mkdir needs -f option to prevent it returning error - # if directory already exists. - ACE_MKDIR=mkdir -pf -else - CROSS-COMPILE = 1 - - ifeq (,$(VERSION)) - export VERSION = 4.0.0 - endif # VERSION -endif # ! LynxOS - -LYNXOS_MAJOR = $(shell echo $(VERSION) | awk -F. '{print $$1;}') -LYNXOS_MINOR = $(shell echo $(VERSION) | awk -F. '{print $$2;}') - -PLATFORM_XT_CPPFLAGS= -PLATFORM_XT_LIBS=-lXm -lXt -PLATFORM_XT_LDFLAGS= - -PLATFORM_X11_CPPFLAGS= -PLATFORM_X11_LIBS=-lXp -lXpm -lXmu -lXext -lX11 -lSM -lICE -PLATFORM_X11_LDFLAGS= - -PLATFORM_TCL_CPPFLAGS=$(shell . /usr/lib/tclConfig.sh && echo -n $$TCL_INC_DIR $$TCL_DEFS) -PLATFORM_TCL_LIBS=-ltcl8.0 -PLATFORM_TCL_LDFLAGS= - -PLATFORM_TK_CPPFLAGS=$(shell . /usr/lib/tkConfig.sh && echo -n $$TK_INC_DIR $$TK_DEFS) $(PLATFORM_X11_CPPFLAGS) -PLATFORM_TK_LIBS=-ltk8.0 $(PLATFORM_XT_LIBS) $(PLATFORM_X11_LIBS) -PLATFORM_TK_LDFLAGS=$(PLATFORM_X11_LDFLAGS) - -shared_libs ?= 1 -optimize ?= 1 -debug ?= 1 -pipes ?= 1 -threads ?= 1 - -ifeq ($(threads),1) - CFLAGS += -mthreads - SOFLAGS += -mthreads -endif - -ifeq ($(rpc),1) - LIBS += -lrpc -endif - -ifeq ($(shared_libs),1) - CPPFLAGS += -DACE_HAS_SVR4_DYNAMIC_LINKING - CFLAGS += -mshared - SOFLAGS += -mshared - LIBS += -ldl - ifeq ($(CROSS-COMPILE),1) - LDFLAGS += -Wl,-rpath-link,$(ACE_ROOT)/lib - endif -else - LIBS += -lnetinet -lnsl -endif - -ifeq (5.0.0,$(VERSION)) - LIBS += -lbsd -endif - -CC = gcc -CXX = g++ -PIC = -fPIC -CFLAGS += -Wpointer-arith -Wall -fsigned-char $(PIC) -CFLAGS += -DACE_LYNXOS_MAJOR=$(LYNXOS_MAJOR) -DACE_LYNXOS_MINOR=$(LYNXOS_MINOR) -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -OCFLAGS += -O2 -AR = ar -ARFLAGS = ruv -RANLIB = @true -SOFLAGS += $(CPPFLAGS) -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<; \ - $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o -PRELIB = @true - -# Test for template instantiation, add to SOFLAGS if SONAME set, -# add -E to LDFLAGS if using GNU ld -# -include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU - -CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG) - -ifeq ($(CXX_MAJOR_VERSION), 3) - LDFLAGS += -L/usr/lib/thread -endif - -# To save much disk space, strip all executables. Comment the -# following line out if you want to debug. Or, add "POSTLINK=" -# to your make invocation. -ifeq ($(static_libs),1) - POSTLINK = ; strip $@ -endif diff --git a/dep/ACE_wrappers/include/makeinclude/platform_macosx.GNU b/dep/ACE_wrappers/include/makeinclude/platform_macosx.GNU deleted file mode 100644 index ce119c651..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_macosx.GNU +++ /dev/null @@ -1,45 +0,0 @@ -# $Id: platform_macosx.GNU 91285 2010-08-05 08:29:30Z johnnyw $ -# platform_macosx.GNU -# support for Mac OS X 10.2 (jaguar), 10.3 (panther) -# Note: /sw/lib & /sw/include are inserted for the convience of Fink -# users. Non-Fink users should simply create these directories to -# eliminate the warnings. - -threads ?= 1 -debug ?= 1 -optimize ?= 0 -versioned_so ?= 0 -pipes ?= 1 -with_ld = macosx - -CC = gcc -CXX = g++ -CFLAGS += -Wall -Wpointer-arith -Wno-long-double -I/sw/include - -DCFLAGS += -g -DLD = libtool -LD = $(CXX) -LDFLAGS += -L/sw/lib -flat_namespace -undefined warning -LIBS += -lcc_dynamic -lstdc++ -lSystem - -## dlcompat package (not part of base Darwin) is needed for dlopen() on 10.2. -## Fink installer puts libraries in /sw/lib and headers in /sw/include -## In order to install dlcompat do the following: -## - download fink from http://fink.sf.net -## - type: -## fink install dlcompat -## 10.3 does not need this package. -LIBS += -ldl -# 10.3 cannot do -03, this could be version dependent (probably on gcc) -OCFLAGS += -O2 -RANLIB = ranlib -SOEXT = dylib -SOFLAGS += -dynamic -SOBUILD = -o $(VSHDIR)$*.dylib $< - -# Test for template instantiation, add to SOFLAGS if versioned_so set, -# add -E to LDFLAGS if using GNU ld -# -include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU - -CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG) diff --git a/dep/ACE_wrappers/include/makeinclude/platform_macosx_common.GNU b/dep/ACE_wrappers/include/makeinclude/platform_macosx_common.GNU deleted file mode 100644 index 5fc750eb6..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_macosx_common.GNU +++ /dev/null @@ -1,59 +0,0 @@ -# $Id: platform_macosx_common.GNU 91285 2010-08-05 08:29:30Z johnnyw $ -# platform_macosx.GNU -# support for Mac OS X 10.4 (Tiger) -# By default, this uses the default compiler selected using gcc_select. - -boost = 1 -zzip = 1 -zlib = 1 -threads ?= 1 -debug ?= 1 -optimize ?= 0 -ssl ?= 1 -versioned_so ?= 0 -universal ?= 0 - -ifeq (,$(no_hidden_visibility)) -# Disable symbol visibility support by default. -# -# Apple's g++ 4 compiler doesn't appear to correctly support -# visibility attributes, at least as well as the vanilla g++. - no_hidden_visibility = 1 -endif - -with_ld = macosx - -pipes ?= 1 - -CFLAGS += $(FLAGS_C_CC) - -CC ?= gcc -CXX ?= g++ -CFLAGS += -Wall -Wpointer-arith - -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -#LIBS += -lstdc++.6 -lSystem -lSystemStubs - -OCFLAGS += -O2 -RANLIB = ranlib -SOEXT = dylib -SOFLAGS += -dynamiclib -SOBUILD = -o $(VSHDIR)$*.dylib $< - -# Test for template instantiation, add to SOFLAGS if versioned_so set, -# add -E to LDFLAGS if using GNU ld -ifeq ($(findstring g++,$(CXX)),)# - include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU -else - include $(ACE_ROOT)/include/makeinclude/platform_clang_common.GNU -endif - -LDFLAGS += -flat_namespace -CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG) - -ifeq ($(universal),1) - CFLAGS += -arch i386 -arch ppc - LDFLAGS += -arch i386 -arch ppc -endif diff --git a/dep/ACE_wrappers/include/makeinclude/platform_macosx_icc.GNU b/dep/ACE_wrappers/include/makeinclude/platform_macosx_icc.GNU deleted file mode 100644 index 7b4b76f8b..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_macosx_icc.GNU +++ /dev/null @@ -1,105 +0,0 @@ -# $Id: platform_macosx_icc.GNU 91285 2010-08-05 08:29:30Z johnnyw $ - -threads ?= 1 -debug ?= 1 -optimize ?= 0 -ssl ?= 1 -versioned_so ?= 0 -universal ?= 0 -insure ?= 0 - -AR = xiar - -ifeq ($(insure),0) - CC = icc - CXX = icpc -endif - -ifndef CXX_VERSION - CXX_VERSION := $(shell $(CXX) --version) -endif - -ifeq (10.0,$(findstring 10.0,$(CXX_VERSION))) - CFLAGS += -wd1684 -endif -ifeq (10.1,$(findstring 10.1,$(CXX_VERSION))) - CFLAGS += -wd1684 -endif - -no_hidden_visibility ?= 1 - -ifeq ($(inline),0) - CPPFLAGS += -fno-inline -endif - -ifeq ($(fast),1) - CPPFLAGS += -fast -endif - -ifeq ($(ipo),1) - CPPFLAGS += -ipo -endif - -CFLAGS += -w1 -ifeq ($(threads),1) - CPPFLAGS += -D_REENTRANT $(PLATFORM_AIO_SUPPORT) -endif # threads - -CCFLAGS += $(CFLAGS) $(IMPLICIT_TEMPLATES_FLAG) -ip -DCFLAGS += -g -debug full -DLD = $(CXX) -LD = $(CXX) -LIBS += -ldl -RANLIB = ranlib -ifeq ($(threads),1) - LIBS += -lpthread - ifeq (-DACE_HAS_AIO_CALLS,$(PLATFORM_AIO_SUPPORT)) - LIBS += -lrt - endif -endif - -OCFLAGS += -O3 - -# Disable floating point optimizer solves problem with -# min/max float values in the TAO_IDL compiler tests -# If these options are not passed we can get overflows -# when testing min/max -ifeq ($(SYSARCH),ia64) - CPPFLAGS += -mp -else - CPPFLAGS += -fp-model double -endif - -ifeq ($(optimize),0) - # Disable all optimizing in code - CPPFLAGS += -O0 -endif - -SOEXT = dylib -SOFLAGS += $(CPPFLAGS) -dynamiclib -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.dylib $<; \ - $(SOLINK.cc) -o $@ $(LDFLAGS) $(SOFLAGS) $(VSHDIR)$*.o -PRELIB = @true - -ifeq ($(shared_libs), 1) - ifneq ($static_libs_only), 1) - LDFLAGS += - - ifneq ($(no_hidden_visibility),1) - CCFLAGS += -fvisibility=hidden - else - CPPFLAGS += -DACE_HAS_CUSTOM_EXPORT_MACROS=0 - endif # no_hidden_visibility - endif -endif - - -# Added line below to support "Executable Shared Object" files (as -# needed by the service configurator). -# Marius Kjeldahl -ifeq ($(threads),1) - ESOBUILD = $(COMPILEESO.cc) $(PIC) -dynamiclib -o $(VSHDIR)$*.dylib $< - ifndef PRELIB - PRELIB = @true - endif # ! PRELIB -endif diff --git a/dep/ACE_wrappers/include/makeinclude/platform_macosx_iphone.GNU b/dep/ACE_wrappers/include/makeinclude/platform_macosx_iphone.GNU deleted file mode 100644 index d440c7bfd..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_macosx_iphone.GNU +++ /dev/null @@ -1,50 +0,0 @@ -# $Id: platform_macosx_iphone.GNU 88772 2010-01-28 16:31:28Z sowayaa $ - -static_libs_only=1 - -include $(ACE_ROOT)/include/makeinclude/platform_macosx_common.GNU - -XCODE:=/Developer - -ifeq ($(IPHONE_TARGET), SIMULATOR) - IPHONE_PLATFORM:=$(XCODE)/Platforms/iPhoneSimulator.platform/Developer - IPHONE_SDK:=$(IPHONE_PLATFORM)/SDKs/iPhoneSimulator${IPHONE_VERSION}.sdk - IPHONE_HARDWARE_ARCHITECTURE=i386 - - # crt1.10.6.o is missing under MacOSX 10.6, fallback to 10.5 - # until apple provides the missing crt1.10.6.o - CFLAGS += -mmacosx-version-min=10.5 - CXXFLAGS += -mmacosx-version-min=10.5 - LDFLAGS += -mmacosx-version-min=10.5 -endif - -ifeq ($(IPHONE_TARGET), HARDWARE) - CROSS-COMPILE=1 - IPHONE_PLATFORM:=$(XCODE)/Platforms/iPhoneOS.platform/Developer - IPHONE_SDK:=$(IPHONE_PLATFORM)/SDKs/iPhoneOS${IPHONE_VERSION}.sdk - IPHONE_HARDWARE_ARCHITECTURE=armv6 - CODESIGN_ALLOCATE:=$(IPHONE_PLATFORM)/usr/bin/codesign_allocate - POSTLINK=; codesign -f -s "iPhone Developer" $(BIN) - rwho = 0 -endif - -CC:=$(IPHONE_PLATFORM)/usr/bin/gcc -CXX:=$(IPHONE_PLATFORM)/usr/bin/g++ -AR:=$(IPHONE_PLATFORM)/usr/bin/ar -RANLIB:=$(IPHONE_PLATFORM)/usr/bin/ranlib -DLD = $(CXX) -LD = $(CXX) -CFLAGS += -arch $(IPHONE_HARDWARE_ARCHITECTURE) -isysroot $(IPHONE_SDK) -CXXFLAGS += -arch $(IPHONE_HARDWARE_ARCHITECTURE) -isysroot $(IPHONE_SDK) - -ifneq (,$(HOST_ROOT)) - TAO_IDLFLAGS += -g $(HOST_ROOT)/bin/ace_gperf - TAO_IDL = $(HOST_ROOT)/bin/tao_idl - TAO_IDL3_TO_IDL2 = $(HOST_ROOT)/bin/tao_idl3_to_idl2 - TAO_IDL_DEP = $(TAO_IDL) - TAO_IDL3_TO_IDL2_DEP = $(TAO_IDL3_TO_IDL2) - # make sure to use the target compiler, not the cross-compiler - # as preprocessor for the cross-compiled idl tools - TAO_IDL_PREPROCESSOR = gcc -endif - diff --git a/dep/ACE_wrappers/include/makeinclude/platform_macosx_leopard.GNU b/dep/ACE_wrappers/include/makeinclude/platform_macosx_leopard.GNU deleted file mode 100644 index 2afcc769e..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_macosx_leopard.GNU +++ /dev/null @@ -1,3 +0,0 @@ -# $Id: platform_macosx_leopard.GNU 80826 2008-03-04 14:51:23Z wotte $ - -include $(ACE_ROOT)/include/makeinclude/platform_macosx_tiger.GNU diff --git a/dep/ACE_wrappers/include/makeinclude/platform_macosx_panther.GNU b/dep/ACE_wrappers/include/makeinclude/platform_macosx_panther.GNU deleted file mode 100644 index 446422b40..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_macosx_panther.GNU +++ /dev/null @@ -1,34 +0,0 @@ -# $Id: platform_macosx_panther.GNU 91285 2010-08-05 08:29:30Z johnnyw $ -# platform_macosx.GNU -# support for Mac OS X 10.3 (Panther) - -threads ?= 1 -debug ?= 1 -optimize ?= 0 -versioned_so ?= 0 -with_ld = macosx - -pipes ?= 1 - -CC = gcc -CXX = g++ -CFLAGS += -Wall -Wpointer-arith -Wno-long-double - -DCFLAGS += -g -DLD = libtool -LD = $(CXX) -LIBS += -lcc_dynamic -lstdc++ -lSystem - -OCFLAGS += -O2 -mcpu=G3 -mtune=G4 -RANLIB = ranlib -SOEXT = dylib -SOFLAGS += -dynamic -SOBUILD = -o $(VSHDIR)$*.dylib $< - -# Test for template instantiation, add to SOFLAGS if versioned_so set, -# add -E to LDFLAGS if using GNU ld -# -include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU - -LDFLAGS += -flat_namespace -undefined warning -CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG) diff --git a/dep/ACE_wrappers/include/makeinclude/platform_macosx_snowleopard.GNU b/dep/ACE_wrappers/include/makeinclude/platform_macosx_snowleopard.GNU deleted file mode 100644 index 113a0f9c0..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_macosx_snowleopard.GNU +++ /dev/null @@ -1,17 +0,0 @@ -# $Id: platform_macosx_snowleopard.GNU 87538 2009-11-13 01:54:36Z wotte $ - -ifeq ($(buildbits),32) - FLAGS_C_CC += -m32 - LDFLAGS += -m32 -endif -ifeq ($(buildbits),64) - FLAGS_C_CC += -m64 - LDFLAGS += -m64 -endif -ifeq ($(buildbits),universal) - FLAGS_C_CC += -arch i386 -arch x86_64 - LDFLAGS += -arch i386 -arch x86_64 -endif - -include $(ACE_ROOT)/include/makeinclude/platform_macosx_common.GNU - diff --git a/dep/ACE_wrappers/include/makeinclude/platform_macosx_tiger.GNU b/dep/ACE_wrappers/include/makeinclude/platform_macosx_tiger.GNU deleted file mode 100644 index f2088998a..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_macosx_tiger.GNU +++ /dev/null @@ -1,8 +0,0 @@ -# $Id: platform_macosx_tiger.GNU 87237 2009-10-27 08:22:44Z wotte $ -# platform_macosx.GNU -# support for Mac OS X 10.4 (Tiger) -# By default, this uses the default compiler selected using gcc_select. - -include $(ACE_ROOT)/include/makeinclude/platform_macosx_common.GNU - -CFLAGS += -Wno-long-double \ No newline at end of file diff --git a/dep/ACE_wrappers/include/makeinclude/platform_mingw32.GNU b/dep/ACE_wrappers/include/makeinclude/platform_mingw32.GNU deleted file mode 100644 index 9e6ef6dfd..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_mingw32.GNU +++ /dev/null @@ -1,70 +0,0 @@ -# -*- Makefile -*- -# $Id: platform_mingw32.GNU 90650 2010-06-16 21:54:18Z mitza $ - -# This file should allow to build ACE for mingw32 with mingw tools. -# Edit to change TCPU below. -# -# Don't forget to define the ACE_ROOT environment variable! - -# mingw32 packages as distributed from sourceforge: -# http://sourceforge.net/project/showfiles.php?group_id=2435&release_id=15084 -# See also http://www.mingw.org. -# -# You will also need a GNU Make for win32 (so you can actualy -# USE this file :-). Tested with MSYS from MinGW -# -# Caveat: -# -# If ld complains about not finding crt2.o, dllcrt2.o or gcrt2.o -# when linking executables, you will need to modify the specs file for gcc: -# lib/gcc-lib/mingw32/2.95.2/specs -# look for the line after the one begining ``*startfile:'', and add -# full path as prefix for crt2, dllcrt2 and gcrt2 -# (i.e., change -# ... %{!shared:%{!mdll:crt2%O%s}} ... -# with -# ... %{!shared:%{!mdll:c:/mingw32/lib/gcc-lib/mingw32/2.95.2/crt2%O%s}} ... -# or something similar depending on the location of your instalation). - -# -# Chose your target CPU (by default we set it to pentiumpro. In your -# platform_macros.GNU file you can override this to pentium, i486 or i386 -# -TCPU ?= pentiumpro - -mingw32 ?= 1 - -# MingW doesn't allow to add the version number of ACE to the dll name -# because fe ace.dll.5.2.3 isn't a valid dll name -versioned_so=0 - -# MinGW doesn't have rwho -rwho ?= 0 - -# MinGW has wfmo and registry -wfmo ?= 1 -winregistry ?= 1 - -# We can use the QoS support -qos ?= 1 - -# Disable auto-import warnings. The MingW linker has a problem with imports -# See https://sourceforge.net/tracker/?func=detail&atid=102435&aid=683455&group_id=2435 -# for the details why to do this. -LDFLAGS += -Wl,--enable-auto-import - -PWD=$(subst \,/,$(shell pwd)) - -PLATFORM_SSL_LIBS ?= -lssl32 -leay32 - -ifeq (cmd,$(findstring cmd,$(SHELL))) - CMDSEP = & - vxworks_ntbuild = 1 - MKDIR_NTSYTLE = 1 - ACE_MKDIR = mkdir - ECHO_BLANK_LINE = cmd /c echo. -endif - -include $(ACE_ROOT)/include/makeinclude/platform_gnuwin32_common.GNU - -PRELIB:= diff --git a/dep/ACE_wrappers/include/makeinclude/platform_mvs.GNU b/dep/ACE_wrappers/include/makeinclude/platform_mvs.GNU deleted file mode 100644 index 301f4bb3c..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_mvs.GNU +++ /dev/null @@ -1,35 +0,0 @@ -# $Id: platform_mvs.GNU 80826 2008-03-04 14:51:23Z wotte $ - -# For MVS OpenEdition platform - -debug ?= 0 - -CXX = cxx -DCFLAGS += -g -DCCFLAGS += -g -CPPFLAGS += -+ -W "c,langlvl(LONGLONG)" -W c,xplink -W "c,rtti(dynamiccast)" -LDFLAGS += -W l,xplink -DEFFLAGS = -D_ALL_SOURCE -DNDEBUG -CC = $(CXX) -LD = $(CXX) -DLD = $(CXX) -AR = ar -ARFLAGS = ruv -RANLIB = echo -#LDFLAGS += -W l,p,map - -# MVCMD needed because cxx does not use the -o option to place objects -MVCMD = @test ! -s $(@F) || mv $(@F) $(@D)/$(@F) - -# Used to build static executables -ACELIB_STATIC = -lACE - -# Used to build shared executables (much smaller in size) -ACELIB_DLL = $(ACE_ROOT)/lib/libACE.x - -# set accordingly to build either static or shared executables -ACELIB = $(ACELIB_DLL) - -SOFLAGS += -W l,dll -PIC = -W c,exportall -static_libs ?= 1 diff --git a/dep/ACE_wrappers/include/makeinclude/platform_netbsd.GNU b/dep/ACE_wrappers/include/makeinclude/platform_netbsd.GNU deleted file mode 100644 index 3f438e615..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_netbsd.GNU +++ /dev/null @@ -1,43 +0,0 @@ -# $Id: platform_netbsd.GNU 91285 2010-08-05 08:29:30Z johnnyw $ - -# platform_netbsd.GNU - -versioned_so = 1 - -debug ?= 1 -optimize ?= 1 -threads ?= 1 -pipes ?= 1 -no_hidden_visibility ?= 1 - -CC = gcc -CXX = g++ - -CFLAGS += -W -Wall -Wpointer-arith -DCFLAGS += -g -LDFLAGS += -Wl,-rpath $(ACE_ROOT)/lib -DLD = $(CXX) -LD = $(CXX) -LIBS += -OCFLAGS += -O2 -PIC = -fpic -AR = ar -ARFLAGS = ruv -RANLIB = ranlib - -SOFLAGS += $(CPPFLAGS) -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -PRELIB = @echo - -ifeq ($(threads),1) -LDFLAGS += -pthread -CFLAGS += -D_REENTRANT -DACE_HAS_THREADS -endif # threads - -# Test for template instantiation, add to SOFLAGS if versioned_so set, -# add -E to LDFLAGS if using GNU ld -# -include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU - -CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG) - diff --git a/dep/ACE_wrappers/include/makeinclude/platform_openbsd.GNU b/dep/ACE_wrappers/include/makeinclude/platform_openbsd.GNU deleted file mode 100644 index c1c77b536..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_openbsd.GNU +++ /dev/null @@ -1,56 +0,0 @@ -# $Id: platform_openbsd.GNU 91285 2010-08-05 08:29:30Z johnnyw $ - -# platform_openbsd.GNU - -versioned_so = 1 - -debug ?= 1 -optimize ?= 1 -threads ?= 1 -pipes ?= 1 - -CC = gcc -CXX = g++ - -CFLAGS += -W -Wall -Wpointer-arith -DCFLAGS += -g -LDFLAGS += -Wl,-rpath $(ACE_ROOT)/lib -DLD = $(CXX) -LD = $(CXX) -LIBS += -OCFLAGS += -O2 -PIC = -fpic -AR = ar -ARFLAGS = ruv -RANLIB = ranlib - -SOFLAGS += $(CPPFLAGS) -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -PRELIB = @echo - -ifeq ($(threads),1) - LDFLAGS += -pthread - CFLAGS += -D_THREAD_SAFE -DACE_HAS_THREADS -endif # threads - -PLATFORM_X11_CPPFLAGS=-I/usr/X11R6/include -PLATFORM_X11_LIBS=-lX11 -PLATFORM_X11_LDFLAGS=-L/usr/X11R6/lib - -PLATFORM_TK_CPPFLAGS=$(shell . /usr/local/lib/tk*/tkConfig.sh && echo -n $$TK_INCLUDE_SPEC) $(PLATFORM_X11_CPPFLAGS) -PLATFORM_TK_LIBS=$(shell . /usr/local/lib/tk*/tkConfig.sh && echo -n $$TK_LIB_FLAG) $(PLATFORM_X11_LIBS) -PLATFORM_TK_LDFLAGS=$(PLATFORM_X11_LDFLAGS) - -PLATFORM_TCL_CPPFLAGS=$(shell . /usr/local/lib/tcl*/tclConfig.sh && echo -n $$TCL_INCLUDE_SPEC) -PLATFORM_TCL_LIBS=$(shell . /usr/local/lib/tcl*/tclConfig.sh && echo -n $$TCL_LIB_FLAG) -PLATFORM_TCL_LDFLAGS= - -CPPFLAGS+=-I/usr/local/include -LDFLAGS+=-L/usr/local/lib - -# Test for template instantiation, add to SOFLAGS if versioned_so set, -# add -E to LDFLAGS if using GNU ld -# -include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU - -CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG) diff --git a/dep/ACE_wrappers/include/makeinclude/platform_openvms.GNU b/dep/ACE_wrappers/include/makeinclude/platform_openvms.GNU deleted file mode 100644 index 303247c02..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_openvms.GNU +++ /dev/null @@ -1,102 +0,0 @@ -# $Id: platform_openvms.GNU 91285 2010-08-05 08:29:30Z johnnyw $ - -# for OpenVMS GNV - -ACE_OPENVMS = 1 -versioned_so ?= 0 -debug ?= 1 -optimize ?= 0 -threads ?= 1 -pthread ?= 1 -ssl ?= 0 -rwho ?= 0 -buildbits ?= 32 - -VDIR ?= obj/ -VSHDIR ?= shobj/ -PRELINK_TYPE ?= USE_OLB - -LN_S = cp -p -DEFFLAGS += -CCFLAGS += -D__USE_STD_IOSTREAM -ieee -names_as_is_short -ifeq ($(HOSTTYPE),ia64) - CCFLAGS += "-Wc/warn=DISABLE=(INTOVERFLOW,REFTEMPORARY,INTSIGNCHANGE)" -else - CCFLAGS += -msg_disable intoverflow,reftemporary,intsignchange -endif -CCFLAGS += -Wc/template=auto - -ifeq ($(buildbits),64) - CCFLAGS += -Wc/MODEL=ANSI -endif - -ifeq ($(HOSTTYPE),ia64) - ACE_OPENVMS_IA64 = 1 - SYMVEC_OPT_FILE ?= $(LIB_NAME)_symvec.opt - ifeq ($(PRJ_TYPE),library) - ifeq ($(shared_libs),1) - CCFLAGS += "-Wc/export_sym=(OPTIONS_FILE=$(SYMVEC_OPT_FILE),ALL,NOTEMPLATES)" - endif - endif -else - LDFLAGS += -Wl/PRELINK=$(PRELINK_TYPE)/MAP/CROSS -endif - -ifeq ($(debug),1) - LDFLAGS += -g -endif -LDFLAGS += -threads -DCCFLAGS += -g -OCCFLAGS += -O - -CFLAGS += -ieee -names_as_is_short -DCFLAGS += -g -OCFLAGS += -O - -PIC = -RANLIB = @true -ifeq ($(HOSTTYPE),ia64) - ARFLAGS = -r - SOFLAGS = -shared $(SYMVEC_OPT_FILE) -else - ARFLAGS = -c - SOFLAGS = -shared -auto_symvec -endif -ifeq ($(pthread),1) - LIBS += -lpthread -endif - -CC = cc -CXX = cxx -LD = $(CXX) -DLD = $(CXX) -SOVERSION = -SOEXT = exe -EXEEXT = .exe - -ifeq ($(HOSTTYPE),ia64) - REALCLEAN_FILES += $(SYMVEC_OPT_FILE) $(CLEANUP_VSHLIB_NO_VER:%.exe=%.DSF) \ - $(CLEANUP_BIN:%=%.DSF) $(basename $(BIN)) -else - REALCLEAN_FILES += $(CLEANUP_VSHLIB_NO_VER:%.exe=%_symvec.opt) $(CLEANUP_VSHLIB_NO_VER:%.exe=%.DSF) \ - $(CLEANUP_BIN:%=%.DSF) $(basename $(BIN)) -endif - -ifneq ($(MAKEFILE),$(DEPENDENCY_FILE)) -VMS_DUMMY_ := $(shell touch $(DEPENDENCY_FILE)) -VMS_DUMMY_ := $(VMS_DUMMY_) -endif - -ifeq ($(HOSTTYPE),ia64) - ifeq ($(shared_libs),1) - ifneq ($(SHLIB),) -BUILD := post_build.local - -.PHONY: post_build.local - -post_build.local: - @-if [ ! -z "$(VSHLIB)" ]; then dcl "set image/success $(VSHLIB)"; echo ""; fi - - endif - endif -endif diff --git a/dep/ACE_wrappers/include/makeinclude/platform_qnx_neutrino.GNU b/dep/ACE_wrappers/include/makeinclude/platform_qnx_neutrino.GNU deleted file mode 100644 index 167d53612..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_qnx_neutrino.GNU +++ /dev/null @@ -1,34 +0,0 @@ -# $Id: platform_qnx_neutrino.GNU 91626 2010-09-07 10:59:20Z johnnyw $ - -# QNX 4.25 hosted GNU g++ for Neutrino 2.0 - -CROSS-COMPILE = 1 -static_libs_only = 1 - -debug ?= 1 -optimize ?= 1 -pipes ?= 1 -CC ?= i386-nto-gcc -CXX ?= i386-nto-g++ - -CFLAGS += -W -Wall -Wpointer-arith -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -LDFLAGS += -LIBS += -lsocket -lstdc++ -OCFLAGS += -O2 -PIC = -fPIC -AR ?= i386-nto-ar -ARFLAGS = ruv -RANLIB ?= i386-nto-ranlib -SOFLAGS += -G $(CPPFLAGS) -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -PRELIB = @true - -# Test for template instantiation, add to SOFLAGS if SONAME set, -# add -E to LDFLAGS if using GNU ld -# -include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU - -CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG) diff --git a/dep/ACE_wrappers/include/makeinclude/platform_qnx_rtp_gcc.GNU b/dep/ACE_wrappers/include/makeinclude/platform_qnx_rtp_gcc.GNU deleted file mode 100644 index 8a5121e54..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_qnx_rtp_gcc.GNU +++ /dev/null @@ -1,48 +0,0 @@ -# $Id: platform_qnx_rtp_gcc.GNU 91626 2010-09-07 10:59:20Z johnnyw $ -# -# QNX/RTP hosted, using GCC - -inline ?= 1 -debug ?= 1 -optimize ?= 0 -threads ?= 1 -CCFLAGS += -fexceptions -LDFLAGS += -fexceptions - -ifeq ($(inline),1) - CCFLAGS += -finline-functions -else - CCFLAGS += -fno-inline -endif # inline - -ifeq ($(debug),1) - DCFLAGS += -gdwarf-2 -else # debug excludes optimize due to g++ internal compiler error - ifeq ($(optimize),1) - OCFLAGS += -O3 - endif #optimize -endif #debug -CC ?= gcc -CXX ?= g++ - -CFLAGS += -pipe -W -Wall -Wpointer-arith - -DLD = $(CXX) -LD = $(CXX) -LIBS += -lsocket -lstdc++ -lm - -PIC = -fPIC -AR ?= ar -ARFLAGS = ruv -SOFLAGS += $(CPPFLAGS) -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -PRELIB = @true - -# Test for template instantiation, add to SOFLAGS if SONAME set, -# add -E to LDFLAGS if using GNU ld -# -include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU -CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG) - -CFLAGS += $(FLAGS_C_CC) -CCFLAGS += $(FLAGS_C_CC) diff --git a/dep/ACE_wrappers/include/makeinclude/platform_rtems.x_g++.GNU b/dep/ACE_wrappers/include/makeinclude/platform_rtems.x_g++.GNU deleted file mode 100644 index 8ee19a0e2..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_rtems.x_g++.GNU +++ /dev/null @@ -1,54 +0,0 @@ -# $Id: platform_rtems.x_g++.GNU 91285 2010-08-05 08:29:30Z johnnyw $ -# -# RTEMS 4.6.6 and later with GNU g++. - -CROSS-COMPILE = 1 - -debug ?= 1 -optimize ?= 1 -threads ?= 1 -pipes ?= 1 - -shared_libs = -static_libs = 1 -rwho = 0 - -ifneq (,$(HOST_ROOT)) - TAO_IDL = $(HOST_ROOT)/bin/tao_idl - TAO_IDL3_TO_IDL2 = $(HOST_ROOT)/TAO/CIAO/bin/tao_idl3_to_idl2 - TAO_IDL_DEP = $(TAO_IDL) - TAO_IDL3_TO_IDL2_DEP = $(TAO_IDL3_TO_IDL2) -endif - -ifeq (,$(RTEMS_MAKEFILE_PATH)) - default: - @ERROR: you must set your RTEMS_MAKEFILE_PATH environment variable -endif # RTEMS_MAKEFILE_PATH - -ifeq (,$(PERL_PATH)) - PERL_PATH = perl -endif # ! PERL_PATH - -include $(RTEMS_MAKEFILE_PATH)/Makefile.inc -include $(RTEMS_MAKEFILE_PATH)/make/target.cfg - -# Test for template instantiation. -include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU - -ifeq (no,$(RTEMS_HAS_NETWORKING)) - CFLAGS += -DACE_LACKS_NETWORKING - CCFLAGS += -DACE_LACKS_NETWORKING -endif - -CFLAGS += -specs bsp_specs -qrtems -D_REENTRANT -fasm -fno-builtin -fno-defer-pop -fvolatile -W -Wall -DACE_HAS_RTEMS -B$(RTEMS_MAKEFILE_PATH)/lib -CCFLAGS += -specs bsp_specs -qrtems -D_REENTRANT -fasm -fno-builtin -fno-defer-pop -fvolatile -W -Wall -DACE_HAS_RTEMS -B$(RTEMS_MAKEFILE_PATH)/lib -DCFLAGS += -g -DCCFLAGS += -g -DLD = $(LD) -INCLDIRS += - -LD = $(CXX) -LDFLAGS += -Wl,--allow-multiple-definition -B$(RTEMS_MAKEFILE_PATH)/lib -Wl,-Ttext,0x00100000 -OCFLAGS += -O -PIC = - diff --git a/dep/ACE_wrappers/include/makeinclude/platform_sunos5_common.GNU b/dep/ACE_wrappers/include/makeinclude/platform_sunos5_common.GNU deleted file mode 100644 index 44cdacdf8..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_sunos5_common.GNU +++ /dev/null @@ -1,47 +0,0 @@ -# -*- Makefile -*- - -# $Id: platform_sunos5_common.GNU 84055 2008-12-22 11:36:23Z johnnyw $ - -# SunOS 5.x common settings - -ifeq ($(shell /bin/uname -r),5.9) - # Solaris 9 puts sendfile() in a separate library. - LIBS += -lsendfile -endif -ifeq ($(shell /bin/uname -r),5.10) - # Solaris 10 puts sendfile() in a separate library. - LIBS += -lsendfile - sctp ?= lksctp -endif -ifeq ($(shell /bin/uname -r),5.11) - # Solaris 11 puts sendfile() in a separate library. - LIBS += -lsendfile - sctp ?= lksctp -endif -kstat ?= 1 -ifeq ($(kstat),1) - # Unguard the raw monitor code and link the system lib. - CFLAGS += -DACE_HAS_KSTAT - CCFLAGS += -DACE_HAS_KSTAT - LIBS += -lkstat -endif - -PLATFORM_X11_CPPFLAGS= -I/usr/openwin/include -I/usr/dt/include -PLATFORM_X11_LIBS =-lX11 -PLATFORM_X11_LDFLAGS= - -PLATFORM_TK_CPPFLAGS= -PLATFORM_TK_LIBS=-ltk -ltcl -PLATFORM_TK_LDFLAGS= - -# TODO: Fix the parameters -#PLATFORM_TCL_CPPFLAGS=-I/usr/include/tcl8.4 -#PLATFORM_TCL_LIBS=-ltcl8.4 -#PLATFORM_TCL_LDFLAGS= - -sctp ?= -ifeq ($(sctp),lksctp) - PLATFORM_SCTP_CPPFLAGS+= -DACE_HAS_LKSCTP - PLATFORM_SCTP_LIBS?= -lsctp -endif - diff --git a/dep/ACE_wrappers/include/makeinclude/platform_sunos5_g++.GNU b/dep/ACE_wrappers/include/makeinclude/platform_sunos5_g++.GNU deleted file mode 100644 index 133746450..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_sunos5_g++.GNU +++ /dev/null @@ -1,71 +0,0 @@ -# -*- Makefile -*- - -# $Id: platform_sunos5_g++.GNU 91285 2010-08-05 08:29:30Z johnnyw $ - -# SunOS 5.x (Solaris 2.x) with g++ - -# NOTE: On Solaris86, you'll need to use GNU as instead of /usr/ccs/bin/as, -# if you want -gstabs+ and -pipe support. - -debug ?= 1 -optimize ?= 1 -threads ?= 1 -pipes ?= 1 -buildbits ?= 32 - -ifeq ($(buildbits),64) - FLAGS_C_CC += -m64 - LDFLAGS += -m64 -endif - -ifeq ($(shell /bin/uname -m),i86pc) - #### gcc on Solaris86 doesn't use -g - DCFLAGS += -gstabs+ - DCCFLAGS += -gstabs+ -else # ! i86pc - DCFLAGS += -g - DCCFLAGS += -g -endif # ! i86pc - -CC = gcc -CXX = g++ -FLAGS_C_CC += -W -Wall -Wpointer-arith - -ifeq ($(threads),1) - CPPFLAGS += -D_REENTRANT -endif - -DLD = $(CXX) -LD = $(CXX) -LDFLAGS += -LIBS += -lsocket -ldl -lgen -lnsl -lposix4 -lthread -OCFLAGS += -O3 -OCCFLAGS += -O3 -PIC = -fPIC -AR = ar -ARFLAGS = ruv -RANLIB = @true -SOFLAGS += -shared $(CPPFLAGS) -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -PRELIB = @true - -# Get common Solaris settings -include $(ACE_ROOT)/include/makeinclude/platform_sunos5_common.GNU - -# Test for template instantiation, add to SOFLAGS if SONAME set, -# add -E to LDFLAGS if using GNU ld -# -include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU - -CFLAGS += $(FLAGS_C_CC) -CCFLAGS += $(FLAGS_C_CC) $(TEMPLATES_FLAG) - -# Make sure we resolve all symbols at link time, see bugzilla 2710 -LDFLAGS += -z now - -## Unfortunately, gcc 3.0 fails to many cpp files with -## optimization enabled. Even -O causes the compiler -## to core dump on some files. -ifeq ($(shell $(CXX) --version),3.0) - override optimize = 0 -endif diff --git a/dep/ACE_wrappers/include/makeinclude/platform_sunos5_sunc++.GNU b/dep/ACE_wrappers/include/makeinclude/platform_sunos5_sunc++.GNU deleted file mode 100644 index e354e8bb4..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_sunos5_sunc++.GNU +++ /dev/null @@ -1,268 +0,0 @@ -# -*- Makefile -*- - -# $Id: platform_sunos5_sunc++.GNU 92140 2010-10-04 12:37:52Z johnnyw $ - -# SunOS 5.x (Solaris 2.x) with Sun C++ 4.2 and 5.x -# -# NOTE: Sun C++ 5.0 users might need to add this to their CCFLAGS: -# -compat=4 and/or remove -instances=explicit. Please note that -# inlining is disabled by default with Sun C++ 5.0. If you'd like -# to try enabling it, comment out the "inline = 0" line below. -# -# To enable compilation of 64-bit binaries with Sun CC 5.0, a -# platform_macros.GNU file such as this can be used: -# fast=1 -# include $(ACE_ROOT)/include/makeinclude/platform_sunos5_sunc++.GNU -# CFLAGS += -xtarget=ultra2 -xarch=v9a #### CPU specific! -# SOFLAGS += -xtarget=ultra2 -xarch=v9a -# LDFLAGS += -L/opt/SUNWspro/SC5.0/lib/v9 -L/usr/lib/sparcv9 -# Please note that the xtarget and xarch settings are specific to -# the target CPU. The /opt/SUNWspro/ Sun C++ installation directory -# is site-specific. -# -# To build 64-bit binaries with Forte 6 and later, build with the -# "buildbits=64" option (make buildbits=64). -# -# With slight modification, this file could be used with Sun C++ 4.1. -# However, it's likely that you won't be able to build all of ACE -# with Sun C++ 4.1. -# -# NOTE: some ACE files might generate this warning: -# "Warning: Could not find source for " one of the following: -# default constructor, copy constructor, destructor, or assignment -# operator. It appears that with +w, Sun C++ 4.x issues this warning -# whenever it has to generate one of these functions (because it wasn't -# defined by the user). This isn't really a problem. -# This warning appears to be fixed by Sun C++ 4.2 jumbo patch 104631-02. -# -# -pta instantiates all template members, which makes libraries bigger. -# But, it's supposed to put each member into it's own .o, so executable -# size should not be penalized. We don't use it because it's not -# necessary with automatic template instantiation. - -compat4 ?= 0 -debug ?= 1 -distrib ?= 1 -rwtools ?= 0 -stdcpplib ?= 1 -stlport ?= 0 -threads ?= 1 -versioned_so ?= 1 -tk_reactor ?= 0 -ace_with_x11 ?= 0 -no_annotations ?= 1 -no_hidden_visibility ?= 1 -templates ?= automatic - -## If you set this to 1 you will need to add -xarch=v8plus (or higher) -## to CFLAGS or the assembler code will not compile -atomic_ops_sparc ?= 0 - -ifeq ($(threads),1) - CFLAGS += -mt - LDFLAGS += -mt -endif # threads - -CC = cc -CXX = CC - -CC_VERSION := $(shell $(CXX) -V 2>&1) - -### CC 5.4 provides insufficient preprocessor output (at 111715-17 2005/10/13) -### We need to use cc instead - see bugzilla #2478. -ifeq (C++ 5.4,$(findstring C++ 5.4,$(CC_VERSION))) - ACE_CC_PREPROCESSOR = cc -endif - -ifeq ($(atomic_ops_sparc),1) - CFLAGS += -DACE_HAS_BUILTIN_ATOMIC_OP -DACE_INCLUDE_ATOMIC_OP_SPARC -endif - -#### The following macro overrides enable creation of fast executables. -#### They _don't_ support fast compilation :-) -#### To use, add fast=1 to your "make" invocation. -#### -#### -g is incompatible with -fast. If you need -g, you can -#### use "-fast -O3". -#### -#### Have to do this _before_ adding any -xarch, -xtarget, etc. flags since -#### -fast is shorthand for a list of internally-assigned options, some of -#### which will are -xarch, -xtarget. Thus, explicit -xarch needs to go -#### to the right of -fast. -DCFLAGS += -g -DCCFLAGS += -DLD = $(CXX) -ifeq (1,$(fast)) - CFLAGS += -fast - DCFLAGS = - DCCFLAGS = - LDFLAGS += -fast -endif # fast -# Make sure we resolve all symbols at link time, see bugzilla 2710 -LDFLAGS += -z now - -ifeq (C++ 5,$(findstring C++ 5,$(CC_VERSION))) - #### CC 5.0 or later - #### Inlining appears to cause link problems with early releases of - #### CC 5.0. - ifeq (C++ 5.0,$(findstring C++ 5.0,$(CC_VERSION))) - inline = 0 - else - ifeq (C++ 5.1 ,$(findstring C++ 5.1 ,$(CC_VERSION))) - inline = 0 - else # ! 5.1 - inline ?= 1 - endif # 5.2 or greater - endif #! 5.0 - - CCFLAGS += $(CFLAGS) - - #### If compat=4 is desired, set up for that. There are syntactic diffs - #### in the compatibility modes, but here all we need to be concerned with - #### is turning on -compat=4, and not trying to enable the new libraries. - ifeq ($(compat4),1) - CCFLAGS += -compat=4 - CCFLAGS += -features=rtti - else - ifneq (C++ 5.0,$(findstring C++ 5.0,$(CC_VERSION))) - # If 64-bit build is desired, turn that on. If no code gen options - # are given to Forte 6, the default build is 32-bit, even when - # building on a 64-bit system. Specifying xarch=v9 generates code - # that runs on any Sparc v9 (64-bit) processor. - # Beginning at (I believe) Studio 10 (C++ 5.7) there's a - # -xarch=generic64 option that works for both Sparc and x86. - # If you want to tune this further, you should extract and insert - # from CCFLAGS in a private platform_macros.GNU file. - ifeq (64,$(buildbits)) - ifeq (C++ 5.7,$(findstring C++ 5.7,$(CC_VERSION))) - CFLAGS += -xarch=generic64 - LDFLAGS += -xarch=generic64 - else - ifeq (C++ 5.8,$(findstring C++ 5.8,$(CC_VERSION))) - CFLAGS += -xarch=generic64 - LDFLAGS += -xarch=generic64 - else - ifeq (C++ 5.9,$(findstring C++ 5.9,$(CC_VERSION))) - CFLAGS += -m64 - LDFLAGS += -m64 - else - ifeq (C++ 5.10,$(findstring C++ 5.10,$(CC_VERSION))) - CFLAGS += -m64 - LDFLAGS += -m64 - else - CFLAGS += -xarch=v9 - LDFLAGS += -xarch=v9 - endif # C++ 5.10 - endif # C++ 5.9 - endif # C++ 5.8 - endif # C++ 5.7 - endif # buildbits - endif # CC 5.0 - endif # compat4 requested -endif # CC 5.0 or later - -CCFLAGS += $(TEMPLATES_FLAG) - -ifeq ($(shared_libs), 1) - ifneq ($(static_libs_only), 1) - - # Sun Studio 8 or better has version greater than 5.4 (Studio 8 == CC 5.5). - SUN_STUDIO_8_OR_BETTER := $(shell a=`echo $(CC_VERSION) | sed -e 's/[^0-9]*\([0-9]*\)\.\([0-9]*\).*$$/\1\2/g'`; if test "$$a" -gt 54; then echo 1; else echo 0; fi) - - # Take advantage of Sun Studio 8 (v5.5) symbol scopes to - # generate improved shared library binaries. - ifeq ($(SUN_STUDIO_8_OR_BETTER),1) - ifneq ($(no_hidden_visibility),1) - CCFLAGS += -xldscope=hidden - else - CPPFLAGS += -DACE_HAS_CUSTOM_EXPORT_MACROS=0 - endif # no_hidden_visibility - endif # Sun Studio 8 (C++ 5.5) or better. - endif # static_libs_only -endif # shared_libs - -LD = $(CXX) -ifeq ($(distrib),0) - LDFLAGS += -R $(ACE_ROOT)/lib -R./ -endif - -# Get common Solaris settings -include $(ACE_ROOT)/include/makeinclude/platform_sunos5_common.GNU - -LIBS += -lsocket -lrt -laio -ldl -lnsl -lgen -lposix4 -ladm - -# Support alternate CC libraries (i.e. STLport, Tools.h++, Cstd) -# See: http://docs.sun.com/app/docs/doc/820-7599/bkaty?a=view -ifeq ($(stlport),1) - CC_LIBRARY = stlport4 - PLATFORM_STLPORT_CCFLAGS += -library=$(CC_LIBRARY) - PLATFORM_STLPORT_LDFLAGS += -library=$(CC_LIBRARY) -else - ifeq ($(rwtools),1) - ifeq ($(stdcpplib),1) - CC_LIBRARY = rwtools7_std - else - CC_LIBRARY = rwtools7,iostream - CPPFLAGS += -DACE_USES_OLD_IOSTREAMS - endif - else # default - ifeq ($(stdcpplib),1) - CC_LIBRARY = Cstd - else - CC_LIBRARY = no%Cstd,iostream - CPPFLAGS += -DACE_USES_OLD_IOSTREAMS - endif - endif - CCFLAGS += -library=$(CC_LIBRARY) - LDFLAGS += -library=$(CC_LIBRARY) -endif - -### CC 5.10 enables annotation support by default; allow user to override -### new behavior. This also provides a work around for 64-bit linker crashes, -### see: http://defect.opensolaris.org/bz/show_bug.cgi?id=9720 -ifeq (C++ 5.10,$(findstring C++ 5.10,$(CC_VERSION))) - ifeq ($(no_annotations),1) - LDFLAGS += -xannotate=no - endif -endif - -LDFLAGS += -xildoff - -OCFLAGS += -xO4 -PIC = -KPIC -AR = CC -ARFLAGS = -xar -o -RANLIB = echo -SOFLAGS += -G $(CPPFLAGS) - -# The correct flags to pass to the linker for ELF dynamic shared library -# versioning. This knows that wrapper_macros.GNU will set versioned_so to -# 1 if it's not set. So, the only way SOFLAGS should _not_ get this is if -# versioned_so has been explicitly disabled. -# -ifeq ($(versioned_so),1) - SOFLAGS += -h $(SONAME) -endif - -ifdef CLEANUP_BIN - #### Builds .shobj/$*.o file, then .shobj/$*.so file. The .o files - #### are used for building libraries and executables. But, it seems - #### to be necessary to build the .so files (with -G) in order to get - #### all template instantiations. - SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(SOLINK.cc) -o $@ -h $@ $(LDFLAGS) $(VSHDIR)$*.o -else - #### Optimize builds when no executables are built in the current - #### directory. Only a library is being created, and -G is used - #### in that step. Therefore, all templates instantations are - #### included in the library. This optimization saves almost 11 Mb - #### (2.6 percent) and 27 minutes (22 percent) on the entire ACE - #### build on a 168 MHz Sun Ultra2. - #### - #### Sun C++ won't allow the output from a compile to be named with - #### a .so extension. Rather than muck with the ACE build rules and - #### risk upsetting builds on other platforms, just ln the output - #### after building it. - SOBUILD = $(RM) $@; $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $< && \ - /bin/ln $(VSHDIR)$*.o $@ -endif # CLEANUP_BIN diff --git a/dep/ACE_wrappers/include/makeinclude/platform_tandem.GNU b/dep/ACE_wrappers/include/makeinclude/platform_tandem.GNU deleted file mode 100644 index 86b68fe42..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_tandem.GNU +++ /dev/null @@ -1,91 +0,0 @@ -# $Id: platform_tandem.GNU 91285 2010-08-05 08:29:30Z johnnyw $ - -# NonStop-UX NCC 3.20 - -debug = 1 - -# Please see the config-NonS... file for more information about status -# This file is built from Sunos5(os) and sgic++(compiler) - -CC = cc -CXX = NCC -DLD = $(CXX) -LD = $(CXX) -CPPFLAGS += -I/usr/include3.18 -CPPFLAGS += -D_REENTRANT -#CPPFLAGS += -ptused -prelink -CPPFLAGS += -pta -#CPPFLAGS += +pp -#CPPFLAGS += -show -#-D_SGI_MP_SOURCE -#3106 nested comment is not allowed -#3203 statement is unreachable -#3252 argument of type "X" is incompatible with parameter of type "Y" -#3262 Parameter "X" declared and never referenced -#3611 a value of "X" cannot be assigned to an entity of type "Y" -#3140 macro redefined differently (param redefines NULL) - -CPPFLAGS += -woff 3106,3203,3262 -#CPPFLAGS += -woff 3106,3203,3262,3611,3252 -#CPPFLAGS += -woff 3106,3203,3212,3252,3262,3611 - -# For the new 32 bit C++ compiler (-n32) -#CPPFLAGS += -n32 -woff 1174,1209,1375,1506,1110,1552,1021,1171 -# For the old C++ compiler (-32) -#CPPFLAGS += +pp -LDFLAGS += -rpath "$(ACE_ROOT)/lib" -#LDFLAGS += -Wl,-woff,85 -LIBS += -lsocket -LIBS += -ldl -LIBS += -lnsl -LIBS += -lgen -LIBS += -lthread -PIC = -KPIC -AR = ar -ARFLAGS = r -RANLIB = echo -SOFLAGS += -shared $(CPPFLAGS) -all -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o - -#3106 nested comment is not allowed -#3203 statement is unreachable -#3252 argument of type "X" is incompatible with parameter of type "Y" -#3262 Parameter declared and never referenced -#3611 a value of "X" cannot be assigned to an entity of type "Y" -#WARNOFF += -woff 3106,3203,3262,3611 -#INCDIR += -I/usr/include -I/usr/include3.18 -# -I /usr/ucbinclude -#### No threads -#CCFLAGS += -pta $(WARNOFF) $(INCDIR) -#### Threads -#CCFLAGS += -D_REENTRANT -pta $(WARNOFF) - -#DLD = $(CXX) -#LD = $(CXX) -#LDFLAGS += -R $(ACE_ROOT)/lib -#LIBS += -lsocket -ldl -lnsl -lgen -lthread # Threads -#LIBS += -lsocket -ldl -lnsl -lgen # No threads -#PIC = -PIC -# SUNC++ 4.1 has a bug with the -xar command: -# -# from 'CC -readme' the following bug is reported: -# -# 4. Using -xar to add generated templates -# ---------------------------------------- -# -# When using -xar to add generated templates to an archive, -# please be aware that this command will both update -# existing object files in the archive, and add new ones. -# Existing object files that may be obsolete will still -# be present. In these cases, the safest course of action -# would be to delete the .a file prior to the invocation of -xar. -# -# so here we remove the archive prior to making the new one -# -#AR = CC -#ARFLAGS = -xar -o -#RANLIB = echo -#SOFLAGS = -G $(CPPFLAGS) -#SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(SOLINK.cc) -o $@ -h $@ $(LDFLAGS) $(VSHDIR)$*.o diff --git a/dep/ACE_wrappers/include/makeinclude/platform_vxworks.GNU b/dep/ACE_wrappers/include/makeinclude/platform_vxworks.GNU deleted file mode 100644 index ffc148aeb..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_vxworks.GNU +++ /dev/null @@ -1,32 +0,0 @@ -# $Id: platform_vxworks.GNU 87036 2009-10-10 18:21:39Z johnnyw $ -# VxWorks main platform file. This requires that you have set the WIND_PLATFORM -# environmeht variable - -ifeq (,$(WIND_PLATFORM)) - default: - @ERROR: you must set your WIND_PLATFORM environment variable -endif # WIND_BASE - -ifeq (vxworks-6.2, $(findstring vxworks-6.2,$(WIND_PLATFORM))) - include $(ACE_ROOT)/include/makeinclude/platform_vxworks6.2.GNU -endif -ifeq (vxworks-6.3, $(findstring vxworks-6.3,$(WIND_PLATFORM))) - include $(ACE_ROOT)/include/makeinclude/platform_vxworks6.3.GNU -endif -ifeq (vxworks-6.4, $(findstring vxworks-6.4,$(WIND_PLATFORM))) - include $(ACE_ROOT)/include/makeinclude/platform_vxworks6.4.GNU -endif -ifeq (vxworks-6.5, $(findstring vxworks-6.5,$(WIND_PLATFORM))) - include $(ACE_ROOT)/include/makeinclude/platform_vxworks6.5.GNU -endif -ifeq (vxworks-6.6, $(findstring vxworks-6.6,$(WIND_PLATFORM))) - include $(ACE_ROOT)/include/makeinclude/platform_vxworks6.6.GNU -endif -ifeq (vxworks-6.7, $(findstring vxworks-6.7,$(WIND_PLATFORM))) - include $(ACE_ROOT)/include/makeinclude/platform_vxworks6.7.GNU -endif -ifeq (vxworks-6.8, $(findstring vxworks-6.8,$(WIND_PLATFORM))) - include $(ACE_ROOT)/include/makeinclude/platform_vxworks6.8.GNU -endif - - diff --git a/dep/ACE_wrappers/include/makeinclude/platform_vxworks5.5.x.GNU b/dep/ACE_wrappers/include/makeinclude/platform_vxworks5.5.x.GNU deleted file mode 100644 index 7db2709b0..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_vxworks5.5.x.GNU +++ /dev/null @@ -1,343 +0,0 @@ -# $Id: platform_vxworks5.5.x.GNU 91285 2010-08-05 08:29:30Z johnnyw $ -# VxWorks 5.5.x (x > 0). - -#### Notes: -#### 1) This file requires that the WIND_BASE and WIND_HOST_TYPE environment -#### variables be set. If the target CPU is not SIMNT, then your CPU -#### environment variable must be set. -#### 2) If you have problems with munch output not being compilable -#### because it contains identifiers with ".", e.g., ".cpp", in them: -#### add a global variable or function to that .cpp file. See -#### ace/IOStream_T.cpp for an explanation and example. -#### 3) The TOOL environment variable may be set to "diab" (default is "gnu"). -#### 4) If perl is not on your path, you'll also need to set your PERL_PATH -#### environment variable to the full path to perl. - -VXWORKS = 1 -CROSS-COMPILE = 1 - -ifneq (,$(HOST_ROOT)) - TAO_IDLFLAGS += -g $(HOST_ROOT)/bin/ace_gperf -ifeq ("$(WIND_HOST_TYPE)","x86-win32") - TAO_IDL = $(HOST_ROOT)/bin/tao_idl.exe - TAO_IDL3_TO_IDL2 = $(HOST_ROOT)/TAO/CIAO/bin/tao_idl3_to_idl2.exe -else - TAO_IDL = $(HOST_ROOT)/bin/tao_idl - TAO_IDL3_TO_IDL2 = $(HOST_ROOT)/TAO/CIAO/bin/tao_idl3_to_idl2 -endif -TAO_IDL_DEP = $(TAO_IDL) -TAO_IDL3_TO_IDL2_DEP = $(TAO_IDL3_TO_IDL2) -endif - -debug ?= 1 -optimize ?= 1 -threads ?= 1 -xerces ?= 0 -versioned_so ?= 0 - -ifeq ($(static_libs),1) - shared_libs = 0 -else - static_libs = 0 -endif -ifeq ($(static_libs_only),1) - shared_libs = 0 -endif - -# VxWorks doesn't have rwho -rwho = 0 - -ifeq (,$(WIND_BASE)) - default: - @ERROR: you must set your WIND_BASE environment variable -endif # WIND_BASE - -ifeq (,$(WIND_HOST_TYPE)) - default: - @ERROR: you must set your WIND_HOST_TYPE environment variable -endif # WIND_HOST_TYPE - -ifeq ("$(WIND_HOST_TYPE)","x86-win32") -ifneq ($(MAKE_MODE), unix) -vxworks_ntbuild = 1 -MKDIR_NTSTYLE = 1 -lacks_touch = 1 -endif -endif - -HOST_DIR = $(WIND_BASE)/host/$(WIND_HOST_TYPE) - -ifeq (,$(PERL_PATH)) - PERL_PATH = perl -endif # ! PERL_PATH - -ifeq ($(VXWORKS_VERSION_FLAG),) - VXWORKS_VERSION_FLAG = -DACE_VXWORKS=0x551 -endif # VXWORKS_VERSION_FLAG - -ifeq ($(TOOL),) - override TOOL = gnu -else - override TOOL := $(TOOL) -endif -override TOOL_FAMILY := $(TOOL) - -ifeq ("$(TOOL)","gnu") - templates ?= automatic -endif - -PRJ_TYPE = vxApp -TARGET_DIR = $(WIND_BASE)/target/h -TGT_DIR = $(WIND_BASE)/target -MEDUSA_DIR = $(WIND_BASE)/target/h/make/config/featureSet -PID_DIR = $(MEDUSA_DIR)/pid -PCD_DIR = $(MEDUSA_DIR)/pcd -PNE_DIR = $(MEDUSA_DIR)/pne - -PID_INSTALLED = $(shell test -d $(PID_DIR) && echo 1) -PCD_INSTALLED = $(shell test -d $(PCD_DIR) && echo 1) -PNE_INSTALLED = $(shell test -d $(PNE_DIR) && echo 1) - -ifeq ($(PID_INSTALLED),1) - CCFLAGS += -DACE_HAS_VXWORKS551_PID - CFLAGS += -DACE_HAS_VXWORKS551_PID -endif -ifeq ($(PCD_INSTALLED),1) - CCFLAGS += -DACE_HAS_VXWORKS551_PCD - CFLAGS += -DACE_HAS_VXWORKS551_PCD -endif -ifeq ($(PNE_INSTALLED),1) - CCFLAGS += -DACE_HAS_VXWORKS551_PNE - CFLAGS += -DACE_HAS_VXWORKS551_PNE -endif - -ifeq ($(CPU),) - # default CPU - CPU = SIMNT -else - override CPU := $(CPU) -endif - -ifeq ($(findstring PPC, $(CPU)), PPC) - CCFLAGS += -mlongcall - CFLAGS += -mlongcall -endif - -ifeq ($(shared_libs),1) - SHARED_LIBS = 1 -endif -ifeq ($(shared_libs_only),1) - SHARED_LIBS = 1 -endif - -ifeq ($(SHARED_LIBS),1) - ACELIB = -L./ - #### There's no difference between non-shared and shared object code. - VSHDIR = $(VDIR) -endif # shared_libs - -BIN_UNCHECKED ?= -SHLIB_UNCHECKED ?= - -ifneq ("$(BIN_UNCHECKED)","") -VX_APP_BUILD := 1 -else - ifeq ($(SHARED_LIBS),1) - ifneq ("$(SHLIB_UNCHECKED)","") - VX_SO_BUILD := 1 - endif - endif - ifneq ($(VX_SO_BUILD),1) - VX_LIB_BUILD := 1 - endif -endif - -ifneq ($(VX_LIB_BUILD),1) - VXWORKSLINK = 1 - ifeq ($(VX_APP_BUILD),1) - ## set variables for VxWorks linktarget identification - PRJ_FILE = $(basename $(notdir $(BIN_UNCHECKED))).vxworks - EXEEXT = .out - PRJ_DIR = . - CLEANUP_OBJS := ctdt.c $(PRJ_DIR)/$(PRJ_FILE) $(CLEANUP_OBJS) - else - ## set variables for VxWorks .SO linktarget identification - PRJ_FILE = $(basename $(notdir $(SHLIB_UNCHECKED))).vxworks - PRJ_DIR = . - CLEANUP_OBJS := ctdt.c $(PRJ_DIR)/$(PRJ_FILE) *.out $(CLEANUP_OBJS) - endif -endif - -include $(TARGET_DIR)/make/defs.default -include $(TARGET_DIR)/make/defs.$(WIND_HOST_TYPE) -include $(TARGET_DIR)/make/defs.$(PRJ_TYPE) -include $(TARGET_DIR)/tool/$(TOOL_FAMILY)/make.$(CPU)$(TOOL) - -no_cflags_ansi ?= 0 -ifeq ($(no_cflags_ansi), 1) - ifeq ("$(TOOL_FAMILY)","gnu") - CC_COMPILER := $(filter-out -ansi, $(CC_COMPILER)) - else - CC_COMPILER := $(filter-out -Xansi, $(CC_COMPILER)) - endif -endif - -no_ccflags_ansi ?= 0 -ifeq ($(no_ccflags_ansi), 1) - ifeq ("$(TOOL_FAMILY)","gnu") - C++_COMPILER := $(filter-out -ansi, $(C++_COMPILER)) - else - C++_COMPILER := $(filter-out -Xansi, $(C++_COMPILER)) - endif -endif - -## make sure we don't use that stupid, crippled vxrm.bat script. -override RM=rm -f - -ifeq ($(VXWORKSLINK), 1) - # prevent possible clash with static LIB rules - # in VxWorks make includes and rules.lib.GNU - override ARCHIVE = - override LARGE_PROJECT = - PRJ_OBJS = $(addprefix $(VDIR), $(OBJS)) $(VSHOBJS) - ifeq ($(SHARED_LIBS),1) - ##LD_PARTIAL += -L$(ACE_ROOT)/lib -L./ $(LDLIBPATH) $(LD_LINK_PATH) - PRJ_OBJS_FOR_LD_PARTIAL=$(addprefix $(VDIR), $(OBJS)) $(VSHOBJS) - ifeq ($(VX_SO_BUILD),1) - ## Shared lib builds for VxWorks will also build 'import' libraries - LIB_INSTALL += $(VLIB:%=$(INSLIB)/%) - CLEANUP_INSTALL += $(CLEANUP_VLIB:%=$(INSLIB)/%) - REALCLEAN_FILES += $(CLEANUP_LIB:%=%) $(CLEANUP_LIB:%=%_debug) $(CLEANUP_LIB:%=%_profile) $(CLEANUP_LIB:%=%_optimize) - endif - else - LD_PARTIAL += -L$(ACE_ROOT)/ace -L./ $(LDLIBPATH) $(LD_LINK_PATH) - ifeq (1,$(repo)) - PRJ_OBJS_FOR_LD_PARTIAL=$(addprefix $(VDIR), $(OBJS)) $(VSHOBJS) $(shell set AR=$(AR) && set RANLIB=$(RANLIB) && perl $(ACE_ROOT)/bin/vx_repo_link.pl $(VLDLIBS)) $(ACE_SHLIBS) - ifneq (1,$(VX_KEEP_PRELINK_LIB)) - POSTLINK = rmdir /s/q .lib && rmdir /s/q $(subst /,\,$(VDIR)) - REALCLEAN_FILES += .lib - else - POSTLINK = rmdir /s/q $(subst /,\,$(VDIR)) - endif - else - PRJ_OBJS_FOR_LD_PARTIAL=$(addprefix $(VDIR), $(OBJS)) $(VSHOBJS) $(VLDLIBS) $(ACE_SHLIBS) - endif - endif - PRJ_OBJS_FOR_LD=$(addprefix $(VDIR), $(OBJS)) $(VSHOBJS) - PRJ_OBJS_FOR_NM=$(addprefix $(VDIR), $(OBJS)) $(VSHOBJS) - PRJ_OBJS_FOR_AR=$(addprefix $(VDIR), $(OBJS)) $(VSHOBJS) - POST_BUILD_RULE = $(POSTLINK) - COMPILE_TRADITIONAL = $(CC) $(OPTION_OBJECT_ONLY) $(OPTION_DOLLAR_SYMBOLS)\ - $(filter-out -ansi, $(CFLAGS)) - - ## make sure default target stays the ACE/TAO default target - ## -default: all - -endif - -CPPFLAGS += $(VXWORKS_VERSION_FLAG) - -ifeq ($(debug),1) - DCFLAGS += -g - DCCFLAGS += -g - CPPFLAGS += -endif - -ifeq ("$(TOOL)","gnu") -# Test for template instantiation, add to SOFLAGS if SONAME set, -# add -E to LDFLAGS if using GNU ld -include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU - -ifeq ("$(templates)","automatic") - ifdef repo - ifeq ($(VXWORKSLINK),1) - ifeq ($(VX_APP_BUILD),1) - ifneq ($(SHARED_LIBS),1) - LD_PARTIAL += -frepo - endif - endif - else - #ace_lib_prelink := 1 - LINK.cc = override - LINK.cc.override = $(LD_PARTIAL) -frepo - LDFLAGS = $(ACE_SHLIBS) - endif - else - C++FLAGS += -fmerge-templates - endif -endif - -# TEMPLATES_FLAG is set by platform_g++_common.GNU -ifneq ($(TEMPLATES_FLAG),) # If specified, add it to the CCFLAGS - CPPFLAGS += $(TEMPLATES_FLAG) -endif -endif # TOOL == gnu - -ifeq ("$(TOOL)","diab") - C++FLAGS += -Xexceptions -endif -else -ifeq ("$(TOOL)","gnu") -C++FLAGS += -ftemplate-depth-50 -C++FLAGS += -fexceptions -endif -endif - -ifneq ($(findstring $(VX_CPU_FAMILY),ppc arm),) -ifeq ("$(TOOL)","diab") - C++FLAGS += -Xchar-signed -else -ifeq ("$(TOOL)","gnu") - C++FLAGS += -fsigned-char -endif -endif -endif - -ifeq ($(CPU),SIMNT) -override MUNCH_FLAGS := -asm $(TOOLENV) -endif - -ifneq ($(optimize),1) - CC_OPTIM_NORMAL = -endif - -CCFLAGS += $(C++FLAGS) - -PIC = - -ifeq ($(VXWORKSLINK),1) - - ifdef repo - ifeq ($(SHARED_LIBS),1) - BACKUP_RPO_RULE = for %f in ($(basename $(addprefix $(VDIR), $(OBJS)) $(VSHOBJS))) do if exist %f.rpo mv %f.rpo %f.rpobak $(ACE_NUL_STDERR) - POST_BUILD_RULE = for %f in ($(basename $(addprefix $(VDIR), $(OBJS)) $(VSHOBJS))) do if exist %f.rpobak mv %f.rpobak %f.rpo $(ACE_NUL_STDERR) - endif - endif - -.PHONY: $(PRJ_DIR)/$(PRJ_FILE) - ## special target to satisfy VxWorks dependencies for images -$(PRJ_DIR)/$(PRJ_FILE): - ifdef repo - ifeq ($(SHARED_LIBS),1) - #### execute prelink step to make compiler instantiate all needed - #### templates; discard image and repo files (*.rpo) after linkstep - #### this step holds for both .SO as well as 'app' images so use both VSHOBJS and OBJS - -$(LD_PARTIAL) -frepo -L$(ACE_ROOT)/ace -L./ $(LDLIBPATH) $(LD_LINK_PATH)$(LINK_OUTPUT_FLAG) ace-templ_inst $? $(ACE_SHLIBS) $(addprefix $(VDIR), $(OBJS)) $(VSHOBJS) - -$(RM) ace-templ_inst - #### We need to backup the .RPO files or otherwise the link step of the final image will - #### start instantiating templates again even if we do not specify '-frepo'! - -$(BACKUP_RPO_RULE) - ifeq ($(VX_SO_BUILD),1) - #### build library of objects in .SO to use as a sort of import library for VxWorks - echo $(filter %.o, $(VSHOBJS)) | xargs $(AR) $(ARFLAGS) $(VLIB) $(AREXTRA) - -chmod a+r $(VLIB) - ifneq (,$(RANLIB)) - -$(RANLIB) $(VLIB) - endif # RANLIB - endif # VX_SO_BUILD - endif - endif - @echo 1>$@ - -endif diff --git a/dep/ACE_wrappers/include/makeinclude/platform_vxworks6.2.GNU b/dep/ACE_wrappers/include/makeinclude/platform_vxworks6.2.GNU deleted file mode 100644 index ce97a323d..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_vxworks6.2.GNU +++ /dev/null @@ -1,382 +0,0 @@ -# -*- Makefile -*- -# $Id: platform_vxworks6.2.GNU 91285 2010-08-05 08:29:30Z johnnyw $ -# VxWorks 6.2 - -#### Notes: -#### 1) This file requires that the WIND_BASE and WIND_HOST_TYPE environment -#### variables be set. If the target CPU is not SIMNT, then your CPU -#### environment variable must be set. -#### 2) If you have problems with munch output not being compilable -#### because it contains identifiers with ".", e.g., ".cpp", in them: -#### add a global variable or function to that .cpp file. See -#### ace/IOStream_T.cpp for an explanation and example. -#### 3) The TOOL environment variable may be set to "diab" (default is "gnu"). -#### 4) If perl is not on your path, you'll also need to set your PERL_PATH -#### environment variable to the full path to perl. - -VXWORKS = 1 -CROSS-COMPILE = 1 - -debug ?= 1 -optimize ?= 1 -threads ?= 1 -rtp ?= 1 -ifeq ($(rtp),0) - pthread ?= 0 -else - pthread ?= 1 -endif -xerces ?= 0 -aio ?= 0 -versioned_so ?= 0 - -ifeq ($(static_libs),1) - shared_libs = 0 -else - static_libs = 0 -endif -ifeq ($(static_libs_only),1) - shared_libs = 0 -endif - -# VxWorks doesn't have rwho -rwho = 0 - -ifeq (,$(WIND_BASE)) - default: - @ERROR: you must set your WIND_BASE environment variable -endif # WIND_BASE - -ifeq (,$(WIND_HOST_TYPE)) - default: - @ERROR: you must set your WIND_HOST_TYPE environment variable -endif # WIND_HOST_TYPE - -ifeq ("$(WIND_HOST_TYPE)","x86-win32") - vxworks_ntbuild ?= 0 - mingw32 ?= 1 - lacks_touch ?= 0 - PWD=$(subst \,/,$(shell pwd)) - ACE_ROOT:=$(subst \,/,$(ACE_ROOT)) - TAO_ROOT:=$(subst \,/,$(TAO_ROOT)) - CIAO_ROOT:=$(subst \,/,$(CIAO_ROOT)) - HOST_ROOT:=$(subst \,/,$(HOST_ROOT)) - override RM=rm -f -endif # x86-win32 - -ifneq (,$(HOST_ROOT)) -TAO_IDLFLAGS += -g $(HOST_ROOT)/bin/ace_gperf -ifeq ("$(WIND_HOST_TYPE)","x86-win32") - TAO_IDL = $(HOST_ROOT)/bin/tao_idl.exe - TAO_IDL3_TO_IDL2 = $(HOST_ROOT)/TAO/CIAO/bin/tao_idl3_to_idl2.exe -else - TAO_IDL = $(HOST_ROOT)/bin/tao_idl - TAO_IDL3_TO_IDL2 = $(HOST_ROOT)/bin/tao_idl3_to_idl2 -endif -TAO_IDL_DEP = $(TAO_IDL) -TAO_IDL3_TO_IDL2_DEP = $(TAO_IDL3_TO_IDL2) -endif - -HOST_DIR = $(WIND_BASE)/host/$(WIND_HOST_TYPE) - -ifeq (,$(PERL_PATH)) - PERL_PATH = perl -endif # ! PERL_PATH - -ifeq ($(VXWORKS_VERSION_FLAG),) - VXWORKS_VERSION_FLAG = -DACE_VXWORKS=0x620 -endif # VXWORKS_VERSION_FLAG - -ifeq ($(TOOL),) - override TOOL = gnu -else - override TOOL := $(TOOL) -endif -ifeq ($(TOOL_FAMILY),) - ifeq ($(findstring gnu,$(TOOL)),gnu) - override TOOL_FAMILY := gnu - else - override TOOL_FAMILY := diab - endif -endif - -ifeq ("$(TOOL_FAMILY)","gnu") - templates ?= automatic -endif - -ifeq ($(rtp),0) - ifeq ($(findstring PPC, $(CPU)), PPC) - CPPFLAGS += -mlongcall - endif - PRJ_TYPE = vxApp -endif - -ifeq ($(rtp),1) - TARGET_DIR = $(WIND_BASE)/target/usr -else - TARGET_DIR = $(WIND_BASE)/target/h -endif -TGT_DIR = $(WIND_BASE)/target - -ifeq ($(CPU),) - # default CPU - CPU = SIMNT -else - override CPU := $(CPU) -endif - -ifeq ($(shared_libs),1) - SHARED_LIBS = 1 -endif -ifeq ($(shared_libs_only),1) - SHARED_LIBS = 1 -endif - -ifeq ($(rtp),0) - ifeq ($(SHARED_LIBS),1) - ACELIB = -L./ - #### There's no difference between non-shared and shared object code. - VSHDIR = $(VDIR) - endif # shared_libs -endif - -BIN_UNCHECKED ?= -SHLIB_UNCHECKED ?= - -ifneq ("$(BIN_UNCHECKED)","") -VX_APP_BUILD := 1 -else - ifeq ($(SHARED_LIBS),1) - ifneq ("$(SHLIB_UNCHECKED)","") - VX_SO_BUILD := 1 - endif - endif - ifneq ($(VX_SO_BUILD),1) - VX_LIB_BUILD := 1 - endif -endif - -ifneq ($(VX_LIB_BUILD),1) - ifeq ($(rtp),0) - VXWORKSLINK = 1 - endif - ifeq ($(VX_APP_BUILD),1) - ## set variables for VxWorks linktarget identification - ifeq ($(rtp),0) - EXEEXT = .out - PRJ_FILE = $(basename $(notdir $(BIN_UNCHECKED))).vxworks - else - PRJ_FILE = $(basename $(notdir $(BIN_UNCHECKED))).vxe - EXEEXT = .vxe - VXE_DIR := $(OUTPUT_DIRECTORY) - EXE = $(BIN_UNCHECKED) - endif - PRJ_DIR = . - CLEANUP_OBJS := ctdt.c $(PRJ_DIR)/$(PRJ_FILE) $(CLEANUP_OBJS) - else - ## set variables for VxWorks .SO linktarget identification - PRJ_FILE = $(basename $(notdir $(SHLIB_UNCHECKED))).vxworks - PRJ_DIR = . - CLEANUP_OBJS := ctdt.c $(PRJ_DIR)/$(PRJ_FILE) *.out $(CLEANUP_OBJS) - endif -endif - -ifeq ($(rtp),1) - include $(WIND_USR)/make/defs.default - include $(WIND_USR)/make/defs.$(WIND_HOST_TYPE) - include $(WIND_USR)/tool/$(TOOL_FAMILY)/make.$(CPU)$(TOOL) - CPPFLAGS += -mrtp - LDFLAGS := $(filter-out -X, $(LDFLAGS)) - LDFLAGS := $(filter-out -N, $(LDFLAGS)) - LD := $(CPLUS) - DLD := $(CPLUS) - - ifeq ($(SHARED_LIBS), 1)) - ifeq ($(PRJ_TYPE),library) - PICDIR = /PIC - endif - endif - - ifeq ($(findstring *sf,*$(TOOL)),*sf) - LDFLAGS += -L$(WIND_USR)/lib/$(VX_CPU_FAMILY)/$(CPU)/sfcommon$(PICDIR) - else - LDFLAGS += -L$(WIND_USR)/lib/$(VX_CPU_FAMILY)/$(CPU)/common$(PICDIR) - endif - - LDLIBS += -ldl -else - include $(TGT_DIR)/h/make/defs.default - include $(TGT_DIR)/h/make/defs.$(WIND_HOST_TYPE) - include $(TGT_DIR)/h/make/defs.$(PRJ_TYPE) - include $(TGT_DIR)/h/tool/$(TOOL_FAMILY)/make.$(CPU)$(TOOL) -endif - -no_cflags_ansi ?= 0 -ifeq ($(no_cflags_ansi), 1) - ifeq ("$(TOOL_FAMILY)","gnu") - CC_COMPILER := $(filter-out -ansi, $(CC_COMPILER)) - else - CC_COMPILER := $(filter-out -Xansi, $(CC_COMPILER)) - endif -endif - -no_ccflags_ansi ?= 0 -ifeq ($(no_ccflags_ansi), 1) - ifeq ("$(TOOL_FAMILY)","gnu") - C++_COMPILER := $(filter-out -ansi, $(C++_COMPILER)) - else - C++_COMPILER := $(filter-out -Xansi, $(C++_COMPILER)) - endif -endif - -ifeq ($(VXWORKSLINK),1) - # prevent possible clash with static LIB rules - # in VxWorks make includes and rules.lib.GNU - override ARCHIVE = - override LARGE_PROJECT = - PRJ_OBJS = $(addprefix $(VDIR), $(OBJS)) $(VSHOBJS) - ifeq ($(SHARED_LIBS),1) - ##LD_PARTIAL += -L$(ACE_ROOT)/lib -L./ $(LDLIBPATH) $(LD_LINK_PATH) - PRJ_OBJS_FOR_LD_PARTIAL=$(addprefix $(VDIR), $(OBJS)) $(VSHOBJS) - ifeq ($(VX_SO_BUILD),1) - ## Shared lib builds for VxWorks will also build 'import' libraries - LIB_INSTALL += $(VLIB:%=$(INSLIB)/%) - CLEANUP_INSTALL += $(CLEANUP_VLIB:%=$(INSLIB)/%) - REALCLEAN_FILES += $(CLEANUP_LIB:%=%) $(CLEANUP_LIB:%=%_debug) $(CLEANUP_LIB:%=%_profile) $(CLEANUP_LIB:%=%_optimize) - endif - else - LD_PARTIAL += -L$(ACE_ROOT)/ace -L./ $(LDLIBPATH) $(LD_LINK_PATH) $(LD_PARTIALFLAGS) - PRJ_OBJS_FOR_LD_PARTIAL=$(addprefix $(VDIR), $(OBJS)) $(VSHOBJS) $(VLDLIBS) $(ACE_SHLIBS) $(LIBS) - endif - PRJ_OBJS_FOR_LD=$(addprefix $(VDIR), $(OBJS)) $(VSHOBJS) - PRJ_OBJS_FOR_NM=$(addprefix $(VDIR), $(OBJS)) $(VSHOBJS) - PRJ_OBJS_FOR_AR=$(addprefix $(VDIR), $(OBJS)) $(VSHOBJS) - POST_BUILD_RULE = $(POSTLINK) - COMPILE_TRADITIONAL = $(CC) $(OPTION_OBJECT_ONLY) $(OPTION_DOLLAR_SYMBOLS)\ - $(filter-out -ansi, $(CFLAGS)) - - ## make sure default target stays the ACE/TAO default target - ## -default: all - -endif - -CPPFLAGS += $(VXWORKS_VERSION_FLAG) - -ifeq ($(debug),1) - DCFLAGS += -g - DCCFLAGS += -g - CPPFLAGS += -endif - -ifeq ($(pthread),1) - CPPFLAGS += -DACE_HAS_PTHREADS -endif - -ifeq ("$(TOOL_FAMILY)","gnu") -# Test for template instantiation, add to SOFLAGS if SONAME set, -# add -E to LDFLAGS if using GNU ld -include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU - -ifeq ("$(templates)","automatic") -ifeq ($(repo),1) -ifeq ($(VXWORKSLINK),1) - ifeq ($(VX_APP_BUILD),1) - ifneq ($(SHARED_LIBS),1) - LD_PARTIAL += -frepo - endif - endif -else - ifeq ($(rtp),0) - ace_lib_prelink := 1 - LINK.cc = override - LINK.cc.override = $(LD_PARTIAL) -frepo -L$(ACE_ROOT)/ace -L$(INSLIB) -L./ $(LDLIBPATH) $(LD_LINK_PATH) - ifneq ($(SHARED_LIBS),1) - LDFLAGS = $(ACE_SHLIBS) - endif - endif -endif -endif -endif - -# TEMPLATES_FLAG is set by platform_g++_common.GNU -ifneq ($(TEMPLATES_FLAG),) # If specified, add it to the CCFLAGS - CPPFLAGS += $(TEMPLATES_FLAG) -endif -endif # TOOL_FAMILY == gnu - -ifeq ("$(TOOL_FAMILY)","diab") - C++FLAGS += -Xexceptions -else -ifeq ("$(TOOL_FAMILY)","gnu") - C++FLAGS += -fexceptions -endif -endif - -ifneq ($(findstring $(VX_CPU_FAMILY),ppc arm),) -ifeq ("$(TOOL_FAMILY)","diab") - C++FLAGS += -Xchar-signed -else -ifeq ("$(TOOL_FAMILY)","gnu") - C++FLAGS += -fsigned-char -endif -endif -endif - -ifeq ($(CPU),SIMNT) -override MUNCH_FLAGS := -asm $(TOOLENV) -endif - -ifneq ($(optimize),1) - CC_OPTIM_NORMAL = -endif - -CCFLAGS += $(C++FLAGS) - -ifeq (0,$(rtp)) -PIC = -else - ifeq ("$(TOOL)","diab") - PIC = -Xpic - else - ifeq ("$(TOOL)","gnu") - PIC = -fpic - endif -endif -endif - -ifeq ($(VXWORKSLINK),1) - - ifeq ($(repo),1) - ifeq ($(SHARED_LIBS),1) - BACKUP_RPO_RULE = for %f in ($(basename $(addprefix $(VDIR), $(OBJS)) $(VSHOBJS))) do if exist %f.rpo mv %f.rpo %f.rpobak $(ACE_NUL_STDERR) - POST_BUILD_RULE = for %f in ($(basename $(addprefix $(VDIR), $(OBJS)) $(VSHOBJS))) do if exist %f.rpobak mv %f.rpobak %f.rpo $(ACE_NUL_STDERR) - endif - endif - -.PHONY: $(PRJ_DIR)/$(PRJ_FILE) - ## special target to satisfy VxWorks dependencies for images -$(PRJ_DIR)/$(PRJ_FILE): - ifeq ($(repo),1) - ifeq ($(SHARED_LIBS),1) - #### execute prelink step to make compiler instantiate all needed - #### templates; discard image and repo files (*.rpo) after linkstep - #### this step holds for both .SO as well as 'app' images so use both VSHOBJS and OBJS - -$(LD_PARTIAL) -frepo -L$(ACE_ROOT)/ace -L./ $(LDLIBPATH) $(LD_LINK_PATH)$(LINK_OUTPUT_FLAG) ace-templ_inst $? $(ACE_SHLIBS) $(addprefix $(VDIR), $(OBJS)) $(VSHOBJS) - -$(RM) ace-templ_inst - #### We need to backup the .RPO files or otherwise the link step of the final image will - #### start instantiating templates again even if we do not specify '-frepo'! - -$(BACKUP_RPO_RULE) - ifeq ($(VX_SO_BUILD),1) - #### build library of objects in .SO to use as a sort of import library for VxWorks - echo $(filter %.o, $(VSHOBJS)) | xargs $(AR) $(ARFLAGS) $(VLIB) $(AREXTRA) - -chmod a+r $(VLIB) - ifneq (,$(RANLIB)) - -$(RANLIB) $(VLIB) - endif # RANLIB - endif # VX_SO_BUILD - endif - endif - @echo 1>$@ - -endif diff --git a/dep/ACE_wrappers/include/makeinclude/platform_vxworks6.3.GNU b/dep/ACE_wrappers/include/makeinclude/platform_vxworks6.3.GNU deleted file mode 100644 index 1dc24c800..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_vxworks6.3.GNU +++ /dev/null @@ -1,408 +0,0 @@ -# -*- Makefile -*- -# $Id: platform_vxworks6.3.GNU 91326 2010-08-09 16:04:31Z mitza $ -# VxWorks 6.3 - -#### Notes: -#### 1) This file requires that the WIND_BASE and WIND_HOST_TYPE environment -#### variables be set. If the target CPU is not SIMNT, then your CPU -#### environment variable must be set. -#### 2) If you have problems with munch output not being compilable -#### because it contains identifiers with ".", e.g., ".cpp", in them: -#### add a global variable or function to that .cpp file. See -#### ace/IOStream_T.cpp for an explanation and example. -#### 3) The TOOL environment variable may be set to "diab" (default is "gnu"). -#### 4) If perl is not on your path, you'll also need to set your PERL_PATH -#### environment variable to the full path to perl. - -VXWORKS = 1 -CROSS-COMPILE = 1 - -debug ?= 1 -optimize ?= 1 -threads ?= 1 -rtp ?= 1 -ifeq ($(rtp),0) - pthread ?= 0 -else - pthread ?= 1 -endif -xerces ?= 0 -aio ?= 0 -versioned_so ?= 0 -footprint ?= 0 - -ifeq ($(static_libs),1) - shared_libs = 0 -else - static_libs = 0 -endif -ifeq ($(static_libs_only),1) - shared_libs = 0 -endif - -# VxWorks doesn't have rwho -rwho = 0 - -ifeq (,$(WIND_BASE)) - default: - @ERROR: you must set your WIND_BASE environment variable -endif # WIND_BASE - -ifeq (,$(WIND_HOST_TYPE)) - default: - @ERROR: you must set your WIND_HOST_TYPE environment variable -endif # WIND_HOST_TYPE - -ifeq ("$(WIND_HOST_TYPE)","x86-win32") - vxworks_ntbuild ?= 0 - mingw32 ?= 1 - lacks_touch ?= 0 - PWD=$(subst \,/,$(shell pwd)) - ACE_ROOT:=$(subst \,/,$(ACE_ROOT)) - TAO_ROOT:=$(subst \,/,$(TAO_ROOT)) - CIAO_ROOT:=$(subst \,/,$(CIAO_ROOT)) - HOST_ROOT:=$(subst \,/,$(HOST_ROOT)) - override RM=rm -f - HOST_EXE_EXT = .exe -endif # x86-win32 - -ifneq (,$(HOST_ROOT)) -TAO_IDLFLAGS += -g $(HOST_ROOT)/bin/ace_gperf -TAO_IDL = $(HOST_ROOT)/bin/tao_idl$(HOST_EXE_EXT) -TAO_IDL3_TO_IDL2 = $(HOST_ROOT)/TAO/CIAO/bin/tao_idl3_to_idl2$(HOST_EXE_EXT) -TAO_IDL_DEP = $(TAO_IDL) -TAO_IDL3_TO_IDL2_DEP = $(TAO_IDL3_TO_IDL2) -else -# Append the HOST_EXE_EXT if it's not already there -TAO_IDL_DEP = $(TAO_IDL:$(HOST_EXE_EXT)=)$(HOST_EXE_EXT) -TAO_IDL3_TO_IDL2_DEP = $(TAO_IDL3_TO_IDL2:$(HOST_EXE_EXT)=)$(HOST_EXE_EXT) -endif - -HOST_DIR = $(WIND_BASE)/host/$(WIND_HOST_TYPE) - -ifeq (,$(PERL_PATH)) - PERL_PATH = perl -endif # ! PERL_PATH - -ifeq ($(VXWORKS_VERSION_FLAG),) - VXWORKS_VERSION_FLAG = -DACE_VXWORKS=0x630 -endif # VXWORKS_VERSION_FLAG - -ifeq ($(TOOL),) - override TOOL = gnu -else - override TOOL := $(TOOL) -endif -ifeq ($(TOOL_FAMILY),) - ifeq ($(findstring gnu,$(TOOL)),gnu) - override TOOL_FAMILY := gnu - else - override TOOL_FAMILY := diab - endif -endif - -ifeq ("$(TOOL_FAMILY)","gnu") - templates ?= automatic -endif - -ifeq ($(rtp),0) - ifeq ($(findstring PPC,$(CPU)),PPC) - CPPFLAGS += -mlongcall - endif - PRJ_TYPE = vxApp -endif - -ifeq ($(rtp),1) - TARGET_DIR = $(WIND_BASE)/target/usr -else - TARGET_DIR = $(WIND_BASE)/target/h -endif -TGT_DIR = $(WIND_BASE)/target - -ifeq ($(CPU),) - # default CPU - CPU = SIMNT -else - override CPU := $(CPU) -endif - -ifeq ($(shared_libs),1) - SHARED_LIBS = 1 -endif -ifeq ($(shared_libs_only),1) - SHARED_LIBS = 1 -endif - -ifeq ($(rtp),0) - ifeq ($(SHARED_LIBS),1) - ACELIB = -L./ - #### There's no difference between non-shared and shared object code. - VSHDIR = $(VDIR) - endif # shared_libs -endif - -BIN_UNCHECKED ?= -SHLIB_UNCHECKED ?= - -ifneq ("$(BIN_UNCHECKED)","") -VX_APP_BUILD := 1 -else - ifeq ($(SHARED_LIBS),1) - ifneq ("$(SHLIB_UNCHECKED)","") - VX_SO_BUILD := 1 - endif - endif - ifneq ($(VX_SO_BUILD),1) - VX_LIB_BUILD := 1 - endif -endif - -ifneq ($(VX_LIB_BUILD),1) - ifeq ($(rtp),0) - VXWORKSLINK ?= 1 - endif - ifeq ($(VX_APP_BUILD),1) - ## set variables for VxWorks linktarget identification - ifeq ($(rtp),0) - EXEEXT = .out - PRJ_FILE = $(basename $(notdir $(BIN_UNCHECKED))).vxworks - else - PRJ_FILE = $(basename $(notdir $(BIN_UNCHECKED))).vxe - EXEEXT = .vxe - VXE_DIR := $(OUTPUT_DIRECTORY) - EXE = $(BIN_UNCHECKED) - endif - PRJ_DIR = . - CLEANUP_OBJS := ctdt.c $(PRJ_DIR)/$(PRJ_FILE) $(CLEANUP_OBJS) - else - ## set variables for VxWorks .SO linktarget identification - PRJ_FILE = $(basename $(notdir $(SHLIB_UNCHECKED))).vxworks - PRJ_DIR = . - CLEANUP_OBJS := ctdt.c $(PRJ_DIR)/$(PRJ_FILE) *.out $(CLEANUP_OBJS) - endif -endif - -ifeq ($(rtp),1) - include $(WIND_USR)/make/defs.default - include $(WIND_USR)/tool/$(TOOL_FAMILY)/make.$(CPU)$(TOOL) - include $(WIND_USR)/make/defs.$(WIND_HOST_TYPE) - ifeq ("$(TOOL_FAMILY)","gnu") - CPPFLAGS += -mrtp - SOFLAGS += -mrtp - endif - ifeq ($(SHARED_LIBS), 1) - ifeq ($(aio),1) - CPPFLAGS += -DACE_HAS_AIO_CALLS - LIBS += AioPx - endif - ifeq ($(PRJ_TYPE),library) - PICDIR = /PIC - endif - endif - LDFLAGS := $(filter-out -X, $(LDFLAGS)) - LDFLAGS := $(filter-out -N, $(LDFLAGS)) - LD := $(CPLUS) - DLD := $(CPLUS) - WIND_USR_LIB ?= lib - ifeq ($(findstring *sf,*$(TOOL)),*sf) - LDFLAGS += -L$(WIND_USR)/$(WIND_USR_LIB)/$(VX_CPU_FAMILY)/$(CPU)/sfcommon$(PICDIR) - else - LDFLAGS += -L$(WIND_USR)/$(WIND_USR_LIB)/$(VX_CPU_FAMILY)/$(CPU)/common$(PICDIR) - endif -else - include $(TGT_DIR)/h/make/defs.default - include $(TGT_DIR)/h/make/defs.$(WIND_HOST_TYPE) - include $(TGT_DIR)/h/make/defs.$(PRJ_TYPE) - include $(TGT_DIR)/h/tool/$(TOOL_FAMILY)/make.$(CPU)$(TOOL) -endif - -ifeq ($(SHARED_LIBS), 1) -ifeq ("$(TOOL_FAMILY)","gnu") - ifeq ($(rtp),1) - PIC = -fpic - SOFLAGS += -fpic - LDFLAGS += -Wl,-rpath-link,$(ACE_ROOT)/lib - endif - SOFLAGS += -shared - LDFLAGS += -non-static -else - ifeq ($(rtp),1) - PIC = -Xpic - endif - SOFLAGS += -Xshared - LDFLAGS += -Xdynamic -endif -endif - -no_cflags_ansi ?= 0 -ifeq ($(no_cflags_ansi), 1) - ifeq ("$(TOOL_FAMILY)","gnu") - CC_COMPILER := $(filter-out -ansi, $(CC_COMPILER)) - else - CC_COMPILER := $(filter-out -Xansi, $(CC_COMPILER)) - endif -endif - -no_ccflags_ansi ?= 0 -ifeq ($(no_ccflags_ansi), 1) - ifeq ("$(TOOL_FAMILY)","gnu") - C++_COMPILER := $(filter-out -ansi, $(C++_COMPILER)) - else - C++_COMPILER := $(filter-out -Xansi, $(C++_COMPILER)) - endif -endif - -ifeq ($(footprint),1) - LD_PARTIALFLAGS += -Xlinker -M -Xlinker -Map -Xlinker $@.map -endif - -ifeq ($(VXWORKSLINK), 1) - # prevent possible clash with static LIB rules - # in VxWorks make includes and rules.lib.GNU - override ARCHIVE = - override LARGE_PROJECT = - PRJ_OBJS = $(addprefix $(VDIR), $(OBJS)) $(VSHOBJS) - ifeq ($(SHARED_LIBS),1) - ##LD_PARTIAL += -L$(ACE_ROOT)/lib -L./ $(LDLIBPATH) $(LD_LINK_PATH) - PRJ_OBJS_FOR_LD_PARTIAL=$(addprefix $(VDIR), $(OBJS)) $(VSHOBJS) - ifeq ($(VX_SO_BUILD),1) - ## Shared lib builds for VxWorks will also build 'import' libraries - ifeq ($(rtp),1) - LIB_INSTALL += $(VLIB:%=$(INSLIB)/%) - CLEANUP_INSTALL += $(CLEANUP_VLIB:%=$(INSLIB)/%) - REALCLEAN_FILES += $(CLEANUP_LIB:%=%) $(CLEANUP_LIB:%=%_debug) $(CLEANUP_LIB:%=%_profile) $(CLEANUP_LIB:%=%_optimize) - endif - endif - else - LD_PARTIAL += -L$(ACE_ROOT)/ace -L./ $(LDLIBPATH) $(LD_LINK_PATH) $(LD_PARTIALFLAGS) - ifeq ($(footprint),0) - PRJ_OBJS_FOR_LD_PARTIAL=$(addprefix $(VDIR), $(OBJS)) $(VSHOBJS) $(VLDLIBS) $(ACE_SHLIBS) $(LIBS) - else - PRJ_OBJS_FOR_LD_PARTIAL=$(VSHOBJS) $(VLDLIBS) $(ACE_SHLIBS) $(LIBS) - LD_PARTIAL_LAST_FLAGS += $(addprefix $(VDIR), $(OBJS)) $(VSHOBJS) $(VLDLIBS) - endif - endif - PRJ_OBJS_FOR_LD=$(addprefix $(VDIR), $(OBJS)) $(VSHOBJS) - PRJ_OBJS_FOR_NM=$(addprefix $(VDIR), $(OBJS)) $(VSHOBJS) - PRJ_OBJS_FOR_AR=$(addprefix $(VDIR), $(OBJS)) $(VSHOBJS) - POST_BUILD_RULE = $(POSTLINK) - COMPILE_TRADITIONAL = $(CC) $(OPTION_OBJECT_ONLY) $(OPTION_DOLLAR_SYMBOLS)\ - $(filter-out -ansi, $(CFLAGS)) - - ## make sure default target stays the ACE/TAO default target - ## -default: all - -endif - -CPPFLAGS += $(VXWORKS_VERSION_FLAG) - -ifeq ($(debug),1) - DCFLAGS += -g - DCCFLAGS += -g - CPPFLAGS += -endif - -ifeq ($(pthread),1) - CPPFLAGS += -DACE_HAS_PTHREADS -endif - -ifeq ("$(TOOL_FAMILY)","gnu") -# Test for template instantiation, add to SOFLAGS if SONAME set, -# add -E to LDFLAGS if using GNU ld -include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU - -ifeq ("$(templates)","automatic") -ifeq ($(repo),1) -ifeq ($(VXWORKSLINK), 1) - ifeq ($(VX_APP_BUILD),1) - ifneq ($(SHARED_LIBS),1) - LD_PARTIAL += -frepo - endif - endif -else - ifeq ($(rtp),0) - ace_lib_prelink := 1 - LINK.cc = override - LINK.cc.override = $(LD_PARTIAL) -frepo -L$(ACE_ROOT)/ace -L$(INSLIB) -L./ $(LDLIBPATH) $(LD_LINK_PATH) - ifneq ($(SHARED_LIBS),1) - LDFLAGS = $(ACE_SHLIBS) - endif - endif -endif -endif -endif - -# TEMPLATES_FLAG is set by platform_g++_common.GNU -ifneq ($(TEMPLATES_FLAG),) # If specified, add it to the CCFLAGS - CPPFLAGS += $(TEMPLATES_FLAG) -endif -endif # TOOL_FAMILY == gnu - -ifeq ("$(TOOL_FAMILY)","diab") - C++FLAGS += -Xexceptions -else -ifeq ("$(TOOL_FAMILY)","gnu") - C++FLAGS += -fexceptions -endif -endif - -ifeq ("$(TOOL_FAMILY)","diab") - LIBS += -lstlstd -endif - -ifneq ($(findstring $(VX_CPU_FAMILY),ppc arm),) -ifeq ("$(TOOL_FAMILY)","diab") - C++FLAGS += -Xchar-signed -else -ifeq ("$(TOOL_FAMILY)","gnu") - C++FLAGS += -fsigned-char -endif -endif -endif - -ifeq ($(CPU),SIMNT) -override MUNCH_FLAGS := -asm $(TOOLENV) -endif - -ifneq ($(optimize),1) - CC_OPTIM_NORMAL = -endif - -CCFLAGS += $(C++FLAGS) - -ifeq ($(VXWORKSLINK), 1) - - ifeq ($(repo),1) - ifeq ($(SHARED_LIBS),1) - BACKUP_RPO_RULE = for f in $(basename $(addprefix $(VDIR), $(OBJS)) $(VSHOBJS)) ; do if [ -a $$f.rpo ] ; then mv $$f.rpo $$f.rpobak $(ACE_NUL_STDERR) ; fi ; done ; - POST_BUILD_RULE = for f in $(basename $(addprefix $(VDIR), $(OBJS)) $(VSHOBJS)) ; do if [ -a $$f.rpobak ] ; then mv $$f.rpobak $$f.rpo $(ACE_NUL_STDERR) ; fi ; done ; - endif - endif - -.PHONY: $(PRJ_DIR)/$(PRJ_FILE) - ## special target to satisfy VxWorks dependencies for images -$(PRJ_DIR)/$(PRJ_FILE): - ifeq ($(repo),1) - ifeq ($(SHARED_LIBS),1) - #### execute prelink step to make compiler instantiate all needed - #### templates; discard image and repo files (*.rpo) after linkstep - #### this step holds for both .SO as well as 'app' images so use both VSHOBJS and OBJS - -$(LD_PARTIAL) -frepo -L$(ACE_ROOT)/ace -L./ $(LDLIBPATH) $(LD_LINK_PATH)$(LINK_OUTPUT_FLAG) ace-templ_inst $? $(ACE_SHLIBS) $(addprefix $(VDIR), $(OBJS)) $(VSHOBJS) - -$(RM) ace-templ_inst - #### We need to backup the .RPO files or otherwise the link step of the final image will - #### start instantiating templates again even if we do not specify '-frepo'! - -$(BACKUP_RPO_RULE) - ifeq ($(VX_SO_BUILD),1) - #### build library of objects in .SO to use as a sort of import library for VxWorks - echo $(filter %.o, $(VSHOBJS)) | xargs $(AR) $(ARFLAGS) $(VLIB) $(AREXTRA) - -chmod a+r $(VLIB) - ifneq (,$(RANLIB)) - -$(RANLIB) $(VLIB) - endif # RANLIB - endif # VX_SO_BUILD - endif - endif - @echo 1>$@ - -endif diff --git a/dep/ACE_wrappers/include/makeinclude/platform_vxworks6.4.GNU b/dep/ACE_wrappers/include/makeinclude/platform_vxworks6.4.GNU deleted file mode 100644 index 4e1751def..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_vxworks6.4.GNU +++ /dev/null @@ -1,16 +0,0 @@ -# $Id: platform_vxworks6.4.GNU 80826 2008-03-04 14:51:23Z wotte $ -# VxWorks 6.4 - -#### Notes: -#### 1) This file requires that the WIND_BASE and WIND_HOST_TYPE environment -#### variables be set. If the target CPU is not SIMNT, then your CPU -#### environment variable must be set. -#### 2) The TOOL environment variable may be set to "diab" (default is "gnu"). -#### 3) If perl is not on your path, you'll also need to set your PERL_PATH -#### environment variable to the full path to perl. - -ifeq ($(VXWORKS_VERSION_FLAG),) - VXWORKS_VERSION_FLAG = -DACE_VXWORKS=0x640 -endif # VXWORKS_VERSION_FLAG - -include $(ACE_ROOT)/include/makeinclude/platform_vxworks6.3.GNU diff --git a/dep/ACE_wrappers/include/makeinclude/platform_vxworks6.5.GNU b/dep/ACE_wrappers/include/makeinclude/platform_vxworks6.5.GNU deleted file mode 100644 index 54d60ab11..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_vxworks6.5.GNU +++ /dev/null @@ -1,8 +0,0 @@ -# $Id: platform_vxworks6.5.GNU 80826 2008-03-04 14:51:23Z wotte $ -# VxWorks 6.5 - -ifeq ($(VXWORKS_VERSION_FLAG),) - VXWORKS_VERSION_FLAG = -DACE_VXWORKS=0x650 -endif # VXWORKS_VERSION_FLAG - -include $(ACE_ROOT)/include/makeinclude/platform_vxworks6.4.GNU diff --git a/dep/ACE_wrappers/include/makeinclude/platform_vxworks6.6.GNU b/dep/ACE_wrappers/include/makeinclude/platform_vxworks6.6.GNU deleted file mode 100644 index 845ced28b..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_vxworks6.6.GNU +++ /dev/null @@ -1,25 +0,0 @@ -# $Id: platform_vxworks6.6.GNU 86847 2009-09-30 09:59:46Z johnnyw $ -# VxWorks 6.6 - -ifeq ($(VXWORKS_VERSION_FLAG),) - VXWORKS_VERSION_FLAG = -DACE_VXWORKS=0x660 -endif # VXWORKS_VERSION_FLAG - -include $(ACE_ROOT)/include/makeinclude/platform_vxworks6.5.GNU - -ifeq ("$(WIND_HOST_TYPE)","sun4-solaris2") - override RM=rm -f -endif # sun4-solaris2 - -# Disable strict aliasing warnings, these are given on some VxWorks system -# header files and has been reported to WindRiver -ifeq ("$(TOOL_FAMILY)","gnu") - CPPFLAGS += -fno-strict-aliasing -endif - -# Workaround for bug in diab compiler with just 6.6 -ifeq (vxworks-6.6, $(findstring vxworks-6.6,$(WIND_PLATFORM))) - ifeq ("$(TOOL_FAMILY)","diab") - C++FLAGS += -W:c++:,-Xusing-std-on - endif -endif diff --git a/dep/ACE_wrappers/include/makeinclude/platform_vxworks6.7.GNU b/dep/ACE_wrappers/include/makeinclude/platform_vxworks6.7.GNU deleted file mode 100644 index fcc5aa06c..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_vxworks6.7.GNU +++ /dev/null @@ -1,18 +0,0 @@ -# $Id: platform_vxworks6.7.GNU 85207 2009-04-29 06:08:59Z johnnyw $ -# VxWorks 6.7 - -ifeq ($(VXWORKS_VERSION_FLAG),) - VXWORKS_VERSION_FLAG = -DACE_VXWORKS=0x670 -endif # VXWORKS_VERSION_FLAG - -include $(ACE_ROOT)/include/makeinclude/platform_vxworks6.6.GNU - -ifeq ("$(WIND_HOST_TYPE)","x86-linux2") -ifeq ($(SHARED_LIBS), 1) -ifeq ("$(TOOL_FAMILY)","gnu") - LDFLAGS += -shared -else - LDFLAGS += -Xshared -endif -endif -endif diff --git a/dep/ACE_wrappers/include/makeinclude/platform_vxworks6.8.GNU b/dep/ACE_wrappers/include/makeinclude/platform_vxworks6.8.GNU deleted file mode 100644 index 1d32e0022..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_vxworks6.8.GNU +++ /dev/null @@ -1,11 +0,0 @@ -# $Id: platform_vxworks6.8.GNU 91326 2010-08-09 16:04:31Z mitza $ -# VxWorks 6.8 - -ifeq ($(VXWORKS_VERSION_FLAG),) - VXWORKS_VERSION_FLAG = -DACE_VXWORKS=0x680 -endif # VXWORKS_VERSION_FLAG - -WIND_USR_LIB = ../lib/usr/lib - -include $(ACE_ROOT)/include/makeinclude/platform_vxworks6.7.GNU - diff --git a/dep/ACE_wrappers/include/makeinclude/platform_win32_dmc.GNU b/dep/ACE_wrappers/include/makeinclude/platform_win32_dmc.GNU deleted file mode 100644 index 7626fc5ea..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_win32_dmc.GNU +++ /dev/null @@ -1,41 +0,0 @@ -# $Id: platform_win32_dmc.GNU 91285 2010-08-05 08:29:30Z johnnyw $ - -# debug = 1 -# optimize = 1 - -winsock2 ?= 1 -debug ?= 1 -optimize ?= 1 -threads ?= 1 - -pipes = 0 -ifeq ($(debug),0) -CFLAGS += -DNDEBUG -v1 -CFLAGS += -Ar - -CC = dmc -CXX = dmc -RC = - -CFLAGS += $(MODEL_FLAGS) -ND - -EXEEXT = .exe - -DCFLAGS += -g -DLD = link -LD = link - -PIC = -AR = ar -ARFLAGS = rsuv -RANLIB = ranlib -SOEXT = dll -SOFLAGS += $(MODEL_FLAGS) $(CPPFLAGS) -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< - -PRELIB = @true - -CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG) - -# Dmc doesn't have rwho -rwho = 0 diff --git a/dep/ACE_wrappers/include/makeinclude/platform_win32_icc.GNU b/dep/ACE_wrappers/include/makeinclude/platform_win32_icc.GNU deleted file mode 100644 index 0188ee2de..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_win32_icc.GNU +++ /dev/null @@ -1,45 +0,0 @@ -# $Id: platform_win32_icc.GNU 91285 2010-08-05 08:29:30Z johnnyw $ - -# debug = 1 -# optimize = 1 - -winsock2 ?= 1 -debug ?= 1 -optimize ?= 1 -threads ?= 1 -pipes ?= 0 -inline ?= 0 - -ifeq ($(debug),0) -CFLAGS += -DNDEBUG /MD -else -CFLAGS += /MDd -endif - -ifeq ($(buildbits),64) - CFLAGS += /Wp64 -DWIN64 -endif - -CC = icl -CXX = icl -RC = rc - -CFLAGS += -DWIN32 /nologo /GR - -EXEEXT = .exe - -DCFLAGS += -DLD = $(CXX) -LD = $(CXX) - -OCFLAGS += -O3 -PIC = -AR = ar -ARFLAGS = rsuv -RANLIB = ranlib -SOEXT = dll -OBJEXT = obj -SOFLAGS += $(MODEL_FLAGS) $(CPPFLAGS) -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< - -CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG) diff --git a/dep/ACE_wrappers/include/makeinclude/platform_win32_interix.GNU b/dep/ACE_wrappers/include/makeinclude/platform_win32_interix.GNU deleted file mode 100644 index 9f8c97e71..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_win32_interix.GNU +++ /dev/null @@ -1,46 +0,0 @@ -# $Id: platform_win32_interix.GNU 91285 2010-08-05 08:29:30Z johnnyw $ - -# platform_win32_interix.GNU - -versioned_so ?= 0 - -debug ?= 1 -optimize ?= 1 -threads ?= 1 -pipes ?= 1 - -CC = gcc -CXX = g++ - -CFLAGS += -W -Wall -Wpointer-arith -CPPFLAGS += -D_ALL_SOURCE -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -LIBS += -ldl -OCFLAGS += -O2 -PIC = -AR = ar -ARFLAGS = ruv -RANLIB = ranlib -LN_S = cp - -SOFLAGS += $(CPPFLAGS) -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -PRELIB = @echo - -ifeq ($(threads),1) - LDFLAGS += -lpthread - CFLAGS += -D_THREAD_SAFE -DACE_HAS_THREADS -endif # threads - -PLATFORM_X11_CPPFLAGS=-I/usr/X11R6/include -PLATFORM_X11_LIBS=-lX11 -PLATFORM_X11_LDFLAGS=-L/usr/X11R6/lib - -# Test for template instantiation, add to SOFLAGS if versioned_so set, -# add -E to LDFLAGS if using GNU ld -# -#include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU - -CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG) diff --git a/dep/ACE_wrappers/include/makeinclude/platform_win32_msvc.GNU b/dep/ACE_wrappers/include/makeinclude/platform_win32_msvc.GNU deleted file mode 100644 index 6047a2958..000000000 --- a/dep/ACE_wrappers/include/makeinclude/platform_win32_msvc.GNU +++ /dev/null @@ -1,136 +0,0 @@ -# -*- Makefile -*- -# $Id: platform_win32_msvc.GNU 88756 2010-01-27 22:52:17Z mitza $ - -# TODO: -# - per-source-file flag_overrides (gnu.mpd) - -# Include this file from platform_macros.GNU to build with sh and GNU make -# and the Visual C++ compiler and linker. -# Tested with the MSYS shell and make from msysCORE-1.0.11-20080826.tar.gz and -# the Visual C++ 9 toolchain (Visual C++ 2008 Express Edition) - SP1. - -# Assuming the msysCORE archive is extracted to c:\msys... -# Start the Visual C++ Command Prompt -# Set ACE_ROOT (TAO_ROOT, CIAO_ROOT, DDS_ROOT) -# Add C:\msys\bin to PATH along with %ACE_ROOT%\lib and %ACE_ROOT%\bin -# If necessary, generate GNUmakefiles with MPC (set MPC_ROOT, use -type gnuace) -# Run "make" - -# - library naming -# - dynamic: ACE.dll, ACE.lib is the "import library" -# - static: ACE.lib -# - no "s" suffix added for static, so static and dynamic can't coexist -# - no other modifiers are added to the name (no ACEd.dll, ACEmfc.dll) -# - user-customizable make variables -# - everything in the "Defaults" section (plus inline) -# - SUBSYSTEM: defaults to CONSOLE for exes, WINDOWS for libs -# - CRT_TYPE: defaults to D (dynamic) for shared libs, T (static) for static - -# Defaults -debug ?= 1 -optimize ?= 0 -#inline determined below, defaults to !debug -CPU ?= X86 -winnt ?= 1 -winregistry ?= 1 -wfmo ?= 1 -qos ?= 1 - -# Programs -CC = cl -CXX = $(CC) -RC = rc -LD = link -DLD = $(LD) -AR = $(LD) - -# File naming -EXEEXT = .exe -SOEXT = dll -OBJEXT = obj -LIBEXT = lib -LIB_PREFIX = -versioned_so = 0 - -# Need forward slashes for paths going through sh.exe -ACE_ROOT := $(subst \,/,$(ACE_ROOT)) - -# Options -PIC = -CC_OUTPUT_FLAG = -Fo -CC_OUTPUT_FLAG_SEP = -CPPFLAGS += -DWIN32 -D_WINDOWS -D_CRT_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -CFLAGS += -Zc:wchar_t -nologo -W3 -EHsc -GR -wd4355 -Fd$(INTDIR) -ARFLAGS = -lib -nologo -machine:$(CPU) -MSVC_LDFLAGS = -incremental:no -nologo -subsystem:$(SUBSYSTEM) -machine:$(CPU) -ifeq (,$(BIN_UNCHECKED)) - SUBSYSTEM ?= WINDOWS -else - SUBSYSTEM ?= CONSOLE - REALCLEAN_FILES += $(BIN).manifest $(BIN_UNCHECKED).pdb -endif -ifeq (1,$(optimize)) - CFLAGS += -O2 -else - CFLAGS += -Ob0 -endif -ifeq (1,$(static_libs_only)) - static_libs = 1 -endif -ifeq (1,$(static_libs)) - shared_libs = 0 - shared_libs_only = 0 - CRT_TYPE ?= T - INTDIR = $(VDIR) -else - static_libs = 0 - static_libs_only = 0 - CRT_TYPE ?= D - ifneq (,$(BIN_UNCHECKED)) - INTDIR = $(VDIR) - else - INTDIR = $(VSHDIR) - endif - MSVC_IMPLIB = $(LIB_NAME).lib - MSVC_DLLFLAGS += -dll -implib:$(MSVC_IMPLIB) - REALCLEAN_FILES += $(LIB_NAME).dll $(INSLIB)/$(LIB_NAME).dll $(LIB_NAME).exp - REALCLEAN_FILES += $(LIB_NAME).dll.manifest -endif -ifneq (,$(LIB_NAME)) - REALCLEAN_FILES += $(LIB_NAME).lib $(INSLIB)/$(LIB_NAME).lib $(LIB_NAME).pdb -endif -ifeq (1,$(debug)) - CPPFLAGS += -D_DEBUG - CFLAGS += -Zi -M$(CRT_TYPE)d -Gy -Gm - inline ?= 0 - MSVC_LDFLAGS += -DEBUG - MSVC_DLLFLAGS += -pdb:$(subst dll,pdb,$@) - MSVC_EXEFLAGS += -pdb:$(subst exe,pdb,$@) -else - CPPFLAGS += -DNDEBUG - CFLAGS += -M$(CRT_TYPE) - inline ?= 1 -endif -CCFLAGS = $(CFLAGS) -CXXFLAGS = $(CFLAGS) -RC_INCLUDE_FLAG = -I -RC_OUTPUT_FLAG = -fo -SYSTEMLIBS += advapi32.lib user32.lib -MSVC_LINK = $(LD) $(SYSTEMLIBS) $(MSVC_LDFLAGS) $(patsubst %\,%,$(patsubst -L%,-libpath:%, $(subst /,\,$(LDFLAGS)))) $(patsubst -l%,%.lib,$(ACE_SHLIBS)) $(LIBS) -out:$@ -define SOLINK.cc.override -$(MSVC_LINK) $(MSVC_DLLFLAGS) $^ - mt -nologo -manifest $@.manifest -outputresource:$@\;2 - @if test . != $(INSLIB) -a $(call PWD) != $(INSLIB) -a -r $(MSVC_IMPLIB) ; then \ - cp $(MSVC_IMPLIB) $(INSLIB) ; \ - fi -endef -define LINK.cc.override -$(MSVC_LINK) $(MSVC_EXEFLAGS) $(filter-out %.lib,$(filter-out %.a,$^)) $(patsubst -l%,%.lib,$(VLDLIBS)) $(POSTLINK) - @if test -r $@.manifest ; then \ - mt -nologo -manifest $@.manifest -outputresource:$@\;1 ; \ - fi -endef -AR.cc.override = $(AR) $(ARFLAGS) -out:$@ $^ $(AREXTRA) - -#this is not mingw32, but the makefiles in ACE should act like it is -mingw32 = 1 diff --git a/dep/ACE_wrappers/include/makeinclude/rules.bin.GNU b/dep/ACE_wrappers/include/makeinclude/rules.bin.GNU deleted file mode 100644 index 8ca707693..000000000 --- a/dep/ACE_wrappers/include/makeinclude/rules.bin.GNU +++ /dev/null @@ -1,53 +0,0 @@ -# -*- Makefile -*- - -#---------------------------------------------------------------------------- -# $Id: rules.bin.GNU 83758 2008-11-14 22:29:43Z shuston $ -# -# Build binaries -# GNU version -# Requires GNU make -#---------------------------------------------------------------------------- - -ifdef BIN - VBIN = $(ARCH_BIN:%=%$(VAR)) - # VBIN always depends on idl_stubs and libraries, if they exist. - ifdef IDL_SRC - $(VBIN): $(IDL_SRC) - endif - ifdef VLIBS - $(VBIN): $(LIB_INSTALL) $(VLIBS) - endif -else # !BIN - ifndef BIN_UNCHECKED - @echo Warning: rules.bin.GNU included, but no BIN targets detected. - endif # !BIN_UNCHECKED -endif # BIN - -VOBJS = $(addsuffix .$(OBJEXT),$(addprefix $(VDIR),$(basename $(SRC)))) - -ifneq ($(IDL_SRC),) - $(VBIN): $(IDL_SRC) -endif - -# Needed for depend. -PSRC += $(addsuffix .cpp, $(CLEANUP_BIN)) - -CLEANUP_INSTALL += $(CLEANUP_BIN:%=$(INSBIN)/%$(VAR)$(EXEEXT)) - -CHORUSLINK ?= -VXWORKSLINK ?= -using_aix_vacpp ?= - -ifeq ($(VXWORKSLINK),1) -$(ARCH_BIN): $(DEFAULTRULE) - mv $(DEFAULTRULE) $@ -else # !VXWORKSLINK - ifeq (1,$(using_aix_vacpp)) -$(ARCH_BIN): %: %.icc $(SRC) - vacbld_r $< -severitylevel=warning - else # !using_aix_vacpp -# Since we add in the vdir, don't use arch_bin. use bin instead! -$(ARCH_BIN): %: $(VDIR)$(BIN).$(OBJEXT) $(VOBJS) - $(LINK.cc) $(LDFLAGS) $(CC_OUTPUT_FLAG) $@ $(sort $(VDIR)$(BIN).$(OBJEXT) $(VOBJS)) $(VLDLIBS) $(POSTLINK) - endif # using_aix_vacpp -endif diff --git a/dep/ACE_wrappers/include/makeinclude/rules.common.GNU b/dep/ACE_wrappers/include/makeinclude/rules.common.GNU deleted file mode 100644 index e2615ebb0..000000000 --- a/dep/ACE_wrappers/include/makeinclude/rules.common.GNU +++ /dev/null @@ -1,24 +0,0 @@ -# -*- Makefile -*- - -#---------------------------------------------------------------------------- -# $Id: rules.common.GNU 90163 2010-05-18 21:42:20Z mitza $ -# -# Common targets -#---------------------------------------------------------------------------- - -.PHONY: __prebuild__ - -all: __prebuild__ all.nested all.local -debug: debug.nested debug.local -profile: profile.nested profile.local -binout: binout.nested binout.local -clean_binout: clean_binout.nested clean_binout.local -clean_binaries: clean_binaries.nested clean_binaries.local -clean_idl_stubs: clean_idl_stubs.nested clean_idl_stubs.local -clean: clean.nested clean.local -realclean: realclean.nested realclean.local -clobber: clobber.nested clobber.local -depend: depend.nested depend.local -rcs_info: rcs_info.nested rcs_info.local -idl_stubs: idl_stubs.nested idl_stubs.local -svnignore: svnignore.nested svnignore.local diff --git a/dep/ACE_wrappers/include/makeinclude/rules.lib.GNU b/dep/ACE_wrappers/include/makeinclude/rules.lib.GNU deleted file mode 100644 index 78b68299d..000000000 --- a/dep/ACE_wrappers/include/makeinclude/rules.lib.GNU +++ /dev/null @@ -1,266 +0,0 @@ -# -*- Makefile -*- -#---------------------------------------------------------------------------- -# $Id: rules.lib.GNU 91974 2010-09-23 16:17:42Z mitza $ -# -# Build libraries (i.e., contain no binary executables) -# GNU version -# Requires GNU make -#---------------------------------------------------------------------------- - -#--------------------------------------------------------------------------- -# Library versioning -#--------------------------------------------------------------------------- - -ifeq ($(versioned_so),1) - # Turn on symbol versioning. The scheme that we follow is to allow - # applications dependent on libraries, with same version numbers (major, - # minor and beta) to run, but applications with dependencies on libraries - # with different minor or major or beta versions to fail. - # - # Version number of the libraries - # - ifeq ($(SOVERSION),) - SOVERSION = .$(GNUACE_PROJECT_VERSION) - endif # SOVERSION - - # Name that will be written into the dynamic library - # - ifeq ($(SONAME),) - SONAME = $(SHLIB)$(SOVERSION) - endif # SONAME -endif # versioned_so - - -#---------------------------------------------------------------------------- -# The following targets arrange to build both unshared and shared libraries -#---------------------------------------------------------------------------- - -VLIB = $(ARCH_LIB:%.$(LIBEXT)=%$(VAR).$(LIBEXT)) -CLEANUP_VLIB = $(CLEANUP_LIB:%.$(LIBEXT)=%$(VAR).$(LIBEXT)) - -# Add VLIB to VLIBS if building static_libs. -ifdef static_libs - VLIBS += $(VLIB) -endif - -SHLIB ?= -# Setup shared library variables, including versions. -VSHLIB_NO_VER = $(ARCH_SHLIB:%.$(SOEXT)=%$(VAR).$(SOEXT)) -CLEANUP_VSHLIB_NO_VER = $(CLEANUP_SHLIB:%.$(SOEXT)=%$(VAR).$(SOEXT)) -VSHLIB = $(VSHLIB_NO_VER:%=%$(SOVERSION)) -CLEANUP_VSHLIB = $(CLEANUP_VSHLIB_NO_VER:%=%$(SOVERSION)) -SHLIB_WITH_VER = $(SHLIB:%=%$(SOVERSION)) - -SHLIBA ?= -VSHLIBA = $(ARCH_SHLIBA:%.$(LIBEXT)=%$(VAR).$(LIBEXT)) - -# Add VSHLIB if we're building shared_libs. -ifdef shared_libs - VLIBS += $(VSHLIB) $(VSHLIBA) -endif - -# Warn if no libs found -ifeq ($(VLIBS),) - LIB_WARNING = 0 - ifndef LIB_UNCHECKED - LIB_WARNING = 1 - endif # !LIB_CHECKED - ifndef SHLIB_UNCHECKED - LIB_WARNING = 1 - endif # !SHLIB_UNCHECKED - ifeq ($(LIB_WARNING),1) - @echo Warning: rules.lib.GNU included, but no library targets detected. - endif # LIB_WARNING -else # VLIBS - # Libraries always depend on idl_stubs, if they exist. - IDL_SRC ?= - ifeq ($(IDL_SRC),) - $(VLIBS): $(IDL_SRC) - endif # IDL_SRC -endif # !VLIBS - -VLOBJS = $(addprefix $(VDIR),$(foreach var, $(addsuffix .$(OBJEXT), $(basename $(LSRC)) $(RESOURCES)), $(patsubst ../%,$(notdir $(var)),$(var)))) -ifdef LSRC2 - LSRC += $(LSRC2) -endif - -VSHOBJS = $(addprefix $(VSHDIR),$(foreach var, $(addsuffix .$(OBJEXT), $(basename $(LSRC)) $(RESOURCES)), $(patsubst ../%,$(notdir $(var)),$(var)))) - -ifneq ($(IDL_SRC),) - $(VLOBJS) $(VSHOBJS): $(IDL_SRC) -endif - -# Since INSLIB already has the ARCH dir appended, if appropriate, ARCH -# needs to be stripped from V[SH]LIB on the way over to INSLIB. To avoid -# an extra '/' which confuses the relative link calculation, ensure the -# '/' after ARCH is stripped if it's an ARCH build. -ARCHDIR ?= -ifdef ARCH - ARCHDIR = $(ARCH)/ -endif - -ifdef static_libs - LIB_INSTALL += $(VLIB:$(ARCHDIR)%=$(INSLIB)/%) - CLEANUP_INSTALL += $(CLEANUP_VLIB:$(ARCHDIR)%=$(INSLIB)/%) -endif # static_libs - -ifdef shared_libs - LIB_INSTALL += $(VSHLIB:$(ARCHDIR)%=$(INSLIB)/%) - CLEANUP_INSTALL += $(CLEANUP_VSHLIB:$(ARCHDIR)%=$(INSLIB)/%) - CLEANUP_INSTALL += $(CLEANUP_VSHLIB_NO_VER:$(ARCHDIR)%=$(INSLIB)/%*) - ifdef SHLIBA - LIB_INSTALL += $(VSHLIBA:$(ARCHDIR)%=$(INSLIB)/%) - CLEANUP_INSTALL += $(CLEANUP_SHLIBA:$(ARCHDIR)%=$(INSLIB)/%) - endif -endif # shared_libs - -ace_lib_prelink ?= 0 -aix_build ?= 0 - -ifeq (1,$(VXWORKS)) - - ifeq (1,$(ace_lib_prelink)) -.PHONY: ace-templ_inst - -ace-templ_inst: - -$(LINK.cc) $(LINK_OUTPUT_FLAG) ace-templ_inst $(VLOBJS) $(LDFLAGS) $(ACE_SHLIBS) - -$(RM) ace-templ_inst - -$(VLIB): $(VLOBJS) ace-templ_inst - else -$(VLIB): $(VLOBJS) - endif - ifeq (1,$(repo)) - @echo $(LINK.cc) $(LINK_OUTPUT_FLAG) > .prelink.spec - @echo xargs $(AR) $(ARFLAGS) $(notdir $@) $(AREXTRA) >> .prelink.spec - @if not [""]==["$(ACE_SHLIBS)"] @echo $(subst -l,,$(ACE_SHLIBS)) >> .prelink.spec - @echo Add .rpo files - echo .prelink.spec $(foreach rpo,$(patsubst %.o,%.rpo,$(filter %.o, $?)),$(shell if exist $(rpo) echo $(rpo))) | xargs $(AR) $(ARFLAGS) $@ $(AREXTRA) - endif - @echo Add .o files - echo $(TMPINCDIR:%=%/*.o) $(filter %.o, $?) | xargs $(AR) $(ARFLAGS) $@ $(AREXTRA) - -chmod a+r $@ - ifneq (,$(RANLIB)) - -$(RANLIB) $@ - endif # RANLIB - -else # !VXWORKS - -$(VLIB): $(VLOBJS) - ifeq (1,$(repo)) - ifneq (,$(ACELIB)) - #### With repo, link in all of the ace object files to the lib. - #### This avoids multiple instantiations. We haven't found it to - #### be necessary with shared libs, so just do it for static libs. - vpath %.$(OBJEXT) $(ACE_ROOT)/ace/$(VDIR) - - $(VLIB): $(ACE_ROOT)/ace/$(VDIR)*.$(OBJEXT) - endif # ! ACELIB - endif # repo - ifdef PRELIB - $(PRELIB) - endif - ifeq (1,$(ace_lib_prelink)) - #### Attempt a link (which will fail), to add template instantiations - #### to lib files, for example. - -$(LINK.cc) $(LINK_OUTPUT_FLAG) ace-templ_inst $? $(LDFLAGS) $(ACE_NUL_STDERR) - endif # ace_lib_prelink - ifeq (1,$(ACE_OPENVMS)) - find $(TMPINCDIR:%=%) -name "*.o" -or -name "*.obj" | xargs $(AR) $(ARFLAGS) $@ $(AREXTRA) - else - ifneq (,$(AR.cc.override)) - $(AR.cc.override) - else - ([ "`echo $(TMPINCDIR:%=%/*.o)`" != "$(TMPINCDIR:%=%/*.o)" ] && echo $(TMPINCDIR:%=%/*.o); \ - echo $(filter %.o, $?)) | xargs $(AR) $(ARFLAGS) $@ $(AREXTRA) - endif - endif - ifdef ibmcxx_build -# This is required to get AIX IBM C/C++ to instantiate and compile the needed -# templates. - if test -s ./$(TEMPINCDIR)/*.C; \ - then \ - $(LINK.cc) $(LINK_OUTPUT_FLAG) dummy $(LDFLAGS) $(ACE_ROOT)/etc/xlc_dummy.cpp $^ $(ACE_SHLIBS) $(LIBS); \ - $(RM) dummy; \ - $(AR) $(ARFLAGS) $@ $(TEMPINCDIR)/*.$(OBJEXT); \ - fi - endif - -chmod a+r $@ - ifneq (,$(RANLIB)) - -$(RANLIB) $@ - endif # RANLIB - -endif # !VXWORKS - -# Note that if you don't want to build shared libraries, just remove the -# $(VSHOBJS) -# -# The AIX shr.o build is out here to keep it away from the SOVERSION stuff. -# The SOVERSION transform is applied after building the library file. -ifeq (1,$(aix_build)) -shr.o: $(VSHOBJS) - $(SHR_FILTER) $(SOLINK.cc) $(SO_OUTPUT_FLAG) $@ $^ $(LDFLAGS) $(ACE_SHLIBS) $(LIBS) - -.INTERMEDIATE: shr.o -endif # aix_build - -ifeq ($(VXWORKSLINK),1) -$(VSHLIB): $(basename $(notdir $(PRJ_FILE))).out - -$(RM) $@ - -$(LN_S) $(PROJECT_OUT) $@ - -$(POST_BUILD_RULE) -else # !VXWORKSLINK - ifeq (1,$(aix_build)) -$(VSHLIB): shr.o - $(AR) $(ARFLAGS) $@ $? - ifneq (,$(RANLIB)) - -$(RANLIB) $@ - endif # RANLIB - else # ! aix_build -$(VSHLIB): $(VSHOBJS) - ifdef PRELIB - $(PRELIB) - endif # PRELIB - ifdef ibmcxx_build - # This is required to get AIX IBM C/C++ to instantiate and compile the needed - # templates before building the library. - if test -s ./$(TEMPINCDIR)/*.C; \ - then \ - $(LINK.cc) $(LINK_OUTPUT_FLAG) dummy $(LDFLAGS) $(ACE_ROOT)/etc/xlc_dummy.cpp $^ $(ACE_SHLIBS) $(LIBS); \ - $(RM) dummy; \ - fi - endif # ibmcxx_build - ifdef SHLIBBUILD - $(SHLIBBUILD) - else # ! SHLIBBUILD - ifdef ibmcxx_build - if test -s ./$(TEMPINCDIR)/*.$(OBJEXT); \ - then \ - $(SOLINK.cc) $(SO_OUTPUT_FLAG) $@ $^ $(TEMPINCDIR)/*.$(OBJEXT) $(LDFLAGS) $(ACE_SHLIBS) $(LIBS); \ - else \ - $(SOLINK.cc) $(SO_OUTPUT_FLAG) $@ $^ $(LDFLAGS) $(ACE_SHLIBS) $(LIBS); \ - fi - else # !ibmcxx_build - ifeq (1,$(ace_lib_prelink)) - #### Attempt a link (which will fail), to add template instantiations - #### to lib files, for example. - -$(LINK.cc) $(LINK_OUTPUT_FLAG) ace-templ_inst $^ $(LDFLAGS) $(ACE_NUL_STDERR) - endif # ace_lib_prelink - ifneq ($(SOLINK.cc.override),) - $(SOLINK.cc.override) - else - $(SHR_FILTER) $(SOLINK.cc) $(SO_OUTPUT_FLAG) $@ $^ $(LDFLAGS) $(ACE_SHLIBS) $(LIBS) - endif #override - endif # ibmcxx_build - endif # SHLIBBUILD - endif # aix_build -endif # VXWORKSLINK -ifneq ($(SOVERSION),) -# This carefully works with both ARCH (where VSHLIB_* refer to the ARCH -# subdir, but SHLIB does not) and non-ARCH builds (where VSHLIB_* and SHLIB -# refer to the same place). SHLIB_WITH_VER should be the same as $@ but -# without the ARCH subdir. - -$(RM) $(VSHLIB_NO_VER) - -$(LN_S) $(if $(findstring cp,$(firstword $(LN_S))),$(@),$(SHLIB_WITH_VER)) $(VSHLIB_NO_VER) -endif - -chmod a+rx $@ diff --git a/dep/ACE_wrappers/include/makeinclude/rules.local.GNU b/dep/ACE_wrappers/include/makeinclude/rules.local.GNU deleted file mode 100644 index 04b0002dc..000000000 --- a/dep/ACE_wrappers/include/makeinclude/rules.local.GNU +++ /dev/null @@ -1,504 +0,0 @@ -# -*- Makefile -*- -#---------------------------------------------------------------------------- -# $Id: rules.local.GNU 90650 2010-06-16 21:54:18Z mitza $ -# -# Local targets -# GNU version -# Requires GNU make -#---------------------------------------------------------------------------- - - -CLEANUP_OBJDIRS = -CLEANUP_DIRS = - -ifdef CLEANUP_BIN - CLEANUP_OBJDIRS = $(VDIR) -else # ! CLEANUP_BIN - ifdef CLEANUP_LIB - CLEANUP_OBJDIRS = $(VDIR) - endif # CLEANUP_LIB -endif # CLEANUP_BIN - -ifdef CLEANUP_SHLIB - CLEANUP_OBJDIRS += $(VSHDIR) -endif # CLEANUP_VSHLIB - -ifdef TEMPINCDIR - CLEANUP_DIRS += $(TEMPINCDIR) -endif - -ifdef sun - CLEANUP_DIRS += SunWS_cache -endif - -vxworks_ntbuild ?= 0 -lacks_touch ?= 0 - -#### TEMPLATE_REPOSITORY can be set in individual platform files -#### to create template repository directories. See -#### platform_sunos5_sunc++.GNU for an example. -ifdef TEMPLATE_REPOSITORY -CLEANUP_DIRS += $(TEMPLATE_REPOSITORY) -endif - -ifneq ($(mingw32),1) -makefile_name.local: - @echo - @echo GNUmakefile: $(shell pwd)/$(MAKEFILE) MAKEFLAGS=$(MAKEFLAGS) - @echo -else -ECHO_BLANK_LINE ?= echo -makefile_name.local: - @$(ECHO_BLANK_LINE) - @echo GNUmakefile: $(call PWD)/$(MAKEFILE) MAKEFLAGS=$(MAKEFLAGS) - @$(ECHO_BLANK_LINE) -endif - -all.local: makefile_name.local build.objdirs build.local binout.local - -#---------------------------------------------------------------------------- -# C/C++ compilation targets -#---------------------------------------------------------------------------- - - -IDL_SRC ?= -VLIBS ?= -BUILD ?= -BIN ?= -VBIN ?= $(ARCH_BIN:%=%$(VAR)) -ifneq ($(VBIN),) - $(VBIN): $(VLIBS) -endif - -# Always build the V* targets in this order. We control assignment to them -# elsewhere. We add the existing $(BUILD) targets to the end to allow the -# caller to set additional ones, e.g., when defining multiple targets in a -# single makefile--note that we filter out any that are already present. -VBUILD = $(IDL_SRC) $(VLIBS) $(VBIN) $(filter-out $(IDL_SRC) $(VLIBS) $(VBIN), $(BUILD)) - -build.local: $(VBUILD) - -# By setting SUFFIXES to nothing, we turn off all implicit rules, and force -# make to only use the explicit ones we define. -.SUFFIXES: - -# C++ related targets - -STATIC_LINK_FLAG ?= -static_link ?= 0 -ifeq ($(static_link),1) - LDFLAGS += $(STATIC_LINK_FLAG) -endif # static_link = 1 - -OS ?= - -# Define a canned command set to create the output object directory if needed. -ifeq ($(vxworks_ntbuild),1) -define mk_obj_out_dir -@if not exist $(subst /,\,$(@D)) $(MKDIR) $(subst /,\,$(@D)) $(ACE_NUL_STDERR) -endef -else -define mk_obj_out_dir -@-test -d $(@D) || $(MKDIR) $(@D) $(ACE_NUL_STDERR) -endef -endif - -nullstring := -CC_OUTPUT_FLAG_SEP ?= $(nullstring) #space - -$(VDIR)%.$(OBJEXT): %.c - $(mk_obj_out_dir) - $(COMPILE.c) $(CC_OUTPUT_FLAG)$(CC_OUTPUT_FLAG_SEP)$@ $< - ${MVCMD} - -$(VDIR)%.$(OBJEXT): %.C - $(mk_obj_out_dir) - $(COMPILE.c) $(CC_OUTPUT_FLAG)$(CC_OUTPUT_FLAG_SEP)$@ $< - ${MVCMD} - -$(VDIR)%.$(OBJEXT): %.cpp - $(mk_obj_out_dir) - $(COMPILE.cc) $(CC_OUTPUT_FLAG)$(CC_OUTPUT_FLAG_SEP)$@ $< - ${MVCMD} - -$(VDIR)%.$(OBJEXT): %.cc - $(mk_obj_out_dir) - $(COMPILE.cc) $(CC_OUTPUT_FLAG)$(CC_OUTPUT_FLAG_SEP)$@ $< - ${MVCMD} - -$(VDIR)%.$(OBJEXT): %.cxx - $(mk_obj_out_dir) - $(COMPILE.cc) $(CC_OUTPUT_FLAG)$(CC_OUTPUT_FLAG_SEP)$@ $< - ${MVCMD} - -RC_OUTPUT_FLAG ?= - ifneq (,$(COMPILE.rc)) -$(VDIR)%.rc.o: %.rc - $(mk_obj_out_dir) - $(COMPILE.rc) $(RC_OUTPUT_FLAG) $@ $< - ${MVCMD} - endif # COMPILE.rc - -# If SOLINK is defined, then the .$(SOEXT) file is built from the -# .$(OBJEXT) file via separate rules in the same directory. -# Otherwise, the .$(SOEXT) and .$(OBJEXT) are built via the same rule. -# SOLINK is required for the repository under gcc. -ifndef SOLINK -$(VSHDIR)%.$(OBJEXT): %.c - $(mk_obj_out_dir) - $(COMPILE.c) $(PIC) $(CC_OUTPUT_FLAG)$(CC_OUTPUT_FLAG_SEP)$@ $< - -$(VSHDIR)%.$(OBJEXT): %.C - $(mk_obj_out_dir) - $(COMPILE.c) $(PIC) $(CC_OUTPUT_FLAG)$(CC_OUTPUT_FLAG_SEP)$@ $< - -# I added the "Executable Shared Object (ESO)" define to separate between -# normal shared object files and executable shared object files (the kind -# that the service configurator needs to be able to function). -# 970104 Marius Kjeldahl - ifdef (ESOBUILD) -$(VSHDIR)%.$(SOEXT): %.cpp - $(mk_obj_out_dir) - $(ESOBUILD) - else # ! ESOBUILD -$(VSHDIR)%.$(SOEXT): %.cpp - $(mk_obj_out_dir) - $(SOBUILD) - endif # ESOBUILD - -$(VSHDIR)%.$(OBJEXT): %.cc - $(mk_obj_out_dir) - $(COMPILE.cc) $(PIC) $(CC_OUTPUT_FLAG)$(CC_OUTPUT_FLAG_SEP)$@ $< - -$(VSHDIR)%.$(OBJEXT): %.cpp - $(mk_obj_out_dir) - $(COMPILE.cc) $(PIC) $(CC_OUTPUT_FLAG)$(CC_OUTPUT_FLAG_SEP)$@ $< - -$(VSHDIR)%.$(OBJEXT): %.cxx - $(mk_obj_out_dir) - $(COMPILE.cc) $(PIC) $(CC_OUTPUT_FLAG)$(CC_OUTPUT_FLAG_SEP)$@ $< - - ifneq (,$(COMPILE.rc)) -$(VSHDIR)%.rc.$(OBJEXT): %.rc - $(mk_obj_out_dir) - $(COMPILE.rc) $(RC_OUTPUT_FLAG) $@ $< - endif # COMPILE.rc - -$(VSHDIR)%.$(SOEXT): $(VSHDIR)%.$(OBJEXT) - $(mk_obj_out_dir) - $(SOLINK) -endif # SOLINK - -#---------------------------------------------------------------------------- -# Library generation targets -#---------------------------------------------------------------------------- - -#### show_statics shows static objects in locally-created object files. -#### It assumes that the object files were built using g++. -#### TOOLENV selects the proper nm in VxWorks host environments. -#### TOOLDIR allows specification of the full path to nm via definition -#### in the platform_macros.GNU file. -show_statics: - -@$(TOOLDIR)nm$(TOOLENV) -Co $(VSHDIR)*o | \ - egrep ' global destructors '; true - -#### show_uninit shows uninitialized data in locally-created object files. -#### TOOLENV selects the proper nm in VxWorks host environments. -show_uninit: - -@$(TOOLDIR)nm$(TOOLENV) -Co $(VSHDIR)*o | egrep ' b ' - -#---------------------------------------------------------------------------- -# Installation targets -#---------------------------------------------------------------------------- - -# Always add LIB_INSTALL to INSTALL, so libs will get installed even no BIN -# is built. LIB_INSTALL is a dependency for BIN, so libs are installed prior -# to use. Also, make LIB_INSTALL depend on VLIBS, so libs get built prior to -# installation. -ifdef LIB_INSTALL - INSTALL ?= $(LIB_INSTALL) - $(LIB_INSTALL): $(VLIBS) -endif - -ifneq ($(INSBIN),) - $(INSBIN)/$(VBIN): $(VBIN) -endif - -INSTALL ?= -binout.local: $(INSTALL) - -clean_binout.local: -ifdef CLEANUP_INSTALL - ifneq ($(strip $(CLEANUP_INSTALL)),) - $(RM) $(CLEANUP_INSTALL) - endif # CLEANUP_INSTALL -endif # CLEANUP_INSTALL - -ifndef LN_S - ifndef COMSPEC - ifdef ComSpec - #### ACE+TAO use COMSPEC, but ComSpec is defined. - COMSPEC = $(ComSpec) - endif # ComSpec - endif # ! COMPSPEC - - ifdef COMSPEC - #### Assume we're on a WIN32 host. - LN_S = cp -p - else # ! WIN32 - ifeq ($(symlinks),absolute) - LN_S = ln -s - else - LN_S = $(ACE_ROOT)/bin/add_rel_link.sh - endif # symlinks - endif # ! WIN32 -endif # ! LN_S - -# Don't call shell/call directly below since we may need to -# add the architecture specific suffix to the directory -ifneq ($(mingw32),1) -ARCH_SOURCE_DIR := $(patsubst %/,%,$(shell pwd)/$(ARCH)) -else -ARCH_SOURCE_DIR := $(patsubst %/,%,$(call PWD)/$(ARCH)) -endif - -$(INSBIN)/%$(VAR)$(EXEEXT) \ -$(INSINC)/ace% \ -$(INSLIB)/% \ -$(INSMAN)/man1/% \ -$(INSMAN)/man2/% \ -$(INSMAN)/man3/% \ -$(INSMAN)/man4/% \ -$(INSMAN)/man5/% \ -$(INSMAN)/man6/% \ -$(INSMAN)/man7/% \ -$(INSMAN)/man8/% \ -$(INSMAN)/manl/% \ -$(INSMAN)/mann/% : -ifeq ($(vxworks_ntbuild),1) - @if not exist $@ $(RM) $(@:%.$(SOEXT)$(SOVERSION)=%.$(SOEXT)) && \ - $(LN_S) $(ARCH_SOURCE_DIR)/$(@F) $(@:%.$(SOEXT)$(SOVERSION)=%.$(SOEXT)) && \ - $(RM) $@ && \ - echo $(LN_S) $(ARCH_SOURCE_DIR)/$(@F) $@ && \ - $(LN_S) $(ARCH_SOURCE_DIR)/$(@F) $@ -else #not vxworks_ntbuild - ifeq ($(firstword $(LN_S)),cp) - ifneq ($(SOVERSION),) - @if test $(ARCH_SOURCE_DIR) != $(@D) ; then \ - $(RM) $(@:%.$(SOEXT)$(SOVERSION)=%.$(SOEXT)); \ - echo $(LN_S) $(ARCH_SOURCE_DIR)/$(@F) $(@:%.$(SOEXT)$(SOVERSION)=%.$(SOEXT)); \ - $(LN_S) $(ARCH_SOURCE_DIR)/$(@F) $(@:%.$(SOEXT)$(SOVERSION)=%.$(SOEXT)); \ - fi - endif #SOVERSION - @if test $(ARCH_SOURCE_DIR) != $(@D) ; then \ - $(RM) $@; \ - echo $(LN_S) $(ARCH_SOURCE_DIR)/$(@F) $@; \ - $(LN_S) $(ARCH_SOURCE_DIR)/$(@F) $@; \ - fi - else #firstword of LN_S is not cp, so we're using real symlinks - ifneq ($(SOVERSION),) - @if test $(ARCH_SOURCE_DIR) != $(@D) ; then \ - if test ! -s $@ ; then \ - $(RM) $(@:%.$(SOEXT)$(SOVERSION)=%.$(SOEXT)); \ - echo $(LN_S) $(ARCH_SOURCE_DIR)/$(@F) $(@:%.$(SOEXT)$(SOVERSION)=%.$(SOEXT)); \ - $(LN_S) $(ARCH_SOURCE_DIR)/$(@F) $(@:%.$(SOEXT)$(SOVERSION)=%.$(SOEXT)); \ - fi ; \ - fi - endif #SOVERSION - @if test $(ARCH_SOURCE_DIR) != $(@D) ; then \ - if test ! -s $@ ; then \ - $(RM) $@; \ - echo $(LN_S) $(ARCH_SOURCE_DIR)/$(@F) $@; \ - $(LN_S) $(ARCH_SOURCE_DIR)/$(@F) $@; \ - fi ; \ - fi - endif #firstword -endif #vxworks_ntbuild - -ifdef MVSLIB -#special for MVS in order to use the .x files - @if test -w $(@D) ; then \ - if test ! -s $(@:.$(SOEXT)=.x) ; then \ - $(RM) $(@); $(LN_S) $(ARCH_SOURCE_DIR)/$(@F:.$(SOEXT)=.x) $(@:.$(SOEXT)=.x) ; \ - fi \ - fi -endif - -#---------------------------------------------------------------------------- -# Cleanup targets -#---------------------------------------------------------------------------- - -clean_binaries.local: -ifneq ($(BIN_UNCHECKED),) - -$(RM) $(BIN_UNCHECKED) -endif -ifneq ($(SHLIB_UNCHECKED),) - -$(RM) $(SHLIB_UNCHECKED) -ifeq ($(versioned_so),1) - -$(RM) $(SHLIB_UNCHECKED)$(SOVERSION) -endif -endif - -clean_idl_stubs.local: makefile_name.local -ifdef IDL_FILES - -$(RM) $(foreach ext, $(IDL_EXT), $(addsuffix $(ext), $(IDL_FILES))) -endif - -CLEANUP_BIN ?= -ifneq ($(CLEANUP_BIN),) - DO_CLEANUP = 1 - REALCLEAN_FILES += $(CLEANUP_BIN:%=%$(EXEEXT)) $(CLEANUP_BIN:%=%_debug$(EXEEXT)) $(CLEANUP_BIN:%=%_profile$(EXEEXT)) $(CLEANUP_BIN:%=%_optimize$(EXEEXT)) -endif # !CLEANUP_BIN - -ifdef static_libs - CLEANUP_LIB ?= - ifneq ($(CLEANUP_LIB),) - DO_CLEANUP = 1 - REALCLEAN_FILES += $(CLEANUP_LIB:%=%) $(CLEANUP_LIB:%=%_debug) $(CLEANUP_LIB:%=%_profile) $(CLEANUP_LIB:%=%_optimize) - endif # !CLEANUP_LIB -endif # static_libs - -ifdef shared_libs - CLEANUP_SHLIB ?= - ifneq ($(CLEANUP_SHLIB),) - DO_CLEANUP = 1 - REALCLEAN_FILES += $(CLEANUP_VSHLIB:%=%) $(CLEANUP_VSHLIB_NO_VER:%=%*) $(CLEANUP_VSHLIB_NO_VER:%=%_debug) $(CLEANUP_VSHLIB_NO_VER:%=%_profile) $(CLEANUP_VSHLIB_NO_VER:%=%_optimize) - endif # !CLEANUP_SHLIB -endif # shared_libs - -ifdef OBJS - CLEANUP_OBJS += $(addprefix $(VDIR), $(OBJS)) -endif # OBJS -ifneq ($(CLEANUP_BIN),) - CLEANUP_OBJS += $(addsuffix .$(OBJEXT),$(addprefix $(VDIR),$(basename $(CLEANUP_BIN:$(ARCH)/%=%)))) $(VOBJS) -endif # CLEANUP_BIN -ifdef VSHOBJS - CLEANUP_OBJS += $(VSHOBJS) -endif # VSHOBJS - -clean.local: makefile_name.local -ifdef DO_CLEANUP - -$(RM) -r \ - *.$(OBJEXT) *~ *.bak *.rpo *.sym lib*.*_pure_* \ - GNUmakefile.old core-r $(CLEANUP_DIRS) \ - cxx_repository ptrepository ti_files \ - gcctemp.c gcctemp so_locations *.ics \ - templateregistry templateregistry.* ir.out core.* *.core $(CLEANUP_OBJS) -endif # DO_CLEANUP - -realclean.local: clean.local clean_binout.local clean_idl_stubs.local -ifdef DO_CLEANUP - -$(RM) -r $(REALCLEAN_FILES) $(sort $(CLEANUP_OBJDIRS)) $(ARCH) -endif # DO_CLEANUP - - -#---------------------------------------------------------------------------- -# Dependency generation target -#---------------------------------------------------------------------------- - -MAKEFILE ?= GNUmakefile -DEPENDENCY_FILE ?= $(MAKEFILE) - -TAO_ROOT ?= $(ACE_ROOT)/TAO - -# If no libraries are build in the current directory (actually, if -# rules.lib.GNU isn't included), then SOEXT might not be set. -SOEXT ?= so - -ORIGdepend.local: $(MAKEFILE) - @$(RM) $(MAKEFILE).old - @cp $(MAKEFILE) $(MAKEFILE).old - $(ACE_ROOT)/bin/g++dep -f $(MAKEFILE) $(CPPFLAGS) -DMAKEDEPEND $(LSRC) $(SRC) $(PSRC) - @cat $(MAKEFILE) | \ - sed -e "s;$(TAO_ROOT);\$$(TAO_ROOT);g" \ - -e "s;$(ACE_ROOT);\$$(ACE_ROOT);g" \ - $(ACE_DEPEND_SED_CMD) \ - -e '/$$(ACE_ROOT)\/ace\/config[^\.]*\.h/d' \ - -e "s; /[-a-zA-Z0-9_./]*\.h;;g" \ - -e "s;\([-a-zA-Z0-9._]*\)\.$(OBJEXT):;.obj/\1.$(OBJEXT) .obj/\1.$(SOEXT) $(VSHDIR)\1.$(OBJEXT) $(VSHDIR)\1.$(SOEXT):;" \ - > $(MAKEFILE).new - @cat $(MAKEFILE).new >$(MAKEFILE) - @$(RM) $(MAKEFILE).new - @if cmp -s $(MAKEFILE) $(MAKEFILE).old ;\ - then echo "GNUmakefile dependencies unchanged." ;\ - else \ - echo "GNUmakefile dependencies updated." ;\ - fi ;\ - $(RM) $(MAKEFILE).old ; - -ifneq ($(MAKEFILE),$(DEPENDENCY_FILE)) -$(DEPENDENCY_FILE): -ifeq ($(lacks_touch),1) - copy NUL "$(DEPENDENCY_FILE)" -else - touch $(DEPENDENCY_FILE) -endif -depend.local: $(DEPENDENCY_FILE) --include $(DEPENDENCY_FILE) -endif - -ifdef COMSPEC - DEPGEN ?= perl $(ACE_ROOT)/bin/depgen.pl -else - DEPGEN ?= $(ACE_ROOT)/bin/depgen.pl - DEPGEN_ENV := ACE_PLATFORM_CONFIG=$(ACE_PLATFORM_CONFIG) \ -ACE_DEPEND_SED_CMD="$(ACE_DEPEND_SED_CMD)" -endif - -# Use findstring just in case the script was preceded by /usr/bin/perl -ifeq ($(findstring depgen.pl, $(notdir $(DEPGEN))), depgen.pl) - DEPEND_CMD_ARGS += -i - ifeq ($(inline), 0) - DEPEND_CMD_ARGS += -n - endif -endif - - -depend.local: $(MAKEFILE) idl_stubs.local - @$(RM) $(DEPENDENCY_FILE).old - @cp $(DEPENDENCY_FILE) $(DEPENDENCY_FILE).old - $(DEPGEN_ENV) $(DEPGEN) -A $(DEPEND_CMD_ARGS) -e config.h -f $(DEPENDENCY_FILE) \ - $(CPPFLAGS) -t gnu -DMAKEDEPEND $(CCFLAGS) $(LSRC) $(SRC) $(PSRC) - @if cmp -s $(DEPENDENCY_FILE) $(DEPENDENCY_FILE).old ;\ - then echo "GNUmakefile dependencies unchanged." ;\ - else \ - echo "GNUmakefile dependencies updated." ;\ - fi ;\ - $(RM) $(DEPENDENCY_FILE).old ; - -#---------------------------------------------------------------------------- -# RCS info target -#---------------------------------------------------------------------------- - -IDL_FILES ?= -IDL_CLIENT_HDR_EXT ?= - -idl_stubs.local: $(foreach file, $(IDL_FILES), $(file)$(IDL_CLIENT_HDR_EXT)) - -#---------------------------------------------------------------------------- -# RCS info target -#---------------------------------------------------------------------------- - -rcs_info.local: - @rcs info - -#---------------------------------------------------------------------------- -# Variant targets and conditional macros -#---------------------------------------------------------------------------- - -build.objdirs: $(CLEANUP_DIRS) - -ifeq ($(MKDIR_NTSTYLE),1) -$(CLEANUP_DIRS): - @if not exist $@ $(MKDIR) $@ $(ACE_NUL_STDERR) -else -$(CLEANUP_DIRS): - @test -d $@ || $(MKDIR) $@ $(ACE_NUL_STDERR) -endif - -svnignore.local: - if [ "n$(ARCH_BIN)" != "n" ]; then \ - (svn propget svn:ignore .; echo $(ARCH_BIN)) | sort | uniq | sed '/^$$/d' >SvNiGnOrE; \ - svn propset svn:ignore -F SvNiGnOrE .; \ - rm SvNiGnOrE; \ - fi diff --git a/dep/ACE_wrappers/include/makeinclude/rules.nested.GNU b/dep/ACE_wrappers/include/makeinclude/rules.nested.GNU deleted file mode 100644 index 696900ebe..000000000 --- a/dep/ACE_wrappers/include/makeinclude/rules.nested.GNU +++ /dev/null @@ -1,43 +0,0 @@ -# -*- Makefile -*- - -#---------------------------------------------------------------------------- -# $Id: rules.nested.GNU 80826 2008-03-04 14:51:23Z wotte $ -# -# Nested directory targets makefile definitions -#---------------------------------------------------------------------------- - -# If the client makefile is not called "Makefile", the MAKEFILE -# variable must be set to its actual name before including this -# file to allow the recursive MAKE to work properly. - -MAKEFILE ?= GNUmakefile -SUBDIR_MAKEFILE ?= $(MAKEFILE) - -# Make sure that we build directories with DIRS= in sequence instead of in -# parallel, unless DIRS_PARALLEL is set, in which case they may be built -# in parallel if enabled by the proper flags and not disabled elsewhere. -DIRS_PARALLEL ?= - -ifeq ($(DIRS_PARALLEL),) -.NOTPARALLEL: -endif - -# A rule to build DIR.subdir from DIR by calling MAKE again, with -# DIR as the new directory, SUBDIR_TARGET as the target to build, and -# "GNUmakefile" as the makefile to use in the new directory. - -# Triggered by the $(TARGETS_NESTED) target, below. - -%.subdir: % - cd $< && $(MAKE) -f $(SUBDIR_MAKEFILE) $(SUBDIR_TARGET) - -# Build FOO.nested by calling MAKE again, this time with DIRS (with -# ".subdir" appended to each) as the targets, and passing FOO as the -# real target to build in the SUBDIR_TARGET variable. - -$(TARGETS_NESTED): -ifdef DIRS - ifneq ($(DIRS),) - $(MAKE) -f $(MAKEFILE) SUBDIR_TARGET=$(@:.nested=) $(addsuffix .subdir, $(DIRS)) - endif # DIRS -endif # DIRS diff --git a/dep/ACE_wrappers/include/makeinclude/rules.nolocal.GNU b/dep/ACE_wrappers/include/makeinclude/rules.nolocal.GNU deleted file mode 100644 index 9ff356968..000000000 --- a/dep/ACE_wrappers/include/makeinclude/rules.nolocal.GNU +++ /dev/null @@ -1,8 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id: rules.nolocal.GNU 80826 2008-03-04 14:51:23Z wotte $ -# -# Makefile for directories with no local build targets -#---------------------------------------------------------------------------- - -$(TARGETS_LOCAL): - diff --git a/dep/ACE_wrappers/include/makeinclude/rules.nonested.GNU b/dep/ACE_wrappers/include/makeinclude/rules.nonested.GNU deleted file mode 100644 index 2cb8e8ada..000000000 --- a/dep/ACE_wrappers/include/makeinclude/rules.nonested.GNU +++ /dev/null @@ -1,8 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id: rules.nonested.GNU 80826 2008-03-04 14:51:23Z wotte $ -# -# Null nested targets -#---------------------------------------------------------------------------- - -$(TARGETS_NESTED): - diff --git a/dep/ACE_wrappers/include/makeinclude/wrapper_macros.GNU b/dep/ACE_wrappers/include/makeinclude/wrapper_macros.GNU deleted file mode 100644 index 3196593ff..000000000 --- a/dep/ACE_wrappers/include/makeinclude/wrapper_macros.GNU +++ /dev/null @@ -1,954 +0,0 @@ -# -*- Makefile -*- - -#---------------------------------------------------------------------------- -# $Id: wrapper_macros.GNU 92151 2010-10-05 07:27:20Z johnnyw $ -#---------------------------------------------------------------------------- -# -# ACE supports the following flags. They can be enabled either on -# the command line, e.g., "make purify=1", or added to your -# platform_macros.GNU. To disable the option, set the flag to null, -# e.g., "make debug=". Some flags support setting to 0 disable, -# e.g., "make debug=0". debug=1 is enabled in the platform files -# that are released with ACE. -# -# Please note that the effects of a flag may be platform specific. -# Also, combinations of certain flags may or may not be allowed on -# specific platforms, e.g., debug=1 opt=1 is supported by g++ but -# not all other C++ compilers. -# -# Flag Description -# ---- ----------- -# ace_for_tao Build "ace_for_tao" subset. Primarily useful for -# reducing the size of the ACE shared library when -# using TAO. -# debug Enable debugging; see DCFLAGS and DCCFLAGS. -# dmalloc Indicate build with dmalloc; adds PLATFORM_DMALLOC_CPPFLAGS -# to CPPFLAGS, PLATFORM_DMALLOC_LDFLAGS to LDFLAGS, and -# PLATFORM_DMALLOC_LIBS to LIBS. For more information on -# dmalloc, see http://dmalloc.com. -# fast Enable -fast option, e.g., with Sun C++. -# inline Enable ACE inlining. Some platforms enable inlining by -# default, others do not. If platform_macros.GNU does not -# set this, inline is enabled. -# minimum_corba Enable minimumCORBA support. (Documented here, but -# implemented in TAO/rules.TAO.GNU.) -# mtrace Indicate build with mtrace; adds PLATFORM_MTRACE_CPPFLAGS -# to CPPFLAGS. Mtrace is an extension in GNU libc. -# optimize Enable optimization; see OCFLAGS and OCCFLAGS. -# probe Enable ACE_Timeprobes. -# profile Enable profiling; see PCFLAGS and PCCFLAGS. -# purify Purify all executables. purify must be in user's PATH! -# quantify Quantify all executables. quantify must be in user's PATH! -# repo Use GNU template repository (g++ with repo patches and -# egcs only). -# shared_libs Build shared libraries. Ignored if static_libs_only is set. -# static_libs Build static libraries. Ignored if shared_libs_only is set. -# shared_libs_only Only build shared libraries. Ignored if no SHLIBs are -# specified by the Makefile, as in performance-tests/Misc. -# static_libs_only Only build static libraries. -# static_link Link only static libs to executables, e.g., uses "-static" -# flag with the GNU ld linker. -# symlinks Make symbolic links (on appropriate platforms) in the lib -# directory be either "absolute" or "relative". -# templates Type of template instantiation to perform. Can be one of -# automatic, used. Defaults to automatic. -# threads Build with thread support. -# trio Indicate build with trio; adds PLATFORM_TRIO_CPPFLAGS -# to CPPFLAGS, PLATFORM_TRIO_LDFLAGS to LDFLAGS, and -# PLATFORM_TRIO_LIBS to LIBS. For more information on -# trio, see http://sourceforge.net/projects/ctrio/ -# xt Build with Xt (X11 Toolkit) support. -# fl Build with FlTk (Fast Light Toolkit) support. -# fox Build with Fox Toolkit support. -# tk Build with Tk (Tcl/Tk) support. -# qt Build with Qt (Trolltech Qt) support. -# ssl Build with OpenSSL support. -# rapi Build with RAPI -# stlport Build with STLPort support -# rwho Build with rwho, this results in building apps/drwho -# pipes Build with pipe support, resulting in adding -pipe to the -# compiler options. -# sctp Build support for TAO SCIOP and for ACE SCTP -# wrapper-facades. The sctp macro should be set to a string -# value representing a particular SCTP implementation. -# Recognized values include: openss7 lksctp -# -# versioned_so Add versioning to libraries. Defaults to 1 (true). If 0, -# no version number is appended to shared library names. -# If versioned_so is 1 (enabled), the SOVERSION make -# variable can also be set to specify the version info -# to append to the name - it should have a leading '.' - -# else it defaults to .ACE_MAJOR.ACE_MINOR.ACE_BETA. -# wfmo Build with wfmo support (Win32 only) -# winregistry Build with windows registry support (Win32 only) -# winnt Build WinNT-specific projects (Win32 only) -# link_groups This indicates that statically linked executable library -# names will be surrounded by -Wl,--start-group and -# -Wl,--end-group for the GNU compiler only. -# -# Usually, users do not need to be concerned with make targets. -# Just enter "make" on the command line to build. A few notable -# targets are listed below. -# -# Target Description -# ------ ----------- -# show_statics Lists all static objects in object files built for -# current directory. Only supported for g++. -# show_uninit Lists all uninitialized in object files built for -# current directory. Only supported for g++. -# -# The following describes the ACE wrapper macros: -# -# Variable Description -# -------- ----------- -# ARFLAGS Flags for the archive utility (ar) -# CC C compiler command -# CXX C++ compiler command -# RC Resource compiler command -# COMPILE.c Flags for compiling with C -# COMPILE.cc Flags for compiling with C++ -# COMPILE.rc Flags for compiling with the resource compiler -# CPPFLAGS C pre-processor flags -# CFLAGS C compilation flags -# CCFLAGS C++ compilation flags -# DCFLAGS C compilation flags for debugging -# DCCFLAGS C++ compilation flags for debugging -# DEFFLAGS C++ preprocessor flag for defining symbols -# DLD Name of dynamic linker -# LD Name of linker -# IDL Name of the CORBA IDL compiler -# TEMPLATES_FLAG -# Flag to pass to the compiler to control the instantiation of -# templates. -# INSBIN Binary (executable) installation directory -# INSINC Include file installation directory -# INSMAN Manpage installation directory -# INSLIB Library installation directory -# LDFLAGS ld linker flags -# LINK.c Flags for linking with C -# LINK.cc Flags for linking with C++ -# MAKEFLAGS Flags that are passed into the compilation from the commandline -# OCFLAGS Optimizing C compilation flags -# OCCFLAGS Optimizing C++ compilation flags -# PCFLAGS C compilation flags for profiling -# PCCFLAGS C++ compilation flags for profiling -# PLATFORM_XT_CPPFLAGS -# Platform CPP options for X11 (some require -I...) -# PLATFORM_XT_LDFLAGS -# Platform LD options for X11 (some require -L...) -# PLATFORM_XT_LIBS -# Platform libraries require with X11 -# PLATFORM_SSL_CPPFLAGS -# Platform CPP options for OpenSSL (may need -I...) -# PLATFORM_SSL_LDFLAGS -# Platform LD options for OpenSSL (may need -L...) -# PLATFORM_SSL_LIBS -# Platform libraries required with OpenSSL -# PLATFORM_RAPI_CPPFLAGS -# Platform CPP options for RAPI -# PLATFORM_RAPI_LDFLAGS -# Platform LD options for RAPI -# PLATFORM_RAPI_LIBS -# Platform libraries required with RAPI -# PLATFORM_SCTP_CPPFLAGS -# Platform CPP options required for SCTP -# PLATFORM_SCTP_LDFLAGS -# Platform LD options required for SCTP -# PLATFORM_SCTP_LIBS -# Platform libraries required for SCTP -# PRELINK Executable to precede linking, such as quantify -# PURELINK If set, contains purify executable as well as all options -# PURE_CACHE_BASE_DIR -# The base directory in which Pure products will produce -# instrumented libraries. If you don't want that to be below -# /tmp, set this variable in your environment or on the make -# command line. -# PURE_CACHE_DIR -# The full name of the directory in which Pure produces will -# produce instrumented libraries. -# PWD Command to get the current working directory -# PTDIRS Pathnames of directories containing template code -# RM Name of program to use to remove files -# ACE_MKDIR Name of program to (recursively) create directories -# SOFLAGS Flags used to build a shared library -# SOLINK.cc Link line necessary to build a share library -# VAR Variant identifier suffix -# VDIR Directory for object code -# VSHDIR Directory for shared object code -# ACE_ROOT Pathname for the root of the build tree -# -#---------------------------------------------------------------------------- -# Platform-dependent macro definitions -# (link to the appropriate platform-specific config file). -#---------------------------------------------------------------------------- - -#### Default to building shared libraries only. Set it here to give the -#### platform a chance to override. -ifndef shared_libs - shared_libs = 1 -endif # shared_libs -ifndef static_libs - static_libs = 0 -endif # static_libs - -#### Set up the build ACE version in case the platform_macros.GNU wants it. -ifeq (cmd,$(findstring cmd,$(SHELL))) -ACE_MAJOR_VERSION := $(shell awk "/ACE_MAJOR_VERSION/ { print $$3}" ${ACE_ROOT}/ace/Version.h) -ACE_MINOR_VERSION := $(shell awk "/ACE_MINOR_VERSION/ { print $$3}" ${ACE_ROOT}/ace/Version.h) -ACE_BETA_VERSION := $(shell awk "/ACE_BETA_VERSION/ { print $$3}" ${ACE_ROOT}/ace/Version.h) -else -ACE_MAJOR_VERSION := $(shell awk '/ACE_MAJOR_VERSION/ { print $$3}' ${ACE_ROOT}/ace/Version.h) -ACE_MINOR_VERSION := $(shell awk '/ACE_MINOR_VERSION/ { print $$3}' ${ACE_ROOT}/ace/Version.h) -ACE_BETA_VERSION := $(shell awk '/ACE_BETA_VERSION/ { print $$3}' ${ACE_ROOT}/ace/Version.h) -endif - -ACE_VERSION = $(ACE_MAJOR_VERSION).$(ACE_MINOR_VERSION).$(ACE_BETA_VERSION) - -# Define some variables to silence warnings -SHR_FILTER ?= - -# Include this before the below variables to make it possible for -# platform_macros.GNU to set default values for them. -ifneq ($(alternate_platform_macros),) - include $(alternate_platform_macros) -else - include $(ACE_ROOT)/include/makeinclude/platform_macros.GNU -endif # alternate_platform_macros - -# Define some variables to silence warnings -GHS ?= -CHORUS ?= -AIX_TEMPLATE_HACK ?= - -# $(ACE_PLATFORM_CONFIG) is used in dependency rules and corresponds to the -# platform dependent config-*.h file included in config.h, and can be set -# in your platform_*.GNU file or platform_macros.GNU. -ACE_PLATFORM_CONFIG ?= config.h - -ifeq ($(threads),0) - ifneq ($(findstring -DACE_MT_SAFE=0,$(CPPFLAGS)),-DACE_MT_SAFE=0) - CPPFLAGS += -DACE_MT_SAFE=0 - endif # -DACE_MT_SAFE=0 -endif # threads - -#### -#### Defaults are fast off (0), threads on (1) -#### and versioned_so on (1). -#### -fast ?= 0 -versioned_so ?= 1 -use_dep_libs ?= 1 -threads ?= 1 -symlinks ?= relative -link_groups ?= 0 -mcpp ?= 0 - -SOVERSION ?= -SONAME ?= - -ifeq ($(PWD),) - PWD=$(shell pwd) -endif - -ifeq ($(ACE_MKDIR),) - MKDIR = mkdir -p -else - MKDIR = $(ACE_MKDIR) -endif - -#---------------------------------------------------------------------------- -# Platform-independent macro definitions -#---------------------------------------------------------------------------- - -INCLDIRS ?= -DEFFLAGS ?= - -ifeq ($(debug),0) - DEFFLAGS += -DNDEBUG -endif - -ifeq (,$(findstring -I$(ACE_ROOT),$(INCLDIRS))) - INCLDIRS += -I$(ACE_ROOT) -endif - -CPPFLAGS += $(DEFFLAGS) $(INCLDIRS) - -# Define default extensions for IDL-generated files -IDL_CLIENT_HDR_EXT ?= C.h -IDL_CLIENT_INL_EXT ?= C.inl -IDL_CLIENT_SRC_EXT ?= C.cpp -IDL_SERVER_HDR_EXT ?= S.h -IDL_SERVER_INL_EXT ?= S.inl -IDL_SERVER_SRC_EXT ?= S.cpp -IDL_SERVER_THDR_EXT ?= S_T.h -IDL_SERVER_TINL_EXT ?= S_T.inl -IDL_SERVER_TSRC_EXT ?= S_T.cpp - -ifeq (default,$(origin LEX)) -LEX = flex -endif - -EXEEXT ?= - -ifndef COMSPEC - ifdef ComSpec - #### ACE+TAO use COMSPEC, but ComSpec is defined. - COMSPEC = $(ComSpec) - endif # ComSpec -endif # ! COMPSPEC - -ifdef COMSPEC - #### Assume we're on a WIN32 host. - ACE_NUL = nul -else # ! WIN32 - ACE_NUL = /dev/null -endif # ! WIN32 - -#### Redirect stderr to nul device, and mask exit status. -ACE_NUL_STDERR = 2>$(ACE_NUL) || true -PCFLAGS += #### set in platform_macros.GNU file, e.g., -p -PCCFLAGS += #### set in platform_macros.GNU file, e.g., -p -VAR ?= - -# User-written makefiles that are not MPC-generated often use LIB to specify -# what to build. This is in contrast to MPC-generated files that use -# LIB_CHECKED for this purpose. LIB causes conflicts on Windows with gmake -# and Visual Studio which uses the LIB environment variable as a search path -# for libraries to link. So, to allow non-MPC makefiles to keep working, set -# LIB_CHECKED based on LIB if the former is not set and the latter is. -ifndef COMSPEC - LIB_CHECKED ?= $(LIB) -endif # ! COMPSPEC (and, therefore, assumed !Windows - -# default to not using an architecture-specific output directory -ARCH ?= - -ifdef ARCH - INSLIB := $(INSLIB:%=%/$(ARCH)) - - # ADD_ARCH is a function used with $(call) to "ARCHIFY" a variable which - # contains the name and path of an executable or library. If the file is not - # located in the ARCH subdir, the non-ARCH location is used. First we need - # some helper functions to deal with quoting/protecting spaces. - # ADD_ARCH can return a path containing a space, the caller must quote it or - # escape the space, depending on the context. - PROT_SPC = $(subst $(SPACE),?,$(1)) - UNPROT_SPC = $(subst ?,$(SPACE),$(1)) - FILE_EXISTS = $(wildcard $(subst $(SPACE),\$(SPACE),$(1))) - ADD_ARCH_HLP = $(call UNPROT_SPC,$(dir $(1))$(ARCH)/$(notdir $(1))) - ARCH_FILE = $(call FILE_EXISTS,$(call ADD_ARCH_HLP,$(call PROT_SPC,$(1)))) - ADD_ARCH = $(if $(call ARCH_FILE,$(1)),$(call ARCH_FILE,$(1)),$(call FILE_EXISTS,$(1))) - - ARCH_BIN = $(if $(BIN),$(ARCH)/$(BIN)) - ARCH_BIN2 = $(if $(BIN2),$(ARCH)/$(BIN2)) - ARCH_LIB = $(if $(LIB_CHECKED),$(ARCH)/$(LIB_CHECKED)) - ARCH_LIB2 = $(if $(LIB2),$(ARCH)/$(LIB2)) - ARCH_SHLIB = $(if $(SHLIB),$(ARCH)/$(SHLIB)) - ARCH_SHLIB2 = $(if $(SHLIB2),$(ARCH)/$(SHLIB2)) - ARCH_SHLIBA = $(if $(SHLIBA),$(ARCH)/$(SHLIBA)) - ARCH_SHLIBA2 = $(if $(SHLIBA2),$(ARCH)/$(SHLIBA2)) - -else #ARCH is not defined - - ADD_ARCH = $(1) - - ARCH_BIN = $(BIN) - ARCH_BIN2 = $(BIN2) - ARCH_LIB = $(LIB_CHECKED) - ARCH_LIB2 = $(LIB2) - ARCH_SHLIB = $(SHLIB) - ARCH_SHLIB2 = $(SHLIB2) - ARCH_SHLIBA = $(SHLIBA) - ARCH_SHLIBA2 = $(SHLIBA2) - -endif #ARCH - -# for use with the result of ADD_ARCH -ADD_QUOTE = $(if $(findstring $(SPACE),$(1)),"$(1)",$(1)) - - -INSINC ?= $(ACE_ROOT)/ace -INSLIB ?= $(ACE_ROOT)/lib -INSMAN ?= $(ACE_ROOT)/man - -ifeq (,$(findstring -L$(INSLIB),$(LDFLAGS))) - LDFLAGS += -L$(INSLIB) -endif - -#ifdef ARCH -# LDFLAGS_ARCH := $(LDFLAGS:-L%=-L%/$(ARCH)) -# LDFLAGS += $(LDFLAGS_ARCH) -#endif - -# Set the cleanup targets. These targets are used by realclean even if -# the component isn't being built, i.e., the decision to build it was based -# on components built in another makefile and written a file (that might no -# longer be available) and accessed by $(ACE_ROOT)/bin/ace_components. -# -# If a component should always be built, just use the normal BIN, LIB, or -# SHLIB variables. If it's dependent on a component, use the BIN2 or -# BIN_UNCHECKED variety, then assign that to BIN if the required component -# is available. - -BIN_UNCHECKED ?= -CLEANUP_BIN ?= -ifdef BIN - CLEANUP_BIN = $(ARCH_BIN) -endif # !BIN -ifdef BIN2 - CLEANUP_BIN += $(ARCH_BIN2) -endif # !BIN2 -ifneq ($(BIN_UNCHECKED),) - CLEANUP_BIN += $(BIN_UNCHECKED) -endif # !BIN_UNCHECKED - -LIB_UNCHECKED ?= -CLEANUP_LIB ?= -ifdef LIB_CHECKED - CLEANUP_LIB = $(ARCH_LIB) -endif # !LIB_CHECKED -ifdef LIB2 - CLEANUP_LIB += $(ARCH_LIB2) -endif # !LIB2 -ifneq ($(LIB_UNCHECKED),) - CLEANUP_LIB = $(LIB_UNCHECKED) -endif # !LIB_UNCHECKED - -SHLIB_UNCHECKED ?= -CLEANUP_SHLIB ?= -ifdef SHLIB - CLEANUP_SHLIB = $(ARCH_SHLIB) -endif # !SHLIB -ifdef SHLIB2 - CLEANUP_SHLIB += $(ARCH_SHLIB2) -endif # SHLIB2 -ifneq ($(SHLIB_UNCHECKED),) - CLEANUP_SHLIB += $(SHLIB_UNCHECKED) -endif # ! SHLIB_UNCHECKED - -SHLIBA_UNCHECKED ?= -CLEANUP_SHLIBA ?= -ifdef SHLIBA - CLEANUP_SHLIBA = $(ARCH_SHLIBA) -endif # SHLIBA -ifdef SHLIBA2 - CLEANUP_SHLIBA = $(ARCH_SHLIBA2) -endif # SHLIB2A -ifneq ($(SHLIBA_UNCHECKED),) - CLEANUP_SHLIBA = $(SHLIBA_UNCHECKED) -endif # SHLIBA_UNCHECKED - -# Let users override the default VDIR directories -ifdef ARCH -VDIR ?= $(ARCH)/.obj/ -VSHDIR ?= $(ARCH)/.shobj/ -else -VDIR ?= .obj/ -VSHDIR ?= .shobj/ -endif - -# NOTE: VLDLIBS is defined below, in case it is overridden for static- -# or shared-only builds. -ifeq (default,$(origin YACC)) -YACC = bison -endif - -#---------------------------------------------------------------------------- -# Platform-dependent macros that require platform_macros.GNU. -#---------------------------------------------------------------------------- - -OBJEXT ?= o -SOEXT ?= so -LIBEXT ?= a -LIB_PREFIX ?= lib - -CC_OUTPUT_FLAG ?= -o -SO_OUTPUT_FLAG ?= -o -LINK_OUTPUT_FLAG ?= -o - -#---------------------------------------------------------------------------- -# make flags -#---------------------------------------------------------------------------- - -ifeq ($(optimize),0) - override optimize = -endif # optimize - -ifneq ($(optimize),) - CFLAGS += $(OCFLAGS) - CCFLAGS += $(OCCFLAGS) -endif # optimize - -ifeq ($(debug),0) - override debug = -endif # debug - -ifeq ($(debug),) - CPPFLAGS += -DACE_NDEBUG -# Disable the RCSID for release/non-debug builds. - ifeq (,$(findstring ACE_USE_RCSID,$(CPPFLAGS))) - CPPFLAGS += -DACE_USE_RCSID=0 - endif -else - CFLAGS += $(DCFLAGS) - CCFLAGS += $(DCCFLAGS) -endif # debug - -dmalloc ?= -ifeq ($(dmalloc),0) - override dmalloc = -endif # dmalloc - -ifdef dmalloc - CPPFLAGS += $(PLATFORM_DMALLOC_CPPFLAGS) - LDFLAGS += $(PLATFORM_DMALLOC_LDFLAGS) - LIBS += $(PLATFORM_DMALLOC_LIBS) -endif # dmalloc - -mtrace ?= -ifeq ($(mtrace),0) - override mtrace = -endif # mtrace - -ifdef mtrace - CPPFLAGS += $(PLATFORM_MTRACE_CPPFLAGS) -endif # mtrace - -ifeq ($(threads),0) - override threads = -endif # threads - -trio ?= -ifeq ($(trio),0) - override trio = -endif # trio - -ifdef trio - CPPFLAGS += -DACE_HAS_TRIO $(PLATFORM_TRIO_CPPFLAGS) - LDFLAGS += $(PLATFORM_TRIO_LDFLAGS) - LIBS += -ltrio $(PLATFORM_TRIO_LIBS) - ACE_MAKE_OPTIONS += trio -endif # trio - -# ace_for_tao subsetting is disabled by default. -ace_for_tao ?= -ifeq ($(ace_for_tao),0) - override ace_for_tao = -endif # ace_for_tao - -ifneq ($(ace_for_tao),) - ACE_MAKE_OPTIONS += ace_for_tao -endif # ace_for_tao - - -ifeq ($(xt),0) - override xt = -endif # xt - -ifneq ($(xt),) - override x11=1 - override xt=1 - override ace_xtreactor=1 - override tao_xtresource=1 - ACE_MAKE_OPTIONS += xt -endif # xt - -fl ?= -ifeq ($(fl),0) - override fl = -endif # fl - -ifneq ($(fl),) - override x11=1 - override gl=1 - override ace_flreactor=1 - override tao_flresource=1 - ACE_MAKE_OPTIONS += fl -endif # fl - -tk ?= -ifeq ($(tk),0) - override tk = -endif # tk - -ifneq ($(tk),) - override x11=1 - override tk=1 - override ace_tkreactor=1 - override tao_tkresource=1 - ACE_MAKE_OPTIONS += tk -endif # tk - -qt ?= -ifeq ($(qt),0) - override qt = -endif # qt - -ifneq ($(qt),) - override qt=1 - override ace_qtreactor=1 - override tao_qtresource=1 - ACE_MAKE_OPTIONS += qt -endif # qt -gtk_reactor ?= - -ifeq ($(gtk_reactor),0) - override gtk_reactor = -endif # gtk_reactor - -ifneq ($(gtk_reactor),) - override ace_with_gtk=1 - CPPFLAGS += -DACE_HAS_GTK $(PLATFORM_GTK_CPPFLAGS) - LIBS += $(PLATFORM_GTK_LIBS) - LDFLAGS += $(PLATFORM_GTK_LDFLAGS) - ACE_MAKE_OPTIONS += gtk_reactor -endif # gtk_reactor - -fox ?= -ifeq ($(fox),0) - override fox = -endif # fox - -ifneq ($(fox),) - override x11=1 - override gl=1 - override ace_foxreactor=1 - override tao_foxresource=1 - ACE_MAKE_OPTIONS += fox -endif #fox - -QTDIR ?= -ifneq ($(QTDIR),) - MOC = ${QTDIR}/bin/moc -else - MOC = moc -endif - -rapi ?= -ifeq ($(rapi),0) - override rapi = -endif #rapi - -ifneq ($(rapi),) - CPPFLAGS += -DACE_HAS_RAPI $(PLATFORM_RAPI_CPPFLAGS) - LIBS += $(PLATFORM_RAPI_LIBS) - LDFLAGS += $(PLATFORM_RAPI_LDFLAGS) - ACE_MAKE_OPTIONS += rapi -endif # rapi - -sctp ?= -ifeq ($(sctp),0) - override sctp = -endif #rapi - -# if any sctp implementation is present then add -ifneq ($(sctp),) - CPPFLAGS += -DACE_HAS_SCTP $(PLATFORM_SCTP_CPPFLAGS) - LDFLAGS += $(PLATFORM_SCTP_LDFLAGS) - LIBS += $(PLATFORM_SCTP_LIBS) - ACE_MAKE_OPTIONS += sctp -endif - -gl ?= -ifeq ($(gl),0) - override gl = -endif # gl - -ifneq ($(gl),) - ACE_MAKE_OPTIONS += gl -endif # gl - -ssl ?= 0 -ifeq ($(ssl),0) - override ssl = -else - ifneq ($(SSL_ROOT), /usr) - ifneq ($(SSL_ROOT),) - PLATFORM_SSL_CPPFLAGS += -I$(SSL_ROOT)/include - PLATFORM_SSL_LDFLAGS += -L$(SSL_ROOT)/lib - endif - endif - PLATFORM_SSL_LIBS ?= -lssl -lcrypto - ACE_MAKE_OPTIONS += ssl -endif - -## These are related to MPC. When 'requires' is used in a project -## it controls whether or not the project is generated. There is also -## a second level of control in platform macros and thus requires -## some features to be set here as well. -ec_typed_events ?= 1 -zlib ?= 1 - -valgrind ?= -ifeq ($(valgrind),1) - CPPFLAGS += -DACE_HAS_VALGRIND -endif - -profile ?= -ifeq ($(profile),0) - override profile = -endif # profile - -ifneq ($(profile),) - CFLAGS += $(PCFLAGS) - CCFLAGS += $(PCCFLAGS) -endif # profile - -inline ?= 1 -ifeq ($(inline),0) - CPPFLAGS += -DACE_NO_INLINE -else -ifeq ($(inline),1) - CPPFLAGS += -D__ACE_INLINE__ -endif # inline eq 1 -endif # inline eq 0 - -ifeq ($(shared_libs),0) - override shared_libs = -endif # shared_libs -ifeq ($(static_libs),0) - override static_libs = -endif # static_libs - -shared_libs_only ?= -ifeq ($(shared_libs_only),0) - override shared_libs_only = -endif # shared_libs_only - -static_libs_only ?= -ifeq ($(static_libs_only),0) - override static_libs_only = -endif # static_libs_only - -ifdef shared_libs_only - ifdef static_libs_only - $(error Both static_libs_only and shared_libs_only defined.) - else - override shared_libs = 1 - override static_libs = - endif -endif # shared_libs_only -ifdef static_libs_only - override shared_libs = - override static_libs = 1 -endif # static_libs_only - -ifdef shared_libs - ifndef static_libs - override shared_libs_only = 1 - endif - ACE_MAKE_OPTIONS += shared_libs -endif - -ifdef static_libs - ifndef shared_libs - override static_libs_only = 1 - endif - ACE_MAKE_OPTIONS += static_libs -endif - -ACE_SHLIBS ?= - -ifdef shared_libs - ifdef SHLIBA - LDLIBS := $(LDLIBS:-l%=-l%shr) - ACE_SHLIBS := $(ACE_SHLIBS:-l%=-l%shr) - endif # SHLIBA -else # ! shared_libs - ifdef static_libs - #### Don't build shared libs. - PIC = - SHLIB = - SOEXT = o - VSHDIR = $(VDIR) - VLDLIBS = $(LDLIBS:%.so=%.o) - endif # static_libs -endif # shared_libs - -VLDLIBS = $(LDLIBS) $(LIBS) - -probe ?= -ifeq ($(probe),0) - override probe = -endif # probe - -ifeq ($(probe),1) - CPPFLAGS += -DACE_COMPILE_TIMEPROBES -endif # probe - -purify ?= -ifeq ($(purify),0) - override purify = -endif # purify - -ifdef purify -PURE_CACHE_BASE_DIR = /tmp/purifycache -PURE_CACHE_DIR = $(PURE_CACHE_BASE_DIR)-$(LOGNAME)-$(notdir $(CXX) ) - - #### Pick up Purify directory from the users PATH. - ACE_PURIFY_DIR := \ - $(shell type purify | sed -e 's/.* is //' -e 's%/purify$$%%') - - #### You might want to adjust the Purify options below. - #### -best-effort is undocumented but supported, and seems - #### to help avoid occasional link failure. - PURELINK += purify -best-effort -cache-dir=$(PURE_CACHE_DIR) \ - -chain-length=20 -fds-inuse-at-exit=no \ - -inuse-at-exit -max_threads=100 $(PLATFORM_PURIFY_OPTIONS) - CPPFLAGS += -DACE_HAS_PURIFY -I$(ACE_PURIFY_DIR) -endif # purify - -quantify ?= -ifeq ($(quantify),0) - override quantify = -endif # quantify - -ifdef quantify - #### Pick up Quantify directory from the users PATH. - ACE_QUANTIFY_DIR := \ - $(shell type quantify | sed -e 's/.* is //' -e 's%/quantify$$%%') - - #### You might want to adjust the Quantify options below. - #### -best-effort is undocumented but supported, and seems - #### to help avoid occasional link failure. - PURELINK += quantify -best-effort -cache-dir=$(PURE_CACHE_DIR) \ - -max_threads=100 $(PLATFORM_QUANTIFY_OPTIONS) - CPPFLAGS += -DACE_HAS_QUANTIFY -I$(ACE_QUANTIFY_DIR) - - ifeq ($(shell uname -p),sparc) - PURELINK += -record-register-window-traps - endif # sparc -endif # quantify - -repo ?= -ifeq ($(repo),0) - override repo = -endif # repo - -ifdef repo - #### Remove -fno-implicit-templates from, and add -frepo to, CCFLAGS. - CCFLAGS := $(strip $(subst -fno-implicit-templates,,$(CCFLAGS))) - CCFLAGS += -frepo - CPPFLAGS += -DACE_HAS_GNU_REPO -# ace_lib_prelink := 1 -endif # repo - -# If pipes is not set, we default to 0 -pipes ?= 0 - -# If pipes is set to 1 then add the compiler flag -pipe. This uses pipe instead -# of intermediate files. This can be disabled by setting pipes to 0 in the -# platform_macros.GNU file. -ifeq ($(pipes),1) - CFLAGS += -pipe - CCFLAGS += -pipe -endif # pipes - -# RMCast is turned on by default -rmcast ?= 1 -ifeq ($(rmcast),1) - ACE_MAKE_OPTIONS += rmcast -endif - -# If not explicitly is set that we don't have rwho, assume we have it. -rwho ?= 1 - -# If not explicitly is set that we don't have stlport, assume we -# don't have it. -stlport ?= 0 -ifeq ($(stlport),1) - CPPFLAGS += -DACE_HAS_STLPORT $(PLATFORM_STLPORT_CPPFLAGS) - CCFLAGS += $(PLATFORM_STLPORT_CCFLAGS) - LDFLAGS += $(PLATFORM_STLPORT_LDFLAGS) - LIBS += $(PLATFORM_STLPORT_LIBS) -endif - -# If not explicitly is set that we have wfmo, assume we don't have it. -wfmo ?= 0 - -# If not explicitly is set that we have winregistry, assume we don't have it. -winregistry ?= 0 - -# If not explicitly is set that we have winnt, assume we don't have it. -winnt ?= 0 - -# In MPC, these are now features that are enabled by default. -ace_other ?= 1 -ace_codecs ?= 1 -ace_token ?= 1 -ace_svcconf ?= 1 -ace_uuid ?= 1 -ace_filecache ?= 1 -acexml ?= 1 - -# Icecream distributed compilation support -ifeq ($(icecream),1) - # check availability of icecc - ifneq ($(ICECC_ROOT),) - ICECC_PROG := $(ICECC_ROOT)/icecc - else - ICECC_PROG := $(shell which icecc 2>/dev/null) - endif - ICECC_VERTEST := $(shell test -x "$(ICECC_PROG)" && $(ICECC_PROG) --version) - ifneq (ICECC,$(findstring ICECC,$(ICECC_VERTEST))) - # not good, try alternative install location - ICECC_PROG := /opt/icecream/bin/icecc - ICECC_VERTEST := $(shell test -x "$(ICECC_PROG)" && $(ICECC_PROG) --version) - ifneq (ICECC,$(findstring ICECC,$(ICECC_VERTEST))) - override icecream := 0 - $(error Cannot locate valid Icecream compiler.) - endif - endif - ifeq ($(icecream),1) - # force LD and DLD to be 'normal' tools - override LD := $(LD) - override DLD := $(DLD) - # define tools that icecc should call for local jobs - ICECC_CC := $(CC) - ICECC_CXX := $(CXX) - export ICECC_CC ICECC_CXX - # let all compilation go through icecc - CC := $(ICECC_PROG) - CXX := $(ICECC_PROG) - endif -endif - -#---------------------------------------------------------------------------- -# Conditional macro definitions -#---------------------------------------------------------------------------- - -PTDIRS ?= -PRELINK ?= -POSTLINK ?= -PURELINK ?= -TEMPLATES_FLAG ?= -MVCMD ?= - -COMPILE.c = $(CC) $(CFLAGS) $(CPPFLAGS) -c -COMPILE.cc = $(CXX) $(CCFLAGS) $(CPPFLAGS) $(PTDIRS) -c -RC ?= - -COMPILE.rc = $(RC) $(RCFLAGS) -COMPILE-NO_DASH_G.cc = `echo $(COMPILE.cc) | sed 's/-g //'` -# 960905 Marius Kjeldahl -# Added the line below to be used for compiling executable shared objects -COMPILEESO.cc = $(CXX) $(CCFLAGS) $(CPPFLAGS) $(PTDIRS) - -ifeq ($(LINK.c),override) - LINK.c = $(LINK.c.override) -else - LINK.c = $(PURELINK) $(PRELINK) $(LD) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) \ - $(LDLIBS) $(LIBS) -endif # LINK.c.override - -ifeq ($(LINK.cc),override) - LINK.cc = $(LINK.cc.override) -else - LINK.cc = $(PURELINK) $(PRELINK) $(LD) $(CCFLAGS) $(CPPFLAGS) $(PTDIRS) -endif # LINK.cc.override - -ifeq ($(SOLINK.cc),override) - SOLINK.cc = $(SOLINK.cc.override) -else - SOLINK.cc = $(PRELINK) $(DLD) $(SOFLAGS) -endif # SOLINK.cc.override diff --git a/dep/ACE_wrappers/lib/.empty b/dep/ACE_wrappers/lib/.empty deleted file mode 100644 index eb0e403e0..000000000 --- a/dep/ACE_wrappers/lib/.empty +++ /dev/null @@ -1 +0,0 @@ -This file keeps the directory around even when using cvs update -dP diff --git a/dep/ACE_wrappers/m4/ace.m4 b/dep/ACE_wrappers/m4/ace.m4 deleted file mode 100644 index 1a56369cd..000000000 --- a/dep/ACE_wrappers/m4/ace.m4 +++ /dev/null @@ -1,1731 +0,0 @@ -dnl ------------------------------------------------------------------------- -dnl $Id: ace.m4 88997 2010-02-15 09:38:01Z johnnyw $ -dnl -dnl ace.m4 -dnl -dnl ACE M4 include file which contains ACE specific M4 macros -dnl for enabling/disabling certain ACE features. -dnl -dnl ------------------------------------------------------------------------- - -dnl Copyright (C) 1998, 1999, 2000, 2002 Ossama Othman -dnl -dnl All Rights Reserved -dnl -dnl This library is free software; you can redistribute it and/or -dnl modify it under the current ACE distribution terms. -dnl -dnl This library is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - - -dnl Macros that add ACE configuration options to a `configure' script. -dnl ACE_CONFIGURATION_OPTIONS -AC_DEFUN([ACE_CONFIGURATION_OPTIONS], -[ - AM_CONDITIONAL([BUILD_ACE_FOR_TAO], false) - - AC_ARG_ENABLE([ace-codecs], - AS_HELP_STRING(--enable-ace-codecs,build ACE with codecs support [[[yes]]]), - [ - case "${enableval}" in - yes) - ace_user_enable_ace_codecs=yes - ;; - no) - ace_user_enable_ace_codecs=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-ace-codecs]) - ;; - esac - ], - [ - ace_user_enable_ace_codecs=yes - ]) - AM_CONDITIONAL([BUILD_ACE_CODECS], [test X$ace_user_enable_ace_codecs = Xyes]) - - AC_ARG_ENABLE([ace-filecache], - AS_HELP_STRING(--enable-ace-filecache,build ACE_Filecache support [[[yes]]]), - [ - case "${enableval}" in - yes) - ace_user_enable_ace_filecache=yes - ;; - no) - ace_user_enable_ace_filecache=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-ace-filecache]) - ;; - esac - ], - [ - dnl Enable ACE_Filecache support by default since it's never turned off - dnl in the ACE lib itself. Just required for some things like JAWS. - ace_user_enable_ace_filecache=yes - ]) - AM_CONDITIONAL([BUILD_ACE_FILECACHE], [test X$ace_user_enable_ace_filecache = Xyes]) - - AC_ARG_ENABLE([ace-other], - AS_HELP_STRING(--enable-ace-other,build ACE with all misc pieces [[[yes]]]), - [ - case "${enableval}" in - yes) - ace_user_enable_ace_other=yes - ;; - no) - ace_user_enable_ace_other=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-ace-other]) - ;; - esac - ], - [ - ace_user_enable_ace_other=yes - ]) - AM_CONDITIONAL([BUILD_ACE_OTHER], [test X$ace_user_enable_ace_other = Xyes]) - - AC_ARG_ENABLE([ace-token], - AS_HELP_STRING(--enable-ace-token,build ACE with tokens support [[[yes]]]), - [ - case "${enableval}" in - yes) - ace_user_enable_ace_token=yes - ;; - no) - ace_user_enable_ace_token=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-ace-token]) - ;; - esac - ], - [ - ace_user_enable_ace_token=yes - ]) - AM_CONDITIONAL([BUILD_ACE_TOKEN], [test X$ace_user_enable_ace_token = Xyes]) - - AC_ARG_ENABLE([ace-uuid], - AS_HELP_STRING(--enable-ace-uuid,build ACE with UUID support [[[yes]]]), - [ - case "${enableval}" in - yes) - ace_user_enable_ace_uuid=yes - ;; - no) - ace_user_enable_ace_uuid=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-ace-uuid]) - ;; - esac - ], - [ - ace_user_enable_ace_uuid=yes - ]) - AM_CONDITIONAL([BUILD_ACE_UUID], [test X$ace_user_enable_ace_uuid = Xyes]) - - AC_ARG_ENABLE([alloca], - AS_HELP_STRING(--enable-alloca,compile with alloca() support [[[no]]]), - [ - case "${enableval}" in - yes) - ace_user_enable_alloca=yes - ;; - no) - ace_user_enable_alloca=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-alloca]) - ;; - esac - ], - [ - dnl Disable alloca() support by default since its use is generally - dnl not recommended. - ace_user_enable_alloca=no - ]) - - AC_ARG_ENABLE([rwho], - AS_HELP_STRING(--enable-rwho,build the distributed rwho program [[[no]]]), - [ - case "${enableval}" in - yes) - ace_user_enable_rwho=yes - ;; - no) - ace_user_enable_rwho=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-rwho]) - ;; - esac - ],) - AM_CONDITIONAL([BUILD_RWHO], [test X$ace_user_enable_rwho = Xyes]) - - AC_ARG_ENABLE([ipv4-ipv6], - AS_HELP_STRING(--enable-ipv4-ipv6,compile with IPv4/IPv6 migration support [[[no]]]), - [ - case "${enableval}" in - yes) - AC_DEFINE(ACE_HAS_IPV6) - AC_DEFINE(ACE_USES_IPV4_IPV6_MIGRATION) - ;; - no) - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-ipv4-ipv6]) - ;; - esac - ],) - - AC_ARG_ENABLE([ipv6], - AS_HELP_STRING(--enable-ipv6,compile with IPv6 support [[[no]]]), - [ - case "${enableval}" in - yes) - AC_DEFINE(ACE_HAS_IPV6) - ace_user_enable_ipv6=yes - ;; - no) - ace_user_enable_ipv6=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-ipv6]) - ;; - esac - ],) - AM_CONDITIONAL([BUILD_IPV6], [test X$ace_user_enable_ipv6 = Xyes]) - - AC_ARG_ENABLE([log-msg-prop], - AS_HELP_STRING(--enable-log-msg-prop,enable threads inheriting ACE_Log_Msg properties from parent thread [[[yes]]]), - [ - case "${enableval}" in - yes) - dnl nothing to do - ;; - no) - AC_DEFINE(ACE_THREADS_DONT_INHERIT_LOG_MSG) - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-log-msg-prop]) - ;; - esac - ],) - - AC_ARG_ENABLE([logging], - AS_HELP_STRING(--enable-logging,enable ACE logging macros [[[yes]]]), - [ - case "${enableval}" in - yes) - dnl nothing to do - ;; - no) - AC_DEFINE([ACE_NLOGGING]) - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-logging]) - ;; - esac - ],) - - AC_ARG_ENABLE([malloc-stats], - AS_HELP_STRING(--enable-malloc-stats,enable malloc statistics collection [[[no]]]), - [ - case "${enableval}" in - yes) - AC_DEFINE([ACE_HAS_MALLOC_STATS]) - ;; - no) - dnl nothing to do - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-malloc-stats]) - ;; - esac - ],) - - AC_ARG_ENABLE([pi-pointers], - AS_HELP_STRING(--enable-pi-pointers,enable pos. indep. pointers [[[yes]]]), - [ - case "${enableval}" in - yes) - AC_DEFINE([ACE_HAS_POSITION_INDEPENDENT_POINTERS]) - ;; - no) - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-pi-pointers]) - ;; - esac - ], - [ - AC_DEFINE([ACE_HAS_POSITION_INDEPENDENT_POINTERS]) - ]) - - AC_ARG_ENABLE([posix-sem-timeout-emulation], - AS_HELP_STRING(--enable-posix-sem-timeout-emulation,enable POSIX semaphore timeout emulation [[[no]]]), - [ - case "${enableval}" in - yes) - AC_DEFINE([ACE_DISABLE_POSIX_SEM_TIMEOUT_EMULATION]) - ;; - no) - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-posix-sem-timeout-emulation]) - ;; - esac - ],) - - AC_ARG_ENABLE([probe], - AS_HELP_STRING(--enable-probe,enable ACE_Timeprobes [[[no]]]), - [ - case "${enableval}" in - yes) - AC_DEFINE([ACE_COMPILE_TIMEPROBES]) - ;; - no) - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-probe]) - ;; - esac - ],) - - AC_ARG_ENABLE([static-obj-mgr], - AS_HELP_STRING(--enable-static-obj-mgr,enable static Object_Manager [[[yes]]]), - [ - case "${enableval}" in - yes) - dnl nothing to do - ;; - no) - AC_DEFINE([ACE_HAS_NONSTATIC_OBJECT_MANAGER]) - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-static-obj-mgr]) - ;; - esac - ],) - - - AC_ARG_ENABLE([threads], - AS_HELP_STRING(--enable-threads,enable thread support [[[yes]]]), - [ - case "${enableval}" in - yes) - ace_user_enable_threads=yes - ;; - no) - ace_user_enable_threads=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-threads]) - ;; - esac - ], - [ - ace_user_enable_threads=yes - ]) - AM_CONDITIONAL([BUILD_THREADS], [test X$ace_user_enable_threads = Xyes]) - - AC_ARG_ENABLE([pthreads], - AS_HELP_STRING(--enable-pthreads,enable POSIX thread (Pthreads) support [[[yes]]]), - [ - case "${enableval}" in - yes) - ace_user_enable_pthreads=yes - ;; - no) - ace_user_enable_pthreads=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-pthreads]) - ;; - esac - ], - [ - ace_user_enable_pthreads=yes - ]) - - AC_ARG_ENABLE([aio], - AS_HELP_STRING(--enable-aio,enable aio support [[[yes]]]), - [ - case "${enableval}" in - yes) - ace_user_enable_aio=yes - ;; - no) - ace_user_enable_aio=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-aio]) - ;; - esac - ], - [ - ace_user_enable_aio=yes - ]) - - AC_ARG_ENABLE([uithreads], - AS_HELP_STRING(--enable-uithreads,enable UNIX International thread support [[[no]]]), - [ - case "${enableval}" in - yes) - ace_user_enable_uithreads=yes - ;; - no) - ace_user_enable_uithreads=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-uithreads]) - ;; - esac - ], - [ - dnl The default is to disable UI threads. However, on Solaris, we - dnl enable it by default since it's functionality is very useful and - dnl has traditionally been enabled in ACE. - case "$host" in - *solaris2*) - ace_user_enable_uithreads=yes - AC_MSG_NOTICE([[--enable-uithreads enabled by default for Solaris; use --enable-uithreads=no to disable it.]]) - ;; - *) - ace_user_enable_uithreads=no - ;; - esac - ]) - - AC_ARG_ENABLE([verb-not-sup], - AS_HELP_STRING(--enable-verb-not-sup,enable verbose ENOTSUP reports [[[no]]]), - [ - case "${enableval}" in - yes) - AC_DEFINE([ACE_HAS_VERBOSE_NOTSUP]) - ;; - no) - dnl Do nothing - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-verb-not-sup]) - ;; - esac - ],) - - AC_ARG_ENABLE([rcsid], - AS_HELP_STRING(--enable-rcsid,compile RCS id strings into object files [[[no]]]), - [ - case "${enableval}" in - yes) - ace_user_enable_rcsid=yes - ;; - no) - ace_user_enable_rcsid=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-rcsid]) - ;; - esac - ]) - if test X$ace_user_enable_rcsid = Xyes; then - AC_DEFINE(ACE_USE_RCSID, 1, - [Define to 1 to embed RCS ID strings into compiled object files.]) - fi - - dnl The ace/config-all.h file defaults ACE_NTRACE properly, so only emit - dnl something if the user specifies this option. - AC_ARG_ENABLE([trace], - AS_HELP_STRING(--enable-trace,enable ACE tracing [[[no]]]), - [ - case "${enableval}" in - yes) - AC_DEFINE([ACE_NTRACE],0) - ;; - no) - AC_DEFINE([ACE_NTRACE],1) - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-trace]) - ;; - esac - ],) - - AC_ARG_ENABLE([wfmo], - AS_HELP_STRING(--enable-wfmo,build WFMO-using examples [[[no]]]), - [ - case "${enableval}" in - yes) - ace_user_enable_wfmo=yes - ;; - no) - ace_user_enable_wfmo=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-wfmo]) - ;; - esac - ], - [ - case "$host" in - *win32*) - ace_user_enable_wfmo=yes - ;; - *) - ace_user_enable_wfmo=no - ;; - esac - ]) - AM_CONDITIONAL([BUILD_WFMO], [test X$ace_user_enable_wfmo = Xyes]) - - AC_ARG_ENABLE([wince], - AS_HELP_STRING(--enable-wince,build Windows CE/Mobile-using examples [[[no]]]), - [ - case "${enableval}" in - yes) - ace_user_enable_wince=no - ;; - no) - ace_user_enable_wince=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-wince]) - ;; - esac - ], - [ - case "$host" in - *win32*) - ace_user_enable_wince=yes - ;; - *) - ace_user_enable_wince=no - ;; - esac - ]) - AM_CONDITIONAL([BUILD_WINCE], [test X$ace_user_enable_wince = Xyes]) - - AC_ARG_ENABLE([winregistry], - AS_HELP_STRING(--enable-winregistry,build Windows registry-using examples [[[no]]]), - [ - case "${enableval}" in - yes) - ace_user_enable_winregistry=no - ;; - no) - ace_user_enable_winregistry=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-winregistry]) - ;; - esac - ], - [ - case "$host" in - *win32*) - ace_user_enable_winregistry=yes - ;; - *) - ace_user_enable_winregistry=no - ;; - esac - ]) - AM_CONDITIONAL([BUILD_WINREGISTRY], [test X$ace_user_enable_winregistry = Xyes]) - - ACE_ENABLE_FL_REACTOR - ACE_ENABLE_QT_REACTOR - ACE_ENABLE_TK_REACTOR - ACE_ENABLE_XT_REACTOR - ACE_ENABLE_FOX_REACTOR - - # placeholder for WxWindows/wxWidgets support - AM_CONDITIONAL([BUILD_WXWINDOWS], false) - - ACE_PATH_BZIP2 - ACE_PATH_ZLIB - ACE_PATH_ZZIP - - AC_ARG_ENABLE([gperf], - AS_HELP_STRING(--enable-gperf,compile the gperf program [[[yes]]]), - [ - case "${enableval}" in - yes) - ace_user_enable_gperf=yes - ;; - no) - ace_user_enable_gperf=no - ;; - *) - AC_MSG_ERROR([bad value ${withval} for --with-gperf]) - ;; - esac - ], - [ - ace_user_enable_gperf=yes - ]) - if test "$ace_user_enable_gperf" = yes; then - AC_DEFINE([ACE_HAS_GPERF]) - AS_IF([test -n "$GPERF"], - [ - AC_MSG_WARN([gperf program already exists]) - AC_MSG_WARN([existing gperf may be overwritten during installation]) - ],[]) - fi - AM_CONDITIONAL([BUILD_GPERF], [test X$ace_user_enable_gperf = Xyes]) - - ACE_ENABLE_QOS - ACE_ENABLE_SSL - ACE_ENABLE_ACEXML - - AC_ARG_WITH([tao], - AS_HELP_STRING(--with-tao,build TAO (the ACE ORB) [[[yes]]]), - [ - case "${withval}" in - yes) - ace_user_with_tao=yes - ;; - no) - ace_user_with_tao=no - ;; - *) - AC_MSG_ERROR([bad value ${withval} for --with-tao]) - ;; - esac - ], - [ - ace_user_with_tao=yes - ]) - - AC_ARG_WITH([tli-device], - AS_HELP_STRING(--with-tli-device(=DEV),device for TCP on TLI [[/dev/tcp]]), - [ - case "${withval}" in - yes) - AC_MSG_ERROR([Specify the TLI/TCP device if you use this option.]) - ;; - no) - ;; - *) - if test -e "${withval}"; then - AC_DEFINE_UNQUOTED([ACE_TLI_TCP_DEVICE], ["${withval}"]) - else - AC_MSG_ERROR([TLI/TCP device ${withval} does not exist.]) - fi - ;; - esac - ],) - - AC_ARG_ENABLE([reentrant], - AS_HELP_STRING(--enable-reentrant,enable reentrant functions [[[yes]]]), - [ - case "${enableval}" in - yes) - ace_user_enable_reentrant_funcs=yes - ;; - no) - ace_user_enable_reentrant_funcs=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-reentrant]) - ;; - esac - ], - [ - ace_user_enable_reentrant_funcs=yes - ]) - - ACE_ENABLE_CDR_SWAP_ON_READ - ACE_ENABLE_CDR_SWAP_ON_WRITE - ACE_ENABLE_CDR_ALIGNMENT - ACE_ENABLE_REACTOR_NOTIFICATION_QUEUE - ACE_ENABLE_STRDUP_EMULATION - ACE_ENABLE_WCSDUP_EMULATION -]) - -AC_DEFUN([ACE_CHECK_LIB64], -[ - AC_ARG_ENABLE(libsuffix, - AC_HELP_STRING([--enable-libsuffix], - [/lib directory suffix (64,32,none,auto[=default])]), - acelibsuff=$enableval, acelibsuff="auto") - - if test "$acelibsuff" = "auto"; then - -cat > conftest.cpp << _ACEOF -#include -int main(int, char **) { - return 0; -} -_ACEOF - acelibsuff=`$CXX conftest.cpp -o conftest.out; ldd conftest.out |sed -ne '/libc.so/{ - s,.*/lib\([[^\/]]*\)/.*,\1, - p -}'` - rm -rf conftest.* - fi - - if test "$acelibsuff" = "no" || test "$acelibsuff" = "none"; then - acelibsuff= - fi - if test -z "$acelibsuff"; then - AC_MSG_RESULT([not using lib directory suffix]) - else - AC_MSG_RESULT([using lib directory suffix $acelibsuff]) - fi -]) - -dnl Macros that add ACE compilation options to a `configure' script. -dnl ACE_COMPILATION_OPTIONS -AC_DEFUN([ACE_COMPILATION_OPTIONS], -[ - AC_ARG_ENABLE([debug], - AS_HELP_STRING(--enable-debug,enable debugging [[[yes]]]), - [ - case "${enableval}" in - yes) - ACE_CXXFLAGS="$ACE_CXXFLAGS $DCXXFLAGS" - ;; - no) - AC_DEFINE([ACE_NDEBUG]) - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-debug]) - ;; - esac - ],) - - AC_ARG_ENABLE([exceptions], - AS_HELP_STRING(--enable-exceptions,enable C++ exception handling [[[yes]]]), - [ - case "${enableval}" in - yes) - ace_user_enable_exceptions=yes - ;; - no) - ace_user_enable_exceptions=no - if test "$GXX" = yes; then - if $CXX --version | $EGREP -v '^2\.[[0-7]]' > /dev/null; then - ACE_CXXFLAGS="$ACE_CXXFLAGS -fno-exceptions" - fi - fi - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-exceptions]) - ;; - esac - ], - [ - ace_user_enable_exceptions=yes - -dnl THE FOLLOWING WAS ONLY USED WHEN DISABLING EXCEPTION SUPPORT BY -dnl DEFAULT. -dnl -dnl if test "$GXX" = yes; then -dnl if $CXX --version | $EGREP -v '^2\.[[0-7]]' > /dev/null; then -dnl ACE_CXXFLAGS="$ACE_CXXFLAGS -fno-exceptions" -dnl fi -dnl fi - ]) - AM_CONDITIONAL([BUILD_EXCEPTIONS], [test X$ace_user_enable_exceptions = Xyes]) - - AC_ARG_ENABLE([fast], - AS_HELP_STRING(--enable-fast,enable -fast flag (e.g. Sun C++) [[[no]]]), - [ - case "${enableval}" in - yes) - ACE_CXXFLAGS="$ACE_CXXFLAGS -fast" - ACE_CFLAGS="$ACE_CFLAGS -fast" - ;; - no) - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-fast]) - ;; - esac - ],) - - AC_ARG_ENABLE([ipo], - AS_HELP_STRING(--enable-ipo,enable -ipo flag (e.g. Intel C++) [[[no]]]), - [ - case "${enableval}" in - yes) - ACE_CXXFLAGS="$ACE_CXXFLAGS -ipo" - ACE_CFLAGS="$ACE_CFLAGS -ipo" - ;; - no) - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-ipo]) - ;; - esac - ],) - - AC_ARG_ENABLE([inline], - AS_HELP_STRING(--enable-inline,enable code inlining [[[yes]]]), - [ - case "${enableval}" in - yes) - AC_DEFINE([__ACE_INLINE__]) - ;; - no) - AC_DEFINE([ACE_NO_INLINE]) - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-inline]) - ;; - esac - ], - [ - AC_DEFINE([__ACE_INLINE__]) - ]) - - AC_ARG_ENABLE([optimize], - AS_HELP_STRING(--enable-optimize,enable additional optimizations [[[yes]]]), - [ - case "${enableval}" in - yes) - ace_user_enable_optimize=yes - ;; - no) - AC_MSG_WARN([Optimization configure support not fully implemented yet.]) - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-optimize]) - ;; - esac - ], - [ - ace_user_enable_optimize=yes - ]) - - - AC_ARG_ENABLE([profile], - AS_HELP_STRING(--enable-profile,enable profiling [[[no]]]), - [ - case "${enableval}" in - yes) - if test -z "$PROF"; then - AC_MSG_WARN([No profiling program found. Assuming 'prof' exists.]) - ACE_CXXFLAGS="$ACE_CXXFLAGS -p" - ACE_CFLAGS="$ACE_CFLAGS -p" - else - case "$PROF" in - gprof) - echo "Building with 'gprof' support" - ACE_CXXFLAGS="$ACE_CXXFLAGS -pg" - ACE_CFLAGS="$ACE_CFLAGS -pg" - ;; - prof) - echo "Building with 'prof' support" - ACE_CXXFLAGS="$ACE_CXXFLAGS -p" - ACE_CFLAGS="$ACE_CFLAGS -p" - ;; - *) - dnl We shouldn't get here. - AC_MSG_WARN([Assuming 'prof' exists.]) - ACE_CXXFLAGS="$ACE_CXXFLAGS -p" - ACE_CFLAGS="$ACE_CFLAGS -p" - ;; - esac - fi - ;; - no) - dnl Do nothing - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-profile]) - ;; - esac - ],) - - AC_ARG_ENABLE([purify], - AS_HELP_STRING(--enable-purify,Purify all executables [[[no]]]), - [ - case "${enableval}" in - yes) - AC_CHECK_PROG([PURIFY], [purify], [purify],[]) - if test -n "$PURIFY"; then - PURE_CACHE_BASE_DIR=/tmp/purifycache - PURE_CACHE_DIR="${PURE_CACHE_BASE_DIR}-${LOGNAME}" - PURE_CACHE_DIR="${PURE_CACHE_DIR}-"`basename $CXX` - PURELINK="$PURIFY -best-effort -chain-length=20 -cache-dir=$PURE_CACHE_DIR -fds-inuse-at-exit=no -inuse-at-exit -max_threads=100" - dnl Pick up Quantify directory from the users PATH. - ACE_PURIFY_DIR=`type purify | sed -e 's/.* is //' -e 's%/purify'` - ACE_CPPFLAGS="-DACE_HAS_PURIFY -I$ACE_PURIFY_DIR" - else - AC_MSG_WARN([Purify program was not found.]) - AC_MSG_WARN([Disabling purify support.]) - fi - ;; - no) - PURELINK="" - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-purify]) - ;; - esac - ], PURELINK="") - - AC_ARG_ENABLE([quantify], - AS_HELP_STRING(--enable-quantify,Quantify all executables [[[no]]]), - [ - case "${enableval}" in - yes) - AC_CHECK_PROG([QUANTIFY], [quantify], [quantify],[]) - if test -n "$QUANTIFY"; then - PURE_CACHE_BASE_DIR=/tmp/purifycache - PURE_CACHE_DIR="${PURE_CACHE_BASE_DIR}-${LOGNAME}" - PURE_CACHE_DIR="${PURE_CACHE_DIR}-"`basename $CXX` - - PRELINK="$QUANTIFY -best-effort -max_threads=100 -cache-dir=$PURE_CACHE_DIR" - dnl Pick up Quantify directory from the users PATH. - ACE_QUANTIFY_DIR=`type quantify | sed -e 's/.* is //' -e 's%/quantify$$%%'` - ACE_CPPFLAGS="-DACE_HAS_QUANTIFY -I$ACE_QUANTIFY_DIR" - else - AC_MSG_WARN([Quantify program was not found.]) - AC_MSG_WARN([Disabling quantify support.]) - fi - ;; - no) - PRELINK="" - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-quantify]) - ;; - esac - ], PRELINK="") - - AC_ARG_ENABLE([repo], - AS_HELP_STRING(--enable-repo,use GNU template repository GNU C++ with repo patches and EGCS only [[[no]]]), - [ - case "${enableval}" in - yes) - if test "$GXX" = yes; then - ace_user_enable_repo=yes - ACE_CXXFLAGS="$ACE_CXXFLAGS -frepo" - AC_DEFINE(ACE_HAS_GNU_REPO) - else - ace_user_enable_repo=no - AC_MSG_WARN([Not using GNU C++! GNU template respository disabled.]) - fi - ;; - no) - ace_user_enable_repo=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-repo]) - ;; - esac - ], - [ - ace_user_enable_repo=no - ]) - - AC_ARG_ENABLE([stdcpplib], - AS_HELP_STRING([--enable-stdcpplib],[enable standard C++ library [[yes]]]), - [ - case "${enableval}" in - yes) - ace_user_enable_stdcpplib=yes - ;; - no) - ace_user_enable_stdcpplib=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-stdcpplib]) - ;; - esac - ], - [ - ace_user_enable_stdcpplib=yes - ]) - - AC_ARG_ENABLE([uses-wchar], - AS_HELP_STRING([--enable-uses-wchar], - [enable use of wide characters [[no]]]), - [case "${enableval}" in - yes) - AC_DEFINE([ACE_USES_WCHAR]) - ace_cv_user_enable_wide_char=yes - ;; - no) - ace_cv_user_enable_wide_char=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-uses-wchar]) - ;; - esac]) - AC_CACHE_CHECK([whether to use wide characters internally], - [ace_cv_user_enable_wide_char], [ace_cv_user_enable_wide_char=no]) - AM_CONDITIONAL([BUILD_USES_WCHAR], [test X$ace_cv_user_enable_wide_char = Xyes]) - -]) - -# ACE_ENABLE_CDR_SWAP_ON_READ -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_ENABLE_CDR_SWAP_ON_READ], -[AC_ARG_ENABLE([ace-cdr-swap-on-read], - AS_HELP_STRING([--enable-ace-cdr-swap-on-read], - [configure CDR to support swap on read [[yes]]]), - [case "${enableval}" in - yes) - ace_user_cdr_swap_on_read=yes - ;; - no) - ace_user_cdr_swap_on_read=no - ;; - *) - AC_MSG_ERROR(bad value ${enableval} for --enable-ace-cdr-swap-on-read) - ;; - esac],[ - ace_user_cdr_swap_on_read=yes - ]) -if test X$ace_user_cdr_swap_on_read = Xno; then - AC_DEFINE(ACE_DISABLE_SWAP_ON_READ, 1, - [Define to 1 to disable swapping swapping CDR on read]) -fi -]) - -# ACE_ENABLE_CDR_SWAP_ON_WRITE -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_ENABLE_CDR_SWAP_ON_WRITE], -[AC_ARG_ENABLE([ace-cdr-swap-on-write], - AS_HELP_STRING([--enable-ace-cdr-swap-on-write], - [configure CDR to support swap on write [[no]]]), - [case "${enableval}" in - yes) - ace_user_cdr_swap_on_write=yes - ;; - no) - ace_user_cdr_swap_on_write=no - ;; - *) - AC_MSG_ERROR(bad value ${enableval} for --enable-ace-cdr-swap-on-write) - ;; - esac],[ - ace_user_cdr_swap_on_write=no - ]) -if test X$ace_user_cdr_swap_on_write = Xyes; then - AC_DEFINE(ACE_ENABLE_SWAP_ON_WRITE, 1, - [Define to 1 to enable swapping swapping CDR on write]) -fi -]) - -# ACE_ENABLE_CDR_ALIGNMENT -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_ENABLE_CDR_ALIGNMENT], -[AC_ARG_ENABLE([ace-cdr-alignment], - AS_HELP_STRING([--enable-ace-cdr-alignment], - [configure CDR to require aligned access [[yes]]]), - [case "${enableval}" in - yes) - ace_user_cdr_alignment=yes - ;; - no) - ace_user_cdr_alignment=no - ;; - *) - AC_MSG_ERROR(bad value ${enableval} for --enable-ace-cdr-alignment) - ;; - esac],[ - ace_user_cdr_alignment=yes - ]) -if test X$ace_user_cdr_alignment = Xno; then - AC_DEFINE(ACE_LACKS_CDR_ALIGNMENT, 1, - [Define to 1 to support unaligned CDR]) -fi -]) - -# ACE_ENABLE_REACTOR_NOTIFICATION_QUEUE -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_ENABLE_REACTOR_NOTIFICATION_QUEUE], -[AC_ARG_ENABLE([ace-reactor-notification-queue], - AS_HELP_STRING([--enable-ace-reactor-notification-queue], - [configure Reactor to use a user-space queue for notifications [[no]]]), - [case "${enableval}" in - yes) - ace_user_reactor_notification_queue=yes - ;; - no) - ace_user_reactor_notification_queue=no - ;; - *) - AC_MSG_ERROR(bad value ${enableval} for --enable-ace-reactor-notification-queue) - ;; - esac],[ - ace_user_reactor_notification_queue=no - ]) -if test X$ace_user_reactor_notification_queue = Xyes; then - AC_DEFINE([ACE_HAS_REACTOR_NOTIFICATION_QUEUE], 1, - [Define to 1 to configure Reactor to use a user-space queue for notifications]) -fi -]) - - -# ACE_ENABLE_STRDUP_EMULATION -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_ENABLE_STRDUP_EMULATION], -[AC_ARG_ENABLE([ace-strdup-emulation], - AS_HELP_STRING([--enable-ace-strdup-emulation], - [use ACE's strdup emulation [[no]]]), - [case "${enableval}" in - yes) - ace_user_strdup_emulation=yes - ;; - no) - ace_user_strdup_emulation=no - ;; - *) - AC_MSG_ERROR(bad value ${enableval} for --enable-ace-strdup-emulation) - ;; - esac],[ - ace_user_strdup_emulation=no - ]) -if test X$ace_user_strdup_emulation = Xyes; then - AC_DEFINE(ACE_HAS_STRDUP_EMULATION, 1, - [Define to 1 use ACE's strdup() emulation]) -fi -]) - -# ACE_ENABLE_WCSDUP_EMULATION -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_ENABLE_WCSDUP_EMULATION], -[AC_ARG_ENABLE([ace-wcsdup-emulation], - AS_HELP_STRING([--enable-ace-wcsdup-emulation], - [use ACE's wcsdup emulation [[no]]]), - [case "${enableval}" in - yes) - ace_user_wcsdup_emulation=yes - ;; - no) - ace_user_wcsdup_emulation=no - ;; - *) - AC_MSG_ERROR(bad value ${enableval} for --enable-ace-wcsdup-emulation) - ;; - esac],[ - ace_user_wcsdup_emulation=no - ]) -if test X$ace_user_wcsdup_emulation = Xyes; then - AC_DEFINE(ACE_HAS_WCSDUP_EMULATION, 1, - [Define to 1 use ACE's wcsdup() emulation]) -fi -]) - -AC_DEFUN([ACE_ENABLE_QOS], -[AC_ARG_ENABLE([qos], - AS_HELP_STRING([--enable-qos], - [compile/use the ACE_QoS library [[no]]]), - [case "${enableval}" in - yes) - ace_cv_user_enable_qos=yes - ;; - no) - ace_cv_user_enable_qos=no - ;; - *) - AC_MSG_ERROR(bad value ${enableval} for --enable-qos) - ;; - esac]) -AC_CACHE_CHECK([whether to compile/use the ACE_QoS library], - [ace_cv_user_enable_qos],[ace_cv_user_enable_qos=no]) -AM_CONDITIONAL([BUILD_QOS], [test X$ace_cv_user_enable_qos = Xyes]) -]) - -AC_DEFUN([ACE_ENABLE_SSL], -[AC_REQUIRE([ACE_CHECK_TLS]) -AC_ARG_ENABLE([ssl], - AS_HELP_STRING([--enable-ssl], - [compile/use the ACE_SSL library [[yes]]]), - [case "${enableval}" in - yes) - ace_cv_user_enable_ssl=yes - ;; - no) - ace_cv_user_enable_ssl=no - ;; - *) - AC_MSG_ERROR(bad value ${enableval} for --enable-ssl) - ;; - esac]) -AC_CACHE_CHECK([whether to compile/use the ACE_SSL library], - [ace_cv_user_enable_ssl], [ace_cv_user_enable_ssl=yes]) -AM_CONDITIONAL([BUILD_SSL], [test X$ace_cv_user_enable_ssl = Xyes]) -]) - -AC_DEFUN([ACE_ENABLE_ACEXML], -[AC_ARG_ENABLE([acexml], - AS_HELP_STRING([--enable-acexml], - [compile/use the ACEXML library [[yes]]]), - [case "${enableval}" in - yes) - ace_cv_user_enable_acexml=yes - ;; - no) - ace_cv_user_enable_acexml=no - ;; - *) - AC_MSG_ERROR(bad value ${enableval} for --enable-acexml) - ;; - esac], - [ - ace_cv_user_enable_acexml=yes - ]) -AC_CACHE_CHECK([whether to compile/use the ACEXML library], - [ace_cv_user_enable_acexml], [ace_cv_user_enable_acexml=yes]) -AM_CONDITIONAL([BUILD_ACEXML], [test X$ace_cv_user_enable_acexml = Xyes]) -]) - - -# ACE_PATH_GL -#--------------------------------------------------------------------------- -# Find OpenGL Libraries, flags, etc. -AC_DEFUN([ACE_PATH_GL], -[ -]) - - -# ACE_PATH_FL -#--------------------------------------------------------------------------- -# Find FL/TK Libraries, flags, etc. -AC_DEFUN([ACE_PATH_FL], -[AC_REQUIRE([ACE_PATH_GL]) - AC_ARG_WITH([fltkconfig], - AS_HELP_STRING([--with-fltkconfig=DIR], - [path to fltk-config [[automatic]]]), - [ ac_fltkconfig_dir="${withval}" ]) - if test X"${ac_fltkconfig_dir}" = X; then - AC_PATH_PROG([FLTKCONFIG], [fltk-config], []) - else - AC_MSG_CHECKING([whether fltk-config exists in ${ac_fltkconfig_dir}]) - if test -f "${ac_fltkconfig_dir}/fltk-config"; then - FLTKCONFIG="${ac_fltkconfig_dir}/fltk-config" - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - fi - fi - if test X"${FLTKCONFIG}" != X; then - ACE_FLTK_CPPFLAGS=`$FLTKCONFIG --cxxflags 2>/dev/null` - ACE_FLTK_LIBS=`$FLTKCONFIG --ldflags 2>/dev/null` - - AC_SUBST(ACE_FLTK_CPPFLAGS) - AC_SUBST(ACE_FLTK_LIBS) - fi -]) - - -# ACE_PATH_QT -#--------------------------------------------------------------------------- -# Find Qt Libraries, flags, etc. -AC_DEFUN([ACE_PATH_QT], -[ - ac_qt_found=no - PKG_CHECK_MODULES([Qt], [qt-mt], - [ac_qt_found=yes], - [AC_MSG_RESULT([not found])]) - if test X"${ac_qt_found}" = Xyes; then - ACE_QT_CPPFLAGS="${Qt_CFLAGS}" - ACE_QT_LIBS="${Qt_LIBS}" - AC_SUBST(ACE_QT_CPPFLAGS) - AC_SUBST(ACE_QT_LIBS) - - AS_IF([test -n "$QTDIR"], - [], - [QTDIR=`$PKG_CONFIG --variable=prefix qt-mt 2>/dev/null`]) - AC_SUBST(QTDIR) - fi -]) - - -# ACE_PATH_TCL -#--------------------------------------------------------------------------- -# Find Tcl Libraries, flags, etc. -AC_DEFUN([ACE_PATH_TCL], -[AC_REQUIRE([ACE_CHECK_LIB64]) - AC_ARG_WITH([tclconfig], - AS_HELP_STRING([--with-tclconfig=DIR], - [path to tclConfig.sh [[automatic]]]), - [ ac_tclconfig_dir="${withval}" ]) - - if test X"${ac_tclconfig_dir}" = X; then - for i in `ls -d ${exec_prefix}/lib${acelibsuff} 2>/dev/null` \ - `ls -d ${prefix}/lib${acelibsuff} 2>/dev/null` \ - `ls -d /usr/local/lib${acelibsuff} 2>/dev/null` \ - `ls -d /usr/contrib/lib${acelibsuff} 2>/dev/null` \ - `ls -d /usr/lib${acelibsuff} 2>/dev/null` \ - `ls -d /usr/pkg/lib${acelibsuff} 2>/dev/null` \ - `ls -d /usr/lib${acelibsuff}/tcl8.[[43]]* 2>/dev/null` \ - ; do - if test -f "$i/tclConfig.sh" ; then - ac_tclconfig_dir=`(cd $i; pwd)` - break - fi - done - fi - - AC_MSG_CHECKING([whether tclConfig.sh exists in ${ac_tclconfig_dir}]) - if test -f "${ac_tclconfig_dir}/tclConfig.sh"; then - TCLCONFIG="${ac_tclconfig_dir}/tclConfig.sh" - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - fi - - if test X"${TCLCONFIG}" != X; then - . ${TCLCONFIG} - - ACE_TCL_CPPFLAGS="${TCL_INCLUDE_SPEC}" - eval "ACE_TCL_LIBS=\"${TCL_LIB_SPEC}\"" - - AC_SUBST(ACE_TCL_CPPFLAGS) - AC_SUBST(ACE_TCL_LIBS) - fi -]) - - -# ACE_PATH_TK -#--------------------------------------------------------------------------- -# Find Tk Libraries, flags, etc. -AC_DEFUN([ACE_PATH_TK], -[AC_REQUIRE([ACE_PATH_TCL]) - AC_ARG_WITH([tkconfig], - AS_HELP_STRING([--with-tkconfig=DIR], - [path to tkConfig.sh [[automatic]]]), - [ ac_tkconfig_dir="${withval}" ]) - if test X"${ac_tkconfig_dir}" = X; then - if test X"${ac_tclconfig_dir}" != X && test -f ${ac_tclconfig_dir}/tkConfig.sh; then - ac_tkconfig_dir=$ac_tclconfig_dir; - else - for i in `ls -d ${exec_prefix}/lib${acelibsuff} 2>/dev/null` \ - `ls -d ${prefix}/lib${acelibsuff} 2>/dev/null` \ - `ls -d /usr/local/lib${acelibsuff} 2>/dev/null` \ - `ls -d /usr/contrib/lib${acelibsuff} 2>/dev/null` \ - `ls -d /usr/lib${acelibsuff} 2>/dev/null` \ - `ls -d /usr/pkg/lib${acelibsuff} 2>/dev/null` \ - `ls -d /usr/lib${acelibsuff}/tk8.[[43]]* 2>/dev/null` \ - ; do - if test -f "$i/tkConfig.sh" ; then - ac_tkconfig_dir=`(cd $i; pwd)` - break - fi - done - fi - fi - - AC_MSG_CHECKING([whether tkConfig.sh exists in ${ac_tkconfig_dir}]) - if test -f "${ac_tkconfig_dir}/tkConfig.sh"; then - TKCONFIG="${ac_tkconfig_dir}/tkConfig.sh" - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - fi - - if test X"${TKCONFIG}" != X; then - . ${TKCONFIG} - - ACE_TK_CPPFLAGS="${TK_INCLUDE_SPEC} ${TK_XINCLUDES}" - ACE_TK_LIBS="${TK_LIB_SPEC} ${TK_XLIBSW}" - - AC_SUBST(ACE_TK_CPPFLAGS) - AC_SUBST(ACE_TK_LIBS) - fi -]) - - -# ACE_PATH_XT -#--------------------------------------------------------------------------- -# Find Xt libraries, flags, etc. -AC_DEFUN([ACE_PATH_XT], -[AC_REQUIRE([ACE_PATH_X11]) - -if test "$no_x" != yes; then - ACE_XT_CPPFLAGS="" - ACE_XT_LDFLAGS="" - ACE_XT_LIBS="-lXt" - - AC_SUBST(ACE_XT_CPPFLAGS) - AC_SUBST(ACE_XT_LDFLAGS) - AC_SUBST(ACE_XT_LIBS) -fi -AM_CONDITIONAL([BUILD_ATHENA], true) -AM_CONDITIONAL([BUILD_ATHENA3D], true) -AM_CONDITIONAL([BUILD_MOTIF], false) -]) - - -# ACE_PATH_X11 -#--------------------------------------------------------------------------- -# Find X11 libraries, flags, etc. -AC_DEFUN([ACE_PATH_X11], -[AC_REQUIRE([AC_PATH_XTRA]) - -if test "$no_x" != yes; then - ACE_X11_CPPFLAGS="${X_CFLAGS}" - ACE_X11_LDFLAGS="${X_LIBS}" - ACE_X11_LIBS="${X_PRE_LIBS} -lX11 ${X_EXTRA_LIBS}" - - AC_SUBST(ACE_X11_CPPFLAGS) - AC_SUBST(ACE_X11_LDFLAGS) - AC_SUBST(ACE_X11_LIBS) -fi - -AM_CONDITIONAL([BUILD_X11], [test X$no_x != Xyes]) -]) - - -# ACE_PATH_BZIP2 -#--------------------------------------------------------------------------- -# Find bzip2 Libraries, flags, etc. -AC_DEFUN([ACE_PATH_BZIP2], -[ -ACE_BZIP2_CPPFLAGS="" -ACE_BZIP2_LDFLAGS="" - -dnl TODO: default to false, at least until we add a check to see if -dnl the bzip2 library is usable. -AC_ARG_WITH([bzip2], - AS_HELP_STRING([--with-bzip2@<:@=DIR@:>@], - [root directory of bzip2 installation]), - [ - ace_with_bzip2="${withval}" - if test "${ace_with_bzip2}" != yes; then - ace_bzip2_include="${ace_with_bzip2}/include" - ace_bzip2_libdir="${ace_with_bzip2}/lib" - fi - ],[ace_with_bzip2=no]) - -dnl TODO: let's wait and see before adding options to specify header -dnl and library location separately. -dnl -dnl AC_ARG_WITH([bzip2_include], -dnl AS_HELP_STRING([--with-bzip2-include=DIR], -dnl [specify exact include dir for bzip2 headers]), -dnl [ace_bzip2_include="$withval"]) -dnl -dnl AC_ARG_WITH([bzip2_libdir], -dnl AS_HELP_STRING([--with-bzip2-libdir=DIR], -dnl [specify exact include dir for bzip2 libraries]), -dnl [ace_bzip2_libdir="$withval"]) - -if test "${ace_bzip2_include}"; then - ACE_BZIP2_CPPFLAGS="-I$ace_bzip2_include" -fi - -if test "${ace_bzip2_libdir}"; then - ACE_BZIP2_LDFLAGS="-L$ace_bzip2_libdir" -fi - -ACE_BZIP2_CPPFLAGS="${ACE_BZIP2_CPPFLAGS} -DBZIP2" - -if test "${ace_with_bzip2}" != no; then - ACE_BZIP2_LIBS="-lbz2" - AC_SUBST(ACE_BZIP2_CPPFLAGS) - AC_SUBST(ACE_BZIP2_LDFLAGS) - AC_SUBST(ACE_BZIP2_LIBS) -fi -AM_CONDITIONAL([BUILD_BZIP2], test "${ace_with_bzip2}" != no) -]) - - -# ACE_PATH_ZLIB -#--------------------------------------------------------------------------- -# Find zlib Libraries, flags, etc. -AC_DEFUN([ACE_PATH_ZLIB], -[ -ACE_ZLIB_CPPFLAGS="" -ACE_ZLIB_LDFLAGS="" - -dnl TODO: default to false, at least until we add a check to see if -dnl the zlib library is usable. -AC_ARG_WITH([zlib], - AS_HELP_STRING([--with-zlib@<:@=DIR@:>@], - [root directory of zlib installation]), - [ - ace_with_zlib="${withval}" - if test "${ace_with_zlib}" != yes; then - ace_zlib_include="${ace_with_zlib}/include" - ace_zlib_libdir="${ace_with_zlib}/lib" - fi - ],[ace_with_zlib=no]) - -dnl TODO: let's wait and see before adding options to specify header -dnl and library location separately. -dnl -dnl AC_ARG_WITH([zlib_include], -dnl AS_HELP_STRING([--with-zlib-include=DIR], -dnl [specify exact include dir for zlib headers]), -dnl [ace_zlib_include="$withval"]) -dnl -dnl AC_ARG_WITH([zlib_libdir], -dnl AS_HELP_STRING([--with-zlib-libdir=DIR], -dnl [specify exact include dir for zlib libraries]), -dnl [ace_zlib_libdir="$withval"]) - -if test "${ace_zlib_include}"; then - ACE_ZLIB_CPPFLAGS="-I$ace_zlib_include" -fi - -if test "${ace_zlib_libdir}"; then - ACE_ZLIB_LDFLAGS="-L$ace_zlib_libdir" -fi - -ACE_ZLIB_CPPFLAGS="${ACE_ZLIB_CPPFLAGS} -DZLIB" - -if test "${ace_with_zlib}" != no; then - ACE_ZLIB_LIBS="-lz" - AC_SUBST(ACE_ZLIB_CPPFLAGS) - AC_SUBST(ACE_ZLIB_LDFLAGS) - AC_SUBST(ACE_ZLIB_LIBS) -fi -AM_CONDITIONAL([BUILD_ZLIB], test "${ace_with_zlib}" != no) -]) - - -# ACE_PATH_ZZIP -#--------------------------------------------------------------------------- -# Find zziplib Libraries, flags, etc. -AC_DEFUN([ACE_PATH_ZZIP], -[AC_REQUIRE([ACE_PATH_ZLIB]) - -ACE_ZZIP_CPPFLAGS="" -ACE_ZZIP_LDFLAGS="" - -dnl TODO: default to false, at least until we add a check to see if -dnl the zlib library is usable. -AC_ARG_WITH([zzip], - AS_HELP_STRING([--with-zzip@<:@=DIR@:>@], - [root directory of zzip installation]), - [ - ace_with_zzip="${withval}" - if test "${ace_with_zzip}" != yes; then - ace_zzip_include="${ace_with_zzip}/include" - ace_zzip_libdir="${ace_with_zzip}/lib" - fi - ],[ace_with_zzip=no]) - -dnl TODO: let's wait and see before adding options to specify header -dnl and library location separately. -dnl -dnl AC_ARG_WITH([zzip_include], -dnl AS_HELP_STRING([--with-zzip-include=DIR], -dnl [specify exact include dir for zzip headers]), -dnl [ace_zzip_include="$withval"]) -dnl -dnl AC_ARG_WITH([zzip_libdir], -dnl AS_HELP_STRING([--with-zzip-libdir=DIR], -dnl [specify exact include dir for zzip libraries]), -dnl [ace_zzip_libdir="$withval"]) - -if test "${ace_zzip_include}"; then - ACE_ZZIP_CPPFLAGS="-I$ace_zzip_include" -fi - -if test "${ace_zzip_libdir}"; then - ACE_ZZIP_LDFLAGS="-L$ace_zzip_libdir" -fi - -ACE_ZZIP_CPPFLAGS="${ACE_ZZIP_CPPFLAGS} -DUSE_ZZIP" - -if test "${ace_with_zzip}" != no; then - ACE_ZZIP_LIBS="-lzzip" - AC_SUBST(ACE_ZZIP_CPPFLAGS) - AC_SUBST(ACE_ZZIP_LDFLAGS) - AC_SUBST(ACE_ZZIP_LIBS) -fi -AM_CONDITIONAL([BUILD_ZZIP], test "${ace_with_zzip}" != no) -]) - -# ACE_ENABLE_FL_REACTOR -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_ENABLE_FL_REACTOR], -[AC_REQUIRE([ACE_PATH_FL]) -AC_REQUIRE([ACE_PATH_X11]) -AC_ARG_ENABLE([fl-reactor], - AS_HELP_STRING([--enable-fl-reactor], - [build support for the FlReactor [[no]]]), - [case "${enableval}" in - yes) - AS_IF([test X"${FLTKCONFIG}" != X], - [ace_user_enable_fl_reactor=yes], - [AC_MSG_ERROR([ACE_FlReactor cannot be enabled: fltk-config not found.])]) - ;; - no) - ace_user_enable_fl_reactor=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-fl-reactor]) - ;; - esac], - [ - ace_user_enable_fl_reactor=no - ]) -AM_CONDITIONAL([BUILD_GL], [test X$ace_user_enable_fl_reactor = Xyes]) -AM_CONDITIONAL([BUILD_FL], [test X$ace_user_enable_fl_reactor = Xyes]) -AM_CONDITIONAL([BUILD_ACE_FLREACTOR], - [test X$ace_user_enable_fl_reactor = Xyes]) -AM_CONDITIONAL([BUILD_TAO_FLRESOURCE], - [test X$ace_user_enable_fl_reactor = Xyes]) -]) - - -# ACE_ENABLE_QT_REACTOR -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_ENABLE_QT_REACTOR], -[AC_REQUIRE([ACE_PATH_QT]) -AC_ARG_ENABLE([qt-reactor], - AS_HELP_STRING([--enable-qt-reactor], - [build support for the QtReactor [[no]]]), - [case "${enableval}" in - yes) - AS_IF([test X"${ac_qt_found}" = Xyes], - [ace_user_enable_qt_reactor=yes], - [AC_MSG_ERROR([ACE_QtReactor cannot be enabled: Qt not found.])]) - ;; - no) - ace_user_enable_qt_reactor=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-qt-reactor]) - ;; - esac], - [ - ace_user_enable_qt_reactor=no - ]) -AM_CONDITIONAL([BUILD_QT], [test X$ace_user_enable_qt_reactor = Xyes]) -AM_CONDITIONAL([BUILD_ACE_QTREACTOR], - [test X$ace_user_enable_qt_reactor = Xyes]) -AM_CONDITIONAL([BUILD_TAO_QTRESOURCE], - [test X$ace_user_enable_qt_reactor = Xyes]) -]) - - -# ACE_ENABLE_TK_REACTOR -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_ENABLE_TK_REACTOR], -[AC_REQUIRE([ACE_PATH_TK]) -AC_ARG_ENABLE([tk-reactor], - AS_HELP_STRING([--enable-tk-reactor], - [build support for the TkReactor [[no]]]), - [case "${enableval}" in - yes) - AS_IF([test X"${TCLCONFIG}" != X], - [AS_IF([test X"${TKCONFIG}" != X], - [ace_user_enable_tk_reactor=yes], - [AC_MSG_ERROR([ACE_TkReactor cannot be enabled: tkConfig not found.])])], - [AC_MSG_ERROR([ACE_TkReactor cannot be enabled: tclConfig not found.])]) - ;; - no) - ace_user_enable_tk_reactor=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-tk-reactor]) - ;; - esac], - [ - ace_user_enable_tk_reactor=no - ]) -AM_CONDITIONAL([BUILD_TK], [test X$ace_user_enable_tk_reactor = Xyes]) -AM_CONDITIONAL([BUILD_ACE_TKREACTOR], - [test X$ace_user_enable_tk_reactor = Xyes]) -AM_CONDITIONAL([BUILD_TAO_TKRESOURCE], - [test X$ace_user_enable_tk_reactor = Xyes]) -]) - - -# ACE_ENABLE_XT_REACTOR -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_ENABLE_XT_REACTOR], -[AC_REQUIRE([ACE_PATH_XT]) -AC_ARG_ENABLE([xt-reactor], - AS_HELP_STRING([--enable-xt-reactor], - [build support for the XtReactor [[no]]]), - [case "${enableval}" in - yes) -dnl Here, if X isn't found or the user sets "--without-x" on the command -dnl line, then "no_x" is set to "yes." - AS_IF([test "$no_x" != yes], - [ - ace_user_enable_xt_reactor=yes - ],[ - ace_user_enable_xt_reactor=no - AC_MSG_WARN([X was not found or it was disabled.]) - AC_MSG_WARN([ACE_XtReactor will not be enabled.]) - ]) - ;; - no) - ace_user_enable_xt_reactor=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-xt-reactor]) - ;; - esac], - [ - ace_user_enable_xt_reactor=no - ]) -AM_CONDITIONAL([BUILD_XT], [test X$ace_user_enable_xt_reactor = Xyes]) -AM_CONDITIONAL([BUILD_ACE_XTREACTOR], - [test X$ace_user_enable_xt_reactor = Xyes]) -AM_CONDITIONAL([BUILD_TAO_XTRESOURCE], - [test X$ace_user_enable_xt_reactor = Xyes]) -]) - -# ACE_PATH_FOX -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_PATH_FOX], -[AC_ARG_WITH([fox-config], - AS_HELP_STRING([--with-fox-config=DIR], - [path to fox-config [[automatic]]]), - [ ac_fox_config_dir="${withval}" ]) - if test X"${ac_fox_config_dir}" = X; then - AC_PATH_PROG([FOXCONFIG], [fox-config], [], []) - else - AC_MSG_CHECKING([whether fox-config exists in ${ac_fox_config_dir}]) - if test -f "${ac_fox_config_dir}/fox-config"; then - FOXCONFIG="${ac_fox_config_dir}/fox-config" - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - fi - fi - if test X"${FOXCONFIG}" != X; then - ACE_FOX_CPPFLAGS=`$FOXCONFIG --cflags 2>/dev/null` - ACE_FOX_LIBS=`$FOXCONFIG --libs 2>/dev/null` - AC_SUBST(ACE_FOX_CPPFLAGS) - AC_SUBST(ACE_FOX_LIBS) - fi -]) - -# ACE_ENABLE_FOX_REACTOR -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_ENABLE_FOX_REACTOR], -[AC_REQUIRE([ACE_PATH_FOX]) -AC_ARG_ENABLE([fox-reactor], - AS_HELP_STRING([--enable-fox-reactor], - [build support for the FoxReactor [[no]]]), - [case "${enableval}" in - yes) - AS_IF([test X"${FOXCONFIG}" != X], - [ace_user_enable_fox_reactor=yes], - [AC_MSG_ERROR([ACE_FoxReactor cannot be enabled: fox-config not found.])]) - ;; - no) - ace_user_enable_fox_reactor=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-fox-reactor]) - ;; - esac], - [ - ace_user_enable_fox_reactor=no - ]) -AM_CONDITIONAL([BUILD_FOX], [test X$ace_user_enable_fox_reactor = Xyes]) -AM_CONDITIONAL([BUILD_ACE_FOXREACTOR], - [test X$ace_user_enable_fox_reactor = Xyes]) -AM_CONDITIONAL([BUILD_TAO_FOXRESOURCE], - [test X$ace_user_enable_fox_reactor = Xyes]) -]) diff --git a/dep/ACE_wrappers/m4/ace_defines.m4 b/dep/ACE_wrappers/m4/ace_defines.m4 deleted file mode 100644 index c8b37af91..000000000 --- a/dep/ACE_wrappers/m4/ace_defines.m4 +++ /dev/null @@ -1,48 +0,0 @@ -# ACE_CHECK_DEFINE(DEFINE, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], -# [INCLUDES = 'default-includes']) -#----------------------------------------------------------------------------- -AC_DEFUN([ACE_CHECK_DEFINE],[ -AS_VAR_PUSHDEF([ac_var],[ace_cv_defined_$1])dnl -AC_CACHE_CHECK([for $1], ac_var, -AC_COMPILE_IFELSE([AC_LANG_SOURCE([AC_INCLUDES_DEFAULT([$4]) -#ifdef $1 -int ok; -#else -choke me -#endif -])],AS_VAR_SET(ac_var, yes),AS_VAR_SET(ac_var, no))) -AS_IF([test AS_VAR_GET(ac_var) != "no"], [$2], [$3])dnl -AS_VAR_POPDEF([ac_var])dnl -]) - -# ACE_CHECK_HAS_DEFINES(DEFINE..., [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], -# [INCLUDES = 'default-includes']) -#----------------------------------------------------------------------------- -AC_DEFUN([ACE_CHECK_HAS_DEFINES], -[AC_FOREACH([ACE_Def], [$1], - [AH_TEMPLATE(AS_TR_CPP([ACE_HAS_]ACE_Def), - [Define to 1 if platform has ]ACE_Def[().])])dnl -for ace_def in $1 -do -ACE_CHECK_DEFINE($ace_def, - [AC_DEFINE_UNQUOTED(AS_TR_CPP([ACE_HAS_$ace_def])) $2], - [$3], - [$4]) -done -]) - -# ACE_CHECK_LACKS_DEFINES(DEFINE..., [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -# [INCLUDES = 'default-includes']) -#----------------------------------------------------------------------------- -AC_DEFUN([ACE_CHECK_LACKS_DEFINES], -[AC_FOREACH([ACE_Def], [$1], - [AH_TEMPLATE(AS_TR_CPP([ACE_LACKS_]ACE_Def), - [Define to 1 if platform lacks ]ACE_Def[().])])dnl -for ace_def in $1 -do -ACE_CHECK_DEFINE($ace_def, - [$2], - [AC_DEFINE_UNQUOTED(AS_TR_CPP([ACE_LACKS_$ace_def])) $3], - [$4]) -done -]) diff --git a/dep/ACE_wrappers/m4/ace_func.m4 b/dep/ACE_wrappers/m4/ace_func.m4 deleted file mode 100644 index bc8cbd116..000000000 --- a/dep/ACE_wrappers/m4/ace_func.m4 +++ /dev/null @@ -1,315 +0,0 @@ -# ACE_FUNC_STRCASECMP -# + Defines ACE_LACKS_STRCASECMP to 1 if platform lacks strcasecmp() -# + Defines ACE_STRCASECMP_EQUIVALENT to identifier name if platform -# has a equivalent function that differs in name only. -# + Defines ACE_LACKS_STRCASECMP_PROTOTYPE to 1 if platform lacks -# declaration for strcasecmp(). -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_FUNC_STRCASECMP], -[ACE_CHECK_LACKS_FUNCS(strcasecmp) -if test "$ac_cv_func_strcasecmp" = yes; then - AC_CHECK_DECL([strcasecmp], - [], - [AC_DEFINE([ACE_LACKS_STRCASECMP_PROTOTYPE], 1, - [Define to 1 if platform lacks a declaration for strcasecmp()])], - [ -#if !defined(ACE_LACKS_STRINGS_H) -#include -#endif -#if !defined(ACE_LACKS_STRING_H) -#include -#endif - ]) -else - AC_CHECK_FUNC(stricmp) - if test "$ac_cv_func_stricmp" = yes; then - AC_DEFINE(ACE_STRCASECMP_EQUIVALENT, [::stricmp], - [Define to function that is equivalent to strcasecmp()]) - else - AC_CHECK_FUNC(_stricmp) - if test "$ac_cv_func__stricmp" = yes; then - AC_DEFINE(ACE_STRCASECMP_EQUIVALENT, [::_stricmp]) - fi - fi -fi -]) - -# ACE_FUNC_STRNCASECMP -# + Defines ACE_LACKS_STRNCASECMP to 1 if platform lacks strncasecmp() -# + Defines ACE_STRNCASECMP_EQUIVALENT to identifier name if platform -# has a equivalent function that differs in name only. -# + Defines ACE_LACKS_STRNCASECMP_PROTOTYPE to 1 if platform lacks -# declaration for strncasecmp(). -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_FUNC_STRNCASECMP], -[ACE_CHECK_LACKS_FUNCS(strncasecmp) -if test "$ac_cv_func_strncasecmp" = yes; then - AC_CHECK_DECL([strncasecmp], - [], - [AC_DEFINE([ACE_LACKS_STRNCASECMP_PROTOTYPE], 1, - [Define to 1 if platform lacks a declaration for strncasecmp()])], - [ -#if !defined(ACE_LACKS_STRINGS_H) -#include -#endif -#if !defined(ACE_LACKS_STRING_H) -#include -#endif - ]) -else - AC_CHECK_FUNC(strnicmp) - if test "$ac_cv_func_strnicmp" = yes; then - AC_DEFINE(ACE_STRNCASECMP_EQUIVALENT, [::strnicmp], - [Define to function that is equivalent to strncasecmp()]) - else - AC_CHECK_FUNC(_strnicmp) - if test "$ac_cv_func__strnicmp" = yes; then - AC_DEFINE(ACE_STRNCASECMP_EQUIVALENT, [::_strnicmp]) - fi - fi -fi -]) - -# ACE_FUNC_STRDUP -# + Defines ACE_LACKS_STRDUP to 1 if platform lacks strdup() -# + Defines ACE_STRDUP_EQUIVALENT to identifier name if platform -# has a equivalent function that differs in name only. -# + Defines ACE_HAS_NONCONST_STRDUP if argument is char*. (TODO) -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_FUNC_STRDUP], -[ACE_CHECK_LACKS_FUNCS(strdup) -if test "$ac_cv_func_strdup" = no; then - AC_CHECK_FUNC(_strdup) - if test "$ac_cv_func__strdup" = yes; then - AC_DEFINE(ACE_STRDUP_EQUIVALENT, [::_strdup], - [Define to function that is equivalent to strdup()]) - fi -fi -]) - -# ACE_FUNC_STRTOLL -# + Defines ACE_LACKS_STRTOLL to 1 if platform lacks strtoll() -# + Defines ACE_STRTOLL_EQUIVALENT to identifier name if platform -# has a equivalent function that differs in name only. -# + Defines ACE_LACKS_STRTOLL_PROTOTYPE to 1 if platform lacks -# declaration for strtoll(). -AC_DEFUN([ACE_FUNC_STRTOLL], -[ACE_CHECK_LACKS_FUNCS(strtoll) -if test $ac_cv_func_strtoll = "no"; then - AC_CHECK_FUNC(__strtoll) - if test $ac_cv_func___strtoll = "yes"; then - AC_DEFINE([ACE_STRTOLL_EQUIVALENT], [::__strtoll], - [Define to function that is equivalent to strtoll()]) - else - AC_CHECK_FUNC(_strtoi64) - if test $ac_cv_func__strtoi64 = "yes"; then - AC_DEFINE([ACE_STRTOLL_EQUIVALENT], [::_strtoi64]) - fi - fi -else - AC_CHECK_DECL([strtoll], - [], - [AC_DEFINE([ACE_LACKS_STRTOLL_PROTOTYPE], 1, - [Define to 1 if platform lacks a declaration for strtoll()])], - [#include ]) -fi -]) - -# ACE_FUNC_STRTOULL -# + Defines ACE_LACKS_STRTOULL to 1 if platform lacks strtoull() -# + Defines ACE_STRTOULL_EQUIVALENT to identifier name if platform -# has a equivalent function that differs in name only. -# + Defines ACE_LACKS_STRTOULL_PROTOTYPE to 1 if platform lacks -# declaration for strtoull(). -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_FUNC_STRTOULL], -[ACE_CHECK_LACKS_FUNCS(strtoull) -if test $ac_cv_func_strtoull = "no"; then - AC_CHECK_FUNC(__strtoull) - if test $ac_cv_func___strtoull = "yes"; then - AC_DEFINE([ACE_STRTOULL_EQUIVALENT], [::__strtoull], - [Define to function that is equivalent to strtoull()]) - else - AC_CHECK_FUNC(_strtoui64) - if test $ac_cv_func__strtoui64 = "yes"; then - AC_DEFINE([ACE_STRTOULL_EQUIVALENT], [::_strtoui64]) - fi - fi -else - AC_CHECK_DECL([strtoull], - [], - [AC_DEFINE([ACE_LACKS_STRTOULL_PROTOTYPE], 1, - [Define to 1 if platform lacks a declaration for strtoull()])], - [#include ]) -fi -]) - -# ACE_FUNC_WCSCASECMP -# + Defines ACE_LACKS_WCSCASECMP to 1 if platform lacks wcscasecmp() -# + Defines ACE_WCSCASECMP_EQUIVALENT to identifier name if platform -# has a equivalent function that differs in name only. -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_FUNC_WCSCASECMP], -[ACE_CHECK_LACKS_FUNCS(wcscasecmp) -if test "$ac_cv_func_wcscasecmp" = no; then - AC_CHECK_FUNC(wcsicmp) - if test "$ac_cv_func_wcsicmp" = yes; then - AC_DEFINE(ACE_WCSCASECMP_EQUIVALENT, [::wcsicmp], - [Define to function that is equivalent to wcscasecmp()]) - else - AC_CHECK_FUNC(_wcsicmp) - if test "$ac_cv_func__wcsicmp" = yes; then - AC_DEFINE(ACE_WCSCASECMP_EQUIVALENT, [::_wcsicmp]) - fi - fi -fi -]) - -# ACE_FUNC_WCSNCASECMP -# + Defines ACE_LACKS_WCSNCASECMP to 1 if platform lacks wcsncasecmp() -# + Defines ACE_WCSNCASECMP_EQUIVALENT to identifier name if platform -# has a equivalent function that differs in name only. -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_FUNC_WCSNCASECMP], -[ACE_CHECK_LACKS_FUNCS(wcsncasecmp) -if test "$ac_cv_func_wcsncasecmp" = no; then - AC_CHECK_FUNC(wcsnicmp) - if test "$ac_cv_func_wcsnicmp" = yes; then - AC_DEFINE(ACE_WCSNCASECMP_EQUIVALENT, [::wcsnicmp], - [Define to function that is equivalent to wcsncasecmp()]) - else - AC_CHECK_FUNC(_wcsnicmp) - if test "$ac_cv_func__wcsnicmp" = yes; then - AC_DEFINE(ACE_WCSNCASECMP_EQUIVALENT, [::_wcsnicmp]) - fi - fi -fi -]) - -# ACE_FUNC_WCSDUP -# + Defines ACE_LACKS_WCSDUP to 1 if platform lacks wcsdup() -# + Defines ACE_WCSDUP_EQUIVALENT to identifier name if platform -# has a equivalent function that differs in name only. -# + Defines ACE_HAS_NONCONST_WCSDUP if argument is char*. (TODO) -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_FUNC_WCSDUP], -[ACE_CHECK_LACKS_FUNCS(wcsdup) -if test "$ac_cv_func_wcsdup" = no; then - AC_CHECK_FUNC(_wcsdup) - if test "$ac_cv_func__wcsdup" = yes; then - AC_DEFINE(ACE_WCSDUP_EQUIVALENT, [::_wcsdup], - [Define to function that is equivalent to wcsdup()]) - fi -fi -]) - -# ACE_FUNC_WCSTOLL -# + Defines ACE_LACKS_WCSTOLL to 1 if platform lacks wcstoll() -# + Defines ACE_WCSTOLL_EQUIVALENT to identifier name if platform -# has a equivalent function that differs in name only. -# + Defines ACE_LACKS_WCSTOLL_PROTOTYPE to 1 if platform lacks -# declaration for wcstoll(). -AC_DEFUN([ACE_FUNC_WCSTOLL], -[ACE_CHECK_LACKS_FUNCS(wcstoll) -if test $ac_cv_func_wcstoll = "no"; then - AC_CHECK_FUNC(__wcstoll) - if test $ac_cv_func___wcstoll = "yes"; then - AC_DEFINE([ACE_WCSTOLL_EQUIVALENT], [::__wcstoll], - [Define to function that is equivalent to wcstoll()]) - else - AC_CHECK_FUNC(_wcstoi64) - if test $ac_cv_func__wcstoi64 = "yes"; then - AC_DEFINE([ACE_WCSTOLL_EQUIVALENT], [::_wcstoi64], - [Define to function that is equivalent to wcstoll()]) - fi - fi -else - AC_CHECK_DECL([wcstoll], - [], - [AC_DEFINE([ACE_LACKS_WCSTOLL_PROTOTYPE], 1, - [Define to 1 if platform lacks a declaration for wcstoll()])], - [#include -#include ]) -fi -]) - -# ACE_FUNC_WCSTOULL -# + Defines ACE_LACKS_WCSTOULL to 1 if platform lacks wcstoull() -# + Defines ACE_WCSTOULL_EQUIVALENT to identifier name if platform -# has a equivalent function that differs in name only. -# + Defines ACE_LACKS_WCSTOULL_PROTOTYPE to 1 if platform lacks -# declaration for wcstoull(). -AC_DEFUN([ACE_FUNC_WCSTOULL], -[ACE_CHECK_LACKS_FUNCS(wcstoull) -if test $ac_cv_func_wcstoull = "no"; then - AC_CHECK_FUNC(__wcstoull) - if test $ac_cv_func___wcstoull = "yes"; then - AC_DEFINE([ACE_WCSTOULL_EQUIVALENT], [::__wcstoull], - [Define to function that is equivalent to wcstoull()]) - else - AC_CHECK_FUNC(_wcstoui64) - if test $ac_cv_func__wcstoui64 = "yes"; then - AC_DEFINE([ACE_WCSTOULL_EQUIVALENT], [::_wcstoui64], - [Define to function that is equivalent to wcstoull()]) - fi - fi -else - AC_CHECK_DECL([wcstoull], - [], - [AC_DEFINE([ACE_LACKS_WCSTOULL_PROTOTYPE], 1, - [Define to 1 if platform lacks a declaration for wcstoull()])], - [#include -#include ]) -fi -]) - -# ACE_CHECK_SYSINFO -# -# HP/UX, SVR4/POSIX and Linux have completely independent -# implementations of the # sysinfo() system / library call. -# -# The HP/UX syscall is undocumented. -# -# The SVR4 signature is: -# #include -# long sysinfo (int command, char *buf, long count) -# -# While the Linux signature is: -# #include -# int sysinfo (struct sysinfo* info); -# -# SVR4 (or at least Solaris) also has a sys/sysinfo.h header, so that -# cannot be used to distinguish between the two varients. As far as I -# know, Linux does not have a sys/systeminfo.h header, so that can. -# To further avoid false positives, small programs that use the two -# APIs are compiled as part of the feature tests. -# -# ACE uses the ACE_HAS_SYSV_SYSINFO feature test macro for the first -# and ACE_HAS_LINUX_SYSINFO for the second. -# -AC_DEFUN([ACE_CHECK_FUNC_SYSINFO],[ -ACE_CHECK_HAS_HEADERS(sys/sysinfo.h sys/systeminfo.h) -AC_CHECK_FUNC(sysinfo) -if test "$ac_cv_func_sysinfo" = yes; then - if test "$ac_cv_header_sys_systeminfo_h" = yes; then - AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM( - [#include ], - [char buf[256]; - sysinfo (SI_SYSNAME, buf, sizeof(buf)); - return 0;])], - [AC_DEFINE([ACE_HAS_SYSV_SYSINFO], 1, - [Define to 1 if system has SysV version of sysinfo().])]) - - elif test "$ac_cv_header_sys_sysinfo_h" = yes; then - AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM( - [#include ], - [struct sysinfo s; - sysinfo (&s); - return 0;])], - [AC_DEFINE([ACE_HAS_LINUX_SYSINFO], 1, - [Define to 1 if system has Linux version of sysinfo().])]) - fi -fi -]) diff --git a/dep/ACE_wrappers/m4/ace_functions.m4 b/dep/ACE_wrappers/m4/ace_functions.m4 deleted file mode 100644 index 571b9f1df..000000000 --- a/dep/ACE_wrappers/m4/ace_functions.m4 +++ /dev/null @@ -1,27 +0,0 @@ -# ACE_CHECK_HAS_FUNCS(FUNCTION..., [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_CHECK_HAS_FUNCS], -[AC_FOREACH([ACE_Func], [$1], - [AH_TEMPLATE(AS_TR_CPP([ACE_HAS_]ACE_Func), - [Define to 1 if platform has ]ACE_Func[().])])dnl -for ace_func in $1 -do -AC_CHECK_FUNC($ace_func, - [AC_DEFINE_UNQUOTED(AS_TR_CPP([ACE_HAS_$ace_func])) $2], - [$3])dnl -done -]) - -# ACE_CHECK_LACKS_FUNCS(FUNCTION..., [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -#----------------------------------------------------------------------------- -AC_DEFUN([ACE_CHECK_LACKS_FUNCS], -[AC_FOREACH([ACE_Func], [$1], - [AH_TEMPLATE(AS_TR_CPP([ACE_LACKS_]ACE_Func), - [Define to 1 if platform lacks ]ACE_Func[().])])dnl -for ace_func in $1 -do -AC_CHECK_FUNC($ace_func, - [$2], - [AC_DEFINE_UNQUOTED(AS_TR_CPP([ACE_LACKS_$ace_func])) $3])dnl -done -]) diff --git a/dep/ACE_wrappers/m4/ace_headers.m4 b/dep/ACE_wrappers/m4/ace_headers.m4 deleted file mode 100644 index 88a0cef94..000000000 --- a/dep/ACE_wrappers/m4/ace_headers.m4 +++ /dev/null @@ -1,35 +0,0 @@ -# ACE_CHECK_HAS_HEADERS(HEADER-FILE..., -# [ACTION-IF-FOUND], -# [ACTION-IF-NOT-FOUND], -# [INCLUDES = 'default-includes']) -#----------------------------------------------------------------------------- -AC_DEFUN([ACE_CHECK_HAS_HEADERS], -[AC_FOREACH([ACE_Header], [$1], - [AH_TEMPLATE(AS_TR_CPP([ACE_HAS_]ACE_Header), - [Define to 1 if platform has the <]ACE_Header[> header file.])])dnl -for ace_header in $1 -do -AC_CHECK_HEADER($ace_header, - [AC_DEFINE_UNQUOTED(AS_TR_CPP([ACE_HAS_$ace_header])) $2], - [$3], - [$4])dnl -done -]) - -# ACE_CHECK_LACKS_HEADERS(HEADER-FILE..., -# [ACTION-IF-FOUND], -# [ACTION-IF-NOT-FOUND], -# [INCLUDES = 'default-includes']) -#----------------------------------------------------------------------------- -AC_DEFUN([ACE_CHECK_LACKS_HEADERS], -[AC_FOREACH([ACE_Header], [$1], - [AH_TEMPLATE(AS_TR_CPP([ACE_LACKS_]ACE_Header), - [Define to 1 if platform lacks the <]ACE_Header[> header file.])])dnl -for ace_header in $1 -do -AC_CHECK_HEADER($ace_header, - [$2], - [AC_DEFINE_UNQUOTED(AS_TR_CPP([ACE_LACKS_$ace_header])) $3], - [$4])dnl -done -]) diff --git a/dep/ACE_wrappers/m4/acinclude.m4 b/dep/ACE_wrappers/m4/acinclude.m4 deleted file mode 100644 index faf368cbe..000000000 --- a/dep/ACE_wrappers/m4/acinclude.m4 +++ /dev/null @@ -1,525 +0,0 @@ -dnl ------------------------------------------------------------------------- -dnl $Id: acinclude.m4 82832 2008-09-25 17:38:39Z jtc $ -dnl -dnl ACE M4 include file which contains general M4 macros -dnl to be used by the ACE configure script. -dnl -dnl The macros in this file were designed for ACE but should be -dnl general enough for general use. -dnl -dnl ------------------------------------------------------------------------- - -dnl Copyright (C) 1998, 1999, 2000, 2002 Ossama Othman -dnl -dnl All Rights Reserved -dnl -dnl This library is free software; you can redistribute it and/or -dnl modify it under the current ACE distribution terms. -dnl -dnl This library is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - - -dnl miscellaneous macros - -dnl Prevent the configure script continuing any further if a CVS control -dnl directory is found. The idea is to prevent files generated during -dnl configuration and build from be checked in to the CVS repository that -dnl the sources are checked into. This should only be an issue for -dnl maintainers, not end-users. Maintainers should configure and build in -dnl a directory that doesn't contain any CVS controlled sources and files, -dnl i.e. that doesn't contain a CVS directory. -dnl -dnl Usage: ACE_CHECK_FOR_CVS_DIR -AC_DEFUN([ACE_CHECK_FOR_CVS_DIR], -[ - if test -d CVS; then - AC_MSG_ERROR( - [ - This error is meant for maintainers: - - Please configure and build in a non-CVS controlled directory. - Doing so will prevent accidentally committing automatically - generated files into the CVS repository and help ensure that - the generated files and build scheme are correct. - - For example, try the following from the top-level source - directory: - - mkdir objdir - cd objdir - ../configure - make - - This will create a build space in the directory `objdir' and - start a build in that directory. - ]) - fi -]) - - -dnl Prevent the configure script from continuing any further if -dnl configuration is being performed in the top-level directory. The -dnl idea is to prevent files generated during configuration and build -dnl from overwriting the stock files of the same name. -dnl Usage: ACE_CHECK_TOP_SRCDIR -AC_DEFUN([ACE_CHECK_TOP_SRCDIR], -[ - if test "$srcdir" = "." && test "$USE_MAINTAINER_MODE" != "yes"; then - AC_MSG_ERROR( - [ - Please configure and build in a directory other than the - top-level source directory. Doing so will prevent files - distributed with the package from being overwritten. This is - currently necessary since autoconf support is still - experimental. If you encounter problems please use the stock - build procedure. - - For example, try the following from the top-level source - directory: - - mkdir objdir - cd objdir - ../configure - make - - This will create a build space in the directory `objdir' and - start a build in that directory. - ]) - fi -]) - -dnl Add compiler flags to the CXXFLAGS and CFLAGS variables when doing an -dnl AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[],[]) (not ACE_TRY_COMPILE). -dnl Use this macro when adding include directories to the compiler flags, -dnl for example. -dnl Usage: ACE_TRY_COMPILE(COMPILER-FLAGS, INCLUDES, FUNCTION-BODY, -dnl [ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]]) -AC_DEFUN([ACE_TRY_COMPILE], -[ - AC_LANG([C++]) - AC_REQUIRE([AC_LANG]) - - ace_pre_try_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $1" - - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[$2]], [[$3]])],[$4],[$5]) - - dnl Restore the C++ flags - CXXFLAGS="$ace_pre_try_CXXFLAGS" - -]) - -dnl Create a temporary empty file and remove it after commands are done using -dnl it. The directory in which the temporary file will be created in must -dnl exist. Files will be created under the source directory, not the build -dnl directory. -dnl Use this macro when you need a particular file available but want it to be -dnl empty. This is useful to prevent conflicts with autoconf's confdefs.h -dnl header when doing an AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[],[]). -dnl Usage: ACE_USE_TEMP_FILE(TEMP-FILE-TO-CREATE, COMMANDS-THAT-WILL-USE-IT) -AC_DEFUN([ACE_USE_TEMP_FILE], -[ - test -d $1 && AC_MSG_ERROR([cannot create file: $acetmp is a directory]) - - dnl Make sure contents of existing file don't override the contents - dnl of the temporary one. - test -f ${srcdir}/$1 && mv ${srcdir}/$1 ${srcdir}/$1.conf - - if test ${srcdir} != "."; then - dnl Create all of the sub-directories. - AS_MKDIR_P([`AS_DIRNAME(["$1"])`]) - fi - - touch $1 - - $2 - - if test -f ${srcdir}/$1.conf; then - mv ${srcdir}/$1.conf ${srcdir}/$1 - fi - - if test ${srcdir} != "."; then - dnl Remove the file. Any sub-directories will not be removed - dnl since we have no way to tell if they existed prior to the - dnl creation of this file. - rm $1 - fi -]) - -dnl Run given test(s) with warnings converted to errors -dnl Usage: ACE_CONVERT_WARNINGS_TO_ERRORS(TEST-BLOCK) -AC_DEFUN([ACE_CONVERT_WARNINGS_TO_ERRORS], -[ -dnl $WERROR is set in the ACE_SET_COMPILER_FLAGS macro. - AC_REQUIRE([ACE_SET_COMPILER_FLAGS]) - -dnl Some tests may pass because the compiler issues warnings -dnl instead of errors when errors should occur. This macro converts -dnl warnings to errors when executing the action/test passed to this -dnl macro so that action/test fails when it is supposed to fail; at -dnl least that is the idea. - - ace_pre_warning_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $WERROR" - - $1 - - CXXFLAGS="$ace_pre_warning_CXXFLAGS" -]) - -dnl Wrapper around AC_CACHE_VAL used to ensure "ACTION-IF" commands are run -dnl even if results have been previously cached. -dnl Usage: ACE_CACHE_CHECK(MESSAGE, CACHE-ID, COMMANDS-TO-SET-CACHE-VAL, -dnl ACTION-IF-CACHE-ID-IS-YES, -dnl ACTION-IF-CACHE-ID-IS-NO) -dnl The COMMANDS-TO-SET-CACHE-VAL should set the CACHE-ID to yes or "no," -dnl otherwise the "ACTION-IF*" commands may not run. The -dnl COMMANDS-TO-SET-CACHE-VAL should only set the CACHE value. For example, -dnl no AC_DEFINES should be placed in the COMMANDS-TO-SET-CACHE-VAL. -AC_DEFUN([ACE_CACHE_CHECK], -[ - AC_MSG_CHECKING([$1]) - AC_CACHE_VAL([$2], [$3]) - AC_MSG_RESULT([[$]$2]) - if test "[$]$2" != no; then - ace_just_a_place_holder=fixme -ifelse([$4], , :, [$4]) - else - ace_just_a_place_holder=fixme -ifelse([$5], , , [$5 -]) - fi -]) - -dnl checks for programs - -dnl checks for libraries - -dnl checks for header files - -dnl checks for typedefs - -dnl checks for structures - -dnl checks for variables - -dnl checks for compiler characteristics - -dnl checks for library functions - -dnl Check for function using prototype in header -dnl This macro is used if a function is called a different name in a given -dnl library than what is in the header file but the difference is made -dnl transparent to the user since the header may provide a macro to make -dnl things "transparent." If the given header does not exist then this -dnl macro acts just like the standard AC_CHECK_FUNC macro. -dnl Usage: ACE_CHECK_FUNC(FUNCTION, HEADER, -dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) -AC_DEFUN([ACE_CHECK_FUNC], -[ -dnl AC_REQUIRE([AC_PROG_CXX]) -dnl AC_REQUIRE([AC_PROG_CXXCPP]) -dnl AC_LANG([C++]) -dnl AC_REQUIRE([AC_LANG]) - AC_REQUIRE([AC_PROG_AWK]) - - AC_PREPROC_IFELSE([AC_LANG_SOURCE([[ -#include <$2> - ]])],[ace_header_exists=yes],[ace_header_exists=no]) - - cat > conftest.$ac_ext < - ACE_REAL_FUNCTION $1 - -EOF - - if test "$ace_header_exists" = yes; then - if test -z "$AWK"; then - AC_MSG_WARN([No awk program found. Real $1 function may not be found.]) - fi - - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "ACE_REAL_FUNCTION" | - (eval "$AWK '{print \[$]2}' > conftest.awk 2>&1"); then - rm -f conftest.$ac_ext - ace_real_function=`cat conftest.awk` - rm -f conftest.awk - fi - - if test $1 != "$ace_real_function"; then - AC_MSG_CHECKING([for real $1 from $2]) - AC_MSG_RESULT([$ace_real_function]) - fi - else - ace_real_function=$1 - fi dnl test "$ace_header_not_exist" != yes - - AC_CHECK_FUNC([$ace_real_function],[$3],[$4]) -]) - -dnl Check for function in library using prototype in header -dnl This macro is used if a function is called a different name in a given -dnl library than what is in the header file but the difference is made -dnl transparent to the user since the header may provide a macro to make -dnl things "transparent." If the given header does not exist then this -dnl macro acts just like the standard AC_CHECK_LIB macro. -dnl Usage: ACE_CHECK_LIB(LIBRARY, FUNCTION, HEADER, -dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) -AC_DEFUN([ACE_CHECK_LIB], -[ -dnl AC_REQUIRE([AC_PROG_CXX]) -dnl AC_REQUIRE([AC_PROG_CXXCPP]) -dnl AC_LANG([C++]) -dnl AC_REQUIRE([AC_LANG]) - AC_REQUIRE([AC_PROG_AWK]) - - AC_PREPROC_IFELSE([AC_LANG_SOURCE([[ -#include <$3> - ]])],[ace_header_exists=yes],[ace_header_exists=no]) - - cat > conftest.$ac_ext < - ACE_REAL_FUNCTION $2 - -EOF - - if test "$ace_header_exists" = yes; then - if test -z "$AWK"; then - AC_MSG_WARN([No awk program found. "Real" function in library may not be found.]) - fi - - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "ACE_REAL_FUNCTION" | - eval "$AWK '{print \[$]2}'" > conftest.awk 2>&1; then - rm -f conftest.$ac_ext - ace_real_function=`cat conftest.awk` - rm -f conftest.awk - fi - - if test $2 != "$ace_real_function"; then - AC_MSG_CHECKING([for real $2 from $3]) - AC_MSG_RESULT([$ace_real_function]) - fi - else - ace_real_function=$2 - fi dnl test "$ace_header_not_exist" != yes - - AC_CHECK_LIB([$1], [$ace_real_function], [$4], [$5]) -]) - - -dnl Check if getrlimit() takes an enum as 1st argument -dnl Usage: ACE_CHECK_SETRLIMIT_ENUM -AC_DEFUN([ACE_CHECK_SETRLIMIT_ENUM], -[ -if test "$ac_cv_func_setrlimit" = yes; then - AC_MSG_CHECKING([if setrlimit() takes an enum as 1st argument]) - AC_EGREP_HEADER([setrlimit.*\(.*[^,]*enum], sys/resource.h, - [ - cat > conftest.$ac_ext < -EOF - -dnl Here we attempt to determine the type of the first argument of -dnl getrusage from its prototype. It should either be an int or an -dnl enum. If it is an enum, determine the enum type. - ace_setrlimit_enum=`eval "$ac_cpp conftest.$ac_ext" | \ - $EGREP '[[ ]]+setrlimit.*\(.*[[^,]]*enum' | \ - sed -e 's/^.*setrlimit.*(.*enum//' -e 's/[[^ ]]*,.*$//'` - - ace_setrlimit_enum="enum $ace_setrlimit_enum" - - AC_MSG_RESULT([$ace_setrlimit_enum]) - -if test -n "$ace_setrlimit_enum"; then - AC_DEFINE_UNQUOTED([ACE_HAS_RLIMIT_RESOURCE_ENUM], [$ace_setrlimit_enum]) -fi - - rm -rf conftest* - -dnl Do not remove this parenthesis --> ) -dnl It's only purpose to keep Emacs from getting confused about mismatched -dnl parentheses. - ], - [ - AC_MSG_RESULT([no]) - ]) - -fi dnl test "$ac_cv_func_setrlimit" = yes -]) - -dnl Check if getrusage() takes an enum as 1st argument -dnl Usage: ACE_CHECK_GETRUSAGE_ENUM -AC_DEFUN([ACE_CHECK_GETRUSAGE_ENUM], -[ -if test "$ac_cv_func_getrusage" = yes; then - AC_MSG_CHECKING([if getrusage() takes an enum as 1st argument]) - AC_EGREP_HEADER([getrusage.*\(.*[^,]*enum], [sys/resource.h], - [ - cat > conftest.$ac_ext < -EOF - -dnl Here we attempt to determine the type of the first argument of -dnl getrusage from its prototype. It should either be an int or an -dnl enum. If it is an enum, determine the enum type. - ace_rusage_who=`eval "$ac_cpp conftest.$ac_ext" | \ - $EGREP '[[ ]]+getrusage.*\(.*[[^,]]*enum' | \ - sed -e 's/^.*getrusage.*(.*enum//' -e 's/[[^ ]]*,.*$//'` - - ace_rusage_who="enum $ace_rusage_who" - - AC_MSG_RESULT([$ace_rusage_who]) - -if test -n "$ace_rusage_who"; then - AC_DEFINE_UNQUOTED([ACE_HAS_RUSAGE_WHO_ENUM], [$ace_rusage_who]) -fi - - rm -rf conftest* - -dnl Do not remove this parenthesis --> ) -dnl It's only purpose to keep Emacs from getting confused about mismatched -dnl parentheses. - ], - [ - AC_MSG_RESULT([no]) - ]) - -fi dnl test "$ac_cv_func_getrusage" = yes -]) - - -dnl Check for 64 bit llseek() or lseek64() -dnl Usage: ACE_CHECK_LSEEK64 -AC_DEFUN([ACE_CHECK_LSEEK64], -[ - AH_TEMPLATE([ACE_HAS_LSEEK64], - [Platform supports lseek64(). This should not be defined if - ACE_HAS_LLSEEK is defined.]) - - AH_TEMPLATE([ACE_LACKS_LSEEK64_PROTOTYPE], - [Platform/compiler lacks the lseek64() prototype. This should not - be defined if ACE_LACKS_LLSEEK_PROTOTYPE is defined.]) - - AH_TEMPLATE([ACE_HAS_LLSEEK], - [Platform supports llseek(). This should not be defined if - ACE_HAS_LSEEK64 is defined.]) - - AH_TEMPLATE([ACE_LACKS_LLSEEK_PROTOTYPE], - [Platform/compiler lacks the llseek() prototype. This should not - be defined if ACE_LACKS_LSEEK64_PROTOTYPE is defined.]) - - AC_CHECK_FUNC([lseek64], - [ - AC_DEFINE([ACE_HAS_LSEEK64]) - - dnl Check for 64 bit offset type in the lseek64() prototype, if it - dnl exists. - dnl ACE_CHECK_OFF64_T([lseek64]) - - dnl Check if _LARGEFILE64_SOURCE macro is needed to make the - dnl lseek64() prototype visible, or if the prototype itself is missing. - ACE_CACHE_CHECK([for lseek64 prototype], - [ace_cv_lib_has_lseek64_prototype], - [ - ace_save_CPPFLAGS="$CPPFLAGS" - ace_no_largefile64="-U_LARGEFILE64_SOURCE" - CPPFLAGS="$CPPFLAGS $ace_no_largefile64" - AC_EGREP_HEADER([[^_]+lseek64], [unistd.h], - [ - ace_cv_lib_has_lseek64_prototype=yes - ], - [ - ace_cv_lib_has_lseek64_prototype=no - ]) - dnl Reset the compiler flags - CPPFLAGS="$ace_save_CPPFLAGS" - ],[],[AC_DEFINE([ACE_LACKS_LSEEK64_PROTOTYPE])]) - ], - [ - AC_CHECK_FUNC([llseek], - [ - AC_DEFINE([ACE_HAS_LLSEEK]) - dnl Check if _LARGEFILE64_SOURCE macro is needed to make the - dnl llseek() prototype visible, or if the prototype itself is - dnl missing. - - dnl Check for 64 bit offset type in the llseek() prototype, if - dnl it exists. - dnl ACE_CHECK_OFF64_T([llseek]) - - ACE_CACHE_CHECK([for llseek prototype], - [ace_cv_lib_has_llseek_prototype], - [ - ace_save_CPPFLAGS="$CPPFLAGS" - ace_no_largefile64="-U_LARGEFILE64_SOURCE" - CPPFLAGS="$CPPFLAGS $ace_no_largefile64" - AC_EGREP_HEADER([[^_]+llseek],[unistd.h], - [ - ace_cv_lib_has_llseek_prototype=no - ], - [ - ace_cv_lib_has_llseek_prototype=yes - ],) - dnl Reset the compiler flags - CPPFLAGS="$ace_save_CPPFLAGS" - ],[],[AC_DEFINE([ACE_LACKS_LLSEEK_PROTOTYPE])]) - - - ],) - ]) -]) - -dnl Check what the 64 bit offset type is by checking what the offset -dnl argument for llseek()/lseek64() is. -dnl Usage: ACE_CHECK_LOFF_64(LSEEK64-FUNC) -AC_DEFUN([ACE_CHECK_OFF64_T], -[ - AC_MSG_CHECKING([for 64 bit offset type]) - AC_EGREP_HEADER([[ ]+$1.*\(.*],[unistd.h], - [ - cat > conftest.$ac_ext < /* needed for lseek64()/llseek() prototype */ -#endif -EOF - -dnl Here we attempt to determine the type of the second argument of -dnl lseek64()/llseek() from its prototype. - ace_off64_t=`eval "$ac_cpp conftest.$ac_ext" | \ - $EGREP '[[ ]]+lseek64.*\(.*' | \ - sed -e 's/^.*(.*,[[ ]]*\(.*\) .*,.*$/\1/'` - - -if test -n "$ace_off64_t"; then - AC_MSG_RESULT([$ace_off64_t]) - AC_DEFINE_UNQUOTED([ACE_LOFF_T_TYPEDEF], [$ace_off64_t]) -fi - - rm -rf conftest* - -dnl Do not remove this parenthesis --> ) -dnl It's only purpose is to keep Emacs from getting confused about -dnl mismatched parentheses. - ], - [ - AC_MSG_RESULT([no]) - ]) -]) - -dnl checks for structures - -dnl checks for system services diff --git a/dep/ACE_wrappers/m4/aio.m4 b/dep/ACE_wrappers/m4/aio.m4 deleted file mode 100644 index e91c63d3f..000000000 --- a/dep/ACE_wrappers/m4/aio.m4 +++ /dev/null @@ -1,625 +0,0 @@ -dnl ------------------------------------------------------------------------- -dnl $Id: aio.m4 85317 2009-05-11 15:21:04Z schmidt $ -dnl -dnl aio.m4 -dnl -dnl ACE M4 include file which contains ACE specific M4 macros -dnl that determine availablility of POSIX asynchronous IO -dnl support. -dnl -dnl ------------------------------------------------------------------------- - -dnl Copyright (C) 1998, 1999, 2002 Ossama Othman -dnl -dnl All Rights Reserved -dnl -dnl This library is free software; you can redistribute it and/or -dnl modify it under the current ACE distribution terms. -dnl -dnl This library is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -dnl Asynchronous IO check -dnl Use this macro to determine if asynchronous IO is working on a -dnl given platform. -dnl Usage: ACE_CHECK_ASYNCH_IO -AC_DEFUN([ACE_CHECK_ASYNCH_IO], -[ - AC_REQUIRE([AC_PROG_CXX]) - AC_REQUIRE([AC_PROG_CXXCPP]) - AC_LANG([C++]) - AC_REQUIRE([AC_LANG]) - AC_REQUIRE([ACE_CHECK_THREADS]) - - dnl In case a library with the asynchronous libraries is found but - dnl the asynchronous IO support is not functional then save a copy - dnl of the list of libraries before the asynch IO function library - dnl is added to the list so that we can revert the list to its - dnl pre-asynch-IO check state. - ace_save_LIBS="$LIBS" - - dnl Asynchronous IO library check - dnl Some platforms, such as Solaris puts aio_read in -lposix4, for example. - dnl In some cases, the thread library must be linked to in addition to the - dnl real-time support library. As such, make sure these checks are done - dnl after the thread library checks. - AC_SEARCH_LIBS([aio_read], [aio rt posix4], - [ace_has_aio_funcs=yes], [ace_has_aio_funcs=no]) - -if test "$ace_has_aio_funcs" = yes; then - ACE_CACHE_CHECK([for working asynchronous IO], - [ace_cv_feature_aio_calls], - [ - AC_RUN_IFELSE([AC_LANG_SOURCE([[ -#ifndef ACE_LACKS_UNISTD_H -#include -#endif -#include -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include -#include -#include -#include -#include - -#include - -class Test_Aio -{ -public: - Test_Aio (void); - // Default constructor. - - int init (void); - // Initting the output file and the buffer. - - int do_aio (void); - // Doing the testing stuff. - - ~Test_Aio (void); - // Destructor. -private: - int out_fd_; - // Output file descriptor. - - struct aiocb *aiocb_write_; - // For writing to the file. - - struct aiocb *aiocb_read_; - // Reading stuff from the file. - - char *buffer_write_; - // The buffer to be written to the out_fd. - - char *buffer_read_; - // The buffer to be read back from the file. -}; - -Test_Aio::Test_Aio (void) - : out_fd_ (0), - aiocb_write_ (new struct aiocb), - aiocb_read_ (new struct aiocb), - buffer_write_ (0), - buffer_read_ (0) -{ -} - -Test_Aio::~Test_Aio (void) -{ - if (close (this->out_fd_) != 0) - perror ("close"); - - delete aiocb_write_; - delete aiocb_read_; - delete [] buffer_write_; - delete [] buffer_read_; -} - -// Init the output file and init the buffer. -int -Test_Aio::init (void) -{ - // Open the output file. - this->out_fd_ = open ("test_aio.log", O_RDWR | O_CREAT | O_TRUNC, 0600); - if (this->out_fd_ == -1) - { - perror ("open"); - return -1; - } - - unlink ("test_aio.log"); // Unlink now so we don't have to do so later. - - const char message[] = "Welcome to the world of AIO... AIO Rules !!!"; - - // Init the buffers. - this->buffer_write_ = new char [sizeof (message) + 1]; - strcpy (this->buffer_write_, message); - this->buffer_read_ = new char [sizeof (message) + 1]; - - return 0; -} - -// Set the necessary things for the AIO stuff. -// Write the buffer asynchly.hmm Disable signals. -// Go on aio_suspend. Wait for completion. -// Print out the result. -int -Test_Aio::do_aio (void) -{ - // = Write to the file. - - // Setup AIOCB. - this->aiocb_write_->aio_fildes = this->out_fd_; - this->aiocb_write_->aio_offset = 0; - this->aiocb_write_->aio_buf = this->buffer_write_; - this->aiocb_write_->aio_nbytes = strlen (this->buffer_write_); - this->aiocb_write_->aio_reqprio = 0; - this->aiocb_write_->aio_sigevent.sigev_notify = SIGEV_NONE; - //this->this->aiocb_.aio_sigevent.sigev_signo = SIGRTMAX; - this->aiocb_write_->aio_sigevent.sigev_value.sival_ptr = - (void *) this->aiocb_write_; - - // Fire off the aio write. - if (aio_write (this->aiocb_write_) != 0) - { - perror ("aio_write"); - return -1; - } - - // = Read from that file. - - // Setup AIOCB. - this->aiocb_read_->aio_fildes = this->out_fd_; - this->aiocb_read_->aio_offset = 0; - this->aiocb_read_->aio_buf = this->buffer_read_; - this->aiocb_read_->aio_nbytes = strlen (this->buffer_write_); - this->aiocb_read_->aio_reqprio = 0; - this->aiocb_read_->aio_sigevent.sigev_notify = SIGEV_NONE; - //this->this->aiocb_.aio_sigevent.sigev_signo = SIGRTMAX; - this->aiocb_read_->aio_sigevent.sigev_value.sival_ptr = - (void *) this->aiocb_read_; - - // Fire off the aio write. If it doesnt get queued, carry on to get - // the completion for the first one. - if (aio_read (this->aiocb_read_) < 0) - perror ("aio_read"); - - // Wait for the completion on aio_suspend. - struct aiocb *list_aiocb[2]; - list_aiocb [0] = this->aiocb_write_; - list_aiocb [1] = this->aiocb_read_; - - // Do suspend till all the aiocbs in the list are done. - int done = 0; - while (!done) - { - if (aio_suspend (list_aiocb, 2, 0) != 0) - { - perror ("aio_suspend"); - return -1; - } - - // Analyze return and error values. - if (list_aiocb [0] != 0 && aio_error (list_aiocb [0]) != EINPROGRESS) - { - if (aio_return (list_aiocb [0]) == -1) - { - perror ("aio_return"); - return -1; - } - else - { - // Successful. Store the pointer somewhere and make the - // entry NULL in the list. - // @@ no need ----> this->aiocb_write_ = list_aiocb [0]; - list_aiocb [0] = 0; - } - } - - if (list_aiocb [1] != 0 && aio_error (list_aiocb [1]) != EINPROGRESS) - { - if (aio_return (list_aiocb [1]) == -1) - { - perror ("aio_return"); - return -1; - } - else - { - // Successful. Store the pointer somewhere and make the - // entry NULL in the list. - // @@ no need ----> this->aiocb_read_ = list_aiocb [1]; - list_aiocb [1] = 0; - } - } - - // Is it done? - if ((list_aiocb [0] == 0) && (list_aiocb [1] == 0)) - done = 1; - } - - return 0; -} - -int -main () -{ - Test_Aio test_aio; - - if (test_aio.init () != 0) - { - //printf ("AIOCB test failed:\n" - // "ACE_POSIX_AIOCB_PROACTOR may not work in this platform\n"); - return -1; - } - - if (test_aio.do_aio () != 0) - { - //printf ("AIOCB test failed:\n" - // "ACE_POSIX_AIOCB_PROACTOR may not work in this platform\n"); - return -1; - } - //printf ("AIOCB test successful:\n" - // "ACE_POSIX_AIOCB_PROACTOR should work in this platform\n"); - return 0; -} - ]])],[ - ace_cv_feature_aio_calls=yes - ],[ - ace_cv_feature_aio_calls=no - ],[ - dnl Asynchronous IO test for cross-compiled platforms - dnl This test is weaker than the above run-time tests but it will - dnl have to do. - AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([[ -#include - ]], - [[ - aiocb* aiocb_ptr (void); - ]])], - [ - ace_cv_feature_aio_calls=yes - ], - [ - ace_cv_feature_aio_calls=no - ]) - ]) - ],[AC_DEFINE([ACE_HAS_AIO_CALLS])],[LIBS="$ace_save_LIBS"]) -fi dnl test "$ace_has_aio_funcs" = yes - - -if test "$ace_cv_feature_aio_calls" = yes; then - ACE_CACHE_CHECK([for working POSIX realtime signals], - [ace_cv_feature_posix_rt_sigs], - [ - dnl Create a file for the test program to read. - cat > test_aiosig.txt < -} -#ifndef ACE_LACKS_UNISTD_H -#include -#endif -#include -#ifndef ACE_LACKS_SYS_TYPES_H -# include -#endif -#include -#include -#include -#include -#include - -#include - -#include - -#ifdef __cplusplus -extern "C" -#endif -void null_handler (int /* signal_number */, - siginfo_t * /* info */, - void * /* context */); - -int file_handle = -1; -char mb1[BUFSIZ + 1]; -char mb2[BUFSIZ + 1]; -aiocb aiocb1, aiocb2; -sigset_t completion_signal; - -// Function prototypes. -int setup_signal_delivery (void); -int issue_aio_calls (void); -int query_aio_completions (void); -int test_aio_calls (void); -int setup_signal_handler (void); -int setup_signal_handler (int signal_number); - -int -setup_signal_delivery (void) -{ - // Make the sigset_t consisting of the completion signal. - if (sigemptyset (&completion_signal) == -1) - { - perror ("Error:Couldn't init the RT completion signal set\n"); - return -1; - } - - if (sigaddset (&completion_signal, SIGRTMIN) == -1) - { - perror ("Error:Couldn't init the RT completion signal set\n"); - return -1; - } - - // Mask them. - if (pthread_sigmask (SIG_BLOCK, &completion_signal, 0) == -1) - { - perror ("Error:Couldn't make the RT completion signals\n"); - return -1; - } - - return setup_signal_handler (SIGRTMIN); -} - -int -issue_aio_calls (void) -{ - // Setup AIOCB. - aiocb1.aio_fildes = file_handle; - aiocb1.aio_offset = 0; - aiocb1.aio_buf = mb1; - aiocb1.aio_nbytes = BUFSIZ; - aiocb1.aio_reqprio = 0; - aiocb1.aio_sigevent.sigev_notify = SIGEV_SIGNAL; - aiocb1.aio_sigevent.sigev_signo = SIGRTMIN; - aiocb1.aio_sigevent.sigev_value.sival_ptr = (void *) &aiocb1; - - // Fire off the aio write. - if (aio_read (&aiocb1) == -1) - { - // Queueing failed. - perror ("Error:Asynch_Read_Stream: aio_read queueing failed\n"); - return -1; - } - - // Setup AIOCB. - aiocb2.aio_fildes = file_handle; - aiocb2.aio_offset = BUFSIZ + 1; - aiocb2.aio_buf = mb2; - aiocb2.aio_nbytes = BUFSIZ; - aiocb2.aio_reqprio = 0; - aiocb2.aio_sigevent.sigev_notify = SIGEV_SIGNAL; - aiocb2.aio_sigevent.sigev_signo = SIGRTMIN; - aiocb2.aio_sigevent.sigev_value.sival_ptr = (void *) &aiocb2; - - // Fire off the aio write. - if (aio_read (&aiocb2) == -1) - { - // Queueing failed. - perror ("Error:Asynch_Read_Stream: aio_read queueing failed\n"); - return -1; - } - return 0; -} - -int -query_aio_completions (void) -{ - int result = 0; - size_t number_of_completions = 0; - for (number_of_completions = 0; - number_of_completions < 2; - number_of_completions++) - { - // Wait for amount of time. - // @@ Assigning to tv_sec. - timespec timeout; - timeout.tv_sec = 5; - timeout.tv_nsec = 0; - - // To get back the signal info. - siginfo_t sig_info; - - // Await the RT completion signal. - int sig_return = sigtimedwait (&completion_signal, - &sig_info, - &timeout); - - // Error case. - // If failure is coz of timeout, then return *0* but set - // errno appropriately. This is what the WinNT proactor - // does. - if (sig_return == -1) - { - perror ("Error:Error waiting for RT completion signals\n"); - return -1; - } - - // RT completion signals returned. - if (sig_return != SIGRTMIN) - { - //printf ("Unexpected signal (%d) has been received while waiting for RT Completion Signals\n", - // sig_return); - return -1; - } - - // @@ Debugging. - //printf ("Sig number found in the sig_info block : %d\n", - // sig_info.si_signo); - - // Is the signo returned consistent? - if (sig_info.si_signo != sig_return) - { - //printf ("Inconsistent signal number (%d) in the signal info block\n", - // sig_info.si_signo); - return -1; - } - - // @@ Debugging. - //printf ("Signal code for this signal delivery : %d\n", - // sig_info.si_code); - - // Is the signal code an aio completion one? - if ((sig_info.si_code != SI_ASYNCIO) && - (sig_info.si_code != SI_QUEUE)) - { - //printf ("Unexpected signal code (%d) returned on completion querying\n", - // sig_info.si_code); - return -1; - } - - // Retrive the aiocb. - aiocb* aiocb_ptr = (aiocb *) sig_info.si_value.sival_ptr; - - // Analyze error and return values. Return values are - // actually 's associated with the call - // corresponding to aiocb_ptr. - int error_code = aio_error (aiocb_ptr); - if (error_code == -1) - { - perror ("Error:Invalid control block was sent to for compleion querying\n"); - return -1; - } - - if (error_code != 0) - { - // Error occurred in the call. Return the errno - // corresponding to that call. - //printf ("Error:An AIO call has failed:Error code = %d\n", - // error_code); - return -1; - } - - // No error occured in the AIO operation. - int nbytes = aio_return (aiocb_ptr); - if (nbytes == -1) - { - perror ("Error:Invalid control block was sent to \n"); - return -1; - } - - //if (number_of_completions == 0) - // Print the buffer. - //printf ("Number of bytes transferred : %d\n The buffer : %s \n", - // nbytes, - // mb1); - //else - // Print the buffer. - //printf ("Number of bytes transferred : %d\n The buffer : %s \n", - // nbytes, - // mb2); - } - return 0; -} - -int -test_aio_calls (void) -{ - // Set up the input file. - // Open file (in SEQUENTIAL_SCAN mode) - file_handle = open ("test_aiosig.txt", O_RDONLY); - - if (file_handle == -1) - { - perror ("open"); - return -1; - } - - unlink ("test_aiosig.txt"); // Unlink now so we don't have to do so later. - - if (setup_signal_delivery () < 0) - return -1; - - if (issue_aio_calls () < 0) - return -1; - - if (query_aio_completions () < 0) - return -1; - - if (close (file_handle) != 0) - { - perror ("close"); - return -1; - } - - return 0; -} - -int -setup_signal_handler (int signal_number) -{ - // Setting up the handler(!) for these signals. - struct sigaction reaction; - sigemptyset (&reaction.sa_mask); // Nothing else to mask. - reaction.sa_flags = SA_SIGINFO; // Realtime flag. -#if defined (SA_SIGACTION) - // Lynx says, it is better to set this bit to be portable. - reaction.sa_flags &= SA_SIGACTION; -#endif /* SA_SIGACTION */ - reaction.sa_sigaction = null_handler; // Null handler. - int sigaction_return = sigaction (SIGRTMIN, - &reaction, - 0); - if (sigaction_return == -1) - { - perror ("Error:Proactor couldn't do sigaction for the RT SIGNAL"); - return -1; - } - - return 0; -} - -void -null_handler (int /* signal_number */, - siginfo_t * /* info */, - void * /* context */) -{ -} - -int -main () -{ - if (test_aio_calls () == 0) - { - // printf ("RT SIG test successful:\n" - // "ACE_POSIX_SIG_PROACTOR should work in this platform\n"); - return 0; - } - - //printf ("RT SIG test failed:\n" - // "ACE_POSIX_SIG_PROACTOR may not work in this platform\n"); - return -1; - -} - ]])], - [ - ace_cv_feature_posix_rt_sigs=yes - ], - [ - ace_cv_feature_posix_rt_sigs=no - ], - [ - dnl Don't bother doing anything for cross-compiling here - dnl since the basic aio run-time test will prevent this - dnl rt sig run-time test from ever running when cross-compiling. - dnl We just put something in here to prevent autoconf - dnl from complaining. - ace_just_a_place_holder=ignoreme - ]) - ],[AC_DEFINE([ACE_HAS_POSIX_REALTIME_SIGNALS])],[]) -fi dnl test "$ace_cv_feature_aio_calls" = yes - -]) diff --git a/dep/ACE_wrappers/m4/compiler.m4 b/dep/ACE_wrappers/m4/compiler.m4 deleted file mode 100644 index 549d29cc9..000000000 --- a/dep/ACE_wrappers/m4/compiler.m4 +++ /dev/null @@ -1,426 +0,0 @@ -dnl ------------------------------------------------------------------------- -dnl $Id: compiler.m4 80826 2008-03-04 14:51:23Z wotte $ -dnl -dnl compiler.m4 -dnl -dnl ACE M4 include file which contains ACE specific M4 macros -dnl that set/determine compiler configurations for ACE. -dnl -dnl ------------------------------------------------------------------------- - -dnl Copyright (C) 1998, 1999, 2003 Ossama Othman -dnl -dnl All Rights Reserved -dnl -dnl This library is free software; you can redistribute it and/or -dnl modify it under the current ACE distribution terms. -dnl -dnl This library is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - - -dnl Macros to set flags for a given compiler on a given platform. -dnl The flags set here are generally only useful for _KNOWN_ compilers. - -dnl ACE_SET_COMPILER_FLAGS -dnl Usage: ACE_SET_COMPILER_FLAGS -AC_DEFUN([ACE_SET_COMPILER_FLAGS], -[ -dnl AC_BEFORE([$0], [AC_PROG_LIBTOOL]) - - dnl Make sure we know what C++ compiler and preprocessor we have! - AC_REQUIRE([AC_PROG_CXX]) - AC_REQUIRE([AC_PROG_CXXCPP]) - AC_LANG([C++]) - AC_REQUIRE([AC_LANG]) - - AC_REQUIRE([ACE_COMPILATION_OPTIONS]) - - ACE_GXX_MAJOR_VERSION=0 - - if test "$GXX" = yes; then - ACE_GXX_MAJOR_VERSION=`$CXX -dumpversion | sed -e 's/\..*$//'` - -dnl @todo Clean up / consolidate these conditionals - - if test "$ACE_GXX_MAJOR_VERSION -ge 3"; then - if test "$ace_user_enable_exceptions" != yes; then - ACE_CXXFLAGS="$ACE_CXXFLAGS -fcheck-new" - fi - else - case `$CXX --version` in - 2.9*) - if test "$ace_user_enable_exceptions" != yes; then - ACE_CXXFLAGS="$ACE_CXXFLAGS -fcheck-new" - fi - ;; - esac - fi - fi - - dnl Compiler Flag Key - dnl CXXFLAGS - C++ flags to use during the configure script run and - dnl during ACE compilation. The user may set this prior to - dnl running the configure script. As such, it is important - dnl not to replace the existing value of CXXFLAGS; rather - dnl one should only add to it. - dnl ACE_CXXFLAGS - dnl - General C++ flags the configure script should set before - dnl CXXFLAGS to allow the user override them. - dnl DCXXFLAGS - C++ debugging flags - dnl OCXXFLAGS - C++ optimization flags - dnl CPPFLAGS - C++ preprocessor flags - dnl ACE_CPPFLAGS - dnl - General C++ preprocessor flags the configure - dnl script should set before CPPFLAGS to allow the - dnl user to override them. - dnl WERROR - Compiler flag that converts warnings to errors - - if test "$GXX" = yes; then - WERROR="-Werror" - fi - - case "$host" in - *aix*) - dnl In case anything here or in the config depends on OS - dnl version number, grab it here and pass it all to the - dnl compiler as well. - AIX_VERS=`uname -v`0`uname -r` - ACE_CPPFLAGS="$ACE_CPPFLAGS -DACE_AIX_VERS=$AIX_VERS" - - case "$CXX" in - xlC*) - dnl AIX compilers need to have RTTI enabled and ACE requires it. - CXXFLAGS="$CXXFLAGS -qrtti=all" - TEMPLATE_OPTION='-qnotempinc -qnotemplateregistry -DACE_TEMPLATES_REQUIRE_SOURCE' - ACE_CXXFLAGS="$ACE_CXXFLAGS $TEMPLATE_OPTION" - DCXXFLAGS="-g -qcheck=nobounds:div:null" - OCXXFLAGS="-qlibansi -qarch=com" - CPPFLAGS="$CPPFLAGS" - # Use -qhalt=i to cause the compiler to signal failure on any - # diagnostic when converting warnings to errors. This helps to - # find that #pragma once is invalid, even though xlC only triggers - # an informational message, not a warning. - WERROR="-qhalt=i" - ;; - *) - if test "$GXX" = yes; then - ACE_CXXFLAGS="-mcpu=common" - fi - ;; - esac - ;; - *chorus*) - ;; - *cray*) - ;; - *dgux*) - case "$CXX" in - ec++) - CXXFLAGS="$CXXFLAGS" - ACE_CXXFLAGS="$ACE_CXXFLAGS -relax -v -eh" - DCXXFLAGS="-g" - OCXXFLAGS="" - ;; - *) - if test "$GXX" = yes; then - ACE_CXXFLAGS="$ACE_CXXFLAGS" - fi - ;; - esac - ;; - *freebsd*) - ;; - *hpux*) - # In case anything here or in the config depends on OS - # version number, grab it here and pass it all to the - # compiler as well. - OSVERS=`uname -r | $AWK 'BEGIN{FS=".";OFS="";}{print [$][2],[$][3]}' -` - ACE_CPPFLAGS="$ACE_CPPFLAGS -DHPUX_VERS=$OSVERS" - - # HP-UX OS version specific settings. - case "$host" in - *hpux11*) -# aCC's "-mt" flag detected by the configure script should already set -# the appropriate preprocessor, compiler and linker flags. -# if test "$ace_user_enable_threads" = yes; then -# # Prefer kernel threads over CMA (user) threads. -# ACE_CPPFLAGS="$ACE_CPPFLAGS -D_POSIX_C_SOURCE=199506L" -# fi - ;; - esac - - # HP-UX compiler specific settings. - case "$CXX" in - CC) - CXXFLAGS="$CXXFLAGS -pta -ti,/bin/true -tr,/bin/true" - ACE_CXXFLAGS="$ACE_CXXFLAGS -Aa -z +a1" - DCXXFLAGS="-g" - OCXXFLAGS="" - ;; - aCC) - CFLAGS = "${CFLAGS:-} -Ae" - # -AA has been available since aC++ x.27 (2001?) - if using a - # compiler without this support, must --enable_stdcpplib=no. - if test "$ace_user_enable_stdcpplib" = yes; then - CXXFLAGS="$CXXFLAGS -AA" - fi - # Warning 930 is spurious when new(std::nothrow) is - # used. Reported to HP as support call 3201224717. (Steve - # Huston, 23-Nov-2002) - # - # Suppress warning 302 ((...) parameter list is a - # non-portable feature) - # - # Additionally, on HP-UX 10.20, suppress 495 to shut up the - # warnings from the system header files. 667 is also - # suppressed, but the compiler still tells you there was a - # future error, but at least you can pick out any real errors - # by quickly scanning the output. 829 is suppressed because - # the system headers have offending string literals assigned - # to char *. - ACE_CXXFLAGS="$ACE_CXXFLAGS +W302,495,667,829,908,930" - DCXXFLAGS="-g" - OCXXFLAGS="-O" - # Warning 67: Invalid pragma name -- needed for - # ACE_LACKS_PRAGMA_ONCE - WERROR="+We67 +p +We" - - # If exception support is explicitly disabled, tell the - # compiler. This is not recommended since the run-time - # library can throw exceptions. - if test "$ace_user_enable_exceptions" != yes; then - ACE_CXXFLAGS="$ACE_CXXFLAGS +noeh" - fi - ;; - *) - if test "$GXX" = yes; then - ACE_CXXFLAGS="$ACE_CXXFLAGS -w" - fi - ;; - esac - ;; - *irix5*) - case "$CXX" in - CC) - CXXFLAGS="$CXXFLAGS -ptused -prelink +pp -woff 3203,3209,3161,3262,3665" - ACE_CXXFLAGS="$ACE_CXXFLAGS " - DCXXFLAGS="-g" - OCXXFLAGS="" - ;; - *) - ;; - esac - ;; - *irix6*) - case "$CXX" in - CC) - CPPFLAGS="$CPPFLAGS -D_SGI_MP_SOURCE" - CXXFLAGS="$CXXFLAGS -exceptions -ptnone -no_prelink -Wl,-woff,15 -Wl,-woff,84 -Wl,-woff,85 -Wl,-woff,133" - ACE_CXXFLAGS="$ACE_CXXFLAGS " - DCXXFLAGS="-g" - OCXXFLAGS="-O -OPT:Olimit=0" - ;; - esac - ;; - *linux*) - case "$CXX" in - *icpc|*icc) - CXXFLAGS="$CXXFLAGS -i-dynamic -w1" - ACE_CXXFLAGS="$ACE_CXXFLAGS" - DCXXFLAGS="$DCXXFLAGS" - WERROR="-Werror -wr -Wall" - ;; - *) - if test "$GXX" = yes; then - CXXFLAGS="$CXXFLAGS" - ACE_CXXFLAGS="$ACE_CXXFLAGS" - DCXXFLAGS="$DCXXFLAGS" - OCXXFLAGS="-O3" - fi - ;; - esac - ;; - *lynxos*) - ;; - *m88k*) - ;; - *mvs*) - ;; - *netbsd*) - ;; - *osf*) - ;; - *psos*) - ;; - *sco*) - ;; - *sunos4*) - ;; - *solaris2*) - case "$CXX" in - CC) - WERROR="-xwe" - - if test "$ace_user_enable_exceptions" != yes; then - CXXFLAGS="$CXXFLAGS -noex" - fi - - dnl Some flags only work with Sun C++ 4.2. ACE requires RTTI. - if (CC -V 2>&1 | $EGREP 'Compilers 4\.2' > /dev/null); then - CXXFLAGS="$CXXFLAGS -features=castop -features=rtti" - fi - - dnl Sun C++ 5.0 weirdness - if (CC -V 2>&1 | $EGREP 'Compilers 5\.0' > /dev/null); then - if test "$ace_user_enable_stdcpplib" = yes; then - CXXFLAGS="$CXXFLAGS -library=Cstd" - else - CXXFLAGS="$CXXFLAGS -library=iostream,no%Cstd" - AC_DEFINE([ACE_USES_OLD_IOSTREAMS]) - fi - - dnl Inlining appears to cause link problems with early - dnl releases of CC 5.0. - AC_DEFINE([ACE_LACKS_INLINE_FUNCTIONS]) - - if test "$ace_user_enable_exceptions" != yes; then - dnl See /opt/SUNWspro_5.0/SC5.0/include/CC/stdcomp.h. - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_RWSTD_NO_EXCEPTIONS" - fi - - CXXFLAGS="$CXXFLAGS -instances=explicit" - fi - - CXXFLAGS="$CXXFLAGS" - ACE_CXXFLAGS="$ACE_CXXFLAGS" - DCXXFLAGS="$DCXXFLAGS -g" - OCXXFLAGS="$OCXXFLAGS -O" - ;; - esac - ;; - *tandem*) - ;; - *unixware*) - ;; - *vxworks*) - ;; - *) - CXXFLAGS="$CXXFLAGS" - ACE_CXXFLAGS="$ACE_CXXFLAGS" - DCXXFLAGS="-g" - OCXXFLAGS="-O" - ;; - esac - - dnl Warning flags - if test "$GCC" = yes; then - ACE_CFLAGS="$ACE_CFLAGS -W -Wall -Wpointer-arith" - fi - if test "$GXX" = yes; then - ACE_CXXFLAGS="$ACE_CXXFLAGS -W -Wall -Wpointer-arith" - fi - - dnl Symbol Visibility flags - dnl Take advantage of visibility attributes when using g++ 4.0 or - dnl better. - if test "$GXX" = yes; then - dnl As of this writing, there are symbol visibility issues on some - dnl platforms. The --disable-symbol-visibility option is intended - dnl to allow users to explicitly disable symbol visibility support - dnl in the cases where it does not work (or does not work properly), - dnl but the feature test selects it anyway. - - AC_ARG_ENABLE([symbol-visibility], - AS_HELP_STRING([--enable-symbol-visibility], - [build with gcc symbol visibility attributes [[[no]]]]), - [ - case "${enableval}" in - yes) - ace_user_enable_symbol_visibility=yes - ;; - no) - ace_user_enable_symbol_visibility=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-symbol-visibility]) - ;; - esac - ], - [ - ace_user_enable_symbol_visibility=no - ]) - - if test "$ace_user_enable_symbol_visibility" = yes; then - ACE_CHECK_CXXFLAGS([fvisibility=hidden], - [ - ACE_CXXFLAGS="$ACE_CXXFLAGS -fvisibility=hidden" - AC_DEFINE([ACE_HAS_CUSTOM_EXPORT_MACROS]) - AC_DEFINE([ACE_Proper_Export_Flag], - [__attribute__ ((visibility("default")))]) - ]) - ACE_CHECK_CXXFLAGS([fvisibility-inlines-hidden], - [ - ACE_CXXFLAGS="$ACE_CXXFLAGS -fvisibility-inlines-hidden" - ]) - fi - fi - - dnl Additional flags - if test "$GXX" = yes; then - case `$CXX --version` in - 2.9*) - if test "$ace_user_enable_exceptions" != yes; then - ACE_CXXFLAGS="$ACE_CXXFLAGS -fcheck-new" - fi - ;; - esac - -dnl if test "$ace_user_enable_repo" = no; then -dnl ACE_CXXFLAGS="$ACE_CXXFLAGS -fno-implicit-templates" -dnl fi - fi -]) - -AC_DEFUN([ACE_CHECK_CFLAGS], -[ -AS_VAR_PUSHDEF([VAR],'ace_cv_cflag_$1') -AC_MSG_CHECKING([whether $CC supports -$1]) -AC_LANG_SAVE -AC_LANG([C]) -ace_save_CFLAGS=$CFLAGS -CFLAGS="$CFLAGS -$1" -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[return 0])],[VAR=yes],[VAR=no]) -CFLAGS=$ace_save_CFLAGS -AC_LANG_RESTORE -if test $VAR = yes; then - AC_MSG_RESULT([yes]) - $2 -else - AC_MSG_RESULT([no]) - $3 -fi -AS_VAR_POPDEF([VAR]) -]) - -AC_DEFUN([ACE_CHECK_CXXFLAGS], -[ -AS_VAR_PUSHDEF([VAR],'ace_cv_cxxflag_$1') -AC_MSG_CHECKING([whether $CXX supports -$1]) -AC_LANG_SAVE -AC_LANG([C++]) -ace_save_CXXFLAGS=$CXXFLAGS -CXXFLAGS="$CXXFLAGS -$1" -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[return 0])],[VAR=yes],[VAR=no]) -CXXFLAGS=$ace_save_CXXFLAGS -AC_LANG_RESTORE -if test $VAR = yes; then - AC_MSG_RESULT([yes]) - $2 -else - AC_MSG_RESULT([no]) - $3 -fi -AS_VAR_POPDEF([VAR]) -]) diff --git a/dep/ACE_wrappers/m4/config_h.m4 b/dep/ACE_wrappers/m4/config_h.m4 deleted file mode 100644 index f50ad591a..000000000 --- a/dep/ACE_wrappers/m4/config_h.m4 +++ /dev/null @@ -1,889 +0,0 @@ -dnl ------------------------------------------------------------------------- -dnl $Id: config_h.m4 92183 2010-10-08 08:44:15Z olli $ -dnl -dnl config_h.m4 -dnl -dnl ACE M4 include file which contains preprocessor constants -dnl and other items to be place in the generated ace/config.h -dnl header. -dnl -dnl Please try to avoid adding new autoheader templates to this -dnl file, as they get included in both ACE and TAO config.h.in -dnl files, even though the cooresponding feature tests are only -dnl included in the ACE configure script. Put the autoheader -dnl template in a AC_DEFUN used for the feature test, or use the -dnl AC_DEFINE macro's third argument. -dnl -dnl ------------------------------------------------------------------------- - -dnl Copyright (C) 2002, 2003 Ossama Othman -dnl -dnl All Rights Reserved -dnl -dnl This library is free software; you can redistribute it and/or -dnl modify it under the current ACE distribution terms. -dnl -dnl This library is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -dnl Prepare the ace/config.h.in template. -dnl -dnl Usage: ACE_PREP_CONFIG_HEADER -AC_DEFUN([ACE_PREP_CONFIG_HEADER], -[ -dnl Text to be placed at the top of the `ace/config.h' header. -AH_TOP([ -#ifndef ACE_CONFIG_H -#define ACE_CONFIG_H - -// ACE configuration header file - - -]) - -dnl Text to be placed at the bottom of the `ace/config.h' header. -dnl -dnl @note Do not remove the "] [" between the words "Local Variables". -dnl The generated Emacs "Local Variables" block will not contain -dnl those characters. They are merely interpreted by M4 as two -dnl concatenated text blocks. This is necessary to prevent -dnl Emacs from inadvertently applying the "Local Variables" -dnl block being placed in the generated "config.h" header to -dnl this Autoconf/M4 file. -AH_BOTTOM([ - - -#endif /* ACE_CONFIG_H */ - - -// Local] [Variables: -// mode:C++ -// End: - -]) - - -dnl ACE currently doesn't use these; however the configure script does -AH_TEMPLATE([ACE_LACKS_UNBUFFERED_STREAMBUF],[]) -AH_TEMPLATE([ACE_HAS_STDCPP_STL_INCLUDES],[]) - -AH_TEMPLATE([ACE_HAS_NEW_NO_H],[Platform provides new style C++ header]) -AH_TEMPLATE([ACE_HAS_STDEXCEPT_NO_H],[Platform provides C++ header]) - -dnl Deprecated! (or soon to be?) -AH_TEMPLATE([ACE_HAS_OSF1_GETTIMEOFDAY], -[timezone* 2nd parameter & no prototype]) -AH_TEMPLATE([ACE_HAS_LYNXOS4_SIGNALS],[]) -AH_TEMPLATE([ACE_HAS_TANDEM_SIGNALS],[]) - -AH_TEMPLATE([PTHREAD_STACK_MIN],[]) - -dnl ///////////////////// OSSAMA'S NEW STUFF ////////////////// */ -dnl THIS STUFF WILL REPLACE THE ABOVE OLDER STUFF AND/OR WILL BE MERGED INTO IT - - -dnl /* results from checks for programs */ -dnl /* results from checks for libraries */ -dnl /* results from checks for header files */ -dnl /* results from checks for typedefs */ -dnl /* results from checks for structures */ -dnl /* results from checks for variables */ -dnl /* results from checks for compiler characteristics */ -dnl /* results from checks for library functions */ -dnl /* results from checks for system services */ - -dnl AIX specific configuration parameters -AH_TEMPLATE([AIX],[Configure for use on AIX]) - -dnl FreeBSD specific configuration parameters -dnl Nothing yet - -dnl HP/UX specific configuration parameters -AH_TEMPLATE([HPUX],[Configure for use on HP-UX]) -AH_TEMPLATE([HPUX_10],[Configure for use on HP-UX 10]) -AH_TEMPLATE([HPUX_11],[Configure for use on HP-UX 11]) - -dnl Irix specific configuration parameters -AH_TEMPLATE([IRIX5],[Configure for use on Irix 5]) -AH_TEMPLATE([IRIX6],[Configure for use on Irix 6]) -AH_TEMPLATE([ACE_HAS_IRIX62_THREADS], -[Platform supports the very odd IRIX 6.2 threads...]) - -dnl Linux specific configuration parameters -dnl Nothing yet */ - -dnl LynxOS specific configuration parameters -AH_TEMPLATE([__NO_INCLUDE_WARN__],[]) - -dnl MVS specific configuration parameters -dnl Nothing yet - -dnl NetBSD specific configuration parameters -dnl Nothing yet - -dnl OSF/1 and Digital Unix specific configuration parameters -AH_TEMPLATE([DEC_CXX],[]) -AH_TEMPLATE([DIGITAL_UNIX],[Configure for use on Digital Unix]) - -dnl SCO specific configuration parameters -AH_TEMPLATE([SCO],[]) - -dnl Tandem specific configuration parameters -dnl Nothing yet - -dnl UnixWare specific configuration parameters -AH_TEMPLATE([UNIXWARE],[Configure for use on UnixWare]) -AH_TEMPLATE([UNIXWARE_2_0],[]) -AH_TEMPLATE([UNIXWARE_2_1],[]) -AH_TEMPLATE([UNIXWARE_7_1],[]) -AH_TEMPLATE([__IOCTL_VERSIONED__],[]) - -dnl VXWorks specific configuration parameters -AH_TEMPLATE([VXWORKS],[Configure for use on VxWorks]) - -dnl Win32 specific configuration parameters -AH_TEMPLATE([ACE_WIN32],[Configure for use on Win32]) - -AH_TEMPLATE([ACE_DISABLE_DEBUG_DLL_CHECK], -[Define this if you don't want debug version ACE search for debug version -DLLs first before looking for the DLL names specified.]) - -AH_TEMPLATE([ACE_HAS_WIN32_STRUCTURAL_EXCEPTIONS], -[Platform/compiler supports Win32 structural exceptions.]) - -AH_TEMPLATE([ACE_WSOCK_VERSION], -[A parameter list indicating the version of WinSock (e.g., "1, 1" is -version 1.1).]) - -AH_TEMPLATE([ACE_HAS_MFC],[Platform supports Microsoft Foundation Classes]) - -AH_TEMPLATE([ACE_USES_STATIC_MFC], -[When linking MFC as a static library is desired]) - -AH_TEMPLATE([ACE_HAS_CANCEL_IO], -[Platform supports the Win32 CancelIO() function. (WinNT 4.0 and beyond)]) - -AH_TEMPLATE([ACE_HAS_WIN32_TRYLOCK], -[The Win32 platform support TryEnterCriticalSection(). (WinNT 4.0 and -beyond)]) - -AH_TEMPLATE([ACE_HAS_WINSOCK2],[The Win32 platform supports WinSock 2.0.]) - -AH_TEMPLATE([ACE_USE_SELECT_REACTOR_FOR_REACTOR_IMPL], -[For Win32: Use Select_Reactor as default implementation of Reactor - instead of WFMO_Reactor.]) - -AH_TEMPLATE([ACE_HAS_DLL],[Build ACE using the frigging PC DLL nonsense...]) - -AH_TEMPLATE([ACE_HAS_STRICT],[Use the STRICT compilation mode on Win32.]) - -AH_TEMPLATE([CYGWIN32], [GNU Win32 environement]) - - -dnl ACE internals -AH_TEMPLATE([ACE_DEFAULT_BASE_ADDR],[]) -AH_TEMPLATE([ACE_DEFAULT_BASE_ADDRL],[]) -AH_TEMPLATE([ACE_DEFAULT_CLOSE_ALL_HANDLES],[]) -AH_TEMPLATE([ACE_DEFAULT_MAX_SOCKET_BUFSIZ],[]) -AH_TEMPLATE([ACE_DEFAULT_SELECT_REACTOR_SIZE],[The default number of handles the select()-based reactor should handle]) -AH_TEMPLATE([ACE_MALLOC_ALIGN],[]) -AH_TEMPLATE([ACE_MAP_PRIVATE],[]) -AH_TEMPLATE([ACE_THR_PRI_FIFO_DEF],[]) -AH_TEMPLATE([ACE_TIMER_SKEW],[]) -AH_TEMPLATE([IP_ADD_MEMBERSHIP],[]) -AH_TEMPLATE([IP_DROP_MEMBERSHIP],[]) - -AH_TEMPLATE([ACE_LOFF_T_TYPEDEF],[typedef for ACE_LOFF_T]) - -AH_TEMPLATE([__ACE_INLINE__],[Enable ACE inlining]) - -AH_TEMPLATE([ACE_NO_INLINE],[Explicitly disable ACE inlining]) - -AH_TEMPLATE([ACE_COMPILE_TIMEPROBES],[Enable ACE_Timeprobes]) - -AH_TEMPLATE([ACE_HAS_GNU_REPO], -[Enable use of GNU template repositories. GNU C++ w/repo patch -and EGCS only]) - -AH_TEMPLATE([ACE_HAS_AIO_CALLS],[Platform supports Asynchronous IO calls]) - -AH_TEMPLATE([ACE_HAS_ALT_CUSERID], -[Use ACE's alternate cuserid() implementation since a system -cuserid() may not exist, or it is not desirable to use it. The -implementation requires ACE_LACKS_PWD_FUNCTIONS to be undefined and -that the geteuid() system call exists.]) - -AH_TEMPLATE([ACE_DEFAULT_THREAD_KEYS], -[Number of TSS keys, with ACE_HAS_TSS_EMULATION _only_. Defaults to 64.]) - -AH_TEMPLATE([ACE_THREADS_DONT_INHERIT_LOG_MSG], -[Specify this if you don't want threads to inherit parent thread's -ACE_Log_Msg properties.]) - -AH_TEMPLATE([ACE_HAS_PRIOCNTL],[OS has priocntl (2)]) - -AH_TEMPLATE([ACE_HAS_RLIMIT_RESOURCE_ENUM], -[Platform has enum instead of int for first argument to ::{get,set}rlimit (). -The value of this macro is the enum definition, e.g., -enum __rlimit_resource, for Linux glibc 2.0.]) - -AH_TEMPLATE([ACE_HAS_RUSAGE_WHO_ENUM], -[Platform has enum instead of int for first argument to ::getrusage (). The -value of this macro is the enum definition, e.g., enum __rusage_who, for -Linux glibc 2.0.]) - -AH_TEMPLATE([ACE_HAS_STDARG_THR_DEST], -[Platform has void (*)(...) prototype for pthread_key_create() -destructor (e.g., LynxOS).]) - -AH_TEMPLATE([ACE_HAS_4_4BSD_SENDMSG_RECVMSG], -[Platform has BSD 4.4 sendmsg()/recvmsg() APIs.]) - -AH_TEMPLATE([ACE_HAS_P_READ_WRITE], -[Platform has pread() and pwrite() support.]) - -AH_TEMPLATE([ACE_HAS_AIX_HI_RES_TIMER], -[Platform has AIX4 ::read_real_time()]) - -AH_TEMPLATE([ACE_HAS_ALLOCA],[Compiler/platform supports alloca().]) - -AH_TEMPLATE([ACE_HAS_ALLOCA_H],[Compiler/platform has ]) - -AH_TEMPLATE([ACE_HAS_AUTOMATIC_INIT_FINI], -[Compiler/platform correctly calls init()/fini() for shared libraries.]) - -AH_TEMPLATE([ACE_HAS_WORKING_EXPLICIT_TEMPLATE_DESTRUCTOR], -[Compiler handles explicit calling of template destructor correctly.]) - -AH_TEMPLATE([ACE_EXPLICIT_TEMPLATE_DESTRUCTOR_TAKES_ARGS], -[Compiler requires template args when explicitly calling template destructor.]) - -AH_TEMPLATE([ACE_HAS_BROKEN_MAP_FAILED], -[Platform doesn't cast MAP_FAILED to a (void *).]) - -AH_TEMPLATE([ACE_HAS_BROKEN_DGRAM_SENDV], -[Platform sendv() does not work properly with datagrams, i.e. it -fails when the iovec size is IOV_MAX.]) - -AH_TEMPLATE([ACE_HAS_BROKEN_MSG_H], -[Platform headers don't support prototypes]) - -AH_TEMPLATE([ACE_HAS_BROKEN_MMAP_H], -[HP/UX does not wrap the mmap(2) header files with extern "C".]) - -AH_TEMPLATE([ACE_HAS_BROKEN_POSIX_TIME], -[Platform defines struct timespec in ]) - -AH_TEMPLATE([ACE_HAS_BROKEN_RANDR], -[OS/compiler's header files are inconsistent with libC definition of -rand_r().]) - -AH_TEMPLATE([ACE_HAS_BROKEN_T_ERROR], -[Compiler/platform has the wrong prototype for t_error(), i.e., -t_error(char *) rather than t_error(const char *).]) - -AH_TEMPLATE([ACE_HAS_BSTRING], -[Platform has (which contains bzero() prototype)]) - -AH_TEMPLATE([ACE_HAS_CHARPTR_DL], -[OS/platform uses char * for dlopen/dlsym args, rather than const char *.]) - -AH_TEMPLATE([ACE_HAS_CHARPTR_SOCKOPT], -[OS/platform uses char * for sockopt, rather than const char *]) - -AH_TEMPLATE([ACE_HAS_CONFLICTING_XTI_MACROS], -[OS header files have some problems with XTI (HP/UX 11).]) - -AH_TEMPLATE([ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES], -[Prototypes for both signal() and struct sigaction are consistent.]) - -AH_TEMPLATE([ACE_HAS_CONST_CHAR_SWAB], -[Platform has swab(const char*, char*, ssize_t) variant.]) - -AH_TEMPLATE([ACE_HAS_CPLUSPLUS_HEADERS], -[Compiler/platform has correctly prototyped header files.]) - -AH_TEMPLATE([ACE_HAS_DIRENT], -[Platform supports operations on directories via struct dirent, -readdir_r, etc.]) - -AH_TEMPLATE([ACE_HAS_EXCEPTIONS],[Compiler supports C++ exception handling.]) - -AH_TEMPLATE([ACE_HAS_FL],[Platform has Fast-Light (FL) toolkit installed.]) - -AH_TEMPLATE([ACE_HAS_GETPAGESIZE], -[Platform supports getpagesize() call (otherwise, ACE_PAGE_SIZE must -be defined, except on Win32).]) - -AH_TEMPLATE([ACE_HAS_INTRINSIC_INTERLOCKED], -[Platform supports the intrinsic interlocked optimizations.]) - -AH_TEMPLATE([ACE_HAS_GPERF], -[The GPERF utility is compiled for this platform]) - -AH_TEMPLATE([ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT], -[Optimize ACE_Handle_Set::count_bits for select() operations (common case)]) - -AH_TEMPLATE([ACE_HAS_INLINED_OSCALLS],[ -Inline all the static class OS methods to remove call overhead -Note: This gets defined by OS.h if __ACE_INLINE__ is defined]) - -AH_TEMPLATE([ACE_HAS_IP_MULTICAST],[Platform supports IP multicast]) - -AH_TEMPLATE([ACE_HAS_IPV6],[Platform supports IPv6]) -AH_TEMPLATE([ACE_USES_IPV4_IPV6_MIGRATION], -[Enable IPv6 support on platforms that don't have IPv6 turned on by default]) - -AH_TEMPLATE([ACE_HAS_NEW_NOTHROW], -[Compiler supports new (std::nothrow)]) - -AH_TEMPLATE([ACE_HAS_NONCONST_SWAB], -[Platform has swab(char*, char*, ssize_t) variant.]) - -AH_TEMPLATE([ACE_HAS_NONSTATIC_OBJECT_MANAGER], -[Causes the ACE_Object_Manager instance to be created in - main (int, char *[]), instead of as a static (global) instance.]) - -AH_TEMPLATE([ACE_HAS_THR_KEYDELETE], -[Platform supports thr_keydelete (e.g,. UNIXWARE)]) - -AH_TEMPLATE([ACE_HAS_THR_MINSTACK], -[Platform calls thr_minstack() rather than thr_min_stack() (e.g., Tandem).]) - -AH_TEMPLATE([ACE_HAS_LIMITED_RUSAGE_T], -[The rusage_t structure has only two fields.]) - -AH_TEMPLATE([ACE_HAS_BIG_FD_SET], -[Compiler/platform has "big" fd_set, i.e. large number of bits set - in fd_set passed back from select().]) - -AH_TEMPLATE([ACE_HAS_LONG_MAP_FAILED], -[Platform defines MAP_FAILED as a long constant.]) - -AH_TEMPLATE([ACE_HAS_MALLOC_STATS], [Enabled malloc statistics collection.]) - -AH_TEMPLATE([ACE_USES_OLD_IOSTREAMS], -[Some files, such as ace/streams.h, want to include new style C++ - stream headers. These headers are iomanip, ios, iostream, istream, - ostream, fstream and streambuf. If _all_ of these headers aren't - available, then assume that only iostream.h and fstream.h are - available.]) - -AH_TEMPLATE([ACE_HAS_MSG],[Platform supports recvmsg and sendmsg]) - -AH_TEMPLATE([ACE_HAS_MT_SAFE_MKTIME], -[Platform supports MT safe mktime() call (do any of them?)]) - -AH_TEMPLATE([ACE_HAS_MT_SAFE_SOCKETS], -[Sockets may be called in multi-threaded programs]) - -AH_TEMPLATE([ACE_HAS_NONCONST_GETBY], -[Platform uses non-const char * in calls to gethostbyaddr, - gethostbyname, getservbyname]) - -AH_TEMPLATE([ACE_HAS_NONCONST_MSGSND], -[Platform has a non-const parameter to msgsnd() (e.g., SCO).]) - -AH_TEMPLATE([ACE_HAS_NONCONST_READV], -[Platform omits const qualifier from iovec parameter in readv() prototype.]) - -AH_TEMPLATE([ACE_HAS_NONCONST_SELECT_TIMEVAL], -[Platform's select() uses non-const timeval* (only found on Linux - right now)]) - -AH_TEMPLATE([ACE_HAS_NONCONST_SENDMSG], -[Platform omits const qualifier from msghdr parameter in sendmsg() - prototype.]) - -AH_TEMPLATE([ACE_HAS_NONCONST_SETRLIMIT], -[Platform omits const qualifier from rlimit parameter in setrlimit() - prototype.]) - -AH_TEMPLATE([ACE_HAS_NONCONST_WRITEV], -[Platform omits const qualifier from iovec parameter in writev() prototype.]) - -AH_TEMPLATE([ACE_HAS_OLD_MALLOC], -[Compiler/platform uses old malloc()/free() prototypes (ugh)]) - -AH_TEMPLATE([ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R], -[Uses ctime_r & asctime_r with only two parameters vs. three.]) - -AH_TEMPLATE([ACE_HAS_ONLY_SCHED_OTHER], -[Platform, e.g., Solaris 2.5, only supports SCHED_OTHER POSIX - scheduling policy.]) - -AH_TEMPLATE([ACE_HAS_OPTIMIZED_MESSAGE_QUEUE], -[Use the semaphore implementation of ACE_Message_Queue rather than - the emulated condition variable (NT and VxWorks).]) - -AH_TEMPLATE([ACE_HAS_OSF_TIMOD_H], -[Platform supports the OSF TLI timod STREAMS module]) - -AH_TEMPLATE([ACE_HAS_POLL],[Platform contains ]) - -AH_TEMPLATE([ACE_HAS_POSITION_INDEPENDENT_POINTERS], -[Platform supports "position-independent" features provided by - ACE_Based_Pointer<>.]) - -AH_TEMPLATE([ACE_HAS_POSIX_GETPWNAM_R], -[Platform supports POSIX getpwnam_r() function]) - -AH_TEMPLATE([ACE_HAS_POSIX_NONBLOCK], -[Platform supports POSIX O_NONBLOCK semantics]) - -AH_TEMPLATE([ACE_HAS_POSIX_REALTIME_SIGNALS], -[Platform supports POSIX realtime signals]) - -AH_TEMPLATE([ACE_HAS_POSIX_SEM], -[Platform supports POSIX real-time semaphores (e.g., VxWorks and - Solaris)]) - -AH_TEMPLATE([ACE_HAS_POSIX_SEM_TIMEOUT], -[Platform supports timed POSIX semaphore acquisitions (sem_timedwait()).]) - -AH_TEMPLATE([ACE_DISABLE_POSIX_SEM_TIMEOUT_EMULATION], -[Do not include emulation for timed semaphore acquisitions.]) - -AH_TEMPLATE([ACE_HAS_POSIX_TIME], -[Platform supports the POSIX struct timespec type]) - -AH_TEMPLATE([ACE_HAS_PROC_FS], -[Platform supports the /proc file system and defines tid_t - in ]) - -AH_TEMPLATE([ACE_HAS_PTHREADS_UNIX98_EXT], -[Platform has the UNIX98 extensions to Pthreads (rwlocks)]) - -AH_TEMPLATE([ACE_HAS_PTHREAD_PROCESS_ENUM], -[pthread.h declares an enum with PTHREAD_PROCESS_PRIVATE and - PTHREAD_PROCESS_SHARED values]) - -AH_TEMPLATE([ACE_HAS_PURIFY],[Purify'ing. Defined on command line.]) - -AH_TEMPLATE([ACE_HAS_QUANTIFY],[Quantify'ing. Defined on command line.]) - -AH_TEMPLATE([ACE_HAS_RECURSIVE_MUTEXES], -[Mutexes are inherently recursive (e.g., Win32) ]) - -AH_TEMPLATE([ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS], -[Platform will recurse infinitely on thread exits from TSS cleanup - routines (e.g., AIX)]) - -AH_TEMPLATE([ACE_HAS_SIGACTION_CONSTP2], -[Platform's sigaction() function takes const sigaction* as 2nd parameter]) - -AH_TEMPLATE([ACE_HAS_REENTRANT_FUNCTIONS], -[Platform supports reentrant functions (i.e., all the POSIX *_r - functions).]) - -AH_TEMPLATE([ACE_HAS_X86_STAT_MACROS], -[Solaris for intel uses macros for fstat() and stat(), these are - wrappers for _fxstat() and _xstat() uses of the macros. Causes - compile and runtime problems.]) - -AH_TEMPLATE([ACE_HAS_XPG4_MULTIBYTE_CHAR], -[Platform has support for multi-byte character support compliant - with the XPG4 Worldwide Portability Interface wide-character - classification.]) - -AH_TEMPLATE([ACE_LACKS_AUTO_MMAP_REPLACEMENT], -[No system support for replacing any previous mappings.]) - -AH_TEMPLATE([ACE_LACKS_AUTO_PTR], -[Platform lacks support for the standard C++ auto_ptr class]) - -AH_TEMPLATE([ACE_AUTO_PTR_LACKS_RESET], -[Compiler/platform standard C++ auto_ptr implementation lacks - reset() method]) - -AH_TEMPLATE([ACE_LACKS_READDIR_R],[Platform lacks readdir_r()]) - -AH_TEMPLATE([ACE_LACKS_INLINE_FUNCTIONS], -[Platform can't handle "inline" keyword correctly.]) - -AH_TEMPLATE([ACE_LACKS_IOSTREAM_TOTALLY], -[iostreams are not supported adequately on the given platform.]) - -AH_TEMPLATE([ACE_LACKS_NETDB_REENTRANT_FUNCTIONS], -[Platform does not support reentrant netdb functions - (getprotobyname_r, getprotobynumber_r, gethostbyaddr_r, - gethostbyname_r, getservbyname_r).]) - -AH_TEMPLATE([ACE_HAS_REGEX], -[Platform supports the POSIX regular expression library]) - -AH_TEMPLATE([ACE_HAS_SEMUN], -[Compiler/platform defines a union semun for SysV shared memory ]) - -AH_TEMPLATE([ACE_HAS_SHM_OPEN],[Platform has shm_open()]) -AH_TEMPLATE([ACE_SHM_OPEN_REQUIRES_ONE_SLASH],[shm_open() requires a leading slash in name]) - -AH_TEMPLATE([ACE_HAS_SIGISMEMBER_BUG], -[Platform has bug with sigismember() (HP/UX 11).]) - -AH_TEMPLATE([ACE_HAS_SIGNAL_OBJECT_AND_WAIT], -[Platform supports the Win32 SignalObjectAndWait() function (WinNT - 4.0 and beyond).]) - -AH_TEMPLATE([ACE_HAS_SIG_C_FUNC], -[Compiler requires extern "C" functions for signals.]) - -AH_TEMPLATE([ACE_HAS_SIZET_SOCKET_LEN], -[OS/compiler uses size_t * rather than int * for socket lengths]) - -AH_TEMPLATE([ACE_HAS_SOCKADDR_MSG_NAME], -[Platform requires (struct sockaddr *) for msg_name field of - struct msghdr.]) - -AH_TEMPLATE([ACE_HAS_THR_YIELD],[Platform has thr_yield()]) - -AH_TEMPLATE([ACE_HAS_STANDARD_CPP_LIBRARY], -[Platform/compiler supports Standard C++ Library]) - -AH_TEMPLATE([ACE_HAS_STREAMS],[Platform supports STREAMS]) - -AH_TEMPLATE([ACE_HAS_STREAM_PIPES],[Platform supports STREAM pipes]) - -AH_TEMPLATE([ACE_LACKS_STROPTS_H],[Platform lacks stropts.h]) - -AH_TEMPLATE([ACE_HAS_STRING_CLASS], -[Platform/Compiler supports a String class (e.g., GNU or Win32).]) - -AH_TEMPLATE([ACE_HAS_STRINGS], -[Platform has (which contains bzero() prototype)]) - -AH_TEMPLATE([ACE_HAS_STRUCT_NETDB_DATA], -[Compiler/platform has strange hostent API for socket *_r() calls]) - -AH_TEMPLATE([ACE_HAS_SVR4_DYNAMIC_LINKING], -[Compiler/platform supports SVR4 dynamic linking semantics]) - -AH_TEMPLATE([ACE_HAS_SVR4_GETTIMEOFDAY], -[Compiler/platform supports SVR4 gettimeofday() prototype but - doesn't have a prototype]) - -AH_TEMPLATE([ACE_HAS_SVR4_SIGNAL_T], -[Compiler/platform supports SVR4 signal typedef.]) - -AH_TEMPLATE([ACE_HAS_SVR4_TLI], -[Compiler/platform supports SVR4 TLI (in particular, T_GETNAME stuff).]) - -AH_TEMPLATE([ACE_HAS_SYSV_IPC], -[Platform supports System V IPC (most versions of UNIX, but not Win32)]) - -AH_TEMPLATE([ACE_HAS_SYS_SIGLIST], -[Compiler/platform supports _sys_siglist array]) - -AH_TEMPLATE([ACE_HAS_SYS_XTI_H],[Platform provides header]) - -AH_TEMPLATE([ACE_HAS_TEMPLATE_TYPEDEFS], -[Compiler implements templates that support typedefs inside of - classes used as formal arguments to a template class.]) - -AH_TEMPLATE([ACE_HAS_THREADS],[Platform supports threads.]) - -AH_TEMPLATE([ACE_HAS_THREAD_SAFE_ACCEPT], -[Platform allows multiple threads to call accept() on the same port - (e.g., WinNT).]) - -AH_TEMPLATE([ACE_HAS_THREAD_SELF], -[Platform has thread_self() rather than pthread_self() (e.g., - DCETHREADS and AIX)]) - -AH_TEMPLATE([ACE_HAS_THREAD_SPECIFIC_STORAGE], -[Compiler/platform has thread-specific storage]) - -AH_TEMPLATE([ACE_HAS_THR_C_DEST], -[The pthread_keycreate() routine *must* take extern C functions.]) - -AH_TEMPLATE([ACE_HAS_THR_C_FUNC], -[The pthread_create() routine *must* take extern C functions.]) - -AH_TEMPLATE([ACE_HAS_TIMEZONE_GETTIMEOFDAY], -[Platform/compiler supports timezone * as second parameter to - gettimeofday() and has a prototype.]) - -AH_TEMPLATE([ACE_HAS_TIMOD_H], -[Platform supports TLI timod STREAMS module]) - -AH_TEMPLATE([ACE_HAS_TIUSER_H],[Platform supports TLI tiuser header]) - -AH_TEMPLATE([ACE_HAS_TIUSER_H_BROKEN_EXTERN_C], -[Platform does not protect with extern "C"]) - -AH_TEMPLATE([ACE_HAS_TLI], -[Platform supports TLI. Also see ACE_TLI_TCP_DEVICE.]) - -AH_TEMPLATE([ACE_HAS_TLI_PROTOTYPES], -[Platform provides TLI function prototypes]) - -AH_TEMPLATE([ACE_HAS_TSS_EMULATION], -[ACE provides TSS emulation. See also ACE_DEFAULT_THREAD_KEYS.]) - -AH_TEMPLATE([ACE_HAS_UCONTEXT_T], -[Platform supports ucontext_t (which is used in the extended signal API).]) - -AH_TEMPLATE([ACE_HAS_UNIXWARE_SVR4_SIGNAL_T], -[Has inconsistent SVR4 signal stuff, but not the same as the other - platforms]) - -AH_TEMPLATE([ACE_HAS_WCHAR],[Platform/compiler supports wchar_t]) -AH_TEMPLATE([ACE_USES_WCHAR],[ACE is built to use wide characters internally]) - -AH_TEMPLATE([ACE_HAS_VERBOSE_NOTSUP], -[Prints out console message in ACE_NOTSUP. Useful for tracking down - origin of ACE_NOTSUP.]) - -AH_TEMPLATE([ACE_HAS_VOIDPTR_GETTIMEOFDAY], -[Platform/compiler supports void * as second parameter to - gettimeofday() and has a prototype.]) - -AH_TEMPLATE([ACE_HAS_VOIDPTR_MMAP],[Platform requires void * for mmap().]) - -AH_TEMPLATE([ACE_HAS_VOIDPTR_SOCKOPT], -[OS/compiler uses void * arg 4 setsockopt() rather than const char *]) - -AH_TEMPLATE([ACE_HAS_XLI],[Platform has the XLI version of TLI]) - -AH_TEMPLATE([ACE_HAS_XT],[Platform has Xt Intrinsics Toolkit]) - -AH_TEMPLATE([ACE_LACKS_MOTIF], -[Platform does not have Motif X toolkit available]) - -AH_TEMPLATE([ACE_HAS_XTI], -[Platform has XTI (X/Open-standardized superset of TLI). Implies - ACE_HAS_TLI but uses a different header file.]) - -AH_TEMPLATE([ACE_LACKS_ACE_IOSTREAM], -[Platform can not build ace/IOStream{,_T}.cpp. This does not - necessarily mean that the platform does not support iostreams.]) - -AH_TEMPLATE([ACE_LACKS_ACE_CODECS], -[Do not compile support for the "Codecs" ACE features.]) - -AH_TEMPLATE([ACE_LACKS_ACE_OTHER], -[Do not compile support for the "other" ACE features, such as CORBA - handling, name services, and QoS.]) - -AH_TEMPLATE([ACE_LACKS_ACE_SVCCONF], -[Do not compile support for the ACE Service Configurator.]) - -AH_TEMPLATE([ACE_LACKS_ACE_TOKEN], -[Do not compile support for the ACE Token feature.]) - -AH_TEMPLATE([ACE_LACKS_ACE_UUID], -[Do not compile support for the ACE UUID feature.]) - -AH_TEMPLATE([ACE_LACKS_COND_T], -[Platform lacks condition variables (e.g., Win32 and VxWorks)]) - -AH_TEMPLATE([ACE_LACKS_COND_TIMEDWAIT_RESET], -[pthread_cond_timedwait does *not* reset the time argument when - the lock is acquired.]) - -AH_TEMPLATE([ACE_LACKS_CONST_STRBUF_PTR], -[Platform uses struct strbuf * rather than const struct strbuf * - (e.g., HP/UX 10.x)]) - -AH_TEMPLATE([ACE_LACKS_CONST_TIMESPEC_PTR], -[Platform forgot const in cond_timewait (e.g., HP/UX).]) - -AH_TEMPLATE([ACE_LACKS_EXEC], -[Platform lacks the exec() family of system calls (e.g., Win32, - VxWorks, Chorus)]) - -AH_TEMPLATE([ACE_LACKS_GETSERVBYNAME], -[Platforms lacks getservbyname() (e.g., VxWorks and Chorus).]) - -AH_TEMPLATE([ACE_LACKS_IOSTREAM_FX], -[iostream header does not declare ipfx (), opfx (), etc.]) - -AH_TEMPLATE([ACE_LACKS_LINEBUFFERED_STREAMBUF], -[Platform lacks streambuf "linebuffered ()".]) - -AH_TEMPLATE([ACE_LACKS_LONGLONG_T], -[Compiler/platform does not support the unsigned long long datatype.]) - -AH_TEMPLATE([ACE_LACKS_U_LONGLONG_T], -[Platform does not have u_longlong_t typedef]) - -AH_TEMPLATE([ACE_LACKS_MMAP], -[The platform doesn't have mmap(2) (e.g., SCO UNIX).]) - -AH_TEMPLATE([ACE_LACKS_MODE_MASKS], -[Platform/compiler doesn't have open() mode masks.]) - -AH_TEMPLATE([ACE_LACKS_MSG_ACCRIGHTS], -[Platform defines ACE_HAS_MSG, but lacks msg_accrights{len}.]) - -AH_TEMPLATE([ACE_LACKS_NULL_PTHREAD_STATUS], -[OS requires non-null status pointer for pthread_join ()]) - -AH_TEMPLATE([ACE_HAS_MUTEX_TIMEOUTS], -[Compiler supports timed mutex acquisitions (e.g. pthread_mutex_timedlock()).]) - -AH_TEMPLATE([ACE_LACKS_NAMED_POSIX_SEM], -[Platform lacks named POSIX semaphores (e.g., Chorus)]) - -AH_TEMPLATE([ACE_LACKS_RLIMIT], -[Platform/compiler lacks {get,set}rlimit() function (e.g., VxWorks, - Chorus, and SCO UNIX)]) - -AH_TEMPLATE([ACE_LACKS_PLACEMENT_OPERATOR_DELETE], -[Compiler doesn't support placement operator delete(void *, void *).]) - -AH_TEMPLATE([ACE_LACKS_PRAGMA_ONCE], -[Compiler complains about use of obsolete "pragma once"]) - -AH_TEMPLATE([ACE_LACKS_PTHREAD_CANCEL],[Platform lacks pthread_cancel()]) - -AH_TEMPLATE([ACE_LACKS_PWD_FUNCTIONS], -[Platform lacks, getpwnam(), etc.]) - -AH_TEMPLATE([ACE_LACKS_PWD_REENTRANT_FUNCTIONS], -[Platform lacks getpwnam_r() methods (e.g., SGI 6.2).]) - -AH_TEMPLATE([ACE_LACKS_SETDETACH], -[Platform lacks pthread_attr_setdetachstate() (e.g., HP/UX 10.x)]) - -AH_TEMPLATE([ACE_LACKS_SETSCHED], -[Platform lacks pthread_attr_setsched() (e.g. MVS)]) - -AH_TEMPLATE([ACE_LACKS_SIGNED_CHAR], -[Platform lacks "signed char" type (broken!)]) - -AH_TEMPLATE([ACE_LACKS_SYS_MSG_H], -[Platform lacks sys/msg.h (e.g., Chorus and VxWorks)]) - -AH_TEMPLATE([ACE_LACKS_SYSV_MSQ_PROTOS], -[Platform lacks SYSV message queue prototypes]) - -AH_TEMPLATE([ACE_LACKS_SYSV_SHMEM], -[Platform lacks System V shared memory (e.g., Win32 and VxWorks)]) - -AH_TEMPLATE([ACE_LACKS_SOCKET_BUFSIZ], -[Platform doesn't support SO_SNDBUF/SO_RCVBUF (used in TAO)]) - -AH_TEMPLATE([ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES], -[Compiler doesn't support static data member templates]) - -AH_TEMPLATE([ACE_LACKS_T_ERRNO],[Header files lack t_errno for TLI]) - -AH_TEMPLATE([ACE_LACKS_TCP_NODELAY],[OS does not support TCP_NODELAY]) - -AH_TEMPLATE([ACE_LACKS_THREAD_PROCESS_SCOPING], -[Platform lacks pthread_attr_setscope()]) - -AH_TEMPLATE([ACE_LACKS_TIMESPEC_T], -[Platform does not define timepec_t as a typedef for struct timespec.]) - -AH_TEMPLATE([ACE_LACKS_STRTOK_R_PROTOTYPE], -[Platform/compiler lacks the strtok_r() prototype]) - -AH_TEMPLATE([ACE_LACKS_CHAR_RIGHT_SHIFTS], -[Compiler does not have any istream operator>> for chars, u_chars, or - signed chars.]) - -AH_TEMPLATE([ACE_LACKS_CHAR_STAR_RIGHT_SHIFTS], -[Compiler does not have operator>> (istream &, u_char *) or - operator>> (istream &, signed char *)]) - -AH_TEMPLATE([ACE_LACKS_NUMERIC_LIMITS],[Platform lacks std::numeric_limits<>]) - -AH_TEMPLATE([ACE_LACKS_UNIX_DOMAIN_SOCKETS], -[ACE platform has no UNIX domain sockets]) - -AH_TEMPLATE([ACE_LACKS_UNIX_SIGNALS], -[Platform lacks full signal support (e.g., Win32 and Chorus).]) - -AH_TEMPLATE([ACE_MAIN], -[Renames "main (int, char *[])", for platforms such as g++/VxWorks - that don't allow main. Requires the use of - ACE_HAS_NONSTATIC_OBJECT_MANAGER.]) - -AH_TEMPLATE([ACE_MT_SAFE],[Compile using multi-thread libraries]) - -AH_TEMPLATE([ACE_NDEBUG],[Turns off debugging features]) - -AH_TEMPLATE([ACE_NEEDS_DEV_IO_CONVERSION], -[Necessary with some compilers to pass ACE_TTY_IO as parameter to - DEV_Connector.]) - -AH_TEMPLATE([ACE_NEEDS_HUGE_THREAD_STACKSIZE], -[Required by platforms with small default stacks.]) - -AH_TEMPLATE([ACE_NEEDS_LWP_PRIO_SET], -[OS has LWPs, and when the priority of a bound thread is set, then - the LWP priority must be set also.]) - -AH_TEMPLATE([ACE_NEEDS_SCHED_H], -[Platform needs to #include to get thread scheduling defs.]) - -AH_TEMPLATE([ACE_NEW_THROWS_EXCEPTIONS], -[Compiler's 'new' throws exception on failure (ANSI C++ behavior).]) - -AH_TEMPLATE([ACE_NLOGGING], -[Turns off the LM_DEBUG and LM_ERROR logging macros...]) - -AH_TEMPLATE([ACE_NTRACE],[Turns off the tracing feature.]) - -AH_TEMPLATE([ACE_PAGE_SIZE], -[Defines the page size of the system (not used on Win32 or with - ACE_HAS_GETPAGESIZE).]) - -AH_TEMPLATE([ACE_REDEFINES_XTI_FUNCTIONS], -[Platform redefines the t_... names (UnixWare)]) - -AH_TEMPLATE([ACE_TEMPLATES_REQUIRE_PRAGMA], -[Compiler's template mechanism must use a pragma. This is used for - AIX's C++ compiler.]) - -AH_TEMPLATE([ACE_TEMPLATES_REQUIRE_SOURCE], -[Compiler's template mechanim must see source code (i.e., .cpp - files). This is used for GNU G++.]) - -AH_TEMPLATE([ACE_HAS_ICMP_SUPPORT], -[Defined to 1 if platform supports ICMP over raw sockets]) - -AH_TEMPLATE([ACE_NEEDS_FUNC_DEFINITIONS], -[Compiler requires a definition for a "hidden" function, e.g., a - private, unimplemented copy constructor or assignment operator. - The SGI C++ compiler needs this, in template classes, with - ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA.]) - -AH_TEMPLATE([ACE_TLI_TCP_DEVICE], -[Device the platform uses for TCP on TLI. Only needed if not - /dev/tcp.]) - -AH_TEMPLATE([ACE_USE_POLL], -[The OS/platform supports the poll() event demultiplexor]) - -AH_TEMPLATE([ACE_HAS_EVENT_POLL],[Platform (Linux) supports event poll - interface.]) - -AH_TEMPLATE([ACE_HAS_DEV_POLL],[Platform supports /dev/poll character - device.]) - -AH_TEMPLATE([ACE_USES_ASM_SYMBOL_IN_DLSYM], -[Platform uses assembly symbols instead of C symbols in dlsym()]) - -AH_TEMPLATE([ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB], -[Platform has its standard C++ library in the namespace std.]) - -dnl DSO/DLL export macros. -AH_TEMPLATE([ACE_HAS_CUSTOM_EXPORT_MACROS], -[Platform defines custom DSO/DLL symbol export macros.]) - -AH_TEMPLATE([ACE_Proper_Export_Flag], -[Flag that denotes the symbol should be exported from the DSO/DLL.]) - -AH_TEMPLATE([ACE_Proper_Import_Flag], -[Flag that denotes the symbol should be imported from the DSO/DLL.]) - -dnl ACE_EXPORT_SINGLETON_DECLARATION(T) -dnl ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -dnl ACE_IMPORT_SINGLETON_DECLARATION(T) -dnl ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) - -]) dnl End ACE_PREP_CONFIG_HEADER diff --git a/dep/ACE_wrappers/m4/libtool.m4 b/dep/ACE_wrappers/m4/libtool.m4 deleted file mode 100644 index 671cde117..000000000 --- a/dep/ACE_wrappers/m4/libtool.m4 +++ /dev/null @@ -1,7360 +0,0 @@ -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- -# -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -# 2006, 2007, 2008 Free Software Foundation, Inc. -# Written by Gordon Matzigkeit, 1996 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -m4_define([_LT_COPYING], [dnl -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -# 2006, 2007, 2008 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. -]) - -# serial 56 LT_INIT - - -# LT_PREREQ(VERSION) -# ------------------ -# Complain and exit if this libtool version is less that VERSION. -m4_defun([LT_PREREQ], -[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, - [m4_default([$3], - [m4_fatal([Libtool version $1 or higher is required], - 63)])], - [$2])]) - - -# _LT_CHECK_BUILDDIR -# ------------------ -# Complain if the absolute build directory name contains unusual characters -m4_defun([_LT_CHECK_BUILDDIR], -[case `pwd` in - *\ * | *\ *) - AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; -esac -]) - - -# LT_INIT([OPTIONS]) -# ------------------ -AC_DEFUN([LT_INIT], -[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT -AC_BEFORE([$0], [LT_LANG])dnl -AC_BEFORE([$0], [LT_OUTPUT])dnl -AC_BEFORE([$0], [LTDL_INIT])dnl -m4_require([_LT_CHECK_BUILDDIR])dnl - -dnl Autoconf doesn't catch unexpanded LT_ macros by default: -m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl -m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl -dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 -dnl unless we require an AC_DEFUNed macro: -AC_REQUIRE([LTOPTIONS_VERSION])dnl -AC_REQUIRE([LTSUGAR_VERSION])dnl -AC_REQUIRE([LTVERSION_VERSION])dnl -AC_REQUIRE([LTOBSOLETE_VERSION])dnl -m4_require([_LT_PROG_LTMAIN])dnl - -dnl Parse OPTIONS -_LT_SET_OPTIONS([$0], [$1]) - -# This can be used to rebuild libtool when needed -LIBTOOL_DEPS="$ltmain" - -# Always use our own libtool. -LIBTOOL='$(SHELL) $(top_builddir)/libtool' -AC_SUBST(LIBTOOL)dnl - -_LT_SETUP - -# Only expand once: -m4_define([LT_INIT]) -])# LT_INIT - -# Old names: -AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) -AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_PROG_LIBTOOL], []) -dnl AC_DEFUN([AM_PROG_LIBTOOL], []) - - -# _LT_CC_BASENAME(CC) -# ------------------- -# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. -m4_defun([_LT_CC_BASENAME], -[for cc_temp in $1""; do - case $cc_temp in - compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; - distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` -]) - - -# _LT_FILEUTILS_DEFAULTS -# ---------------------- -# It is okay to use these file commands and assume they have been set -# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'. -m4_defun([_LT_FILEUTILS_DEFAULTS], -[: ${CP="cp -f"} -: ${MV="mv -f"} -: ${RM="rm -f"} -])# _LT_FILEUTILS_DEFAULTS - - -# _LT_SETUP -# --------- -m4_defun([_LT_SETUP], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -_LT_DECL([], [host_alias], [0], [The host system])dnl -_LT_DECL([], [host], [0])dnl -_LT_DECL([], [host_os], [0])dnl -dnl -_LT_DECL([], [build_alias], [0], [The build system])dnl -_LT_DECL([], [build], [0])dnl -_LT_DECL([], [build_os], [0])dnl -dnl -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([LT_PATH_LD])dnl -AC_REQUIRE([LT_PATH_NM])dnl -dnl -AC_REQUIRE([AC_PROG_LN_S])dnl -test -z "$LN_S" && LN_S="ln -s" -_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl -dnl -AC_REQUIRE([LT_CMD_MAX_LEN])dnl -_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl -_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl -dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_CHECK_SHELL_FEATURES])dnl -m4_require([_LT_CMD_RELOAD])dnl -m4_require([_LT_CHECK_MAGIC_METHOD])dnl -m4_require([_LT_CMD_OLD_ARCHIVE])dnl -m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl - -_LT_CONFIG_LIBTOOL_INIT([ -# 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 -]) -if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST -fi - -_LT_CHECK_OBJDIR - -m4_require([_LT_TAG_COMPILER])dnl -_LT_PROG_ECHO_BACKSLASH - -case $host_os in -aix3*) - # 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 - ;; -esac - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' - -# Same as above, but do not quote variable references. -double_quote_subst='s/\([["`\\]]\)/\\\1/g' - -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' - -# Sed substitution to delay expansion of an escaped single quote. -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' - -# Sed substitution to avoid accidental globbing in evaled expressions -no_glob_subst='s/\*/\\\*/g' - -# Global variables: -ofile=libtool -can_build_shared=yes - -# All known linkers require a `.a' archive for static linking (except MSVC, -# which needs '.lib'). -libext=a - -with_gnu_ld="$lt_cv_prog_gnu_ld" - -old_CC="$CC" -old_CFLAGS="$CFLAGS" - -# Set sane defaults for various variables -test -z "$CC" && CC=cc -test -z "$LTCC" && LTCC=$CC -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS -test -z "$LD" && LD=ld -test -z "$ac_objext" && ac_objext=o - -_LT_CC_BASENAME([$compiler]) - -# Only perform the check for file, if the check method requires it -test -z "$MAGIC_CMD" && MAGIC_CMD=file -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - _LT_PATH_MAGIC - fi - ;; -esac - -# Use C for the default configuration in the libtool script -LT_SUPPORTED_TAG([CC]) -_LT_LANG_C_CONFIG -_LT_LANG_DEFAULT_CONFIG -_LT_CONFIG_COMMANDS -])# _LT_SETUP - - -# _LT_PROG_LTMAIN -# --------------- -# Note that this code is called both from `configure', and `config.status' -# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, -# `config.status' has no value for ac_aux_dir unless we are using Automake, -# so we pass a copy along to make sure it has a sensible value anyway. -m4_defun([_LT_PROG_LTMAIN], -[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl -_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) -ltmain="$ac_aux_dir/ltmain.sh" -])# _LT_PROG_LTMAIN - - -## ------------------------------------- ## -## Accumulate code for creating libtool. ## -## ------------------------------------- ## - -# So that we can recreate a full libtool script including additional -# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS -# in macros and then make a single call at the end using the `libtool' -# label. - - -# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) -# ---------------------------------------- -# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. -m4_define([_LT_CONFIG_LIBTOOL_INIT], -[m4_ifval([$1], - [m4_append([_LT_OUTPUT_LIBTOOL_INIT], - [$1 -])])]) - -# Initialize. -m4_define([_LT_OUTPUT_LIBTOOL_INIT]) - - -# _LT_CONFIG_LIBTOOL([COMMANDS]) -# ------------------------------ -# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. -m4_define([_LT_CONFIG_LIBTOOL], -[m4_ifval([$1], - [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], - [$1 -])])]) - -# Initialize. -m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) - - -# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) -# ----------------------------------------------------- -m4_defun([_LT_CONFIG_SAVE_COMMANDS], -[_LT_CONFIG_LIBTOOL([$1]) -_LT_CONFIG_LIBTOOL_INIT([$2]) -]) - - -# _LT_FORMAT_COMMENT([COMMENT]) -# ----------------------------- -# Add leading comment marks to the start of each line, and a trailing -# full-stop to the whole comment if one is not present already. -m4_define([_LT_FORMAT_COMMENT], -[m4_ifval([$1], [ -m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], - [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) -)]) - - - -## ------------------------ ## -## FIXME: Eliminate VARNAME ## -## ------------------------ ## - - -# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) -# ------------------------------------------------------------------- -# CONFIGNAME is the name given to the value in the libtool script. -# VARNAME is the (base) name used in the configure script. -# VALUE may be 0, 1 or 2 for a computed quote escaped value based on -# VARNAME. Any other value will be used directly. -m4_define([_LT_DECL], -[lt_if_append_uniq([lt_decl_varnames], [$2], [, ], - [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], - [m4_ifval([$1], [$1], [$2])]) - lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) - m4_ifval([$4], - [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) - lt_dict_add_subkey([lt_decl_dict], [$2], - [tagged?], [m4_ifval([$5], [yes], [no])])]) -]) - - -# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) -# -------------------------------------------------------- -m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) - - -# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) -# ------------------------------------------------ -m4_define([lt_decl_tag_varnames], -[_lt_decl_filter([tagged?], [yes], $@)]) - - -# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) -# --------------------------------------------------------- -m4_define([_lt_decl_filter], -[m4_case([$#], - [0], [m4_fatal([$0: too few arguments: $#])], - [1], [m4_fatal([$0: too few arguments: $#: $1])], - [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], - [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], - [lt_dict_filter([lt_decl_dict], $@)])[]dnl -]) - - -# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) -# -------------------------------------------------- -m4_define([lt_decl_quote_varnames], -[_lt_decl_filter([value], [1], $@)]) - - -# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) -# --------------------------------------------------- -m4_define([lt_decl_dquote_varnames], -[_lt_decl_filter([value], [2], $@)]) - - -# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) -# --------------------------------------------------- -m4_define([lt_decl_varnames_tagged], -[m4_assert([$# <= 2])dnl -_$0(m4_quote(m4_default([$1], [[, ]])), - m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), - m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) -m4_define([_lt_decl_varnames_tagged], -[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) - - -# lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) -# ------------------------------------------------ -m4_define([lt_decl_all_varnames], -[_$0(m4_quote(m4_default([$1], [[, ]])), - m4_if([$2], [], - m4_quote(lt_decl_varnames), - m4_quote(m4_shift($@))))[]dnl -]) -m4_define([_lt_decl_all_varnames], -[lt_join($@, lt_decl_varnames_tagged([$1], - lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl -]) - - -# _LT_CONFIG_STATUS_DECLARE([VARNAME]) -# ------------------------------------ -# Quote a variable value, and forward it to `config.status' so that its -# declaration there will have the same value as in `configure'. VARNAME -# must have a single quote delimited value for this to work. -m4_define([_LT_CONFIG_STATUS_DECLARE], -[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`']) - - -# _LT_CONFIG_STATUS_DECLARATIONS -# ------------------------------ -# We delimit libtool config variables with single quotes, so when -# we write them to config.status, we have to be sure to quote all -# embedded single quotes properly. In configure, this macro expands -# each variable declared with _LT_DECL (and _LT_TAGDECL) into: -# -# ='`$ECHO "X$" | $Xsed -e "$delay_single_quote_subst"`' -m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], -[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), - [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) - - -# _LT_LIBTOOL_TAGS -# ---------------- -# Output comment and list of tags supported by the script -m4_defun([_LT_LIBTOOL_TAGS], -[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl -available_tags="_LT_TAGS"dnl -]) - - -# _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) -# ----------------------------------- -# Extract the dictionary values for VARNAME (optionally with TAG) and -# expand to a commented shell variable setting: -# -# # Some comment about what VAR is for. -# visible_name=$lt_internal_name -m4_define([_LT_LIBTOOL_DECLARE], -[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], - [description])))[]dnl -m4_pushdef([_libtool_name], - m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl -m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), - [0], [_libtool_name=[$]$1], - [1], [_libtool_name=$lt_[]$1], - [2], [_libtool_name=$lt_[]$1], - [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl -m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl -]) - - -# _LT_LIBTOOL_CONFIG_VARS -# ----------------------- -# Produce commented declarations of non-tagged libtool config variables -# suitable for insertion in the LIBTOOL CONFIG section of the `libtool' -# script. Tagged libtool config variables (even for the LIBTOOL CONFIG -# section) are produced by _LT_LIBTOOL_TAG_VARS. -m4_defun([_LT_LIBTOOL_CONFIG_VARS], -[m4_foreach([_lt_var], - m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), - [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) - - -# _LT_LIBTOOL_TAG_VARS(TAG) -# ------------------------- -m4_define([_LT_LIBTOOL_TAG_VARS], -[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), - [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) - - -# _LT_TAGVAR(VARNAME, [TAGNAME]) -# ------------------------------ -m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) - - -# _LT_CONFIG_COMMANDS -# ------------------- -# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of -# variables for single and double quote escaping we saved from calls -# to _LT_DECL, we can put quote escaped variables declarations -# into `config.status', and then the shell code to quote escape them in -# for loops in `config.status'. Finally, any additional code accumulated -# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. -m4_defun([_LT_CONFIG_COMMANDS], -[AC_PROVIDE_IFELSE([LT_OUTPUT], - dnl If the libtool generation code has been placed in $CONFIG_LT, - dnl instead of duplicating it all over again into config.status, - dnl then we will have config.status run $CONFIG_LT later, so it - dnl needs to know what name is stored there: - [AC_CONFIG_COMMANDS([libtool], - [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], - dnl If the libtool generation code is destined for config.status, - dnl expand the accumulated commands and init code now: - [AC_CONFIG_COMMANDS([libtool], - [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) -])#_LT_CONFIG_COMMANDS - - -# Initialize. -m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], -[ - -# 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='$sed_quote_subst' -double_quote_subst='$double_quote_subst' -delay_variable_subst='$delay_variable_subst' -_LT_CONFIG_STATUS_DECLARATIONS -LTCC='$LTCC' -LTCFLAGS='$LTCFLAGS' -compiler='$compiler_DEFAULT' - -# Quote evaled strings. -for var in lt_decl_all_varnames([[ \ -]], lt_decl_quote_varnames); do - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in - *[[\\\\\\\`\\"\\\$]]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" - ;; - *) - eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" - ;; - esac -done - -# Double-quote double-evaled strings. -for var in lt_decl_all_varnames([[ \ -]], lt_decl_dquote_varnames); do - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in - *[[\\\\\\\`\\"\\\$]]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" - ;; - *) - eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" - ;; - esac -done - -# Fix-up fallback echo if it was mangled by the above quoting rules. -case \$lt_ECHO in -*'\\\[$]0 --fallback-echo"')dnl " - lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\` - ;; -esac - -_LT_OUTPUT_LIBTOOL_INIT -]) - - -# LT_OUTPUT -# --------- -# This macro allows early generation of the libtool script (before -# AC_OUTPUT is called), incase it is used in configure for compilation -# tests. -AC_DEFUN([LT_OUTPUT], -[: ${CONFIG_LT=./config.lt} -AC_MSG_NOTICE([creating $CONFIG_LT]) -cat >"$CONFIG_LT" <<_LTEOF -#! $SHELL -# Generated by $as_me. -# Run this file to recreate a libtool stub with the current configuration. - -lt_cl_silent=false -SHELL=\${CONFIG_SHELL-$SHELL} -_LTEOF - -cat >>"$CONFIG_LT" <<\_LTEOF -AS_SHELL_SANITIZE -_AS_PREPARE - -exec AS_MESSAGE_FD>&1 -exec AS_MESSAGE_LOG_FD>>config.log -{ - echo - AS_BOX([Running $as_me.]) -} >&AS_MESSAGE_LOG_FD - -lt_cl_help="\ -\`$as_me' creates a local libtool stub from the current configuration, -for use in further configure time tests before the real libtool is -generated. - -Usage: $[0] [[OPTIONS]] - - -h, --help print this help, then exit - -V, --version print version number, then exit - -q, --quiet do not print progress messages - -d, --debug don't remove temporary files - -Report bugs to ." - -lt_cl_version="\ -m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl -m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) -configured by $[0], generated by m4_PACKAGE_STRING. - -Copyright (C) 2008 Free Software Foundation, Inc. -This config.lt script is free software; the Free Software Foundation -gives unlimited permision to copy, distribute and modify it." - -while test $[#] != 0 -do - case $[1] in - --version | --v* | -V ) - echo "$lt_cl_version"; exit 0 ;; - --help | --h* | -h ) - echo "$lt_cl_help"; exit 0 ;; - --debug | --d* | -d ) - debug=: ;; - --quiet | --q* | --silent | --s* | -q ) - lt_cl_silent=: ;; - - -*) AC_MSG_ERROR([unrecognized option: $[1] -Try \`$[0] --help' for more information.]) ;; - - *) AC_MSG_ERROR([unrecognized argument: $[1] -Try \`$[0] --help' for more information.]) ;; - esac - shift -done - -if $lt_cl_silent; then - exec AS_MESSAGE_FD>/dev/null -fi -_LTEOF - -cat >>"$CONFIG_LT" <<_LTEOF -_LT_OUTPUT_LIBTOOL_COMMANDS_INIT -_LTEOF - -cat >>"$CONFIG_LT" <<\_LTEOF -AC_MSG_NOTICE([creating $ofile]) -_LT_OUTPUT_LIBTOOL_COMMANDS -AS_EXIT(0) -_LTEOF -chmod +x "$CONFIG_LT" - -# configure is writing to config.log, but config.lt does its own redirection, -# appending to config.log, which fails on DOS, as config.log is still kept -# open by configure. Here we exec the FD to /dev/null, effectively closing -# config.log, so it can be properly (re)opened and appended to by config.lt. -if test "$no_create" != yes; then - lt_cl_success=: - test "$silent" = yes && - lt_config_lt_args="$lt_config_lt_args --quiet" - exec AS_MESSAGE_LOG_FD>/dev/null - $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false - exec AS_MESSAGE_LOG_FD>>config.log - $lt_cl_success || AS_EXIT(1) -fi -])# LT_OUTPUT - - -# _LT_CONFIG(TAG) -# --------------- -# If TAG is the built-in tag, create an initial libtool script with a -# default configuration from the untagged config vars. Otherwise add code -# to config.status for appending the configuration named by TAG from the -# matching tagged config vars. -m4_defun([_LT_CONFIG], -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl -_LT_CONFIG_SAVE_COMMANDS([ - m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl - m4_if(_LT_TAG, [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. -# -_LT_COPYING -_LT_LIBTOOL_TAGS - -# ### BEGIN LIBTOOL CONFIG -_LT_LIBTOOL_CONFIG_VARS -_LT_LIBTOOL_TAG_VARS -# ### 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 - - _LT_PROG_LTMAIN - - # 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 '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ - || (rm -f "$cfgfile"; exit 1) - - _LT_PROG_XSI_SHELLFNS - - sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ - || (rm -f "$cfgfile"; exit 1) - - mv -f "$cfgfile" "$ofile" || - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") - chmod +x "$ofile" -], -[cat <<_LT_EOF >> "$ofile" - -dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded -dnl in a comment (ie after a #). -# ### BEGIN LIBTOOL TAG CONFIG: $1 -_LT_LIBTOOL_TAG_VARS(_LT_TAG) -# ### END LIBTOOL TAG CONFIG: $1 -_LT_EOF -])dnl /m4_if -], -[m4_if([$1], [], [ - PACKAGE='$PACKAGE' - VERSION='$VERSION' - TIMESTAMP='$TIMESTAMP' - RM='$RM' - ofile='$ofile'], []) -])dnl /_LT_CONFIG_SAVE_COMMANDS -])# _LT_CONFIG - - -# LT_SUPPORTED_TAG(TAG) -# --------------------- -# Trace this macro to discover what tags are supported by the libtool -# --tag option, using: -# autoconf --trace 'LT_SUPPORTED_TAG:$1' -AC_DEFUN([LT_SUPPORTED_TAG], []) - - -# C support is built-in for now -m4_define([_LT_LANG_C_enabled], []) -m4_define([_LT_TAGS], []) - - -# LT_LANG(LANG) -# ------------- -# Enable libtool support for the given language if not already enabled. -AC_DEFUN([LT_LANG], -[AC_BEFORE([$0], [LT_OUTPUT])dnl -m4_case([$1], - [C], [_LT_LANG(C)], - [C++], [_LT_LANG(CXX)], - [Java], [_LT_LANG(GCJ)], - [Fortran 77], [_LT_LANG(F77)], - [Fortran], [_LT_LANG(FC)], - [Windows Resource], [_LT_LANG(RC)], - [m4_ifdef([_LT_LANG_]$1[_CONFIG], - [_LT_LANG($1)], - [m4_fatal([$0: unsupported language: "$1"])])])dnl -])# LT_LANG - - -# _LT_LANG(LANGNAME) -# ------------------ -m4_defun([_LT_LANG], -[m4_ifdef([_LT_LANG_]$1[_enabled], [], - [LT_SUPPORTED_TAG([$1])dnl - m4_append([_LT_TAGS], [$1 ])dnl - m4_define([_LT_LANG_]$1[_enabled], [])dnl - _LT_LANG_$1_CONFIG($1)])dnl -])# _LT_LANG - - -# _LT_LANG_DEFAULT_CONFIG -# ----------------------- -m4_defun([_LT_LANG_DEFAULT_CONFIG], -[AC_PROVIDE_IFELSE([AC_PROG_CXX], - [LT_LANG(CXX)], - [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) - -AC_PROVIDE_IFELSE([AC_PROG_F77], - [LT_LANG(F77)], - [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) - -AC_PROVIDE_IFELSE([AC_PROG_FC], - [LT_LANG(FC)], - [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) - -dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal -dnl pulling things in needlessly. -AC_PROVIDE_IFELSE([AC_PROG_GCJ], - [LT_LANG(GCJ)], - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], - [LT_LANG(GCJ)], - [AC_PROVIDE_IFELSE([LT_PROG_GCJ], - [LT_LANG(GCJ)], - [m4_ifdef([AC_PROG_GCJ], - [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) - m4_ifdef([A][M_PROG_GCJ], - [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) - m4_ifdef([LT_PROG_GCJ], - [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) - -AC_PROVIDE_IFELSE([LT_PROG_RC], - [LT_LANG(RC)], - [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) -])# _LT_LANG_DEFAULT_CONFIG - -# Obsolete macros: -AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) -AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) -AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) -AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_CXX], []) -dnl AC_DEFUN([AC_LIBTOOL_F77], []) -dnl AC_DEFUN([AC_LIBTOOL_FC], []) -dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) - - -# _LT_TAG_COMPILER -# ---------------- -m4_defun([_LT_TAG_COMPILER], -[AC_REQUIRE([AC_PROG_CC])dnl - -_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl -_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl -_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl -_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC -])# _LT_TAG_COMPILER - - -# _LT_COMPILER_BOILERPLATE -# ------------------------ -# Check for compiler boilerplate output or warnings with -# the simple compiler test code. -m4_defun([_LT_COMPILER_BOILERPLATE], -[m4_require([_LT_DECL_SED])dnl -ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$RM conftest* -])# _LT_COMPILER_BOILERPLATE - - -# _LT_LINKER_BOILERPLATE -# ---------------------- -# Check for linker boilerplate output or warnings with -# the simple link test code. -m4_defun([_LT_LINKER_BOILERPLATE], -[m4_require([_LT_DECL_SED])dnl -ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$RM -r conftest* -])# _LT_LINKER_BOILERPLATE - -# _LT_REQUIRED_DARWIN_CHECKS -# ------------------------- -m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ - case $host_os in - rhapsody* | darwin*) - AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) - AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) - AC_CHECK_TOOL([LIPO], [lipo], [:]) - AC_CHECK_TOOL([OTOOL], [otool], [:]) - AC_CHECK_TOOL([OTOOL64], [otool64], [:]) - _LT_DECL([], [DSYMUTIL], [1], - [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) - _LT_DECL([], [NMEDIT], [1], - [Tool to change global to local symbols on Mac OS X]) - _LT_DECL([], [LIPO], [1], - [Tool to manipulate fat objects and archives on Mac OS X]) - _LT_DECL([], [OTOOL], [1], - [ldd/readelf like tool for Mach-O binaries on Mac OS X]) - _LT_DECL([], [OTOOL64], [1], - [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) - - AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], - [lt_cv_apple_cc_single_mod=no - if test -z "${LT_MULTI_MODULE}"; then - # By default we will add the -single_module flag. You can override - # by either setting the environment variable LT_MULTI_MODULE - # non-empty at configure time, or by adding -multi_module to the - # link flags. - rm -rf libconftest.dylib* - echo "int foo(void){return 1;}" > conftest.c - echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ --dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD - $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ - -dynamiclib -Wl,-single_module conftest.c 2>conftest.err - _lt_result=$? - if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then - lt_cv_apple_cc_single_mod=yes - else - cat conftest.err >&AS_MESSAGE_LOG_FD - fi - rm -rf libconftest.dylib* - rm -f conftest.* - fi]) - AC_CACHE_CHECK([for -exported_symbols_list linker flag], - [lt_cv_ld_exported_symbols_list], - [lt_cv_ld_exported_symbols_list=no - save_LDFLAGS=$LDFLAGS - echo "_main" > conftest.sym - LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" - AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], - [lt_cv_ld_exported_symbols_list=yes], - [lt_cv_ld_exported_symbols_list=no]) - LDFLAGS="$save_LDFLAGS" - ]) - case $host_os in - rhapsody* | darwin1.[[012]]) - _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; - darwin1.*) - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; - darwin*) # darwin 5.x on - # if running on 10.5 or later, the deployment target defaults - # to the OS version, if on x86, and 10.4, the deployment - # target defaults to 10.4. Don't you love it? - case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in - 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; - 10.[[012]]*) - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; - 10.*) - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; - esac - ;; - esac - if test "$lt_cv_apple_cc_single_mod" = "yes"; then - _lt_dar_single_mod='$single_module' - fi - if test "$lt_cv_ld_exported_symbols_list" = "yes"; then - _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' - else - _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' - fi - if test "$DSYMUTIL" != ":"; then - _lt_dsymutil='~$DSYMUTIL $lib || :' - else - _lt_dsymutil= - fi - ;; - esac -]) - - -# _LT_DARWIN_LINKER_FEATURES -# -------------------------- -# Checks for linker and compiler features on darwin -m4_defun([_LT_DARWIN_LINKER_FEATURES], -[ - m4_require([_LT_REQUIRED_DARWIN_CHECKS]) - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_automatic, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_TAGVAR(whole_archive_flag_spec, $1)='' - _LT_TAGVAR(link_all_deplibs, $1)=yes - _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" - case $cc_basename in - ifort*) _lt_dar_can_shared=yes ;; - *) _lt_dar_can_shared=$GCC ;; - esac - if test "$_lt_dar_can_shared" = "yes"; then - output_verbose_link_cmd=echo - _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" - _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" - _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" - _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" - m4_if([$1], [CXX], -[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then - _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" - _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" - fi -],[]) - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi -]) - -# _LT_SYS_MODULE_PATH_AIX -# ----------------------- -# Links a minimal program and checks the executable -# for the system default hardcoded library path. In most cases, -# this is /usr/lib:/lib, but when the MPI compilers are used -# the location of the communication and MPI libs are included too. -# If we don't find anything, use the default library path according -# to the aix ld manual. -m4_defun([_LT_SYS_MODULE_PATH_AIX], -[m4_require([_LT_DECL_SED])dnl -AC_LINK_IFELSE(AC_LANG_PROGRAM,[ -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi],[]) -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi -])# _LT_SYS_MODULE_PATH_AIX - - -# _LT_SHELL_INIT(ARG) -# ------------------- -m4_define([_LT_SHELL_INIT], -[ifdef([AC_DIVERSION_NOTICE], - [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], - [AC_DIVERT_PUSH(NOTICE)]) -$1 -AC_DIVERT_POP -])# _LT_SHELL_INIT - - -# _LT_PROG_ECHO_BACKSLASH -# ----------------------- -# Add some code to the start of the generated configure script which -# will find an echo command which doesn't interpret backslashes. -m4_defun([_LT_PROG_ECHO_BACKSLASH], -[_LT_SHELL_INIT([ -# Check that we are running under the correct shell. -SHELL=${CONFIG_SHELL-/bin/sh} - -case X$lt_ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` - ;; -esac - -ECHO=${lt_ECHO-echo} -if test "X[$]1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X[$]1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then - # Yippee, $ECHO works! - : -else - # Restart under the correct shell. - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} -fi - -if test "X[$]1" = X--fallback-echo; then - # used as fallback echo - shift - cat <<_LT_EOF -[$]* -_LT_EOF - exit 0 -fi - -# 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 - -if test -z "$lt_ECHO"; then - if test "X${echo_test_string+set}" != Xset; then - # find a string as large as possible, as long as the shell can cope with it - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... - if { echo_test_string=`eval $cmd`; } 2>/dev/null && - { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null - then - break - fi - done - fi - - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - : - else - # The Solaris, AIX, and Digital Unix default echo programs unquote - # backslashes. This makes it impossible to quote backslashes using - # echo "$something" | sed 's/\\/\\\\/g' - # - # So, first we look for a working echo in the user's PATH. - - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for dir in $PATH /usr/ucb; do - IFS="$lt_save_ifs" - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - ECHO="$dir/echo" - break - fi - done - IFS="$lt_save_ifs" - - if test "X$ECHO" = Xecho; then - # We didn't find a better echo, so look for alternatives. - if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # This shell has a builtin print -r that does the trick. - ECHO='print -r' - elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && - test "X$CONFIG_SHELL" != X/bin/ksh; then - # If we have ksh, try running configure again with it. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} - export ORIGINAL_CONFIG_SHELL - CONFIG_SHELL=/bin/ksh - export CONFIG_SHELL - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} - else - # Try using printf. - ECHO='printf %s\n' - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # Cool, printf works - : - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL - export CONFIG_SHELL - SHELL="$CONFIG_SHELL" - export SHELL - ECHO="$CONFIG_SHELL [$]0 --fallback-echo" - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - ECHO="$CONFIG_SHELL [$]0 --fallback-echo" - else - # maybe with a smaller string... - prev=: - - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do - if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null - then - break - fi - prev="$cmd" - done - - if test "$prev" != 'sed 50q "[$]0"'; then - echo_test_string=`eval $prev` - export echo_test_string - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} - else - # Oops. We lost completely, so just stick with echo. - ECHO=echo - fi - fi - fi - fi - fi -fi - -# Copy echo and quote the copy suitably for passing to libtool from -# the Makefile, instead of quoting the original, which is used later. -lt_ECHO=$ECHO -if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then - lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" -fi - -AC_SUBST(lt_ECHO) -]) -_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) -_LT_DECL([], [ECHO], [1], - [An echo program that does not interpret backslashes]) -])# _LT_PROG_ECHO_BACKSLASH - - -# _LT_ENABLE_LOCK -# --------------- -m4_defun([_LT_ENABLE_LOCK], -[AC_ARG_ENABLE([libtool-lock], - [AS_HELP_STRING([--disable-libtool-lock], - [avoid locking (might break parallel builds)])]) -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes - -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -ia64-*-hpux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *ELF-32*) - HPUX_IA64_MODE="32" - ;; - *ELF-64*) - HPUX_IA64_MODE="64" - ;; - esac - fi - rm -rf conftest* - ;; -*-*-irix6*) - # Find out which ABI we are using. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - if test "$lt_cv_prog_gnu_ld" = yes; then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -melf32bsmip" - ;; - *N32*) - LD="${LD-ld} -melf32bmipn32" - ;; - *64-bit*) - LD="${LD-ld} -melf64bmip" - ;; - esac - else - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - fi - rm -rf conftest* - ;; - -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ -s390*-*linux*|s390*-*tpf*|sparc*-*linux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.o` in - *32-bit*) - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_i386_fbsd" - ;; - x86_64-*linux*) - LD="${LD-ld} -m elf_i386" - ;; - ppc64-*linux*|powerpc64-*linux*) - LD="${LD-ld} -m elf32ppclinux" - ;; - s390x-*linux*) - LD="${LD-ld} -m elf_s390" - ;; - sparc64-*linux*) - LD="${LD-ld} -m elf32_sparc" - ;; - esac - ;; - *64-bit*) - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_x86_64_fbsd" - ;; - x86_64-*linux*) - LD="${LD-ld} -m elf_x86_64" - ;; - ppc*-*linux*|powerpc*-*linux*) - LD="${LD-ld} -m elf64ppc" - ;; - s390*-*linux*|s390*-*tpf*) - LD="${LD-ld} -m elf64_s390" - ;; - sparc*-*linux*) - LD="${LD-ld} -m elf64_sparc" - ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; - -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, - [AC_LANG_PUSH(C) - AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) - AC_LANG_POP]) - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; -sparc*-*solaris*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.o` in - *64-bit*) - case $lt_cv_prog_gnu_ld in - yes*) LD="${LD-ld} -m elf64_sparc" ;; - *) - if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then - LD="${LD-ld} -64" - fi - ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; -esac - -need_locks="$enable_libtool_lock" -])# _LT_ENABLE_LOCK - - -# _LT_CMD_OLD_ARCHIVE -# ------------------- -m4_defun([_LT_CMD_OLD_ARCHIVE], -[AC_CHECK_TOOL(AR, ar, false) -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -_LT_DECL([], [AR], [1], [The archiver]) -_LT_DECL([], [AR_FLAGS], [1]) - -AC_CHECK_TOOL(STRIP, strip, :) -test -z "$STRIP" && STRIP=: -_LT_DECL([], [STRIP], [1], [A symbol stripping program]) - -AC_CHECK_TOOL(RANLIB, ranlib, :) -test -z "$RANLIB" && RANLIB=: -_LT_DECL([], [RANLIB], [1], - [Commands used to install an old-style archive]) - -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= - -if test -n "$RANLIB"; then - case $host_os in - openbsd*) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" - ;; - *) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" - ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" -fi -_LT_DECL([], [old_postinstall_cmds], [2]) -_LT_DECL([], [old_postuninstall_cmds], [2]) -_LT_TAGDECL([], [old_archive_cmds], [2], - [Commands used to build an old-style archive]) -])# _LT_CMD_OLD_ARCHIVE - - -# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, -# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) -# ---------------------------------------------------------------- -# Check whether the given compiler option works -AC_DEFUN([_LT_COMPILER_OPTION], -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_DECL_SED])dnl -AC_CACHE_CHECK([$1], [$2], - [$2=no - m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$3" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&AS_MESSAGE_LOG_FD - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - $2=yes - fi - fi - $RM conftest* -]) - -if test x"[$]$2" = xyes; then - m4_if([$5], , :, [$5]) -else - m4_if([$6], , :, [$6]) -fi -])# _LT_COMPILER_OPTION - -# Old name: -AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) - - -# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, -# [ACTION-SUCCESS], [ACTION-FAILURE]) -# ---------------------------------------------------- -# Check whether the given linker option works -AC_DEFUN([_LT_LINKER_OPTION], -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_DECL_SED])dnl -AC_CACHE_CHECK([$1], [$2], - [$2=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $3" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&AS_MESSAGE_LOG_FD - $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - $2=yes - fi - else - $2=yes - fi - fi - $RM -r conftest* - LDFLAGS="$save_LDFLAGS" -]) - -if test x"[$]$2" = xyes; then - m4_if([$4], , :, [$4]) -else - m4_if([$5], , :, [$5]) -fi -])# _LT_LINKER_OPTION - -# Old name: -AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) - - -# LT_CMD_MAX_LEN -#--------------- -AC_DEFUN([LT_CMD_MAX_LEN], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -# find the maximum length of command line arguments -AC_MSG_CHECKING([the maximum length of command line arguments]) -AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl - i=0 - teststring="ABCD" - - case $build_os in - msdosdjgpp*) - # On DJGPP, this test can blow up pretty badly due to problems in libc - # (any single argument exceeding 2000 bytes causes a buffer overrun - # during glob expansion). Even if it were fixed, the result of this - # check would be larger than it should be. - lt_cv_sys_max_cmd_len=12288; # 12K is about right - ;; - - gnu*) - # Under GNU Hurd, this test is not required because there is - # no limit to the length of command line arguments. - # Libtool will interpret -1 as no limit whatsoever - lt_cv_sys_max_cmd_len=-1; - ;; - - cygwin* | mingw* | cegcc*) - # On Win9x/ME, this test blows up -- it succeeds, but takes - # about 5 minutes as the teststring grows exponentially. - # Worse, since 9x/ME are not pre-emptively multitasking, - # you end up with a "frozen" computer, even though with patience - # the test eventually succeeds (with a max line length of 256k). - # Instead, let's just punt: use the minimum linelength reported by - # all of the supported platforms: 8192 (on NT/2K/XP). - lt_cv_sys_max_cmd_len=8192; - ;; - - amigaos*) - # On AmigaOS with pdksh, this test takes hours, literally. - # So we just punt and use a minimum line length of 8192. - lt_cv_sys_max_cmd_len=8192; - ;; - - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) - # This has been around since 386BSD, at least. Likely further. - if test -x /sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` - elif test -x /usr/sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` - else - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs - fi - # And add a safety zone - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - ;; - - interix*) - # We know the value 262144 and hardcode it with a safety zone (like BSD) - lt_cv_sys_max_cmd_len=196608 - ;; - - osf*) - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not - # nice to cause kernel panics so lets avoid the loop below. - # First set a reasonable default. - lt_cv_sys_max_cmd_len=16384 - # - if test -x /sbin/sysconfig; then - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in - *1*) lt_cv_sys_max_cmd_len=-1 ;; - esac - fi - ;; - sco3.2v5*) - lt_cv_sys_max_cmd_len=102400 - ;; - sysv5* | sco5v6* | sysv4.2uw2*) - kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` - if test -n "$kargmax"; then - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` - else - lt_cv_sys_max_cmd_len=32768 - fi - ;; - *) - lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` - if test -n "$lt_cv_sys_max_cmd_len"; then - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - else - # Make teststring a little bigger before we do anything with it. - # a 1K string should be a reasonable start. - for i in 1 2 3 4 5 6 7 8 ; do - teststring=$teststring$teststring - done - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} - # If test is not a shell built-in, we'll probably end up computing a - # maximum length that is only half of the actual maximum length, but - # we can't tell. - while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ - = "XX$teststring$teststring"; } >/dev/null 2>&1 && - test $i != 17 # 1/2 MB should be enough - do - i=`expr $i + 1` - teststring=$teststring$teststring - done - # Only check the string length outside the loop. - lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` - teststring= - # Add a significant safety factor because C++ compilers can tack on - # massive amounts of additional arguments before passing them to the - # linker. It appears as though 1/2 is a usable value. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` - fi - ;; - esac -]) -if test -n $lt_cv_sys_max_cmd_len ; then - AC_MSG_RESULT($lt_cv_sys_max_cmd_len) -else - AC_MSG_RESULT(none) -fi -max_cmd_len=$lt_cv_sys_max_cmd_len -_LT_DECL([], [max_cmd_len], [0], - [What is the maximum length of a command?]) -])# LT_CMD_MAX_LEN - -# Old name: -AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) - - -# _LT_HEADER_DLFCN -# ---------------- -m4_defun([_LT_HEADER_DLFCN], -[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl -])# _LT_HEADER_DLFCN - - -# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, -# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) -# ---------------------------------------------------------------- -m4_defun([_LT_TRY_DLOPEN_SELF], -[m4_require([_LT_HEADER_DLFCN])dnl -if test "$cross_compiling" = yes; then : - [$4] -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF -[#line __oline__ "configure" -#include "confdefs.h" - -#if HAVE_DLFCN_H -#include -#endif - -#include - -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif - -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif - -void fnord() { int i=42;} -int main () -{ - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - /* dlclose (self); */ - } - else - puts (dlerror ()); - - return status; -}] -_LT_EOF - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) $1 ;; - x$lt_dlneed_uscore) $2 ;; - x$lt_dlunknown|x*) $3 ;; - esac - else : - # compilation failed - $3 - fi -fi -rm -fr conftest* -])# _LT_TRY_DLOPEN_SELF - - -# LT_SYS_DLOPEN_SELF -# ------------------ -AC_DEFUN([LT_SYS_DLOPEN_SELF], -[m4_require([_LT_HEADER_DLFCN])dnl -if test "x$enable_dlopen" != xyes; then - enable_dlopen=unknown - enable_dlopen_self=unknown - enable_dlopen_self_static=unknown -else - lt_cv_dlopen=no - lt_cv_dlopen_libs= - - case $host_os in - beos*) - lt_cv_dlopen="load_add_on" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ;; - - mingw* | pw32* | cegcc*) - lt_cv_dlopen="LoadLibrary" - lt_cv_dlopen_libs= - ;; - - cygwin*) - lt_cv_dlopen="dlopen" - lt_cv_dlopen_libs= - ;; - - darwin*) - # if libdl is installed we need to link against it - AC_CHECK_LIB([dl], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ - lt_cv_dlopen="dyld" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ]) - ;; - - *) - AC_CHECK_FUNC([shl_load], - [lt_cv_dlopen="shl_load"], - [AC_CHECK_LIB([dld], [shl_load], - [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], - [AC_CHECK_FUNC([dlopen], - [lt_cv_dlopen="dlopen"], - [AC_CHECK_LIB([dl], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], - [AC_CHECK_LIB([svld], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], - [AC_CHECK_LIB([dld], [dld_link], - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) - ]) - ]) - ]) - ]) - ]) - ;; - esac - - if test "x$lt_cv_dlopen" != xno; then - enable_dlopen=yes - else - enable_dlopen=no - fi - - case $lt_cv_dlopen in - dlopen) - save_CPPFLAGS="$CPPFLAGS" - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" - - save_LDFLAGS="$LDFLAGS" - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" - - save_LIBS="$LIBS" - LIBS="$lt_cv_dlopen_libs $LIBS" - - AC_CACHE_CHECK([whether a program can dlopen itself], - lt_cv_dlopen_self, [dnl - _LT_TRY_DLOPEN_SELF( - lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, - lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) - ]) - - if test "x$lt_cv_dlopen_self" = xyes; then - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" - AC_CACHE_CHECK([whether a statically linked program can dlopen itself], - lt_cv_dlopen_self_static, [dnl - _LT_TRY_DLOPEN_SELF( - lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, - lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) - ]) - fi - - CPPFLAGS="$save_CPPFLAGS" - LDFLAGS="$save_LDFLAGS" - LIBS="$save_LIBS" - ;; - esac - - case $lt_cv_dlopen_self in - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; - *) enable_dlopen_self=unknown ;; - esac - - case $lt_cv_dlopen_self_static in - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; - *) enable_dlopen_self_static=unknown ;; - esac -fi -_LT_DECL([dlopen_support], [enable_dlopen], [0], - [Whether dlopen is supported]) -_LT_DECL([dlopen_self], [enable_dlopen_self], [0], - [Whether dlopen of programs is supported]) -_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], - [Whether dlopen of statically linked programs is supported]) -])# LT_SYS_DLOPEN_SELF - -# Old name: -AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) - - -# _LT_COMPILER_C_O([TAGNAME]) -# --------------------------- -# Check to see if options -c and -o are simultaneously supported by compiler. -# This macro does not hard code the compiler like AC_PROG_CC_C_O. -m4_defun([_LT_COMPILER_C_O], -[m4_require([_LT_DECL_SED])dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_TAG_COMPILER])dnl -AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], - [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], - [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no - $RM -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&AS_MESSAGE_LOG_FD - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes - fi - fi - chmod u+w . 2>&AS_MESSAGE_LOG_FD - $RM conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files - $RM out/* && rmdir out - cd .. - $RM -r conftest - $RM conftest* -]) -_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], - [Does compiler simultaneously support -c and -o options?]) -])# _LT_COMPILER_C_O - - -# _LT_COMPILER_FILE_LOCKS([TAGNAME]) -# ---------------------------------- -# Check to see if we can do hard links to lock some files if needed -m4_defun([_LT_COMPILER_FILE_LOCKS], -[m4_require([_LT_ENABLE_LOCK])dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -_LT_COMPILER_C_O([$1]) - -hard_links="nottested" -if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - AC_MSG_CHECKING([if we can lock with hard links]) - hard_links=yes - $RM conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - AC_MSG_RESULT([$hard_links]) - if test "$hard_links" = no; then - AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) - need_locks=warn - fi -else - need_locks=no -fi -_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) -])# _LT_COMPILER_FILE_LOCKS - - -# _LT_CHECK_OBJDIR -# ---------------- -m4_defun([_LT_CHECK_OBJDIR], -[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], -[rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - lt_cv_objdir=.libs -else - # MS-DOS does not allow filenames that begin with a dot. - lt_cv_objdir=_libs -fi -rmdir .libs 2>/dev/null]) -objdir=$lt_cv_objdir -_LT_DECL([], [objdir], [0], - [The name of the directory that contains temporary libtool files])dnl -m4_pattern_allow([LT_OBJDIR])dnl -AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/", - [Define to the sub-directory in which libtool stores uninstalled libraries.]) -])# _LT_CHECK_OBJDIR - - -# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) -# -------------------------------------- -# Check hardcoding attributes. -m4_defun([_LT_LINKER_HARDCODE_LIBPATH], -[AC_MSG_CHECKING([how to hardcode library paths into programs]) -_LT_TAGVAR(hardcode_action, $1)= -if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || - test -n "$_LT_TAGVAR(runpath_var, $1)" || - test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then - - # We can hardcode non-existent directories. - if test "$_LT_TAGVAR(hardcode_direct, $1)" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no && - test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then - # Linking always hardcodes the temporary library directory. - _LT_TAGVAR(hardcode_action, $1)=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - _LT_TAGVAR(hardcode_action, $1)=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - _LT_TAGVAR(hardcode_action, $1)=unsupported -fi -AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) - -if test "$_LT_TAGVAR(hardcode_action, $1)" = relink || - test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi -_LT_TAGDECL([], [hardcode_action], [0], - [How to hardcode a shared library path into an executable]) -])# _LT_LINKER_HARDCODE_LIBPATH - - -# _LT_CMD_STRIPLIB -# ---------------- -m4_defun([_LT_CMD_STRIPLIB], -[m4_require([_LT_DECL_EGREP]) -striplib= -old_striplib= -AC_MSG_CHECKING([whether stripping libraries is possible]) -if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - AC_MSG_RESULT([yes]) -else -# FIXME - insert some real tests, host_os isn't really good enough - case $host_os in - darwin*) - if test -n "$STRIP" ; then - striplib="$STRIP -x" - old_striplib="$STRIP -S" - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - fi - ;; - *) - AC_MSG_RESULT([no]) - ;; - esac -fi -_LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) -_LT_DECL([], [striplib], [1]) -])# _LT_CMD_STRIPLIB - - -# _LT_SYS_DYNAMIC_LINKER([TAG]) -# ----------------------------- -# PORTME Fill in your ld.so characteristics -m4_defun([_LT_SYS_DYNAMIC_LINKER], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -m4_require([_LT_DECL_EGREP])dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_DECL_OBJDUMP])dnl -m4_require([_LT_DECL_SED])dnl -AC_MSG_CHECKING([dynamic linker characteristics]) -m4_if([$1], - [], [ -if test "$GCC" = yes; then - case $host_os in - darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; - *) lt_awk_arg="/^libraries:/" ;; - esac - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then - # if the path contains ";" then we assume it to be the separator - # otherwise default to the standard path separator (i.e. ":") - it is - # assumed that no part of a normal pathname contains ";" but that should - # okay in the real world where ";" in dirpaths is itself problematic. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` - else - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - # Ok, now we have the path, separated by spaces, we can step through it - # and add multilib dir if necessary. - lt_tmp_lt_search_path_spec= - lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` - for lt_sys_path in $lt_search_path_spec; do - if test -d "$lt_sys_path/$lt_multi_os_dir"; then - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" - else - test -d "$lt_sys_path" && \ - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" - fi - done - lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' -BEGIN {RS=" "; FS="/|\n";} { - lt_foo=""; - lt_count=0; - for (lt_i = NF; lt_i > 0; lt_i--) { - if ($lt_i != "" && $lt_i != ".") { - if ($lt_i == "..") { - lt_count++; - } else { - if (lt_count == 0) { - lt_foo="/" $lt_i lt_foo; - } else { - lt_count--; - } - } - } - } - if (lt_foo != "") { lt_freq[[lt_foo]]++; } - if (lt_freq[[lt_foo]] == 1) { print lt_foo; } -}'` - sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` -else - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" -fi]) -library_names_spec= -libname_spec='lib$name' -soname_spec= -shrext_cmds=".so" -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -need_lib_prefix=unknown -hardcode_into_libs=no - -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -need_version=unknown - -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX 3 has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}${shared_ext}$major' - ;; - -aix[[4-9]]*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[[01]] | aix4.[[01]].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}${shared_ext}$major' - fi - shlibpath_var=LIBPATH - fi - ;; - -amigaos*) - case $host_cpu in - powerpc) - # Since July 2007 AmigaOS4 officially supports .so libraries. - # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - ;; - m68k) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' - ;; - esac - ;; - -beos*) - library_names_spec='${libname}${shared_ext}' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; - -bsdi[[45]]*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; - -cygwin* | mingw* | pw32* | cegcc*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no - - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \${file}`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname~ - if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then - eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; - fi' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $RM \$dlpath' - shlibpath_overrides_runpath=yes - - case $host_os in - cygwin*) - # Cygwin DLLs use 'cyg' prefix rather than 'lib' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" - ;; - mingw* | cegcc*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - ;; - pw32*) - # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - ;; - esac - ;; - - *) - library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' - soname_spec='${libname}${release}${major}$shared_ext' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' -m4_if([$1], [],[ - sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no - ;; - -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` - else - case $host_os in - freebsd[[123]]*) objformat=aout ;; - *) objformat=elf ;; - esac - fi - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes - ;; - freebsd3.[[01]]* | freebsdelf3.[[01]]*) - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ - freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - *) # from 4.6 on, and DragonFly - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - esac - ;; - -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - version_type=sunos - need_lib_prefix=no - need_version=no - case $host_cpu in - ia64*) - shrext_cmds='.so' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.so" - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - if test "X$HPUX_IA64_MODE" = X32; then - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" - else - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" - fi - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) - shrext_cmds='.sl' - dynamic_linker="$host_os dld.sl" - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - ;; - esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; - -interix[[3-9]]*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux - else - version_type=irix - fi ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") - libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") - libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") - libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - hardcode_into_libs=yes - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux*oldld* | linux*aout* | linux*coff*) - dynamic_linker=no - ;; - -# This must be Linux ELF. -linux* | k*bsd*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # Some binutils ld are patched to set DT_RUNPATH - save_LDFLAGS=$LDFLAGS - save_libdir=$libdir - eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ - LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" - AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], - [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], - [shlibpath_overrides_runpath=yes])]) - LDFLAGS=$save_LDFLAGS - libdir=$save_libdir - - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # Add ABI-specific directories to the system library path. - sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" - - # Append ld.so.conf contents to the search path - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" - fi - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; - -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - -newsos6) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -*nto* | *qnx*) - version_type=qnx - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='ldqnx.so' - ;; - -openbsd*) - version_type=sunos - sys_lib_dlsearch_path_spec="/usr/lib" - need_lib_prefix=no - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. - case $host_os in - openbsd3.3 | openbsd3.3.*) need_version=yes ;; - *) need_version=no ;; - esac - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case $host_os in - openbsd2.[[89]] | openbsd2.[[89]].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac - else - shlibpath_overrides_runpath=yes - fi - ;; - -os2*) - libname_spec='$name' - shrext_cmds=".dll" - need_lib_prefix=no - library_names_spec='$libname${shared_ext} $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; - -osf3* | osf4* | osf5*) - version_type=osf - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - ;; - -rdos*) - dynamic_linker=no - ;; - -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes - ;; - -sysv4 | sysv4.3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; - -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' - soname_spec='$libname${shared_ext}.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=freebsd-elf - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - if test "$with_gnu_ld" = yes; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac - fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; - -tpf*) - # TPF is a cross-target only. Preferred cross-host = GNU/Linux. - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -uts4*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -*) - dynamic_linker=no - ;; -esac -AC_MSG_RESULT([$dynamic_linker]) -test "$dynamic_linker" = no && can_build_shared=no - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi - -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then - sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" -fi -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then - sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" -fi - -_LT_DECL([], [variables_saved_for_relink], [1], - [Variables whose values should be saved in libtool wrapper scripts and - restored at link time]) -_LT_DECL([], [need_lib_prefix], [0], - [Do we need the "lib" prefix for modules?]) -_LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) -_LT_DECL([], [version_type], [0], [Library versioning type]) -_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) -_LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) -_LT_DECL([], [shlibpath_overrides_runpath], [0], - [Is shlibpath searched before the hard-coded library search path?]) -_LT_DECL([], [libname_spec], [1], [Format of library name prefix]) -_LT_DECL([], [library_names_spec], [1], - [[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]]) -_LT_DECL([], [soname_spec], [1], - [[The coded name of the library, if different from the real name]]) -_LT_DECL([], [postinstall_cmds], [2], - [Command to use after installation of a shared archive]) -_LT_DECL([], [postuninstall_cmds], [2], - [Command to use after uninstallation of a shared archive]) -_LT_DECL([], [finish_cmds], [2], - [Commands used to finish a libtool library installation in a directory]) -_LT_DECL([], [finish_eval], [1], - [[As "finish_cmds", except a single script fragment to be evaled but - not shown]]) -_LT_DECL([], [hardcode_into_libs], [0], - [Whether we should hardcode library paths into libraries]) -_LT_DECL([], [sys_lib_search_path_spec], [2], - [Compile-time system search path for libraries]) -_LT_DECL([], [sys_lib_dlsearch_path_spec], [2], - [Run-time system search path for libraries]) -])# _LT_SYS_DYNAMIC_LINKER - - -# _LT_PATH_TOOL_PREFIX(TOOL) -# -------------------------- -# find a file program which can recognize shared library -AC_DEFUN([_LT_PATH_TOOL_PREFIX], -[m4_require([_LT_DECL_EGREP])dnl -AC_MSG_CHECKING([for $1]) -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, -[case $MAGIC_CMD in -[[\\/*] | ?:[\\/]*]) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; -*) - lt_save_MAGIC_CMD="$MAGIC_CMD" - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -dnl $ac_dummy forces splitting on constant user-supplied paths. -dnl POSIX.2 word splitting is done only on the output of word expansions, -dnl not every word. This closes a longstanding sh security hole. - ac_dummy="m4_if([$2], , $PATH, [$2])" - for ac_dir in $ac_dummy; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$1; then - lt_cv_path_MAGIC_CMD="$ac_dir/$1" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - $EGREP "$file_magic_regex" > /dev/null; then - : - else - cat <<_LT_EOF 1>&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -_LT_EOF - fi ;; - esac - fi - break - fi - done - IFS="$lt_save_ifs" - MAGIC_CMD="$lt_save_MAGIC_CMD" - ;; -esac]) -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - AC_MSG_RESULT($MAGIC_CMD) -else - AC_MSG_RESULT(no) -fi -_LT_DECL([], [MAGIC_CMD], [0], - [Used to examine libraries when file_magic_cmd begins with "file"])dnl -])# _LT_PATH_TOOL_PREFIX - -# Old name: -AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) - - -# _LT_PATH_MAGIC -# -------------- -# find a file program which can recognize a shared library -m4_defun([_LT_PATH_MAGIC], -[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) - else - MAGIC_CMD=: - fi -fi -])# _LT_PATH_MAGIC - - -# LT_PATH_LD -# ---------- -# find the pathname to the GNU or non-GNU linker -AC_DEFUN([LT_PATH_LD], -[AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -m4_require([_LT_DECL_SED])dnl -m4_require([_LT_DECL_EGREP])dnl - -AC_ARG_WITH([gnu-ld], - [AS_HELP_STRING([--with-gnu-ld], - [assume the C compiler uses GNU ld @<:@default=no@:>@])], - [test "$withval" = no || with_gnu_ld=yes], - [with_gnu_ld=no])dnl - -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - AC_MSG_CHECKING([for ld used by $CC]) - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [[\\/]]* | ?:[[\\/]]*) - re_direlt='/[[^/]][[^/]]*/\.\./' - # Canonicalize the pathname of ld - ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` - while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do - ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test "$with_gnu_ld" = yes; then - AC_MSG_CHECKING([for GNU ld]) -else - AC_MSG_CHECKING([for non-GNU ld]) -fi -AC_CACHE_VAL(lt_cv_path_LD, -[if test -z "$LD"; then - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - lt_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null 2>&1; then - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' - lt_cv_file_magic_cmd='func_win32_libid' - else - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' - fi - ;; - -cegcc) - # use the weaker test based on 'objdump'. See mingw*. - lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' - ;; - -darwin* | rhapsody*) - lt_cv_deplibs_check_method=pass_all - ;; - -freebsd* | dragonfly*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - ;; - esac - else - lt_cv_deplibs_check_method=pass_all - fi - ;; - -gnu*) - lt_cv_deplibs_check_method=pass_all - ;; - -hpux10.20* | hpux11*) - lt_cv_file_magic_cmd=/usr/bin/file - case $host_cpu in - ia64*) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so - ;; - hppa*64*) - [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl - ;; - *) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' - lt_cv_file_magic_test_file=/usr/lib/libc.sl - ;; - esac - ;; - -interix[[3-9]]*) - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' - ;; - -irix5* | irix6* | nonstopux*) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - lt_cv_deplibs_check_method=pass_all - ;; - -# This must be Linux ELF. -linux* | k*bsd*-gnu) - lt_cv_deplibs_check_method=pass_all - ;; - -netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' - fi - ;; - -newos6*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libnls.so - ;; - -*nto* | *qnx*) - lt_cv_deplibs_check_method=pass_all - ;; - -openbsd*) - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' - fi - ;; - -osf3* | osf4* | osf5*) - lt_cv_deplibs_check_method=pass_all - ;; - -rdos*) - lt_cv_deplibs_check_method=pass_all - ;; - -solaris*) - lt_cv_deplibs_check_method=pass_all - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; - -sysv4 | sysv4.3*) - case $host_vendor in - motorola) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` - ;; - ncr) - lt_cv_deplibs_check_method=pass_all - ;; - sequent) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' - ;; - sni) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" - lt_cv_file_magic_test_file=/lib/libc.so - ;; - siemens) - lt_cv_deplibs_check_method=pass_all - ;; - pc) - lt_cv_deplibs_check_method=pass_all - ;; - esac - ;; - -tpf*) - lt_cv_deplibs_check_method=pass_all - ;; -esac -]) -file_magic_cmd=$lt_cv_file_magic_cmd -deplibs_check_method=$lt_cv_deplibs_check_method -test -z "$deplibs_check_method" && deplibs_check_method=unknown - -_LT_DECL([], [deplibs_check_method], [1], - [Method to check whether dependent libraries are shared objects]) -_LT_DECL([], [file_magic_cmd], [1], - [Command to use when deplibs_check_method == "file_magic"]) -])# _LT_CHECK_MAGIC_METHOD - - -# LT_PATH_NM -# ---------- -# find the pathname to a BSD- or MS-compatible name lister -AC_DEFUN([LT_PATH_NM], -[AC_REQUIRE([AC_PROG_CC])dnl -AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, -[if test -n "$NM"; then - # Let the user override the test. - lt_cv_path_NM="$NM" -else - lt_nm_to_check="${ac_tool_prefix}nm" - if test -n "$ac_tool_prefix" && test "$build" = "$host"; then - lt_nm_to_check="$lt_nm_to_check nm" - fi - for lt_tmp_nm in $lt_nm_to_check; do - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - tmp_nm="$ac_dir/$lt_tmp_nm" - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then - # Check to see if the nm accepts a BSD-compat flag. - # Adding the `sed 1q' prevents false positives on HP-UX, which says: - # nm: unknown option "B" ignored - # Tru64's nm complains that /dev/null is an invalid object file - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in - */dev/null* | *'Invalid file or object type'*) - lt_cv_path_NM="$tmp_nm -B" - break - ;; - *) - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in - */dev/null*) - lt_cv_path_NM="$tmp_nm -p" - break - ;; - *) - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags - ;; - esac - ;; - esac - fi - done - IFS="$lt_save_ifs" - done - : ${lt_cv_path_NM=no} -fi]) -if test "$lt_cv_path_NM" != "no"; then - NM="$lt_cv_path_NM" -else - # Didn't find any BSD compatible name lister, look for dumpbin. - AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :) - AC_SUBST([DUMPBIN]) - if test "$DUMPBIN" != ":"; then - NM="$DUMPBIN" - fi -fi -test -z "$NM" && NM=nm -AC_SUBST([NM]) -_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl - -AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], - [lt_cv_nm_interface="BSD nm" - echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD) - (eval "$ac_compile" 2>conftest.err) - cat conftest.err >&AS_MESSAGE_LOG_FD - (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) - (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) - cat conftest.err >&AS_MESSAGE_LOG_FD - (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD) - cat conftest.out >&AS_MESSAGE_LOG_FD - if $GREP 'External.*some_variable' conftest.out > /dev/null; then - lt_cv_nm_interface="MS dumpbin" - fi - rm -f conftest*]) -])# LT_PATH_NM - -# Old names: -AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) -AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AM_PROG_NM], []) -dnl AC_DEFUN([AC_PROG_NM], []) - - -# LT_LIB_M -# -------- -# check for math library -AC_DEFUN([LT_LIB_M], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -LIBM= -case $host in -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) - # These system don't have libm, or don't need it - ;; -*-ncr-sysv4.3*) - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") - AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") - ;; -*) - AC_CHECK_LIB(m, cos, LIBM="-lm") - ;; -esac -AC_SUBST([LIBM]) -])# LT_LIB_M - -# Old name: -AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_CHECK_LIBM], []) - - -# _LT_COMPILER_NO_RTTI([TAGNAME]) -# ------------------------------- -m4_defun([_LT_COMPILER_NO_RTTI], -[m4_require([_LT_TAG_COMPILER])dnl - -_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= - -if test "$GCC" = yes; then - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' - - _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], - lt_cv_prog_compiler_rtti_exceptions, - [-fno-rtti -fno-exceptions], [], - [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) -fi -_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1], - [Compiler flag to turn off builtin functions]) -])# _LT_COMPILER_NO_RTTI - - -# _LT_CMD_GLOBAL_SYMBOLS -# ---------------------- -m4_defun([_LT_CMD_GLOBAL_SYMBOLS], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([LT_PATH_NM])dnl -AC_REQUIRE([LT_PATH_LD])dnl -m4_require([_LT_DECL_SED])dnl -m4_require([_LT_DECL_EGREP])dnl -m4_require([_LT_TAG_COMPILER])dnl - -# Check for command to grab the raw symbol name followed by C symbol from nm. -AC_MSG_CHECKING([command to parse $NM output from $compiler object]) -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], -[ -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] - -# Character class describing NM global symbol codes. -symcode='[[BCDEGRST]]' - -# Regexp to match symbols that can be accessed directly from C. -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' - -# Define system-specific variables. -case $host_os in -aix*) - symcode='[[BCDT]]' - ;; -cygwin* | mingw* | pw32* | cegcc*) - symcode='[[ABCDGISTW]]' - ;; -hpux*) - if test "$host_cpu" = ia64; then - symcode='[[ABCDEGRST]]' - fi - ;; -irix* | nonstopux*) - symcode='[[BCDEGRST]]' - ;; -osf*) - symcode='[[BCDEGQRST]]' - ;; -solaris*) - symcode='[[BDRT]]' - ;; -sco3.2v5*) - symcode='[[DT]]' - ;; -sysv4.2uw2*) - symcode='[[DT]]' - ;; -sysv5* | sco5v6* | unixware* | OpenUNIX*) - symcode='[[ABDT]]' - ;; -sysv4) - symcode='[[DFNSTU]]' - ;; -esac - -# If we're using GNU nm, then use its standard symbol codes. -case `$NM -V 2>&1` in -*GNU* | *'with BFD'*) - symcode='[[ABCDGIRSTW]]' ;; -esac - -# Transform an extracted symbol line into a proper C declaration. -# Some systems (esp. on ia64) link data and code symbols differently, -# so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\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/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'" - -# Handle CRLF in mingw tool chain -opt_cr= -case $build_os in -mingw*) - opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp - ;; -esac - -# Try without a prefix underscore, then with it. -for ac_symprfx in "" "_"; do - - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. - symxfrm="\\1 $ac_symprfx\\2 \\2" - - # Write the raw and C identifiers. - if test "$lt_cv_nm_interface" = "MS dumpbin"; then - # Fake it for dumpbin and say T for any non-static function - # and D for any global variable. - # Also find C++ and __fastcall symbols from MSVC++, - # which start with @ or ?. - lt_cv_sys_global_symbol_pipe="$AWK ['"\ -" {last_section=section; section=\$ 3};"\ -" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ -" \$ 0!~/External *\|/{next};"\ -" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ -" {if(hide[section]) next};"\ -" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ -" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ -" s[1]~/^[@?]/{print s[1], s[1]; next};"\ -" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ -" ' prfx=^$ac_symprfx]" - else - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" - fi - - # Check to see that the pipe works correctly. - pipe_works=no - - rm -f conftest* - cat > conftest.$ac_ext <<_LT_EOF -#ifdef __cplusplus -extern "C" { -#endif -char nm_test_var; -void nm_test_func(void); -void nm_test_func(void){} -#ifdef __cplusplus -} -#endif -int main(){nm_test_var='a';nm_test_func();return(0);} -_LT_EOF - - if AC_TRY_EVAL(ac_compile); then - # Now try to grab the symbols. - nlist=conftest.nm - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if $GREP ' nm_test_var$' "$nlist" >/dev/null; then - if $GREP ' nm_test_func$' "$nlist" >/dev/null; then - cat <<_LT_EOF > conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif - -_LT_EOF - # Now generate the symbol file. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' - - cat <<_LT_EOF >> conftest.$ac_ext - -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - void *address; -} -lt__PROGRAM__LTX_preloaded_symbols[[]] = -{ - { "@PROGRAM@", (void *) 0 }, -_LT_EOF - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext - cat <<\_LT_EOF >> conftest.$ac_ext - {0, (void *) 0} -}; - -/* This works around a problem in FreeBSD linker */ -#ifdef FREEBSD_WORKAROUND -static const void *lt_preloaded_setup() { - return lt__PROGRAM__LTX_preloaded_symbols; -} -#endif - -#ifdef __cplusplus -} -#endif -_LT_EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - lt_save_LIBS="$LIBS" - lt_save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then - pipe_works=yes - fi - LIBS="$lt_save_LIBS" - CFLAGS="$lt_save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD - fi - else - echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD - fi - else - echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD - cat conftest.$ac_ext >&5 - fi - rm -rf conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done -]) -if test -z "$lt_cv_sys_global_symbol_pipe"; then - lt_cv_sys_global_symbol_to_cdecl= -fi -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then - AC_MSG_RESULT(failed) -else - AC_MSG_RESULT(ok) -fi - -_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], - [Take the output of nm and produce a listing of raw symbols and C names]) -_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], - [Transform the output of nm in a proper C declaration]) -_LT_DECL([global_symbol_to_c_name_address], - [lt_cv_sys_global_symbol_to_c_name_address], [1], - [Transform the output of nm in a C name address pair]) -_LT_DECL([global_symbol_to_c_name_address_lib_prefix], - [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], - [Transform the output of nm in a C name address pair when lib prefix is needed]) -]) # _LT_CMD_GLOBAL_SYMBOLS - - -# _LT_COMPILER_PIC([TAGNAME]) -# --------------------------- -m4_defun([_LT_COMPILER_PIC], -[m4_require([_LT_TAG_COMPILER])dnl -_LT_TAGVAR(lt_prog_compiler_wl, $1)= -_LT_TAGVAR(lt_prog_compiler_pic, $1)= -_LT_TAGVAR(lt_prog_compiler_static, $1)= - -AC_MSG_CHECKING([for $compiler option to produce PIC]) -m4_if([$1], [CXX], [ - # C++ specific cases for pic, static, wl, etc. - if test "$GXX" = yes; then - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - m68k) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' - ;; - esac - ;; - - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - mingw* | cygwin* | os2* | pw32* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - m4_if([$1], [GCJ], [], - [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' - ;; - *djgpp*) - # DJGPP does not support shared libraries at all - _LT_TAGVAR(lt_prog_compiler_pic, $1)= - ;; - interix[[3-9]]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - sysv4*MP*) - if test -d /usr/nec; then - _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic - fi - ;; - hpux*) - # PIC is the default for 64-bit PA HP-UX, but not for 32-bit - # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag - # sets the default TLS model and affects inlining. - case $host_cpu in - hppa*64*) - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - ;; - *qnx* | *nto*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - else - case $host_os in - aix[[4-9]]*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - else - _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' - fi - ;; - chorus*) - case $cc_basename in - cxch68*) - # Green Hills C++ Compiler - # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" - ;; - esac - ;; - dgux*) - case $cc_basename in - ec++*) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - ;; - ghcx*) - # Green Hills C++ Compiler - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - *) - ;; - esac - ;; - freebsd* | dragonfly*) - # FreeBSD uses GNU C++ - ;; - hpux9* | hpux10* | hpux11*) - case $cc_basename in - CC*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' - if test "$host_cpu" != ia64; then - _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - fi - ;; - aCC*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - ;; - esac - ;; - *) - ;; - esac - ;; - interix*) - # This is c89, which is MS Visual C++ (no shared libs) - # Anyone wants to do a port? - ;; - irix5* | irix6* | nonstopux*) - case $cc_basename in - CC*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - # CC pic flag -KPIC is the default. - ;; - *) - ;; - esac - ;; - linux* | k*bsd*-gnu) - case $cc_basename in - KCC*) - # KAI C++ Compiler - _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - ecpc* ) - # old Intel C++ for x86_64 which still supported -KPIC. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - icpc* ) - # Intel C++, used to be incompatible with GCC. - # ICC 10 doesn't accept -KPIC any more. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - pgCC* | pgcpp*) - # Portland Group C++ compiler - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - cxx*) - # Compaq C++ - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - _LT_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - xlc* | xlC*) - # IBM XL 8.0 on PPC - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - ;; - esac - ;; - esac - ;; - lynxos*) - ;; - m88k*) - ;; - mvs*) - case $cc_basename in - cxx*) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' - ;; - *) - ;; - esac - ;; - netbsd*) - ;; - *qnx* | *nto*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' - ;; - osf3* | osf4* | osf5*) - case $cc_basename in - KCC*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' - ;; - RCC*) - # Rational C++ 2.4.1 - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - cxx*) - # Digital/Compaq C++ - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - _LT_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - *) - ;; - esac - ;; - psos*) - ;; - solaris*) - case $cc_basename in - CC*) - # Sun C++ 4.2, 5.x and Centerline C++ - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - ;; - gcx*) - # Green Hills C++ Compiler - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' - ;; - *) - ;; - esac - ;; - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - lcc*) - # Lucid - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - *) - ;; - esac - ;; - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - case $cc_basename in - CC*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - esac - ;; - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - ;; - *) - ;; - esac - ;; - vxworks*) - ;; - *) - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - esac - fi -], -[ - if test "$GCC" = yes; then - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - m68k) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' - ;; - esac - ;; - - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - - mingw* | cygwin* | pw32* | os2* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - m4_if([$1], [GCJ], [], - [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) - ;; - - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' - ;; - - hpux*) - # PIC is the default for 64-bit PA HP-UX, but not for 32-bit - # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag - # sets the default TLS model and affects inlining. - case $host_cpu in - hppa*64*) - # +Z the default - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - ;; - - interix[[3-9]]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - - msdosdjgpp*) - # Just because we use GCC doesn't mean we suddenly get shared libraries - # on systems that don't support them. - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - enable_shared=no - ;; - - *nto* | *qnx*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic - fi - ;; - - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - else - # PORTME Check for flag to pass linker flags through the system compiler. - case $host_os in - aix*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - else - _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' - fi - ;; - - mingw* | cygwin* | pw32* | os2* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - m4_if([$1], [GCJ], [], - [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) - ;; - - hpux9* | hpux10* | hpux11*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - ;; - esac - # Is there a better lt_prog_compiler_static that works with the bundled CC? - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' - ;; - - irix5* | irix6* | nonstopux*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # PIC (with -KPIC) is the default. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - - linux* | k*bsd*-gnu) - case $cc_basename in - # old Intel for x86_64 which still supported -KPIC. - ecc*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - # icc used to be incompatible with GCC. - # ICC 10 doesn't accept -KPIC any more. - icc* | ifort*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - # Lahey Fortran 8.1. - lf95*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' - _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' - ;; - pgcc* | pgf77* | pgf90* | pgf95*) - # Portland Group compilers (*not* the Pentium gcc compiler, - # which looks to be a dead project) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - ccc*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # All Alpha code is PIC. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - xl*) - # IBM XL C 8.0/Fortran 10.1 on PPC - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C 5.9 - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - ;; - *Sun\ F*) - # Sun Fortran 8.3 passes all unrecognized flags to the linker - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_TAGVAR(lt_prog_compiler_wl, $1)='' - ;; - esac - ;; - esac - ;; - - newsos6) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - *nto* | *qnx*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' - ;; - - osf3* | osf4* | osf5*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # All OSF/1 code is PIC. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - - rdos*) - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - - solaris*) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - case $cc_basename in - f77* | f90* | f95*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; - *) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; - esac - ;; - - sunos4*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - sysv4 | sysv4.2uw2* | sysv4.3*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - sysv4*MP*) - if test -d /usr/nec ;then - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - unicos*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - - uts4*) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - *) - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - esac - fi -]) -case $host_os in - # For platforms which do not support PIC, -DPIC is meaningless: - *djgpp*) - _LT_TAGVAR(lt_prog_compiler_pic, $1)= - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" - ;; -esac -AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) -_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], - [How to pass a linker flag through the compiler]) - -# -# Check to make sure the PIC flag actually works. -# -if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then - _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works], - [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)], - [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [], - [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in - "" | " "*) ;; - *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;; - esac], - [_LT_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) -fi -_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], - [Additional compiler flags for building library objects]) - -# -# Check to make sure the static flag actually works. -# -wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\" -_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], - _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1), - $lt_tmp_static_flag, - [], - [_LT_TAGVAR(lt_prog_compiler_static, $1)=]) -_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1], - [Compiler flag to prevent dynamic linking]) -])# _LT_COMPILER_PIC - - -# _LT_LINKER_SHLIBS([TAGNAME]) -# ---------------------------- -# See if the linker supports building shared libraries. -m4_defun([_LT_LINKER_SHLIBS], -[AC_REQUIRE([LT_PATH_LD])dnl -AC_REQUIRE([LT_PATH_NM])dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_DECL_EGREP])dnl -m4_require([_LT_DECL_SED])dnl -m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl -m4_require([_LT_TAG_COMPILER])dnl -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) -m4_if([$1], [CXX], [ - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - case $host_os in - aix[[4-9]]*) - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - else - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - fi - ;; - pw32*) - _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" - ;; - cygwin* | mingw* | cegcc*) - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' - ;; - *) - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - ;; - esac - _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] -], [ - runpath_var= - _LT_TAGVAR(allow_undefined_flag, $1)= - _LT_TAGVAR(always_export_symbols, $1)=no - _LT_TAGVAR(archive_cmds, $1)= - _LT_TAGVAR(archive_expsym_cmds, $1)= - _LT_TAGVAR(compiler_needs_object, $1)=no - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no - _LT_TAGVAR(export_dynamic_flag_spec, $1)= - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - _LT_TAGVAR(hardcode_automatic, $1)=no - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_direct_absolute, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= - _LT_TAGVAR(hardcode_libdir_separator, $1)= - _LT_TAGVAR(hardcode_minus_L, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_TAGVAR(inherit_rpath, $1)=no - _LT_TAGVAR(link_all_deplibs, $1)=unknown - _LT_TAGVAR(module_cmds, $1)= - _LT_TAGVAR(module_expsym_cmds, $1)= - _LT_TAGVAR(old_archive_from_new_cmds, $1)= - _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= - _LT_TAGVAR(thread_safe_flag_spec, $1)= - _LT_TAGVAR(whole_archive_flag_spec, $1)= - # include_expsyms should be a list of space-separated symbols to be *always* - # included in the symbol list - _LT_TAGVAR(include_expsyms, $1)= - # exclude_expsyms can be an extended regexp of symbols to exclude - # it will be wrapped by ` (' and `)$', so one must not match beginning or - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', - # as well as any symbol that contains `d'. - _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out - # platforms (ab)use it in PIC code, but their linkers get confused if - # the symbol is explicitly referenced. Since portable code cannot - # rely on this symbol name, it's probably fine to never include it in - # preloaded symbol tables. - # Exclude shared library initialization/finalization symbols. -dnl Note also adjust exclude_expsyms for C++ above. - extract_expsyms_cmds= - - case $host_os in - cygwin* | mingw* | pw32* | cegcc*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no - fi - ;; - interix*) - # we just hope/assume this is gcc and not c89 (= MSVC++) - with_gnu_ld=yes - ;; - openbsd*) - with_gnu_ld=no - ;; - esac - - _LT_TAGVAR(ld_shlibs, $1)=yes - if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' - - # Set some defaults for GNU ld with shared library support. These - # are reset later if shared libraries are not supported. Putting them - # here allows them to be overridden if necessary. - runpath_var=LD_RUN_PATH - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - _LT_TAGVAR(whole_archive_flag_spec, $1)= - fi - supports_anon_versioning=no - case `$LD -v 2>&1` in - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... - *\ 2.11.*) ;; # other 2.11 versions - *) supports_anon_versioning=yes ;; - esac - - # See if GNU ld supports shared libraries. - case $host_os in - aix[[3-9]]*) - # On AIX/PPC, the GNU linker is very broken - if test "$host_cpu" != ia64; then - _LT_TAGVAR(ld_shlibs, $1)=no - cat <<_LT_EOF 1>&2 - -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. - -_LT_EOF - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='' - ;; - m68k) - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_minus_L, $1)=yes - ;; - esac - ;; - - beos*) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - cygwin* | mingw* | pw32* | cegcc*) - # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, - # as there is no search path for DLLs. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_TAGVAR(always_export_symbols, $1)=no - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' - - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - interix[[3-9]]*) - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - - gnu* | linux* | tpf* | k*bsd*-gnu) - tmp_diet=no - if test "$host_os" = linux-dietlibc; then - case $cc_basename in - diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) - esac - fi - if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ - && test "$tmp_diet" = no - then - tmp_addflag= - tmp_sharedflag='-shared' - case $cc_basename,$host_cpu in - pgcc*) # Portland Group C compiler - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag' - ;; - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag -Mnomain' ;; - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 - tmp_addflag=' -i_dynamic' ;; - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 - tmp_addflag=' -i_dynamic -nofor_main' ;; - ifc* | ifort*) # Intel Fortran compiler - tmp_addflag=' -nofor_main' ;; - lf95*) # Lahey Fortran 8.1 - _LT_TAGVAR(whole_archive_flag_spec, $1)= - tmp_sharedflag='--shared' ;; - xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) - tmp_sharedflag='-qmkshrobj' - tmp_addflag= ;; - esac - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) # Sun C 5.9 - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - _LT_TAGVAR(compiler_needs_object, $1)=yes - tmp_sharedflag='-G' ;; - *Sun\ F*) # Sun Fortran 8.3 - tmp_sharedflag='-G' ;; - esac - _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - - if test "x$supports_anon_versioning" = xyes; then - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - fi - - case $cc_basename in - xlf*) - # IBM XL Fortran 10.1 on PPC cannot create shared libs itself - _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' - _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' - if test "x$supports_anon_versioning" = xyes; then - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' - fi - ;; - esac - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; - - solaris*) - if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then - _LT_TAGVAR(ld_shlibs, $1)=no - cat <<_LT_EOF 1>&2 - -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -_LT_EOF - elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) - case `$LD -v 2>&1` in - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) - _LT_TAGVAR(ld_shlibs, $1)=no - cat <<_LT_EOF 1>&2 - -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not -*** reliably create shared libraries on SCO systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -_LT_EOF - ;; - *) - # For security reasons, it is highly recommended that you always - # use absolute paths for naming shared libraries, and exclude the - # DT_RUNPATH tag from executables and libraries. But doing so - # requires that you compile everything twice, which is a pain. - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - - sunos4*) - _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - *) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - - if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then - runpath_var= - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_TAGVAR(export_dynamic_flag_spec, $1)= - _LT_TAGVAR(whole_archive_flag_spec, $1)= - fi - else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_TAGVAR(always_export_symbols, $1)=yes - _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - _LT_TAGVAR(hardcode_minus_L, $1)=yes - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - _LT_TAGVAR(hardcode_direct, $1)=unsupported - fi - ;; - - aix[[4-9]]*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - else - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - fi - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) - for ld_flag in $LDFLAGS; do - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then - aix_use_runtimelinking=yes - break - fi - done - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - _LT_TAGVAR(archive_cmds, $1)='' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_TAGVAR(link_all_deplibs, $1)=yes - _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' - - if test "$GCC" = yes; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && - strings "$collect2name" | $GREP resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - _LT_TAGVAR(hardcode_direct, $1)=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)= - fi - ;; - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - _LT_TAGVAR(always_export_symbols, $1)=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - _LT_TAGVAR(allow_undefined_flag, $1)='-berok' - # Determine the default libpath from the value encoded in an - # empty executable. - _LT_SYS_MODULE_PATH_AIX - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' - _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" - _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an - # empty executable. - _LT_SYS_MODULE_PATH_AIX - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes - # This is similar to how AIX traditionally builds its shared libraries. - _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='' - ;; - m68k) - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_minus_L, $1)=yes - ;; - esac - ;; - - bsdi[[45]]*) - _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic - ;; - - cygwin* | mingw* | pw32* | cegcc*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=".dll" - # FIXME: Setting linknames here is a bad hack. - _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' - # FIXME: Should let the user specify the lib program. - _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' - _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - ;; - - darwin* | rhapsody*) - _LT_DARWIN_LINKER_FEATURES($1) - ;; - - dgux*) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - freebsd1*) - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | dragonfly*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - hpux9*) - if test "$GCC" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - fi - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(hardcode_direct, $1)=yes - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - ;; - - hpux10*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' - fi - if test "$with_gnu_ld" = no; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_TAGVAR(hardcode_minus_L, $1)=yes - fi - ;; - - hpux11*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - case $host_cpu in - hppa*64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - else - case $host_cpu in - hppa*64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - fi - if test "$with_gnu_ld" = no; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - case $host_cpu in - hppa*64*|ia64*) - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - *) - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_TAGVAR(hardcode_minus_L, $1)=yes - ;; - esac - fi - ;; - - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - # Try to use the -exported_symbol ld option, if it does not - # work, assume that -exports_file does not work either and - # implicitly export all symbols. - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" - AC_LINK_IFELSE(int foo(void) {}, - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' - ) - LDFLAGS="$save_LDFLAGS" - else - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' - fi - _LT_TAGVAR(archive_cmds_need_lc, $1)='no' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(inherit_rpath, $1)=yes - _LT_TAGVAR(link_all_deplibs, $1)=yes - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - newsos6) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - *nto* | *qnx*) - ;; - - openbsd*) - if test -f /usr/libexec/ld.so; then - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - else - case $host_os in - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - ;; - esac - fi - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - os2*) - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; - - osf3*) - if test "$GCC" = yes; then - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - fi - _LT_TAGVAR(archive_cmds_need_lc, $1)='no' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - ;; - - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - else - _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ - $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' - - # Both c and cxx compiler support -rpath directly - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - fi - _LT_TAGVAR(archive_cmds_need_lc, $1)='no' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - ;; - - solaris*) - _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' - if test "$GCC" = yes; then - wlarc='${wl}' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' - else - case `$CC -V 2>&1` in - *"Compilers 5.0"*) - wlarc='' - _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' - ;; - *) - wlarc='${wl}' - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' - ;; - esac - fi - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. GCC discards it without `$wl', - # but is careful enough not to reorder. - # Supported since Solaris 2.6 (maybe 2.5.1?) - if test "$GCC" = yes; then - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - else - _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' - fi - ;; - esac - _LT_TAGVAR(link_all_deplibs, $1)=yes - ;; - - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - sysv4) - case $host_vendor in - sni) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' - _LT_TAGVAR(hardcode_direct, $1)=no - ;; - motorola) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - sysv4.3*) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - _LT_TAGVAR(ld_shlibs, $1)=yes - fi - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_TAGVAR(link_all_deplibs, $1)=yes - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - uts4*) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - *) - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - - if test x$host_vendor = xsni; then - case $host in - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym' - ;; - esac - fi - fi -]) -AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) -test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no - -_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld - -_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl -_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl -_LT_DECL([], [extract_expsyms_cmds], [2], - [The commands to extract the exported symbol list from a shared archive]) - -# -# Do we need to explicitly link libc? -# -case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in -x|xyes) - # Assume -lc should be added - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes - - if test "$enable_shared" = yes && test "$GCC" = yes; then - case $_LT_TAGVAR(archive_cmds, $1) in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - AC_MSG_CHECKING([whether -lc should be explicitly linked in]) - $RM conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - if AC_TRY_EVAL(ac_compile) 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) - pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) - _LT_TAGVAR(allow_undefined_flag, $1)= - if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) - then - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - else - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes - fi - _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $RM conftest* - AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)]) - ;; - esac - fi - ;; -esac - -_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0], - [Whether or not to add -lc for building shared libraries]) -_LT_TAGDECL([allow_libtool_libs_with_static_runtimes], - [enable_shared_with_static_runtimes], [0], - [Whether or not to disallow shared libs when runtime libs are static]) -_LT_TAGDECL([], [export_dynamic_flag_spec], [1], - [Compiler flag to allow reflexive dlopens]) -_LT_TAGDECL([], [whole_archive_flag_spec], [1], - [Compiler flag to generate shared objects directly from archives]) -_LT_TAGDECL([], [compiler_needs_object], [1], - [Whether the compiler copes with passing no objects directly]) -_LT_TAGDECL([], [old_archive_from_new_cmds], [2], - [Create an old-style archive from a shared archive]) -_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2], - [Create a temporary old-style archive to link instead of a shared archive]) -_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive]) -_LT_TAGDECL([], [archive_expsym_cmds], [2]) -_LT_TAGDECL([], [module_cmds], [2], - [Commands used to build a loadable module if different from building - a shared archive.]) -_LT_TAGDECL([], [module_expsym_cmds], [2]) -_LT_TAGDECL([], [with_gnu_ld], [1], - [Whether we are building with GNU ld or not]) -_LT_TAGDECL([], [allow_undefined_flag], [1], - [Flag that allows shared libraries with undefined symbols to be built]) -_LT_TAGDECL([], [no_undefined_flag], [1], - [Flag that enforces no undefined symbols]) -_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], - [Flag to hardcode $libdir into a binary during linking. - This must work even if $libdir does not exist]) -_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1], - [[If ld is used when linking, flag to hardcode $libdir into a binary - during linking. This must work even if $libdir does not exist]]) -_LT_TAGDECL([], [hardcode_libdir_separator], [1], - [Whether we need a single "-rpath" flag with a separated argument]) -_LT_TAGDECL([], [hardcode_direct], [0], - [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes - DIR into the resulting binary]) -_LT_TAGDECL([], [hardcode_direct_absolute], [0], - [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]) -_LT_TAGDECL([], [hardcode_minus_L], [0], - [Set to "yes" if using the -LDIR flag during linking hardcodes DIR - into the resulting binary]) -_LT_TAGDECL([], [hardcode_shlibpath_var], [0], - [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR - into the resulting binary]) -_LT_TAGDECL([], [hardcode_automatic], [0], - [Set to "yes" if building a shared library automatically hardcodes DIR - into the library and all subsequent libraries and executables linked - against it]) -_LT_TAGDECL([], [inherit_rpath], [0], - [Set to yes if linker adds runtime paths of dependent libraries - to runtime path list]) -_LT_TAGDECL([], [link_all_deplibs], [0], - [Whether libtool must link a program against all its dependency libraries]) -_LT_TAGDECL([], [fix_srcfile_path], [1], - [Fix the shell variable $srcfile for the compiler]) -_LT_TAGDECL([], [always_export_symbols], [0], - [Set to "yes" if exported symbols are required]) -_LT_TAGDECL([], [export_symbols_cmds], [2], - [The commands to list exported symbols]) -_LT_TAGDECL([], [exclude_expsyms], [1], - [Symbols that should not be listed in the preloaded symbols]) -_LT_TAGDECL([], [include_expsyms], [1], - [Symbols that must always be exported]) -_LT_TAGDECL([], [prelink_cmds], [2], - [Commands necessary for linking programs (against libraries) with templates]) -_LT_TAGDECL([], [file_list_spec], [1], - [Specify filename containing input files]) -dnl FIXME: Not yet implemented -dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], -dnl [Compiler flag to generate thread safe objects]) -])# _LT_LINKER_SHLIBS - - -# _LT_LANG_C_CONFIG([TAG]) -# ------------------------ -# Ensure that the configuration variables for a C compiler are suitably -# defined. These variables are subsequently used by _LT_CONFIG to write -# the compiler configuration to `libtool'. -m4_defun([_LT_LANG_C_CONFIG], -[m4_require([_LT_DECL_EGREP])dnl -lt_save_CC="$CC" -AC_LANG_PUSH(C) - -# Source file extension for C test sources. -ac_ext=c - -# Object file extension for compiled C test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="int some_variable = 0;" - -# Code to be used in simple link tests -lt_simple_link_test_code='int main(){return(0);}' - -_LT_TAG_COMPILER -# Save the default compiler, since it gets overwritten when the other -# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. -compiler_DEFAULT=$CC - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -## CAVEAT EMPTOR: -## There is no encapsulation within the following macros, do not change -## the running order or otherwise move them around unless you know exactly -## what you are doing... -if test -n "$compiler"; then - _LT_COMPILER_NO_RTTI($1) - _LT_COMPILER_PIC($1) - _LT_COMPILER_C_O($1) - _LT_COMPILER_FILE_LOCKS($1) - _LT_LINKER_SHLIBS($1) - _LT_SYS_DYNAMIC_LINKER($1) - _LT_LINKER_HARDCODE_LIBPATH($1) - LT_SYS_DLOPEN_SELF - _LT_CMD_STRIPLIB - - # Report which library types will actually be built - AC_MSG_CHECKING([if libtool supports shared libraries]) - AC_MSG_RESULT([$can_build_shared]) - - AC_MSG_CHECKING([whether to build shared libraries]) - test "$can_build_shared" = "no" && enable_shared=no - - # On AIX, shared libraries and static libraries use the same namespace, and - # are all built from PIC. - case $host_os in - aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - - aix[[4-9]]*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; - esac - AC_MSG_RESULT([$enable_shared]) - - AC_MSG_CHECKING([whether to build static libraries]) - # Make sure either enable_shared or enable_static is yes. - test "$enable_shared" = yes || enable_static=yes - AC_MSG_RESULT([$enable_static]) - - _LT_CONFIG($1) -fi -AC_LANG_POP -CC="$lt_save_CC" -])# _LT_LANG_C_CONFIG - - -# _LT_PROG_CXX -# ------------ -# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++ -# compiler, we have our own version here. -m4_defun([_LT_PROG_CXX], -[ -pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes]) -AC_PROG_CXX -if test -n "$CXX" && ( test "X$CXX" != "Xno" && - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || - (test "X$CXX" != "Xg++"))) ; then - AC_PROG_CXXCPP -else - _lt_caught_CXX_error=yes -fi -popdef([AC_MSG_ERROR]) -])# _LT_PROG_CXX - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([_LT_PROG_CXX], []) - - -# _LT_LANG_CXX_CONFIG([TAG]) -# -------------------------- -# Ensure that the configuration variables for a C++ compiler are suitably -# defined. These variables are subsequently used by _LT_CONFIG to write -# the compiler configuration to `libtool'. -m4_defun([_LT_LANG_CXX_CONFIG], -[AC_REQUIRE([_LT_PROG_CXX])dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_DECL_EGREP])dnl - -AC_LANG_PUSH(C++) -_LT_TAGVAR(archive_cmds_need_lc, $1)=no -_LT_TAGVAR(allow_undefined_flag, $1)= -_LT_TAGVAR(always_export_symbols, $1)=no -_LT_TAGVAR(archive_expsym_cmds, $1)= -_LT_TAGVAR(compiler_needs_object, $1)=no -_LT_TAGVAR(export_dynamic_flag_spec, $1)= -_LT_TAGVAR(hardcode_direct, $1)=no -_LT_TAGVAR(hardcode_direct_absolute, $1)=no -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= -_LT_TAGVAR(hardcode_libdir_separator, $1)= -_LT_TAGVAR(hardcode_minus_L, $1)=no -_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported -_LT_TAGVAR(hardcode_automatic, $1)=no -_LT_TAGVAR(inherit_rpath, $1)=no -_LT_TAGVAR(module_cmds, $1)= -_LT_TAGVAR(module_expsym_cmds, $1)= -_LT_TAGVAR(link_all_deplibs, $1)=unknown -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds -_LT_TAGVAR(no_undefined_flag, $1)= -_LT_TAGVAR(whole_archive_flag_spec, $1)= -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no - -# Source file extension for C++ test sources. -ac_ext=cpp - -# Object file extension for compiled C++ test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# No sense in running all these tests if we already determined that -# the CXX compiler isn't working. Some variables (like enable_shared) -# are currently assumed to apply to all compilers on this platform, -# and will be corrupted by setting them based on a non-working compiler. -if test "$_lt_caught_CXX_error" != yes; then - # Code to be used in simple compile tests - lt_simple_compile_test_code="int some_variable = 0;" - - # Code to be used in simple link tests - lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' - - # ltmain only uses $CC for tagged configurations so make sure $CC is set. - _LT_TAG_COMPILER - - # save warnings/boilerplate of simple test code - _LT_COMPILER_BOILERPLATE - _LT_LINKER_BOILERPLATE - - # Allow CC to be a program name with arguments. - lt_save_CC=$CC - lt_save_LD=$LD - lt_save_GCC=$GCC - GCC=$GXX - lt_save_with_gnu_ld=$with_gnu_ld - lt_save_path_LD=$lt_cv_path_LD - if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx - else - $as_unset lt_cv_prog_gnu_ld - fi - if test -n "${lt_cv_path_LDCXX+set}"; then - lt_cv_path_LD=$lt_cv_path_LDCXX - else - $as_unset lt_cv_path_LD - fi - test -z "${LDCXX+set}" || LD=$LDCXX - CC=${CXX-"c++"} - compiler=$CC - _LT_TAGVAR(compiler, $1)=$CC - _LT_CC_BASENAME([$compiler]) - - if test -n "$compiler"; then - # We don't want -fno-exception when compiling C++ code, so set the - # no_builtin_flag separately - if test "$GXX" = yes; then - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' - else - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= - fi - - if test "$GXX" = yes; then - # Set up default GNU C++ configuration - - LT_PATH_LD - - # Check if GNU C++ uses GNU ld as the underlying linker, since the - # archiving commands below assume that GNU ld is being used. - if test "$with_gnu_ld" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - - # If archive_cmds runs LD, not CC, wlarc should be empty - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to - # investigate it a little bit more. (MM) - wlarc='${wl}' - - # ancient GNU ld didn't support --whole-archive et. al. - if eval "`$CC -print-prog-name=ld` --help 2>&1" | - $GREP 'no-whole-archive' > /dev/null; then - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - _LT_TAGVAR(whole_archive_flag_spec, $1)= - fi - else - with_gnu_ld=no - wlarc= - - # A generic and very simple default shared library creation - # command for GNU C++ for the case where it uses the native - # linker, instead of GNU ld. If possible, this setting should - # overridden to take advantage of the native linker features on - # the platform it is being used on. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - fi - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' - - else - GXX=no - with_gnu_ld=no - wlarc= - fi - - # PORTME: fill in a description of your system's C++ link characteristics - AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) - _LT_TAGVAR(ld_shlibs, $1)=yes - case $host_os in - aix3*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - aix[[4-9]]*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - _LT_TAGVAR(archive_cmds, $1)='' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_TAGVAR(link_all_deplibs, $1)=yes - _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' - - if test "$GXX" = yes; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && - strings "$collect2name" | $GREP resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - _LT_TAGVAR(hardcode_direct, $1)=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)= - fi - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to - # export. - _LT_TAGVAR(always_export_symbols, $1)=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - _LT_TAGVAR(allow_undefined_flag, $1)='-berok' - # Determine the default libpath from the value encoded in an empty - # executable. - _LT_SYS_MODULE_PATH_AIX - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' - _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" - _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an - # empty executable. - _LT_SYS_MODULE_PATH_AIX - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes - # This is similar to how AIX traditionally builds its shared - # libraries. - _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - beos*) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - chorus*) - case $cc_basename in - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - cygwin* | mingw* | pw32* | cegcc*) - # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, - # as there is no search path for DLLs. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_TAGVAR(always_export_symbols, $1)=no - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - darwin* | rhapsody*) - _LT_DARWIN_LINKER_FEATURES($1) - ;; - - dgux*) - case $cc_basename in - ec++*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - ghcx*) - # Green Hills C++ Compiler - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - freebsd[[12]]*) - # C++ shared libraries reported to be fairly broken before - # switch to ELF - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - freebsd-elf*) - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - ;; - - freebsd* | dragonfly*) - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF - # conventions - _LT_TAGVAR(ld_shlibs, $1)=yes - ;; - - gnu*) - ;; - - hpux9*) - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, - # but as the default - # location of the library. - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - aCC*) - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - ;; - *) - if test "$GXX" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - - hpux10*|hpux11*) - if test $with_gnu_ld = no; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - case $host_cpu in - hppa*64*|ia64*) - ;; - *) - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - ;; - esac - fi - case $host_cpu in - hppa*64*|ia64*) - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - *) - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, - # but as the default - # location of the library. - ;; - esac - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - aCC*) - case $host_cpu in - hppa*64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - ;; - *) - if test "$GXX" = yes; then - if test $with_gnu_ld = no; then - case $host_cpu in - hppa*64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - fi - else - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - - interix[[3-9]]*) - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - irix5* | irix6*) - case $cc_basename in - CC*) - # SGI C++ - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - - # Archives containing C++ object files must be created using - # "CC -ar", where "CC" is the IRIX C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' - ;; - *) - if test "$GXX" = yes; then - if test "$with_gnu_ld" = no; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib' - fi - fi - _LT_TAGVAR(link_all_deplibs, $1)=yes - ;; - esac - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(inherit_rpath, $1)=yes - ;; - - linux* | k*bsd*-gnu) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - - # Archives containing C++ object files must be created using - # "CC -Bstatic", where "CC" is the KAI C++ compiler. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' - ;; - icpc* | ecpc* ) - # Intel C++ - with_gnu_ld=yes - # version 8.0 and above of icpc choke on multiply defined symbols - # if we add $predep_objects and $postdep_objects, however 7.1 and - # earlier do not add the objects themselves. - case `$CC -V 2>&1` in - *"Version 7."*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - *) # Version 8.0 or newer - tmp_idyn= - case $host_cpu in - ia64*) tmp_idyn=' -i_dynamic';; - esac - _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - esac - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' - ;; - pgCC* | pgcpp*) - # Portland Group C++ compiler - case `$CC -V` in - *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*) - _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ - compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"' - _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ - $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~ - $RANLIB $oldlib' - _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' - ;; - *) # Version 6 will use weak symbols - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' - ;; - esac - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - ;; - cxx*) - # Compaq C++ - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' - - runpath_var=LD_RUN_PATH - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - ;; - xl*) - # IBM XL 8.0 on PPC, with GNU ld - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - if test "x$supports_anon_versioning" = xyes; then - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - fi - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - _LT_TAGVAR(compiler_needs_object, $1)=yes - - # Not sure whether something based on - # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 - # would be better. - output_verbose_link_cmd='echo' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' - ;; - esac - ;; - esac - ;; - - lynxos*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - m88k*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - mvs*) - case $cc_basename in - cxx*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' - wlarc= - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - fi - # Workaround some broken pre-1.5 toolchains - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' - ;; - - *nto* | *qnx*) - _LT_TAGVAR(ld_shlibs, $1)=yes - ;; - - openbsd2*) - # C++ shared libraries are fairly broken - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - openbsd*) - if test -f /usr/libexec/ld.so; then - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - fi - output_verbose_link_cmd=echo - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - osf3* | osf4* | osf5*) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - # Archives containing C++ object files must be created using - # the KAI C++ compiler. - case $host in - osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; - *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; - esac - ;; - RCC*) - # Rational C++ 2.4.1 - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - cxx*) - case $host in - osf3*) - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - ;; - *) - _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ - echo "-hidden">> $lib.exp~ - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~ - $RM $lib.exp' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - ;; - esac - - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - ;; - *) - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - case $host in - osf3*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - ;; - esac - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' - - else - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - - psos*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - lcc*) - # Lucid - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - solaris*) - case $cc_basename in - CC*) - # Sun C++ 4.2, 5.x and Centerline C++ - _LT_TAGVAR(archive_cmds_need_lc,$1)=yes - _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. - # Supported since Solaris 2.6 (maybe 2.5.1?) - _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' - ;; - esac - _LT_TAGVAR(link_all_deplibs, $1)=yes - - output_verbose_link_cmd='echo' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' - ;; - gcx*) - # Green Hills C++ Compiler - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - - # The C++ compiler must be used to create the archive. - _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' - ;; - *) - # GNU C++ compiler with Solaris linker - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' - if $CC --version | $GREP -v '^2\.7' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' - else - # g++ 2.7 appears to require `-G' NOT `-shared' on this - # platform. - _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' - fi - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - ;; - esac - fi - ;; - esac - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_TAGVAR(link_all_deplibs, $1)=yes - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - vxworks*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - - AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) - test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no - - _LT_TAGVAR(GCC, $1)="$GXX" - _LT_TAGVAR(LD, $1)="$LD" - - ## CAVEAT EMPTOR: - ## There is no encapsulation within the following macros, do not change - ## the running order or otherwise move them around unless you know exactly - ## what you are doing... - _LT_SYS_HIDDEN_LIBDEPS($1) - _LT_COMPILER_PIC($1) - _LT_COMPILER_C_O($1) - _LT_COMPILER_FILE_LOCKS($1) - _LT_LINKER_SHLIBS($1) - _LT_SYS_DYNAMIC_LINKER($1) - _LT_LINKER_HARDCODE_LIBPATH($1) - - _LT_CONFIG($1) - fi # test -n "$compiler" - - CC=$lt_save_CC - LDCXX=$LD - LD=$lt_save_LD - GCC=$lt_save_GCC - with_gnu_ld=$lt_save_with_gnu_ld - lt_cv_path_LDCXX=$lt_cv_path_LD - lt_cv_path_LD=$lt_save_path_LD - lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld - lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld -fi # test "$_lt_caught_CXX_error" != yes - -AC_LANG_POP -])# _LT_LANG_CXX_CONFIG - - -# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) -# --------------------------------- -# Figure out "hidden" library dependencies from verbose -# compiler output when linking a shared library. -# Parse the compiler output and extract the necessary -# objects, libraries and library flags. -m4_defun([_LT_SYS_HIDDEN_LIBDEPS], -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl -# Dependencies to place before and after the object being linked: -_LT_TAGVAR(predep_objects, $1)= -_LT_TAGVAR(postdep_objects, $1)= -_LT_TAGVAR(predeps, $1)= -_LT_TAGVAR(postdeps, $1)= -_LT_TAGVAR(compiler_lib_search_path, $1)= - -dnl we can't use the lt_simple_compile_test_code here, -dnl because it contains code intended for an executable, -dnl not a library. It's possible we should let each -dnl tag define a new lt_????_link_test_code variable, -dnl but it's only used here... -m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF -int a; -void foo (void) { a = 0; } -_LT_EOF -], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF -class Foo -{ -public: - Foo (void) { a = 0; } -private: - int a; -}; -_LT_EOF -], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF - subroutine foo - implicit none - integer*4 a - a=0 - return - end -_LT_EOF -], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF - subroutine foo - implicit none - integer a - a=0 - return - end -_LT_EOF -], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF -public class foo { - private int a; - public void bar (void) { - a = 0; - } -}; -_LT_EOF -]) -dnl Parse the compiler output and extract the necessary -dnl objects, libraries and library flags. -if AC_TRY_EVAL(ac_compile); then - # Parse the compiler output and extract the necessary - # objects, libraries and library flags. - - # Sentinel used to keep track of whether or not we are before - # the conftest object file. - pre_test_object_deps_done=no - - for p in `eval "$output_verbose_link_cmd"`; do - case $p in - - -L* | -R* | -l*) - # Some compilers place space between "-{L,R}" and the path. - # Remove the space. - if test $p = "-L" || - test $p = "-R"; then - prev=$p - continue - else - prev= - fi - - if test "$pre_test_object_deps_done" = no; then - case $p in - -L* | -R*) - # Internal compiler library paths should come after those - # provided the user. The postdeps already come after the - # user supplied libs so there is no need to process them. - if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then - _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}" - else - _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}" - fi - ;; - # The "-l" case would never come before the object being - # linked, so don't bother handling this case. - esac - else - if test -z "$_LT_TAGVAR(postdeps, $1)"; then - _LT_TAGVAR(postdeps, $1)="${prev}${p}" - else - _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}" - fi - fi - ;; - - *.$objext) - # This assumes that the test object file only shows up - # once in the compiler output. - if test "$p" = "conftest.$objext"; then - pre_test_object_deps_done=yes - continue - fi - - if test "$pre_test_object_deps_done" = no; then - if test -z "$_LT_TAGVAR(predep_objects, $1)"; then - _LT_TAGVAR(predep_objects, $1)="$p" - else - _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" - fi - else - if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then - _LT_TAGVAR(postdep_objects, $1)="$p" - else - _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" - fi - fi - ;; - - *) ;; # Ignore the rest. - - esac - done - - # Clean up. - rm -f a.out a.exe -else - echo "libtool.m4: error: problem compiling $1 test program" -fi - -$RM -f confest.$objext - -# PORTME: override above test on systems where it is broken -m4_if([$1], [CXX], -[case $host_os in -interix[[3-9]]*) - # Interix 3.5 installs completely hosed .la files for C++, so rather than - # hack all around it, let's just trust "g++" to DTRT. - _LT_TAGVAR(predep_objects,$1)= - _LT_TAGVAR(postdep_objects,$1)= - _LT_TAGVAR(postdeps,$1)= - ;; - -linux*) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - - # The more standards-conforming stlport4 library is - # incompatible with the Cstd library. Avoid specifying - # it if it's in CXXFLAGS. Ignore libCrun as - # -library=stlport4 depends on it. - case " $CXX $CXXFLAGS " in - *" -library=stlport4 "*) - solaris_use_stlport4=yes - ;; - esac - - if test "$solaris_use_stlport4" != yes; then - _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' - fi - ;; - esac - ;; - -solaris*) - case $cc_basename in - CC*) - # The more standards-conforming stlport4 library is - # incompatible with the Cstd library. Avoid specifying - # it if it's in CXXFLAGS. Ignore libCrun as - # -library=stlport4 depends on it. - case " $CXX $CXXFLAGS " in - *" -library=stlport4 "*) - solaris_use_stlport4=yes - ;; - esac - - # Adding this requires a known-good setup of shared libraries for - # Sun compiler versions before 5.6, else PIC objects from an old - # archive will be linked into the output, leading to subtle bugs. - if test "$solaris_use_stlport4" != yes; then - _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' - fi - ;; - esac - ;; -esac -]) - -case " $_LT_TAGVAR(postdeps, $1) " in -*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; -esac - _LT_TAGVAR(compiler_lib_search_dirs, $1)= -if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then - _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` -fi -_LT_TAGDECL([], [compiler_lib_search_dirs], [1], - [The directories searched by this compiler when creating a shared library]) -_LT_TAGDECL([], [predep_objects], [1], - [Dependencies to place before and after the objects being linked to - create a shared library]) -_LT_TAGDECL([], [postdep_objects], [1]) -_LT_TAGDECL([], [predeps], [1]) -_LT_TAGDECL([], [postdeps], [1]) -_LT_TAGDECL([], [compiler_lib_search_path], [1], - [The library search path used internally by the compiler when linking - a shared library]) -])# _LT_SYS_HIDDEN_LIBDEPS - - -# _LT_PROG_F77 -# ------------ -# Since AC_PROG_F77 is broken, in that it returns the empty string -# if there is no fortran compiler, we have our own version here. -m4_defun([_LT_PROG_F77], -[ -pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes]) -AC_PROG_F77 -if test -z "$F77" || test "X$F77" = "Xno"; then - _lt_disable_F77=yes -fi -popdef([AC_MSG_ERROR]) -])# _LT_PROG_F77 - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([_LT_PROG_F77], []) - - -# _LT_LANG_F77_CONFIG([TAG]) -# -------------------------- -# Ensure that the configuration variables for a Fortran 77 compiler are -# suitably defined. These variables are subsequently used by _LT_CONFIG -# to write the compiler configuration to `libtool'. -m4_defun([_LT_LANG_F77_CONFIG], -[AC_REQUIRE([_LT_PROG_F77])dnl -AC_LANG_PUSH(Fortran 77) - -_LT_TAGVAR(archive_cmds_need_lc, $1)=no -_LT_TAGVAR(allow_undefined_flag, $1)= -_LT_TAGVAR(always_export_symbols, $1)=no -_LT_TAGVAR(archive_expsym_cmds, $1)= -_LT_TAGVAR(export_dynamic_flag_spec, $1)= -_LT_TAGVAR(hardcode_direct, $1)=no -_LT_TAGVAR(hardcode_direct_absolute, $1)=no -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= -_LT_TAGVAR(hardcode_libdir_separator, $1)= -_LT_TAGVAR(hardcode_minus_L, $1)=no -_LT_TAGVAR(hardcode_automatic, $1)=no -_LT_TAGVAR(inherit_rpath, $1)=no -_LT_TAGVAR(module_cmds, $1)= -_LT_TAGVAR(module_expsym_cmds, $1)= -_LT_TAGVAR(link_all_deplibs, $1)=unknown -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds -_LT_TAGVAR(no_undefined_flag, $1)= -_LT_TAGVAR(whole_archive_flag_spec, $1)= -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no - -# Source file extension for f77 test sources. -ac_ext=f - -# Object file extension for compiled f77 test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# No sense in running all these tests if we already determined that -# the F77 compiler isn't working. Some variables (like enable_shared) -# are currently assumed to apply to all compilers on this platform, -# and will be corrupted by setting them based on a non-working compiler. -if test "$_lt_disable_F77" != yes; then - # Code to be used in simple compile tests - lt_simple_compile_test_code="\ - subroutine t - return - end -" - - # Code to be used in simple link tests - lt_simple_link_test_code="\ - program t - end -" - - # ltmain only uses $CC for tagged configurations so make sure $CC is set. - _LT_TAG_COMPILER - - # save warnings/boilerplate of simple test code - _LT_COMPILER_BOILERPLATE - _LT_LINKER_BOILERPLATE - - # Allow CC to be a program name with arguments. - lt_save_CC="$CC" - lt_save_GCC=$GCC - CC=${F77-"f77"} - compiler=$CC - _LT_TAGVAR(compiler, $1)=$CC - _LT_CC_BASENAME([$compiler]) - GCC=$G77 - if test -n "$compiler"; then - AC_MSG_CHECKING([if libtool supports shared libraries]) - AC_MSG_RESULT([$can_build_shared]) - - AC_MSG_CHECKING([whether to build shared libraries]) - test "$can_build_shared" = "no" && enable_shared=no - - # On AIX, shared libraries and static libraries use the same namespace, and - # are all built from PIC. - case $host_os in - aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - aix[[4-9]]*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; - esac - AC_MSG_RESULT([$enable_shared]) - - AC_MSG_CHECKING([whether to build static libraries]) - # Make sure either enable_shared or enable_static is yes. - test "$enable_shared" = yes || enable_static=yes - AC_MSG_RESULT([$enable_static]) - - _LT_TAGVAR(GCC, $1)="$G77" - _LT_TAGVAR(LD, $1)="$LD" - - ## CAVEAT EMPTOR: - ## There is no encapsulation within the following macros, do not change - ## the running order or otherwise move them around unless you know exactly - ## what you are doing... - _LT_COMPILER_PIC($1) - _LT_COMPILER_C_O($1) - _LT_COMPILER_FILE_LOCKS($1) - _LT_LINKER_SHLIBS($1) - _LT_SYS_DYNAMIC_LINKER($1) - _LT_LINKER_HARDCODE_LIBPATH($1) - - _LT_CONFIG($1) - fi # test -n "$compiler" - - GCC=$lt_save_GCC - CC="$lt_save_CC" -fi # test "$_lt_disable_F77" != yes - -AC_LANG_POP -])# _LT_LANG_F77_CONFIG - - -# _LT_PROG_FC -# ----------- -# Since AC_PROG_FC is broken, in that it returns the empty string -# if there is no fortran compiler, we have our own version here. -m4_defun([_LT_PROG_FC], -[ -pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes]) -AC_PROG_FC -if test -z "$FC" || test "X$FC" = "Xno"; then - _lt_disable_FC=yes -fi -popdef([AC_MSG_ERROR]) -])# _LT_PROG_FC - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([_LT_PROG_FC], []) - - -# _LT_LANG_FC_CONFIG([TAG]) -# ------------------------- -# Ensure that the configuration variables for a Fortran compiler are -# suitably defined. These variables are subsequently used by _LT_CONFIG -# to write the compiler configuration to `libtool'. -m4_defun([_LT_LANG_FC_CONFIG], -[AC_REQUIRE([_LT_PROG_FC])dnl -AC_LANG_PUSH(Fortran) - -_LT_TAGVAR(archive_cmds_need_lc, $1)=no -_LT_TAGVAR(allow_undefined_flag, $1)= -_LT_TAGVAR(always_export_symbols, $1)=no -_LT_TAGVAR(archive_expsym_cmds, $1)= -_LT_TAGVAR(export_dynamic_flag_spec, $1)= -_LT_TAGVAR(hardcode_direct, $1)=no -_LT_TAGVAR(hardcode_direct_absolute, $1)=no -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= -_LT_TAGVAR(hardcode_libdir_separator, $1)= -_LT_TAGVAR(hardcode_minus_L, $1)=no -_LT_TAGVAR(hardcode_automatic, $1)=no -_LT_TAGVAR(inherit_rpath, $1)=no -_LT_TAGVAR(module_cmds, $1)= -_LT_TAGVAR(module_expsym_cmds, $1)= -_LT_TAGVAR(link_all_deplibs, $1)=unknown -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds -_LT_TAGVAR(no_undefined_flag, $1)= -_LT_TAGVAR(whole_archive_flag_spec, $1)= -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no - -# Source file extension for fc test sources. -ac_ext=${ac_fc_srcext-f} - -# Object file extension for compiled fc test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# No sense in running all these tests if we already determined that -# the FC compiler isn't working. Some variables (like enable_shared) -# are currently assumed to apply to all compilers on this platform, -# and will be corrupted by setting them based on a non-working compiler. -if test "$_lt_disable_FC" != yes; then - # Code to be used in simple compile tests - lt_simple_compile_test_code="\ - subroutine t - return - end -" - - # Code to be used in simple link tests - lt_simple_link_test_code="\ - program t - end -" - - # ltmain only uses $CC for tagged configurations so make sure $CC is set. - _LT_TAG_COMPILER - - # save warnings/boilerplate of simple test code - _LT_COMPILER_BOILERPLATE - _LT_LINKER_BOILERPLATE - - # Allow CC to be a program name with arguments. - lt_save_CC="$CC" - lt_save_GCC=$GCC - CC=${FC-"f95"} - compiler=$CC - GCC=$ac_cv_fc_compiler_gnu - - _LT_TAGVAR(compiler, $1)=$CC - _LT_CC_BASENAME([$compiler]) - - if test -n "$compiler"; then - AC_MSG_CHECKING([if libtool supports shared libraries]) - AC_MSG_RESULT([$can_build_shared]) - - AC_MSG_CHECKING([whether to build shared libraries]) - test "$can_build_shared" = "no" && enable_shared=no - - # On AIX, shared libraries and static libraries use the same namespace, and - # are all built from PIC. - case $host_os in - aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - aix[[4-9]]*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; - esac - AC_MSG_RESULT([$enable_shared]) - - AC_MSG_CHECKING([whether to build static libraries]) - # Make sure either enable_shared or enable_static is yes. - test "$enable_shared" = yes || enable_static=yes - AC_MSG_RESULT([$enable_static]) - - _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu" - _LT_TAGVAR(LD, $1)="$LD" - - ## CAVEAT EMPTOR: - ## There is no encapsulation within the following macros, do not change - ## the running order or otherwise move them around unless you know exactly - ## what you are doing... - _LT_SYS_HIDDEN_LIBDEPS($1) - _LT_COMPILER_PIC($1) - _LT_COMPILER_C_O($1) - _LT_COMPILER_FILE_LOCKS($1) - _LT_LINKER_SHLIBS($1) - _LT_SYS_DYNAMIC_LINKER($1) - _LT_LINKER_HARDCODE_LIBPATH($1) - - _LT_CONFIG($1) - fi # test -n "$compiler" - - GCC=$lt_save_GCC - CC="$lt_save_CC" -fi # test "$_lt_disable_FC" != yes - -AC_LANG_POP -])# _LT_LANG_FC_CONFIG - - -# _LT_LANG_GCJ_CONFIG([TAG]) -# -------------------------- -# Ensure that the configuration variables for the GNU Java Compiler compiler -# are suitably defined. These variables are subsequently used by _LT_CONFIG -# to write the compiler configuration to `libtool'. -m4_defun([_LT_LANG_GCJ_CONFIG], -[AC_REQUIRE([LT_PROG_GCJ])dnl -AC_LANG_SAVE - -# Source file extension for Java test sources. -ac_ext=java - -# Object file extension for compiled Java test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="class foo {}" - -# Code to be used in simple link tests -lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -_LT_TAG_COMPILER - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -# Allow CC to be a program name with arguments. -lt_save_CC="$CC" -lt_save_GCC=$GCC -GCC=yes -CC=${GCJ-"gcj"} -compiler=$CC -_LT_TAGVAR(compiler, $1)=$CC -_LT_TAGVAR(LD, $1)="$LD" -_LT_CC_BASENAME([$compiler]) - -# GCJ did not exist at the time GCC didn't implicitly link libc in. -_LT_TAGVAR(archive_cmds_need_lc, $1)=no - -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds - -## CAVEAT EMPTOR: -## There is no encapsulation within the following macros, do not change -## the running order or otherwise move them around unless you know exactly -## what you are doing... -if test -n "$compiler"; then - _LT_COMPILER_NO_RTTI($1) - _LT_COMPILER_PIC($1) - _LT_COMPILER_C_O($1) - _LT_COMPILER_FILE_LOCKS($1) - _LT_LINKER_SHLIBS($1) - _LT_LINKER_HARDCODE_LIBPATH($1) - - _LT_CONFIG($1) -fi - -AC_LANG_RESTORE - -GCC=$lt_save_GCC -CC="$lt_save_CC" -])# _LT_LANG_GCJ_CONFIG - - -# _LT_LANG_RC_CONFIG([TAG]) -# ------------------------- -# Ensure that the configuration variables for the Windows resource compiler -# are suitably defined. These variables are subsequently used by _LT_CONFIG -# to write the compiler configuration to `libtool'. -m4_defun([_LT_LANG_RC_CONFIG], -[AC_REQUIRE([LT_PROG_RC])dnl -AC_LANG_SAVE - -# Source file extension for RC test sources. -ac_ext=rc - -# Object file extension for compiled RC test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' - -# Code to be used in simple link tests -lt_simple_link_test_code="$lt_simple_compile_test_code" - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -_LT_TAG_COMPILER - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -# Allow CC to be a program name with arguments. -lt_save_CC="$CC" -lt_save_GCC=$GCC -GCC= -CC=${RC-"windres"} -compiler=$CC -_LT_TAGVAR(compiler, $1)=$CC -_LT_CC_BASENAME([$compiler]) -_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes - -if test -n "$compiler"; then - : - _LT_CONFIG($1) -fi - -GCC=$lt_save_GCC -AC_LANG_RESTORE -CC="$lt_save_CC" -])# _LT_LANG_RC_CONFIG - - -# LT_PROG_GCJ -# ----------- -AC_DEFUN([LT_PROG_GCJ], -[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], - [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], - [AC_CHECK_TOOL(GCJ, gcj,) - test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" - AC_SUBST(GCJFLAGS)])])[]dnl -]) - -# Old name: -AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([LT_AC_PROG_GCJ], []) - - -# LT_PROG_RC -# ---------- -AC_DEFUN([LT_PROG_RC], -[AC_CHECK_TOOL(RC, windres,) -]) - -# Old name: -AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([LT_AC_PROG_RC], []) - - -# _LT_DECL_EGREP -# -------------- -# If we don't have a new enough Autoconf to choose the best grep -# available, choose the one first in the user's PATH. -m4_defun([_LT_DECL_EGREP], -[AC_REQUIRE([AC_PROG_EGREP])dnl -AC_REQUIRE([AC_PROG_FGREP])dnl -test -z "$GREP" && GREP=grep -_LT_DECL([], [GREP], [1], [A grep program that handles long lines]) -_LT_DECL([], [EGREP], [1], [An ERE matcher]) -_LT_DECL([], [FGREP], [1], [A literal string matcher]) -dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too -AC_SUBST([GREP]) -]) - - -# _LT_DECL_OBJDUMP -# -------------- -# If we don't have a new enough Autoconf to choose the best objdump -# available, choose the one first in the user's PATH. -m4_defun([_LT_DECL_OBJDUMP], -[AC_CHECK_TOOL(OBJDUMP, objdump, false) -test -z "$OBJDUMP" && OBJDUMP=objdump -_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) -AC_SUBST([OBJDUMP]) -]) - - -# _LT_DECL_SED -# ------------ -# Check for a fully-functional sed program, that truncates -# as few characters as possible. Prefer GNU sed if found. -m4_defun([_LT_DECL_SED], -[AC_PROG_SED -test -z "$SED" && SED=sed -Xsed="$SED -e 1s/^X//" -_LT_DECL([], [SED], [1], [A sed program that does not truncate output]) -_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], - [Sed that helps us avoid accidentally triggering echo(1) options like -n]) -])# _LT_DECL_SED - -m4_ifndef([AC_PROG_SED], [ -############################################################ -# NOTE: This macro has been submitted for inclusion into # -# GNU Autoconf as AC_PROG_SED. When it is available in # -# a released version of Autoconf we should remove this # -# macro and use it instead. # -############################################################ - -m4_defun([AC_PROG_SED], -[AC_MSG_CHECKING([for a sed that does not truncate output]) -AC_CACHE_VAL(lt_cv_path_SED, -[# Loop through the user's path and test for sed and gsed. -# Then use that list of sed's as ones to test for truncation. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for lt_ac_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" - fi - done - done -done -IFS=$as_save_IFS -lt_ac_max=0 -lt_ac_count=0 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris -# along with /bin/sed that truncates output. -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do - test ! -f $lt_ac_sed && continue - cat /dev/null > conftest.in - lt_ac_count=0 - echo $ECHO_N "0123456789$ECHO_C" >conftest.in - # Check for GNU sed and select it if it is found. - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then - lt_cv_path_SED=$lt_ac_sed - break - fi - while true; do - cat conftest.in conftest.in >conftest.tmp - mv conftest.tmp conftest.in - cp conftest.in conftest.nl - echo >>conftest.nl - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break - cmp -s conftest.out conftest.nl || break - # 10000 chars as input seems more than enough - test $lt_ac_count -gt 10 && break - lt_ac_count=`expr $lt_ac_count + 1` - if test $lt_ac_count -gt $lt_ac_max; then - lt_ac_max=$lt_ac_count - lt_cv_path_SED=$lt_ac_sed - fi - done -done -]) -SED=$lt_cv_path_SED -AC_SUBST([SED]) -AC_MSG_RESULT([$SED]) -])#AC_PROG_SED -])#m4_ifndef - -# Old name: -AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([LT_AC_PROG_SED], []) - - -# _LT_CHECK_SHELL_FEATURES -# ------------------------ -# Find out whether the shell is Bourne or XSI compatible, -# or has some other useful features. -m4_defun([_LT_CHECK_SHELL_FEATURES], -[AC_MSG_CHECKING([whether the shell understands some XSI constructs]) -# Try some XSI features -xsi_shell=no -( _lt_dummy="a/b/c" - test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ - = c,a/b,, \ - && eval 'test $(( 1 + 1 )) -eq 2 \ - && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ - && xsi_shell=yes -AC_MSG_RESULT([$xsi_shell]) -_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell']) - -AC_MSG_CHECKING([whether the shell understands "+="]) -lt_shell_append=no -( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \ - >/dev/null 2>&1 \ - && lt_shell_append=yes -AC_MSG_RESULT([$lt_shell_append]) -_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append']) - -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - lt_unset=unset -else - lt_unset=false -fi -_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl - -# test EBCDIC or ASCII -case `echo X|tr X '\101'` in - A) # ASCII based system - # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr - lt_SP2NL='tr \040 \012' - lt_NL2SP='tr \015\012 \040\040' - ;; - *) # EBCDIC based system - lt_SP2NL='tr \100 \n' - lt_NL2SP='tr \r\n \100\100' - ;; -esac -_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl -_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl -])# _LT_CHECK_SHELL_FEATURES - - -# _LT_PROG_XSI_SHELLFNS -# --------------------- -# Bourne and XSI compatible variants of some useful shell functions. -m4_defun([_LT_PROG_XSI_SHELLFNS], -[case $xsi_shell in - yes) - cat << \_LT_EOF >> "$cfgfile" - -# func_dirname file append nondir_replacement -# Compute the dirname of FILE. If nonempty, add APPEND to the result, -# otherwise set result to NONDIR_REPLACEMENT. -func_dirname () -{ - case ${1} in - */*) func_dirname_result="${1%/*}${2}" ;; - * ) func_dirname_result="${3}" ;; - esac -} - -# func_basename file -func_basename () -{ - func_basename_result="${1##*/}" -} - -# func_dirname_and_basename file append nondir_replacement -# perform func_basename and func_dirname in a single function -# call: -# dirname: Compute the dirname of FILE. If nonempty, -# add APPEND to the result, otherwise set result -# to NONDIR_REPLACEMENT. -# value returned in "$func_dirname_result" -# basename: Compute filename of FILE. -# value retuned in "$func_basename_result" -# Implementation must be kept synchronized with func_dirname -# and func_basename. For efficiency, we do not delegate to -# those functions but instead duplicate the functionality here. -func_dirname_and_basename () -{ - case ${1} in - */*) func_dirname_result="${1%/*}${2}" ;; - * ) func_dirname_result="${3}" ;; - esac - func_basename_result="${1##*/}" -} - -# func_stripname prefix suffix name -# strip PREFIX and SUFFIX off of NAME. -# PREFIX and SUFFIX must not contain globbing or regex special -# characters, hashes, percent signs, but SUFFIX may contain a leading -# dot (in which case that matches only a dot). -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}"} -} - -# func_opt_split -func_opt_split () -{ - func_opt_split_opt=${1%%=*} - func_opt_split_arg=${1#*=} -} - -# func_lo2o object -func_lo2o () -{ - case ${1} in - *.lo) func_lo2o_result=${1%.lo}.${objext} ;; - *) func_lo2o_result=${1} ;; - esac -} - -# func_xform libobj-or-source -func_xform () -{ - func_xform_result=${1%.*}.lo -} - -# func_arith arithmetic-term... -func_arith () -{ - func_arith_result=$(( $[*] )) -} - -# func_len string -# STRING may not start with a hyphen. -func_len () -{ - func_len_result=${#1} -} - -_LT_EOF - ;; - *) # Bourne compatible functions. - cat << \_LT_EOF >> "$cfgfile" - -# func_dirname file append nondir_replacement -# Compute the dirname of FILE. If nonempty, add APPEND to the result, -# otherwise set result to NONDIR_REPLACEMENT. -func_dirname () -{ - # Extract subdirectory from the argument. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` - if test "X$func_dirname_result" = "X${1}"; then - func_dirname_result="${3}" - else - func_dirname_result="$func_dirname_result${2}" - fi -} - -# func_basename file -func_basename () -{ - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` -} - -dnl func_dirname_and_basename -dnl A portable version of this function is already defined in general.m4sh -dnl so there is no need for it here. - -# func_stripname prefix suffix name -# strip PREFIX and SUFFIX off of NAME. -# PREFIX and SUFFIX must not contain globbing or regex special -# characters, hashes, percent signs, but SUFFIX may contain a leading -# dot (in which case that matches only a dot). -# func_strip_suffix prefix name -func_stripname () -{ - case ${2} in - .*) func_stripname_result=`$ECHO "X${3}" \ - | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; - *) func_stripname_result=`$ECHO "X${3}" \ - | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; - esac -} - -# sed scripts: -my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q' -my_sed_long_arg='1s/^-[[^=]]*=//' - -# func_opt_split -func_opt_split () -{ - func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` - func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` -} - -# func_lo2o object -func_lo2o () -{ - func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` -} - -# func_xform libobj-or-source -func_xform () -{ - func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'` -} - -# func_arith arithmetic-term... -func_arith () -{ - func_arith_result=`expr "$[@]"` -} - -# func_len string -# STRING may not start with a hyphen. -func_len () -{ - func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len` -} - -_LT_EOF -esac - -case $lt_shell_append in - yes) - cat << \_LT_EOF >> "$cfgfile" - -# func_append var value -# Append VALUE to the end of shell variable VAR. -func_append () -{ - eval "$[1]+=\$[2]" -} -_LT_EOF - ;; - *) - cat << \_LT_EOF >> "$cfgfile" - -# func_append var value -# Append VALUE to the end of shell variable VAR. -func_append () -{ - eval "$[1]=\$$[1]\$[2]" -} - -_LT_EOF - ;; - esac -]) diff --git a/dep/ACE_wrappers/m4/ltoptions.m4 b/dep/ACE_wrappers/m4/ltoptions.m4 deleted file mode 100644 index 34151a3ba..000000000 --- a/dep/ACE_wrappers/m4/ltoptions.m4 +++ /dev/null @@ -1,368 +0,0 @@ -# Helper functions for option handling. -*- Autoconf -*- -# -# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. -# Written by Gary V. Vaughan, 2004 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# serial 6 ltoptions.m4 - -# This is to help aclocal find these macros, as it can't see m4_define. -AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) - - -# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) -# ------------------------------------------ -m4_define([_LT_MANGLE_OPTION], -[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) - - -# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) -# --------------------------------------- -# Set option OPTION-NAME for macro MACRO-NAME, and if there is a -# matching handler defined, dispatch to it. Other OPTION-NAMEs are -# saved as a flag. -m4_define([_LT_SET_OPTION], -[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl -m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), - _LT_MANGLE_DEFUN([$1], [$2]), - [m4_warning([Unknown $1 option `$2'])])[]dnl -]) - - -# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) -# ------------------------------------------------------------ -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. -m4_define([_LT_IF_OPTION], -[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) - - -# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) -# ------------------------------------------------------- -# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME -# are set. -m4_define([_LT_UNLESS_OPTIONS], -[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), - [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), - [m4_define([$0_found])])])[]dnl -m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 -])[]dnl -]) - - -# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) -# ---------------------------------------- -# OPTION-LIST is a space-separated list of Libtool options associated -# with MACRO-NAME. If any OPTION has a matching handler declared with -# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about -# the unknown option and exit. -m4_defun([_LT_SET_OPTIONS], -[# Set options -m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), - [_LT_SET_OPTION([$1], _LT_Option)]) - -m4_if([$1],[LT_INIT],[ - dnl - dnl Simply set some default values (i.e off) if boolean options were not - dnl specified: - _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no - ]) - _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no - ]) - dnl - dnl If no reference was made to various pairs of opposing options, then - dnl we run the default mode handler for the pair. For example, if neither - dnl `shared' nor `disable-shared' was passed, we enable building of shared - dnl archives by default: - _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) - _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) - _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) - _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], - [_LT_ENABLE_FAST_INSTALL]) - ]) -])# _LT_SET_OPTIONS - - -## --------------------------------- ## -## Macros to handle LT_INIT options. ## -## --------------------------------- ## - -# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) -# ----------------------------------------- -m4_define([_LT_MANGLE_DEFUN], -[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) - - -# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) -# ----------------------------------------------- -m4_define([LT_OPTION_DEFINE], -[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl -])# LT_OPTION_DEFINE - - -# dlopen -# ------ -LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes -]) - -AU_DEFUN([AC_LIBTOOL_DLOPEN], -[_LT_SET_OPTION([LT_INIT], [dlopen]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you -put the `dlopen' option into LT_INIT's first parameter.]) -]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) - - -# win32-dll -# --------- -# Declare package support for building win32 dll's. -LT_OPTION_DEFINE([LT_INIT], [win32-dll], -[enable_win32_dll=yes - -case $host in -*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) - AC_CHECK_TOOL(AS, as, false) - AC_CHECK_TOOL(DLLTOOL, dlltool, false) - AC_CHECK_TOOL(OBJDUMP, objdump, false) - ;; -esac - -test -z "$AS" && AS=as -_LT_DECL([], [AS], [0], [Assembler program])dnl - -test -z "$DLLTOOL" && DLLTOOL=dlltool -_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl - -test -z "$OBJDUMP" && OBJDUMP=objdump -_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl -])# win32-dll - -AU_DEFUN([AC_LIBTOOL_WIN32_DLL], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -_LT_SET_OPTION([LT_INIT], [win32-dll]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you -put the `win32-dll' option into LT_INIT's first parameter.]) -]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) - - -# _LT_ENABLE_SHARED([DEFAULT]) -# ---------------------------- -# implement the --enable-shared flag, and supports the `shared' and -# `disable-shared' LT_INIT options. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -m4_define([_LT_ENABLE_SHARED], -[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl -AC_ARG_ENABLE([shared], - [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], - [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_shared=yes ;; - no) enable_shared=no ;; - *) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) - - _LT_DECL([build_libtool_libs], [enable_shared], [0], - [Whether or not to build shared libraries]) -])# _LT_ENABLE_SHARED - -LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) -LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) - -# Old names: -AC_DEFUN([AC_ENABLE_SHARED], -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) -]) - -AC_DEFUN([AC_DISABLE_SHARED], -[_LT_SET_OPTION([LT_INIT], [disable-shared]) -]) - -AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) -AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AM_ENABLE_SHARED], []) -dnl AC_DEFUN([AM_DISABLE_SHARED], []) - - - -# _LT_ENABLE_STATIC([DEFAULT]) -# ---------------------------- -# implement the --enable-static flag, and support the `static' and -# `disable-static' LT_INIT options. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -m4_define([_LT_ENABLE_STATIC], -[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl -AC_ARG_ENABLE([static], - [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], - [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_static=yes ;; - no) enable_static=no ;; - *) - enable_static=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_static=]_LT_ENABLE_STATIC_DEFAULT) - - _LT_DECL([build_old_libs], [enable_static], [0], - [Whether or not to build static libraries]) -])# _LT_ENABLE_STATIC - -LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) -LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) - -# Old names: -AC_DEFUN([AC_ENABLE_STATIC], -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) -]) - -AC_DEFUN([AC_DISABLE_STATIC], -[_LT_SET_OPTION([LT_INIT], [disable-static]) -]) - -AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) -AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AM_ENABLE_STATIC], []) -dnl AC_DEFUN([AM_DISABLE_STATIC], []) - - - -# _LT_ENABLE_FAST_INSTALL([DEFAULT]) -# ---------------------------------- -# implement the --enable-fast-install flag, and support the `fast-install' -# and `disable-fast-install' LT_INIT options. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -m4_define([_LT_ENABLE_FAST_INSTALL], -[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl -AC_ARG_ENABLE([fast-install], - [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], - [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_fast_install=yes ;; - no) enable_fast_install=no ;; - *) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) - -_LT_DECL([fast_install], [enable_fast_install], [0], - [Whether or not to optimize for fast installation])dnl -])# _LT_ENABLE_FAST_INSTALL - -LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) -LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) - -# Old names: -AU_DEFUN([AC_ENABLE_FAST_INSTALL], -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you put -the `fast-install' option into LT_INIT's first parameter.]) -]) - -AU_DEFUN([AC_DISABLE_FAST_INSTALL], -[_LT_SET_OPTION([LT_INIT], [disable-fast-install]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you put -the `disable-fast-install' option into LT_INIT's first parameter.]) -]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) -dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) - - -# _LT_WITH_PIC([MODE]) -# -------------------- -# implement the --with-pic flag, and support the `pic-only' and `no-pic' -# LT_INIT options. -# MODE is either `yes' or `no'. If omitted, it defaults to `both'. -m4_define([_LT_WITH_PIC], -[AC_ARG_WITH([pic], - [AS_HELP_STRING([--with-pic], - [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], - [pic_mode="$withval"], - [pic_mode=default]) - -test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) - -_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl -])# _LT_WITH_PIC - -LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) -LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) - -# Old name: -AU_DEFUN([AC_LIBTOOL_PICMODE], -[_LT_SET_OPTION([LT_INIT], [pic-only]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you -put the `pic-only' option into LT_INIT's first parameter.]) -]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) - -## ----------------- ## -## LTDL_INIT Options ## -## ----------------- ## - -m4_define([_LTDL_MODE], []) -LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], - [m4_define([_LTDL_MODE], [nonrecursive])]) -LT_OPTION_DEFINE([LTDL_INIT], [recursive], - [m4_define([_LTDL_MODE], [recursive])]) -LT_OPTION_DEFINE([LTDL_INIT], [subproject], - [m4_define([_LTDL_MODE], [subproject])]) - -m4_define([_LTDL_TYPE], []) -LT_OPTION_DEFINE([LTDL_INIT], [installable], - [m4_define([_LTDL_TYPE], [installable])]) -LT_OPTION_DEFINE([LTDL_INIT], [convenience], - [m4_define([_LTDL_TYPE], [convenience])]) diff --git a/dep/ACE_wrappers/m4/ltsugar.m4 b/dep/ACE_wrappers/m4/ltsugar.m4 deleted file mode 100644 index 9000a057d..000000000 --- a/dep/ACE_wrappers/m4/ltsugar.m4 +++ /dev/null @@ -1,123 +0,0 @@ -# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- -# -# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. -# Written by Gary V. Vaughan, 2004 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# serial 6 ltsugar.m4 - -# This is to help aclocal find these macros, as it can't see m4_define. -AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) - - -# lt_join(SEP, ARG1, [ARG2...]) -# ----------------------------- -# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their -# associated separator. -# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier -# versions in m4sugar had bugs. -m4_define([lt_join], -[m4_if([$#], [1], [], - [$#], [2], [[$2]], - [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) -m4_define([_lt_join], -[m4_if([$#$2], [2], [], - [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) - - -# lt_car(LIST) -# lt_cdr(LIST) -# ------------ -# Manipulate m4 lists. -# These macros are necessary as long as will still need to support -# Autoconf-2.59 which quotes differently. -m4_define([lt_car], [[$1]]) -m4_define([lt_cdr], -[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], - [$#], 1, [], - [m4_dquote(m4_shift($@))])]) -m4_define([lt_unquote], $1) - - -# lt_append(MACRO-NAME, STRING, [SEPARATOR]) -# ------------------------------------------ -# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'. -# Note that neither SEPARATOR nor STRING are expanded; they are appended -# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). -# No SEPARATOR is output if MACRO-NAME was previously undefined (different -# than defined and empty). -# -# This macro is needed until we can rely on Autoconf 2.62, since earlier -# versions of m4sugar mistakenly expanded SEPARATOR but not STRING. -m4_define([lt_append], -[m4_define([$1], - m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) - - - -# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) -# ---------------------------------------------------------- -# Produce a SEP delimited list of all paired combinations of elements of -# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list -# has the form PREFIXmINFIXSUFFIXn. -# Needed until we can rely on m4_combine added in Autoconf 2.62. -m4_define([lt_combine], -[m4_if(m4_eval([$# > 3]), [1], - [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl -[[m4_foreach([_Lt_prefix], [$2], - [m4_foreach([_Lt_suffix], - ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, - [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) - - -# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) -# ----------------------------------------------------------------------- -# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited -# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. -m4_define([lt_if_append_uniq], -[m4_ifdef([$1], - [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], - [lt_append([$1], [$2], [$3])$4], - [$5])], - [lt_append([$1], [$2], [$3])$4])]) - - -# lt_dict_add(DICT, KEY, VALUE) -# ----------------------------- -m4_define([lt_dict_add], -[m4_define([$1($2)], [$3])]) - - -# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) -# -------------------------------------------- -m4_define([lt_dict_add_subkey], -[m4_define([$1($2:$3)], [$4])]) - - -# lt_dict_fetch(DICT, KEY, [SUBKEY]) -# ---------------------------------- -m4_define([lt_dict_fetch], -[m4_ifval([$3], - m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), - m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) - - -# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) -# ----------------------------------------------------------------- -m4_define([lt_if_dict_fetch], -[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], - [$5], - [$6])]) - - -# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) -# -------------------------------------------------------------- -m4_define([lt_dict_filter], -[m4_if([$5], [], [], - [lt_join(m4_quote(m4_default([$4], [[, ]])), - lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), - [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl -]) diff --git a/dep/ACE_wrappers/m4/ltversion.m4 b/dep/ACE_wrappers/m4/ltversion.m4 deleted file mode 100644 index f3c530980..000000000 --- a/dep/ACE_wrappers/m4/ltversion.m4 +++ /dev/null @@ -1,23 +0,0 @@ -# ltversion.m4 -- version numbers -*- Autoconf -*- -# -# Copyright (C) 2004 Free Software Foundation, Inc. -# Written by Scott James Remnant, 2004 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# Generated from ltversion.in. - -# serial 3017 ltversion.m4 -# This file is part of GNU Libtool - -m4_define([LT_PACKAGE_VERSION], [2.2.6b]) -m4_define([LT_PACKAGE_REVISION], [1.3017]) - -AC_DEFUN([LTVERSION_VERSION], -[macro_version='2.2.6b' -macro_revision='1.3017' -_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) -_LT_DECL(, macro_revision, 0) -]) diff --git a/dep/ACE_wrappers/m4/lt~obsolete.m4 b/dep/ACE_wrappers/m4/lt~obsolete.m4 deleted file mode 100644 index 637bb2066..000000000 --- a/dep/ACE_wrappers/m4/lt~obsolete.m4 +++ /dev/null @@ -1,92 +0,0 @@ -# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- -# -# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. -# Written by Scott James Remnant, 2004. -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# serial 4 lt~obsolete.m4 - -# These exist entirely to fool aclocal when bootstrapping libtool. -# -# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN) -# which have later been changed to m4_define as they aren't part of the -# exported API, or moved to Autoconf or Automake where they belong. -# -# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN -# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us -# using a macro with the same name in our local m4/libtool.m4 it'll -# pull the old libtool.m4 in (it doesn't see our shiny new m4_define -# and doesn't know about Autoconf macros at all.) -# -# So we provide this file, which has a silly filename so it's always -# included after everything else. This provides aclocal with the -# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything -# because those macros already exist, or will be overwritten later. -# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. -# -# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. -# Yes, that means every name once taken will need to remain here until -# we give up compatibility with versions before 1.7, at which point -# we need to keep only those names which we still refer to. - -# This is to help aclocal find these macros, as it can't see m4_define. -AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) - -m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) -m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) -m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) -m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) -m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) -m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) -m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) -m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) -m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) -m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) -m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) -m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) -m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) -m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) -m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) -m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) -m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) -m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) -m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) -m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) -m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) -m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) -m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) -m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) -m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) -m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) -m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) -m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) -m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) -m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) -m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) -m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) -m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) -m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) -m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) -m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) -m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) -m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) -m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) -m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) -m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) -m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) -m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])]) -m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) -m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) -m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) -m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) -m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) -m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) -m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) -m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) -m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) -m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) -m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) -m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) diff --git a/dep/ACE_wrappers/m4/pkg.m4 b/dep/ACE_wrappers/m4/pkg.m4 deleted file mode 100644 index cbb46dbf8..000000000 --- a/dep/ACE_wrappers/m4/pkg.m4 +++ /dev/null @@ -1,156 +0,0 @@ -# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- -# -# Copyright © 2004 Scott James Remnant . -# -# This program 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. -# -# This program 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 this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# PKG_PROG_PKG_CONFIG([MIN-VERSION]) -# ---------------------------------- -AC_DEFUN([PKG_PROG_PKG_CONFIG], -[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) -m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) -AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) -fi -if test -n "$PKG_CONFIG"; then - _pkg_min_version=m4_default([$1], [0.9.0]) - AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - PKG_CONFIG="" - fi - -fi[]dnl -])# PKG_PROG_PKG_CONFIG - -# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -# -# Check to see whether a particular set of modules exists. Similar -# to PKG_CHECK_MODULES(), but does not set variables or print errors. -# -# -# Similar to PKG_CHECK_MODULES, make sure that the first instance of -# this or PKG_CHECK_MODULES is called, or make sure to call -# PKG_CHECK_EXISTS manually -# -------------------------------------------------------------- -AC_DEFUN([PKG_CHECK_EXISTS], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -if test -n "$PKG_CONFIG" && \ - AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then - m4_ifval([$2], [$2], [:]) -m4_ifvaln([$3], [else - $3])dnl -fi]) - - -# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) -# --------------------------------------------- -m4_define([_PKG_CONFIG], -[if test -n "$PKG_CONFIG"; then - if test -n "$$1"; then - pkg_cv_[]$1="$$1" - else - PKG_CHECK_EXISTS([$3], - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], - [pkg_failed=yes]) - fi -else - pkg_failed=untried -fi[]dnl -])# _PKG_CONFIG - -# _PKG_SHORT_ERRORS_SUPPORTED -# ----------------------------- -AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi[]dnl -])# _PKG_SHORT_ERRORS_SUPPORTED - - -# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], -# [ACTION-IF-NOT-FOUND]) -# -# -# Note that if there is a possibility the first call to -# PKG_CHECK_MODULES might not happen, you should be sure to include an -# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac -# -# -# -------------------------------------------------------------- -AC_DEFUN([PKG_CHECK_MODULES], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl -AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl - -pkg_failed=no -AC_MSG_CHECKING([for $1]) - -_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) -_PKG_CONFIG([$1][_LIBS], [libs], [$2]) - -m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS -and $1[]_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details.]) - -if test $pkg_failed = yes; then - _PKG_SHORT_ERRORS_SUPPORTED - if test $_pkg_short_errors_supported = yes; then - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` - else - $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` - fi - # Put the nasty error message in config.log where it belongs - echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD - - ifelse([$4], , [AC_MSG_ERROR(dnl -[Package requirements ($2) were not met: - -$$1_PKG_ERRORS - -Consider adjusting the PKG_CONFIG_PATH environment variable if you -installed software in a non-standard prefix. - -_PKG_TEXT -])], - [$4]) -elif test $pkg_failed = untried; then - ifelse([$4], , [AC_MSG_FAILURE(dnl -[The pkg-config script could not be found or is too old. Make sure it -is in your PATH or set the PKG_CONFIG environment variable to the full -path to pkg-config. - -_PKG_TEXT - -To get pkg-config, see .])], - [$4]) -else - $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS - $1[]_LIBS=$pkg_cv_[]$1[]_LIBS - AC_MSG_RESULT([yes]) - ifelse([$3], , :, [$3]) -fi[]dnl -])# PKG_CHECK_MODULES diff --git a/dep/ACE_wrappers/m4/platform.m4 b/dep/ACE_wrappers/m4/platform.m4 deleted file mode 100644 index 2ce3a547f..000000000 --- a/dep/ACE_wrappers/m4/platform.m4 +++ /dev/null @@ -1,545 +0,0 @@ -dnl ------------------------------------------------------------------------- -dnl $Id: platform.m4 87480 2009-11-11 11:38:15Z olli $ -dnl -dnl platform.m4 -dnl -dnl ACE M4 include file which contains ACE specific M4 macros -dnl that set/determine which known platform specific C++ macros -dnl to define. -dnl -dnl ------------------------------------------------------------------------- - -dnl Copyright (C) 1998, 1999, 2000, 2002, 2003 Ossama Othman -dnl -dnl All Rights Reserved -dnl -dnl This library is free software; you can redistribute it and/or -dnl modify it under the current ACE distribution terms. -dnl -dnl This library is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -dnl Check for thread related libraries and compiler flags -dnl Usage: ACE_SET_PLATFORM_MACROS -AC_DEFUN([ACE_SET_PLATFORM_MACROS], -[ -dnl Begin ACE_SET_PLATFORM_MACROS - -dnl At some point the below platform specific settings should be -dnl automated as much as possible! We set things manually just to get -dnl things going with the auto{conf,make}/libtool integration into the -dnl ACE source tree. - -dnl Platform specific flags -case "$host" in - *aix3*) - AC_DEFINE([AIX]) - AC_DEFINE([ACE_DEFAULT_BASE_ADDR], [((char *) 0x80000000)]) - ;; - *aix4.1*) - AC_DEFINE([AIX]) - dnl Use BSD 4.4 socket definitions for pre-AIX 4.2. The _BSD - dnl setting also controls the data type used for waitpid(), - dnl wait(), and wait3(). - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_BSD=44" - dnl pre-AIX 4.3 requires _BSD_INCLUDES - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_BSD_INCLUDES" - AC_DEFINE([ACE_DEFAULT_BASE_ADDR], [((char *) 0x80000000)]) - ;; - *aix4.2*) - AC_DEFINE([AIX]) - dnl pre-AIX 4.3 requires _BSD_INCLUDES - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_BSD_INCLUDES" - AC_DEFINE([ACE_DEFAULT_BASE_ADDR], [((char *) 0x80000000)]) - AC_DEFINE([ACE_TLI_TCP_DEVICE], ["/dev/xti/tcp"]) - ;; - *aix*) - AC_DEFINE([AIX]) - ;; -dnl /* Cray specific configuration parameters */ -dnl /* -dnl * The following predefined macros are used within ACE ifdefs. -dnl * These are defined when using the Cray compilers. _CRAYMPP -dnl * is defined, for example, if you are running on a Cray T3E -dnl * massively parallel machine. Moreover, in the case of the T3E, -dnl * _CRAYT3E will be defined. This is used to determine the -dnl * ACE_SIZEOF defines for primitive types. -dnl * -dnl * _UNICOS is defined as either the major version of UNICOS being run, -dnl * e.g. 9 or 10 on the vector machines (e.g. C90, T90, J90, YMP, ...) -dnl * or the major+minor+level UNICOS/mk version, e.g. 2.0.3 => 203, -dnl * being run on an MPP machine. -dnl * -dnl * Summary: -dnl * -dnl * _CRAYMPP (defined only if running on MPP machine, e.g. T3E, UNICOS/mk) -dnl * _CRAYT3E (defined specifically if compiling on a Cray T3E) -dnl * _UNICOS (defined if running UNICOS or UNICOS/mk) -dnl * -dnl * Tested on UNICOS 10.0.0.2, UNICOS/mk 2.0.3.10 -dnl * -dnl * Contributed by Doug Anderson -dnl */ - t3e-cray-unicosmk*) - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_CRAYMPP -D_CRAYT3E -D_UNICOS" - ;; - t3e-cray*) - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_CRAYT3E -D_UNICOS" - ;; - *cray-unicos*) - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_UNICOS" - ;; - *hpux9*) - AC_DEFINE([HPUX]) - ;; - *hpux10*) - AC_DEFINE([HPUX]) - AC_DEFINE([HPUX_10]) - dnl _HPUX_SOURCE : Enable HP-UX specific features in platform headers - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_HPUX_SOURCE" - AC_DEFINE([ACE_DEFAULT_BASE_ADDR], [((char *) 0x80000000)]) - AC_DEFINE([ACE_TLI_TCP_DEVICE], ["/dev/inet_cots"]) - ;; - *hpux11*) - AC_DEFINE([HPUX]) - AC_DEFINE([HPUX_11]) - AC_EGREP_CPP([ACE_ON_64BIT_HP], - [ -#ifdef __LP64__ - ACE_ON_64BIT_HP -#endif - ], - [ - AC_DEFINE([ACE_DEFAULT_BASE_ADDR], [((char *) 0x0000001100000000)]) - AC_DEFINE([ACE_DEFAULT_BASE_ADDRL], [((char *) 0x0000001100000000)]) - ], - [ - AC_DEFINE([ACE_DEFAULT_BASE_ADDR], [((char *) 0x80000000)]) - ]) - AC_DEFINE([ACE_TIMER_SKEW], [(1000 * 10)]) - ;; - *irix5.2*) - AC_DEFINE([IRIX5]) - ;; - *irix5.3*) - AC_DEFINE([IRIX5]) - if test "$GXX" = no; then - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_BSD_TYPES" - fi - ;; - *irix6*) - AC_DEFINE([IRIX6]) - AC_DEFINE([ACE_DEFAULT_BASE_ADDR], [((char *) (1024U * 1024 * 1024))]) - AC_DEFINE([ACE_TIMER_SKEW], [(1000 * 10)]) - dnl _MODERN_C_ : Enable modern features in SGI C++ compiler - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_SGI_MP_SOURCE -D_MODERN_C_" - - case "$host" in - *irix6.2*) - dnl Recent versions of IRIX do not appear to require this macro. - if test "$ace_user_enable_threads" = yes; then - AC_DEFINE([ACE_HAS_IRIX62_THREADS]) - fi - ;; - esac - ;; - *linux*) - AC_DEFINE([ACE_DEFAULT_MAX_SOCKET_BUFSIZ], [65535]) - AC_DEFINE([ACE_DEFAULT_BASE_ADDR], [((char *) 0x80000000)]) - AC_DEFINE([ACE_HAS_BIG_FD_SET]) dnl FIXME: We need a test for this! - AC_DEFINE([ACE_TIMER_SKEW], [(1000 * 10)]) - dnl Does this box have NPTL? - NPTL=`getconf GNU_LIBPTHREAD_VERSION | $AWK '{print [$][1]}' -` - if test "$NPTL" != NPTL; then - ACE_CPPFLAGS="$ACE_CPPFLAGS -DACE_LACKS_LINUX_NPTL" - fi - ;; - *lynxos*) - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_POSIX_THREADS_CALLS" - AC_DEFINE([__NO_INCLUDE_WARN__]) - AC_DEFINE([ACE_MALLOC_ALIGN], [8]) - AC_DEFINE([ACE_MAP_PRIVATE], [ACE_MAP_SHARED]) - AC_DEFINE([ACE_HAS_LYNXOS4_SIGNALS]) - AC_DEFINE([ACE_TIMER_SKEW], [(1000 * 10)]) - ;; - *mvs*) - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_ALL_SOURCE" - ;; - *osf3.2*) - AC_EGREP_CPP([ACE_DEC_CXX], - [ -#if defined(__DECCXX) - ACE_DEC_CXX -#endif - ], - [ - AC_DEFINE([DEC_CXX]) - ],) - ;; - *osf4.0*) -dnl We need to add checks for g++, DEC C++ and Rational C++ - AC_EGREP_CPP([ACE_DEC_CXX], - [ -#if defined(__DECCXX) - ACE_DEC_CXX -#endif - ], - [ - AC_DEFINE([DEC_CXX]) - ],) -dnl Check for _POSIX_C_SOURCE macro - AC_EGREP_CPP([ACE_ON_DEC_WITH_POS_SRC], - [ - /* Include unistd.h to define _POSIX_C_SOURCE. */ -#ifndef ACE_LACKS_UNISTD_H -# include -#endif - -#if defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 199506L) - ACE_ON_DEC_WITH_POS_SRC -#endif - ], - [ - AC_DEFINE([DIGITAL_UNIX]) - ],) - AC_DEFINE([ACE_DEFAULT_BASE_ADDR], [((char *) 0x80000000)]) - AC_DEFINE([ACE_NEEDS_HUGE_THREAD_STACKSIZE], [(1024 * 1024)]) - AC_DEFINE([ACE_TIMER_SKEW], [(1000 * 10)]) - ;; - *sco4.2*) - AC_DEFINE([SCO]) - AC_DEFINE([ACE_DEFAULT_CLOSE_ALL_HANDLES], [0]) - ;; - *sco5*) - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_SVID3" - AC_DEFINE([SCO]) - AC_DEFINE([ACE_DEFAULT_CLOSE_ALL_HANDLES], [0]) - AC_DEFINE([ACE_HAS_BIG_FD_SET]) dnl FIXME: We need a test for this! - ;; - *sunos4*) - AC_DEFINE([ACE_TIMER_SKEW], [(1000 * 10)]) - ;; - *solaris2.4*) - AC_DEFINE([ACE_TIMER_SKEW], [(1000 * 10)]) - AC_DEFINE([ACE_NEEDS_LWP_PRIO_SET]) - ;; - *solaris2.5*) - AC_DEFINE([ACE_MALLOC_ALIGN], [8]) - AC_DEFINE([ACE_TIMER_SKEW], [(1000 * 10)]) - AC_DEFINE([ACE_NEEDS_LWP_PRIO_SET]) - ;; - *solaris2.6*) - AC_DEFINE([ACE_MALLOC_ALIGN], [8]) - AC_DEFINE([ACE_TIMER_SKEW], [(1000 * 10)]) - AC_DEFINE([ACE_NEEDS_LWP_PRIO_SET]) - ;; - *solaris2.7*) - AC_DEFINE([ACE_MALLOC_ALIGN], [8]) - AC_DEFINE([ACE_TIMER_SKEW], [(1000 * 10)]) - AC_DEFINE([ACE_NEEDS_LWP_PRIO_SET]) - ;; - *86*solaris*) - AC_DEFINE([ACE_HAS_X86_STAT_MACROS]) - AC_DEFINE([ACE_TIMER_SKEW], [(1000 * 10)]) - AC_DEFINE([ACE_NEEDS_LWP_PRIO_SET]) - ;; - *tandem*) - AC_DEFINE([ACE_TIMER_SKEW], [(1000 * 10)]) - ;; - *unixware2.0*) - AC_DEFINE([UNIXWARE]) - AC_DEFINE([UNIXWARE_2_0]) - ;; - *unixware2.1*) - AC_DEFINE([UNIXWARE]) - AC_DEFINE([UNIXWARE_2_1]) - ;; - *UnixWare7.1*) - AC_DEFINE([UNIXWARE]) - AC_DEFINE([UNIXWARE_7_1]) - AC_DEFINE([__IOCTL_VERSIONED__]) - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_REENTRANT" - ;; - *vxworks*) - AC_DEFINE([VXWORKS]) - AC_DEFINE([ACE_MAIN], [ace_main]) - AC_DEFINE([ACE_DEFAULT_MAX_SOCKET_BUFSIZ], [32768]) - dnl need ACE_HAS_TSS_EMULATION for ACE_DEFAULT_THREAD_KEYS! - AC_EGREP_CPP([ACE_TSS_EMULATION], - [ -#if defined (ACE_HAS_TSS_EMULATION) - ACE_TSS_EMULATION -#endif - ], [AC_DEFINE([ACE_DEFAULT_THREAD_KEYS], [16])],[]) - AC_DEFINE([ACE_THR_PRI_FIFO_DEF], [101]) - ;; - *cygwin32*) - AC_DEFINE([CYGWIN32]) - ;; - *mingw32*) - AC_DEFINE([ACE_WIN32]) - ;; - *win32*) - AC_DEFINE([ACE_WIN32]) -dnl AC_DEFINE(ACE_USE_SELECT_REACTOR_FOR_REACTOR_IMPL) - if test "$ace_u_long_long_typedef_set" != yes; then - ACE_UINT64="unsigned __int64" - ace_u_long_long_typedef_set=yes - fi dnl "$ace_u_long_long_typedef_set" != yes - ;; - *qnx* | *nto* | *neutrino*) - dnl These should be defined on the command line, not in config.h. - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_QNX_SOURCE -D_POSIX_C_SOURCE=199506" - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_POSIX_NAME_MAX=14" # Max bytes in a - # filename - ACE_CPPFLAGS="$ACE_CPPFLAGS -D_POSIX_PATH_MAX=256" # Num. bytes in - # pathname (excl. NULL) - case "$host" in - i[[3456]]86*) - if test "$GXX" = yes; then - # Neutrino defines memcpy as a macro on x86, which then - # hoses the ACE_OS::memcpy() method. Undefining - # __OPTIMIZE__ prevents this from happening. - ACE_CPPFLAGS="$ACE_CPPFLAGS -U__OPTIMIZE__" - fi - ;; - esac - ;; - *) - ;; -esac - -ACE_FUNC_IOCTL_ARGTYPES -ACE_CHECK_GETNAME_RETURNS_RANDOM_SIN_ZERO -ACE_CHECK_HAS_NONCONST_FD_ISSET -ACE_CHECK_FORMAT_SPECIFIERS -ACE_CHECK_LACKS_PERFECT_MULTICAST_FILTERING -ACE_CHECK_HAS_DLSYM_SEGFAULT_ON_INVALID_HANDLE - -dnl End ACE_SET_PLATFORM_MACROS -]) - - - -# ACE_CHECK_FORMAT_SPECIFIERS -# -# Override default *printf format specifiers for size_t, ssize_t, ACE_INT64, -# and ACE_UINT64 -# -# FIXME: Is it possible to write a portable feature test, or is checking -# the the target OS / target CPU the best we can do? -# -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_CHECK_FORMAT_SPECIFIERS], -[dnl -AH_TEMPLATE([ACE_SIZE_T_FORMAT_SPECIFIER], -[Define to the *printf format specifier (e.g. "%u") for size_t])dnl -AH_TEMPLATE([ACE_SSIZE_T_FORMAT_SPECIFIER], -[Define to the *printf format specifier (e.g. "%d") for ssize_t])dnl -AH_TEMPLATE([ACE_INT64_FORMAT_SPECIFIER], -[Define to the *printf format specifier (e.g. "%lld") for ACE_INT64])dnl -AH_TEMPLATE([ACE_UINT64_FORMAT_SPECIFIER], -[Define to the *printf format specifier (e.g. "%llu") for ACE_UINT64])dnl - -case "$host_os" in -darwin*) - AC_DEFINE([ACE_SIZE_T_FORMAT_SPECIFIER], ["%lu"]) - ;; - -linux*) - case "$host_cpu" in - alpha|ia64|x86_64) - AC_DEFINE([ACE_SIZE_T_FORMAT_SPECIFIER], ["%lu"]) - AC_DEFINE([ACE_SSIZE_T_FORMAT_SPECIFIER], ["%ld"]) - AC_DEFINE([ACE_INT64_FORMAT_SPECIFIER], ["%ld"]) - AC_DEFINE([ACE_UINT64_FORMAT_SPECIFIER], ["%lu"]) - ;; - *) - ;; - esac - ;; - -mingw32*) - AC_DEFINE([ACE_INT64_FORMAT_SPECIFIER], ["%I64d"]) - AC_DEFINE([ACE_UINT64_FORMAT_SPECIFIER], ["%I64u"]) - ;; - -netbsd*) - case "$host_cpu" in - x86_64) - AC_DEFINE([ACE_SIZE_T_FORMAT_SPECIFIER], ["%lu"]) - AC_DEFINE([ACE_SSIZE_T_FORMAT_SPECIFIER], ["%ld"]) - ;; - *) - ;; - esac - ;; - -win32*) - AC_DEFINE([ACE_INT64_FORMAT_SPECIFIER], ["%I64d"]) - AC_DEFINE([ACE_UINT64_FORMAT_SPECIFIER], ["%I64u"]) - ;; - -*) - ;; -esac]) - - -# ACE_CHECK_PERFECT_MULTICAST_FILTERING -# -# Checks whether platform lacks "perfect" multicast filtering. -# -# FIXME: Is it possible to write a portable feature test, or is checking -# the the target OS the best we can do? -# -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_CHECK_LACKS_PERFECT_MULTICAST_FILTERING], -[AC_CACHE_CHECK([whether platform lacks perfect multicast filtering], - [ace_cv_lacks_perfect_multicast_filtering], - [case "$host_os" in - darwin* | freebsd* | netbsd* | openbsd* | qnx*) - ace_cv_lacks_perfect_multicast_filtering=yes ;; - *) - ace_cv_lacks_perfect_multicast_filtering=no ;; - esac]) - -if test $ace_cv_lacks_perfect_multicast_filtering = yes; then - AC_DEFINE([ACE_LACKS_PERFECT_MULTICAST_FILTERING], 1, -[Define to 1 if platform lacks IGMPv3 "perfect" filtering of multicast -datagrams at the socket level. If defined, ACE_SOCK_Dgram_Mcast will bind -the first joined multicast group to the socket, and all future joins on that -socket will fail with an error.]) -fi -]) - - -# ACE_FUNC_IOCTL_ARGTYPES -# -# Determine the correct type to be passed to ioctl's second argument and -# define the types in ACE_IOCTL_TYPE_ARG2. -# -# FIXME: Should we support ioctl's third argument as well...? -# -# FIXME: Is it possible to write a portable feature test, or is checking -# the the target OS the best we can do? -# -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_FUNC_IOCTL_ARGTYPES], -[AC_CACHE_CHECK([types of arguments for ioctl()], - [ace_cv_func_ioctl_arg2], - [case "$host_os" in - darwin* | freebsd* | netbsd* | openbsd*) - ace_cv_func_ioctl_arg2="unsigned long" ;; - *) - ace_cv_func_ioctl_arg2="int" ;; - esac]) - -AC_DEFINE_UNQUOTED(ACE_IOCTL_TYPE_ARG2, $ace_cv_func_ioctl_arg2, - [Define to the type of arg 2 for `ioctl'.]) -]) - - -# ACE_VAR_TIMEZONE -# -# Checks whether platform has global "timezone" variable. -# -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_VAR_TIMEZONE], -[AC_CACHE_CHECK([for timezone variable], - [ace_cv_var_timezone], - [AC_TRY_LINK([#include ], - [return (int) timezone(0, 0);], - [ace_cv_var_timezone=no], - [AC_TRY_LINK([#include ], - [return (int) timezone;], - [ace_cv_var_timezone=yes], - [ace_cv_var_timezone=no])]) - ]) -if test "$ace_cv_var_timezone" = yes; then - AC_DEFINE([ACE_HAS_TIMEZONE], 1, - [Define to 1 if platform has global timezone variable]) -fi -]) - - -# ACE_CHECK_GETNAME_RETURNS_RANDOM_SIN_ZERO -# -# Checks whether getsockname() and getpeername() return random values -# in the sockaddr_in.sin_zero field. -# -# FIXME: Is it possible to write a portable feature test, or is checking -# the the target OS the best we can do? -# -AC_DEFUN([ACE_CHECK_GETNAME_RETURNS_RANDOM_SIN_ZERO], -[AC_CACHE_CHECK([whether getsockname() and getpeername() return random values in sockaddr_in.sin_zero], - [ace_cv_getname_returns_random_sin_zero], - [case "$host_os" in - linux*) - AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([#include ], - [ - #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,47)) - int ok; - #else - choke me - #endif - ]) - ], - [ace_cv_getname_returns_random_sin_zero=no], - [ace_cv_getname_returns_random_sin_zero=yes]) - ;; - *) - ace_cv_getname_returns_random_sin_zero=no - ;; - esac]) - -if test $ace_cv_getname_returns_random_sin_zero = yes; then - AC_DEFINE([ACE_GETNAME_RETURNS_RANDOM_SIN_ZERO], 1, -[Define to 1 if the getsockname() and getpeername() return random values in the sockaddr_in.sin_zero field.]) -fi -]) - - -# ACE_CHECK_HAS_NONCONST_FD_ISSET -# -# Checks if system has a nonconst FD_ISSET macro. -# -#--------------------------------------------------------------------------- -AC_DEFUN([ACE_CHECK_HAS_NONCONST_FD_ISSET], -[dnl - AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([#include ], - [ - //const fd_set* temp = new fd_set(); - //FD_ISSET(0, const_cast< fd_set* >( temp ) ); - const fd_set* temp = new fd_set(); - FD_ISSET(0, temp ); - ]) - ],[],[AC_DEFINE([ACE_HAS_NONCONST_FD_ISSET], 1, - [Define to 1 if system has nonconst FD_ISSET() macro.])] - ) -]) - -# ACE_CHECK_HAS_DLSYM_SEGFAULT_ON_INVALID_HANDLE -# -# Checks whether the dlsym() call segfaults when passed an invalid handle. -# -# FIXME: Is it possible to write a portable feature test, or is checking -# the the target OS the best we can do? -# -AC_DEFUN([ACE_CHECK_HAS_DLSYM_SEGFAULT_ON_INVALID_HANDLE], -[AC_CACHE_CHECK([whether dlsym() segfaults when passed an invalid handle], - [ace_cv_has_dlsym_segfault_on_invalid_handle], - [case "$host_os" in - linux* | openbsd*) - ace_cv_has_dlsym_segfault_on_invalid_handle=yes ;; - *) - ace_cv_has_dlsym_segfault_on_invalid_handle=no;; - esac]) - -if test $ace_cv_has_dlsym_segfault_on_invalid_handle = yes; then - AC_DEFINE([ACE_HAS_DLSYM_SEGFAULT_ON_INVALID_HANDLE], 1, -[Define to 1 if the dlsym() call segfaults when passed an invalid handle.]) -fi -]) diff --git a/dep/ACE_wrappers/m4/subsets.m4 b/dep/ACE_wrappers/m4/subsets.m4 deleted file mode 100644 index 87b2dee7c..000000000 --- a/dep/ACE_wrappers/m4/subsets.m4 +++ /dev/null @@ -1,770 +0,0 @@ -dnl ------------------------------------------------------------------------- -dnl $Id: subsets.m4 80826 2008-03-04 14:51:23Z wotte $ -dnl -dnl subsets.m4 -dnl -dnl ACE M4 include file which contains ACE specific M4 macros -dnl that set/determine which ACE subsets to build. -dnl -dnl ------------------------------------------------------------------------- - -dnl Copyright (C) 1998, 1999, 2001 Ossama Othman -dnl -dnl All Rights Reserved -dnl -dnl This library is free software; you can redistribute it and/or -dnl modify it under the current ACE distribution terms. -dnl -dnl This library is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - - -dnl Check for thread related libraries and compiler flags -dnl Usage: ACE_CHECK_SUBSETS -AC_DEFUN([ACE_CHECK_SUBSETS], -[ -dnl Begin ACE_CHECK_SUBSETS - -dnl Assume all subsets will be built, including the full ACE library. -dnl If any of the components is explicitly enabled or disabled by the user -dnl then do NOT build the full ACE library. -AC_ARG_ENABLE([lib-all], - AS_HELP_STRING([--enable-lib-all],[build all ACE components [[no]]]), - [ - case "${enableval}" in - yes) - ace_user_enable_lib_all=yes - ;; - no) - ace_user_enable_lib_all=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-lib-all]) - ;; - esac - ], - [ - ace_user_enable_lib_all=no - ]) - -AC_ARG_ENABLE([lib-full], - AS_HELP_STRING([--enable-lib-full],[build the full ACE library [[yes]]]), - [ - case "${enableval}" in - yes) - ace_user_enable_lib_full=yes - ;; - no) - ace_user_enable_lib_full=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-lib-full]) - ;; - esac - ], - [ - ace_user_enable_lib_full=yes - ]) - -AC_ARG_ENABLE([lib-os], - AS_HELP_STRING([--enable-lib-os],[build ACE_OS library]), - [ - case "${enableval}" in - yes) - ACE_CREATE_LIBACE_OS - ;; - no) - ace_user_enable_lib_os=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-lib-os]) - ;; - esac - - dnl Disable full ACE library build - ace_user_enable_lib_full=no - ],) - -AC_ARG_ENABLE([lib-codecs], - AS_HELP_STRING([--enable-lib-codecs],[build ACE_Codecs library]), - [ - case "${enableval}" in - yes) - ACE_CREATE_LIBACE_CODECS - ;; - no) - ace_user_enable_lib_codecs=no - AC_DEFINE([ACE_LACKS_ACE_CODECS]) - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-lib-codecs]) - ;; - esac - - dnl Disable full ACE library build - ace_user_enable_lib_full=no - ],) - -AC_ARG_ENABLE([lib-connection], - AS_HELP_STRING([--enable-lib-connection],[build ACE_Connection library ]), - [ - case "${enableval}" in - yes) - ACE_CREATE_LIBACE_CONNECTION - ;; - no) - ace_user_enable_lib_connection=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-lib-connection]) - ;; - esac - - dnl Disable full ACE library build - ace_user_enable_lib_full=no - ],) - -AC_ARG_ENABLE([lib-demux], - AS_HELP_STRING([--enable-lib-demux],[build ACE_Demux library]), - [ - case "${enableval}" in - yes) - ACE_CREATE_LIBACE_DEMUX - ;; - no) - ace_user_enable_lib_demux=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-lib-demux]) - ;; - esac - - dnl Disable full ACE library build - ace_user_enable_lib_full=no - ],) - -AC_ARG_ENABLE([lib-filecache], - AS_HELP_STRING([--enable-lib-filecache],[build ACE_Filecache library]), - [ - case "${enableval}" in - yes) - ACE_CREATE_LIBACE_FILECACHE - ;; - no) - ace_user_enable_lib_filecache=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-lib-filecache]) - ;; - esac - - dnl Disable full ACE library build - ace_user_enable_lib_full=no - ],) - -AC_ARG_ENABLE([lib-ipc], - AS_HELP_STRING([--enable-lib-ipc],[build ACE_IPC library]), - [ - case "${enableval}" in - yes) - ACE_CREATE_LIBACE_IPC - ;; - no) - ace_user_enable_lib_ipc=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-lib-ipc]) - ;; - esac - - dnl Disable full ACE library build - ace_user_enable_lib_full=no - ],) - -AC_ARG_ENABLE([lib-logging], - AS_HELP_STRING([--enable-lib-logging],[build ACE_Logging library]), - [ - case "${enableval}" in - yes) - ACE_CREATE_LIBACE_LOGGING - ;; - no) - ace_user_enable_lib_logging=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-lib-logging]) - ;; - esac - - dnl Disable full ACE library build - ace_user_enable_lib_full=no - ],) - -AC_ARG_ENABLE([lib-memory], - AS_HELP_STRING([--enable-lib-memory],[build ACE_Memory library]), - [ - case "${enableval}" in - yes) - ACE_CREATE_LIBACE_MEMORY - ;; - no) - ace_user_enable_lib_memory=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-lib-memory]) - ;; - esac - - dnl Disable full ACE library build - ace_user_enable_lib_full=no - ],) - -AC_ARG_ENABLE([lib-metrics], - AS_HELP_STRING([--enable-lib-metrics],[build ACE_Metrics library]), - [ - case "${enableval}" in - yes) - ACE_CREATE_LIBACE_METRICS - ;; - no) - ace_user_enable_lib_metrics=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-lib-metrics]) - ;; - esac - - dnl Disable full ACE library build - ace_user_enable_lib_full=no - ],) - -AC_ARG_ENABLE([lib-sockets], - AS_HELP_STRING([--enable-lib-sockets],[build ACE_Sockets library]), - [ - case "${enableval}" in - yes) - ACE_CREATE_LIBACE_SOCKETS - ;; - no) - ace_user_enable_lib_sockets=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-lib-sockets]) - ;; - esac - - dnl Disable full ACE library build - ace_user_enable_lib_full=no - ],) - -AC_ARG_ENABLE([lib-streams], - AS_HELP_STRING([--enable-lib-streams],[build ACE_Streams library]), - [ - case "${enableval}" in - yes) - ACE_CREATE_LIBACE_STREAMS - ;; - no) - ace_user_enable_lib_streams=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-lib-streams]) - ;; - esac - - dnl Disable full ACE library build - ace_user_enable_lib_full=no - ],) - -AC_ARG_ENABLE([lib-svcconf], - AS_HELP_STRING([--enable-lib-svcconf],[build ACE_Svcconf library]), - [ - case "${enableval}" in - yes) - ACE_CREATE_LIBACE_SVCCONF - ;; - no) - ace_user_enable_lib_svcconf=no - AC_DEFINE([ACE_LACKS_ACE_SVCCONF]) - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-lib-svcconf]) - ;; - esac - - dnl Disable full ACE library build - ace_user_enable_lib_full=no - ],) - -AC_ARG_ENABLE([lib-threads], - AS_HELP_STRING([--enable-lib-threads],[build ACE_Threads library]), - [ - case "${enableval}" in - yes) - ACE_CREATE_LIBACE_THREADS - ;; - no) - ace_user_enable_lib_threads=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-lib-threads]) - ;; - esac - - dnl Disable full ACE library build - ace_user_enable_lib_full=no - ],) - -AC_ARG_ENABLE([lib-timer], - AS_HELP_STRING([--enable-lib-timer],[build ACE_Timer library]), - [ - case "${enableval}" in - yes) - ACE_CREATE_LIBACE_TIMER - ;; - no) - ace_user_enable_lib_timer=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-lib-timer]) - ;; - esac - - dnl Disable full ACE library build - ace_user_enable_lib_full=no - ],) - -AC_ARG_ENABLE([lib-token], - AS_HELP_STRING([--enable-lib-token],[build ACE_Token library]), - [ - case "${enableval}" in - yes) - ACE_CREATE_LIBACE_TOKEN - ;; - no) - ace_user_enable_lib_token=no - AC_DEFINE([ACE_LACKS_ACE_TOKEN]) - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-lib-token]) - ;; - esac - - dnl Disable full ACE library build - ace_user_enable_lib_full=no - ],) - -AC_ARG_ENABLE([lib-utils], - AS_HELP_STRING([--enable-lib-utils],[build ACE_Utils library]), - [ - case "${enableval}" in - yes) - ACE_CREATE_LIBACE_UTILS - ;; - no) - ace_user_enable_lib_utils=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-lib-utils]) - ;; - esac - - dnl Disable full ACE library build - ace_user_enable_lib_full=no - ],) - -AC_ARG_ENABLE([lib-uuid], - AS_HELP_STRING([--enable-lib-uuid],[build ACE_UUID library]), - [ - case "${enableval}" in - yes) - ACE_CREATE_LIBACE_UUID - ;; - no) - ace_user_enable_lib_uuid=no - AC_DEFINE([ACE_LACKS_ACE_UUID]) - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-lib-uuid]) - ;; - esac - - dnl Disable full ACE library build - ace_user_enable_lib_full=no - ],) - -AC_ARG_ENABLE([lib-other], - AS_HELP_STRING([--enable-lib-other],[build ACE_Other library]), - [ - case "${enableval}" in - yes) - ACE_CREATE_LIBACE_OTHER - ;; - no) - ace_user_enable_lib_other=no - AC_DEFINE([ACE_LACKS_ACE_OTHER]) - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-lib-other]) - ;; - esac - - dnl Disable full ACE library build - ace_user_enable_lib_full=no - ],) - - -dnl If no ACE subsets were explicitly enabled or disabled then build -dnl all of them. -if test $ace_user_enable_lib_all = yes; then - - ACE_CREATE_ALL_COMPONENTS - -elif test $ace_user_enable_lib_all = no; then - - ACE_DISABLE_ALL_COMPONENTS - -fi - -if test $ace_user_enable_lib_full = no && - test $ace_user_enable_lib_os = no && - test $ace_user_enable_lib_codecs = no && - test $ace_user_enable_lib_connection = no && - test $ace_user_enable_lib_demux = no && - test $ace_user_enable_lib_filecache = no && - test $ace_user_enable_lib_ipc = no && - test $ace_user_enable_lib_logging = no && - test $ace_user_enable_lib_memory = no && - test $ace_user_enable_lib_metrics = no && - test $ace_user_enable_lib_threads = no && - test $ace_user_enable_lib_sockets = no && - test $ace_user_enable_lib_svcconf = no && - test $ace_user_enable_lib_streams = no && - test $ace_user_enable_lib_timer = no && - test $ace_user_enable_lib_token = no && - test $ace_user_enable_lib_utils = no && - test $ace_user_enable_lib_uuid = no && - test $ace_user_enable_lib_other = no; then - - dnl If we get here then no ACE libraries will be built! - AC_MSG_ERROR([No ACE components will be built. Specify which components to build.]) - -fi dnl No components will be built! - -dnl Set which ACE subsets to build -AM_CONDITIONAL(BUILD_OS_FILES, - test X$ace_user_enable_lib_os = Xyes) - -AM_CONDITIONAL(BUILD_CODECS_FILES, - test X$ace_user_enable_lib_codecs = Xyes) - -AM_CONDITIONAL(BUILD_CONNECTION_FILES, - test X$ace_user_enable_lib_connection = Xyes) - -AM_CONDITIONAL(BUILD_DEMUX_FILES, - test X$ace_user_enable_lib_demux = Xyes) - -AM_CONDITIONAL(BUILD_FILECACHE_FILES, - test X$ace_user_enable_lib_filecache = Xyes) - -AM_CONDITIONAL(BUILD_IPC_FILES, - test X$ace_user_enable_lib_ipc = Xyes) - -AM_CONDITIONAL(BUILD_LOGGING_FILES, - test X$ace_user_enable_lib_logging = Xyes) - -AM_CONDITIONAL(BUILD_MEMORY_FILES, - test X$ace_user_enable_lib_memory = Xyes) - -AM_CONDITIONAL(BUILD_METRICS_FILES, - test X$ace_user_enable_lib_metrics = Xyes) - -AM_CONDITIONAL(BUILD_SOCKETS_FILES, - test X$ace_user_enable_lib_sockets = Xyes) - -AM_CONDITIONAL(BUILD_STREAMS_FILES, - test X$ace_user_enable_lib_streams = Xyes) - -AM_CONDITIONAL(BUILD_SVCCONF_FILES, - test X$ace_user_enable_lib_svcconf = Xyes) - -AM_CONDITIONAL(BUILD_THREADS_FILES, - test X$ace_user_enable_lib_threads = Xyes) - -AM_CONDITIONAL(BUILD_TIMER_FILES, - test X$ace_user_enable_lib_timer = Xyes) - -AM_CONDITIONAL(BUILD_TOKEN_FILES, - test X$ace_user_enable_lib_token = Xyes) - -AM_CONDITIONAL(BUILD_UTILS_FILES, - test X$ace_user_enable_lib_utils = Xyes) - -AM_CONDITIONAL(BUILD_UUID_FILES, - test X$ace_user_enable_lib_uuid = Xyes) - -AM_CONDITIONAL(BUILD_OTHER_FILES, - test X$ace_user_enable_lib_other = Xyes) - -AM_CONDITIONAL(BUILD_FULL_LIBRARY, - test X$ace_user_enable_lib_full = Xyes) - -dnl End ACE_CHECK_SUBSETS -]) - -dnl Set the component dependencies for the libACE_OS library -dnl Usage: ACE_CREATE_LIBACE_OS -AC_DEFUN([ACE_CREATE_LIBACE_OS], -[ - ace_user_enable_lib_os=yes -]) - -dnl Set the component dependencies for the libACE_Utils library -dnl Usage: ACE_CREATE_LIBACE_UTILS -AC_DEFUN([ACE_CREATE_LIBACE_UTILS], -[ - ace_user_enable_lib_utils=yes - - dnl Be careful not to go into a circular/recursive loop with these macros! - ACE_CREATE_LIBACE_OS -]) - -dnl Set the component dependencies for the libACE_UUID library -dnl Usage: ACE_CREATE_LIBACE_UUID -AC_DEFUN([ACE_CREATE_LIBACE_UUID], -[ - ace_user_enable_lib_uuid=yes - - dnl Be careful not to go into a circular/recursive loop with these macros! - ACE_CREATE_LIBACE_OS -]) - -dnl Set the component dependencies for the libACE_Filecache library -dnl Usage: ACE_CREATE_LIBACE_FILECACHE -AC_DEFUN([ACE_CREATE_LIBACE_FILECACHE], -[ - ace_user_enable_lib_filecache=yes - - dnl Be careful not to go into a circular/recursive loop with these macros! - ACE_CREATE_LIBACE_OS -]) - -dnl Set the component dependencies for the libACE_Logging library -dnl Usage: ACE_CREATE_LIBACE_LOGGING -AC_DEFUN([ACE_CREATE_LIBACE_LOGGING], -[ - ace_user_enable_lib_logging=yes - - dnl Be careful not to go into a circular/recursive loop with these macros! - ACE_CREATE_LIBACE_OS -]) - -dnl Set the component dependencies for the libACE_Metrics library -dnl Usage: ACE_CREATE_LIBACE_METRICS -AC_DEFUN([ACE_CREATE_LIBACE_METRICS], -[ - ace_user_enable_lib_metrics=yes - - dnl Be careful not to go into a circular/recursive loop with these macros! - ACE_CREATE_LIBACE_OS -]) - -dnl Set the component dependencies for the libACE_Threads library -dnl Usage: ACE_CREATE_LIBACE_THREADS -AC_DEFUN([ACE_CREATE_LIBACE_THREADS], -[ - ace_user_enable_lib_threads=yes - - dnl Be careful not to go into a circular/recursive loop with these macros! - ACE_CREATE_LIBACE_OS -]) - -dnl Set the component dependencies for the libACE_Demux library -dnl Usage: ACE_CREATE_LIBACE_DEMUX -AC_DEFUN([ACE_CREATE_LIBACE_DEMUX], -[ - ace_user_enable_lib_demux=yes - - dnl Be careful not to go into a circular/recursive loop with these macros! - ACE_CREATE_LIBACE_OS - ACE_CREATE_LIBACE_THREADS -]) - -dnl Set the component dependencies for the libACE_Connection library -dnl Usage: ACE_CREATE_LIBACE_CONNECTION -AC_DEFUN([ACE_CREATE_LIBACE_CONNECTION], -[ - ace_user_enable_lib_connection=yes - - dnl Be careful not to go into a circular/recursive loop with these macros! - ACE_CREATE_LIBACE_OS - ACE_CREATE_LIBACE_THREADS - ACE_CREATE_LIBACE_DEMUX -]) - -dnl Set the component dependencies for the libACE_Sockets library -dnl Usage: ACE_CREATE_LIBACE_SOCKETS -AC_DEFUN([ACE_CREATE_LIBACE_SOCKETS], -[ - ace_user_enable_lib_sockets=yes - - dnl Be careful not to go into a circular/recursive loop with these macros! - ACE_CREATE_LIBACE_OS -]) - -dnl Set the component dependencies for the libACE_IPC library -dnl Usage: ACE_CREATE_LIBACE_IPC -AC_DEFUN([ACE_CREATE_LIBACE_IPC], -[ - ace_user_enable_lib_ipc=yes - - dnl Be careful not to go into a circular/recursive loop with these macros! - ACE_CREATE_LIBACE_OS - ACE_CREATE_LIBACE_SOCKETS -]) - -dnl Set the component dependencies for the libACE_Svcconf library -dnl Usage: ACE_CREATE_LIBACE_SVCCONF -AC_DEFUN([ACE_CREATE_LIBACE_SVCCONF], -[ - ace_user_enable_lib_svcconf=yes - - dnl Be careful not to go into a circular/recursive loop with these macros! - ACE_CREATE_LIBACE_OS - ACE_CREATE_LIBACE_THREADS - ACE_CREATE_LIBACE_DEMUX - ACE_CREATE_LIBACE_SOCKETS -]) - -dnl Set the component dependencies for the libACE_Streams library -dnl Usage: ACE_CREATE_LIBACE_STREAMS -AC_DEFUN([ACE_CREATE_LIBACE_STREAMS], -[ - ace_user_enable_lib_streams=yes - - dnl Be careful not to go into a circular/recursive loop with these macros! - ACE_CREATE_LIBACE_OS - ACE_CREATE_LIBACE_THREADS - ACE_CREATE_LIBACE_DEMUX -]) - -dnl Set the component dependencies for the libACE_Memory library -dnl Usage: ACE_CREATE_LIBACE_MEMORY -AC_DEFUN([ACE_CREATE_LIBACE_MEMORY], -[ - ace_user_enable_lib_memory=yes - - dnl Be careful not to go into a circular/recursive loop with these macros! - ACE_CREATE_LIBACE_OS -]) - -dnl Set the component dependencies for the libACE_Timer library -dnl Usage: ACE_CREATE_LIBACE_TIMER -AC_DEFUN([ACE_CREATE_LIBACE_TIMER], -[ - ace_user_enable_lib_timer=yes - - dnl Be careful not to go into a circular/recursive loop with these macros! - ACE_CREATE_LIBACE_OS -]) - -dnl Set the component dependencies for the libACE_Token library -dnl Usage: ACE_CREATE_LIBACE_TOKEN -AC_DEFUN([ACE_CREATE_LIBACE_TOKEN], -[ - ace_user_enable_lib_token=yes - - dnl Be careful not to go into a circular/recursive loop with these macros! - ACE_CREATE_LIBACE_OS - ACE_CREATE_LIBACE_UTILS - ACE_CREATE_LIBACE_LOGGING - ACE_CREATE_LIBACE_THREADS - ACE_CREATE_LIBACE_DEMUX - ACE_CREATE_LIBACE_CONNECTION - ACE_CREATE_LIBACE_SOCKETS - ACE_CREATE_LIBACE_IPC - ACE_CREATE_LIBACE_SVCCONF - ACE_CREATE_LIBACE_STREAMS - ACE_CREATE_LIBACE_MEMORY - dnl ACE_CREATE_LIBACE_OTHER -]) - -dnl Set the component dependencies for the libACE_Codecs library -dnl Usage: ACE_CREATE_LIBACE_CODECS -AC_DEFUN([ACE_CREATE_LIBACE_CODECS], -[ - ace_user_enable_lib_codecs=yes - - dnl Be careful not to go into a circular/recursive loop with these macros! - ACE_CREATE_LIBACE_OS -]) - -dnl Set the component dependencies for the libACE_Other library -dnl Usage: ACE_CREATE_LIBACE_OTHER -AC_DEFUN([ACE_CREATE_LIBACE_OTHER], -[ - ace_user_enable_lib_other=yes - - dnl Be careful not to go into a circular/recursive loop with these macros! - ACE_CREATE_LIBACE_OS - ACE_CREATE_LIBACE_UTILS - ACE_CREATE_LIBACE_LOGGING - ACE_CREATE_LIBACE_THREADS - ACE_CREATE_LIBACE_DEMUX - ACE_CREATE_LIBACE_CONNECTION - ACE_CREATE_LIBACE_SOCKETS - ACE_CREATE_LIBACE_IPC - ACE_CREATE_LIBACE_SVCCONF - ACE_CREATE_LIBACE_STREAMS - ACE_CREATE_LIBACE_MEMORY - dnl ACE_CREATE_LIBACE_TOKEN -]) - -dnl Build all ACE component libraries -dnl Usage: ACE_CREATE_ALL_COMPONENTS -AC_DEFUN([ACE_CREATE_ALL_COMPONENTS], -[ - ace_user_enable_lib_os=yes - ace_user_enable_lib_codecs=yes - ace_user_enable_lib_connection=yes - ace_user_enable_lib_demux=yes - ace_user_enable_lib_filecache=yes - ace_user_enable_lib_ipc=yes - ace_user_enable_lib_logging=yes - ace_user_enable_lib_memory=yes - ace_user_enable_lib_metrics=yes - ace_user_enable_lib_sockets=yes - ace_user_enable_lib_streams=yes - ace_user_enable_lib_svcconf=yes - ace_user_enable_lib_threads=yes - ace_user_enable_lib_timer=yes - ace_user_enable_lib_token=yes - ace_user_enable_lib_utils=yes - ace_user_enable_lib_uuid=yes - ace_user_enable_lib_other=yes -]) - -dnl Disable all ACE component libraries -dnl Usage: ACE_CREATE_ALL_COMPONENTS -AC_DEFUN([ACE_DISABLE_ALL_COMPONENTS], -[ - ace_user_enable_lib_os=no - ace_user_enable_lib_codecs=no - ace_user_enable_lib_connection=no - ace_user_enable_lib_demux=no - ace_user_enable_lib_filecache=no - ace_user_enable_lib_ipc=no - ace_user_enable_lib_logging=no - ace_user_enable_lib_memory=no - ace_user_enable_lib_metrics=no - ace_user_enable_lib_sockets=no - ace_user_enable_lib_streams=no - ace_user_enable_lib_svcconf=no - ace_user_enable_lib_threads=no - ace_user_enable_lib_timer=no - ace_user_enable_lib_token=no - ace_user_enable_lib_utils=no - ace_user_enable_lib_uuid=no - ace_user_enable_lib_other=no -]) diff --git a/dep/ACE_wrappers/m4/tao.m4 b/dep/ACE_wrappers/m4/tao.m4 deleted file mode 100644 index 412a7228f..000000000 --- a/dep/ACE_wrappers/m4/tao.m4 +++ /dev/null @@ -1,88 +0,0 @@ -dnl ------------------------------------------------------------------------- -dnl $Id: tao.m4 88990 2010-02-15 09:20:27Z johnnyw $ -dnl -dnl tao.m4 -dnl -dnl ACE M4 include file which contains TAO specific M4 macros -dnl for enabling/disabling certain TAO features. -dnl -dnl ------------------------------------------------------------------------- - -dnl Copyright (C) 1998, 1999, 2000, 2002 Ossama Othman -dnl -dnl All Rights Reserved -dnl -dnl This library is free software; you can redistribute it and/or -dnl modify it under the current ACE distribution terms. -dnl -dnl This library is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - - -AC_DEFUN([TAO_ENABLE_MINIMUM_CORBA], -[AC_ARG_ENABLE([minimum-corba], - AS_HELP_STRING([--enable-minimum-corba], - [build TAO with minimum corba support [[[no]]]]), -[ -case "${enableval}" in - yes) - tao_user_enable_minimum_corba=yes - ;; - no) - tao_user_enable_minimum_corba=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-minimum-corba]) - ;; -esac -],[ -tao_user_enable_minimum_corba=no -]) -AM_CONDITIONAL([BUILD_MINIMUM_CORBA], - [test X$tao_user_enable_minimum_corba = Xyes]) -]) - -AC_DEFUN([TAO_ENABLE_EXAMPLES], -[AC_ARG_ENABLE([tao-examples], - AS_HELP_STRING([--enable-tao-examples], - [build TAO examples [[[yes]]]]), -[ -case "${enableval}" in - yes) - tao_build_examples=yes - ;; - no) - tao_build_examples=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-tao-examples]) - ;; -esac -],[ -tao_build_examples=yes -]) -AM_CONDITIONAL([BUILD_EXAMPLES], [test X$tao_build_examples = Xyes]) -]) - -AC_DEFUN([TAO_ENABLE_TESTS], -[AC_ARG_ENABLE([tao-tests], - AS_HELP_STRING([--enable-tao-tests], - [build TAO tests [[[yes]]]]), -[ -case "${enableval}" in - yes) - tao_build_tests=yes - ;; - no) - tao_build_tests=no - ;; - *) - AC_MSG_ERROR([bad value ${enableval} for --enable-tao-tests]) - ;; -esac -],[ -tao_build_tests=yes -]) -AM_CONDITIONAL([BUILD_TESTS], [test X$tao_build_tests = Xyes]) -]) diff --git a/dep/ACE_wrappers/m4/threads.m4 b/dep/ACE_wrappers/m4/threads.m4 deleted file mode 100644 index f8b2058d9..000000000 --- a/dep/ACE_wrappers/m4/threads.m4 +++ /dev/null @@ -1,334 +0,0 @@ -dnl ------------------------------------------------------------------------- -dnl $Id: threads.m4 80826 2008-03-04 14:51:23Z wotte $ -dnl -dnl threads.m4 -dnl -dnl ACE M4 include file which contains ACE specific M4 macros -dnl for configuring thread support. This file is to be used -dnl with the configure script. -dnl -dnl ------------------------------------------------------------------------- - -dnl Copyright (C) 1998, 1999, 2002 Ossama Othman -dnl -dnl All Rights Reserved -dnl -dnl This library is free software; you can redistribute it and/or -dnl modify it under the current ACE distribution terms. -dnl -dnl This library is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -dnl Make sure thread library exists -dnl We need to be careful when tests for other thread libraries are -dnl added that we don't screw up handling of "ace_user_enable_threads" -dnl Tests should probably be more platform specific later on. - -dnl Check for thread related libraries and compiler flags -dnl Usage: ACE_CHECK_THREADS -AC_DEFUN([ACE_CHECK_THREADS], -[ -dnl AC_REQUIRE([AC_PROG_CXX]) -dnl AC_REQUIRE([AC_PROG_CXXCPP]) -dnl AC_LANG([C++]) -dnl AC_REQUIRE([AC_LANG]) - - dnl Check if compiler accepts specific flag to enable threads - ACE_CACHE_CHECK([if compiler may need a command line thread flag], - [ace_cv_feature_may_need_thread_flag], - [ - ace_save_CXXFLAGS="$CXXFLAGS" - - ACE_CHECK_THREAD_FLAGS( - [ - ace_cv_feature_may_need_thread_flag=no - ], - [ - ace_cv_feature_may_need_thread_flag=yes - ]) - dnl Reset the flags to a consistent state. - dnl This prevents duplicate flags from being added to - dnl the C/CXXFLAGS variable. - CXXFLAGS="$ace_save_CXXFLAGS" - ], - [ - dnl The compiler/platform has no thread support linked in by default - dnl so search for a usable compiler flag to enable thread support. - dnl If no thread flag is found then the remaining tests should still - dnl figure out how to enable thread support via library checks. - ACE_SEARCH_THREAD_FLAGS( - [mt pthread pthreads mthreads threads Kthread kthread -thread_safe],,) - dnl NOTE: "-thread_safe" is correct, not "thread_safe." - dnl KAI C++ uses the flag "--thread_safe" which is why - dnl "-thread_safe" is passed as the flag to test. - ], - [ - dnl Do nothing - ]) - - dnl Check for UNIX International Threads (ACE calls this STHREADS) - dnl This used to check for thr_create(), but AIX has a semi-functional - dnl UI Threads capability that includes thr_create(). We don't want to - dnl find such a half-hearted UI Threads, so this was changed to look for - dnl a UI Threads function that AIX doesn't offer. - AS_IF([test "$ace_user_enable_uithreads" = yes], - [ AC_MSG_CHECKING([for UNIX International threads capability]) - AC_SEARCH_LIBS([mutex_lock], [thread], - [ - ace_has_sthreads=yes - AC_DEFINE([ACE_HAS_STHREADS], 1, - [Define to 1 if platform has UNIX International Threads]) - ], - [ - ace_has_sthreads=no - ]) - dnl Sometimes thr_create is actually found with explicitly linking against - dnl -lthread, so try a more "exotic" function. - AC_SEARCH_LIBS([rwlock_destroy], [thread],[],[]) - AC_MSG_RESULT([$ace_has_sthreads]) - ],[]) - - dnl Check if any thread related preprocessor flags are needed. - ACE_CHECK_THREAD_CPPFLAGS - - dnl Check for POSIX threads - ace_has_pthreads=no - AS_IF([test "$ace_user_enable_pthreads" = yes], - [ AC_MSG_CHECKING([for POSIX threads library]) - ACE_CHECK_POSIX_THREADS( - [ - ace_has_pthreads=yes - AC_DEFINE([ACE_HAS_PTHREADS], 1, - [Define to 1 if platform has POSIX threads]) - AC_MSG_RESULT([none required]) - ], - []) - - AS_IF([test "$ace_has_pthreads" != yes], - [ - ace_posix_threads_search_LIBS="$LIBS" - for ace_p in pthread pthreads c_r gthreads; do - LIBS="-l$ace_p $ace_posix_threads_search_LIBS" - ACE_CHECK_POSIX_THREADS( - [ - ace_has_pthreads=yes - AC_DEFINE([ACE_HAS_PTHREADS]) - AC_MSG_RESULT([-l$ace_p]) - break - ], - []) - done - - AS_IF([test "$ace_has_pthreads" != yes], - [ - AC_MSG_RESULT([no]) - LIBS="$ace_posix_threads_search_LIBS" - ],[]) - ], - []) - ], - [ - AC_MSG_NOTICE([Pthreads disabled by user; not checking for it]) - ]) - - dnl If we don't have any thread library, then disable threading altogether! - AS_IF([test "$ace_has_pthreads" != yes && test "$ace_has_sthreads" != yes], - [ - ace_user_enable_threads=no - ]) -]) - -dnl This macro will check that the current compiler flags do something -dnl useful in terms of thread libraries and/or functions. -dnl Usage: ACE_CHECK_THREAD_FLAGS(ACTION-IF-USABLE [, ACTION-IF-NOT-USABLE]]) -AC_DEFUN([ACE_CHECK_THREAD_FLAGS], -[ - ACE_CONVERT_WARNINGS_TO_ERRORS([ - dnl Check for UI thread support first. - - dnl Because some platforms are brain damaged enough to provide - dnl useless thread function stubs, link tests may succeed despite the - dnl fact the stubs are no-ops. This forces us to use a run-time test - dnl to get around this nuisance by checking the return value of - dnl thr_create(). The cross-compiled case will use a link-time - dnl test, instead. - dnl Furthermore, we need the implementation to be a real one, not - dnl a half-hearted attempt such as that provided on AIX 5. So, we - dnl make sure it can at least work with a mutex. - - AC_RUN_IFELSE([AC_LANG_SOURCE([[ -#include -#if ((THR_BOUND & THR_SUSPEND & THR_DETACHED) != 0) -# error This is a silly UI Threads implementation. -#endif - -extern "C" void * -ace_start_func (void *) -{ - mutex_t m; - mutex_init (&m, USYNC_THREAD, NULL); - mutex_lock (&m); - mutex_unlock (&m); - mutex_destroy (&m); - return 0; -} - -int -main () -{ - thread_t tid = 0; - - return thr_create (0, 0, ace_start_func, 0, 0, &tid); -} - ]])], - [$1], - [ - dnl Now check for POSIX thread support. - ACE_CHECK_POSIX_THREADS([$1],[$2]) - - ], - [ - dnl UI threads cross-compiled case - - AC_LINK_IFELSE([AC_LANG_PROGRAM([[ -#include - -extern "C" void * -ace_start_func (void *) -{ - return 0; -} - ]], - [[ - thread_t tid = 0; - - (void) thr_create (&tid, 0, ace_start_func, 0); - ]])], - [$1], - [$2]) - ]) - ]) -]) - -dnl Check what compiler thread flag may be used, if any, from the given list. -dnl The flag list is separated by white space. -dnl Usage: ACE_SEARCH_THREAD_FLAGS(THREAD-FLAG-LIST, -dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -AC_DEFUN([ACE_SEARCH_THREAD_FLAGS], -[ - AC_LANG([C++]) - AC_REQUIRE([AC_LANG]) - - ACE_CACHE_CHECK([for compiler thread flag], - [ace_cv_thread_flag_search], - [ - ace_save_CXXFLAGS="$CXXFLAGS" - - for i in $1; do - CXXFLAGS="$CXXFLAGS -$i" - - ACE_CHECK_THREAD_FLAGS( - [ - ace_cv_thread_flag_search="-$i" - - dnl A usable flag was found so break out of the loop. - break; - ], - [ - ace_cv_thread_flag_search=no - ]) - - dnl Reset the flags for the next flag check. - CXXFLAGS="$ace_save_CXXFLAGS" - done - - dnl Reset the flags to a consistent state. - dnl This prevents duplicate flags from being added to - dnl the CCXXFLAGS variable. - CXXFLAGS="$ace_save_CXXFLAGS" - ], - [ - dnl Add the found/cached thread flag to the C/CXXFLAGS variables - CXXFLAGS="$CXXFLAGS $ace_cv_thread_flag_search" - - $2 - ], - [ - $3 - ]) -]) - - -dnl Check if the compiler defines thread related preprocessor flags. -dnl If not, then provide them. -dnl Usage: ACE_CHECK_THREAD_CPPFLAGS -AC_DEFUN([ACE_CHECK_THREAD_CPPFLAGS], -[ - dnl A compile-time test is used instead of a preprocesse-time test - dnl because compiler thread flags defined in CFLAGS or CXXFLAGS - dnl should be used for this test. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#if !defined (_REENTRANT) && !defined (_THREAD_SAFE) -#error Neither _REENTRANT nor _THREAD_SAFE were defined. -THROW ME AN ERROR! -#endif - ]], [[ - int a = 0; a++; - ]])],[ - ACE_THR_CPPFLAGS= - ],[ - ACE_THR_CPPFLAGS="-D_REENTRANT -D_THREAD_SAFE" - ]) -]) - -dnl Check for POSIX threads support. -dnl Usage: ACE_CHECK_POSIX_THREADS([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -AC_DEFUN([ACE_CHECK_POSIX_THREADS], -[ - dnl Because some platforms are brain damaged enough to provide - dnl useless thread function stubs, link tests may succeed despite the - dnl fact the stubs are no-ops. This forces us to use a run-time test - dnl to get around this nuisance by checking the return value of - dnl pthread_create(). The cross-compiled case will use a link-time - dnl test, instead. - AC_RUN_IFELSE([AC_LANG_SOURCE([[ -#include - -extern "C" void * -ace_start_func (void *) -{ - return 0; -} - -int -main () -{ - pthread_t tid = 0; - - return pthread_create (&tid, 0, ace_start_func, 0); -} - ]])], - [$1], - [$2], - [ - dnl POSIX threads check -- cross-compiled case - - AC_LINK_IFELSE([AC_LANG_PROGRAM([[ -#include - -extern "C" void * -ace_start_func (void *) -{ - return 0; -} - ]], - [[ - pthread_t tid = 0; - - (void) pthread_create (&tid, 0, ace_start_func, 0); - ]])], - [$1], - [$2]) - ]) -]) diff --git a/dep/ACE_wrappers/m4/tls.m4 b/dep/ACE_wrappers/m4/tls.m4 deleted file mode 100644 index b28023f69..000000000 --- a/dep/ACE_wrappers/m4/tls.m4 +++ /dev/null @@ -1,220 +0,0 @@ -dnl ------------------------------------------------------------------------- -dnl $Id: tls.m4 80826 2008-03-04 14:51:23Z wotte $ -dnl -dnl tls.m4 -dnl -dnl ACE M4 include file which contains ACE specific M4 macros -dnl that determine availablility of SSL/TLS support. -dnl -dnl ------------------------------------------------------------------------- - -dnl Copyright (C) 2003 Ossama Othman -dnl -dnl All Rights Reserved -dnl -dnl This library is free software; you can redistribute it and/or -dnl modify it under the current ACE distribution terms. -dnl -dnl This library is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -dnl TLS/SSL library IO check -dnl Use this macro to determine if TLS/SSL support is available on the -dnl current host. -dnl Usage: ACE_CHECK_TLS -AC_DEFUN([ACE_CHECK_TLS], -[ - AC_REQUIRE([AC_PROG_CXX]) - AC_REQUIRE([AC_PROG_CXXCPP]) - AC_LANG([C++]) - AC_REQUIRE([AC_LANG]) - - ace_TLS_CPPFLAGS="" - ace_TLS_LDFLAGS="" - - AC_ARG_WITH([openssl], - AS_HELP_STRING([--with-openssl@<:@=DIR@:>@], - [root directory of openssl installation]), - [ - ace_with_openssl="${withval}" - if test "${ace_with_openssl}" != yes; then - ace_openssl_include="${ace_with_openssl}/include" - ace_openssl_libdir="${ace_with_openssl}/lib" - fi - ]) - - AC_ARG_WITH([openssl_include], - AS_HELP_STRING([--with-openssl-include=DIR], - [specify exact include dir for openssl headers]), - [ace_openssl_include="$withval"]) - - AC_ARG_WITH([openssl_libdir], - AS_HELP_STRING([--with-openssl-libdir=DIR], - [specify exact include dir for openssl libraries]), - [ace_openssl_libdir="$withval"]) - - if test "${ace_openssl_include}"; then - ace_TLS_CPPFLAGS="-I${ace_openssl_include}" - fi - - if test "${ace_openssl_libdir}"; then - ace_TLS_LDFLAGS="-L${ace_openssl_libdir}" - fi - - dnl Save the current library and preprocessor flagslist. We do not - dnl want to add the SSL/TLS-specific ones to the general library link - dnl and preprocessor flags list since they should only be used when - dnl building the ACE_SSL library and/or binaries that use the ACE_SSL - dnl library. - ace_save_LIBS="$LIBS" - ace_save_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $ace_TLS_CPPFLAGS" - ace_save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $ace_TLS_LDFLAGS" - - dnl --------------------------------------------------------- - - dnl Check if OpenSSL requires the Kerberos include directory to be - dnl added to the header search path. - - AC_CACHE_CHECK([for Kerberos include flags needed by OpenSSL], - [ac_cv_kerberos_dir], - [ - dnl Try compiling without any Kerberos-specific flags first. - - AC_COMPILE_IFELSE([ - AC_LANG_PROGRAM([ -#include - ], - [ -// ... THIS CODE DOES NOTHING! IT IS JUST USED FOR COMPILE TESTS ... - -// ... Perform TCP connection ... - -// ... Perform TLS/SSL stuff ... -CRYPTO_set_locking_callback (0); -SSLeay_add_ssl_algorithms (); -SSL_load_error_strings (); -SSL_METHOD * meth = TLSv1_method (); -SSL_CTX * ctx = SSL_CTX_new (meth); -SSL * ssl = SSL_new (ctx); -int fd = 2000; // Dummy file descriptor value. -SSL_set_fd (ssl, fd); -SSL_connect (ssl); -SSL_shutdown (ssl); - -// ... - ]) - ], - [ - ac_cv_kerberos_dir=no - ], - [ - ace_kerberos_dir="" - for ace_kerberos in /usr /usr/local; do - ace_kerberos_dir="${ace_kerberos}/kerberos/include" - ace_kerberos_CPPFLAGS="-I${ace_kerberos_dir}" - - CPPFLAGS="$ace_save_CPPFLAGS $ace_TLS_CPPFLAGS $ace_kerberos_CPPFLAGS" - - AC_COMPILE_IFELSE([ - AC_LANG_PROGRAM([ -#include - ], - [ -// ... THIS CODE DOES NOTHING! IT IS JUST USED FOR COMPILE TESTS ... - -// ... Perform TCP connection ... - -// ... Perform TLS/SSL stuff ... -CRYPTO_set_locking_callback (0); -SSLeay_add_ssl_algorithms (); -SSL_load_error_strings (); -SSL_METHOD * meth = TLSv1_method (); -SSL_CTX * ctx = SSL_CTX_new (meth); -SSL * ssl = SSL_new (ctx); -int fd = 2000; // Dummy file descriptor value. -SSL_set_fd (ssl, fd); -SSL_connect (ssl); -SSL_shutdown (ssl); - -// ... - ]) - ], - [ - ac_cv_kerberos_dir="$ace_kerberos_dir" - break - ], - [ - ac_cv_kerberos_dir=no - ]) - done - ]) - ]) - - AS_IF([test "$ac_cv_kerberos_dir" = no], - [ - AC_SUBST([ACE_KERBEROS_INCLUDES],[.]) - ], - [ - ace_TLS_CPPFLAGS="$ace_TLS_CPPFLAGS -I${ac_cv_kerberos_dir}" - AC_SUBST([ACE_KERBEROS_INCLUDES],[$ac_cv_kerberos_dir]) - ]) - - dnl --------------------------------------------------------- - - dnl Add the TLS/SSL libraries to the library list. - ace_TLS_LIBS="-lssl -lcrypto" - - LIBS="$ace_TLS_LIBS $LIBS" - LDFLAGS="$ace_TLS_LDFLAGS $LDFLAGS" - - AC_CACHE_CHECK([for OpenSSL libraries], - [ac_cv_openssl_libs], - [ - AC_LINK_IFELSE([ - AC_LANG_PROGRAM([ -#include - ], - [ -// ... THIS PROGRAM DOES NOTHING! IT IS JUST USED FOR LINK TESTS ... - -// ... Perform TCP connection ... - -// ... Perform TLS/SSL stuff ... -CRYPTO_set_locking_callback (0); -SSLeay_add_ssl_algorithms (); -SSL_load_error_strings (); -SSL_METHOD * meth = TLSv1_method (); -SSL_CTX * ctx = SSL_CTX_new (meth); -SSL * ssl = SSL_new (ctx); -int fd = 2000; // Dummy file descriptor value. -SSL_set_fd (ssl, fd); -SSL_connect (ssl); -SSL_shutdown (ssl); - -// ... - ]) - ], - [ - ac_cv_openssl_libs=yes - ], - [ - ac_cv_openssl_libs=no - ]) - ]) - - AS_IF([test $ac_cv_openssl_libs != no], - [ -AC_SUBST([ACE_TLS_CPPFLAGS],[$ace_TLS_CPPFLAGS]) -AC_SUBST([ACE_TLS_LDFLAGS],[$ace_TLS_LDFLAGS]) -AC_SUBST([ACE_TLS_LIBS],[$ace_TLS_LIBS]) - ], - []) - - dnl Restore the original library list and preprocessor flags. - LIBS="$ace_save_LIBS" - CPPFLAGS="$ace_save_CPPFLAGS" - LDFLAGS="$ace_save_LDFLAGS" -]) diff --git a/dep/CMakeLists.txt b/dep/CMakeLists.txt index 4a1a96dbb..9121ae3ce 100644 --- a/dep/CMakeLists.txt +++ b/dep/CMakeLists.txt @@ -15,9 +15,13 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA if(NOT ACE_USE_EXTERNAL) - add_subdirectory(ACE_wrappers) + add_subdirectory(acelite) endif() add_subdirectory(recastnavigation) add_subdirectory(src) add_subdirectory(StormLib) + +if(SCRIPT_LIB_ELUNA) + add_subdirectory(lualib) +endif() \ No newline at end of file diff --git a/dep/ACE_wrappers/AUTHORS b/dep/acelite/AUTHORS similarity index 100% rename from dep/ACE_wrappers/AUTHORS rename to dep/acelite/AUTHORS diff --git a/dep/acelite/CMakeLists.txt b/dep/acelite/CMakeLists.txt new file mode 100644 index 000000000..db2915b29 --- /dev/null +++ b/dep/acelite/CMakeLists.txt @@ -0,0 +1,11 @@ +# Copyright (C) 2008-2014 TrinityCore +# +# This file is free software; as a special exception the author gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the +# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +add_subdirectory(ace) diff --git a/dep/ACE_wrappers/COPYING b/dep/acelite/COPYING similarity index 98% rename from dep/ACE_wrappers/COPYING rename to dep/acelite/COPYING index 551231de6..226708461 100644 --- a/dep/ACE_wrappers/COPYING +++ b/dep/acelite/COPYING @@ -8,7 +8,7 @@ (henceforth referred to as "DOC software") are copyrighted by [5]Douglas C. Schmidt and his [6]research group at [7]Washington University, [8]University of California, Irvine, and [9]Vanderbilt - University, Copyright (c) 1993-2009, all rights reserved. Since DOC + University, Copyright (c) 1993-2012, all rights reserved. Since DOC software is open-source, freely available software, you are free to use, modify, copy, and distribute--perpetually and irrevocably--the DOC software source code and object code produced from the source, as diff --git a/dep/acelite/ChangeLog b/dep/acelite/ChangeLog new file mode 100644 index 000000000..7381bdcca --- /dev/null +++ b/dep/acelite/ChangeLog @@ -0,0 +1,2590 @@ +Wed Aug 29 08:16:04 CEST 2012 Johnny Willemsen + + * ACE version 6.1.4 released. + +Mon Aug 27 20:38:00 UTC 2012 Steve Huston + + * include/makeinclude/platform_linux.GNU: Make CC and CXX setting + conditional again. Conditional behavior is relied upon by users. + Reverts the following: + Tue Mar 1 11:31:55 UTC 2011 Olli Savia + +Mon Aug 27 09:43:43 UTC 2012 johnny + + * apps/JAWS/clients/WebSTONE/src/config.cache: + * apps/JAWS/clients/WebSTONE/src/config.log: + * apps/JAWS/clients/WebSTONE/src/config.status: + Removed these files, generated by configure and + shouldn't be stored in the repository + +Fri Aug 24 10:27:22 UTC 2012 johnny + + * examples/APG/Streams/CommandModule.h: + * tests/Service_Config_Stream_Test.cpp: + Add ACE_System_Time_Policy as second template argument + to ACE_Module, the default template argument doesn't + work with clang which seems to be a bug in that + compiler + +Thu Aug 23 12:33:35 UTC 2012 johnny + + * ace/Condition_Attributes.inl: + * ace/config-hpux-11.00.h: + Another fix for hpux ia64 v3 + +Thu Aug 23 06:35:20 UTC 2012 Johnny Willemsen + + * ace/Condition_Attributes.inl: + Only check for ACE_LACKS_MONOTONIC_TIME + + * ace/Monotonic_Time_Policy.inl: + Layout change + + * ace/config-hpux-11.00.h: + Added ACE_LACKS_MONOTONIC_TIME + +Wed Aug 22 11:50:22 UTC 2012 Johnny Willemsen + + * ace/config-win32-common.h: + Added ACE_LACKS_CLOCK_MONOTONIC and + ACE_LACKS_CLOCK_REALTIME + +Wed Aug 22 06:13:12 UTC 2012 Johnny Willemsen + + * ace/os_include/sys/os_time.h: + Fixed incorrect check in this file + +Tue Aug 21 16:55:13 UTC 2012 Johnny Willemsen + + * ace/os_include/sys/os_time.h: + Introduced new ACE_LACKS_CLOCKID_T which is used to determine whether + we need to define clockid_t in ACE. Moved CLOCK_MONOTONIC and + CLOCK_REALTIME to file below + + * ace/os_include/sys/os_types.h: + Added CLOCK_MONOTONIC and CLOCK_REALTIME here and introduced new + ACE_LACKS_CLOCK_REALTIME and ACE_LACKS_CLOCK_MONOTONIC because on + for example HPUX CLOCK_REALTIME is not a define but part of an enum + + * ace/config-win32-common.h: + Added ACE_LACKS_CLOCKID_T + +Tue Aug 21 14:38:00 UTC 2012 Simon Massey + + * protocols/ace/INet/SSL_CallbackManager.h: + Spelling in comment. + +Tue Aug 21 12:25:45 UTC 2012 Simon Massey + + * ace/SSL/SSL_Context.h: + * ace/SSL/SSL_Context.inl: + + Solaris studio compilers amongst others were issuing warnings due to an + incorrect type of function pointer (i.e. not extern "C", but standard + C++ type) being stored/used of the form: + + Warning (Anachronism): Formal argument callback of type + extern "C" int(*)(int,x509_store_ctx_st*) + in call to + SSL_CTX_set_verify(ssl_ctx_st*, int, extern "C" int(*)(int,x509_store_ctx_st*)) + is being passed + int(*)(int,x509_store_ctx_st*) + + when the C++ code was providing callback functions to certain C system SSL + library calls. + + Unfortunatly you cannot specify extern "C" linkage anywhere inside a + class declaration or inside a function prototype for individual + parameters. I.e: + + class { extern "C" int (*callback_) (int, void *); }; + + to store an extern "C" function pointer as a data member of the + class is illegal, as is: + + void function (extern "C" int (*callback) (int, void *); + + to declare a function (or a class member) that takes a extern "C" + function pointer as a parameter. + + Since we need to specify an extern "C" function pointer as a parameter + to be stored in the class and handled by member functions, we are forced + to declare a typedef of that extern "C" function pointer outside of the + class that we can then use. Unfortunatly you also are not allowed to + simply add the extern "C" to the typedef itself, like this: + + typedef extern "C" int (*extern_C_callback_t) (int, void *); + + instead you have to place the typedef declaration inside an extern "C" + block, thus: + + extern "C" { + typedef int (*extern_C_callback_t) (int, void *); + } + + This then results in the correct call type associated with the + function pointer which may then be used inside the function and + class declarations to remove these warnings and possiable incorrect + call methods undertaken via the STL C functions. A lot of different + compilers ignore extern "C" where it is not allowed, the only way + I have found to be universally understood is as stated above. + + * protocols/ace/INet/SSL_CallbackManager.h: + * protocols/ace/INet/SSL_CallbackManager.cpp: + + Similar problems and interfacing to the changed calling type of the above + extern "C" function pointers. NOTE: just declaring a static function for + the class is NOT sufficient to obtain the correct extern "C" calling type. + We are therefore forced to declare friend functions external to the class + (as again we cannot have a extern "C" declaration inside a class even for + a static method) to do this job. Since these are extern "C" functions they + also of course cannot be overloaded, i.e. they are required to be unique + names. They also cannot be non-class static functions to make them private + to the cpp file as they need to actually be seen by the class declaration + to be made friends and therefore have to be included in the header file. + +Tue Aug 21 12:20:43 UTC 2012 Johnny Willemsen + + * ace/os_include/sys/os_types.h: + Fixed HPUX problem + +Tue Aug 21 02:45:07 UTC 2012 Phil Mesnier + + * ace/config-macosx-leopard.h: + setclock not supported on current macs. + +Mon Aug 20 18:07:25 UTC 2012 Johnny Willemsen + + * ace/Global_Macros.h: + Doxyen fixes + + * bin/valgrind.supp: + Added another needed suppression + +Mon Aug 20 10:03:23 UTC 2012 Johnny Willemsen + + * docs/ACE-monotonic-timer.html: + Fixed fuzz + +Mon Aug 20 09:03:22 UTC 2012 Johnny Willemsen + + * ace/Module.cpp: + Fixed possible memory leak and dead code, uncovered by Coverity scan + +Mon Aug 20 08:36:46 UTC 2012 Johnny Willemsen + + * docs/ACE-monotonic-timer.html: + New document describing the ACE monotonic timer support for conditions, + message queues and tasks + + * docs/index.html: + Added new page, removed link to site that doesn't work anymore + +Mon Aug 20 08:21:00 UTC 2012 Johnny Willemsen + + * ace/os_include/sys/os_types.h: + Define CLOCK_MONOTONIC to 1 when it is not defined, should fix + hpux problems + +Mon Aug 20 07:57:53 UTC 2012 Johnny Willemsen + + * ace/Condition_Attributes.h: + * ace/Condition_Attributes.inl: + Added accessor for attributes and removed friend declaration, + that hopefully fixes the Sun Studio 11 problems + + * ace/Condition_Recursive_Thread_Mutex.cpp: + * ace/Condition_T.cpp: + * ace/Condition_Thread_Mutex.cpp: + Use accessor of the attributes. + +Sat Aug 18 19:25:38 UTC 2012 Johnny Willemsen + + * ace/Null_Condition.h: + Fix for single threaded builds + +Sat Aug 18 19:23:21 UTC 2012 Johnny Willemsen + + * ace/Condition_Attributes.h: + Added forward declaration, maybe this fixes solaris 9 + +Fri Aug 17 18:05:54 UTC 2012 Johnny Willemsen + + * ace/OS_NS_Thread.inl: + Attempt to fix clang warning + +Fri Aug 17 13:38:05 UTC 2012 Martin Corino + + * ace/Condition_Recursive_Thread_Mutex.h: + * ace/Condition_Thread_Mutex.h: + * ace/Null_Condition.h: + * ace/Synch_Traits.h: + Changes to attempt to fix Solaris9 SUNStudio11 problems. + +Fri Aug 17 12:28:32 UTC 2012 Martin Corino + + * ace/config-hpux-11.00.h: + * ace/config-linux.h: + Fixes (hopefully) for non-compliant POSIX platforms. + +Fri Aug 17 11:19:01 UTC 2012 Martin Corino + + * tests/Monotonic_Message_Queue_Test.cpp: + * tests/Monotonic_Task_Test.cpp: + Added include files because of compile errors in certain + builds. + +Fri Aug 17 09:04:50 UTC 2012 Martin Corino + + * ace/Message_Queue_T.h: + * ace/Message_Queue_T.cpp: + * ace/Stream.h: + * ace/Stream.cpp: + * tests/Bug_4055_Regression_Test.cpp: + * tests/Monotonic_Task_Test.cpp: + Fixed compile errors for a bunch of crappy compilers + like the one on RHEL53 and AIX. + +Thu Aug 16 18:47:59 UTC 2012 Johnny Willemsen + + * ace/ace.mpc: + * ace/ace_for_tao.mpc: + List Time_Value_T files + +Thu Aug 16 13:43:39 UTC 2012 Martin Corino + + * ace/Message_Queue_T.cpp: + * ace/Stream.cpp: + * ace/Thread_Manager.cpp: + * tests/Bug_4055_Regression_Test.cpp: + Fixed problems with single threaded builds. + +Thu Aug 16 12:44:05 UTC 2012 Martin Corino + + * ace/Task_T.inl: + * ace/Time_Policy_T.inl: + Fuzz fixes. + +Thu Aug 16 09:43:00 UTC 2012 Simon Massey + + * test/Bug_3943_Regression_Test.cpp: + + Another cast required to remove warning. + +Thu Aug 16 09:22:31 UTC 2012 Martin Corino + + * ace/Condition_Attributes.h: + * ace/Condition_Attributes.inl: + * ace/Condition_Attributes.cpp: + * ace/Condition_Recursive_Thread_Mutex.h: + * ace/Condition_Recursive_Thread_Mutex.cpp: + * ace/Condition_T.h: + * ace/Condition_T.cpp: + * ace/Condition_Thread_Mutex.h: + * ace/Condition_Thread_Mutex.inl: + * ace/Condition_Thread_Mutex.cpp: + * ace/Message_Queue.h: + * ace/Message_Queue_T.h: + * ace/Message_Queue_T.cpp: + * ace/Module.h: + * ace/Module.inl: + * ace/Module.cpp: + * ace/Monotonic_Time_Policy.h: + * ace/Monotonic_Time_Policy.inl: + * ace/Monotonic_Time_Policy.cpp: + * ace/Null_Condition.h: + * ace/OS_NS_Thread.h: + * ace/OS_NS_Thread.inl: + * ace/OS_NS_Thread.cpp: + * ace/Stream.h: + * ace/Stream.inl: + * ace/Stream.cpp: + * ace/Stream_Modules.h: + * ace/Stream_Modules.cpp: + * ace/Synch_Traits.h: + * ace/Task_Ex_T.h: + * ace/Task_Ex_T.inl: + * ace/Task_Ex_T.cpp: + * ace/Task_T.h: + * ace/Task_T.inl: + * ace/Task_T.cpp: + * ace/Thread_Manager.h: + * ace/Thread_Manager.cpp: + * ace/Thread_Mutex.h: + * ace/Time_Policy.h: + * ace/Time_Policy.inl: + * ace/Time_Policy.cpp: + * ace/Time_Policy_T.h: + * ace/Time_Policy_T.inl: + * ace/Time_Policy_T.cpp: + * ace/Time_Value.h: + * ace/Time_Value.cpp: + * ace/Time_Value_T.h: + * ace/Time_Value_T.inl: + * ace/Time_Value_T.cpp: + * ace/ace.mpc: + * ace/ace_for_tao.mpc: + Added a Monotonic time policy and a Time_Value template + supporting time policies. Refactored OS_NS_Thread time + calculations to use new time policy aware functionality + of time values. Added support for monotonic timers with + condition variables in message queues, tasks and related + classes. See NEWS file and new regression tests for more + details. + Full backward compatibility is maintained. + + * tests/Bug_4055_Regression_Test.cpp: + Updated to fixed state. + + * tests/Monotonic_Message_Queue_Test.cpp: + * tests/Monotonic_Task_Test.cpp: + * tests/run_test.lst: + * tests/tests.mpc: + Added new monotonic timer regression tests. + + * NEWS: + Added detailed update descriptions. + +Thu Aug 16 09:24:00 UTC 2012 Simon Massey + + * bin/PerlACE/Process_Win32.pm: + * bin/PerlACE/ProcessVX_Win32.pm: + + If we wait for a process to exit, and it does, set the RUNNING status to false. + +Thu Aug 16 08:26:12 UTC 2012 Olli Savia + + * tests/tests.mpc: + Bug_4055_Regression_Test uses threads. + +Wed Aug 15 14:10:00 UTC 2012 Simon Massey + + * test/Bug_3911_Regression_Test.cpp: + * test/Bug_3943_Regression_Test.cpp: + + Some compilers warning against ordering pointers with integers. + +Wed Aug 15 11:42:28 UTC 2012 Johnny Willemsen + + * include/makeinclude/platform_linux_clang.GNU: + Support for c++0x flag + +Wed Aug 15 11:29:48 UTC 2012 Johnny Willemsen + + * include/makeinclude/platform_clang_common.GNU: + Support for c++0x flag + +Tue Aug 14 22:22:05 UTC 2012 Adam Mitz + + * ace/config-vxworks6.8.h: + + When building for VxWorks kernel mode, define ACE_LACKS_STD_WSTRING. + +Tue Aug 14 06:35:54 UTC 2012 Johnny Willemsen + + * bin/valgrind.supp: + Extended suppression list + +Thu Aug 9 07:03:10 UTC 2012 Johnny Willemsen + + * docs/bczar/bczar.html: + Added packages + + * include/makeinclude/platform_g++_common.GNU: + Use -Wno-deprecated with C++11 due to the heavy usage of auto_ptr + + * tests/randomize.h: + Doxygen fix + +Wed Aug 8 22:13:55 UTC 2012 Adam Mitz + + * ace/ACE.cpp: + * ace/ACE_crc_ccitt.cpp: + * ace/Basic_Types.h: + * ace/Configuration_Import_Export.cpp: + * ace/Handle_Set.inl: + * ace/INET_Addr.inl: + * ace/Message_Queue_Vx.inl: + * ace/Name_Request_Reply.cpp: + * ace/OS_NS_stdlib.cpp: + * ace/OS_NS_unistd.inl: + * ace/Select_Reactor_T.inl: + * ace/Service_Config.cpp: + * ace/Stack_Trace.cpp: + * ace/UUID.cpp: + * ace/config-vxworks6.9.h: + * include/makeinclude/platform_vxworks6.8.GNU: + * include/makeinclude/platform_vxworks6.9.GNU: + + Enable compiling for 64-bit VxWorks 6.9 (x86 RTP static). + +Wed Aug 8 15:30:00 UTC 2012 Simon Massey + + * ace/config-linux.h: + + According to man pages Linux uses different (compared to UNIX systems) types + for setting IP_MULTICAST_TTL and IPV6_MULTICAST_LOOP / IP_MULTICAST_LOOP + in setsockopt/getsockopt. + In the current (circa 2012) kernel source however there is an explicit check + for IPV6_MULTICAST_LOOP being sizeof(int). Anything else is rejected so it must + not be a passed a bool, irrespective of what the man pages (still) say. + i.e. #define ACE_HAS_IPV6_MULTICAST_LOOP_AS_BOOL 1 is wrong. + + * ace/SOCK_Dgram_Mcast.h: + * ace/SOCK_Dgram_Mcast.inl: + + Override read/write acessor for the constructor options + This class is typically default instantiated in a connection handler templated + framework so these cannot be specified on construction. + +Mon Aug 6 20:54:17 UTC 2012 Adam Mitz + + * bin/PerlACE/TestTarget.pm: + + Updated fix from Fri Jul 20 17:37:27 UTC 2012 to work when + one of source or destination is a relative path and other is not. + +Sat Jul 28 19:22:06 UTC 2012 Johnny Willemsen + + * bin/make_release.py: + Fixed exclude + +Fri Jul 27 10:55:51 UTC 2012 Johnny Willemsen + + * etc/ace.doxygen: + * etc/ace_inet.doxygen: + * etc/ace_qos.doxygen: + * etc/ace_rmcast.doxygen: + * etc/ace_ssl.doxygen: + * etc/acexml.doxygen: + Generate UML diagrams, assume stl is buildin + +Fri Jul 27 08:57:07 UTC 2012 Johnny Willemsen + + * etc/ace.doxygen: + * etc/ace_inet.doxygen: + * etc/ace_qos.doxygen: + * etc/ace_rmcast.doxygen: + * etc/ace_ssl.doxygen: + * etc/acexml.doxygen: + Upgraded with doxygen -u + +Thu Jul 26 16:22:35 UTC 2012 Johnny Willemsen + + * bin/make_release.py: + * docs/bczar/bczar.html: + Improved instructions + +Thu Jul 26 14:40:45 UTC 2012 Johnny Willemsen + + * docs/bczar/bczar.html: + Set all environment variables explicitly before running the doxygen + script + +Thu Jul 26 10:19:34 UTC 2012 Johnny Willemsen + + * ace/ARGV.h: + * ace/Arg_Shifter.h: + Doxygen improvements + + * rpmbuild/ace-tao.spec: + Removed ACE_XML_Utils, only compiled when xercesc is enabled + +Thu Jul 26 09:31:19 UTC 2012 Johnny Willemsen + + * NEWS: + Updated for next release + + * bin/diff-builds-and-group-fixed-tests-only.sh: + * bin/make_release.py: + * docs/Download.html: + * docs/bczar/bczar.html: + Updated for x.1.3 release + + * etc/ace.doxygen: + * etc/ace_inet.doxygen: + * etc/ace_qos.doxygen: + * etc/ace_rmcast.doxygen: + * etc/ace_ssl.doxygen: + * etc/acexml.doxygen: + * etc/index.html: + Removed deprecated tag + +Thu Jul 26 09:12:26 CEST 2012 Johnny Willemsen + + * ACE version 6.1.3 released. + +Fri Jul 20 17:37:27 UTC 2012 Adam Mitz + + * ace/config-vxworks6.8.h: + * ace/config-vxworks6.9.h: + + Changes to build for VxWorks 6.8 kernel mode. + + * bin/PerlACE/ProcessVX_Win32.pm: + * tests/run_test.lst: + + Changes for VxWorks testing. + + * bin/PerlACE/TestTarget.pm + + Fixed a Perl bug (ne vs. !=). + +Wed Jul 18 15:40:05 UTC 2012 Douglas C. Schmidt + + * Happy 50th Birthday to me! + +Tue Jun 26 21:47:18 UTC 2012 Adam Mitz + + * bin/valgrind.supp: + + Made the suppression for dlopen more generic, so that it + can work for different linux/glibc versions. + +Tue Jun 26 13:18:13 UTC 2012 Johnny Willemsen + + * tests/Bug_4055_Regression_Test.cpp: + Added commented out way to get the hr time + +Mon Jun 25 17:40:35 UTC 2012 Johnny Willemsen + + * tests/Bug_4055_Regression_Test.cpp: + * tests/run_test.lst: + * tests/tests.mpc: + Added new unit test which currently fails. The ACE condition + variables use an absolute timeout. If we for example wait for a + timeout 3 seconds in the future and the system time is changed 10 + seconds back we are really waiting 13 seconds now. The ACE timer + queues have support for using a monotonic time source using the + time policies but this support is not available for conditions at + this moment. When that is added, than in the ACE threading code + the monotonic time source can be set on the pthread condition + to control that we want to use a monotonic time source. + +Mon Jun 25 09:31:34 UTC 2012 Johnny Willemsen + + * ace/Condition_Attributes.h: + * ace/Condition_Attributes.inl: + * ace/Condition_Attributes.cpp: + * ace/Condition_Recursive_Thread_Mutex.h: + * ace/Condition_Thread_Mutex.h: + * ace/Condition_Thread_Mutex.inl: + * ace/ace.mpc: + * ace/ace_for_tao.mpc: + Moved condition attributes to its own file + +Fri Jun 22 00:30:11 UTC 2012 James H. Hill + + * tests/CDR_Test.cpp: + + Fixed compilation warnings on CentOS 3.9 and vc9 + +Thu Jun 21 17:08:55 UTC 2012 Johnny Willemsen + + * ace/DLL.h: + * ace/DLL_Manager.h: + * ace/DLL_Manager.cpp: + Changed the order that the ACE_DLL_Manager attempts to open a library + Foo so that it will try Foo. before + Foo.. This makes library loading using ACE succeed + on the first try instead of the fourth on any platform requiring a + library prefix, like Linux. For platforms that don't have a prefix + it will also succeed on the first time. Thanks to Trent Nadeau + for providing this improvement + +Wed Jun 20 12:54:29 UTC 2012 James H. Hill + + * tests/CDR_Test.cpp: + + Fixed error in test execution. + +Mon Jun 18 20:40:29 UTC 2012 James H. Hill + + * ace/CDR_Stream.h: + * ace/CDR_Stream.cpp: + * tests/CDR_Test.cpp: + + Extended ACE_OutputCDR placeholders to support all ACE_CDR + simple types. + +Mon Jun 18 13:20:32 UTC 2012 Johnny Willemsen + + * bin/auto_run_tests.pl: + Use -z for debug mode + +Mon Jun 18 06:44:11 UTC 2012 Johnny Willemsen + + * debian/*: + Updated with latest files from debian packaging + +Thu Jun 14 14:05:13 UTC 2012 Johnny Willemsen + + * ace/XML_Utils/XML_Error_Handler.cpp: + Only print errors on cerr when we have ACE::debug enabled + +Wed Jun 13 05:57:16 UTC 2012 Johnny Willemsen + + * docs/bczar/bczar.html: + Added another package + +Tue Jun 12 17:30:47 UTC 2012 Johnny Willemsen + + * bin/make_release.py: + Exclude CIAO_*_OpenDDS workspaces for the moment + +Mon Jun 11 21:45:19 UTC 2012 Adam Mitz + + * NEWS: + * ace/config-lite.h: + * include/makeinclude/platform_sunos5_sunc++.GNU: + + Added support for Oracle Solaris Studio 12 Update 3 (SunCC 5.12). + +Mon Jun 11 17:05:36 UTC 2012 Johnny Willemsen + + * bin/auto_run_tests.pl: + Added option -d to run OpenDDS tests also + + * bin/diff-builds-and-group-fixed-tests-only.sh: + Also check OpenDDS lst files + +Thu Jun 7 10:13:13 UTC 2012 Johnny Willemsen + + * ace/Condition_Thread_Mutex.h: + * ace/Dynamic_Message_Strategy.h: + * ace/Message_Queue.h: + * ace/Metrics_Cache_T.h: + Doxygen fixes + +Wed Jun 6 14:46:53 UTC 2012 Johnny Willemsen + + * ace/XML_Utils/XSCRT/Traversal.hpp: + * ace/XML_Utils/XSCRT/Traversal.tpp: + Readded tpp file, shouldn't have been deleted + +Wed Jun 6 13:09:02 UTC 2012 Johnny Willemsen + + * ace/XML_Utils/XMLSchema/Traversal.hpp: + * ace/XML_Utils/XMLSchema/Types.hpp: + * ace/XML_Utils/XMLSchema/Writer.hpp: + * ace/XML_Utils/XSCRT/Elements.hpp: + * ace/XML_Utils/XSCRT/Parser.hpp: + * ace/XML_Utils/XSCRT/Traversal.hpp: + * ace/XML_Utils/XSCRT/Writer.hpp: + * ace/XML_Utils/XSCRT/XML.hpp: + Removed includes + + * ace/XML_Utils/XMLSchema/Traversal.tpp: + * ace/XML_Utils/XMLSchema/Types.tpp: + * ace/XML_Utils/XMLSchema/Writer.tpp: + * ace/XML_Utils/XSCRT/Elements.tpp: + * ace/XML_Utils/XSCRT/Parser.tpp: + * ace/XML_Utils/XSCRT/Traversal.tpp: + * ace/XML_Utils/XSCRT/Writer.tpp: + * ace/XML_Utils/XSCRT/XML.tpp: + Removed these files. + +Wed Jun 6 10:27:33 UTC 2012 Johnny Willemsen + + * ace/XML_Utils/XML.mpc: + Install fixes + +Wed Jun 6 08:12:22 UTC 2012 Johnny Willemsen + + * ace/XML_Utils/XML.mpc: + Install fixes + +Fri Jun 1 12:43:48 UTC 2012 Johnny Willemsen + + * ace/Condition_Thread_Mutex.cpp: + * ace/Message_Queue_T.h: + * ace/Message_Queue_T.cpp: + * ace/Thread_Semaphore.h: + * ace/Time_Policy.h: + * ace/Timer_Hash_T.h: + Doxygen fixes + +Thu May 31 14:05:51 UTC 2012 Johnny Willemsen + + * rpmbuild/ace-tao.spec: + Added new library + +Thu May 31 12:31:38 UTC 2012 Johnny Willemsen + + * ace/XML_Utils/XMLSchema: + * ace/XML_Utils/XMLSchema/Traversal.hpp: + * ace/XML_Utils/XMLSchema/TypeInfo.hpp: + * ace/XML_Utils/XMLSchema/Types.hpp: + * ace/XML_Utils/XMLSchema/Writer.hpp: + * ace/XML_Utils/XMLSchema/id_map.hpp: + * ace/XML_Utils/XSCRT: + * ace/XML_Utils/XSCRT/Elements.hpp: + * ace/XML_Utils/XSCRT/ExtendedTypeInfo.hpp: + * ace/XML_Utils/XSCRT/Parser.hpp: + * ace/XML_Utils/XSCRT/Traversal.hpp: + * ace/XML_Utils/XSCRT/Writer.hpp: + * ace/XML_Utils/XSCRT/XML.hpp: + * ace/XML_Utils/XSCRT/XMLSchema.hpp: + Moved these files from DAnCE to ACE + + * ace/XML_Utils/XSCRT/Elements.ipp: + * ace/XML_Utils/XSCRT/Parser.ipp: + * ace/XML_Utils/XSCRT/Traversal.ipp: + * ace/XML_Utils/XSCRT/Writer.ipp: + * ace/XML_Utils/XSCRT/XML.ipp: + Removed these files. + +Thu May 31 09:12:07 UTC 2012 Johnny Willemsen + + * ace/XML_Utils: + * ace/XML_Utils/XML.mpc: + * ace/XML_Utils/XML_Error_Handler.h: + * ace/XML_Utils/XML_Helper.h: + * ace/XML_Utils/XML_Schema_Resolver.h: + * bin/MakeProjectCreator/config/ace_xml_utils.mpb: + New ACE_XML_Utils library. This is coming from DAnCe and had to + move to ACE because it is now used in more places and soon will + also be used by OpenDDS + +Thu May 31 07:57:59 UTC 2012 Johnny Willemsen + + * ace/High_Res_Timer.h: + * ace/Message_Block.h: + Doxygen improvements + + * ace/High_Res_Timer.inl: + Use gsf type to prevent overflow + + * docs/bczar/bczar.html: + Added some more packages + +Thu May 24 14:35:04 UTC 2012 Steve Huston + + * ace/Cache_Map_Manager_T.cpp (find): Remove extraneous () from + 'second' - leftover from ACE_Pair days. + + * tests/Cache_Map_Manager_Test.cpp: Add call to the above method. + + * THANKS: Thanks to Milind Pangarkar for the above test, and fix. + +Thu May 24 07:58:53 UTC 2012 Johnny Willemsen + + * ace/High_Res_Timer.h: + * ace/config-win32-msvc.h: + Documentation updates + + * ace/High_Res_Timer.inl: + Layout changes + + * ace/High_Res_Timer.cpp: + Use this + +Thu May 24 05:56:27 UTC 2012 Johnny Willemsen + + * bin/MakeProjectCreator/config/MPC.cfg: + Added XSC_ROOT + + * bin/valgrind.supp: + Simplified this file + +Mon May 21 18:05:32 UTC 2012 Johnny Willemsen + + * tests/INTEGRITY.ld: + Removed this file. + +Mon May 21 07:15:10 UTC 2012 Johnny Willemsen + + * NEWS: + * bin/diff-builds-and-group-fixed-tests-only.sh: + * docs/Download.html: + * docs/bczar/bczar.html: + * etc/index.html: + Updated for new release + +Sat May 19 14:28:57 CEST 2012 Johnny Willemsen + + * ACE version 6.1.2 released. + +Thu May 17 16:16:09 UTC 2012 Adam Mitz + + * ACE-INSTALL.html: + + Replaced the make flag static_libs with static_libs_only. + Using static_libs implies that both static and shared can + be built at the same time, which is not true in general. + +Thu May 17 15:42:36 UTC 2012 Steve Huston + + * ace/Reactor.h: Clarified the timeout conditions on + run_reactor_event_loop(). Thank you to Mohsin Zaidi for this + clarification. + + * THANKS: Added Mohsin Zaidi to the Hall of Fame. + +Wed May 16 17:41:21 UTC 2012 Steve Huston + + * ace/OS_NS_Thread.cpp (ACE_Thread_ID::to_string): Use string literals + for the sprintf formats rather than build them up. Things have + simplified to the point we don't need that any longer. Thanks to + Rick Ohnemus for providing the patch. Fixes Bugzilla #4021. + +Wed May 16 06:44:23 UTC 2012 Johnny Willemsen + + * tests/run_test.lst: + * tests/tests.mpc: + * tests/Bug_4008_Regression_Test.cpp: + Removed bug 4008 test, it was testing incorrect assumptions + +Wed May 16 06:42:45 UTC 2012 Johnny Willemsen + + * ace/Basic_Types.h: + * ace/Basic_Types.cpp: + * ace/Functor.inl: + * ace/High_Res_Timer.inl: + * ace/OS_NS_time.h: + * ace/OS_NS_time.inl: + * tests/Basic_Types_Test.cpp: + * tests/Bug_2434_Regression_Test.cpp: + * tests/Time_Value_Test.cpp: + More cleanup due to removal of NSK + + * ace/Basic_Types.inl: + Removed this file. + +Tue May 15 18:16:09 UTC 2012 Johnny Willemsen + + * ace/ACE.inl: + * ace/Atomic_Op_T.h: + * ace/Basic_Types.h: + * ace/Basic_Types.inl: + * ace/Basic_Types.cpp: + * ace/CDR_Base.h: + * ace/Functor.h: + * ace/Functor.inl: + * ace/Handle_Set.cpp: + * ace/High_Res_Timer.cpp: + * ace/Log_Msg.cpp: + * ace/Numeric_Limits.h: + * ace/OS_NS_Thread.inl: + * ace/OS_NS_Thread.cpp: + * ace/OS_NS_stdlib.inl: + * ace/OS_NS_sys_select.inl: + * ace/OS_NS_sys_wait.inl: + * ace/OS_NS_time.h: + * ace/OS_NS_time.inl: + * ace/OS_NS_unistd.inl: + * ace/Profile_Timer.cpp: + * ace/Sched_Params.cpp: + * ace/Stats.cpp: + * ace/Task.cpp: + * ace/Throughput_Stats.cpp: + * ace/Time_Value.h: + * ace/Time_Value.inl: + * ace/Truncate.h: + * ace/UUID.cpp: + * ace/os_include/os_pthread.h: + * performance-tests/Server_Concurrency/Latency_Stats.h: + * performance-tests/Server_Concurrency/Leader_Follower/leader_follower.cpp: + * performance-tests/Server_Concurrency/Queue_Based_Workers/workers.cpp: + * performance-tests/UDP/udp_test.cpp: + * tests/Atomic_Op_Test.cpp: + * tests/Basic_Types_Test.cpp: + * tests/CDR_Array_Test.cpp: + Removed support for Tandem NSK. That was the last platform that + needed the emulated versions of ACE_INT64 and ACE_UINT64, that + emulation has now been removed + + * ace/config-tandem-nsk-mips-v2.h: + * ace/config-tandem-nsk-mips-v3.h: + Removed these files. + +Mon May 14 18:48:14 UTC 2012 Johnny Willemsen + + * performance-tests/Server_Concurrency/Latency_Stats.h: + Fixed conversion warnings + +Sun May 13 17:13:31 UTC 2012 Johnny Willemsen + + * ace/Sample_History.h: + * ace/Sample_History.inl: + * ace/Sample_History.cpp: + Introduced scale_factor_type traits to handle the fact that the + ACE HighResTimer scale factor is now ACE_UINT64 + +Sun May 13 12:27:03 UTC 2012 Johnny Willemsen + + * ace/High_Res_Timer.h: + Fixed typo + + * ace/Basic_Stats.h: + * ace/Basic_Stats.cpp: + * ace/Throughput_Stats.h: + * ace/Throughput_Stats.cpp: + Introduced scale_factor_type traits to handle the fact that the + ACE HighResTimer scale factor is now ACE_UINT64 + + * ace/Timeprobe_T.cpp: + Use correct trait for the scale factor + + * performance-tests/RPC/client.cpp: + * performance-tests/SCTP/SOCK_SEQPACK_clt.cpp: + * performance-tests/SCTP/SOCK_STREAM_clt.cpp: + * performance-tests/Server_Concurrency/Latency_Stats.h: + * performance-tests/TCP/tcp_test.cpp: + Use ACE_High_Res_Timer::global_scale_factor_type + +Sat May 12 11:11:45 UTC 2012 Johnny Willemsen + + * ace/Time_Value.h: + * ace/Time_Value.cpp: + None of the windows compilers define ACE_LACKS_LONGLONG_T + + * ace/High_Res_Timer.h: + * ace/High_Res_Timer.inl: + * ace/High_Res_Timer.cpp: + Integrated patches from bugzilla 3703 increasing the precision + of the high resolution timers on windows + +Sat May 12 11:03:57 UTC 2012 Johnny Willemsen + + * ASNMP/asnmp/transaction.cpp: + * Kokyu/Dispatch_Deferrer.cpp: + Compare return value of schedule_timer with -1 + + * ace/OS_NS_time.h: + None of the windows compilers define ACE_LACKS_LONGLONG_T + + * bin/PerlACE/TestTarget_WinCE.pm: + Typo fix + +Sat May 12 11:01:50 UTC 2012 Johnny Willemsen + + * ace/config-win32-common.h: + None of the windows compilers define ACE_LACKS_LONGLONG_T + +Sat May 12 10:54:24 UTC 2012 Johnny Willemsen + + * ace/Numeric_Limits.h: + Fixed typo + +Fri May 11 17:42:08 UTC 2012 Steve Huston + + * ace/Dev_Poll_Reactor.cpp (mask_ops_i): Return -1 if epoll_ctl + fails and we don't recover from it. Fixes Bugzilla #4019. Thanks + to David Simmonds for this fix. + +Fri May 4 17:25:53 UTC 2012 Johnny Willemsen + + * ace/Acceptor.cpp: + Fixed incorrect check of the return value of schedule_timer, + an error is indicated with -1, not 0. Thanks to Deux deVille + for reporting this + +Thu May 3 07:15:54 UTC 2012 Johnny Willemsen + + * tests/Bug_3673_Regression_Test.cpp: + Fixed typo + +Wed May 2 18:36:25 UTC 2012 Johnny Willemsen + + * ace/OS_NS_math.h: + Fixed compile warning with WinCE + +Wed May 2 17:08:28 UTC 2012 Jeff Parsons + + * THANKS: + + Added Markus Manck + +Tue May 1 17:38:13 UTC 2012 Johnny Willemsen + + * bin/msvc_mpc_auto_compile.pl: + Added -project_root to override $ACE_ROOT as root to search for + solutions. This is needed when using this script in a flat directory + layout + +Tue May 1 12:52:45 UTC 2012 Johnny Willemsen + + * ace/OS_NS_sys_time.cpp: + * ace/config-win32-msvc-10.h: + * ace/config-win32-msvc-8.h: + * ace/config-win32-msvc-9.h: + WinCE also has non conformant timeval. When _USE_32BIT_TIME_T is not + defined we have to use our workaround in all cases + +Tue May 1 11:42:22 UTC 2012 Johnny Willemsen + + * ace/os_include/sys/os_stat.h: + Fixed compile error + +Tue May 1 10:25:37 UTC 2012 Johnny Willemsen + + * ace/os_include/sys/os_stat.h: + Compile fix for WinCE 7 + +Tue May 1 07:48:30 UTC 2012 Johnny Willemsen + + * ace/Mem_Map.cpp: + Layout changes + + * ace/config-win32-msvc-9.h: + Removed wince comment + +Sun Apr 29 19:17:29 UTC 2012 Johnny Willemsen + + * bin/msvc_mpc_auto_compile.pl: + More improvements to this script + +Sun Apr 29 19:01:08 UTC 2012 Johnny Willemsen + + * bin/msvc_mpc_auto_compile.pl: + Support flat layout + +Fri Apr 27 18:43:31 UTC 2012 Johnny Willemsen + + * bin/msvc_mpc_auto_compile.pl: + Corrected output messages + +Fri Apr 27 18:40:51 UTC 2012 Johnny Willemsen + + * ace/OS_NS_time.h: + * ace/config-win32-msvc-9.h: + First fixes for WinCE 7 + +Wed Apr 25 07:02:16 UTC 2012 Johnny Willemsen + + * ace/Get_Opt.cpp: + Reverted Wed Apr 18 08:51:31 UTC 2012 Martin Corino + +Tue Apr 24 01:18:27 UTC 2012 Douglas C. Schmidt + + * ace/String_Base.h (template): Zapped the 'explicit' keywords + introduced by the change in + + Tue Apr 17 19:09:30 UTC 2012 Douglas C. Schmidt + + since it was breaking too much code. + +Wed Apr 18 08:51:31 UTC 2012 Martin Corino + + * ace/String_Base.h: + Reverted 'explicit' declaration for single arg constructor for + const ACE_TCHAR* as implicit conversion of this arg type to + ACE string class is the expected behaviour (similar to the + STL std::string). + + * ace/Get_Opt.cpp: + Introduced explicit ACE_CString constructor call for single + arg ACE_TCHAR (not pointer) constructor. + +Wed Apr 18 06:31:56 UTC 2012 Johnny Willemsen + + * ace/Future.cpp: + Fixed commented out guard. Thanks to Andreas Dröscher + for reporting this. + +Tue Apr 17 19:09:30 UTC 2012 Douglas C. Schmidt + + * ace/String_Base.h: Made the single parameter constructors + explicit to avoid problems with implict conversions. Thanks to + Adam Rymarczuk for + reporting this. + +Thu Apr 12 11:25:25 UTC 2012 Johnny Willemsen + + * include/makeinclude/platform_linux_icc.GNU: + Added support for c++0x + +Tue Apr 10 20:09:23 UTC 2012 Douglas C. Schmidt + + * ace/Dev_Poll_Reactor.cpp (ACE_Dev_Poll_Reactor::resumable_handler): + Changed this method to return 1 instead of 0. Thanks to David + Simmonds for providing + this fix. This fixes bugid 4015. + + Added David to the ACE hall of fame. + +Tue Apr 10 20:10:06 UTC 2012 Adam Mitz + + * bin/MakeProjectCreator/templates/gnu.mpd: + + Install the Inline_Files even with inline=0. Many of these files + are still needed, especially *_T.inl. This resolves bug #4002. + +Mon Apr 9 21:57:39 UTC 2012 Steve Huston + + * ace/Timer_Queue_T.cpp (calculate_timeout): Lock the mutex before + accessing timer queue elements to calculate the timeout. Thanks to + Kannan Ramaswamy for this fix. + +Sun Apr 8 14:25:23 UTC 2012 Phil Mesnier + + * ace/ace.mpc: + + Move ace_wchar.inl to the header section so that it is always + installed even when the library is built with inline=0. This is + required because ace_wchar is always inlined. + +Fri Apr 6 11:58:40 UTC 2012 Johnny Willemsen + + * docs/Download.html: + Added another rpm + +Fri Apr 6 10:48:03 UTC 2012 Johnny Willemsen + + * NEWS: + * bin/diff-builds-and-group-fixed-tests-only.sh: + * docs/Download.html: + * docs/bczar/bczar.html: + * etc/index.html: + Updated for next release + +Fri Apr 06 09:03:19 CEST 2012 Johnny Willemsen + + * ACE version 6.1.1 released. + +Tue Apr 3 22:49:11 UTC 2012 Steve Huston + + * ace/SOCK_Dgram_Mcast.cpp (subscribe_ifs): Set the error code when + a Windows API call fails. Also, when calling GetAdaptersAddresses() + to both check size and get the info, supply GAA_FLAG_SKIP_MULTICAST + as the flag value. This avoids obtaining info for joined multicast + addresses, not multicastable interfaces. Without the flag, and if + some other process does a join between the size-check call and the + info-gathering call, the size will be wrong. + +Tue Apr 3 17:01:33 UTC 2012 Jeff Parsons + + * THANKS: + + Added Thomas Stegemann . + +Tue Apr 3 16:18:35 UTC 2012 Douglas C. Schmidt + + * ace/ACE.cpp (ACE::timestamp): Fixed an "off-by-one" error that + caused corruption of timestamps when using + ACE_LOG_TIMESTAMP="TIME" env var. Thanks to Andrea Sormanni + for reporting this and + providing a fix. + + Added Andrea to the Hall of Fame! + +Fri Mar 30 14:33:58 UTC 2012 Steve Huston + + * examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp: Changed + use of ::sscanf_s() to only those platforms with the setting + ACE_HAS_TR24731_2005_CRT (VC8 and up). + +Fri Mar 30 13:39:25 UTC 2012 Adam Mitz + + * include/makeinclude/platform_win32_msvc.GNU: + + Added iphlpapi to the list of system libraries. + +Thu Mar 29 21:50:17 UTC 2012 Adam Mitz + + * bin/MakeProjectCreator/templates/gnu.mpd: + + Postbuild steps need a dependency on the executable or library + so that parallel make will run them at the right time. + +Wed Mar 28 22:03:45 UTC 2012 Steve Huston + + * examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp: Changed + the +H handle value scan to know this is a hex value on Windows, but + a decimal value on everything else. Thanks to Andy Gokhale for this. + +Wed Mar 28 21:44:20 UTC 2012 Steve Huston + + * tests/Multicast_Test.cpp: Removed the forced set_nic to "lo" for + Linux. It's not needed with the changes from: + Wed Mar 21 21:57:40 UTC 2012 Steve Huston + +Mon Mar 26 11:27:11 UTC 2012 Johnny Willemsen + + * include/makeinclude/platform_mingw32.GNU: + Added iphlpapi + +Sat Mar 24 21:53:13 UTC 2012 Steve Huston + + * ace/SOCK_Dgram_Mcast.cpp (subscribe_ifs): For Windows, handle IPv6 + and IPv4 differently. The make_multicast_ifaddr() call that will end + up being made for IPv4 wants the interface's IP address, not name. + + * bin/MakeProjectCreator/config/acedefaults.mpb: + * bin/MakeProjectCreator/config/ipv6.mpb: Moved the lit_lib for iphlpapi + on Windows from the IPv6 base to acedefaults. SOCK_Dgram_Mcast.cpp + uses it for both IPv4 and IPv6 now. + +Fri Mar 23 22:06:11 UTC 2012 Steve Huston + + * ace/WIN32_Asynch_IO.cpp: Fixed possible heap corruption in + ACE_SOCK_Dgram_Read_Dgram::recv(). Thank you to + Dmytro Ovdiienko for unconvering this. + + * THANKS: Added Dmytro to the Hall of Fame. + +Thu Mar 22 16:23:14 UTC 2012 Steve Huston + + * ace/SOCK_Dgram_Mcast.h: Corrected the description of conditions + under which using OPT_NULLIFACE_ALL works and neatened things up. + + * tests/Multicast_Test.cpp: Turn on IP_MULTICAST_LOOP all the time. + This test requires it and it's not universally the default. + +Thu Mar 22 13:03:46 UTC 2012 Johnny Willemsen + + * ace/ARGV.cpp: + * ace/Acceptor.cpp: + * ace/Asynch_Acceptor.cpp: + * ace/Cached_Connect_Strategy_T.cpp: + * ace/Lib_Find.cpp: + * ace/Strategies_T.cpp: + * ace/Timer_Heap_T.cpp: + Fixed coverity errors + +Wed Mar 21 21:57:40 UTC 2012 Steve Huston + + * ace/SOCK_Dgram_Mcast.cpp (subscribe_ifs): Expanded the use of + code to scan interfaces to be always, not just for IPv6, when + subscribing with OPT_NULLIFACE_ALL and no specific interface. + Also replaced use of ACE_OS::if_nameindex with getifaddr() when + it's available (which was only on Linux anyway) so checks + for interface up and multicastable can be made before joining. + The code now works for systems with ACE_HAS_GETIFDADDR (incl. + Linux, which was my main issue driving this) and Win32. The others + end up in the old get_ip_interfaces code which will never work + anywhere as far as I can tell because it tries to subscribe to an + interface named with the IP address in string form. + + * tests/Multicast_Test.cpp: Removed hack force of interface "lo0" + on join(). No need for that with the fix above. For background, this + was added at: + Thu Jan 21 15:25:30 UTC 2010 Martin Corino + + * ace/Sock_Connect.cpp (get_ip_interfaces_getifaddr): Will no longer + return an interface marked 'down'. Partially fixes Bugzilla #1990 + but other platform-specific changes are needed to resolve it + completely. + +Sat Mar 17 12:16:15 UTC 2012 Johnny Willemsen + + * docs/Download.html: + Added link to the mailing lists with an advice for people to subscribe + +Sat Mar 17 12:11:15 UTC 2012 Johnny Willemsen + + * bin/cleanbuilds.sh: + * bin/diff-builds.pl: + Updated teststat links + +Wed Mar 14 10:04:06 UTC 2012 Johnny Willemsen + + * docs/Download.html: + Added link to ORBZone as community site for CORBA/CCM + + * tests/run_test.lst: + Mark 4008 as not fixed + +Tue Mar 13 11:24:33 UTC 2012 Johnny Willemsen + + * ace/Service_Gestalt.cpp: + Reverted change below, breaks Missing_Svc_Conf_Test test + +Tue Mar 13 09:36:18 UTC 2012 Johnny Willemsen + + * ace/Service_Gestalt.cpp: + Fixed bugzilla 4008, thanks to Derek Dominish + for + creating the fix + +Tue Mar 13 09:29:56 UTC 2012 Johnny Willemsen + + * tests/Bug_4008_Regression_Test.cpp: + * tests/run_test.lst: + * tests/tests.mpc: + New test for bugzilla 4008. Thanks to Derek Dominish + for + creating this test + +Mon Mar 12 20:22:17 UTC 2012 Adam Mitz + + * include/makeinclude/rules.local.GNU: + + Revert this part of Friday's change, with a comment added + to describe why this use of 'pwd' is different. + +Fri Mar 9 20:38:22 UTC 2012 Adam Mitz + + * include/makeinclude/rules.lib.GNU: + + When creating an archive library, use all object files instead of + just modified object files. This fixes a bug that can occur when + two different subdirectories have objects files with the same name. + The archive dosn't track directory names so "replacing" one changed + object could actually be clobbering another one. + + * include/makeinclude/rules.local.GNU: + + Use the $(PWD) make variable for current directory. + +Wed Mar 7 14:58:07 UTC 2012 Johnny Willemsen + + * docs/Download.html: + Added new download link for latest minor with versioned namespaces + +Wed Mar 7 14:37:18 UTC 2012 Johnny Willemsen + + * rpmbuild/ace-tao.spec: + Fix for ppc64 + +Wed Mar 7 13:31:58 UTC 2012 Johnny Willemsen + + * ace/Base_Thread_Adapter.h: + * ace/Base_Thread_Adapter.cpp: + * ace/ETCL/ETCL_Constraint.inl: + * ace/Module.cpp: + * ace/Stream.cpp: + * ace/Thread_Manager.h: + * ace/Timer_Hash_T.cpp: + Fixed coverity errors + +Wed Mar 7 10:55:28 UTC 2012 Johnny Willemsen + + * rpmbuild/ace-tao.spec: + Added new libraries + +Wed Mar 7 10:02:49 UTC 2012 Johnny Willemsen + + * NEWS: + * bin/diff-builds-and-group-fixed-tests-only.sh: + * docs/Download.html: + * docs/bczar/bczar.html: + * etc/index.html: + Updated for release + +Wed Mar 07 09:04:40 CET 2012 Johnny Willemsen + + * ACE version 6.1.0 released. + +Sat Mar 3 20:48:15 UTC 2012 Johnny Willemsen + + * ace/Thread_Manager.cpp: + Coverity fix + +Sat Mar 3 20:45:30 UTC 2012 Johnny Willemsen + + * ace/Event_Handler_Handle_Timeout_Upcall.cpp: + Coverity fix + +Sat Mar 3 20:22:09 UTC 2012 Johnny Willemsen + + * ace/Compression/rle/RLECompressor.h: + Fixed export macro + +Fri Mar 2 12:41:21 UTC 2012 Johnny Willemsen + + * ace/Compression/rle/RLECompressor.h: + Fixed export macro + +Wed Feb 29 16:30:00 UTC 2012 Simon Massey + + * ace/CDR_Stream.cpp: + Allow strings to be indirected (required for ValueType RepoIDs). + +Wed Feb 29 07:25:21 UTC 2012 Johnny Willemsen + + * ace/Handle_Set.cpp: + * ace/Select_Reactor_Base.cpp: + * ace/Service_Types.cpp: + Fixed coverity errors + +Tue Feb 28 14:35:36 UTC 2012 Johnny Willemsen + + * ace/Process.cpp: + Fixed coverity error + +Tue Feb 28 03:27:28 UTC 2012 Douglas C. Schmidt + + * + apps/JAWS3/jaws3/Reactive_IO.cpp (JAWS_IO_Reactive_Transmit::handle_output_source): + Check mb == 0 before using it. Thanks to Andrey Karpov for reporting this. + +Tue Feb 28 03:18:56 UTC 2012 Douglas C. Schmidt + + * ace/Throughput_Stats.cpp (ACE_Throughput_Stats::sample): Zapped + a redundant else statement. Thanks to Andrey Karpov for reporting this. + +Tue Feb 28 03:15:37 UTC 2012 Douglas C. Schmidt + + * protocols/ace/INet/URLBase.cpp (ACE): Changed + + if (pos > 0 && url_string[pos+1] == '/' && url_string[pos+1] == '/') + + to + + if (pos > 0 && url_string[pos+1] == '/' && url_string[pos+2] == '/') + + Thanks to Andrey Karpov for reporting + this. + +Mon Feb 27 08:11:06 UTC 2012 Johnny Willemsen + + * ace/Compression/rle/RLECompressor.h: + Doxygen fix + + * ace/Compression/rle/RLECompressor.cpp: + Fixed gcc warning + +Fri Feb 24 09:19:40 UTC 2012 Johnny Willemsen + + * ace/Compression/Compressor.h: + Fixed compile warning + +Fri Feb 24 09:14:22 UTC 2012 Johnny Willemsen + + * ace/Compression/Compressor.h: + * ace/Compression/Compressor.cpp: + * ace/Compression/rle/RLECompressor.h: + * ace/Compression/rle/RLECompressor.cpp: + Added virtual destructors + +Fri Feb 24 08:45:08 UTC 2012 Johnny Willemsen + + * ace/Compression/ACE_Compression.mpc: + * ace/Compression/rle/ACE_RLECompression.mpc: + Fixed id and install problems + + * bin/fuzz.pl: + Extended check for incorrect id tags + +Thu Feb 23 08:20:56 UTC 2012 Johnny Willemsen + + * ace/Compression/Compressor.h: + * ace/Compression/rle/RLECompressor.h: + * bin/MakeProjectCreator/config/ace_compressionlib.mpb: + * bin/MakeProjectCreator/config/ace_rlecompressionlib.mpb: + Fuzz fixes + +Thu Feb 23 07:52:58 UTC 2012 Johnny Willemsen + + * ace/Compression: + * ace/Compression/ACE_Compression.mpc: + * ace/Compression/ACE_Compression_export.h: + * ace/Compression/Compressor.h: + * ace/Compression/Compressor.inl: + * ace/Compression/Compressor.cpp: + * ace/Compression/rle: + * ace/Compression/rle/ACE_RLECompression.mpc: + * ace/Compression/rle/ACE_RLECompression_export.h: + * ace/Compression/rle/RLECompressor.h: + * ace/Compression/rle/RLECompressor.cpp: + * bin/MakeProjectCreator/config/ace_compressionlib.mpb: + * bin/MakeProjectCreator/config/ace_rlecompressionlib.mpb: + Added new ACE compression and rle compressor libraries. This code + was first part of TAO, but now moved to ACE because it provides + a basic run length encoding compressor that makes it possible to + compress data without depending on any external library + + * docs/bczar/bczar.html: + Added package + +Tue Feb 21 14:52:02 UTC 2012 Adam Mitz + + * ace/OS_NS_Thread.inl: + * ace/config-vxworks6.9.h: + + Fixed errors from fuzz script. + +Tue Feb 21 14:37:47 UTC 2012 Johnny Willemsen + + * PROBLEM-REPORT-FORM: + Removed build method question + +Fri Feb 17 23:10:37 UTC 2012 Adam Mitz + + * NEWS: + * ace/Message_Queue_T.cpp: + * ace/Message_Queue_Vx.cpp: + * ace/OS_NS_Thread.inl: + * ace/OS_NS_arpa_inet.cpp: + * ace/OS_NS_unistd.inl: + * ace/Stack_Trace.cpp: + * ace/config-vxworks.h: + * ace/config-vxworks6.9.h: + * ace/os_include/sys/os_types.h: + * include/makeinclude/platform_vxworks.GNU: + * include/makeinclude/platform_vxworks6.9.GNU: + * tests/Bug_3943_Regression_Test.cpp: + + Added support for VxWorks version 6.9. + +Tue Feb 14 22:57:00 UTC 2012 William R. Otte + + * ace/ACE.cpp: + * ace/Dev_Poll_Reactor.cpp: + * ace/Handle_Set.cpp: + * ace/High_Res_Timer.h: + * ace/High_Res_Timer.cpp: + * ace/INET_Addr.h: + * ace/INET_Addr.cpp: + * ace/Monitor_Control/Bytes_Received_Monitor.h: + * ace/Monitor_Control/Bytes_Received_Monitor.cpp: + * ace/Monitor_Control/Bytes_Sent_Monitor.h: + * ace/Monitor_Control/Bytes_Sent_Monitor.cpp: + * ace/Monitor_Control/CPU_Load_Monitor.h: + * ace/Monitor_Control/CPU_Load_Monitor.cpp: + * ace/Monitor_Control/Linux_Network_Interface_Monitor.h: + * ace/Monitor_Control/Linux_Network_Interface_Monitor.cpp: + * ace/Monitor_Control/Num_Threads_Monitor.h: + * ace/Monitor_Control/Num_Threads_Monitor.cpp: + * ace/Monitor_Control/Packets_Received_Monitor.h: + * ace/Monitor_Control/Packets_Received_Monitor.cpp: + * ace/Monitor_Control/Packets_Sent_Monitor.h: + * ace/Monitor_Control/Packets_Sent_Monitor.cpp: + * ace/OS_NS_netdb.cpp: + * ace/OS_NS_sys_socket.h: + * ace/OS_NS_sys_socket.inl: + * ace/OS_NS_time.inl: + * ace/OS_NS_unistd.inl: + * ace/SOCK_Dgram.cpp: + * ace/SOCK_Dgram_Mcast.cpp: + * ace/Select_Reactor_T.cpp: + * ace/config-linux.h: + * ace/os_include/os_pthread.h: + * apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/systems.h: + * examples/APG/Signals/SigInfo.cpp: + * tests/INET_Addr_Test_IPV6.cpp: + * tests/MT_Reference_Counted_Event_Handler_Test.cpp: + * tests/Malloc_Test.cpp: + * tests/Multicast_Test.cpp: + * tests/Naming_Test.cpp: + * tests/Proactor_Test.cpp: + * tests/Proactor_Test_IPV6.cpp: + * tests/Proactor_UDP_Test.cpp: + * tests/Process_Test.cpp: + * tests/SSL/Bug_2912_Regression_Test.cpp: + + Created a new macro, ACE_LINUX, which replaces all non-standard + tests for linux, __linux, and __linux__. + +Mon Feb 13 16:38:15 UTC 2012 Adam Mitz + + * include/makeinclude/platform_gnuwin32_common.GNU: + + Set DCCFLAGS and OCCFLAGS to get debug=X and optimize=X to work. + +Tue Feb 7 12:56:41 UTC 2012 Johnny Willemsen + + * ace/XtReactor/XtReactor.cpp: + Use C++ cast to silence warning + +Tue Jan 31 20:19:16 UTC 2012 Johnny Willemsen + + * examples/Web_Crawler/Iterators.cpp: + * performance-tests/Misc/context_switch_time.cpp: + Fixed gcc 4.7 warning + +Tue Jan 31 20:17:35 UTC 2012 Johnny Willemsen + + * examples/IPC_SAP/SOCK_SAP/CPP-memclient.cpp: + Fixed gcc 4.7 warning + +Mon Jan 30 09:48:00 UTC 2012 Simon Massey + + * ace/Default_Constants.h: + Redefined ACE_MAX_UDP_PACKET_SIZE to 65507 bytes. The actual field size + sets a theoretical limit of 65,535 bytes (so 65536 was completly wrong) + which is composed of 8 byte header +65,527 bytes of data for a UDP datagram. + However the practical limit for the data length which is imposed by the + underlying IPv4 protocol is only 65,507 bytes (65507 bytes of data +8 bytes + UDP header +20 bytes IP header). + +Fri Jan 27 09:39:57 UTC 2012 Johnny Willemsen + + * ace/FlReactor/FlReactor.cpp: + Const change + + * bin/valgrind.supp: + Added another suppress + +Fri Jan 27 09:01:51 UTC 2012 Johnny Willemsen + + * NEWS: + * bin/diff-builds-and-group-fixed-tests-only.sh: + * bin/make_release.py: + * docs/Download.html: + * docs/bczar/bczar.html: + * etc/index.html: + Updated for next release + +Fri Jan 27 08:58:54 CET 2012 Johnny Willemsen + + * ACE version 6.0.8 released. + +Thu Jan 26 20:38:47 UTC 2012 Phil Mesnier + + * ace/Condition_T.cpp: + + In order to allow building with inlining on MacOSX Lion, + Condition_T.cpp needs to explicitly include Time_Value.h. In many + cases, Time_Value.h was being incidentally included, such as + through Atomic_Op_GCC_T.cpp, but that is specifically excluded for + Lion builds using the clang compiler. + +Tue Jan 24 16:44:22 UTC 2012 Chip Jones + + * NEWS: + Added information about IDL dependency generation. + +Tue Jan 24 15:26:24 UTC 2012 Johnny Willemsen + + * bin/MakeProjectCreator/config/conv_lib.mpb: + Fixed cleanup bug + +Tue Jan 24 14:40:00 UTC 2012 Johnny Willemsen + + * bin/fuzz.pl: + Can't check mpc files, when they contain gnuace specific stuff they + need tabs + +Tue Jan 24 14:29:18 UTC 2012 Johnny Willemsen + + * bin/fuzz.pl: + Fixed problem + +Tue Jan 24 13:52:20 UTC 2012 Johnny Willemsen + + * bin/fuzz.pl: + Also check mpc files for tabs + +Tue Jan 24 13:48:49 UTC 2012 Johnny Willemsen + + * apps/JAWS2/HTTPU/httpu.mpc: + * apps/JAWS2/JAWS/jaws2.mpc: + * apps/JAWS3/jaws3/jaws3.mpc: + * apps/gperf/tests/gperf_test.mpb: + * bin/MakeProjectCreator/config/ace_bzip2.mpb: + * bin/MakeProjectCreator/config/ace_fl.mpb: + * bin/MakeProjectCreator/config/ace_fox.mpb: + * bin/MakeProjectCreator/config/ace_openssl.mpb: + * bin/MakeProjectCreator/config/ace_output.mpb: + * bin/MakeProjectCreator/config/ace_qt.mpb: + * bin/MakeProjectCreator/config/ace_tk.mpb: + * bin/MakeProjectCreator/config/ace_x11.mpb: + * bin/MakeProjectCreator/config/ace_xt.mpb: + * bin/MakeProjectCreator/config/ace_zlib.mpb: + * bin/MakeProjectCreator/config/ace_zzip.mpb: + * bin/MakeProjectCreator/config/acedefaults.mpb: + * bin/MakeProjectCreator/config/conv_lib.mpb: + * bin/MakeProjectCreator/config/wxwindows.mpb: + * netsvcs/servers/servers.mpc: + * performance-tests/Synch-Benchmarks/Base_Test/Synch_Benchmarks_Base_Test.mpc: + * performance-tests/Synch-Benchmarks/Perf_Test/Synch_Benchmarks_Perf_Test.mpc: + * tests/tests.mpc: + Removed left over from automake removal + +Tue Jan 24 13:31:49 UTC 2012 Johnny Willemsen + + * examples/Reactor/WFMO_Reactor/Network_Events.cpp: + Fixed gcc warning + +Mon Jan 23 20:21:50 UTC 2012 Johnny Willemsen + + * bin/MakeProjectCreator/templates/gnu.mpd: + Fixed support for idl3toxmi and idl3toidl2 flags + +Mon Jan 23 12:02:07 UTC 2012 Johnny Willemsen + + * bin/MakeProjectCreator/templates/gnu.mpd: + Added support for idl3toxmi and idl3toidl2 flags + +Sun Jan 22 19:41:27 UTC 2012 Johnny Willemsen + + * examples/Reactor/WFMO_Reactor/APC.cpp: + * examples/Reactor/WFMO_Reactor/Abandoned.cpp: + * examples/Reactor/WFMO_Reactor/Directory_Changes.cpp: + * examples/Reactor/WFMO_Reactor/Handle_Close.cpp: + * examples/Reactor/WFMO_Reactor/Network_Events.cpp: + * examples/Reactor/WFMO_Reactor/Prerun_State_Changes.cpp: + * examples/Reactor/WFMO_Reactor/Registration.cpp: + * examples/Reactor/WFMO_Reactor/Registry_Changes.cpp: + * examples/Reactor/WFMO_Reactor/Suspended_Removals.cpp: + * examples/Reactor/WFMO_Reactor/Talker.cpp: + * examples/Reactor/WFMO_Reactor/Window_Messages.cpp: + Fixed GCC 4.6.2 release warnings + +Sun Jan 22 12:35:11 UTC 2012 Johnny Willemsen + + * bin/make_release.py: + Use the new MPC -workers option to speedup the release process + +Fri Jan 20 19:30:51 UTC 2012 Johnny Willemsen + + * examples/APG/Processes/Process_Mutex.cpp: + Use ACE_TEST_ASSERT instead of ACE_ASSERT to fix warnings in gcc 4.6 + release builds + +Fri Jan 20 19:06:02 UTC 2012 Johnny Willemsen + + * examples/APG/Containers/Allocator.cpp: + * examples/Reactor/Misc/test_timer_queue.cpp: + Use ACE_TEST_ASSERT instead of ACE_ASSERT to fix warnings in gcc 4.6 + release builds + +Wed Jan 18 09:02:18 UTC 2012 Martin Corino + + * bin/fuzz.pl: + Added suppress option to selectively disable checks. + +Tue Jan 17 17:36:31 UTC 2012 Chip Jones + + * include/makeinclude/rules.local.GNU: + Fixed 'no filename for -include' warning. + +Mon Jan 16 21:58:44 UTC 2012 Chip Jones + + * bin/DependencyGenerator/GNUIDLDependencyWriter.pm: + * bin/DependencyGenerator/GNUIDLObjectGenerator.pm: + * bin/MakeProjectCreator/config/ace_idl_dependencies.mpb: + + Added these files to support generation of IDL dependencies + for gnuace projects. + + * bin/MakeProjectCreator/config/acedefaults.mpb: + * bin/MakeProjectCreator/config/global.features: + + Added IDL dependency as a feature defaulted to off. + + * bin/MakeProjectCreator/templates/gnu.mpd: + + Modified gnuace template to generate IDL dependency rules. + + * include/makeinclude/rules.common.GNU: + * include/makeinclude/rules.local.GNU: + * include/makeinclude/wrapper_macros.GNU: + + Added depend_idl.local rule. + + This is a merge of work done in the 'ace-mpc_performance' + branch. + +Mon Jan 16 10:33:37 UTC 2012 Martin Corino + + * ace/config-win32-common.h: + * ace/config-win32-mingw.h: + Moved MinGW specific block to common because the macros + it concerns are tested there already. + +Mon Jan 16 09:01:20 UTC 2012 Martin Corino + + * ace/config-win32-mingw.h: + Fixed incorrectly placed macro test. + +Sun Jan 15 19:15:48 UTC 2012 Martin Corino + + * ace/config-win32-mingw.h: + Add some customizations and corrections to support using + --std=c++0x with MinGW32. + +Fri Jan 13 23:25:59 UTC 2012 Jeff Parsons + + * THANKS: + + Added Michael Frommberger + +Wed Jan 11 20:43:47 UTC 2012 Martin Corino + + * ace/config-freebsd.h: + * ace/config-win32-common.h: + * ace/config-win32-mingw.h: + * ace/os_include/os_signal.h: + Added ACE_LACKS_SIGSET_T to be able to distinguish between the + type and the functions being provided or not. + +Wed Jan 11 18:43:50 UTC 2012 Martin Corino + + * ace/config-win32-mingw.h: + Fixed typo. + +Wed Jan 11 15:41:00 UTC 2012 Simon Massey + + * ace/config-sunos5.10.h: + Is supposed to define ACE_SIZE_T_FORMAT_SPECIFIER_ASCII and ACE_SSIZE_T_FORMAT_SPECIFIER_ASCII + correctly for this platform. The old logic was "If already defined - redefine, but if not + defined don't define" and wrong. The point of providing the definition of these SIZE_T format + specifiers is to provide them if they are not set. + +Wed Jan 11 14:36:43 UTC 2012 Martin Corino + + * ace/config-win32-mingw.h: + * ace/os_include/os_signal.h: + Changes to support MinGW64 compiler. + +Mon Jan 9 11:07:54 UTC 2012 Johnny Willemsen + + * ace/Netlink_Addr.h: + * ace/Notification_Queue.h: + Doxygen fixes + + * tests/run_test.lst: + Removed several old config labels + +Fri Jan 6 11:16:03 UTC 2012 Johnny Willemsen + + * html/Stats/configuration.shtml: + * html/Stats/index.shtml: + * html/Stats/simple_footprint.shtml: + Extended data to be shown and updated links + +Fri Jan 6 10:28:35 UTC 2012 Johnny Willemsen + + * ace/Stream.cpp: + Fixed coverity errors + +Wed Jan 4 13:02:12 UTC 2012 Johnny Willemsen + + * bin/generate_compile_stats.sh: + Added link for DAnCE + +Wed Jan 4 11:45:43 UTC 2012 Johnny Willemsen + + * html/Stats/index.shtml: + Fixed link + +Wed Jan 4 11:42:13 UTC 2012 Johnny Willemsen + + * bin/generate_compile_stats.sh: + Work with flat layout and added DAnCE + +Wed Jan 4 11:06:50 UTC 2012 Johnny Willemsen + + * bin/generate_compile_stats.sh: + Updated title to include DAnCE + +Wed Jan 4 08:50:18 UTC 2012 Johnny Willemsen + + * bin/cleanbuilds.sh: + * bin/mail_test_stats.sh: + Accept date and email as arguments + +Tue Jan 3 18:47:23 UTC 2012 Johnny Willemsen + + * bin/performance_stats.sh: + * bin/topinfo_iorsize_stats.sh: + * bin/topinfo_simple_stats.sh: + * bin/topinfo_stats.sh: + Assume ACE_ROOT is set before running the script, simplified the usage + +Tue Jan 3 18:34:18 UTC 2012 Johnny Willemsen + + * bin/valgrind.supp: + Added default suppress file that can be used for valgrind when using + valgrind for ACE/TAO/CIAO/DAnCE + + * docs/bczar/bczar.html: + Added package + +Tue Jan 3 13:51:18 UTC 2012 Johnny Willemsen + + * bin/performance_stats.sh: + Create source directory + +Tue Jan 3 12:52:04 UTC 2012 Johnny Willemsen + + * bin/performance_stats.sh: + * bin/topinfo_iorsize_stats.sh: + * bin/topinfo_simple_stats.sh: + * bin/topinfo_stats.sh: + * bin/footprint_stats.sh: + Converting them to support a flat layout + +Tue Jan 3 12:40:43 UTC 2012 Johnny Willemsen + + * html/Stats/detailed_footprint.shtml: + * html/Stats/detailed_performance.shtml: + * html/Stats/footer.html: + * html/Stats/index.shtml: + * html/Stats/navigation.html: + Updated links, docu, status + + * html/Stats/compilation.shtml: + Removed this file. + +Sat Dec 31 22:12:53 UTC 2011 Douglas C. Schmidt + + * ace/Timer_Wheel_T.cpp: Changed the call to "delete root" in the + destructor to "this->free_node (root)" so the ACE_Timer_Wheel_T + will work properly when provided a custom allocator. Thanks to + Koh for reporting + this bug and providing a fix. + +Fri Dec 30 10:13:59 UTC 2011 Johnny Willemsen + + * ace/config-linux.h: + Added support for ulibc, thanks to Chong Wuk Pak + for providing the patch. This fixes + bugzilla 3999 + +Thu Dec 29 17:29:06 UTC 2011 Douglas C. Schmidt + + * ace/Mem_Map.cpp (ACE_Mem_Map::map_it): Fixed a missing '('. Thanks to Johnny for reporting this. + +Thu Dec 29 15:14:45 UTC 2011 Douglas C. Schmidt + + * ace/Mem_Map.cpp (ACE_Mem_Map::map_it): Further improved the + error checking. Thanks to JaeSung Lee for suggesting this. + +Tue Dec 27 15:19:56 UTC 2011 Douglas C. Schmidt + + * ace/Mem_Map.cpp (ACE_Mem_Map::map_it): mmap through character + device doesn't care about it's size, so map with /dev/* is done + with a special case. Thanks to JaeSung Lee for reporting this and providing a fix. + +Tue Dec 27 11:39:53 UTC 2011 Johnny Willemsen + + * NEWS: + * bin/diff-builds-and-group-fixed-tests-only.sh: + * docs/Download.html: + * docs/bczar/bczar.html: + * etc/index.html: + Updated for next release + +Tue Dec 27 10:06:28 CET 2011 Johnny Willemsen + + * ACE version 6.0.7 released. + +Wed Dec 21 11:25:49 UTC 2011 Marcel Smit + + * tests/Task_Wait_Test.cpp: + Fixed compile issue on Solaris 10. + +Wed Dec 21 09:41:54 UTC 2011 Martin Corino + + * examples/Timer_Queue/Reactor_Timer_Queue_Test.cpp: + + Added timer queue reset on global reactor instance. + +Tue Dec 20 15:43:39 UTC 2011 Steve Huston + + * tests/Task_Wait_Test.cpp: + * tests/tests.mpc: + * tests/run_test.lst: + New test program that tests the ACE_Thread_Manager::wait() from a + called-back ACE_Task::close() on thread exit. + +Tue Dec 20 15:36:24 UTC 2011 Steve Huston + + * ace/Thread.inl (disablecancel): Correct size pased to memset. + * ace/Thread_Manager.cpp (ACE_Thread_Descriptor::terminate): Don't + dereference potentially invalid pointer. + + Resolves Coverity warnings. + +Mon Dec 19 19:00:07 UTC 2011 Johnny Willemsen + + * docs/bczar/bczar.html: + Added another package + +Mon Dec 19 13:28:16 UTC 2011 Martin Corino + + * ace/Abstract_Timer_Queue.h: + * ace/Timer_Hash_T.h: + * ace/Timer_Hash_T.cpp: + * ace/Timer_Heap_T.h: + * ace/Timer_Heap_T.cpp: + * ace/Timer_List_T.h: + * ace/Timer_List_T.cpp: + * ace/Timer_Queue_Adapters.inl: + * ace/Timer_Queue_Adapters.cpp: + * ace/Timer_Wheel_T.h: + * ace/Timer_Wheel_T.cpp: + + Added close() method. + + * ace/Dev_Poll_Reactor.cpp: + * ace/Proactor.cpp: + * ace/Select_Reactor_T.cpp: + * ace/WFMO_Reactor.cpp: + + Implemented support for timer queue close (). + + The rationale for these changes is that when using reactors with + user defined timer queues the reactor does not delete the timer queue + when being deleted itself. Without any other cleanup this created the + possibility (as encountered in TAO/tests/Bug_3837_Regression after + introduction of the TIME_POLICY changes) of outstanding timer handlers + in the queue being triggered and attempting to access the reactor after + the reactor has been destroyed. + Calling close () for timer queues the reactor does not delete solves + this potential problem. + +Mon Dec 19 12:12:37 UTC 2011 Johnny Willemsen + + * bin/fuzz.pl: + Simplified check + +Mon Dec 19 09:17:33 UTC 2011 Johnny Willemsen + + * ace/ace_for_tao.mpc: + Added missing files + +Sun Dec 18 11:56:00 UTC 2011 Johnny Willemsen + + * ace/Timer_Queue_T.h: + Fixed CentOS warning + +Sun Dec 18 11:41:56 UTC 2011 Johnny Willemsen + + * ace/ace_for_tao.mpc: + Removed obsolete file + +Sun Dec 18 11:35:18 UTC 2011 Johnny Willemsen + + * bin/generate_compile_stats.sh: + Fixed incorrect command + +Sun Dec 18 10:29:12 UTC 2011 Martin Corino + + * ace/Abstract_Timer_Queue.h: + + Added missing abstract method dump(). + +Fri Dec 16 08:03:07 UTC 2011 Marcel Smit + + * ace/Time_Policy_T.h: + No dllimport/export in template classes. + +Thu Dec 15 19:45:30 UTC 2011 Johnny Willemsen + + * ace/Countdown_Time_T.h: + No need for an export macro with a C++ template + +Thu Dec 15 13:22:07 UTC 2011 Marcel Smit + + * ace/Event_Handler_Handle_Timeout_Upcall.inl: + * tests/Timer_Queue_Test.cpp: + Fuzz. Removed tab character + +Thu Dec 15 13:12:39 UTC 2011 Marcel Smit + + * ace/Event_Handler_Handle_Timeout_Upcall.inl: + * ace/Event_Handler_Handle_Timeout_Upcall.cpp: + * ace/Proactor.cpp: + * ace/Timer_Hash.h: + * ace/Timer_Hash_T.h: + * ace/Timer_Hash_T.cpp: + * ace/Timer_Heap.h: + * ace/Timer_Heap_T.h: + * ace/Timer_Heap_T.cpp: + * ace/Timer_List.h: + * ace/Timer_List_T.h: + * ace/Timer_List_T.cpp: + * ace/Timer_Queue_Adapters.cpp: + * ace/Timer_Queue_T.h: + * ace/Timer_Queue_T.cpp: + * ace/Timer_Wheel.h: + * ace/Timer_Wheel_T.h: + Fuzz. Removed tab character + +Thu Dec 15 12:52:18 UTC 2011 Marcel Smit + + * ace/Abstract_Timer_Queue.h: + * ace/Abstract_Timer_Queue.cpp: + * ace/Event_Handler_Handle_Timeout_Upcall.h: + * ace/Timer_Queue_Iterator.h: + * ace/Timer_Queue_Iterator.cpp: + Fuzz. Added Id-tags. + +Thu Dec 15 11:00:00 UTC 2011 Martin Corino + + Merged timer_policy branch. + + === start changelog === + + Thu Dec 15 09:45:00 UTC 2011 Martin Corino + + * NEWS: + + Added description of new TIME_POLICY features. + + * tests/Timer_Queue_Test.cpp: + + Added explicit test of specific TIME_POLICY feature. + + Mon Dec 12 21:28:00 UTC 2011 Martin Corino + + * ace/Abstract_Timer_Queue.h: + * ace/Time_Policy.h: + * ace/Time_Policy.inl: + * ace/Time_Policy_T.h: + * ace/Time_Policy_T.inl: + * ace/Timer_Queue_T.cpp: + * ace/Timer_Queue_T.h: + * tests/Timer_Queue_Test.cpp: + + Added backwards compatibility support. + + Mon Dec 05 10:26:00 UTC 2011 Martin Corino + + * ace/Time_Policy.inl + + Prevent setting delegate to null pointer. + + Sun Dec 04 15:40:00 UTC 2011 Martin Corino + + * ace/Countdown_Time.cpp: + * ace/Countdown_Time.inl: + + Renamed to *_T.* + + * ace/Countdown_Time.h + * ace/Countdown_Time_T.cpp + * ace/Countdown_Time_T.h + * ace/Countdown_Time_T.inl + + Changed ACE_Countdown_Time to TIME_POLICY based + template class ACE_Countdown_Time_T, + Created typedef for default template instantiation + as ACE_Countdown_Time. + + * ace/Time_Policy.cpp + * ace/Time_Policy.h + * ace/Time_Policy.inl + * ace/Time_Policy_T.cpp + * ace/Time_Policy_T.h + * ace/Time_Policy_T.inl + + Added support for dynamically loadable/shared time + policies. + + * ace/ace.mpc + + Updated for file changes. + + Fri Dec 02 11:48:00 UTC 2011 Martin Corino + + * ace/Timer_Queue_T.h: + * ace/Timer_Queue_T.inl: + + Reverting set_time_policy() change. Interpretation error. + + Thu Dec 01 17:52:00 UTC 2011 Martin Corino + + * ace/Time_Policy.h: + * ace/Time_Policy.inl: + + Added ACE_HR_Time_Policy. + + * ace/Timer_Queue_T.h: + * ace/Timer_Queue_T.inl: + + Replaced set_time_policy() by get_time_policy() since setting + the policy is not possible but configuring might be. + + Thu Dec 01 14:05:00 UTC 2011 Martin Corino + + * ace/Proactor.cpp: + * ace/Timer_Queue_T.cpp: + * ace/Timer_Queue_T.h: + + Fixed compile errors. + + Thu Dec 01 13:34:00 UTC 2011 Martin Corino + + * ace/Timer_Hash_T.cpp: + * ace/Timer_Hash_T.h: + * ace/Timer_Heap_T.h: + * ace/Timer_Wheel_T.h: + + Small cleanup to prevent potential compiler warnings. + + Mon Aug 24 02:27:36 UTC 2009 Carlos O'Ryan + + * ace/Timer_Queue_T.cpp: + Need to release the internal timer queue lock before dispatching + calls in expire_single(), otherwise we get nasty deadlocks in + the TP_Reactor implementation. + + Thu Jul 2 02:55:09 UTC 2009 Carlos O'Ryan + + * ace/Abstract_Timer_Queue.h: + * ace/Timer_Queue_T.h: + * ace/Timer_Queue_T.inl: + * ace/Timer_Queue_T.cpp: + I wanted to use gettimeofday() for the pure virtual function and + some other name for the inline function used in the timer queue + internals. + This is the second and final pass to get that change in. This + time, I renamed the internal function to gettimeofday_static(), + used the compiler (and grep) to find all uses. Once that + compiled I renamed the virtual function from + gettimeofday_abstract() to the gettimeofday() function. + I know it is convoluted, but it gets the job done without me + having to think too much. + + * ace/Timer_Hash_T.h: + * ace/Timer_Hash_T.cpp: + * ace/Select_Reactor_T.cpp: + * ace/Dev_Poll_Reactor.cpp: + * ace/Proactor.cpp: + * ace/Timer_Queue_Adapters.cpp: + * tests/Timer_Queue_Reference_Counting_Test.cpp: + * tests/Timer_Queue_Test.cpp: + * examples/APG/Timers/Timers.cpp: + * examples/APG/Timers/TimerDispatcher.cpp: + * examples/C++NPv2/Logging_Event_Handler_Ex.cpp: + Fixed users and tests to use the real name for gettimeofday() in + ACE_Abstract_Timer_Queue<> + + Wed Jul 1 02:09:44 UTC 2009 Carlos O'Ryan + + * ace/ace.mpc: + * ace/Makefile.am: + * ace/Event_Handler_Handle_Timeout_Upcall.h: + * ace/Event_Handler_Handle_Timeout_Upcall.inl: + * ace/Event_Handler_Handle_Timeout_Upcall.cpp: + First I noticed that this class did not depend on the lock type + at all, this was fortunate because I wanted to use it in a + generic way. So, change the class from a template class to a + regular class. That required moving the class to its own file too. + + * ace/Timer_List_T.h: + * ace/Timer_List_T.cpp: + * ace/Timer_Wheel_T.h: + * ace/Timer_Wheel_T.cpp: + * ace/Timer_Hash_T.h: + * ace/Timer_Hash_T.cpp: + * ace/Timer_Heap_T.h: + * ace/Timer_Heap_T.cpp: + Fixed several inconsistencies across these classes, for example, + most of them had typedef as a shorthand for the base class, but + the name of this typedef was not consistent. + Likewise, not all of the classes made the TIME_POLICY parameter + a default template parameter. + + * ace/Timer_Queue_T.h: + * ace/Timer_Queue_T.inl: + * ace/Timer_Queue_T.cpp: + Introduced an intermediate class between Abstract_Timer_Queue<> + and Timer_Queue_T<>. This is ugly, but the Proactor "needs" to + set a back-pointer from the FUNCTOR to the Proacter instance + whenever a timer queue is assigned to the Proactor. + This code smells funny. Either the API is wrong (the Proactor + should always create the functor with the backpointer,) or the + need for the back pointer is suspicious (I think there is a + thread in the Proactor that signals timers, but maybe it should + be contained in the Upcall object itself?) + The more I look here, the uglier the smell. + + * ace/Select_Reactor_T.cpp: + * ace/Timer_Queue_Adapters.cpp: + * tests/Timer_Queue_Reference_Counting_Test.cpp: + * tests/Timer_Queue_Test.cpp: + As a temporary measure, I appended "_abstract" to the + gettimeofday() function name in Abstract_Timer_Queue<>. + Shortly, I will change the Timer_Queue_T<> class to use + gettimeofday_non_virtual() or _static() or something similar. + Had to make the change in two steps to find all the uses of the + original function. + There was probably an easier/cleaner way to do this. + + * tests/Timer_Queue_Test.cpp: + Take advantage of the new ACE_Abstract_Timer_Queue<> to make the + different types of queues more compatible in ths test, including + queues with different time source policies. + + * ace/Proactor.h: + As with the Reactive version, I noticed that + ACE_Proactor_Handle_Timeout_Upcall did not depend on its + template parameter, so I changed the class to a non-template + version. + + * ace/Proactor.cpp: + Instead of making the Proactor a friend of the Timer_Handler + task, expose a safe interface to do what the proactor wants to + do. + The proactor needed access to timer queue internal details to + implement schedule(), but the reactor did not... hmmm... well, + turns out the Reactor had nicely refactor that work to the + upcall functor. So I did the same in the Proactor case. + + + * ace/Timer_List.h: + * ace/Timer_Wheel.h: + * ace/Timer_Hash.h: + * ace/Timer_Heap.h: + Use Event_Handler_Handle_Timeout_Upcall without the template + parameter. + + * ace/Abstract_Timer_Queue.h: + Remove the setter for getimeofday(), this is implemented by the + TIME_POLICY template parameter in Timer_Queue_T<> + + * tests/Reactor_Timer_Test.cpp: + * tests/Network_Adapters_Test.cpp: + * tests/Proactor_Timer_Test.cpp: + Use a different idiom to set the time policy for this test. + + * examples/Timer_Queue/Thread_Timer_Queue_Test.h: + * examples/Bounded_Packet_Relay/Thread_Bounded_Packet_Relay.h: + * examples/APG/Timers/Timers.cpp: + * examples/APG/Timers/TimerDispatcher.cpp: + * examples/Reactor/Misc/test_timer_queue.cpp: + * examples/C++NPv2/Logging_Event_Handler_Ex.cpp: + Need an additional #include for ACE_Event_Handler_Handle_Timeout + Said class class is no longer a template class, so use it + correctly. + Changed name of gettimeofday() in timer queue to + gettimeofday_abstract() This is a temporary change to find all + the uses, will revert again soon. + + * Merged in changes from bug-3607 branch. + + * ace/ace.mpc: + * ace/Abstract_Timer_Queue.h: + * ace/Abstract_Timer_Queue.cpp: + * ace/Timer_Queue_Iterator.h: + * ace/Timer_Queue_Iterator.inl: + * ace/Timer_Queue_Iterator.cpp: + * ace/Timer_Queuefwd.h: + * ace/Timer_Queue.h: + * ace/Timer_Queue_T.h: + * ace/Timer_Queue_T.inl: + * ace/Timer_Queue_T.cpp: + * ace/Timer_List_T.h: + * ace/Timer_List_T.cpp: + * ace/Timer_Wheel_T.h: + * ace/Timer_Wheel_T.cpp: + * ace/Timer_Hash_T.h: + * ace/Timer_Hash_T.cpp: + * ace/Timer_Heap_T.h: + * ace/Timer_Heap_T.cpp: + Heavy refactoring in ACE_Timer_Queue_T class and friends. + First, created a template base class (ACE_Abstract_Timer_Queue) that: + 1) Only depends on the type held by the timer queue, not to lock + or upcall strategy. + 2) It is a pure abstract class, i.e., none of its member + functions have any implementation. + 3) Provides new pure virtual functions to encapsulates some + logic that was spread between tests, TP_Reactor and + Dev_Poll_Reactor. + Then I re-wrote all the standard timer queue objects in terms of + this class. In particular, the reactors use only the abstract + interface. + I also re-factored the Timer_Queue_Iterator to only depend on + the type of objects held by the timer queue. The rest of the + parameters where not used either. + Implement functionality that was spread in Dev_Poll_Reactor, + TP_Reactor and a test into expire_single. + + * ace/Proactor.h: + * ace/TP_Reactor.cpp: + * ace/Dev_Poll_Reactor.cpp: + Both classes implemented the logic to dispatch a single timer + but release a mutex before the upcall. This was confusing as + well as required exposing too much detail about the Timer_Queue + classes. + The new mechanism is a single function in (expire_single) + ACE_Abstract_Timer_Queue<> (implemented in ACE_Timer_Queue_T<>) + which receives a command object to encapsulate the mutex release. + + * ace/Functor.h: + * ace/Functor.cpp: + * ace/Functor_T.h: + * ace/Functor_T.inl: + Add helper ACE_Command_* objects. One is a no-op, for the test + below. The other is a callback that ignores the silly void* + argument in the ACE_Command_Base::execute() member function. + + * tests/Timer_Queue_Reference_Counting_Test.cpp: + Re-factored test in terms of expire_single() + + Tue Jun 30 01:10:04 UTC 2009 Carlos O'Ryan + + * This is a temporary commit into the 3707 branch. I realized too + late that the changes from 3706 will be needed to make this work. + + * ace/ace.mpc: + * ace/Time_Policy.h: + * ace/Time_Policy.inl: + * ace/Time_Policy.cpp: + New classes to encapsulate how "now" is computed in the Timer + Queues. This will be an additional template parameter, so the + default configuration has zero overhead. + + * ace/Timer_Queuefwd.h: + * ace/Timer_List.h: + * ace/Timer_List_T.h: + * ace/Timer_List_T.cpp: + * ace/Timer_Queue_T.h: + * ace/Timer_Queue_T.inl: + * ace/Timer_Queue_T.cpp: + * ace/Timer_Wheel.h: + * ace/Timer_Wheel_T.h: + * ace/Timer_Wheel_T.cpp: + * ace/Timer_Hash.h: + * ace/Timer_Hash_T.h: + * ace/Timer_Hash_T.cpp: + * ace/Timer_Heap.h: + * ace/Timer_Heap_T.h: + * ace/Timer_Heap_T.cpp: + Re-factor timer queue classes to use new TIMER_POLICY + parameter. + + * tests/Timer_Queue_Test.cpp: + Modify test to use TIMER_POLICY. But here is the rub, the test + does not compile because all timer queue types are "different" + to each other. I need to introduce the base class from the + bug-3706 branch to make things work. + + Sun Jun 28 22:15:47 UTC 2009 Carlos O'Ryan + + * ace/ace.mpc: + * ace/Abstract_Timer_Queue.h: + * ace/Abstract_Timer_Queue.cpp: + * ace/Timer_Queue_Iterator.h: + * ace/Timer_Queue_Iterator.inl: + * ace/Timer_Queue_Iterator.cpp: + * ace/Timer_Queuefwd.h: + * ace/Timer_Queue.h: + * ace/Timer_Queue_T.h: + * ace/Timer_Queue_T.inl: + * ace/Timer_Queue_T.cpp: + * ace/Timer_List_T.h: + * ace/Timer_List_T.cpp: + * ace/Timer_Wheel_T.h: + * ace/Timer_Wheel_T.cpp: + * ace/Timer_Hash_T.h: + * ace/Timer_Hash_T.cpp: + * ace/Timer_Heap_T.h: + * ace/Timer_Heap_T.cpp: + Heavy refactoring in ACE_Timer_Queue_T class and friends. + First, created a template base class (ACE_Abstract_Timer_Queue) that: + 1) Only depends on the type held by the timer queue, not to lock + or upcall strategy. + 2) It is a pure abstract class, i.e., none of its member + functions have any implementation. + 3) Provides new pure virtual functions to encapsulates some + logic that was spread between tests, TP_Reactor and + Dev_Poll_Reactor. + Then I re-wrote all the standard timer queue objects in terms of + this class. In particular, the reactors use only the abstract + interface. + I also re-factored the Timer_Queue_Iterator to only depend on + the type of objects held by the timer queue. The rest of the + parameters where not used either. + Implement functionality that was spread in Dev_Poll_Reactor, + TP_Reactor and a test into expire_single. + + * ace/Proactor.h: + * ace/TP_Reactor.cpp: + * ace/Dev_Poll_Reactor.cpp: + Both classes implemented the logic to dispatch a single timer + but release a mutex before the upcall. This was confusing as + well as required exposing too much detail about the Timer_Queue + classes. + The new mechanism is a single function in (expire_single) + ACE_Abstract_Timer_Queue<> (implemented in ACE_Timer_Queue_T<>) + which receives a command object to encapsulate the mutex release. + + * ace/Functor.h: + * ace/Functor.cpp: + * ace/Functor_T.h: + * ace/Functor_T.inl: + Add helper ACE_Command_* objects. One is a no-op, for the test + below. The other is a callback that ignores the silly void* + argument in the ACE_Command_Base::execute() member function. + + * tests/Timer_Queue_Reference_Counting_Test.cpp: + Re-factored test in terms of expire_single() + + === end changelog === + +Wed Dec 14 16:09:22 UTC 2011 Johnny Willemsen + + * bin/auto_run_tests.pl: + Fixed DANCE_ROOT + +Mon Dec 12 19:04:55 UTC 2011 Johnny Willemsen + + * bin/MakeProjectCreator/config/vc11.features: + * bin/MakeProjectCreator/config/vc11nmake.mpb: + New files for vc11 + +Mon Dec 12 07:33:25 UTC 2011 Johnny Willemsen + + === start changelog === + + Fri Dec 9 10:41:02 UTC 2011 Marcel Smit + + * docs/svn/config: + Subversion should ignore *_svnt_T.*. + + === end changelog === + +Mon Dec 5 22:23:25 UTC 2011 Steve Huston + + * ace/DLL.h: + * ace/DLL_Manager.h: Corrected and expanded the descriptions of how + DLL/library names are handled, decorated, and located. + +Mon Dec 5 20:16:51 UTC 2011 Steve Huston + + * ace/Atomic_Op.{h inl}: + * ace/Atomic_Op_T.{h inl}: + * ace/Atomic_Op_GCC_T.{h inl}: + Added new method TYPE exchange (TYPE newval) which exchanges the + ACE_Atomic_Op's value with the specified new value. Thanks to John + Lilley for contributing this addition. + + * tests/Atomic_Op_Test.cpp: Added test for exchange(). + + * NEWS: Added description of the new exchange() method. + +Mon Dec 5 12:27:54 UTC 2011 Johnny Willemsen + + * ace/TTY_IO.h: + Doxygen fix + + * ace/config-linux.h: + Layout changes + + * tests/Cached_Accept_Conn_Test.h: + * tests/Cached_Accept_Conn_Test.cpp: + * tests/MEM_Stream_Test.cpp: + * tests/QtReactor_Test.cpp: + Layout changes and removed some ACE_UNUSED_ARG usage + +Mon Dec 5 11:25:31 UTC 2011 Johnny Willemsen + + * bin/cleanbuilds.sh: + * bin/mail_test_stats.sh: + Extended our daily test stats with another email, the failing tests + for today excluding the not fixed ones + +Mon Dec 5 08:35:54 UTC 2011 Johnny Willemsen + + * docs/Download.html: + Release has vc9/vc10 + +Mon Dec 5 08:22:11 UTC 2011 Johnny Willemsen + + * bin/diff-builds-and-group-fixed-tests-only.sh: + * docs/Download.html: + * etc/index.html: + Made 6.0.6 publicly available + + * docs/bczar/bczar.html: + Updated for next release and added wget step to get subversion config + file to make sure we checkout using commit timestamps + +Local Variables: +mode: change-log +add-log-time-format: (lambda () (progn (setq tz (getenv "TZ")) (set-time-zone-rule "UTC") (setq time (format-time-string "%a %b %e %H:%M:%S %Z %Y" (current-time))) (set-time-zone-rule tz) time)) +indent-tabs-mode: nil +End: diff --git a/dep/ACE_wrappers/NEWS b/dep/acelite/NEWS similarity index 90% rename from dep/ACE_wrappers/NEWS rename to dep/acelite/NEWS index d648b09c2..cf60110b5 100644 --- a/dep/ACE_wrappers/NEWS +++ b/dep/acelite/NEWS @@ -1,3 +1,186 @@ +USER VISIBLE CHANGES BETWEEN ACE-6.1.3 and ACE-6.1.4 +==================================================== + +. Added a new ACE_Time_Value derived template class (Time_Value_T.h): + + template class ACE_Time_Value_T + + This template class overloads 4 new virtual methods from + the ACE_Time_Value base class to provide time policy aware + time values: + to_relative_time () + to_absolute_time () + now () + duplicate () + +. Updated time policy classes to return ACE_Time_Value_T<> instantiations + for the corresponding time policy instead of 'common' time values. + +. Added new ACE_Monotonic_Time_Policy (Monotonic_Time_Policy.h). + This class provides a monotonic time source for supported + platforms (Windows and POSIX platforms providing the required + clock_gettime() time source; currently verified for Windows and + Linux) + +. Updated OS_NS_Thread to use the new time policy support in ACE_Time_Value + for (relative) time calculations and added new ACE_OS::condattr_setclock () + method. + +. Added TIME_POLICY support to ACE_Condition_Attributes to allow for + monotonic timer support for ACE_Condition. + +. Added TIME_POLICY support to ACE_Message_Queue-s, ACE_Task-s and + related classes to enable support for monotonic timers in the timed + wait methods (ACE_Condition based). See docs/ACE-monotonic-timer.html + for how to use this. + +. Added two new regression tests: + Monotonic_Task_Test + Monotonic_Message_Queue_Test + and updated the Bug_4055_Regression_Test to a fixed state. + +USER VISIBLE CHANGES BETWEEN ACE-6.1.2 and ACE-6.1.3 +==================================================== + +. Added support for Oracle Solaris Studio 12 Update 3 (SunCC 5.12) + +. Added new XML_Utils library which comes from DAnCE but is now also used + by OpenDDS + +USER VISIBLE CHANGES BETWEEN ACE-6.1.1 and ACE-6.1.2 +==================================================== + +. Added compile time support for Windows CE 7, no runtime testing has + been performed + +. The High Res Timer global scale factor on Windows is now 64bit, see bugzilla + 3703 for the background of this. If you use the gsf in your code, use the + new ACE_High_Res_Timer::global_scale_factor_type type trait to not get + any conversion warnings + +. Removed Tandem NSK v2/v3 support which resulted in cleanup throughout all + code. The emulations for ACE_INT64/ACE_UINT64 have been removed because no + platform is using them anymore + +USER VISIBLE CHANGES BETWEEN ACE-6.1.0 and ACE-6.1.1 +==================================================== + +. Minor bug fixes + +USER VISIBLE CHANGES BETWEEN ACE-6.0.8 and ACE-6.1.0 +==================================================== + +. Added compilation support for VxWorks 6.9, no runtime + testing has been performed + +. Added ACE Run-length encoding compressor + +. Fixed several Coverity reported issues + +USER VISIBLE CHANGES BETWEEN ACE-6.0.7 and ACE-6.0.8 +==================================================== + +. Added support for MPC's new feature that creates dependency files for IDL + files when generating '-type gnuace' projects. Turned off by default, it + can be enabled in a features file or on the command line with + '-features ace_idl_dependencies=1'. + +USER VISIBLE CHANGES BETWEEN ACE-6.0.6 and ACE-6.0.7 +==================================================== + +. Added a new method to ACE_Atomic_Op, TYPE exchange (TYPE newval) + which does an atomic exchange of the new value with ACE_Atomic_Op's value + and returns the old value. The tests/Atomic_Op_Test.cpp test program has a + test case that exemplifies its usage; see the Exchange_Tester class. + +. Added a new feature to timer queue templates classes: TIME_POLICY. + This feature is specified through a new template argument and provides the + timer queue with a policy for a timer (time of day) value. This feature is + intended to replace (in time) the gettimeofday setter method which has been + marked @deprecated. For now backwards compatibility is guaranteed. + The TIME_POLICY feature provides flexibility with regards to providing a timer + source to the timer queues as well as the possibility for a fully optimized + calling path. + A number of standard time policies are provided in ace/Time_Policy.h. + The tests/Timer_Queue_Test.cpp has been updated to reflect and exemplify these + changes. + +. Added the TIME_POLICY feature also to countdown time class which has now + become a template (ace/Countdown_Time_T.h) + +. Initial support for Microsoft Visual Studio 11 + +. Increased overall code quality by using Coverity and Klocwork + +USER VISIBLE CHANGES BETWEEN ACE-6.0.5 and ACE-6.0.6 +==================================================== + +. Removed autoconf support, only traditional way of + compilation is shipped from now + +. Add support for RHEL 6.1 64bit + +USER VISIBLE CHANGES BETWEEN ACE-6.0.4 and ACE-6.0.5 +==================================================== + +. Improved support for Android and added the ability to run all ACE/TAO tests + automatically using the Android emulator + +USER VISIBLE CHANGES BETWEEN ACE-6.0.3 and ACE-6.0.4 +==================================================== + +. Removed support for C++ Builder + +. Added support for building with the Android NDK, at least r5c. This + is currently available for linux host platforms. + +USER VISIBLE CHANGES BETWEEN ACE-6.0.2 and ACE-6.0.3 +==================================================== + +. Added support for GCC 4.6 + +USER VISIBLE CHANGES BETWEEN ACE-6.0.1 and ACE-6.0.2 +==================================================== + +. The ACE_wrappers/ace/OS.h file has been restored in order to ensure + build-time compatibility with older ACE versions. Its use will still + cause your build to incur more processing time than using the needed + ace/OS_NS_*.h files; however, you should be able to build OS.h-including + code without needing to replace it with OS_NS_* includes. + +. Improved and simplified QNX support + +. Changed rand_r() and getpwnam_r() to conform Single UNIX Specification. + +. Fixed performance of send_v on windows when individual iovec elements + are particularly large. + +USER VISIBLE CHANGES BETWEEN ACE-6.0.0 and ACE-6.0.1 +==================================================== + +. Added support for MinGW with GCC 4.5 + +USER VISIBLE CHANGES BETWEEN ACE-5.8.3 and ACE-6.0.0 +==================================================== + +. Changed the string format produced by ACE::timestamp() from the ctime + format "Day Mon dd hh:mm:ss yyyy" to ISO-8601 yyyy-mm-dd hh:mm:ss.mmmmmm. + This makes the time easier to collate and removes any dependence on locale. + The change affects the output from ACE_Log_Msg's %D format and both VERBOSE + and VERBOSE_LIGHT timestamps in addition to application-made direct calls + to ACE::timestamp(). + +. Removed GCC < 3 support + +. A new build system hook was added for users to include site-private rules + in a build. If a file named "rules.private.GNU" in located in any build + directory it will get included from + $ACE_ROOT/include/makeinclude/rules.local.GNU. The "private_rules_file" + make variable can be set to override the name and/or location of the file. + If no such rules file exists, its absence is silently ignored. This + facility can be used, for example, to integrate a specialized code checker + into the build process. + USER VISIBLE CHANGES BETWEEN ACE-5.8.2 and ACE-5.8.3 ==================================================== diff --git a/dep/ACE_wrappers/README b/dep/acelite/README similarity index 99% rename from dep/ACE_wrappers/README rename to dep/acelite/README index 1b46d7fd6..35198116b 100644 --- a/dep/ACE_wrappers/README +++ b/dep/acelite/README @@ -1,3 +1,5 @@ +$Id: README 94611 2011-10-06 11:54:28Z msmit $ + This document is also available at the following URL: http://www.cs.wustl.edu/~schmidt/ACE.html diff --git a/dep/ACE_wrappers/THANKS b/dep/acelite/THANKS similarity index 98% rename from dep/ACE_wrappers/THANKS rename to dep/acelite/THANKS index a23b239e6..dd9480b47 100644 --- a/dep/ACE_wrappers/THANKS +++ b/dep/acelite/THANKS @@ -1,8 +1,8 @@ ACKNOWLEDGEMENTS -ACE and TAO have been deeply influenced and improved by the following -members of my research group at Washington University in St. Louis, the -University of California at Irvine, and Vanderbilt University in Nashville. +ACE, TAO, CIAO, and DAnCE have been deeply influenced and improved by the +following members of my research group at Washington University in St. Louis, +the University of California at Irvine, and Vanderbilt University in Nashville. Everett Anderson Alexander Babu Arulanthu @@ -75,7 +75,7 @@ Torben Worm Ming Xiong I would also like to thank all the following people who have also -contributed to ACE and TAO over the years: +contributed to ACE, TAO, CIAO, and DAnCE over the years: Paul Stephenson Olaf Kruger @@ -411,7 +411,7 @@ Andrew Harbick Pavel Motuzenko Ross J. Lillie Sam Hauer -Frank J. Hodum +Frank J. Hodum David Miron Anton van Straaten Joe Covalesky @@ -2339,6 +2339,36 @@ Matthew Waller Elez Ranjit Hande Van Vuong +Mark +Wendsomde Yameogo +Shi John +Helmut Böing +Andrew Hill +Henk Jan Priester +Glenn Zickert +Chris Galli +Laura Autón García +Jonathan Saxton +Remko Duppen +Paul Fitzpatrick +Chad Beaulac +Jochen Meier +Thomas Pauli +Qiao Zhiqiang +JaeSung Lee +Chong Wuk Pak +Michael Frommberger +Andrey Karpov +Dmytro Ovdiienko +Andrea Sormanni +Thomas Stegemann +David Simmonds +Andreas Dröscher +Markus Manck +Deux deVille +Mohsin Zaidi +Milind Pangarkar +Ali Akbar Zarezadeh I would particularly like to thank Paul Stephenson, who worked with me at Ericsson in the early 1990's. Paul devised the recursive Makefile diff --git a/dep/ACE_wrappers/VERSION b/dep/acelite/VERSION similarity index 81% rename from dep/ACE_wrappers/VERSION rename to dep/acelite/VERSION index 594af04e5..144300e42 100644 --- a/dep/ACE_wrappers/VERSION +++ b/dep/acelite/VERSION @@ -1,4 +1,4 @@ -This is ACE version 5.8.3, released Wed Oct 27 12:01:05 CEST 2010 +This is ACE version 6.1.4, released Wed Aug 29 08:16:04 CEST 2012 If you have any problems with or questions about ACE, please send e-mail to the ACE mailing list (ace-bugs@list.isis.vanderbilt.edu), diff --git a/dep/ACE_wrappers/ace/ACE.cpp b/dep/acelite/ace/ACE.cpp similarity index 96% rename from dep/ACE_wrappers/ace/ACE.cpp rename to dep/acelite/ace/ACE.cpp index 433b5e3e7..a965eff09 100644 --- a/dep/ACE_wrappers/ace/ACE.cpp +++ b/dep/acelite/ace/ACE.cpp @@ -1,4 +1,4 @@ -// $Id: ACE.cpp 92298 2010-10-21 11:15:17Z johnnyw $ +// $Id: ACE.cpp 96017 2012-08-08 22:18:09Z mitza $ #include "ace/ACE.h" @@ -25,10 +25,6 @@ #include "ace/OS_TLI.h" #include "ace/Truncate.h" -#if defined (ACE_VXWORKS) && (ACE_VXWORKS < 0x620) -extern "C" int maxFiles; -#endif /* ACE_VXWORKS */ - #if !defined (__ACE_INLINE__) #include "ace/ACE.inl" #endif /* __ACE_INLINE__ */ @@ -68,7 +64,7 @@ ACE::out_of_handles (int error) #elif defined (HPUX) // On HPUX, we need to check for EADDRNOTAVAIL also. error == EADDRNOTAVAIL || -#elif defined (linux) +#elif defined (ACE_LINUX) // On linux, we need to check for ENOENT also. error == ENOENT || // For RedHat5.2, need to check for EINVAL too. @@ -2308,7 +2304,7 @@ ACE::format_hexdump (const char *buffer, ACE_TEXT (" ")); ++obuf; } - textver[j] = ACE_OS::ace_isprint (c) ? c : '.'; + textver[j] = ACE_OS::ace_isprint (c) ? c : u_char ('.'); } textver[j] = 0; @@ -2340,7 +2336,7 @@ ACE::format_hexdump (const char *buffer, ACE_TEXT (" ")); ++obuf; } - textver[i] = ACE_OS::ace_isprint (c) ? c : '.'; + textver[i] = ACE_OS::ace_isprint (c) ? c : u_char ('.'); } for (i = size % 16; i < 16; i++) @@ -2371,7 +2367,8 @@ ACE::format_hexdump (const char *buffer, // Returns the current timestamp in the form // "hour:minute:second:microsecond." The month, day, and year are -// also stored in the beginning of the date_and_time array. +// also stored in the beginning of the date_and_time array +// using ISO-8601 format. ACE_TCHAR * ACE::timestamp (ACE_TCHAR date_and_time[], @@ -2386,7 +2383,10 @@ ACE::timestamp (ACE_TCHAR date_and_time[], // Returns the given timestamp in the form // "hour:minute:second:microsecond." The month, day, and year are -// also stored in the beginning of the date_and_time array. +// also stored in the beginning of the date_and_time array +// using ISO-8601 format. +// 012345678901234567890123456 +// 2010-12-02 12:56:00.123456 ACE_TCHAR * ACE::timestamp (const ACE_Time_Value& time_value, @@ -2396,92 +2396,32 @@ ACE::timestamp (const ACE_Time_Value& time_value, { //ACE_TRACE ("ACE::timestamp"); - if (date_and_timelen < 35) + // This magic number is from the formatting statement + // farther down this routine. + if (date_and_timelen < 27) { errno = EINVAL; return 0; } -#if defined (WIN32) - if (time_value == ACE_Time_Value::zero) - { - // Emulate Unix. Win32 does NOT support all the UNIX versions - // below, so DO we need this ifdef. - static const ACE_TCHAR *day_of_week_name[] = - { - ACE_TEXT ("Sun"), - ACE_TEXT ("Mon"), - ACE_TEXT ("Tue"), - ACE_TEXT ("Wed"), - ACE_TEXT ("Thu"), - ACE_TEXT ("Fri"), - ACE_TEXT ("Sat") - }; - - static const ACE_TCHAR *month_name[] = - { - ACE_TEXT ("Jan"), - ACE_TEXT ("Feb"), - ACE_TEXT ("Mar"), - ACE_TEXT ("Apr"), - ACE_TEXT ("May"), - ACE_TEXT ("Jun"), - ACE_TEXT ("Jul"), - ACE_TEXT ("Aug"), - ACE_TEXT ("Sep"), - ACE_TEXT ("Oct"), - ACE_TEXT ("Nov"), - ACE_TEXT ("Dec") - }; - - SYSTEMTIME local; - ::GetLocalTime (&local); - - ACE_OS::sprintf (date_and_time, - ACE_TEXT ("%3s %3s %2d %04d %02d:%02d:%02d.%06d"), - day_of_week_name[local.wDayOfWeek], - month_name[local.wMonth - 1], - (int) local.wDay, - (int) local.wYear, - (int) local.wHour, - (int) local.wMinute, - (int) local.wSecond, - (int) (local.wMilliseconds * 1000)); - return &date_and_time[15 + (return_pointer_to_first_digit != 0)]; - } -#endif /* WIN32 */ - ACE_TCHAR timebuf[26]; // This magic number is based on the ctime(3c) man page. ACE_Time_Value cur_time = (time_value == ACE_Time_Value::zero) ? ACE_Time_Value (ACE_OS::gettimeofday ()) : time_value; time_t secs = cur_time.sec (); - - ACE_OS::ctime_r (&secs, - timebuf, - sizeof timebuf / sizeof (ACE_TCHAR)); - // date_and_timelen > sizeof timebuf! - ACE_OS::strsncpy (date_and_time, - timebuf, - date_and_timelen); - ACE_TCHAR yeartmp[5]; - ACE_OS::strsncpy (yeartmp, - &date_and_time[20], - 5); - ACE_TCHAR timetmp[9]; - ACE_OS::strsncpy (timetmp, - &date_and_time[11], - 9); - ACE_OS::sprintf (&date_and_time[11], -# if defined (ACE_USES_WCHAR) - ACE_TEXT ("%ls %ls.%06ld"), -# else - ACE_TEXT ("%s %s.%06ld"), -# endif /* ACE_USES_WCHAR */ - yeartmp, - timetmp, - cur_time.usec ()); - date_and_time[33] = '\0'; - return &date_and_time[15 + (return_pointer_to_first_digit != 0)]; + struct tm tms; + ACE_OS::localtime_r (&secs, &tms); + ACE_OS::snprintf (date_and_time, + date_and_timelen, + ACE_TEXT ("%4.4d-%2.2d-%2.2d %2.2d:%2.2d:%2.2d.%06ld"), + tms.tm_year + 1900, + tms.tm_mon + 1, + tms.tm_mday, + tms.tm_hour, + tms.tm_min, + tms.tm_sec, + static_cast (cur_time.usec())); + date_and_time[date_and_timelen - 1] = '\0'; + return &date_and_time[10 + (return_pointer_to_first_digit != 0)]; } // This function rounds the request to a multiple of the page size. @@ -2866,9 +2806,7 @@ ACE::max_handles (void) #endif /* RLIMIT_NOFILE && !ACE_LACKS_RLIMIT */ #if defined (_SC_OPEN_MAX) - return ACE_OS::sysconf (_SC_OPEN_MAX); -#elif defined (ACE_VXWORKS) && (ACE_VXWORKS < 0x620) - return maxFiles; + return static_cast (ACE_OS::sysconf (_SC_OPEN_MAX)); #elif defined (FD_SETSIZE) return FD_SETSIZE; #else @@ -2915,7 +2853,7 @@ ACE::set_handle_limit (int new_limit, #if !defined (ACE_LACKS_RLIMIT) && defined (RLIMIT_NOFILE) rl.rlim_cur = new_limit; return ACE_OS::setrlimit (RLIMIT_NOFILE, &rl); -#elif defined (ACE_LACKS_RLIMIT_NOFILE) +#elif !defined (RLIMIT_NOFILE) return 0; #else // Must return EINVAL errno. @@ -3342,10 +3280,7 @@ ACE::strnew (const char *s) ACE_NEW_RETURN (t, char [ACE_OS::strlen (s) + 1], 0); - if (t == 0) - return 0; - else - return ACE_OS::strcpy (t, s); + return ACE_OS::strcpy (t, s); } #if defined (ACE_HAS_WCHAR) @@ -3358,10 +3293,7 @@ ACE::strnew (const wchar_t *s) ACE_NEW_RETURN (t, wchar_t[ACE_OS::strlen (s) + 1], 0); - if (t == 0) - return 0; - else - return ACE_OS::strcpy (t, s); + return ACE_OS::strcpy (t, s); } #endif /* ACE_HAS_WCHAR */ @@ -3400,7 +3332,7 @@ namespace // characters are allowed as the range endpoints. These characters // are the same values in both signed and unsigned chars so we // don't have to account for any "pathological cases." - for (char range = p[-1] + 1; range <= p[1]; ++range) + for (char range = static_cast (p[-1] + 1); range <= p[1]; ++range) { if (equal_char (s, range, case_sensitive)) { diff --git a/dep/ACE_wrappers/ace/ACE.h b/dep/acelite/ace/ACE.h similarity index 94% rename from dep/ACE_wrappers/ace/ACE.h rename to dep/acelite/ace/ACE.h index 04b39a856..58eb1f689 100644 --- a/dep/ACE_wrappers/ace/ACE.h +++ b/dep/acelite/ace/ACE.h @@ -4,7 +4,7 @@ /** * @file ACE.h * - * $Id: ACE.h 92060 2010-09-27 18:08:48Z johnnyw $ + * $Id: ACE.h 93276 2011-02-04 20:03:53Z olli $ * * This file contains value added ACE functions that extend the * behavior of the UNIX and Win32 OS calls. @@ -474,15 +474,23 @@ namespace ACE ACE_DIRECTORY_SEPARATOR_CHAR); /** - * Returns the given timestamp in the form - * "hour:minute:second:microsecond." The month, day, and year are - * also stored in the beginning of the @a date_and_time array, which - * is a user-supplied array of size @a time_len> @c ACE_TCHARs. - * Returns 0 if unsuccessful, else returns pointer to beginning of the - * "time" portion of @a date_and_time. If @a - * return_pointer_to_first_digit is 0 then return a pointer to the - * space before the time, else return a pointer to the beginning of - * the time portion. + * Translate the given timestamp to ISO-8601 format. + * + * @param time_value ACE_Time_Value to format. This is assumed to be + * an absolute time value. + * @param date_and_time Array to hold the timestamp. + * @param time_len Size of @a date_and_time in ACE_TCHARs. + * Must be greater than or equal to 27. + * @param return_pointer_to_first_digit If true, returned pointer value + * is to the first time digit, else to the space + * prior to the first time digit. See Return Values. + * + * @retval 0 if unsuccessful, with errno set. If @a time_len is less than + * 27 errno will be EINVAL. + * @retval If successful, pointer to beginning of the "time" portion of + * @a date_and_time. If @a return_pointer_to_first_digit is false + * the pointer is actually to the space before the time, else + * the pointer is to the first time digit. */ extern ACE_Export ACE_TCHAR *timestamp (const ACE_Time_Value& time_value, ACE_TCHAR date_and_time[], @@ -490,15 +498,21 @@ namespace ACE bool return_pointer_to_first_digit = false); /** - * Returns the current timestamp in the form - * "hour:minute:second:microsecond." The month, day, and year are - * also stored in the beginning of the @a date_and_time array, which - * is a user-supplied array of size @a time_len> @c ACE_TCHARs. - * Returns 0 if unsuccessful, else returns pointer to beginning of the - * "time" portion of @a date_and_time. If @a - * return_pointer_to_first_digit is 0 then return a pointer to the - * space before the time, else return a pointer to the beginning of - * the time portion. + * Translate the current time to ISO-8601 timestamp format. + * + * @param date_and_time Array to hold the timestamp. + * @param time_len Size of @a date_and_time in ACE_TCHARs. + * Must be greater than or equal to 27. + * @param return_pointer_to_first_digit If true, returned pointer value + * is to the first time digit, else to the space + * prior to the first time digit. See Return Values. + * + * @retval 0 if unsuccessful, with errno set. If @a time_len is less than + * 27 errno will be EINVAL. + * @retval If successful, pointer to beginning of the "time" portion of + * @a date_and_time. If @a return_pointer_to_first_digit is false + * the pointer is actually to the space before the time, else + * the pointer is to the first time digit. */ extern ACE_Export ACE_TCHAR *timestamp (ACE_TCHAR date_and_time[], size_t time_len, @@ -650,6 +664,14 @@ namespace ACE return !((a < b) || (a > b)); } + /// Helper to avoid comparing floating point values with != + /// (uses < and > operators). + template + bool is_inequal (const T& a, const T& b) + { + return !is_equal (a, b); + } + /// Hex conversion utility. extern ACE_Export ACE_TCHAR nibble2hex (u_int n); diff --git a/dep/ACE_wrappers/ace/ACE.inl b/dep/acelite/ace/ACE.inl similarity index 98% rename from dep/ACE_wrappers/ace/ACE.inl rename to dep/acelite/ace/ACE.inl index e36e4f01f..95f45ee99 100644 --- a/dep/ACE_wrappers/ace/ACE.inl +++ b/dep/acelite/ace/ACE.inl @@ -1,6 +1,6 @@ // -*- C++ -*- // -// $Id: ACE.inl 91813 2010-09-17 07:52:52Z johnnyw $ +// $Id: ACE.inl 95761 2012-05-15 18:23:04Z johnnyw $ #include "ace/OS_NS_unistd.h" #include "ace/OS_NS_Thread.h" @@ -230,7 +230,7 @@ ACE::send_i (ACE_HANDLE handle, const void *buf, size_t len) ACE_INLINE ssize_t ACE::recv_i (ACE_HANDLE handle, void *buf, size_t len) { -#if defined (ACE_WIN32) || defined (ACE_OPENVMS) || defined (ACE_TANDEM_T1248_PTHREADS) +#if defined (ACE_WIN32) || defined (ACE_OPENVMS) return ACE_OS::recv (handle, (char *) buf, len); #else return ACE_OS::read (handle, (char *) buf, len); diff --git a/dep/ACE_wrappers/ace/ACE_crc32.cpp b/dep/acelite/ace/ACE_crc32.cpp similarity index 100% rename from dep/ACE_wrappers/ace/ACE_crc32.cpp rename to dep/acelite/ace/ACE_crc32.cpp diff --git a/dep/ACE_wrappers/ace/ACE_crc_ccitt.cpp b/dep/acelite/ace/ACE_crc_ccitt.cpp similarity index 92% rename from dep/ACE_wrappers/ace/ACE_crc_ccitt.cpp rename to dep/acelite/ace/ACE_crc_ccitt.cpp index 7dfefa5c6..c1455d791 100644 --- a/dep/ACE_wrappers/ace/ACE_crc_ccitt.cpp +++ b/dep/acelite/ace/ACE_crc_ccitt.cpp @@ -1,4 +1,4 @@ -// $Id: ACE_crc_ccitt.cpp 91286 2010-08-05 09:04:31Z johnnyw $ +// $Id: ACE_crc_ccitt.cpp 96017 2012-08-08 22:18:09Z mitza $ #include "ace/ACE.h" @@ -65,7 +65,7 @@ namespace /*****************************************************************/ } -#define COMPUTE(var, ch) (var) = (crc_table[(var ^ ch) & 0xFF] ^ (var >> 8)) +#define COMPUTE(var, ch) (var) = static_cast (crc_table[(var ^ ch) & 0xFF] ^ (var >> 8)) // Open versioned namespace, if enabled by the user. ACE_BEGIN_VERSIONED_NAMESPACE_DECL @@ -82,13 +82,13 @@ ACE::crc_ccitt (const char *string) COMPUTE (crc, *p); } - return ~crc; + return static_cast (~crc); } ACE_UINT16 ACE::crc_ccitt (const void *buffer, size_t len, ACE_UINT16 crc) { - crc = ~crc; + crc = static_cast (~crc); for (const char *p = (const char *) buffer, *e = (const char *) buffer + len; @@ -98,13 +98,13 @@ ACE::crc_ccitt (const void *buffer, size_t len, ACE_UINT16 crc) COMPUTE (crc, *p); } - return ~crc; + return static_cast (~crc); } ACE_UINT16 ACE::crc_ccitt (const iovec *iov, int len, ACE_UINT16 crc) { - crc = ~crc; + crc = static_cast (~crc); for (int i = 0; i < len; ++i) { @@ -115,7 +115,7 @@ ACE::crc_ccitt (const iovec *iov, int len, ACE_UINT16 crc) COMPUTE (crc, *p); } - return ~crc; + return static_cast (~crc); } // Close versioned namespace, if enabled by the user. diff --git a/dep/ACE_wrappers/ace/ACE_export.h b/dep/acelite/ace/ACE_export.h similarity index 100% rename from dep/ACE_wrappers/ace/ACE_export.h rename to dep/acelite/ace/ACE_export.h diff --git a/dep/ACE_wrappers/ace/ARGV.cpp b/dep/acelite/ace/ARGV.cpp similarity index 98% rename from dep/ACE_wrappers/ace/ARGV.cpp rename to dep/acelite/ace/ARGV.cpp index 3b46459fe..e64c5d869 100644 --- a/dep/ACE_wrappers/ace/ARGV.cpp +++ b/dep/acelite/ace/ARGV.cpp @@ -1,4 +1,4 @@ -// $Id: ARGV.cpp 91286 2010-08-05 09:04:31Z johnnyw $ +// $Id: ARGV.cpp 95630 2012-03-22 13:04:47Z johnnyw $ #ifndef ACE_ARGV_CPP #define ACE_ARGV_CPP @@ -167,6 +167,7 @@ ACE_ARGV_T::ACE_ARGV_T (CHAR_TYPE *first_argv[], CHAR_TYPE *first_buf = 0; CHAR_TYPE *second_buf = 0; + size_t buf_len = 1; // convert the first argv to a string if (first_argv != 0 && first_argv[0] != 0) @@ -175,6 +176,7 @@ ACE_ARGV_T::ACE_ARGV_T (CHAR_TYPE *first_argv[], first_buf, substitute_env_args, quote_args); + buf_len += ACE_OS::strlen (first_buf); } // convert the second argv to a string @@ -184,14 +186,12 @@ ACE_ARGV_T::ACE_ARGV_T (CHAR_TYPE *first_argv[], second_buf, substitute_env_args, quote_args); + buf_len += ACE_OS::strlen (second_buf); } // Add the number of arguments in both the argvs. this->argc_ = first_argc + second_argc; - size_t buf_len = - ACE_OS::strlen (first_buf) + ACE_OS::strlen (second_buf) + 1; - // Allocate memory to the lenght of the combined argv string. ACE_NEW (this->buf_, CHAR_TYPE[buf_len + 1]); diff --git a/dep/ACE_wrappers/ace/ARGV.h b/dep/acelite/ace/ARGV.h similarity index 98% rename from dep/ACE_wrappers/ace/ARGV.h rename to dep/acelite/ace/ARGV.h index 66e71810a..1c291bd6e 100644 --- a/dep/ACE_wrappers/ace/ARGV.h +++ b/dep/acelite/ace/ARGV.h @@ -4,7 +4,7 @@ /** * @file ARGV.h * - * $Id: ARGV.h 81156 2008-03-30 20:56:47Z iliyan $ + * $Id: ARGV.h 95972 2012-07-26 10:20:42Z johnnyw $ * * @author Doug Schmidt * @author Everett Anderson @@ -206,8 +206,8 @@ public: * * @param index Index to the desired element. * - * @retval Pointer to the indexed string. - * @retval 0 if @a index is out of bounds. + * @retval Pointer to the indexed string. + * @retval 0 if @a index is out of bounds. */ const CHAR_TYPE *operator[] (size_t index); diff --git a/dep/ACE_wrappers/ace/ARGV.inl b/dep/acelite/ace/ARGV.inl similarity index 100% rename from dep/ACE_wrappers/ace/ARGV.inl rename to dep/acelite/ace/ARGV.inl diff --git a/dep/ACE_wrappers/ace/ATM_Acceptor.cpp b/dep/acelite/ace/ATM_Acceptor.cpp similarity index 100% rename from dep/ACE_wrappers/ace/ATM_Acceptor.cpp rename to dep/acelite/ace/ATM_Acceptor.cpp diff --git a/dep/ACE_wrappers/ace/ATM_Acceptor.h b/dep/acelite/ace/ATM_Acceptor.h similarity index 100% rename from dep/ACE_wrappers/ace/ATM_Acceptor.h rename to dep/acelite/ace/ATM_Acceptor.h diff --git a/dep/ACE_wrappers/ace/ATM_Acceptor.inl b/dep/acelite/ace/ATM_Acceptor.inl similarity index 100% rename from dep/ACE_wrappers/ace/ATM_Acceptor.inl rename to dep/acelite/ace/ATM_Acceptor.inl diff --git a/dep/ACE_wrappers/ace/ATM_Addr.cpp b/dep/acelite/ace/ATM_Addr.cpp similarity index 100% rename from dep/ACE_wrappers/ace/ATM_Addr.cpp rename to dep/acelite/ace/ATM_Addr.cpp diff --git a/dep/ACE_wrappers/ace/ATM_Addr.h b/dep/acelite/ace/ATM_Addr.h similarity index 100% rename from dep/ACE_wrappers/ace/ATM_Addr.h rename to dep/acelite/ace/ATM_Addr.h diff --git a/dep/ACE_wrappers/ace/ATM_Addr.inl b/dep/acelite/ace/ATM_Addr.inl similarity index 100% rename from dep/ACE_wrappers/ace/ATM_Addr.inl rename to dep/acelite/ace/ATM_Addr.inl diff --git a/dep/ACE_wrappers/ace/ATM_Connector.cpp b/dep/acelite/ace/ATM_Connector.cpp similarity index 100% rename from dep/ACE_wrappers/ace/ATM_Connector.cpp rename to dep/acelite/ace/ATM_Connector.cpp diff --git a/dep/ACE_wrappers/ace/ATM_Connector.h b/dep/acelite/ace/ATM_Connector.h similarity index 100% rename from dep/ACE_wrappers/ace/ATM_Connector.h rename to dep/acelite/ace/ATM_Connector.h diff --git a/dep/ACE_wrappers/ace/ATM_Connector.inl b/dep/acelite/ace/ATM_Connector.inl similarity index 100% rename from dep/ACE_wrappers/ace/ATM_Connector.inl rename to dep/acelite/ace/ATM_Connector.inl diff --git a/dep/ACE_wrappers/ace/ATM_Params.cpp b/dep/acelite/ace/ATM_Params.cpp similarity index 100% rename from dep/ACE_wrappers/ace/ATM_Params.cpp rename to dep/acelite/ace/ATM_Params.cpp diff --git a/dep/ACE_wrappers/ace/ATM_Params.h b/dep/acelite/ace/ATM_Params.h similarity index 100% rename from dep/ACE_wrappers/ace/ATM_Params.h rename to dep/acelite/ace/ATM_Params.h diff --git a/dep/ACE_wrappers/ace/ATM_Params.inl b/dep/acelite/ace/ATM_Params.inl similarity index 100% rename from dep/ACE_wrappers/ace/ATM_Params.inl rename to dep/acelite/ace/ATM_Params.inl diff --git a/dep/ACE_wrappers/ace/ATM_QoS.cpp b/dep/acelite/ace/ATM_QoS.cpp similarity index 100% rename from dep/ACE_wrappers/ace/ATM_QoS.cpp rename to dep/acelite/ace/ATM_QoS.cpp diff --git a/dep/ACE_wrappers/ace/ATM_QoS.h b/dep/acelite/ace/ATM_QoS.h similarity index 100% rename from dep/ACE_wrappers/ace/ATM_QoS.h rename to dep/acelite/ace/ATM_QoS.h diff --git a/dep/ACE_wrappers/ace/ATM_QoS.inl b/dep/acelite/ace/ATM_QoS.inl similarity index 100% rename from dep/ACE_wrappers/ace/ATM_QoS.inl rename to dep/acelite/ace/ATM_QoS.inl diff --git a/dep/ACE_wrappers/ace/ATM_Stream.cpp b/dep/acelite/ace/ATM_Stream.cpp similarity index 100% rename from dep/ACE_wrappers/ace/ATM_Stream.cpp rename to dep/acelite/ace/ATM_Stream.cpp diff --git a/dep/ACE_wrappers/ace/ATM_Stream.h b/dep/acelite/ace/ATM_Stream.h similarity index 100% rename from dep/ACE_wrappers/ace/ATM_Stream.h rename to dep/acelite/ace/ATM_Stream.h diff --git a/dep/ACE_wrappers/ace/ATM_Stream.inl b/dep/acelite/ace/ATM_Stream.inl similarity index 98% rename from dep/ACE_wrappers/ace/ATM_Stream.inl rename to dep/acelite/ace/ATM_Stream.inl index 007e25832..94de09004 100644 --- a/dep/ACE_wrappers/ace/ATM_Stream.inl +++ b/dep/acelite/ace/ATM_Stream.inl @@ -1,6 +1,5 @@ // -*- C++ -*- -// -// $Id: ATM_Stream.inl 84262 2009-01-29 10:34:33Z johnnyw $ +// $Id: ATM_Stream.inl 92474 2010-11-02 13:29:39Z johnnyw $ ACE_BEGIN_VERSIONED_NAMESPACE_DECL diff --git a/dep/acelite/ace/Abstract_Timer_Queue.cpp b/dep/acelite/ace/Abstract_Timer_Queue.cpp new file mode 100644 index 000000000..3207733b2 --- /dev/null +++ b/dep/acelite/ace/Abstract_Timer_Queue.cpp @@ -0,0 +1,26 @@ +//$Id: Abstract_Timer_Queue.cpp 95334 2011-12-15 12:52:50Z msmit $ + +#ifndef ACE_ABSTRACT_TIMER_QUEUE_CPP +#define ACE_ABSTRACT_TIMER_QUEUE_CPP +#include "ace/config-all.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "ace/Abstract_Timer_Queue.h" + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +// Even though the destructor is pure virtual you must provide an +// implementation. Most people know this, but sometimes we all +// forget, and we might be tempted to remove this code. +template +ACE_Abstract_Timer_Queue:: +~ACE_Abstract_Timer_Queue () +{ +} + +ACE_END_VERSIONED_NAMESPACE_DECL + +#endif /* ACE_ABSTRACT_TIMER_QUEUE_CPP */ diff --git a/dep/acelite/ace/Abstract_Timer_Queue.h b/dep/acelite/ace/Abstract_Timer_Queue.h new file mode 100644 index 000000000..ddb8abf7f --- /dev/null +++ b/dep/acelite/ace/Abstract_Timer_Queue.h @@ -0,0 +1,230 @@ +//$Id: Abstract_Timer_Queue.h 95368 2011-12-19 13:38:49Z mcorino $ + +#ifndef ACE_ABSTRACT_TIMER_QUEUE_H +#define ACE_ABSTRACT_TIMER_QUEUE_H + +#include /**/ "ace/pre.h" +/** + * @file Abstract_Timer_Queue.h + * + * @author Carlos O'Ryan + * + * Based on classes and files developed by Doug Schmidt, Darrell + * Brunsch, Irfan Pyarali and a cast of thousands. + */ + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +// Forward declares +class ACE_Time_Value; +class ACE_Command_Base; +template class ACE_Timer_Queue_Iterator_T; +template class ACE_Timer_Node_T; + +/** + * @class ACE_Abstract_Timer_Queue + * + * @brief Base class for all timer queues of a single type. + * + * This is a base class for all the timer queues, regardless of + * locking strategy, upcall mechanism, internal implementation, etc. + * The class was motivated by bug 3706: + * http://bugzilla.dre.vanderbilt.edu/show_bug.cgi?id=3706 + * In short, the Reactor (and potentially other classes) want to refer + * to timer queues regardless of the implementation internals. + */ +template +class ACE_Abstract_Timer_Queue +{ +public: + /// Destructor + virtual ~ACE_Abstract_Timer_Queue (void) = 0; + + /// True if queue is empty, else false. + virtual bool is_empty (void) const = 0; + + /// Returns the time of the earlier node in the Timer_Queue. Must + /// be called on a non-empty queue. + virtual const ACE_Time_Value &earliest_time (void) const = 0; + + /** + * Schedule @a type that will expire at @a future_time, which is + * specified in absolute time. If it expires then @a act is passed + * in as the value to the . If @a interval is != to + * ACE_Time_Value::zero then it is used to reschedule the @a type + * automatically, using relative time to the current . + * This method returns a that uniquely identifies the the + * @a type entry in an internal list. This can be used to + * cancel the timer before it expires. The cancellation ensures + * that are unique up to values of greater than 2 + * billion timers. As long as timers don't stay around longer than + * this there should be no problems with accidentally deleting the + * wrong timer. Returns -1 on failure (which is guaranteed never to + * be a valid ). + */ + virtual long schedule (const TYPE &type, + const void *act, + const ACE_Time_Value &future_time, + const ACE_Time_Value &interval = ACE_Time_Value::zero) = 0; + + /** + * Run the for all timers whose values are <= @a current_time. + * This does not account for . Returns the number of + * timers canceled. + */ + virtual int expire (const ACE_Time_Value ¤t_time) = 0; + + /** + * Run the for all timers whose values are <= + * . Also accounts for . + * + * Depending on the resolution of the underlying OS the system calls + * like select()/poll() might return at time different than that is + * specified in the timeout. Suppose the OS guarantees a resolution of t ms. + * The timeline will look like + * + * A B + * | | + * V V + * |-------------|-------------|-------------|-------------| + * t t t t t + * + * + * If you specify a timeout value of A, then the timeout will not occur + * at A but at the next interval of the timer, which is later than + * that is expected. Similarly, if your timeout value is equal to B, + * then the timeout will occur at interval after B. Now depending upon the + * resolution of your timeouts and the accuracy of the timeouts + * needed for your application, you should set the value of + * . In the above case, if you want the timeout A to fire + * no later than A, then you should specify your to be + * A % t. + * + * The timeout value should be specified via the macro ACE_TIMER_SKEW + * in your config.h file. The default value is zero. + * + * Things get interesting if the t before the timeout value B is zero + * i.e your timeout is less than the interval. In that case, you are + * almost sure of not getting the desired timeout behaviour. Maybe you + * should look for a better OS :-) + * + * Returns the number of timers canceled. + */ + virtual int expire (void) = 0; + + /** + * A couple of classes using Timer_Queues need to dispatch a single + * event at a time. But before they dispatch the event they need to + * release a lock, signal other threads, etc. + * + * This member function should be used in that case. The additional + * operations to be called just before dispatching the event, and + * only if an event will be dispatched, are encapsulated in the + * ACE_Command_Base object. + */ + virtual int expire_single(ACE_Command_Base & pre_dispatch_command) = 0; + + /** + * Resets the interval of the timer represented by @a timer_id to + * @a interval, which is specified in relative time to the current + * . If @a interval is equal to + * ACE_Time_Value::zero, the timer will become a non-rescheduling + * timer. Returns 0 if successful, -1 if not. + */ + virtual int reset_interval (long timer_id, + const ACE_Time_Value &interval) = 0; + + /** + * Cancel all timer associated with @a type. If + * @a dont_call_handle_close is 0 then the will be invoked, + * which typically invokes the hook. Returns number + * of timers cancelled. + */ + virtual int cancel (const TYPE &type, + int dont_call_handle_close = 1) = 0; + + /** + * Cancel the single timer that matches the @a timer_id value (which + * was returned from the method). If act is non-NULL + * then it will be set to point to the ``magic cookie'' argument + * passed in when the timer was registered. This makes it possible + * to free up the memory and avoid memory leaks. If + * @a dont_call_handle_close is 0 then the will be invoked, + * which typically calls the hook. Returns 1 if + * cancellation succeeded and 0 if the @a timer_id wasn't found. + */ + virtual int cancel (long timer_id, + const void **act = 0, + int dont_call_handle_close = 1) = 0; + + /** + * Close timer queue. Cancels all timers. + */ + virtual int close (void) = 0; + + /** + * Returns the current time of day. This method allows different + * implementations of the timer queue to use special high resolution + * timers. + */ + virtual ACE_Time_Value gettimeofday (void) = 0; + + /** + * Allows applications to control how the timer queue gets the time + * of day. + * @deprecated Use TIME_POLICY support instead. See Timer_Queue_T.h + */ + virtual void gettimeofday (ACE_Time_Value (*gettimeofday)(void)) = 0; + + /// Determine the next event to timeout. Returns @a max if there are + /// no pending timers or if all pending timers are longer than max. + /// This method acquires a lock internally since it modifies internal state. + virtual ACE_Time_Value *calculate_timeout (ACE_Time_Value *max) = 0; + + /** + * Determine the next event to timeout. Returns @a max if there are + * no pending timers or if all pending timers are longer than max. + * should be a pointer to storage for the timeout value, + * and this value is also returned. This method does not acquire a + * lock internally since it doesn't modify internal state. If you + * need to call this method when the queue is being modified + * concurrently, however, you should make sure to acquire the + * externally before making the call. + */ + virtual ACE_Time_Value *calculate_timeout (ACE_Time_Value *max, + ACE_Time_Value *the_timeout) = 0; + + /** + * Return the current time, using the right time policy and any + * timer skew defined in derived classes. + */ + virtual ACE_Time_Value current_time() = 0; + + /// Type of Iterator. + typedef ACE_Timer_Queue_Iterator_T ITERATOR; + + /// Returns a pointer to this ACE_Timer_Queue's iterator. + virtual ITERATOR & iter (void) = 0; + + /// Removes the earliest node from the queue and returns it + virtual ACE_Timer_Node_T *remove_first (void) = 0; + + /// Reads the earliest node from the queue and returns it. + virtual ACE_Timer_Node_T *get_first (void) = 0; + + /// Dump the state of a object. + virtual void dump (void) const = 0; +}; + +ACE_END_VERSIONED_NAMESPACE_DECL + +#if defined (ACE_TEMPLATES_REQUIRE_SOURCE) +#include "ace/Abstract_Timer_Queue.cpp" +#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */ + +#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) +#pragma implementation ("Abstract_Timer_Queue.cpp") +#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ + +#include /**/ "ace/post.h" +#endif /* ACE_ABSTRACT_TIMER_QUEUE_H */ diff --git a/dep/ACE_wrappers/ace/Acceptor.cpp b/dep/acelite/ace/Acceptor.cpp similarity index 99% rename from dep/ACE_wrappers/ace/Acceptor.cpp rename to dep/acelite/ace/Acceptor.cpp index 236a35ba8..72bebfd78 100644 --- a/dep/ACE_wrappers/ace/Acceptor.cpp +++ b/dep/acelite/ace/Acceptor.cpp @@ -1,4 +1,4 @@ -// $Id: Acceptor.cpp 91623 2010-09-06 09:30:59Z sma $ +// $Id: Acceptor.cpp 95730 2012-05-04 17:28:19Z johnnyw $ #ifndef ACE_ACCEPTOR_CPP #define ACE_ACCEPTOR_CPP @@ -900,7 +900,10 @@ ACE_Oneshot_Acceptor::open template ACE_Oneshot_Acceptor::ACE_Oneshot_Acceptor (void) - : delete_concurrency_strategy_ (false) + : svc_handler_ (0), + restart_ (false), + concurrency_strategy_ (0), + delete_concurrency_strategy_ (false) { ACE_TRACE ("ACE_Oneshot_Acceptor::ACE_Oneshot_Acceptor"); this->reactor (0); @@ -911,7 +914,10 @@ ACE_Oneshot_Acceptor::ACE_Oneshot_Acceptor (const ACE_PEER_ACCEPTOR_ADDR &local_addr, ACE_Reactor *reactor, ACE_Concurrency_Strategy *cs) - : delete_concurrency_strategy_ (false) + : svc_handler_ (0), + restart_ (false), + concurrency_strategy_ (0), + delete_concurrency_strategy_ (false) { ACE_TRACE ("ACE_Oneshot_Acceptor::ACE_Oneshot_Acceptor"); if (this->open (local_addr, reactor, cs) == -1) @@ -1010,7 +1016,7 @@ ACE_Oneshot_Acceptor::register_handler if (tv != 0 && this->reactor ()->schedule_timer (this, synch_options.arg (), - *tv) == 0) + *tv) == -1) return -1; else return this->reactor ()->register_handler diff --git a/dep/ACE_wrappers/ace/Acceptor.h b/dep/acelite/ace/Acceptor.h similarity index 99% rename from dep/ACE_wrappers/ace/Acceptor.h rename to dep/acelite/ace/Acceptor.h index 64cf488b9..fdd00d5a0 100644 --- a/dep/ACE_wrappers/ace/Acceptor.h +++ b/dep/acelite/ace/Acceptor.h @@ -4,7 +4,7 @@ /** * @file Acceptor.h * - * $Id: Acceptor.h 88800 2010-02-01 23:18:34Z shuston $ + * $Id: Acceptor.h 93624 2011-03-22 21:14:05Z johnnyw $ * * @author Douglas C. Schmidt */ @@ -193,9 +193,9 @@ protected: virtual int accept_svc_handler (SVC_HANDLER *svc_handler); /** - * Bridge method for activating a {svc_handler} with the appropriate + * Bridge method for activating a @a svc_handler with the appropriate * concurrency strategy. The default behavior of this method is to - * activate the SVC_HANDLER by calling its {open} method (which + * activate the SVC_HANDLER by calling its open() method (which * allows the SVC_HANDLER to define its own concurrency strategy). * However, subclasses can override this strategy to do more * sophisticated concurrency activations (such as making the diff --git a/dep/ACE_wrappers/ace/Activation_Queue.cpp b/dep/acelite/ace/Activation_Queue.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Activation_Queue.cpp rename to dep/acelite/ace/Activation_Queue.cpp diff --git a/dep/ACE_wrappers/ace/Activation_Queue.h b/dep/acelite/ace/Activation_Queue.h similarity index 100% rename from dep/ACE_wrappers/ace/Activation_Queue.h rename to dep/acelite/ace/Activation_Queue.h diff --git a/dep/ACE_wrappers/ace/Activation_Queue.inl b/dep/acelite/ace/Activation_Queue.inl similarity index 100% rename from dep/ACE_wrappers/ace/Activation_Queue.inl rename to dep/acelite/ace/Activation_Queue.inl diff --git a/dep/ACE_wrappers/ace/Active_Map_Manager.cpp b/dep/acelite/ace/Active_Map_Manager.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Active_Map_Manager.cpp rename to dep/acelite/ace/Active_Map_Manager.cpp diff --git a/dep/ACE_wrappers/ace/Active_Map_Manager.h b/dep/acelite/ace/Active_Map_Manager.h similarity index 96% rename from dep/ACE_wrappers/ace/Active_Map_Manager.h rename to dep/acelite/ace/Active_Map_Manager.h index a6c167e5f..7bade46aa 100644 --- a/dep/ACE_wrappers/ace/Active_Map_Manager.h +++ b/dep/acelite/ace/Active_Map_Manager.h @@ -4,7 +4,7 @@ /** * @file Active_Map_Manager.h * - * $Id: Active_Map_Manager.h 91066 2010-07-12 11:05:04Z johnnyw $ + * $Id: Active_Map_Manager.h 93359 2011-02-11 11:33:12Z mcorino $ * * @author Irfan Pyarali */ @@ -68,7 +68,7 @@ public: void decode (const void *data); /// Encode state of the active key into @a data. @a data must be as - /// big as the value returned from . + /// big as the value returned from size(). void encode (void *data) const; /// Compare keys. diff --git a/dep/ACE_wrappers/ace/Active_Map_Manager.inl b/dep/acelite/ace/Active_Map_Manager.inl similarity index 100% rename from dep/ACE_wrappers/ace/Active_Map_Manager.inl rename to dep/acelite/ace/Active_Map_Manager.inl diff --git a/dep/ACE_wrappers/ace/Active_Map_Manager_T.cpp b/dep/acelite/ace/Active_Map_Manager_T.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Active_Map_Manager_T.cpp rename to dep/acelite/ace/Active_Map_Manager_T.cpp diff --git a/dep/ACE_wrappers/ace/Active_Map_Manager_T.h b/dep/acelite/ace/Active_Map_Manager_T.h similarity index 100% rename from dep/ACE_wrappers/ace/Active_Map_Manager_T.h rename to dep/acelite/ace/Active_Map_Manager_T.h diff --git a/dep/ACE_wrappers/ace/Active_Map_Manager_T.inl b/dep/acelite/ace/Active_Map_Manager_T.inl similarity index 100% rename from dep/ACE_wrappers/ace/Active_Map_Manager_T.inl rename to dep/acelite/ace/Active_Map_Manager_T.inl diff --git a/dep/ACE_wrappers/ace/Addr.cpp b/dep/acelite/ace/Addr.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Addr.cpp rename to dep/acelite/ace/Addr.cpp diff --git a/dep/ACE_wrappers/ace/Addr.h b/dep/acelite/ace/Addr.h similarity index 100% rename from dep/ACE_wrappers/ace/Addr.h rename to dep/acelite/ace/Addr.h diff --git a/dep/ACE_wrappers/ace/Addr.inl b/dep/acelite/ace/Addr.inl similarity index 100% rename from dep/ACE_wrappers/ace/Addr.inl rename to dep/acelite/ace/Addr.inl diff --git a/dep/ACE_wrappers/ace/Arg_Shifter.cpp b/dep/acelite/ace/Arg_Shifter.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Arg_Shifter.cpp rename to dep/acelite/ace/Arg_Shifter.cpp diff --git a/dep/ACE_wrappers/ace/Arg_Shifter.h b/dep/acelite/ace/Arg_Shifter.h similarity index 98% rename from dep/ACE_wrappers/ace/Arg_Shifter.h rename to dep/acelite/ace/Arg_Shifter.h index 57cd2b0f5..123a70560 100644 --- a/dep/ACE_wrappers/ace/Arg_Shifter.h +++ b/dep/acelite/ace/Arg_Shifter.h @@ -4,7 +4,7 @@ /** * @file Arg_Shifter.h * - * $Id: Arg_Shifter.h 91459 2010-08-25 09:51:01Z mcorino $ + * $Id: Arg_Shifter.h 95972 2012-07-26 10:20:42Z johnnyw $ * * @author Seth Widoff */ @@ -211,10 +211,10 @@ private: /// The index of in which we'll stick the next known /// argument. - int front_; - /* This is not really the "front" at all. It's the point after + /** This is not really the "front" at all. It's the point after * which the unknown arguments end and at which the known arguments begin. */ + int front_; }; typedef ACE_Arg_Shifter_T ACE_Arg_Shifter; diff --git a/dep/ACE_wrappers/ace/Argv_Type_Converter.cpp b/dep/acelite/ace/Argv_Type_Converter.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Argv_Type_Converter.cpp rename to dep/acelite/ace/Argv_Type_Converter.cpp diff --git a/dep/ACE_wrappers/ace/Argv_Type_Converter.h b/dep/acelite/ace/Argv_Type_Converter.h similarity index 95% rename from dep/ACE_wrappers/ace/Argv_Type_Converter.h rename to dep/acelite/ace/Argv_Type_Converter.h index d41d839b6..0cf62fa08 100644 --- a/dep/ACE_wrappers/ace/Argv_Type_Converter.h +++ b/dep/acelite/ace/Argv_Type_Converter.h @@ -4,7 +4,7 @@ /** * @file Argv_Type_Converter.h * - * $Id: Argv_Type_Converter.h 83891 2008-11-28 11:01:50Z johnnyw $ + * $Id: Argv_Type_Converter.h 93359 2011-02-11 11:33:12Z mcorino $ * * @author Si Mong Park */ @@ -78,7 +78,7 @@ private: /// argv list. void align_wchar_with_char (void); - /// Clean up removed (comsumed) argv entries and reset the pass flags. + /// Clean up removed (consumed) argv entries and reset the pass flags. void cleanup (void); #endif // ACE_USES_WCHAR diff --git a/dep/ACE_wrappers/ace/Argv_Type_Converter.inl b/dep/acelite/ace/Argv_Type_Converter.inl similarity index 100% rename from dep/ACE_wrappers/ace/Argv_Type_Converter.inl rename to dep/acelite/ace/Argv_Type_Converter.inl diff --git a/dep/ACE_wrappers/ace/Array_Base.cpp b/dep/acelite/ace/Array_Base.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Array_Base.cpp rename to dep/acelite/ace/Array_Base.cpp diff --git a/dep/ACE_wrappers/ace/Array_Base.h b/dep/acelite/ace/Array_Base.h similarity index 96% rename from dep/ACE_wrappers/ace/Array_Base.h rename to dep/acelite/ace/Array_Base.h index 0d6620a6c..9276bf6ee 100644 --- a/dep/ACE_wrappers/ace/Array_Base.h +++ b/dep/acelite/ace/Array_Base.h @@ -4,7 +4,7 @@ /** * @file Array_Base.h * - * $Id: Array_Base.h 84477 2009-02-16 13:30:38Z johnnyw $ + * $Id: Array_Base.h 93359 2011-02-11 11:33:12Z mcorino $ * * @author Douglas C. Schmidt */ @@ -67,21 +67,21 @@ public: ACE_Array_Base (size_type size = 0, ACE_Allocator * the_allocator = 0); - /// Dynamically initialize the entire array to the . + /// Dynamically initialize the entire array to the @a default_value. ACE_Array_Base (size_type size, T const & default_value, ACE_Allocator * the_allocator = 0); /** * The copy constructor performs initialization by making an exact - * copy of the contents of parameter , i.e., *this == s will + * copy of the contents of parameter @a s, i.e., *this == s will * return true. */ ACE_Array_Base (ACE_Array_Base const & s); /** * Assignment operator performs an assignment by making an exact - * copy of the contents of parameter , i.e., *this == s will + * copy of the contents of parameter @a s, i.e., *this == s will * return true. Note that if the of is >= than * we can copy it without reallocating. However, if * is < we must delete the , diff --git a/dep/ACE_wrappers/ace/Array_Base.inl b/dep/acelite/ace/Array_Base.inl similarity index 100% rename from dep/ACE_wrappers/ace/Array_Base.inl rename to dep/acelite/ace/Array_Base.inl diff --git a/dep/ACE_wrappers/ace/Array_Map.cpp b/dep/acelite/ace/Array_Map.cpp similarity index 85% rename from dep/ACE_wrappers/ace/Array_Map.cpp rename to dep/acelite/ace/Array_Map.cpp index 5530a8b54..25b4e2457 100644 --- a/dep/ACE_wrappers/ace/Array_Map.cpp +++ b/dep/acelite/ace/Array_Map.cpp @@ -1,4 +1,4 @@ -// $Id: Array_Map.cpp 80826 2008-03-04 14:51:23Z wotte $ +// $Id: Array_Map.cpp 92386 2010-10-28 07:44:37Z johnnyw $ #ifndef ACE_ARRAY_MAP_CPP #define ACE_ARRAY_MAP_CPP @@ -15,7 +15,6 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -#ifndef ACE_LACKS_MEMBER_TEMPLATES template template ACE_Array_Map::ACE_Array_Map (InputIterator f, @@ -34,26 +33,6 @@ ACE_Array_Map::ACE_Array_Map (InputIterator f, // for (InputIterator i = f; i != l; ++i, ++n) // *n = *i; } -#else -template -ACE_Array_Map::ACE_Array_Map ( - typename ACE_Array_Map::const_iterator f, - typename ACE_Array_Map::const_iterator l) - : size_ (l - f) - , capacity_ (size_) - , nodes_ (size_ == 0 ? 0 : new value_type[size_]) -{ - (void) std::copy (f, - l, - ACE_make_checked_array_iterator (this->begin (), - this->size_)); - -// iterator n = this->begin (); - -// for (const_iterator i = f; i != l; ++i, ++n) -// *n = *i; -} -#endif /* !ACE_LACKS_MEMBER_TEMPLATES */ template ACE_Array_Map::ACE_Array_Map ( @@ -119,7 +98,6 @@ ACE_Array_Map::insert ( return std::make_pair (i, inserted); } -#ifndef ACE_LACKS_MEMBER_TEMPLATES template template void @@ -132,21 +110,6 @@ ACE_Array_Map::insert (InputIterator f, InputIterator l) (void) this->insert (*i); } } -#else -template -void -ACE_Array_Map::insert ( - typename ACE_Array_Map::const_iterator f, - typename ACE_Array_Map::const_iterator l) -{ - this->grow (l - f); // Preallocate storage. - - for (const_iterator i = f; i != l; ++i) - { - (void) this->insert (*i); - } -} -#endif /* ACE_LACKS_MEMBER_TEMPLATES */ template void diff --git a/dep/ACE_wrappers/ace/Array_Map.h b/dep/acelite/ace/Array_Map.h similarity index 95% rename from dep/ACE_wrappers/ace/Array_Map.h rename to dep/acelite/ace/Array_Map.h index 1515ea455..0bd3b1ffe 100644 --- a/dep/ACE_wrappers/ace/Array_Map.h +++ b/dep/acelite/ace/Array_Map.h @@ -4,7 +4,7 @@ /** * @file Array_Map.h * - * $Id: Array_Map.h 84136 2009-01-12 11:01:17Z johnnyw $ + * $Id: Array_Map.h 92386 2010-10-28 07:44:37Z johnnyw $ * * Light weight array-based map with fast iteration but linear * (i.e. O(n)) search times. STL-style interface is exposed. @@ -110,12 +110,8 @@ public: */ ACE_Array_Map (size_type s = 0); -#ifndef ACE_LACKS_MEMBER_TEMPLATES template ACE_Array_Map (InputIterator f, InputIterator l); -#else - ACE_Array_Map (const_iterator f, const_iterator l); -#endif /* !ACE_LACKS_MEMBER_TEMPLATES */ ACE_Array_Map (ACE_Array_Map const & map); ACE_Array_Map & operator= (ACE_Array_Map const & map); @@ -181,14 +177,9 @@ public: */ std::pair insert (value_type const & x); -#ifndef ACE_LACKS_MEMBER_TEMPLATES /// Insert range of elements into map. template void insert (InputIterator f, InputIterator l); -#else - /// Insert range of elements into map. - void insert (const_iterator f, const_iterator l); -#endif /* ACE_LACKS_MEMBER_TEMPLATES */ /// Remove element at position @a pos from the map. void erase (iterator pos); diff --git a/dep/ACE_wrappers/ace/Array_Map.inl b/dep/acelite/ace/Array_Map.inl similarity index 100% rename from dep/ACE_wrappers/ace/Array_Map.inl rename to dep/acelite/ace/Array_Map.inl diff --git a/dep/ACE_wrappers/ace/Assert.cpp b/dep/acelite/ace/Assert.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Assert.cpp rename to dep/acelite/ace/Assert.cpp diff --git a/dep/ACE_wrappers/ace/Assert.h b/dep/acelite/ace/Assert.h similarity index 100% rename from dep/ACE_wrappers/ace/Assert.h rename to dep/acelite/ace/Assert.h diff --git a/dep/ACE_wrappers/ace/Asynch_Acceptor.cpp b/dep/acelite/ace/Asynch_Acceptor.cpp similarity index 98% rename from dep/ACE_wrappers/ace/Asynch_Acceptor.cpp rename to dep/acelite/ace/Asynch_Acceptor.cpp index 56af2f140..916b250b7 100644 --- a/dep/ACE_wrappers/ace/Asynch_Acceptor.cpp +++ b/dep/acelite/ace/Asynch_Acceptor.cpp @@ -1,5 +1,5 @@ /* -*- C++ -*- */ -// $Id: Asynch_Acceptor.cpp 91693 2010-09-09 12:57:54Z johnnyw $ +// $Id: Asynch_Acceptor.cpp 95630 2012-03-22 13:04:47Z johnnyw $ #ifndef ACE_ASYNCH_ACCEPTOR_C #define ACE_ASYNCH_ACCEPTOR_C @@ -30,7 +30,8 @@ ACE_Asynch_Acceptor::ACE_Asynch_Acceptor (void) pass_addresses_ (false), validate_new_connection_ (false), reissue_accept_ (1), - bytes_to_read_ (0) + bytes_to_read_ (0), + addr_family_ (0) { } @@ -297,8 +298,10 @@ ACE_Asynch_Acceptor::handle_accept (const ACE_Asynch_Accept::Result &re // If no errors if (!error) { - // Update the Proactor. - new_handler->proactor (this->proactor ()); + // Update the Proactor unless make_handler() or constructed handler + // set up its own. + if (new_handler->proactor () == 0) + new_handler->proactor (this->proactor ()); // Pass the addresses if (this->pass_addresses_) diff --git a/dep/ACE_wrappers/ace/Asynch_Acceptor.h b/dep/acelite/ace/Asynch_Acceptor.h similarity index 100% rename from dep/ACE_wrappers/ace/Asynch_Acceptor.h rename to dep/acelite/ace/Asynch_Acceptor.h diff --git a/dep/ACE_wrappers/ace/Asynch_Connector.cpp b/dep/acelite/ace/Asynch_Connector.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Asynch_Connector.cpp rename to dep/acelite/ace/Asynch_Connector.cpp diff --git a/dep/ACE_wrappers/ace/Asynch_Connector.h b/dep/acelite/ace/Asynch_Connector.h similarity index 100% rename from dep/ACE_wrappers/ace/Asynch_Connector.h rename to dep/acelite/ace/Asynch_Connector.h diff --git a/dep/ACE_wrappers/ace/Asynch_IO.cpp b/dep/acelite/ace/Asynch_IO.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Asynch_IO.cpp rename to dep/acelite/ace/Asynch_IO.cpp diff --git a/dep/ACE_wrappers/ace/Asynch_IO.h b/dep/acelite/ace/Asynch_IO.h similarity index 100% rename from dep/ACE_wrappers/ace/Asynch_IO.h rename to dep/acelite/ace/Asynch_IO.h diff --git a/dep/ACE_wrappers/ace/Asynch_IO_Impl.cpp b/dep/acelite/ace/Asynch_IO_Impl.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Asynch_IO_Impl.cpp rename to dep/acelite/ace/Asynch_IO_Impl.cpp diff --git a/dep/ACE_wrappers/ace/Asynch_IO_Impl.h b/dep/acelite/ace/Asynch_IO_Impl.h similarity index 99% rename from dep/ACE_wrappers/ace/Asynch_IO_Impl.h rename to dep/acelite/ace/Asynch_IO_Impl.h index 06eb5c10a..e820529df 100644 --- a/dep/ACE_wrappers/ace/Asynch_IO_Impl.h +++ b/dep/acelite/ace/Asynch_IO_Impl.h @@ -4,7 +4,7 @@ /** * @file Asynch_IO_Impl.h * - * $Id: Asynch_IO_Impl.h 80826 2008-03-04 14:51:23Z wotte $ + * $Id: Asynch_IO_Impl.h 93359 2011-02-11 11:33:12Z mcorino $ * * * This class contains asbtract base classes for all the concrete @@ -81,7 +81,7 @@ public: /** * POSIX4 real-time signal number to be used for the - * operation. ranges from SIGRTMIN to SIGRTMAX. By + * operation. signal_number ranges from SIGRTMIN to SIGRTMAX. By * default, SIGRTMIN is used to issue calls. This is a no-op * on non-POSIX4 systems and returns 0. */ diff --git a/dep/ACE_wrappers/ace/Asynch_IO_Impl.inl b/dep/acelite/ace/Asynch_IO_Impl.inl similarity index 100% rename from dep/ACE_wrappers/ace/Asynch_IO_Impl.inl rename to dep/acelite/ace/Asynch_IO_Impl.inl diff --git a/dep/ACE_wrappers/ace/Asynch_Pseudo_Task.cpp b/dep/acelite/ace/Asynch_Pseudo_Task.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Asynch_Pseudo_Task.cpp rename to dep/acelite/ace/Asynch_Pseudo_Task.cpp diff --git a/dep/ACE_wrappers/ace/Asynch_Pseudo_Task.h b/dep/acelite/ace/Asynch_Pseudo_Task.h similarity index 100% rename from dep/ACE_wrappers/ace/Asynch_Pseudo_Task.h rename to dep/acelite/ace/Asynch_Pseudo_Task.h diff --git a/dep/ACE_wrappers/ace/Atomic_Op.cpp b/dep/acelite/ace/Atomic_Op.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Atomic_Op.cpp rename to dep/acelite/ace/Atomic_Op.cpp diff --git a/dep/ACE_wrappers/ace/Atomic_Op.h b/dep/acelite/ace/Atomic_Op.h similarity index 97% rename from dep/ACE_wrappers/ace/Atomic_Op.h rename to dep/acelite/ace/Atomic_Op.h index 4dee35e6e..e2f477fbb 100644 --- a/dep/ACE_wrappers/ace/Atomic_Op.h +++ b/dep/acelite/ace/Atomic_Op.h @@ -4,7 +4,7 @@ /** * @file Atomic_Op.h * - * $Id: Atomic_Op.h 91523 2010-08-27 14:18:02Z johnnyw $ + * $Id: Atomic_Op.h 95225 2011-12-05 20:25:15Z shuston $ * * @author Douglas C. Schmidt */ @@ -124,6 +124,9 @@ public: /// Atomically assign to @c value_. ACE_Atomic_Op &operator= (const ACE_Atomic_Op &rhs); + /// Exchange value with @a newval. + long exchange (long newval); + /// Explicitly return @c value_. long value (void) const; @@ -221,6 +224,9 @@ public: /// Atomically assign to @c value_. ACE_Atomic_Op &operator= (const ACE_Atomic_Op &rhs); + /// Exchange value with @a newval. + unsigned long exchange (unsigned long newval); + /// Explicitly return @c value_. unsigned long value (void) const; diff --git a/dep/ACE_wrappers/ace/Atomic_Op.inl b/dep/acelite/ace/Atomic_Op.inl similarity index 92% rename from dep/ACE_wrappers/ace/Atomic_Op.inl rename to dep/acelite/ace/Atomic_Op.inl index 564017aec..e1f1ca211 100644 --- a/dep/ACE_wrappers/ace/Atomic_Op.inl +++ b/dep/acelite/ace/Atomic_Op.inl @@ -1,6 +1,5 @@ // -*- C++ -*- -// -// $Id: Atomic_Op.inl 91813 2010-09-17 07:52:52Z johnnyw $ +// $Id: Atomic_Op.inl 95225 2011-12-05 20:25:15Z shuston $ #if defined (ACE_HAS_INTRINSIC_INTERLOCKED) # include "ace/os_include/os_intrin.h" @@ -189,6 +188,22 @@ ACE_Atomic_Op::operator= ( return *this; } +ACE_INLINE long +ACE_Atomic_Op::exchange (long newval) +{ +#if defined (ACE_HAS_INTRINSIC_INTERLOCKED) + return ::_InterlockedExchange (const_cast (&this->value_), newval); +#elif defined (WIN32) + return ::InterlockedExchange (const_cast (&this->value_), newval); +#elif defined (ACE_HAS_VXATOMICLIB) + return ::vxAtomicSet (reinterpret_cast (const_cast (&this->value_)), newval); +#elif defined (ACE_HAS_SOLARIS_ATOMIC_LIB) + return ::atomic_swap_ulong (reinterpret_cast(&this->value_), newval); +#else /* WIN32 */ + return (*exchange_fn_) (&this->value_, newval); +#endif /* WIN32 */ +} + ACE_INLINE long ACE_Atomic_Op::value (void) const { @@ -373,6 +388,22 @@ ACE_Atomic_Op::operator= ( return *this; } +ACE_INLINE unsigned long +ACE_Atomic_Op::exchange (unsigned long newval) +{ +#if defined (ACE_HAS_INTRINSIC_INTERLOCKED) + return ::_InterlockedExchange (const_cast (reinterpret_cast (&this->value_)), newval); +#elif defined (WIN32) + return ::InterlockedExchange (const_cast (reinterpret_cast (&this->value_)), newval); +#elif defined (ACE_HAS_VXATOMICLIB) + return ::vxAtomicSet (reinterpret_cast (const_cast (reinterpret_cast (&this->value_))), newval); +#elif defined (ACE_HAS_SOLARIS_ATOMIC_LIB) + return ::atomic_swap_ulong (&this->value_, newval); +#else /* WIN32 */ + return (*exchange_fn_) (reinterpret_cast (&this->value_), newval); +#endif /* WIN32 */ +} + ACE_INLINE unsigned long ACE_Atomic_Op::value (void) const { diff --git a/dep/ACE_wrappers/ace/Atomic_Op_GCC_T.cpp b/dep/acelite/ace/Atomic_Op_GCC_T.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Atomic_Op_GCC_T.cpp rename to dep/acelite/ace/Atomic_Op_GCC_T.cpp diff --git a/dep/ACE_wrappers/ace/Atomic_Op_GCC_T.h b/dep/acelite/ace/Atomic_Op_GCC_T.h similarity index 96% rename from dep/ACE_wrappers/ace/Atomic_Op_GCC_T.h rename to dep/acelite/ace/Atomic_Op_GCC_T.h index 92bc771dd..f980f7f02 100644 --- a/dep/ACE_wrappers/ace/Atomic_Op_GCC_T.h +++ b/dep/acelite/ace/Atomic_Op_GCC_T.h @@ -4,7 +4,7 @@ /** * @file Atomic_Op_GCC_T.h * - * $Id: Atomic_Op_GCC_T.h 89339 2010-03-05 12:20:47Z johnnyw $ + * $Id: Atomic_Op_GCC_T.h 95225 2011-12-05 20:25:15Z shuston $ * * @author Johnny Willemsen ::operator= ( return *this; } +template +ACE_INLINE T +ACE_Atomic_Op_GCC::exchange (T newval) +{ + return __sync_val_compare_and_swap (&this->value_, this->value_, newval); +} + template ACE_INLINE T ACE_Atomic_Op_GCC::value (void) const diff --git a/dep/ACE_wrappers/ace/Atomic_Op_Sparc.c b/dep/acelite/ace/Atomic_Op_Sparc.c similarity index 100% rename from dep/ACE_wrappers/ace/Atomic_Op_Sparc.c rename to dep/acelite/ace/Atomic_Op_Sparc.c diff --git a/dep/ACE_wrappers/ace/Atomic_Op_Sparc.h b/dep/acelite/ace/Atomic_Op_Sparc.h similarity index 100% rename from dep/ACE_wrappers/ace/Atomic_Op_Sparc.h rename to dep/acelite/ace/Atomic_Op_Sparc.h diff --git a/dep/ACE_wrappers/ace/Atomic_Op_T.cpp b/dep/acelite/ace/Atomic_Op_T.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Atomic_Op_T.cpp rename to dep/acelite/ace/Atomic_Op_T.cpp diff --git a/dep/ACE_wrappers/ace/Atomic_Op_T.h b/dep/acelite/ace/Atomic_Op_T.h similarity index 96% rename from dep/ACE_wrappers/ace/Atomic_Op_T.h rename to dep/acelite/ace/Atomic_Op_T.h index 7a20049ce..944c0454c 100644 --- a/dep/ACE_wrappers/ace/Atomic_Op_T.h +++ b/dep/acelite/ace/Atomic_Op_T.h @@ -4,7 +4,7 @@ /** * @file Atomic_Op_T.h * - * $Id: Atomic_Op_T.h 92353 2010-10-25 06:34:35Z johnnyw $ + * $Id: Atomic_Op_T.h 95761 2012-05-15 18:23:04Z johnnyw $ * * @author Douglas C. Schmidt */ @@ -88,22 +88,17 @@ struct ACE_Type_Traits typedef unsigned long parameter_type; }; -#ifndef ACE_LACKS_LONGLONG_T template<> struct ACE_Type_Traits { typedef long long parameter_type; }; -#endif /* !ACE_LACKS_LONGLONG_T */ -#if !defined (ACE_LACKS_LONGLONG_T) \ - && !defined (ACE_LACKS_UNSIGNEDLONGLONG_T) template<> struct ACE_Type_Traits { typedef unsigned long long parameter_type; }; -#endif /* !ACE_LACKS_LONGLONG_T && !ACE_LACKS_UNSIGNEDLONGLONG_T */ template<> struct ACE_Type_Traits @@ -207,6 +202,9 @@ public: ACE_Atomic_Op_Ex &operator= ( ACE_Atomic_Op_Ex const & rhs); + /// Exchange value with @a newval. + TYPE exchange (TYPE newval); + /// Explicitly return @c value_. TYPE value (void) const; @@ -318,6 +316,9 @@ public: /// Atomically check if @c value_ less than @a rhs. bool operator< (arg_type rhs) const; + /// Exchange value with @a newval. + TYPE exchange (TYPE newval); + /// Explicitly return @c value_. TYPE value (void) const; diff --git a/dep/ACE_wrappers/ace/Atomic_Op_T.inl b/dep/acelite/ace/Atomic_Op_T.inl similarity index 94% rename from dep/ACE_wrappers/ace/Atomic_Op_T.inl rename to dep/acelite/ace/Atomic_Op_T.inl index 71ce1c1e2..87e6b55d7 100644 --- a/dep/ACE_wrappers/ace/Atomic_Op_T.inl +++ b/dep/acelite/ace/Atomic_Op_T.inl @@ -1,6 +1,6 @@ // -*- C++ -*- // -// $Id: Atomic_Op_T.inl 91688 2010-09-09 11:21:50Z johnnyw $ +// $Id: Atomic_Op_T.inl 95225 2011-12-05 20:25:15Z shuston $ #include "ace/Guard_T.h" @@ -152,6 +152,16 @@ ACE_Atomic_Op_Ex::operator= ( return *this; } +template +ACE_INLINE TYPE +ACE_Atomic_Op_Ex::exchange (TYPE newval) +{ + // ACE_TRACE ("ACE_Atomic_Op_Ex::exchange"); + ACE_GUARD_RETURN (ACE_LOCK, ace_mon, this->mutex_, this->value_); + std::swap (this->value_, newval); + return newval; +} + template ACE_INLINE TYPE ACE_Atomic_Op_Ex::value (void) const @@ -306,6 +316,13 @@ ACE_Atomic_Op::operator< ( return this->impl_ < rhs; } +template +ACE_INLINE TYPE +ACE_Atomic_Op::exchange (TYPE newval) +{ + return this->impl_.exchange (newval); +} + template ACE_INLINE TYPE ACE_Atomic_Op::value (void) const diff --git a/dep/ACE_wrappers/ace/Auto_Event.cpp b/dep/acelite/ace/Auto_Event.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Auto_Event.cpp rename to dep/acelite/ace/Auto_Event.cpp diff --git a/dep/ACE_wrappers/ace/Auto_Event.h b/dep/acelite/ace/Auto_Event.h similarity index 100% rename from dep/ACE_wrappers/ace/Auto_Event.h rename to dep/acelite/ace/Auto_Event.h diff --git a/dep/ACE_wrappers/ace/Auto_Event.inl b/dep/acelite/ace/Auto_Event.inl similarity index 100% rename from dep/ACE_wrappers/ace/Auto_Event.inl rename to dep/acelite/ace/Auto_Event.inl diff --git a/dep/ACE_wrappers/ace/Auto_Functor.cpp b/dep/acelite/ace/Auto_Functor.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Auto_Functor.cpp rename to dep/acelite/ace/Auto_Functor.cpp diff --git a/dep/ACE_wrappers/ace/Auto_Functor.h b/dep/acelite/ace/Auto_Functor.h similarity index 90% rename from dep/ACE_wrappers/ace/Auto_Functor.h rename to dep/acelite/ace/Auto_Functor.h index 2c2b81eb2..393a11c73 100644 --- a/dep/ACE_wrappers/ace/Auto_Functor.h +++ b/dep/acelite/ace/Auto_Functor.h @@ -3,7 +3,7 @@ /** * @file Auto_Functor.h * - * $Id: Auto_Functor.h 80826 2008-03-04 14:51:23Z wotte $ + * $Id: Auto_Functor.h 92386 2010-10-28 07:44:37Z johnnyw $ * * @author Carlos O'Ryan */ @@ -69,13 +69,11 @@ public: Auto_Functor& operator= (Auto_Functor & rhs); // throw() -#if !defined(ACE_LACKS_MEMBER_TEMPLATES) template Auto_Functor(Auto_Functor& rhs); // throw() template Auto_Functor& operator= (Auto_Functor& rhs); // throw() -#endif /* ACE_LACKS_MEMBER_TEMPLATES */ ~Auto_Functor(); // throw() @@ -97,13 +95,9 @@ public: Auto_Functor & operator=(Auto_Functor_Ref rhs); // throw() -#if !defined(ACE_LACKS_MEMBER_TEMPLATES) template operator Auto_Functor_Ref(); // throw() template operator Auto_Functor(); // throw() -#else - operator Auto_Functor_Ref(); // throw() -#endif /* ACE_LACKS_MEMBER_TEMPLATES */ private: X * p_; diff --git a/dep/ACE_wrappers/ace/Auto_Functor.inl b/dep/acelite/ace/Auto_Functor.inl similarity index 86% rename from dep/ACE_wrappers/ace/Auto_Functor.inl rename to dep/acelite/ace/Auto_Functor.inl index d4cb2cc04..5e714e014 100644 --- a/dep/ACE_wrappers/ace/Auto_Functor.inl +++ b/dep/acelite/ace/Auto_Functor.inl @@ -1,6 +1,6 @@ // -*- C++ -*- // -// $Id: Auto_Functor.inl 80826 2008-03-04 14:51:23Z wotte $ +// $Id: Auto_Functor.inl 92386 2010-10-28 07:44:37Z johnnyw $ ACE_BEGIN_VERSIONED_NAMESPACE_DECL @@ -35,7 +35,6 @@ ACE_Utils::Auto_Functor:: operator=(Auto_Functor & rhs) return *this; } -#if !defined(ACE_LACKS_MEMBER_TEMPLATES) template template ACE_INLINE ACE_Utils::Auto_Functor::Auto_Functor(Auto_Functor& rhs) : p_(rhs.release()) @@ -50,7 +49,6 @@ ACE_Utils::Auto_Functor::operator=(Auto_Functor& rhs) reset(rhs.release()); return *this; } -#endif /* ACE_LACKS_MEMBER_TEMPLATES */ template ACE_INLINE X & ACE_Utils::Auto_Functor::operator*() const @@ -107,8 +105,6 @@ ACE_Utils::Auto_Functor::operator=(Auto_Functor_Ref rhs) return *this; } -#if !defined(ACE_LACKS_MEMBER_TEMPLATES) - template template ACE_INLINE ACE_Utils::Auto_Functor::operator ACE_Utils::Auto_Functor_Ref() { @@ -121,14 +117,4 @@ ACE_Utils::Auto_Functor::operator ACE_Utils::Auto_Functor( return ACE_Utils::Auto_Functor(release(), f_); } -#else - -templateACE_INLINE -ACE_Utils::Auto_Functor::operator ACE_Utils::Auto_Functor_Ref() -{ - return ACE_Utils::Auto_Functor_Ref(release(), f_); -} - -#endif /* ACE_LACKS_MEMBER_TEMPLATES */ - ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/ACE_wrappers/ace/Auto_IncDec_T.cpp b/dep/acelite/ace/Auto_IncDec_T.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Auto_IncDec_T.cpp rename to dep/acelite/ace/Auto_IncDec_T.cpp diff --git a/dep/ACE_wrappers/ace/Auto_IncDec_T.h b/dep/acelite/ace/Auto_IncDec_T.h similarity index 100% rename from dep/ACE_wrappers/ace/Auto_IncDec_T.h rename to dep/acelite/ace/Auto_IncDec_T.h diff --git a/dep/ACE_wrappers/ace/Auto_IncDec_T.inl b/dep/acelite/ace/Auto_IncDec_T.inl similarity index 100% rename from dep/ACE_wrappers/ace/Auto_IncDec_T.inl rename to dep/acelite/ace/Auto_IncDec_T.inl diff --git a/dep/ACE_wrappers/ace/Auto_Ptr.cpp b/dep/acelite/ace/Auto_Ptr.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Auto_Ptr.cpp rename to dep/acelite/ace/Auto_Ptr.cpp diff --git a/dep/ACE_wrappers/ace/Auto_Ptr.h b/dep/acelite/ace/Auto_Ptr.h similarity index 88% rename from dep/ACE_wrappers/ace/Auto_Ptr.h rename to dep/acelite/ace/Auto_Ptr.h index 3183019ac..e9468a73b 100644 --- a/dep/ACE_wrappers/ace/Auto_Ptr.h +++ b/dep/acelite/ace/Auto_Ptr.h @@ -4,7 +4,7 @@ /** * @file Auto_Ptr.h * - * $Id: Auto_Ptr.h 80826 2008-03-04 14:51:23Z wotte $ + * $Id: Auto_Ptr.h 92580 2010-11-15 09:48:02Z johnnyw $ * * @author Doug Schmidt * @author Irfan Pyarali @@ -106,9 +106,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL /** * @brief Implements the draft C++ standard auto_ptr abstraction. - * This version can be used instead of auto_ptr, and obviates - * the need for the ACE_AUTO_PTR_RESET macro on platforms like - * VC6 where the auto_ptr is broken. + * This version can be used instead of auto_ptr */ template class ACE_Auto_Ptr : public ACE_Auto_Basic_Ptr @@ -209,18 +207,6 @@ ACE_auto_ptr_reset (AUTO_PTR_TYPE & ap, ACE_END_VERSIONED_NAMESPACE_DECL -// Some platforms have an older version of auto_ptr -// support, which lacks reset, and cannot be disabled -// easily. Portability to these platforms requires -// use of the following ACE_AUTO_PTR_RESET macro. -// -// The TYPE macro parameter is no longer necessary but we leave it -// around for backward compatibility. This is also the reason why the -// ACE_auto_ptr_reset function template is not called -// ACE_AUTO_PTR_RESET. -# define ACE_AUTO_PTR_RESET(AUTOPTR,NEWPTR,TYPE) \ - ACE_auto_ptr_reset (AUTOPTR, NEWPTR); - #if defined (__ACE_INLINE__) #include "ace/Auto_Ptr.inl" #endif /* __ACE_INLINE__ */ diff --git a/dep/ACE_wrappers/ace/Auto_Ptr.inl b/dep/acelite/ace/Auto_Ptr.inl similarity index 100% rename from dep/ACE_wrappers/ace/Auto_Ptr.inl rename to dep/acelite/ace/Auto_Ptr.inl diff --git a/dep/ACE_wrappers/ace/Barrier.cpp b/dep/acelite/ace/Barrier.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Barrier.cpp rename to dep/acelite/ace/Barrier.cpp diff --git a/dep/ACE_wrappers/ace/Barrier.h b/dep/acelite/ace/Barrier.h similarity index 97% rename from dep/ACE_wrappers/ace/Barrier.h rename to dep/acelite/ace/Barrier.h index 84d7b6492..e1e3815e1 100644 --- a/dep/ACE_wrappers/ace/Barrier.h +++ b/dep/acelite/ace/Barrier.h @@ -4,7 +4,7 @@ /** * @file Barrier.h * - * $Id: Barrier.h 92069 2010-09-28 11:38:59Z johnnyw $ + * $Id: Barrier.h 93359 2011-02-11 11:33:12Z mcorino $ * * Moved from Synch.h. * @@ -101,7 +101,7 @@ public: const ACE_TCHAR *name = 0, void *arg = 0); - /// Default dtor. + /// Default destructor. ~ACE_Barrier (void); /// Block the caller until all @c count threads have called @c wait and @@ -170,7 +170,7 @@ public: /// Create a Thread_Barrier, passing in the optional @a name. ACE_Thread_Barrier (unsigned int count, const ACE_TCHAR *name = 0); - /// Default dtor. + /// Default destructor. ~ACE_Thread_Barrier (void); /// Dump the state of an object. diff --git a/dep/ACE_wrappers/ace/Barrier.inl b/dep/acelite/ace/Barrier.inl similarity index 100% rename from dep/ACE_wrappers/ace/Barrier.inl rename to dep/acelite/ace/Barrier.inl diff --git a/dep/ACE_wrappers/ace/Base_Thread_Adapter.cpp b/dep/acelite/ace/Base_Thread_Adapter.cpp similarity index 95% rename from dep/ACE_wrappers/ace/Base_Thread_Adapter.cpp rename to dep/acelite/ace/Base_Thread_Adapter.cpp index fd2629f16..4b7b6a84c 100644 --- a/dep/ACE_wrappers/ace/Base_Thread_Adapter.cpp +++ b/dep/acelite/ace/Base_Thread_Adapter.cpp @@ -1,4 +1,4 @@ -// $Id: Base_Thread_Adapter.cpp 91286 2010-08-05 09:04:31Z johnnyw $ +// $Id: Base_Thread_Adapter.cpp 95595 2012-03-07 13:33:25Z johnnyw $ #include "ace/Base_Thread_Adapter.h" @@ -29,12 +29,14 @@ ACE_Base_Thread_Adapter::ACE_Base_Thread_Adapter ( , ACE_SEH_EXCEPT_HANDLER selector , ACE_SEH_EXCEPT_HANDLER handler #endif /* ACE_HAS_WIN32_STRUCTURAL_EXCEPTIONS */ + , long cancel_flags ) : user_func_ (user_func) , arg_ (arg) , entry_point_ (entry_point) , thr_desc_ (td) , ctx_ (ACE_Service_Config::current()) + , flags_ (cancel_flags) { ACE_OS_TRACE ("ACE_Base_Thread_Adapter::ACE_Base_Thread_Adapter"); @@ -83,6 +85,10 @@ ACE_Base_Thread_Adapter::sync_log_msg (const ACE_TCHAR *prg) (*ACE_Base_Thread_Adapter::sync_log_msg_hook_) (prg); } +ACE_OS_Thread_Descriptor::~ACE_OS_Thread_Descriptor (void) +{ +} + ACE_OS_Thread_Descriptor * ACE_Base_Thread_Adapter::thr_desc_log_msg (void) { diff --git a/dep/ACE_wrappers/ace/Base_Thread_Adapter.h b/dep/acelite/ace/Base_Thread_Adapter.h similarity index 88% rename from dep/ACE_wrappers/ace/Base_Thread_Adapter.h rename to dep/acelite/ace/Base_Thread_Adapter.h index b36d18e4f..2075e9122 100644 --- a/dep/ACE_wrappers/ace/Base_Thread_Adapter.h +++ b/dep/acelite/ace/Base_Thread_Adapter.h @@ -4,7 +4,7 @@ /** * @file Base_Thread_Adapter.h * - * $Id: Base_Thread_Adapter.h 81239 2008-04-04 22:28:48Z iliyan $ + * $Id: Base_Thread_Adapter.h 95595 2012-03-07 13:33:25Z johnnyw $ * * @author Nanbor Wang */ @@ -33,9 +33,8 @@ # define ACE_THREAD_ADAPTER_NAME ace_thread_adapter #endif /* ACE_HAS_VERSIONED_NAMESPACE == 1 */ -// Run the thread entry point for the ACE_Thread_Adapter. This must -// be an extern "C" to make certain compilers happy... - +/// Run the thread entry point for the ACE_Thread_Adapter. This must +/// be an extern "C" to make certain compilers happy... extern "C" ACE_Export ACE_THR_FUNC_RETURN ACE_THREAD_ADAPTER_NAME (void *args); ACE_BEGIN_VERSIONED_NAMESPACE_DECL @@ -44,7 +43,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL * @class ACE_OS_Thread_Descriptor * * @brief Parent class of all ACE_Thread_Descriptor classes. - * = + * * Container for ACE_Thread_Descriptor members that are * used in ACE_OS. */ @@ -54,6 +53,8 @@ public: /// Get the thread creation flags. long flags (void) const; + virtual ~ACE_OS_Thread_Descriptor (void); + protected: /// For use by ACE_Thread_Descriptor. ACE_OS_Thread_Descriptor (long flags = 0); @@ -61,17 +62,14 @@ protected: /** * Keeps track of whether this thread was created "detached" or not. * If a thread is *not* created detached then if someone calls - * , we need to join with that thread (and + * ACE_Thread_Manager::wait(), we need to join with that thread (and * close down the handle). */ long flags_; }; - - class ACE_Service_Gestalt; - /** * @class ACE_Base_Thread_Adapter * @@ -126,6 +124,7 @@ protected: , ACE_SEH_EXCEPT_HANDLER selector = 0 , ACE_SEH_EXCEPT_HANDLER handler = 0 # endif /* ACE_HAS_WIN32_STRUCTURAL_EXCEPTIONS */ + , long cancel_flags = 0 ); /// Inherit the logging features if the parent thread has an /// ACE_Log_Msg. @@ -162,8 +161,8 @@ protected: /** * Optional thread descriptor. Passing this pointer in will force - * the spawned thread to cache this location in and wait - * until fills in all information in thread + * the spawned thread to cache this location in Log_Msg and wait + * until Thread_Manager fills in all information in thread * descriptor. */ ACE_OS_Thread_Descriptor *thr_desc_; @@ -171,7 +170,7 @@ protected: /// The ACE_Log_Msg attributes. ACE_OS_Log_Msg_Attributes log_msg_attributes_; - /// That is usefull for gprof, define itimerval + /// That is useful for gprof, define itimerval #ifdef ACE_USES_GPROF struct itimerval itimer_; #endif // ACE_USES_GPROF @@ -179,6 +178,11 @@ protected: /// Keep a reference to the configuration context that spawns the /// thread so the child can inherit it. ACE_Service_Gestalt * const ctx_; + + /// Pass through the thread-creation flags that can only be acted on by + /// the spawned thread. Currently this is only the cancellation-related + /// flags. + long flags_; }; ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/ACE_wrappers/ace/Base_Thread_Adapter.inl b/dep/acelite/ace/Base_Thread_Adapter.inl similarity index 100% rename from dep/ACE_wrappers/ace/Base_Thread_Adapter.inl rename to dep/acelite/ace/Base_Thread_Adapter.inl diff --git a/dep/ACE_wrappers/ace/Based_Pointer_Repository.cpp b/dep/acelite/ace/Based_Pointer_Repository.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Based_Pointer_Repository.cpp rename to dep/acelite/ace/Based_Pointer_Repository.cpp diff --git a/dep/ACE_wrappers/ace/Based_Pointer_Repository.h b/dep/acelite/ace/Based_Pointer_Repository.h similarity index 100% rename from dep/ACE_wrappers/ace/Based_Pointer_Repository.h rename to dep/acelite/ace/Based_Pointer_Repository.h diff --git a/dep/ACE_wrappers/ace/Based_Pointer_T.cpp b/dep/acelite/ace/Based_Pointer_T.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Based_Pointer_T.cpp rename to dep/acelite/ace/Based_Pointer_T.cpp diff --git a/dep/ACE_wrappers/ace/Based_Pointer_T.h b/dep/acelite/ace/Based_Pointer_T.h similarity index 100% rename from dep/ACE_wrappers/ace/Based_Pointer_T.h rename to dep/acelite/ace/Based_Pointer_T.h diff --git a/dep/ACE_wrappers/ace/Based_Pointer_T.inl b/dep/acelite/ace/Based_Pointer_T.inl similarity index 100% rename from dep/ACE_wrappers/ace/Based_Pointer_T.inl rename to dep/acelite/ace/Based_Pointer_T.inl diff --git a/dep/ACE_wrappers/ace/Basic_Stats.cpp b/dep/acelite/ace/Basic_Stats.cpp similarity index 90% rename from dep/ACE_wrappers/ace/Basic_Stats.cpp rename to dep/acelite/ace/Basic_Stats.cpp index ae663abe2..93c4c0bdd 100644 --- a/dep/ACE_wrappers/ace/Basic_Stats.cpp +++ b/dep/acelite/ace/Basic_Stats.cpp @@ -1,4 +1,4 @@ -// $Id: Basic_Stats.cpp 91286 2010-08-05 09:04:31Z johnnyw $ +// $Id: Basic_Stats.cpp 95743 2012-05-13 12:29:28Z johnnyw $ #include "ace/Basic_Stats.h" #include "ace/Log_Msg.h" @@ -42,7 +42,9 @@ ACE_Basic_Stats::accumulate (const ACE_Basic_Stats &rhs) } void -ACE_Basic_Stats::dump_results (const ACE_TCHAR *msg, ACE_UINT32 sf) const +ACE_Basic_Stats::dump_results ( + const ACE_TCHAR *msg, + ACE_Basic_Stats::scale_factor_type sf) const { #ifndef ACE_NLOGGING if (this->samples_count () == 0u) diff --git a/dep/ACE_wrappers/ace/Basic_Stats.h b/dep/acelite/ace/Basic_Stats.h similarity index 89% rename from dep/ACE_wrappers/ace/Basic_Stats.h rename to dep/acelite/ace/Basic_Stats.h index bff1ff29f..eb6c393b9 100644 --- a/dep/ACE_wrappers/ace/Basic_Stats.h +++ b/dep/acelite/ace/Basic_Stats.h @@ -3,13 +3,12 @@ /** * @file Basic_Stats.h * - * $Id: Basic_Stats.h 80826 2008-03-04 14:51:23Z wotte $ + * $Id: Basic_Stats.h 95743 2012-05-13 12:29:28Z johnnyw $ * * @author Carlos O'Ryan */ //============================================================================= - #ifndef ACE_BASIC_STATS_H #define ACE_BASIC_STATS_H #include /**/ "ace/pre.h" @@ -32,6 +31,12 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL class ACE_Export ACE_Basic_Stats { public: +#if !defined (ACE_WIN32) + typedef ACE_UINT32 scale_factor_type; +#else + typedef ACE_UINT64 scale_factor_type; +#endif + /// Constructor /** * The number of samples is pre-allocated, and cannot changes once @@ -56,7 +61,7 @@ public: * presented in microseconds. */ void dump_results (const ACE_TCHAR *msg, - ACE_UINT32 scale_factor) const; + scale_factor_type scale_factor) const; /// The number of samples ACE_UINT32 samples_count_; diff --git a/dep/ACE_wrappers/ace/Basic_Stats.inl b/dep/acelite/ace/Basic_Stats.inl similarity index 100% rename from dep/ACE_wrappers/ace/Basic_Stats.inl rename to dep/acelite/ace/Basic_Stats.inl diff --git a/dep/acelite/ace/Basic_Types.cpp b/dep/acelite/ace/Basic_Types.cpp new file mode 100644 index 000000000..c915dabee --- /dev/null +++ b/dep/acelite/ace/Basic_Types.cpp @@ -0,0 +1,3 @@ +// $Id: Basic_Types.cpp 95763 2012-05-16 06:43:51Z johnnyw $ + +#include "ace/Basic_Types.h" diff --git a/dep/ACE_wrappers/ace/Basic_Types.h b/dep/acelite/ace/Basic_Types.h similarity index 64% rename from dep/ACE_wrappers/ace/Basic_Types.h rename to dep/acelite/ace/Basic_Types.h index bc467fafb..fc275ee31 100644 --- a/dep/ACE_wrappers/ace/Basic_Types.h +++ b/dep/acelite/ace/Basic_Types.h @@ -4,7 +4,7 @@ /** * @file Basic_Types.h * - * $Id: Basic_Types.h 91161 2010-07-21 18:25:12Z schmidt $ + * $Id: Basic_Types.h 96017 2012-08-08 22:18:09Z mitza $ * * @author David L. Levine * @@ -25,7 +25,6 @@ * - ACE_SIZEOF_LONG_DOUBLE * * Wrappers for built-in types of specific sizes: - * - ACE_USHORT16 (For backward compatibility. Use ACE_UINT16 instead.) * - ACE_INT8 * - ACE_UINT8 * - ACE_INT16 @@ -33,13 +32,10 @@ * - ACE_INT32 * - ACE_UINT32 * - ACE_UINT64 - * (@note ACE_INT64 is partly defined, there is no ACE_LongLong for - * platforms that don't have a native 8-byte integer type.) + * - ACE_INT64 * * Byte-order (endian-ness) determination: * ACE_BYTE_ORDER, to either ACE_BIG_ENDIAN or ACE_LITTLE_ENDIAN - * - * */ //============================================================================= @@ -60,10 +56,6 @@ # include "ace/os_include/os_stdlib.h" // Other types # include "ace/os_include/os_stddef.h" // Get ptrdiff_t - see further comments below -# if defined(ACE_LACKS_LONGLONG_T) -# include "ace/os_include/os_stdio.h" // For long long emulation -# endif /* ACE_LACKS_LONGLONG_T */ - # include "ace/os_include/sys/os_types.h" # if !defined (ACE_LACKS_SYS_PARAM_H) @@ -100,15 +92,11 @@ typedef ACE::If_Then_Else< ACE::If_Then_Else< (sizeof (void*) == sizeof (signed long)), signed long, -#ifdef ACE_LACKS_LONGLONG_T - void /* Unknown. Force an invalid type */ -#else ACE::If_Then_Else< (sizeof (void*) == sizeof (signed long long)), signed long long, void /* Unknown. Force an invalid type */ >::result_type -#endif /* ACE_LACKS_LONGLONG_T */ >::result_type >::result_type intptr_t; @@ -118,15 +106,11 @@ typedef ACE::If_Then_Else< ACE::If_Then_Else< (sizeof (void*) == sizeof (unsigned long)), unsigned long, -#ifdef ACE_LACKS_UNSIGNEDLONGLONG_T - void /* Unknown. Force an invalid type */ -#else ACE::If_Then_Else< (sizeof (void*) == sizeof (unsigned long long)), unsigned long long, void /* Unknown. Force an invalid type */ >::result_type -#endif /* ACE_LACKS_UNSIGNEDLONGLONG_T */ >::result_type >::result_type uintptr_t; @@ -195,9 +179,7 @@ typedef ACE::If_Then_Else< // The number of bytes in a long long. # if !defined (ACE_SIZEOF_LONG_LONG) -# if defined (ACE_LACKS_LONGLONG_T) -# define ACE_SIZEOF_LONG_LONG 8 -# elif defined (ULLONG_MAX) +# if defined (ULLONG_MAX) # if ((ULLONG_MAX) == 4294967295ULL) # define ACE_SIZEOF_LONG_LONG 4 # elif ((ULLONG_MAX) == 18446744073709551615ULL) @@ -299,7 +281,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL typedef int64_t ACE_INT64; #elif ACE_SIZEOF_LONG == 8 typedef long ACE_INT64; -#elif !defined (ACE_LACKS_LONGLONG_T) && ACE_SIZEOF_LONG_LONG == 8 +#elif ACE_SIZEOF_LONG_LONG == 8 # ifdef __GNUC__ // Silence g++ "-pedantic" warnings regarding use of "long long" // type. @@ -308,29 +290,22 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL typedef long long ACE_INT64; #endif /* defined (ACE_INT64_TYPE) */ -#if !(defined (ACE_LACKS_LONGLONG_T) || defined (ACE_LACKS_UNSIGNEDLONGLONG_T)) -/* See matching #if around ACE_U_LongLong class declaration below */ - -# if defined (ACE_UINT64_TYPE) +#if defined (ACE_UINT64_TYPE) typedef ACE_UINT64_TYPE ACE_UINT64; -# elif defined (ACE_HAS_UINT64_T) +#elif defined (ACE_HAS_UINT64_T) typedef uint64_t ACE_UINT64; -# elif ACE_SIZEOF_LONG == 8 +#elif ACE_SIZEOF_LONG == 8 typedef unsigned long ACE_UINT64; -# elif ACE_SIZEOF_LONG_LONG == 8 +#elif ACE_SIZEOF_LONG_LONG == 8 # ifdef __GNUC__ // Silence g++ "-pedantic" warnings regarding use of "long long" // type. __extension__ # endif /* __GNUC__ */ typedef unsigned long long ACE_UINT64; -# endif /* defined (ACE_UINT64_TYPE) */ -#endif /* !(ACE_LACKS_LONGLONG_T || ACE_LACKS_UNSIGNEDLONGLONG_T) */ +#endif /* defined (ACE_UINT64_TYPE) */ - -typedef ACE_UINT16 ACE_USHORT16; // @@ Backward compatibility. - -// Define a generic byte for use in codecs +/// Define a generic byte for use in codecs typedef unsigned char ACE_Byte; // Define a pseudo wide character type when wchar is not supported so we @@ -428,240 +403,11 @@ ACE_END_VERSIONED_NAMESPACE_DECL # define ACE_NTOHS(x) x # endif /* ACE_LITTLE_ENDIAN */ -#if defined (ACE_LACKS_LONGLONG_T) - // This throws away the high 32 bits. It's very unlikely that a - // pointer will be more than 32 bits wide if the platform does not - // support 64-bit integers. # define ACE_LONGLONG_TO_PTR(PTR_TYPE, L) \ - reinterpret_cast (L.lo ()) -#elif defined (ACE_OPENVMS) && (!defined (__INITIAL_POINTER_SIZE) || (__INITIAL_POINTER_SIZE < 64)) -# define ACE_LONGLONG_TO_PTR(PTR_TYPE, L) \ - reinterpret_cast (static_cast (L)) -#else /* ! ACE_LACKS_LONGLONG_T */ -# define ACE_LONGLONG_TO_PTR(PTR_TYPE, L) \ - reinterpret_cast (static_cast (L)) -#endif /* ! ACE_LACKS_LONGLONG_T */ - -// If the platform lacks an unsigned long long, define one. -#if defined (ACE_LACKS_LONGLONG_T) || defined (ACE_LACKS_UNSIGNEDLONGLONG_T) -// Forward declaration for streams -# include "ace/iosfwd.h" + reinterpret_cast (static_cast (L)) ACE_BEGIN_VERSIONED_NAMESPACE_DECL -/** - * @class ACE_U_LongLong - * - * @brief Unsigned long long for platforms that don't have one. - * - * Provide our own unsigned long long. This is intended to be - * use with ACE_High_Res_Timer, so the division operator assumes - * that the quotient fits into a u_long. - * Please note that the constructor takes (optionally) two values. - * The high one contributes 0x100000000 times its value. So, - * for example, (0, 2) is _not_ 20000000000, but instead - * 0x200000000. To emphasize this, the default values are expressed - * in hex, and output () dumps the value in hex. - */ - class ACE_Export ACE_U_LongLong - { - public: - // = Initialization and termination methods. -#if defined (ACE_LACKS_UNSIGNEDLONGLONG_T) - ACE_U_LongLong (const long long value = 0x0); -#else - ACE_U_LongLong (const ACE_UINT32 lo = 0x0, const ACE_UINT32 hi = 0x0); -#endif - ACE_U_LongLong (const ACE_U_LongLong &); - ACE_U_LongLong &operator= (const ACE_U_LongLong &); - ACE_U_LongLong &operator= (const ACE_INT32 &); - ACE_U_LongLong &operator= (const ACE_UINT32 &); - ~ACE_U_LongLong (void); - - // = Overloaded relation operators. - bool operator== (const ACE_U_LongLong &) const; - bool operator== (const ACE_UINT32) const; - bool operator!= (const ACE_U_LongLong &) const; - bool operator!= (const ACE_UINT32) const; - bool operator< (const ACE_U_LongLong &) const; - bool operator< (const ACE_UINT32) const; - bool operator<= (const ACE_U_LongLong &) const; - bool operator<= (const ACE_UINT32) const; - bool operator> (const ACE_U_LongLong &) const; - bool operator> (const ACE_UINT32) const; - bool operator>= (const ACE_U_LongLong &) const; - bool operator>= (const ACE_UINT32) const; - - ACE_U_LongLong operator+ (const ACE_U_LongLong &) const; - ACE_U_LongLong operator+ (const ACE_UINT32) const; - ACE_U_LongLong operator- (const ACE_U_LongLong &) const; - ACE_U_LongLong operator- (const ACE_UINT32) const; - ACE_U_LongLong operator* (const ACE_UINT32) const; - ACE_U_LongLong &operator*= (const ACE_UINT32); - - ACE_U_LongLong operator<< (const unsigned int) const; - ACE_U_LongLong &operator<<= (const unsigned int); - ACE_U_LongLong operator>> (const unsigned int) const; - ACE_U_LongLong &operator>>= (const unsigned int); - - double operator/ (const double) const; - - ACE_U_LongLong &operator+= (const ACE_U_LongLong &); - ACE_U_LongLong &operator+= (const ACE_UINT32); - ACE_U_LongLong &operator-= (const ACE_U_LongLong &); - ACE_U_LongLong &operator-= (const ACE_UINT32); - ACE_U_LongLong &operator++ (); - ACE_U_LongLong &operator-- (); - const ACE_U_LongLong operator++ (int); - const ACE_U_LongLong operator-- (int); - ACE_U_LongLong &operator|= (const ACE_U_LongLong); - ACE_U_LongLong &operator|= (const ACE_UINT32); - ACE_U_LongLong &operator&= (const ACE_U_LongLong); - ACE_U_LongLong &operator&= (const ACE_UINT32); - - // Note that the following take ACE_UINT32 arguments. These are - // typical use cases, and easy to implement. But, they limit the - // return values to 32 bits as well. There are no checks for - // overflow. - ACE_UINT32 operator/ (const ACE_UINT32) const; - ACE_UINT32 operator% (const ACE_UINT32) const; - - // The following only operate on the lower 32 bits (they take only - // 32 bit arguments). - ACE_UINT32 operator| (const ACE_INT32) const; - ACE_UINT32 operator& (const ACE_INT32) const; - - // The following operators convert their arguments to - // ACE_UINT32. So, there may be information loss if they are - // used. - ACE_U_LongLong operator* (const ACE_INT32) const; - ACE_U_LongLong &operator*= (const ACE_INT32); - ACE_UINT32 operator/ (const ACE_INT32) const; -# if ACE_SIZEOF_INT == 4 - ACE_UINT32 operator/ (const unsigned long) const; - ACE_UINT32 operator/ (const long) const; -# else /* ACE_SIZEOF_INT != 4 */ - ACE_UINT32 operator/ (const unsigned int) const; - ACE_UINT32 operator/ (const int) const; -# endif /* ACE_SIZEOF_INT != 4 */ - - // = Helper methods. - /// Outputs the value to the FILE, in hex. - void output (FILE * = stdout) const; - - ACE_TCHAR *as_string (ACE_TCHAR *string, - unsigned int base = 10, - unsigned int uppercase = 0) const; - - ACE_UINT32 hi (void) const; - ACE_UINT32 lo (void) const; - - void hi (const ACE_UINT32 hi); - void lo (const ACE_UINT32 lo); - -#if defined (ACE_LACKS_UNSIGNEDLONGLONG_T) - long long to_int64 (void) const; -# endif - - private: - -#if defined (ACE_LACKS_UNSIGNEDLONGLONG_T) - long long data_; -#else - public: - struct ace_hi_lo_correct_endian - { -# if defined (ACE_BIG_ENDIAN) - /// High 32 bits. - ACE_UINT32 hi_; - /// Low 32 bits. - ACE_UINT32 lo_; - -# else - - /// Low 32 bits. - ACE_UINT32 lo_; - /// High 32 bits. - ACE_UINT32 hi_; -# endif /* ! ACE_BIG_ENDIAN */ - }; - private: - union - { - struct ace_hi_lo_correct_endian data_; - - /// To ensure alignment on 8-byte boundary. - double for_alignment_; - }; - - // @note the following four accessors are inlined here in - // order to minimize the extent of the data_ struct. It's - // only used here; the .i and .cpp files use the accessors. - - /// Internal utility function to hide access through struct. - const ACE_UINT32 &h_ () const { return data_.hi_; } - - /// Internal utility function to hide access through struct. - ACE_UINT32 &h_ () { return data_.hi_; } - - /// Internal utility function to hide access through struct. - const ACE_UINT32 &l_ () const { return data_.lo_; } - - /// Internal utility function to hide access through struct. - ACE_UINT32 &l_ () { return data_.lo_; } - - // @note the above four accessors are inlined here in - // order to minimize the extent of the data_ struct. It's - // only used here; the .inl and .cpp files use the accessors. - - /// These functions are used to implement multiplication. - ACE_UINT32 ul_shift (ACE_UINT32 a, - ACE_UINT32 c_in, - ACE_UINT32 *c_out) const; - ACE_U_LongLong ull_shift (ACE_U_LongLong a, - ACE_UINT32 c_in, - ACE_UINT32 *c_out) const; - ACE_U_LongLong ull_add (ACE_U_LongLong a, - ACE_U_LongLong b, - ACE_UINT32 *carry) const; - ACE_U_LongLong ull_mult (ACE_U_LongLong a, - ACE_UINT32 b, - ACE_UINT32 *carry) const; -#endif // ACE_LACKS_UNSIGNEDLONGLONG_T - }; - - typedef ACE_U_LongLong ACE_UINT64; - -#if !defined (ACE_LACKS_IOSTREAM_TOTALLY) - ostream &operator<< (ostream &, const ACE_U_LongLong &); -#endif /* ! ACE_LACKS_IOSTREAM_TOTALLY */ - -ACE_END_VERSIONED_NAMESPACE_DECL - -# endif /* ACE_LACKS_LONGLONG_T */ - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -// Conversions from ACE_UINT64 to ACE_UINT32. ACE_CU64_TO_CU32 should -// be used on const ACE_UINT64's. -# if defined (ACE_LACKS_LONGLONG_T) || defined (ACE_LACKS_UNSIGNEDLONGLONG_T) -inline ACE_UINT32 -ACE_U64_TO_U32 (ACE_U_LongLong const & n) -{ - /** - * @note We could add a cast operator to ACE_U_LongLong but that may - * cause more problems than it solves. Force users to perform - * an explicit cast via ACE_{C}U64_TO_{C}U32. - */ - return n.lo (); -} - -inline ACE_UINT32 -ACE_CU64_TO_CU32 (ACE_U_LongLong const & n) -{ - return ACE_U64_TO_U32 (n); -} -# else /* ! ACE_LACKS_LONGLONG_T */ inline ACE_UINT32 ACE_U64_TO_U32 (ACE_UINT64 n) { @@ -673,32 +419,24 @@ ACE_CU64_TO_CU32 (ACE_UINT64 n) { return static_cast (n); } -# endif /* ! ACE_LACKS_LONGLONG_T */ ACE_END_VERSIONED_NAMESPACE_DECL -// 64-bit literals require special marking on some platforms. -# if defined (ACE_LACKS_LONGLONG_T) - // Can only specify 32-bit arguments. -# define ACE_UINT64_LITERAL(n) n ## UL - // This one won't really work, but it'll keep - // some compilers happy until we have better support -# define ACE_INT64_LITERAL(n) n ## L -# elif defined (ACE_WIN32) -# if defined (__MINGW32__) -# define ACE_UINT64_LITERAL(n) n ## ull -# define ACE_INT64_LITERAL(n) n ## ll -# else -# define ACE_UINT64_LITERAL(n) n ## ui64 -# define ACE_INT64_LITERAL(n) n ## i64 -# endif /* defined (__MINGW32__) */ -# elif defined (__TANDEM) +#if defined (ACE_WIN32) +# if defined (__MINGW32__) +# define ACE_UINT64_LITERAL(n) n ## ull +# define ACE_INT64_LITERAL(n) n ## ll +# else +# define ACE_UINT64_LITERAL(n) n ## ui64 +# define ACE_INT64_LITERAL(n) n ## i64 +# endif /* defined (__MINGW32__) */ +#elif defined (__TANDEM) # define ACE_UINT64_LITERAL(n) n ## LL # define ACE_INT64_LITERAL(n) n ## LL -# else /* ! ACE_WIN32 && ! ACE_LACKS_LONGLONG_T */ +#else /* ! ACE_WIN32 */ # define ACE_UINT64_LITERAL(n) n ## ull # define ACE_INT64_LITERAL(n) n ## ll -# endif /* ! ACE_WIN32 && ! ACE_LACKS_LONGLONG_T */ +#endif /* ! ACE_WIN32*/ #if !defined (ACE_INT8_FORMAT_SPECIFIER_ASCII) # if defined (PRId8) @@ -839,6 +577,8 @@ ACE_END_VERSIONED_NAMESPACE_DECL #if !defined (ACE_SSIZE_T_FORMAT_SPECIFIER_ASCII) # if defined (ACE_WIN64) # define ACE_SSIZE_T_FORMAT_SPECIFIER_ASCII "%I64d" +# elif defined (_WRS_CONFIG_LP64) +# define ACE_SSIZE_T_FORMAT_SPECIFIER_ASCII "%ld" # else # define ACE_SSIZE_T_FORMAT_SPECIFIER_ASCII "%d" # endif /* ACE_WIN64 */ @@ -851,6 +591,8 @@ ACE_END_VERSIONED_NAMESPACE_DECL #if !defined (ACE_SIZE_T_FORMAT_SPECIFIER_ASCII) # if defined (ACE_WIN64) # define ACE_SIZE_T_FORMAT_SPECIFIER_ASCII "%I64u" +# elif defined (_WRS_CONFIG_LP64) +# define ACE_SIZE_T_FORMAT_SPECIFIER_ASCII "%lu" # else # define ACE_SIZE_T_FORMAT_SPECIFIER_ASCII "%u" # endif /* ACE_WIN64 */ @@ -862,16 +604,11 @@ ACE_END_VERSIONED_NAMESPACE_DECL // Cast from UINT64 to a double requires an intermediate cast to INT64 // on some platforms. -# if defined (ACE_LACKS_LONGLONG_T) - // Only use the low 32 bits. -# define ACE_UINT64_DBLCAST_ADAPTER(n) ACE_U64_TO_U32 (n) -# elif defined (ACE_LACKS_UNSIGNEDLONGLONG_T) -# define ACE_UINT64_DBLCAST_ADAPTER(n) ((n).to_int64 ()) -# elif defined (ACE_WIN32) -# define ACE_UINT64_DBLCAST_ADAPTER(n) static_cast<__int64> (n) -# else /* ! ACE_WIN32 && ! ACE_LACKS_LONGLONG_T */ -# define ACE_UINT64_DBLCAST_ADAPTER(n) (n) -# endif /* ! ACE_WIN32 && ! ACE_LACKS_LONGLONG_T */ +#if defined (ACE_WIN32) +# define ACE_UINT64_DBLCAST_ADAPTER(n) static_cast<__int64> (n) +#else /* ! ACE_WIN32 && */ +# define ACE_UINT64_DBLCAST_ADAPTER(n) (n) +#endif /* ! ACE_WIN32 && */ // The number of bytes in a float. @@ -934,19 +671,7 @@ ACE_END_VERSIONED_NAMESPACE_DECL #define ACE_UINT32_MAX 0xFFFFFFFF #define ACE_INT64_MAX ACE_INT64_LITERAL(0x7FFFFFFFFFFFFFFF) #define ACE_INT64_MIN -(ACE_INT64_MAX)-1 - -#if defined (ACE_LACKS_UNSIGNEDLONGLONG_T) -// ACE_U_LongLong's constructor accepts a "long long" in this -// case. Set it to ACE_U_LongLong (-1) since the bit pattern for long -// long (-1) is the same as the maximum unsigned long long value. -# define ACE_UINT64_MAX ACE_U_LongLong (ACE_INT64_LITERAL (0xFFFFFFFFFFFFFFFF)) -#elif defined (ACE_LACKS_LONGLONG_T) -// ACE_U_LongLong's constructor accepts an ACE_UINT32 low and high -// pair of parameters. -# define ACE_UINT64_MAX ACE_U_LongLong (0xFFFFFFFFu, 0xFFFFFFFFu) -#else -# define ACE_UINT64_MAX ACE_UINT64_LITERAL (0xFFFFFFFFFFFFFFFF) -#endif /* ACE_LACKS_UNSIGNEDLONGLONG_T */ +#define ACE_UINT64_MAX ACE_UINT64_LITERAL (0xFFFFFFFFFFFFFFFF) // These use ANSI/IEEE format. #define ACE_FLT_MAX 3.402823466e+38F @@ -954,9 +679,5 @@ ACE_END_VERSIONED_NAMESPACE_DECL #define ACE_DBL_MAX 1.7976931348623158e+308 #define ACE_DBL_MIN 2.2250738585072014e-308 -# if defined (__ACE_INLINE__) -# include "ace/Basic_Types.inl" -# endif /* __ACE_INLINE__ */ - # include /**/ "ace/post.h" #endif /* ACE_BASIC_TYPES_H */ diff --git a/dep/ACE_wrappers/ace/Bound_Ptr.h b/dep/acelite/ace/Bound_Ptr.h similarity index 100% rename from dep/ACE_wrappers/ace/Bound_Ptr.h rename to dep/acelite/ace/Bound_Ptr.h diff --git a/dep/ACE_wrappers/ace/Bound_Ptr.inl b/dep/acelite/ace/Bound_Ptr.inl similarity index 100% rename from dep/ACE_wrappers/ace/Bound_Ptr.inl rename to dep/acelite/ace/Bound_Ptr.inl diff --git a/dep/ACE_wrappers/ace/CDR_Base.cpp b/dep/acelite/ace/CDR_Base.cpp similarity index 99% rename from dep/ACE_wrappers/ace/CDR_Base.cpp rename to dep/acelite/ace/CDR_Base.cpp index 0acf651d4..04e87f65c 100644 --- a/dep/ACE_wrappers/ace/CDR_Base.cpp +++ b/dep/acelite/ace/CDR_Base.cpp @@ -1,4 +1,4 @@ -// $Id: CDR_Base.cpp 91685 2010-09-09 09:35:14Z johnnyw $ +// $Id: CDR_Base.cpp 94251 2011-06-22 18:03:25Z parsons $ #include "ace/CDR_Base.h" diff --git a/dep/ACE_wrappers/ace/CDR_Base.h b/dep/acelite/ace/CDR_Base.h similarity index 98% rename from dep/ACE_wrappers/ace/CDR_Base.h rename to dep/acelite/ace/CDR_Base.h index 66a6d8857..f32415225 100644 --- a/dep/ACE_wrappers/ace/CDR_Base.h +++ b/dep/acelite/ace/CDR_Base.h @@ -4,7 +4,7 @@ /** * @file CDR_Base.h * - * $Id: CDR_Base.h 91685 2010-09-09 09:35:14Z johnnyw $ + * $Id: CDR_Base.h 95761 2012-05-15 18:23:04Z johnnyw $ * * ACE Common Data Representation (CDR) basic types. * @@ -213,7 +213,7 @@ public: typedef long LongLong; # elif defined(__TANDEM) typedef long long LongLong; -# elif ACE_SIZEOF_LONG_LONG == 8 && !defined (ACE_LACKS_LONGLONG_T) +# elif ACE_SIZEOF_LONG_LONG == 8 # if defined (sun) && !defined (ACE_LACKS_U_LONGLONG_T) // sun #defines u_longlong_t, maybe other platforms do also. // Use it, at least with g++, so that its -pedantic doesn't diff --git a/dep/ACE_wrappers/ace/CDR_Base.inl b/dep/acelite/ace/CDR_Base.inl similarity index 100% rename from dep/ACE_wrappers/ace/CDR_Base.inl rename to dep/acelite/ace/CDR_Base.inl diff --git a/dep/ACE_wrappers/ace/CDR_Size.cpp b/dep/acelite/ace/CDR_Size.cpp similarity index 100% rename from dep/ACE_wrappers/ace/CDR_Size.cpp rename to dep/acelite/ace/CDR_Size.cpp diff --git a/dep/ACE_wrappers/ace/CDR_Size.h b/dep/acelite/ace/CDR_Size.h similarity index 98% rename from dep/ACE_wrappers/ace/CDR_Size.h rename to dep/acelite/ace/CDR_Size.h index a0b3c462c..ccf453249 100644 --- a/dep/ACE_wrappers/ace/CDR_Size.h +++ b/dep/acelite/ace/CDR_Size.h @@ -4,7 +4,7 @@ /** * @file CDR_Size.h * - * $Id: CDR_Size.h 80826 2008-03-04 14:51:23Z wotte $ + * $Id: CDR_Size.h 93359 2011-02-11 11:33:12Z mcorino $ * * * ACE Common Data Representation (CDR) size-calculating stream. @@ -13,7 +13,7 @@ * The current implementation assumes that the host has 1-byte, * 2-byte and 4-byte integral types, and that it has single * precision and double precision IEEE floats. - * Those assumptions are pretty good these days, with Crays beign + * Those assumptions are pretty good these days, with Crays being * the only known exception. * * diff --git a/dep/ACE_wrappers/ace/CDR_Size.inl b/dep/acelite/ace/CDR_Size.inl similarity index 100% rename from dep/ACE_wrappers/ace/CDR_Size.inl rename to dep/acelite/ace/CDR_Size.inl diff --git a/dep/ACE_wrappers/ace/CDR_Stream.cpp b/dep/acelite/ace/CDR_Stream.cpp similarity index 92% rename from dep/ACE_wrappers/ace/CDR_Stream.cpp rename to dep/acelite/ace/CDR_Stream.cpp index cc58132ca..0d674324f 100644 --- a/dep/ACE_wrappers/ace/CDR_Stream.cpp +++ b/dep/acelite/ace/CDR_Stream.cpp @@ -1,4 +1,4 @@ -// $Id: CDR_Stream.cpp 91373 2010-08-17 07:35:27Z mhengstmengel $ +// $Id: CDR_Stream.cpp 95896 2012-06-18 20:42:07Z hillj $ #include "ace/CDR_Stream.h" #include "ace/SString.h" @@ -723,6 +723,72 @@ ACE_OutputCDR::write_short_placeholder (void) return buf; } +char * +ACE_OutputCDR::write_boolean_placeholder (void) +{ + char *buf = 0; + if (this->adjust (ACE_CDR::OCTET_SIZE, buf) == 0) + *reinterpret_cast (buf) = 0; + else + buf = 0; + return buf; +} + +char * +ACE_OutputCDR::write_char_placeholder (void) +{ + char *buf = 0; + if (this->adjust (ACE_CDR::OCTET_SIZE, buf) == 0) + *reinterpret_cast (buf) = 0; + else + buf = 0; + return buf; +} + +char * +ACE_OutputCDR::write_octet_placeholder (void) +{ + char *buf = 0; + if (this->adjust (ACE_CDR::OCTET_SIZE, buf) == 0) + *reinterpret_cast (buf) = 0; + else + buf = 0; + return buf; +} + +char * +ACE_OutputCDR::write_longlong_placeholder (void) +{ + char *buf = 0; + if (this->adjust (ACE_CDR::LONGLONG_SIZE, buf) == 0) + *reinterpret_cast (buf) = 0; + else + buf = 0; + return buf; +} + +char * +ACE_OutputCDR::write_float_placeholder (void) +{ + char *buf = 0; + if (this->adjust (ACE_CDR::LONG_SIZE, buf) == 0) + *reinterpret_cast (buf) = 0; + else + buf = 0; + return buf; +} + +char * +ACE_OutputCDR::write_double_placeholder (void) +{ + char *buf = 0; + if (this->adjust (ACE_CDR::LONGLONG_SIZE, buf) == 0) + *reinterpret_cast (buf) = 0; + else + buf = 0; + return buf; +} + ACE_CDR::Boolean ACE_OutputCDR::replace (ACE_CDR::Long x, char* loc) { @@ -745,6 +811,27 @@ ACE_OutputCDR::replace (ACE_CDR::Long x, char* loc) return true; } +ACE_CDR::Boolean +ACE_OutputCDR::replace (ACE_CDR::ULong x, char* loc) +{ + if (this->find (loc) == 0) + return false; + +#if !defined (ACE_ENABLE_SWAP_ON_WRITE) + *reinterpret_cast (loc) = x; +#else + if (!this->do_byte_swap_) + { + *reinterpret_cast (loc) = x; + } + else + { + ACE_CDR::swap_4 (reinterpret_cast (&x), loc); + } +#endif /* ACE_ENABLE_SWAP_ON_WRITE */ + + return true; +} ACE_CDR::Boolean ACE_OutputCDR::replace (ACE_CDR::Short x, char* loc) @@ -768,6 +855,148 @@ ACE_OutputCDR::replace (ACE_CDR::Short x, char* loc) return true; } +ACE_CDR::Boolean +ACE_OutputCDR::replace (ACE_CDR::UShort x, char* loc) +{ + if (this->find (loc) == 0) + return false; + +#if !defined (ACE_ENABLE_SWAP_ON_WRITE) + *reinterpret_cast (loc) = x; +#else + if (!this->do_byte_swap_) + { + *reinterpret_cast (loc) = x; + } + else + { + ACE_CDR::swap_2 (reinterpret_cast (&x), loc); + } +#endif /* ACE_ENABLE_SWAP_ON_WRITE */ + + return true; +} + +ACE_CDR::Boolean +ACE_OutputCDR::replace (ACE_CDR::Boolean x, char* loc) +{ + if (this->find (loc) == 0) + return false; + + *reinterpret_cast (loc) = x; + + return true; +} + +ACE_CDR::Boolean +ACE_OutputCDR::replace (ACE_CDR::Char x, char* loc) +{ + if (this->find (loc) == 0) + return false; + + *reinterpret_cast (loc) = x; + + return true; +} + +ACE_CDR::Boolean +ACE_OutputCDR::replace (ACE_CDR::Octet x, char* loc) +{ + if (this->find (loc) == 0) + return false; + + *reinterpret_cast (loc) = x; + + return true; +} + +ACE_CDR::Boolean +ACE_OutputCDR::replace (ACE_CDR::LongLong x, char* loc) +{ + if (this->find (loc) == 0) + return false; + +#if !defined (ACE_ENABLE_SWAP_ON_WRITE) + *reinterpret_cast (loc) = x; +#else + if (!this->do_byte_swap_) + { + *reinterpret_cast (loc) = x; + } + else + { + ACE_CDR::swap_8 (reinterpret_cast (&x), loc); + } +#endif /* ACE_ENABLE_SWAP_ON_WRITE */ + + return true; +} + +ACE_CDR::Boolean +ACE_OutputCDR::replace (ACE_CDR::ULongLong x, char* loc) +{ + if (this->find (loc) == 0) + return false; + +#if !defined (ACE_ENABLE_SWAP_ON_WRITE) + *reinterpret_cast (loc) = x; +#else + if (!this->do_byte_swap_) + { + *reinterpret_cast (loc) = x; + } + else + { + ACE_CDR::swap_8 (reinterpret_cast (&x), loc); + } +#endif /* ACE_ENABLE_SWAP_ON_WRITE */ + + return true; +} + +ACE_CDR::Boolean +ACE_OutputCDR::replace (ACE_CDR::Float x, char* loc) +{ + if (this->find (loc) == 0) + return false; + +#if !defined (ACE_ENABLE_SWAP_ON_WRITE) + *reinterpret_cast (loc) = x; +#else + if (!this->do_byte_swap_) + { + *reinterpret_cast (loc) = x; + } + else + { + ACE_CDR::swap_4 (reinterpret_cast (&x), loc); + } +#endif /* ACE_ENABLE_SWAP_ON_WRITE */ + + return true; +} + +ACE_CDR::Boolean +ACE_OutputCDR::replace (ACE_CDR::Double x, char* loc) +{ + if (this->find (loc) == 0) + return false; + +#if !defined (ACE_ENABLE_SWAP_ON_WRITE) + *reinterpret_cast (loc) = x; +#else + if (!this->do_byte_swap_) + { + *reinterpret_cast (loc) = x; + } + else + { + ACE_CDR::swap_8 (reinterpret_cast (&x), loc); + } +#endif /* ACE_ENABLE_SWAP_ON_WRITE */ + + return true; +} int ACE_OutputCDR::consolidate (void) @@ -1682,7 +1911,17 @@ ACE_InputCDR::skip_string (void) ACE_CDR::ULong len = 0; if (this->read_ulong (len)) { - if (this->rd_ptr () + len <= this->wr_ptr ()) + if (static_cast (~0u) == len) + { + // Indirection, next Long in stream is signed offset to actual + // string location (backwards in same stream from here). + ACE_CDR::Long offset = 0; + if (this->read_long (offset)) + { + return true; + } + } + else if (this->rd_ptr () + len <= this->wr_ptr ()) { this->rd_ptr (len); return true; diff --git a/dep/ACE_wrappers/ace/CDR_Stream.h b/dep/acelite/ace/CDR_Stream.h similarity index 97% rename from dep/ACE_wrappers/ace/CDR_Stream.h rename to dep/acelite/ace/CDR_Stream.h index 0a200dc56..256560dea 100644 --- a/dep/ACE_wrappers/ace/CDR_Stream.h +++ b/dep/acelite/ace/CDR_Stream.h @@ -4,7 +4,7 @@ /** * @file CDR_Stream.h * - * $Id: CDR_Stream.h 84527 2009-02-19 14:01:42Z johnnyw $ + * $Id: CDR_Stream.h 95896 2012-06-18 20:42:07Z hillj $ * * ACE Common Data Representation (CDR) marshaling and demarshaling * classes. @@ -318,6 +318,12 @@ public: */ char* write_long_placeholder (void); char* write_short_placeholder (void); + char* write_boolean_placeholder (void); + char* write_char_placeholder (void); + char* write_longlong_placeholder (void); + char* write_octet_placeholder (void); + char* write_float_placeholder (void); + char* write_double_placeholder (void); /** * Writes a new value into a specific location. This is commonly @@ -336,7 +342,16 @@ public: * @sa write_long_placeholder(), write_short_placeholder () */ ACE_CDR::Boolean replace (ACE_CDR::Long x, char* loc); + ACE_CDR::Boolean replace (ACE_CDR::ULong x, char* loc); ACE_CDR::Boolean replace (ACE_CDR::Short x, char* loc); + ACE_CDR::Boolean replace (ACE_CDR::UShort x, char* loc); + ACE_CDR::Boolean replace (ACE_CDR::Boolean x, char* loc); + ACE_CDR::Boolean replace (ACE_CDR::Char x, char* loc); + ACE_CDR::Boolean replace (ACE_CDR::LongLong x, char* loc); + ACE_CDR::Boolean replace (ACE_CDR::ULongLong x, char* loc); + ACE_CDR::Boolean replace (ACE_CDR::Octet x, char* loc); + ACE_CDR::Boolean replace (ACE_CDR::Float x, char* loc); + ACE_CDR::Boolean replace (ACE_CDR::Double x, char* loc); //@} /** @@ -1224,7 +1239,7 @@ protected: const ACE_CDR::ULong *x); /// Efficiently read @a length elements of size @a size each from - /// into ; the data must be aligned to . + /// @a input into @a x; the data must be aligned to @a align. ACE_CDR::Boolean read_array (ACE_InputCDR& input, void* x, size_t size, @@ -1232,9 +1247,9 @@ protected: ACE_CDR::ULong length); /** - * Efficiently write @a length elements of size @a size from into - * . Before inserting the elements enough padding is added - * to ensure that the elements will be aligned to in the + * Efficiently write @a length elements of size @a size from @a x into + * @a output. Before inserting the elements enough padding is added + * to ensure that the elements will be aligned to @a align in the * stream. */ ACE_CDR::Boolean write_array (ACE_OutputCDR& output, @@ -1244,10 +1259,10 @@ protected: ACE_CDR::ULong length); /** - * Exposes the stream implementation of , this is useful in + * Exposes the stream implementation of @a adjust, this is useful in * many cases to minimize memory allocations during marshaling. * On success @a buf will contain a contiguous area in the CDR stream - * that can hold @a size bytes aligned to . + * that can hold @a size bytes aligned to @a align. * Results */ int adjust (ACE_OutputCDR& out, diff --git a/dep/ACE_wrappers/ace/CDR_Stream.inl b/dep/acelite/ace/CDR_Stream.inl similarity index 100% rename from dep/ACE_wrappers/ace/CDR_Stream.inl rename to dep/acelite/ace/CDR_Stream.inl diff --git a/dep/ACE_wrappers/ace/CE_Screen_Output.cpp b/dep/acelite/ace/CE_Screen_Output.cpp similarity index 100% rename from dep/ACE_wrappers/ace/CE_Screen_Output.cpp rename to dep/acelite/ace/CE_Screen_Output.cpp diff --git a/dep/ACE_wrappers/ace/CE_Screen_Output.h b/dep/acelite/ace/CE_Screen_Output.h similarity index 95% rename from dep/ACE_wrappers/ace/CE_Screen_Output.h rename to dep/acelite/ace/CE_Screen_Output.h index ba2bc7c02..62d4deaa0 100644 --- a/dep/ACE_wrappers/ace/CE_Screen_Output.h +++ b/dep/acelite/ace/CE_Screen_Output.h @@ -4,7 +4,7 @@ /** * @file CE_Screen_Output.h * - * $Id: CE_Screen_Output.h 80826 2008-03-04 14:51:23Z wotte $ + * $Id: CE_Screen_Output.h 94271 2011-06-23 14:52:31Z johnnyw $ * * @author Si Mong Park */ @@ -39,7 +39,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL * * This class allows standard text output to be displayed on * text window for Windows CE. Generally, all ACE output will - * go through under CE if and only if user uses WindozeCE + * go through under CE if and only if user uses Windows CE * implementation by using main_ce instead of main. * Also, for the easier debugging purpose, object pointer of * this class can be gotten from ACE_Log_Msg::msg_callback() diff --git a/dep/acelite/ace/CMakeLists.txt b/dep/acelite/ace/CMakeLists.txt new file mode 100644 index 000000000..66d864faf --- /dev/null +++ b/dep/acelite/ace/CMakeLists.txt @@ -0,0 +1,361 @@ +# Copyright (C) 2008-2014 TrinityCore +# +# This file is free software; as a special exception the author gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the +# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +# NOTE: Do not use glob here, it would include files we don't want +set(ace_STAT_SRCS + ACE.cpp + ACE_crc32.cpp + ACE_crc_ccitt.cpp + ace_wchar.cpp + Activation_Queue.cpp + Active_Map_Manager.cpp + Addr.cpp + Argv_Type_Converter.cpp + Assert.cpp + Asynch_IO.cpp + Asynch_IO_Impl.cpp + Asynch_Pseudo_Task.cpp + ATM_Acceptor.cpp + ATM_Addr.cpp + ATM_Connector.cpp + ATM_Params.cpp + ATM_QoS.cpp + ATM_Stream.cpp + Atomic_Op.cpp + Atomic_Op_Sparc.c + Auto_Event.cpp + Barrier.cpp + Base_Thread_Adapter.cpp + Based_Pointer_Repository.cpp + Basic_Stats.cpp + Basic_Types.cpp + Capabilities.cpp + CDR_Base.cpp + CDR_Size.cpp + CDR_Stream.cpp + Cleanup.cpp + Codecs.cpp + Codeset_IBM1047.cpp + Codeset_Registry.cpp + Codeset_Registry_db.cpp + Condition_Attributes.cpp + Condition_Recursive_Thread_Mutex.cpp + Condition_Thread_Mutex.cpp + Configuration.cpp + Configuration_Import_Export.cpp + Connection_Recycling_Strategy.cpp + Containers.cpp + Copy_Disabled.cpp + Date_Time.cpp + DEV.cpp + DEV_Addr.cpp + DEV_Connector.cpp + DEV_IO.cpp + Dev_Poll_Reactor.cpp + Dirent.cpp + Dirent_Selector.cpp + DLL.cpp + DLL_Manager.cpp + Dump.cpp + Dynamic.cpp + Dynamic_Message_Strategy.cpp + Dynamic_Service_Base.cpp + Dynamic_Service_Dependency.cpp + Encoding_Converter.cpp + Encoding_Converter_Factory.cpp + Event.cpp + Event_Handler.cpp + Event_Handler_Handle_Timeout_Upcall.cpp + FIFO.cpp + FIFO_Recv.cpp + FIFO_Recv_Msg.cpp + FIFO_Send.cpp + FIFO_Send_Msg.cpp + FILE.cpp + FILE_Addr.cpp + FILE_Connector.cpp + FILE_IO.cpp + File_Lock.cpp + Filecache.cpp + Flag_Manip.cpp + Framework_Component.cpp + Functor.cpp + Functor_String.cpp + Get_Opt.cpp + Handle_Ops.cpp + Handle_Set.cpp + Hashable.cpp + High_Res_Timer.cpp + ICMP_Socket.cpp + INET_Addr.cpp + Init_ACE.cpp + IO_Cntl_Msg.cpp + IO_SAP.cpp + IOStream.cpp + IPC_SAP.cpp + Lib_Find.cpp + Local_Memory_Pool.cpp + Local_Name_Space.cpp + Local_Tokens.cpp + Lock.cpp + Log_Msg.cpp + Log_Msg_Backend.cpp + Log_Msg_Callback.cpp + Log_Msg_IPC.cpp + Log_Msg_NT_Event_Log.cpp + Log_Msg_UNIX_Syslog.cpp + Log_Record.cpp + Logging_Strategy.cpp + LSOCK.cpp + LSOCK_Acceptor.cpp + LSOCK_CODgram.cpp + LSOCK_Connector.cpp + LSOCK_Dgram.cpp + LSOCK_Stream.cpp + Malloc.cpp + Malloc_Allocator.cpp + Manual_Event.cpp + MEM_Acceptor.cpp + MEM_Addr.cpp + MEM_Connector.cpp + MEM_IO.cpp + Mem_Map.cpp + MEM_SAP.cpp + MEM_Stream.cpp + Message_Block.cpp + Message_Queue.cpp + Message_Queue_NT.cpp + Message_Queue_Vx.cpp + Method_Request.cpp + MMAP_Memory_Pool.cpp + Monitor_Admin.cpp + Monitor_Admin_Manager.cpp + Monitor_Base.cpp + Monitor_Control_Action.cpp + Monitor_Control_Types.cpp + Monitor_Point_Registry.cpp + Monitor_Size.cpp + Msg_WFMO_Reactor.cpp + Multihomed_INET_Addr.cpp + Mutex.cpp + Name_Proxy.cpp + Name_Request_Reply.cpp + Name_Space.cpp + Naming_Context.cpp + Netlink_Addr.cpp + Notification_Queue.cpp + Notification_Strategy.cpp + NT_Service.cpp + Obchunk.cpp + Object_Manager.cpp + Object_Manager_Base.cpp + OS_Errno.cpp + OS_Log_Msg_Attributes.cpp + OS_main.cpp + OS_NS_arpa_inet.cpp + OS_NS_ctype.cpp + OS_NS_dirent.cpp + OS_NS_dlfcn.cpp + OS_NS_errno.cpp + OS_NS_fcntl.cpp + OS_NS_math.cpp + OS_NS_netdb.cpp + OS_NS_poll.cpp + OS_NS_pwd.cpp + OS_NS_regex.cpp + OS_NS_signal.cpp + OS_NS_stdio.cpp + OS_NS_stdlib.cpp + OS_NS_string.cpp + OS_NS_strings.cpp + OS_NS_stropts.cpp + OS_NS_sys_mman.cpp + OS_NS_sys_msg.cpp + OS_NS_sys_resource.cpp + OS_NS_sys_select.cpp + OS_NS_sys_sendfile.cpp + OS_NS_sys_shm.cpp + OS_NS_sys_socket.cpp + OS_NS_sys_stat.cpp + OS_NS_sys_time.cpp + OS_NS_sys_uio.cpp + OS_NS_sys_utsname.cpp + OS_NS_sys_wait.cpp + OS_NS_Thread.cpp + OS_NS_time.cpp + OS_NS_unistd.cpp + OS_NS_wchar.cpp + OS_QoS.cpp + OS_Thread_Adapter.cpp + OS_TLI.cpp + Pagefile_Memory_Pool.cpp + Parse_Node.cpp + PI_Malloc.cpp + Ping_Socket.cpp + Pipe.cpp + POSIX_Asynch_IO.cpp + POSIX_CB_Proactor.cpp + POSIX_Proactor.cpp + Priority_Reactor.cpp + Proactor.cpp + Proactor_Impl.cpp + Process.cpp + Process_Manager.cpp + Process_Mutex.cpp + Process_Semaphore.cpp + Profile_Timer.cpp + Reactor.cpp + Reactor_Impl.cpp + Reactor_Notification_Strategy.cpp + Reactor_Timer_Interface.cpp + Read_Buffer.cpp + Recursive_Thread_Mutex.cpp + Recyclable.cpp + Registry.cpp + Registry_Name_Space.cpp + Remote_Name_Space.cpp + Remote_Tokens.cpp + Rtems_init.c + RW_Mutex.cpp + RW_Process_Mutex.cpp + RW_Thread_Mutex.cpp + Sample_History.cpp + Sbrk_Memory_Pool.cpp + Sched_Params.cpp + Select_Reactor_Base.cpp + Semaphore.cpp + Service_Config.cpp + Service_Gestalt.cpp + Service_Manager.cpp + Service_Object.cpp + Service_Repository.cpp + Service_Types.cpp + Shared_Memory.cpp + Shared_Memory_MM.cpp + Shared_Memory_Pool.cpp + Shared_Memory_SV.cpp + Shared_Object.cpp + Sig_Adapter.cpp + Sig_Handler.cpp + Signal.cpp + SOCK.cpp + SOCK_Acceptor.cpp + SOCK_CODgram.cpp + Sock_Connect.cpp + SOCK_Connector.cpp + SOCK_Dgram.cpp + SOCK_Dgram_Bcast.cpp + SOCK_Dgram_Mcast.cpp + SOCK_IO.cpp + SOCK_Netlink.cpp + SOCK_SEQPACK_Acceptor.cpp + SOCK_SEQPACK_Association.cpp + SOCK_SEQPACK_Connector.cpp + SOCK_Stream.cpp + SPIPE.cpp + SPIPE_Acceptor.cpp + SPIPE_Addr.cpp + SPIPE_Connector.cpp + SPIPE_Stream.cpp + SString.cpp + Stack_Trace.cpp + Stats.cpp + String_Base_Const.cpp + SUN_Proactor.cpp + SV_Message.cpp + SV_Message_Queue.cpp + SV_Semaphore_Complex.cpp + SV_Semaphore_Simple.cpp + SV_Shared_Memory.cpp + Svc_Conf_Lexer.cpp + Svc_Conf_y.cpp + Synch_Options.cpp + System_Time.cpp + Task.cpp + Thread.cpp + Thread_Adapter.cpp + Thread_Control.cpp + Thread_Exit.cpp + Thread_Hook.cpp + Thread_Manager.cpp + Thread_Mutex.cpp + Thread_Semaphore.cpp + Throughput_Stats.cpp + Time_Policy.cpp + Time_Value.cpp + Timeprobe.cpp + TLI.cpp + TLI_Acceptor.cpp + TLI_Connector.cpp + TLI_Stream.cpp + Token.cpp + Token_Collection.cpp + Token_Invariants.cpp + Token_Manager.cpp + Token_Request_Reply.cpp + TP_Reactor.cpp + Trace.cpp + TSS_Adapter.cpp + TTY_IO.cpp + UNIX_Addr.cpp + UPIPE_Acceptor.cpp + UPIPE_Connector.cpp + UPIPE_Stream.cpp + UTF16_Encoding_Converter.cpp + UTF32_Encoding_Converter.cpp + UTF8_Encoding_Converter.cpp + UUID.cpp + WFMO_Reactor.cpp + WIN32_Asynch_IO.cpp + WIN32_Proactor.cpp + XML_Svc_Conf.cpp + XTI_ATM_Mcast.cpp +) + +if (USE_COREPCH) + set(ace_PCH_HDR PrecompiledHeaders/WinAcePCH.h) + set(ace_PCH_SRC PrecompiledHeaders/WinAcePCH.cpp) +endif() + +include_directories( + ${CMAKE_SOURCE_DIR}/dep/acelite + ${CMAKE_CURRENT_SOURCE_DIR}/PrecompiledHeaders + ${CMAKE_SOURCE_DIR}/dep/src/zlib +) + +# Needed for PCH support +set_source_files_properties(Atomic_Op_Sparc.c Rtems_init.c PROPERTIES LANGUAGE CXX) + +add_definitions(-DACE_BUILD_DLL) + +add_library(ace SHARED + ${ace_STAT_SRCS} + ${ace_PCH_SRC} +) + +if (MINGW) # GCC ignores "#prama comment" + target_link_libraries(ace ws2_32 iphlpapi netapi32 mswsock) +endif() + +# Generate precompiled header +if( USE_COREPCH ) + add_cxx_pch(ace ${ace_PCH_HDR} ${ace_PCH_SRC}) +endif() + +install( + TARGETS ace + RUNTIME DESTINATION "${BIN_DIR}" + #is lib/ correct? + LIBRARY DESTINATION "${LIBS_DIR}" +) + +if(WIN32 AND MSVC) + install(FILES "${CMAKE_CURRENT_BINARY_DIR}/\${BUILD_TYPE}/ace.pdb" DESTINATION "${BIN_DIR}" CONFIGURATIONS Debug) +endif() diff --git a/dep/ACE_wrappers/ace/CORBA_macros.h b/dep/acelite/ace/CORBA_macros.h similarity index 100% rename from dep/ACE_wrappers/ace/CORBA_macros.h rename to dep/acelite/ace/CORBA_macros.h diff --git a/dep/ACE_wrappers/ace/Cache_Map_Manager_T.cpp b/dep/acelite/ace/Cache_Map_Manager_T.cpp similarity index 70% rename from dep/ACE_wrappers/ace/Cache_Map_Manager_T.cpp rename to dep/acelite/ace/Cache_Map_Manager_T.cpp index 4fb5b93ca..1527bce64 100644 --- a/dep/ACE_wrappers/ace/Cache_Map_Manager_T.cpp +++ b/dep/acelite/ace/Cache_Map_Manager_T.cpp @@ -1,4 +1,4 @@ -// $Id: Cache_Map_Manager_T.cpp 92097 2010-09-30 05:41:49Z msmit $ +// $Id: Cache_Map_Manager_T.cpp 95790 2012-05-24 15:06:21Z shuston $ #ifndef ACE_CACHE_MAP_MANAGER_T_CPP #define ACE_CACHE_MAP_MANAGER_T_CPP @@ -24,11 +24,8 @@ ACE_ALLOC_HOOK_DEFINE(ACE_Cache_Map_Iterator) ACE_ALLOC_HOOK_DEFINE(ACE_Cache_Map_Reverse_Iterator) -#define ACE_T1 class KEY, class VALUE, class CMAP_TYPE, class ITERATOR_IMPL, class REVERSE_ITERATOR_IMPL, class CACHING_STRATEGY, class ATTRIBUTES -#define ACE_T2 KEY, VALUE, CMAP_TYPE, ITERATOR_IMPL, REVERSE_ITERATOR_IMPL, CACHING_STRATEGY, ATTRIBUTES - -template -ACE_Cache_Map_Manager::ACE_Cache_Map_Manager (CACHING_STRATEGY &caching_s, +template +ACE_Cache_Map_Manager::ACE_Cache_Map_Manager (CACHING_STRATEGY &caching_s, size_t size, ACE_Allocator *alloc) : caching_strategy_ (caching_s) @@ -40,28 +37,28 @@ ACE_Cache_Map_Manager::ACE_Cache_Map_Manager (CACHING_STRATEGY &caching_ } -template -ACE_Cache_Map_Manager::~ACE_Cache_Map_Manager (void) +template +ACE_Cache_Map_Manager::~ACE_Cache_Map_Manager (void) { this->close (); } -template int -ACE_Cache_Map_Manager::open (size_t length, +template int +ACE_Cache_Map_Manager::open (size_t length, ACE_Allocator *alloc) { return this->map_.open (length, alloc); } -template int -ACE_Cache_Map_Manager::close (void) +template int +ACE_Cache_Map_Manager::close (void) { return this->map_.close (); } -template int -ACE_Cache_Map_Manager::bind (const KEY &key, +template int +ACE_Cache_Map_Manager::bind (const KEY &key, const VALUE &value) { // Insert an entry which has the and the which @@ -96,8 +93,8 @@ ACE_Cache_Map_Manager::bind (const KEY &key, } -template int -ACE_Cache_Map_Manager::rebind (const KEY &key, +template int +ACE_Cache_Map_Manager::rebind (const KEY &key, const VALUE &value) { CACHE_VALUE cache_value (value, @@ -133,8 +130,8 @@ ACE_Cache_Map_Manager::rebind (const KEY &key, } -template int -ACE_Cache_Map_Manager::rebind (const KEY &key, +template int +ACE_Cache_Map_Manager::rebind (const KEY &key, const VALUE &value, VALUE &old_value) { @@ -180,8 +177,8 @@ ACE_Cache_Map_Manager::rebind (const KEY &key, return rebind_result; } -template int -ACE_Cache_Map_Manager::rebind (const KEY &key, +template int +ACE_Cache_Map_Manager::rebind (const KEY &key, const VALUE &value, KEY &old_key, VALUE &old_value) @@ -229,8 +226,8 @@ ACE_Cache_Map_Manager::rebind (const KEY &key, return rebind_result; } -template int -ACE_Cache_Map_Manager::trybind (const KEY &key, +template int +ACE_Cache_Map_Manager::trybind (const KEY &key, VALUE &value) { CACHE_VALUE cache_value (value, @@ -271,8 +268,8 @@ ACE_Cache_Map_Manager::trybind (const KEY &key, return trybind_result; } -template int -ACE_Cache_Map_Manager::find (const KEY &key, +template int +ACE_Cache_Map_Manager::find (const KEY &key, VALUE &value) { // Lookup the key and populate the . @@ -310,8 +307,8 @@ ACE_Cache_Map_Manager::find (const KEY &key, return find_result; } -template int -ACE_Cache_Map_Manager::find (const KEY &key) +template int +ACE_Cache_Map_Manager::find (const KEY &key) { // Lookup the key and populate the . CACHE_VALUE cache_value; @@ -323,7 +320,7 @@ ACE_Cache_Map_Manager::find (const KEY &key) { int result = this->caching_strategy_.notify_find (find_result, - cache_value.second ()); + cache_value.second); // Unless the find and notification operations go thru, this // method is not successful. @@ -348,8 +345,8 @@ ACE_Cache_Map_Manager::find (const KEY &key) } -template int -ACE_Cache_Map_Manager::unbind (const KEY &key) +template int +ACE_Cache_Map_Manager::unbind (const KEY &key) { // Remove the entry from the cache. CACHE_VALUE cache_value; @@ -371,8 +368,8 @@ ACE_Cache_Map_Manager::unbind (const KEY &key) return unbind_result; } -template int -ACE_Cache_Map_Manager::unbind (const KEY &key, +template int +ACE_Cache_Map_Manager::unbind (const KEY &key, VALUE &value) { // Remove the entry from the cache. @@ -397,8 +394,8 @@ ACE_Cache_Map_Manager::unbind (const KEY &key, return unbind_result; } -template void -ACE_Cache_Map_Manager::dump (void) const +template void +ACE_Cache_Map_Manager::dump (void) const { #if defined (ACE_HAS_DUMP) this->map_.dump (); @@ -407,9 +404,6 @@ ACE_Cache_Map_Manager::dump (void) const #endif /* ACE_HAS_DUMP */ } -#undef ACE_T1 -#undef ACE_T2 - template ACE_Cache_Map_Iterator::~ACE_Cache_Map_Iterator (void) { diff --git a/dep/ACE_wrappers/ace/Cache_Map_Manager_T.h b/dep/acelite/ace/Cache_Map_Manager_T.h similarity index 100% rename from dep/ACE_wrappers/ace/Cache_Map_Manager_T.h rename to dep/acelite/ace/Cache_Map_Manager_T.h diff --git a/dep/ACE_wrappers/ace/Cache_Map_Manager_T.inl b/dep/acelite/ace/Cache_Map_Manager_T.inl similarity index 100% rename from dep/ACE_wrappers/ace/Cache_Map_Manager_T.inl rename to dep/acelite/ace/Cache_Map_Manager_T.inl diff --git a/dep/ACE_wrappers/ace/Cached_Connect_Strategy_T.cpp b/dep/acelite/ace/Cached_Connect_Strategy_T.cpp similarity index 80% rename from dep/ACE_wrappers/ace/Cached_Connect_Strategy_T.cpp rename to dep/acelite/ace/Cached_Connect_Strategy_T.cpp index 738155a57..a6f8acc77 100644 --- a/dep/ACE_wrappers/ace/Cached_Connect_Strategy_T.cpp +++ b/dep/acelite/ace/Cached_Connect_Strategy_T.cpp @@ -1,4 +1,4 @@ -//$Id: Cached_Connect_Strategy_T.cpp 92097 2010-09-30 05:41:49Z msmit $ +//$Id: Cached_Connect_Strategy_T.cpp 95630 2012-03-22 13:04:47Z johnnyw $ #ifndef ACE_CACHED_CONNECT_STRATEGY_T_CPP #define ACE_CACHED_CONNECT_STRATEGY_T_CPP @@ -15,13 +15,10 @@ #include "ace/Thread_Manager.h" #include "ace/WFMO_Reactor.h" -#define ACE_T1 class SVC_HANDLER, ACE_PEER_CONNECTOR_1, class CACHING_STRATEGY, class ATTRIBUTES, class MUTEX -#define ACE_T2 SVC_HANDLER, ACE_PEER_CONNECTOR_2, CACHING_STRATEGY, ATTRIBUTES, MUTEX - ACE_BEGIN_VERSIONED_NAMESPACE_DECL -template -ACE_Cached_Connect_Strategy_Ex::ACE_Cached_Connect_Strategy_Ex +template +ACE_Cached_Connect_Strategy_Ex::ACE_Cached_Connect_Strategy_Ex (CACHING_STRATEGY &caching_s, ACE_Creation_Strategy *cre_s, ACE_Concurrency_Strategy *con_s, @@ -34,18 +31,18 @@ ACE_Cached_Connect_Strategy_Ex::ACE_Cached_Connect_Strategy_Ex if (this->open (cre_s, con_s, rec_s) == -1) ACE_ERROR ((LM_ERROR, ACE_TEXT ("%p\n"), - ACE_TEXT ("ACE_Cached_Connect_Strategy_Ex\n"))); + ACE_TEXT ("ACE_Cached_Connect_Strategy_Ex\n"))); } -template -ACE_Cached_Connect_Strategy_Ex::~ACE_Cached_Connect_Strategy_Ex (void) +template +ACE_Cached_Connect_Strategy_Ex::~ACE_Cached_Connect_Strategy_Ex (void) { cleanup (); } -template int -ACE_Cached_Connect_Strategy_Ex::check_hint_i +template int +ACE_Cached_Connect_Strategy_Ex::check_hint_i (SVC_HANDLER *&sh, const ACE_PEER_CONNECTOR_ADDR &remote_addr, ACE_Time_Value *timeout, @@ -134,8 +131,8 @@ ACE_Cached_Connect_Strategy_Ex::check_hint_i return 0; } -template int -ACE_Cached_Connect_Strategy_Ex::find_or_create_svc_handler_i +template int +ACE_Cached_Connect_Strategy_Ex::find_or_create_svc_handler_i (SVC_HANDLER *&sh, const ACE_PEER_CONNECTOR_ADDR &remote_addr, ACE_Time_Value *timeout, @@ -250,8 +247,8 @@ ACE_Cached_Connect_Strategy_Ex::find_or_create_svc_handler_i return 0; } -template int -ACE_Cached_Connect_Strategy_Ex::cached_connect (SVC_HANDLER *&sh, +template int +ACE_Cached_Connect_Strategy_Ex::cached_connect (SVC_HANDLER *&sh, const ACE_PEER_CONNECTOR_ADDR &remote_addr, ACE_Time_Value *timeout, const ACE_PEER_CONNECTOR_ADDR &local_addr, @@ -312,8 +309,8 @@ ACE_Cached_Connect_Strategy_Ex::cached_connect (SVC_HANDLER *&sh, } -template int -ACE_Cached_Connect_Strategy_Ex::connect_svc_handler_i +template int +ACE_Cached_Connect_Strategy_Ex::connect_svc_handler_i (SVC_HANDLER *&sh, const ACE_PEER_CONNECTOR_ADDR &remote_addr, ACE_Time_Value *timeout, @@ -361,16 +358,19 @@ ACE_Cached_Connect_Strategy_Ex::connect_svc_handler_i entry->ext_id_.increment (); } - // For all successful cases: mark the in the cache - // as being . Therefore recyclable is BUSY. - entry->ext_id_.recycle_state (ACE_RECYCLABLE_BUSY); + if (entry) + { + // For all successful cases: mark the in the cache + // as being . Therefore recyclable is BUSY. + entry->ext_id_.recycle_state (ACE_RECYCLABLE_BUSY); + } return 0; } -template int -ACE_Cached_Connect_Strategy_Ex::cache_i (const void *recycling_act) +template int +ACE_Cached_Connect_Strategy_Ex::cache_i (const void *recycling_act) { // The wonders and perils of ACT CONNECTION_CACHE_ENTRY *entry = (CONNECTION_CACHE_ENTRY *) recycling_act; @@ -382,8 +382,8 @@ ACE_Cached_Connect_Strategy_Ex::cache_i (const void *recycling_act) return 0; } -template int -ACE_Cached_Connect_Strategy_Ex::recycle_state_i (const void *recycling_act, +template int +ACE_Cached_Connect_Strategy_Ex::recycle_state_i (const void *recycling_act, ACE_Recyclable_State new_state) { // The wonders and perils of ACT @@ -396,8 +396,8 @@ ACE_Cached_Connect_Strategy_Ex::recycle_state_i (const void *recycling_a return 0; } -template ACE_Recyclable_State -ACE_Cached_Connect_Strategy_Ex::recycle_state_i (const void *recycling_act) const +template ACE_Recyclable_State +ACE_Cached_Connect_Strategy_Ex::recycle_state_i (const void *recycling_act) const { // The wonders and perils of ACT CONNECTION_CACHE_ENTRY *entry = (CONNECTION_CACHE_ENTRY *) recycling_act; @@ -407,8 +407,8 @@ ACE_Cached_Connect_Strategy_Ex::recycle_state_i (const void *recycling_a return entry->ext_id_.recycle_state (); } -template int -ACE_Cached_Connect_Strategy_Ex::purge_i (const void *recycling_act) +template int +ACE_Cached_Connect_Strategy_Ex::purge_i (const void *recycling_act) { // The wonders and perils of ACT CONNECTION_CACHE_ENTRY *entry = (CONNECTION_CACHE_ENTRY *) recycling_act; @@ -417,8 +417,8 @@ ACE_Cached_Connect_Strategy_Ex::purge_i (const void *recycling_act) } -template int -ACE_Cached_Connect_Strategy_Ex::mark_as_closed_i (const void *recycling_act) +template int +ACE_Cached_Connect_Strategy_Ex::mark_as_closed_i (const void *recycling_act) { // The wonders and perils of ACT CONNECTION_CACHE_ENTRY *entry = (CONNECTION_CACHE_ENTRY *) recycling_act; @@ -429,8 +429,8 @@ ACE_Cached_Connect_Strategy_Ex::mark_as_closed_i (const void *recycling_ return 0; } -template int -ACE_Cached_Connect_Strategy_Ex::cleanup_hint_i (const void *recycling_act, +template int +ACE_Cached_Connect_Strategy_Ex::cleanup_hint_i (const void *recycling_act, void **act_holder) { // Reset the <*act_holder> in the confines and protection of the @@ -457,20 +457,20 @@ ACE_Cached_Connect_Strategy_Ex::cleanup_hint_i (const void *recycling_ac return 0; } -template int -ACE_Cached_Connect_Strategy_Ex::purge_connections (void) +template int +ACE_Cached_Connect_Strategy_Ex::purge_connections (void) { return this->connection_cache_.purge (); } -template CACHING_STRATEGY & -ACE_Cached_Connect_Strategy_Ex::caching_strategy (void) +template CACHING_STRATEGY & +ACE_Cached_Connect_Strategy_Ex::caching_strategy (void) { return this->connection_cache_.caching_strategy (); } -template int -ACE_Cached_Connect_Strategy_Ex::find (ACE_Refcounted_Hash_Recyclable &search_addr, +template int +ACE_Cached_Connect_Strategy_Ex::find (ACE_Refcounted_Hash_Recyclable &search_addr, ACE_Hash_Map_Entry, std::pair > *&entry) { typedef ACE_Hash_Map_Bucket_Iterator::find (ACE_Refcounted_Hash_Recyclable void -ACE_Cached_Connect_Strategy_Ex::cleanup (void) +template void +ACE_Cached_Connect_Strategy_Ex::cleanup (void) { // Excluded other threads from changing the cache while we cleanup ACE_GUARD (MUTEX, ace_mon, *this->lock_); @@ -560,8 +560,8 @@ ACE_Cached_Connect_Strategy_Ex::cleanup (void) ACE_ALLOC_HOOK_DEFINE(ACE_Cached_Connect_Strategy_Ex) ///////////////////////////////////////////////////////////////////////// -template -ACE_Bounded_Cached_Connect_Strategy::ACE_Bounded_Cached_Connect_Strategy +template +ACE_Bounded_Cached_Connect_Strategy::ACE_Bounded_Cached_Connect_Strategy (size_t max_size, CACHING_STRATEGY &caching_s, ACE_Creation_Strategy *cre_s, @@ -574,14 +574,14 @@ ACE_Bounded_Cached_Connect_Strategy::ACE_Bounded_Cached_Connect_Strategy { } -template -ACE_Bounded_Cached_Connect_Strategy::~ACE_Bounded_Cached_Connect_Strategy(void) +template +ACE_Bounded_Cached_Connect_Strategy::~ACE_Bounded_Cached_Connect_Strategy(void) { } -template +template int -ACE_Bounded_Cached_Connect_Strategy::find_or_create_svc_handler_i +ACE_Bounded_Cached_Connect_Strategy::find_or_create_svc_handler_i (SVC_HANDLER *&sh, const ACE_PEER_CONNECTOR_ADDR &remote_addr, ACE_Time_Value *timeout, @@ -727,7 +727,4 @@ ACE_ALLOC_HOOK_DEFINE(ACE_Bounded_Cached_Connect_Strategy) ACE_END_VERSIONED_NAMESPACE_DECL -#undef ACE_T1 -#undef ACE_T2 - #endif /* ACE_CACHED_CONNECT_STRATEGY_T_CPP */ diff --git a/dep/ACE_wrappers/ace/Cached_Connect_Strategy_T.h b/dep/acelite/ace/Cached_Connect_Strategy_T.h similarity index 100% rename from dep/ACE_wrappers/ace/Cached_Connect_Strategy_T.h rename to dep/acelite/ace/Cached_Connect_Strategy_T.h diff --git a/dep/ACE_wrappers/ace/Caching_Strategies_T.cpp b/dep/acelite/ace/Caching_Strategies_T.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Caching_Strategies_T.cpp rename to dep/acelite/ace/Caching_Strategies_T.cpp diff --git a/dep/ACE_wrappers/ace/Caching_Strategies_T.h b/dep/acelite/ace/Caching_Strategies_T.h similarity index 100% rename from dep/ACE_wrappers/ace/Caching_Strategies_T.h rename to dep/acelite/ace/Caching_Strategies_T.h diff --git a/dep/ACE_wrappers/ace/Caching_Strategies_T.inl b/dep/acelite/ace/Caching_Strategies_T.inl similarity index 100% rename from dep/ACE_wrappers/ace/Caching_Strategies_T.inl rename to dep/acelite/ace/Caching_Strategies_T.inl diff --git a/dep/ACE_wrappers/ace/Caching_Utility_T.cpp b/dep/acelite/ace/Caching_Utility_T.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Caching_Utility_T.cpp rename to dep/acelite/ace/Caching_Utility_T.cpp diff --git a/dep/ACE_wrappers/ace/Caching_Utility_T.h b/dep/acelite/ace/Caching_Utility_T.h similarity index 100% rename from dep/ACE_wrappers/ace/Caching_Utility_T.h rename to dep/acelite/ace/Caching_Utility_T.h diff --git a/dep/ACE_wrappers/ace/Capabilities.cpp b/dep/acelite/ace/Capabilities.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Capabilities.cpp rename to dep/acelite/ace/Capabilities.cpp diff --git a/dep/ACE_wrappers/ace/Capabilities.h b/dep/acelite/ace/Capabilities.h similarity index 100% rename from dep/ACE_wrappers/ace/Capabilities.h rename to dep/acelite/ace/Capabilities.h diff --git a/dep/ACE_wrappers/ace/Capabilities.inl b/dep/acelite/ace/Capabilities.inl similarity index 100% rename from dep/ACE_wrappers/ace/Capabilities.inl rename to dep/acelite/ace/Capabilities.inl diff --git a/dep/ACE_wrappers/ace/Cleanup.cpp b/dep/acelite/ace/Cleanup.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Cleanup.cpp rename to dep/acelite/ace/Cleanup.cpp diff --git a/dep/ACE_wrappers/ace/Cleanup.h b/dep/acelite/ace/Cleanup.h similarity index 100% rename from dep/ACE_wrappers/ace/Cleanup.h rename to dep/acelite/ace/Cleanup.h diff --git a/dep/ACE_wrappers/ace/Cleanup.inl b/dep/acelite/ace/Cleanup.inl similarity index 100% rename from dep/ACE_wrappers/ace/Cleanup.inl rename to dep/acelite/ace/Cleanup.inl diff --git a/dep/ACE_wrappers/ace/Cleanup_Strategies_T.cpp b/dep/acelite/ace/Cleanup_Strategies_T.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Cleanup_Strategies_T.cpp rename to dep/acelite/ace/Cleanup_Strategies_T.cpp diff --git a/dep/ACE_wrappers/ace/Cleanup_Strategies_T.h b/dep/acelite/ace/Cleanup_Strategies_T.h similarity index 100% rename from dep/ACE_wrappers/ace/Cleanup_Strategies_T.h rename to dep/acelite/ace/Cleanup_Strategies_T.h diff --git a/dep/ACE_wrappers/ace/Codecs.cpp b/dep/acelite/ace/Codecs.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Codecs.cpp rename to dep/acelite/ace/Codecs.cpp diff --git a/dep/ACE_wrappers/ace/Codecs.h b/dep/acelite/ace/Codecs.h similarity index 100% rename from dep/ACE_wrappers/ace/Codecs.h rename to dep/acelite/ace/Codecs.h diff --git a/dep/ACE_wrappers/ace/Codeset_IBM1047.cpp b/dep/acelite/ace/Codeset_IBM1047.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Codeset_IBM1047.cpp rename to dep/acelite/ace/Codeset_IBM1047.cpp diff --git a/dep/ACE_wrappers/ace/Codeset_IBM1047.h b/dep/acelite/ace/Codeset_IBM1047.h similarity index 100% rename from dep/ACE_wrappers/ace/Codeset_IBM1047.h rename to dep/acelite/ace/Codeset_IBM1047.h diff --git a/dep/ACE_wrappers/ace/Codeset_Registry.cpp b/dep/acelite/ace/Codeset_Registry.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Codeset_Registry.cpp rename to dep/acelite/ace/Codeset_Registry.cpp diff --git a/dep/ACE_wrappers/ace/Codeset_Registry.h b/dep/acelite/ace/Codeset_Registry.h similarity index 95% rename from dep/ACE_wrappers/ace/Codeset_Registry.h rename to dep/acelite/ace/Codeset_Registry.h index e72c435f8..28bd629ad 100644 --- a/dep/ACE_wrappers/ace/Codeset_Registry.h +++ b/dep/acelite/ace/Codeset_Registry.h @@ -3,7 +3,7 @@ /** * @file Codeset_Registry.h * - * $Id: Codeset_Registry.h 81348 2008-04-14 09:00:32Z johnnyw $ + * $Id: Codeset_Registry.h 93651 2011-03-28 08:49:11Z johnnyw $ * * ACE wrapper around access functions for the OSF's DCE codeset registry * access functions @@ -33,10 +33,6 @@ # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -#if defined (ACE_HAS_DCE_CODESET_REGISTRY) -#include /**/ -#endif /* ACE_HAS_DCE_CODESET_REGISTRY */ - ACE_BEGIN_VERSIONED_NAMESPACE_DECL class ACE_Export ACE_Codeset_Registry diff --git a/dep/ACE_wrappers/ace/Codeset_Registry.inl b/dep/acelite/ace/Codeset_Registry.inl similarity index 65% rename from dep/ACE_wrappers/ace/Codeset_Registry.inl rename to dep/acelite/ace/Codeset_Registry.inl index 4419cf5e7..a83481800 100644 --- a/dep/ACE_wrappers/ace/Codeset_Registry.inl +++ b/dep/acelite/ace/Codeset_Registry.inl @@ -3,7 +3,7 @@ /** * @file Codeset_Registry.inl * - * $Id: Codeset_Registry.inl 80826 2008-03-04 14:51:23Z wotte $ + * $Id: Codeset_Registry.inl 93651 2011-03-28 08:49:11Z johnnyw $ * * ACE wrapper around access functions for the OSF's DCE codeset registry * access functions - the inline functions either call the system supplied @@ -23,20 +23,10 @@ ACE_Codeset_Registry::locale_to_registry(const ACE_CString &locale, ACE_CDR::UShort *num_sets, ACE_CDR::UShort **char_sets) { -#if defined (ACE_HAS_DCE_CODESET_REGISTRY) - error_status_t result; - dce_cs_loc_to_rgy (locale.c_str(), - &codeset_id, - num_sets, - char_sets, - &result); - return (result == dce_cs_c_ok) ? 1 : 0; -#else return ACE_Codeset_Registry::locale_to_registry_i (locale, codeset_id, num_sets, char_sets); -#endif /* ACE_HAS_DCE_CODESET_REGISTRY */ } // based on a registry value, find the locale string and optional codeset @@ -48,23 +38,10 @@ ACE_Codeset_Registry::registry_to_locale(ACE_CDR::ULong codeset_id, ACE_CDR::UShort *num_sets, ACE_CDR::UShort **char_sets) { -#if defined (ACE_HAS_DCE_CODESET_REGISTRY) - error_status_t result; - char *buffer; - dce_cs_rgy_to_loc (codeset_id, - &buffer, - num_sets, - char_sets, - &result); - locale.set(buffer); // does a copy :-( - free (buffer); - return (result == dce_cs_c_ok) ? 1 : 0; -#else return ACE_Codeset_Registry::registry_to_locale_i (codeset_id, locale, num_sets, char_sets); -#endif /* ACE_HAS_DCE_CODESET_REGISTRY */ } // Tell if two codesets are compatible. This wraps the @@ -74,13 +51,7 @@ int ACE_Codeset_Registry::is_compatible (ACE_CDR::ULong codeset_id, ACE_CDR::ULong other) { -#if defined (ACE_HAS_DCE_CODESET_REGISTRY) - error_status_t result; - rpc_cs_char_set_compat_check(codeset_id,other,&result); - return (result == rpc_s_ok) ? 1 : 0; -#else return ACE_Codeset_Registry::is_compatible_i (codeset_id,other); -#endif /* ACE_HAS_DCE_CODESET_REGISTRY */ } // Return the max number of bytes required to represent a single character. @@ -89,14 +60,7 @@ ACE_INLINE ACE_CDR::Short ACE_Codeset_Registry::get_max_bytes (ACE_CDR::ULong codeset_id) { -#if defined (ACE_HAS_DCE_CODESET_REGISTRY) - error_status_t result; - short max_bytes; - rpc_rgy_get_max_bytes(codeset_id,&max_bytes,&result); - return (result == rpc_s_ok) ? (short)max_bytes : 0; -#else return ACE_Codeset_Registry::get_max_bytes_i (codeset_id); -#endif /* ACE_HAS_DCE_CODESET_REGISTRY */ } ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/ACE_wrappers/ace/Codeset_Registry_db.cpp b/dep/acelite/ace/Codeset_Registry_db.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Codeset_Registry_db.cpp rename to dep/acelite/ace/Codeset_Registry_db.cpp diff --git a/dep/ACE_wrappers/ace/Codeset_Symbols.h b/dep/acelite/ace/Codeset_Symbols.h similarity index 100% rename from dep/ACE_wrappers/ace/Codeset_Symbols.h rename to dep/acelite/ace/Codeset_Symbols.h diff --git a/dep/acelite/ace/Compression/ACE_Compression_export.h b/dep/acelite/ace/Compression/ACE_Compression_export.h new file mode 100644 index 000000000..119e14b16 --- /dev/null +++ b/dep/acelite/ace/Compression/ACE_Compression_export.h @@ -0,0 +1,58 @@ + +// -*- C++ -*- +// $Id: ACE_Compression_export.h 95545 2012-02-23 07:57:08Z johnnyw $ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl ACE_Compression +// ------------------------------ +#ifndef ACE_COMPRESSION_EXPORT_H +#define ACE_COMPRESSION_EXPORT_H + +#include "ace/config-all.h" + +#if defined (ACE_AS_STATIC_LIBS) && !defined (ACE_COMPRESSION_HAS_DLL) +# define ACE_COMPRESSION_HAS_DLL 0 +#endif /* ACE_AS_STATIC_LIBS && ACE_COMPRESSION_HAS_DLL */ + +#if !defined (ACE_COMPRESSION_HAS_DLL) +# define ACE_COMPRESSION_HAS_DLL 1 +#endif /* ! ACE_COMPRESSION_HAS_DLL */ + +#if defined (ACE_COMPRESSION_HAS_DLL) && (ACE_COMPRESSION_HAS_DLL == 1) +# if defined (ACE_COMPRESSION_BUILD_DLL) +# define ACE_Compression_Export ACE_Proper_Export_Flag +# define ACE_COMPRESSION_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define ACE_COMPRESSION_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* ACE_COMPRESSION_BUILD_DLL */ +# define ACE_Compression_Export ACE_Proper_Import_Flag +# define ACE_COMPRESSION_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define ACE_COMPRESSION_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* ACE_COMPRESSION_BUILD_DLL */ +#else /* ACE_COMPRESSION_HAS_DLL == 1 */ +# define ACE_Compression_Export +# define ACE_COMPRESSION_SINGLETON_DECLARATION(T) +# define ACE_COMPRESSION_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* ACE_COMPRESSION_HAS_DLL == 1 */ + +// Set ACE_COMPRESSION_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (ACE_COMPRESSION_NTRACE) +# if (ACE_NTRACE == 1) +# define ACE_COMPRESSION_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define ACE_COMPRESSION_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !ACE_COMPRESSION_NTRACE */ + +#if (ACE_COMPRESSION_NTRACE == 1) +# define ACE_COMPRESSION_TRACE(X) +#else /* (ACE_COMPRESSION_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define ACE_COMPRESSION_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (ACE_COMPRESSION_NTRACE == 1) */ + +#endif /* ACE_COMPRESSION_EXPORT_H */ + +// End of auto generated file. diff --git a/dep/acelite/ace/Compression/Compressor.cpp b/dep/acelite/ace/Compression/Compressor.cpp new file mode 100644 index 000000000..86d1a1f3d --- /dev/null +++ b/dep/acelite/ace/Compression/Compressor.cpp @@ -0,0 +1,63 @@ +// $Id: Compressor.cpp 95556 2012-02-24 09:14:51Z johnnyw $ + +#include "Compressor.h" + +#if !defined (__ACE_INLINE__) +#include "Compressor.inl" +#endif /* __ACE_INLINE__ */ + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +ACE_Compressor::ACE_Compressor( ACE_CompressorId compressor_id, + ACE_UINT32 compression_level ) + : compressor_id_ (compressor_id) + , compression_level_ (compression_level) + , compressed_bytes_ (0) + , uncompressed_bytes_ (0) +{} + +ACE_Compressor::~ACE_Compressor () +{ +} + +ACE_UINT64 +ACE_Compressor::compressed_bytes(void) const +{ + ACE_GUARD_RETURN( ACE_SYNCH_MUTEX, ace_mon, this->mutex_, 0 ); + return this->compressed_bytes_; +} + +ACE_UINT64 +ACE_Compressor::uncompressed_bytes(void) const +{ + ACE_GUARD_RETURN( ACE_SYNCH_MUTEX, ace_mon, this->mutex_, 0 ); + return this->uncompressed_bytes_; +} + +void +ACE_Compressor::reset_stats(void) +{ + ACE_GUARD( ACE_SYNCH_MUTEX, ace_mon, this->mutex_ ); + this->compressed_bytes_ = 0; + this->uncompressed_bytes_ = 0; +} + +void +ACE_Compressor::update_stats(ACE_UINT64 uncompressed_bytes, ACE_UINT64 compressed_bytes) +{ + ACE_GUARD( ACE_SYNCH_MUTEX, ace_mon, this->mutex_ ); + this->compressed_bytes_ += compressed_bytes; + this->uncompressed_bytes_ += uncompressed_bytes; +} + +float +ACE_Compressor::compression_ratio(void) const +{ + ACE_GUARD_RETURN( ACE_SYNCH_MUTEX, ace_mon, this->mutex_, 0.0f ); + if (this->uncompressed_bytes_ > 0) { + return static_cast(this->compressed_bytes_) / this->uncompressed_bytes_; + } + return 0.0f; +} + +ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/acelite/ace/Compression/Compressor.h b/dep/acelite/ace/Compression/Compressor.h new file mode 100644 index 000000000..eb71167a5 --- /dev/null +++ b/dep/acelite/ace/Compression/Compressor.h @@ -0,0 +1,137 @@ +// -*- C++ -*- +//============================================================================= +/** + * @file Compressor.h + * + * $Id: Compressor.h + * + * @author ACE version by + * @author Derek Dominish + */ +//============================================================================= + +#ifndef ACE_COMPRESSOR_H +#define ACE_COMPRESSOR_H + +#include /**/ "ace/pre.h" + +#include /**/ "ACE_Compression_export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "ace/Guard_T.h" +#include "ace/Thread_Mutex.h" +#include "ace/Synch_Traits.h" +#include "ace/Copy_Disabled.h" + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +/** + * CompressorId from OMG Compression::CompressorId + * see $(TAO_ROOT)/tao/Compression.pidl + */ +enum ACE_CompressorId +{ + ACE_COMPRESSORID_NONE = 0, + ACE_COMPRESSORID_GZIP = 1, + ACE_COMPRESSORID_PKZIP = 2, + ACE_COMPRESSORID_BZIP2 = 3, + ACE_COMPRESSORID_ZLIB = 4, + ACE_COMPRESSORID_LZMA = 5, + ACE_COMPRESSORID_LZO = 6, + ACE_COMPRESSORID_RZIP = 7, + ACE_COMPRESSORID_7X = 8, + ACE_COMPRESSORID_XAR = 9, + ACE_COMPRESSORID_RLE = 10 +}; + +class ACE_Compression_Export ACE_Compressor : private ACE_Copy_Disabled +{ +public: + + ACE_CompressorId get_compressor_id(void) const; + + ACE_UINT32 get_compression_level(void) const; + + /** + * Compress the @a in_ptr buffer for @a in_len into the + * @a dest_ptr buffer with a maximum @a max_out_len. If the + * @a max_out_len is exhausted through the compress process + * then a value of -1 will be returned from the function, + * otherwise the return value will indicate the resultant + * @a out_ptr compressed buffer length. + * + * NOTE: it is advisable that the @max_out_len be slightly + * larger of the input @a in_len (i.e. x 1.1F) to cater + * for the possibility that a reduced compressed length + * is not possible. + */ + virtual ACE_UINT64 compress( const void *in_ptr, + ACE_UINT64 in_len, + void *out_ptr, + ACE_UINT64 max_out_len ) = 0; + + /** + * DeCompress the @a in_ptr buffer for @a in_len into the + * @a out_ptr buffer with a maximum @a max_out_len. If the + * @a max_out_len is exhausted during decompression + * then a value of -1 will be returned from the function, + * otherwise the return value will indicate the resultant + * @a out_ptr decompressed buffer length. + */ + virtual ACE_UINT64 decompress( const void *in_ptr, + ACE_UINT64 in_len, + void *out_ptr, + ACE_UINT64 max_out_len ) = 0; + + /** + * Return the current compressed bytes statistics counter. + */ + virtual ACE_UINT64 compressed_bytes(void) const; + + /** + * Return the current uncompressed bytes statistics counter. + */ + virtual ACE_UINT64 uncompressed_bytes(void) const; + + /** + * Return the current compression ratio statistics. + */ + virtual float compression_ratio(void) const; + + /** + * Reset the statistics to zero. + */ + virtual void reset_stats(void); + + virtual ~ACE_Compressor (void); + +protected: + ACE_Compressor(ACE_CompressorId compressor_id, + ACE_UINT32 compression_level = 0); // Must be inherited. + + virtual void update_stats( ACE_UINT64 uncompressed_bytes, + ACE_UINT64 compressed_bytes ); + +private: + ACE_CompressorId compressor_id_; + ACE_UINT32 compression_level_; + + // Ensure we can lock with imutability (i.e. const) + mutable ACE_SYNCH_MUTEX mutex_; + + ACE_UINT64 compressed_bytes_; + ACE_UINT64 uncompressed_bytes_; +}; + +ACE_END_VERSIONED_NAMESPACE_DECL + +#if defined (__ACE_INLINE__) +#include "Compressor.inl" +#endif /* __ACE_INLINE__ */ + +#include /**/ "ace/post.h" + +#endif // ACE_COMPRESSOR_H diff --git a/dep/acelite/ace/Compression/Compressor.inl b/dep/acelite/ace/Compression/Compressor.inl new file mode 100644 index 000000000..b9809018e --- /dev/null +++ b/dep/acelite/ace/Compression/Compressor.inl @@ -0,0 +1,18 @@ +// -*- C++ -*- +// $Id: Compressor.inl 95545 2012-02-23 07:57:08Z johnnyw $ + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +ACE_INLINE ACE_CompressorId +ACE_Compressor::get_compressor_id(void) const +{ + return this->compressor_id_; +} + +ACE_INLINE ACE_UINT32 +ACE_Compressor::get_compression_level(void) const +{ + return this->compression_level_; +} + +ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/acelite/ace/Compression/rle/ACE_RLECompression_export.h b/dep/acelite/ace/Compression/rle/ACE_RLECompression_export.h new file mode 100644 index 000000000..f03645808 --- /dev/null +++ b/dep/acelite/ace/Compression/rle/ACE_RLECompression_export.h @@ -0,0 +1,57 @@ +// -*- C++ -*- +// $Id: ACE_RLECompression_export.h 95545 2012-02-23 07:57:08Z johnnyw $ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl ACE_RLECompression +// ------------------------------ +#ifndef ACE_RLECOMPRESSION_EXPORT_H +#define ACE_RLECOMPRESSION_EXPORT_H + +#include "ace/config-all.h" + +#if defined (ACE_AS_STATIC_LIBS) && !defined (ACE_RLECOMPRESSION_HAS_DLL) +# define ACE_RLECOMPRESSION_HAS_DLL 0 +#endif /* ACE_AS_STATIC_LIBS && ACE_RLECOMPRESSION_HAS_DLL */ + +#if !defined (ACE_RLECOMPRESSION_HAS_DLL) +# define ACE_RLECOMPRESSION_HAS_DLL 1 +#endif /* ! ACE_RLECOMPRESSION_HAS_DLL */ + +#if defined (ACE_RLECOMPRESSION_HAS_DLL) && (ACE_RLECOMPRESSION_HAS_DLL == 1) +# if defined (ACE_RLECOMPRESSION_BUILD_DLL) +# define ACE_RLECompression_Export ACE_Proper_Export_Flag +# define ACE_RLECOMPRESSION_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define ACE_RLECOMPRESSION_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* ACE_RLECOMPRESSION_BUILD_DLL */ +# define ACE_RLECompression_Export ACE_Proper_Import_Flag +# define ACE_RLECOMPRESSION_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define ACE_RLECOMPRESSION_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* ACE_RLECOMPRESSION_BUILD_DLL */ +#else /* ACE_RLECOMPRESSION_HAS_DLL == 1 */ +# define ACE_RLECompression_Export +# define ACE_RLECOMPRESSION_SINGLETON_DECLARATION(T) +# define ACE_RLECOMPRESSION_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* ACE_RLECOMPRESSION_HAS_DLL == 1 */ + +// Set ACE_RLECOMPRESSION_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (ACE_RLECOMPRESSION_NTRACE) +# if (ACE_NTRACE == 1) +# define ACE_RLECOMPRESSION_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define ACE_RLECOMPRESSION_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !ACE_RLECOMPRESSION_NTRACE */ + +#if (ACE_RLECOMPRESSION_NTRACE == 1) +# define ACE_RLECOMPRESSION_TRACE(X) +#else /* (ACE_RLECOMPRESSION_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define ACE_RLECOMPRESSION_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (ACE_RLECOMPRESSION_NTRACE == 1) */ + +#endif /* ACE_RLECOMPRESSION_EXPORT_H */ + +// End of auto generated file. diff --git a/dep/acelite/ace/Compression/rle/RLECompressor.cpp b/dep/acelite/ace/Compression/rle/RLECompressor.cpp new file mode 100644 index 000000000..423d8a0f0 --- /dev/null +++ b/dep/acelite/ace/Compression/rle/RLECompressor.cpp @@ -0,0 +1,158 @@ +// $Id: RLECompressor.cpp 95560 2012-02-27 08:11:54Z johnnyw $ + +#include "RLECompressor.h" +#include "ace/OS_NS_string.h" + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +ACE_RLECompressor::ACE_RLECompressor(void) + : ACE_Compressor(ACE_COMPRESSORID_RLE) +{ +} + +ACE_RLECompressor::~ACE_RLECompressor(void) +{ +} + +ACE_UINT64 +ACE_RLECompressor::compress( const void *in_ptr, + ACE_UINT64 in_len, + void *out_ptr, + ACE_UINT64 max_out_len ) +{ + const ACE_UINT8 *in_p = static_cast(in_ptr); + ACE_UINT8 *out_p = static_cast(out_ptr); + + ACE_UINT64 src_len = in_len; // Save for stats + ACE_UINT64 out_len = 0; + ACE_UINT64 out_index = 0; + ACE_UINT64 out_base = 0; + + ACE_UINT32 run_count = 0; + ACE_UINT32 dup_count = 0; + + bool run_code = false; + + ACE_UINT8 nxt_byte, cur_byte; + + if (in_p && out_p) while (in_len-- > 0) { + + if (run_code) switch (run_count) { + + default: + + out_p[out_index = out_base] = ACE_UINT8(run_count++ | 0x80); + out_p[++out_index] = cur_byte = *in_p++; + + if (in_len ? cur_byte == (nxt_byte = *in_p) : true) { + continue; + } + + // Fall Through + + case 128: + + if (++out_index >= max_out_len) { + return ACE_UINT64(-1); // Output Exhausted + } else if (in_len == 0) { + continue; + } + + run_code = false; + out_p[out_base = out_index] = 0; + dup_count = run_count = 0; + continue; + } + + switch (run_count) { + + case 128: + + if (++out_index >= max_out_len) { + return ACE_UINT64(-1); // Output Exhausted + } + out_p[out_base = out_index] = 0; + dup_count = run_count = 0; + + // Fall Through + + default : + + cur_byte = *in_p++; + + if (in_len > 0) { + if (cur_byte == (nxt_byte = *in_p)) { + if (dup_count++ == 1) { + if (run_count >= dup_count) { + out_p[out_base] = static_cast(run_count - dup_count); + out_base += run_count; + } + run_code = true; + run_count = dup_count - 1; + dup_count = 0; + out_p[out_index = out_base] = static_cast(run_count++ | 0x80); + break; + } + } else dup_count = 0; + } + out_p[out_base] = char(run_count++); + break; + } + + if (++out_index >= max_out_len) { + return ACE_UINT64(-1); // Output Exhausted + } + + out_p[out_index] = cur_byte; + } + + out_len = ++out_index; // Update our output length + + this->update_stats(src_len, out_len); + + return out_len; +} + +// Decompress using Run Length Encoding (RLE) +ACE_UINT64 +ACE_RLECompressor::decompress( const void *in_ptr, + ACE_UINT64 in_len, + void *out_ptr, + ACE_UINT64 max_out_len ) +{ + ACE_UINT64 out_len = 0; + + const ACE_UINT8 *in_p = static_cast(in_ptr); + ACE_UINT8 *out_p = static_cast(out_ptr); + + if (in_p && out_p) while(in_len-- > 0) { + + ACE_UINT8 cur_byte = *in_p++; + ACE_UINT32 cpy_len = ACE_UINT32((cur_byte & 0x7F) + 1); + + if (cpy_len > max_out_len) { + return ACE_UINT64(-1); // Output Exhausted + } else if ((cur_byte & 0x80) != 0) { // compressed + if (in_len-- > 0) { + ACE_OS::memset(out_p, *in_p++, cpy_len); + } else { + return ACE_UINT64(-1); // Output Exhausted + } + } else if (in_len >= cpy_len) { + ACE_OS::memcpy(out_p, in_p, cpy_len); + in_p += cpy_len; + in_len -= cpy_len; + } else { + return ACE_UINT64(-1); // Output Exhausted + } + + out_p += cpy_len; + max_out_len -= cpy_len; + out_len += cpy_len; + } + + return out_len; +} + +// Close versioned namespace, if enabled by the user. +ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/acelite/ace/Compression/rle/RLECompressor.h b/dep/acelite/ace/Compression/rle/RLECompressor.h new file mode 100644 index 000000000..7371d22bf --- /dev/null +++ b/dep/acelite/ace/Compression/rle/RLECompressor.h @@ -0,0 +1,108 @@ +// -*- C++ -*- +//============================================================================= +/** + * @file RLECompressor.h + * + * $Id: RLECompressor.h + * + * @author TAO version by + * @author Derek Dominish + * @author ACE version by + * @author Derek Dominish + * + * Run-length encoding (RLE) is a very simple form of data compression + * in which runs of data (that is, sequences in which the same data value + * occurs in many consecutive data elements) are stored as a single data + * value and count, rather than as the original run. This is most useful + * on data that contains many such runs: for example, simple graphic + * images such as icons, line drawings, and animations. It is not useful + * with files that don't have many runs as it could slightly increase the + * output size. + * ALGORITHM: This algorithm is an optimized version of the traditional + * RLE algorithm in that it behaves better with very few runs. + * + * With a run of a character where that run is >= 3 this is + * replaced with the repeat indicator 0X80 and then the repeat count OR'd + * over this ident. This repeat count is therefore has a maximum value + * of 127 (0x7F) which is to be interpreted as the next character repeated + * another 'repeat count' times (i.e. a maximum of 128 characters can be + * represented in any single dupal). if the repeat ident is not present + * then the count is to be interpreted as a copy of the next repeat count + * characters + 1. + * + * EXAMPLE: the following arbitary string of 67 bytes:- + * WWWWWWWWWWWWBWWWWWWWWWWWWBBBWWWWWWWWWWWWWWWWWWWWWWWWBWWWWWWWWWWWWWW + * will produce (as a HEXDUMP) of 14 bytes + * 8B 57 00 42 8B 57 82 42 97 57 00 42 8D 57 .W.B.W.B.W.B.W + */ +//============================================================================= + +#ifndef ACE_RLECOMPRESSOR_H +#define ACE_RLECOMPRESSOR_H + +#include /**/ "ace/pre.h" + +#include "ACE_RLECompression_export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "ace/Compression/Compressor.h" +#include "ace/Singleton.h" + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +class ACE_RLECompression_Export ACE_RLECompressor : public ACE_Compressor +{ +public: + /** + * Default constructor. Should use instance() to get global instance. + */ + ACE_RLECompressor(void); + + virtual ~ACE_RLECompressor(void); + + /** + * Compress the @a in_ptr buffer for @a in_len into the + * @a dest_ptr buffer with a maximum @a max_out_len using + * the Run Length Ecoding (RLE) algorithm. If the + * @a max_out_len is exhausted through the compress process + * then a value of -1 will be returned from the function, + * otherwise the return value will indicate the resultant + * @a out_ptr compressed buffer length. + * + * @note It is advisable that the @max_out_len be slightly + * larger of the input @a in_len (i.e. x 1.1F) to cater + * for the possibility that a reduced compressed length + * is not possible. + */ + virtual ACE_UINT64 compress( const void *in_ptr, + ACE_UINT64 in_len, + void *out_ptr, + ACE_UINT64 max_out_len ); + + /** + * DeCompress the @a in_ptr buffer for @a in_len into the + * @a out_ptr buffer with a maximum @a max_out_len using + * the Run Length Ecoding (RLE) algorithm. If the + * @a max_out_len is exhausted during decompression + * then a value of -1 will be returned from the function, + * otherwise the return value will indicate the resultant + * @a out_ptr decompressed buffer length. + */ + virtual ACE_UINT64 decompress( const void *in_ptr, + ACE_UINT64 in_len, + void *out_ptr, + ACE_UINT64 max_out_len ); +}; + +ACE_RLECOMPRESSION_SINGLETON_DECLARE(ACE_Singleton, ACE_RLECompressor, ACE_SYNCH_MUTEX); + +typedef class ACE_Singleton ACE_RLECompression; + +ACE_END_VERSIONED_NAMESPACE_DECL + +#include /**/ "ace/post.h" + +#endif // ACE_RLECOMPRESSOR_H diff --git a/dep/acelite/ace/Condition_Attributes.cpp b/dep/acelite/ace/Condition_Attributes.cpp new file mode 100644 index 000000000..49a02635b --- /dev/null +++ b/dep/acelite/ace/Condition_Attributes.cpp @@ -0,0 +1,21 @@ +/* -*- C++ -*- */ +/** + * @file Condition_Attributes.cpp + * + * $Id: Condition_Attributes.cpp 96061 2012-08-16 09:36:07Z mcorino $ + * + * Originally in Synch.cpp + * + * @author Douglas C. Schmidt + */ + +#include "ace/Condition_Thread_Mutex.h" +#include "ace/Condition_Attributes.h" + +#if defined (ACE_HAS_THREADS) + +#if !defined (__ACE_INLINE__) +#include "ace/Condition_Attributes.inl" +#endif /* __ACE_INLINE__ */ + +#endif /* ACE_HAS_THREADS */ diff --git a/dep/acelite/ace/Condition_Attributes.h b/dep/acelite/ace/Condition_Attributes.h new file mode 100644 index 000000000..0d53b2732 --- /dev/null +++ b/dep/acelite/ace/Condition_Attributes.h @@ -0,0 +1,101 @@ +// -*- C++ -*- + +//========================================================================== +/** + * @file Condition_Attributes.h + * + * $Id: Condition_Attributes.h 96077 2012-08-20 08:13:23Z johnnyw $ + * + * Moved from Synch.h. + * + * @author Douglas C. Schmidt + */ +//========================================================================== + +#ifndef ACE_CONDITION_ATTRIBUTES_H +#define ACE_CONDITION_ATTRIBUTES_H +#include /**/ "ace/pre.h" + +#include /**/ "ace/ACE_export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "ace/OS_NS_Thread.h" + +#if defined (ACE_HAS_THREADS) + +// ACE platform supports some form of threading. + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +class ACE_Export ACE_Condition_Attributes +{ +public: + /// Constructor + ACE_Condition_Attributes (int type = ACE_DEFAULT_SYNCH_TYPE); + + /// Destructor + ~ACE_Condition_Attributes (void); + + /// Accessor for retrieving the current attributes + const ACE_condattr_t& attributes (void) const; + +protected: + /// The attributes + ACE_condattr_t attributes_; + +private: + // = Prevent assignment and initialization. + void operator= (const ACE_Condition_Attributes &); + ACE_Condition_Attributes (const ACE_Condition_Attributes &); +}; + +template +class ACE_Condition_Attributes_T : public ACE_Condition_Attributes +{ +public: + /// Constructor + ACE_Condition_Attributes_T (int type = ACE_DEFAULT_SYNCH_TYPE) + : ACE_Condition_Attributes (type) + {} + + /// Destructor + ~ACE_Condition_Attributes_T (void) {} + +private: + // = Prevent assignment and initialization. + void operator= (const ACE_Condition_Attributes_T &); + ACE_Condition_Attributes_T (const ACE_Condition_Attributes_T &); +}; + +class ACE_Monotonic_Time_Policy; + +template <> +class ACE_Export ACE_Condition_Attributes_T + : public ACE_Condition_Attributes +{ +public: + /// Constructor + ACE_Condition_Attributes_T (int type = ACE_DEFAULT_SYNCH_TYPE); + + /// Destructor + ~ACE_Condition_Attributes_T (void); + +private: + // = Prevent assignment and initialization. + void operator= (const ACE_Condition_Attributes_T &); + ACE_Condition_Attributes_T (const ACE_Condition_Attributes_T &); +}; + +ACE_END_VERSIONED_NAMESPACE_DECL + +#if defined (__ACE_INLINE__) +#include "ace/Condition_Attributes.inl" +#endif /* __ACE_INLINE__ */ + +#endif /* !ACE_HAS_THREADS */ + +#include /**/ "ace/post.h" +#endif /* ACE_CONDITION_ATTRIBUTES_H */ diff --git a/dep/acelite/ace/Condition_Attributes.inl b/dep/acelite/ace/Condition_Attributes.inl new file mode 100644 index 000000000..12afde24c --- /dev/null +++ b/dep/acelite/ace/Condition_Attributes.inl @@ -0,0 +1,40 @@ +// -*- C++ -*- +// +// $Id: Condition_Attributes.inl 96096 2012-08-23 12:34:02Z johnnyw $ + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +ACE_INLINE +ACE_Condition_Attributes::ACE_Condition_Attributes (int type) +{ + (void) ACE_OS::condattr_init (this->attributes_, type); +} + +ACE_INLINE +ACE_Condition_Attributes::~ACE_Condition_Attributes (void) +{ + ACE_OS::condattr_destroy (this->attributes_); +} + +ACE_INLINE +const ACE_condattr_t& +ACE_Condition_Attributes::attributes (void) const +{ + return this->attributes_; +} + +ACE_INLINE +ACE_Condition_Attributes_T::ACE_Condition_Attributes_T (int type) + : ACE_Condition_Attributes (type) +{ +#if (defined (_POSIX_MONOTONIC_CLOCK) && !defined (ACE_LACKS_MONOTONIC_TIME)) || defined (ACE_HAS_CLOCK_GETTIME_MONOTONIC) + (void) ACE_OS::condattr_setclock (this->attributes_, CLOCK_MONOTONIC); +#endif +} + +ACE_INLINE +ACE_Condition_Attributes_T::~ACE_Condition_Attributes_T (void) +{ +} + +ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/ACE_wrappers/ace/Condition_Recursive_Thread_Mutex.cpp b/dep/acelite/ace/Condition_Recursive_Thread_Mutex.cpp similarity index 81% rename from dep/ACE_wrappers/ace/Condition_Recursive_Thread_Mutex.cpp rename to dep/acelite/ace/Condition_Recursive_Thread_Mutex.cpp index 1f357589f..74922b65c 100644 --- a/dep/ACE_wrappers/ace/Condition_Recursive_Thread_Mutex.cpp +++ b/dep/acelite/ace/Condition_Recursive_Thread_Mutex.cpp @@ -3,7 +3,7 @@ /** * @file Condition_Recursive_Thread_Mutex.cpp * - * $Id: Condition_Recursive_Thread_Mutex.cpp 89127 2010-02-22 19:58:18Z schmidt $ + * $Id: Condition_Recursive_Thread_Mutex.cpp 96077 2012-08-20 08:13:23Z johnnyw $ * * Originally in Synch.cpp * @@ -14,9 +14,7 @@ #if defined (ACE_HAS_THREADS) -#if defined (ACE_HAS_DUMP) -# include "ace/Log_Msg.h" -#endif /* ACE_HAS_DUMP */ +#include "ace/Log_Msg.h" ACE_BEGIN_VERSIONED_NAMESPACE_DECL @@ -49,7 +47,19 @@ ACE_Condition::~ACE_Condition (void) ACE_Condition::ACE_Condition (ACE_Recursive_Thread_Mutex &m) : mutex_ (m) { - ACE_OS::cond_init (&this->cond_); + if (ACE_OS::cond_init (&this->cond_) != 0) + ACE_ERROR ((LM_ERROR, ACE_TEXT ("%p\n"), + ACE_TEXT ("ACE_Condition::ACE_Condition"))); +} + +ACE_Condition::ACE_Condition (ACE_Recursive_Thread_Mutex &m, + const ACE_Condition_Attributes &attributes) + : mutex_ (m) +{ + if (ACE_OS::cond_init (&this->cond_, + const_cast (attributes.attributes ())) != 0) + ACE_ERROR ((LM_ERROR, ACE_TEXT ("%p\n"), + ACE_TEXT ("ACE_Condition::ACE_Condition"))); } int @@ -118,12 +128,6 @@ ACE_Condition::mutex (void) return this->mutex_; } -ACE_Condition_Recursive_Thread_Mutex::ACE_Condition_Recursive_Thread_Mutex ( - ACE_Recursive_Thread_Mutex &m) : - ACE_Condition (m) -{ -} - ACE_END_VERSIONED_NAMESPACE_DECL #endif /* ACE_HAS_THREADS */ diff --git a/dep/ACE_wrappers/ace/Condition_Recursive_Thread_Mutex.h b/dep/acelite/ace/Condition_Recursive_Thread_Mutex.h similarity index 86% rename from dep/ACE_wrappers/ace/Condition_Recursive_Thread_Mutex.h rename to dep/acelite/ace/Condition_Recursive_Thread_Mutex.h index ac3177da8..a313a7f7b 100644 --- a/dep/ACE_wrappers/ace/Condition_Recursive_Thread_Mutex.h +++ b/dep/acelite/ace/Condition_Recursive_Thread_Mutex.h @@ -4,7 +4,7 @@ /** * @file Condition_Recursive_Thread_Mutex.h * - * $Id: Condition_Recursive_Thread_Mutex.h 86731 2009-09-17 12:23:48Z johnnyw $ + * $Id: Condition_Recursive_Thread_Mutex.h 96073 2012-08-17 13:39:55Z mcorino $ * * Moved from Synch.h. * @@ -26,11 +26,11 @@ # include "ace/Null_Condition.h" #else /* ACE_HAS_THREADS */ #include "ace/Recursive_Thread_Mutex.h" +#include "ace/Condition_Attributes.h" +#include "ace/Condition_T.h" ACE_BEGIN_VERSIONED_NAMESPACE_DECL -template class ACE_Condition; - /** * @brief ACE_Condition template specialization written using * @a ACE_Recursive_Thread_Mutex. This allows threads to block until @@ -43,6 +43,10 @@ public: /// Initialize the condition variable with a recursive mutex. ACE_Condition (ACE_Recursive_Thread_Mutex &m); + /// Initialize the condition variable. + ACE_Condition (ACE_Recursive_Thread_Mutex &m, + const ACE_Condition_Attributes &attributes); + /// Implicitly destroy the condition variable. ~ACE_Condition (void); @@ -65,7 +69,7 @@ public: * Block on condition or until absolute time-of-day has passed. If * abstime == 0 use "blocking" wait() semantics on the recursive @a mutex * passed as a parameter (this is useful if you need to store the - * in shared memory). Else, if != 0 and the + * in shared memory). Else, if @a abstime != 0 and the * call times out before the condition is signaled returns -1 * and sets errno to ETIME. */ @@ -100,13 +104,7 @@ private: }; -class ACE_Export ACE_Condition_Recursive_Thread_Mutex - : public ACE_Condition -{ -public: - /// Initialize the condition variable with a recursive mutex. - ACE_Condition_Recursive_Thread_Mutex (ACE_Recursive_Thread_Mutex &m); -}; +typedef ACE_Condition ACE_Condition_Recursive_Thread_Mutex; ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/ACE_wrappers/ace/Condition_T.cpp b/dep/acelite/ace/Condition_T.cpp similarity index 82% rename from dep/ACE_wrappers/ace/Condition_T.cpp rename to dep/acelite/ace/Condition_T.cpp index ae75d9ff3..4b5e32d09 100644 --- a/dep/ACE_wrappers/ace/Condition_T.cpp +++ b/dep/acelite/ace/Condition_T.cpp @@ -1,4 +1,4 @@ -// $Id: Condition_T.cpp 89127 2010-02-22 19:58:18Z schmidt $ +// $Id: Condition_T.cpp 96077 2012-08-20 08:13:23Z johnnyw $ #ifndef ACE_CONDITION_T_CPP #define ACE_CONDITION_T_CPP @@ -15,6 +15,7 @@ #if !defined (__ACE_INLINE__) #include "ace/Condition_T.inl" +#include "ace/Time_Value.h" #endif /* __ACE_INLINE__ */ ACE_BEGIN_VERSIONED_NAMESPACE_DECL @@ -71,6 +72,22 @@ ACE_Condition::ACE_Condition (MUTEX &m, ACE_TEXT ("ACE_Condition::ACE_Condition"))); } +template +ACE_Condition::ACE_Condition (MUTEX &m, + const ACE_Condition_Attributes &attributes, + const ACE_TCHAR *name, + void *arg) + : mutex_ (m) +{ +// ACE_TRACE ("ACE_Condition::ACE_Condition"); + if (ACE_OS::cond_init (&this->cond_, + const_cast (attributes.attributes ()), + name, arg) != 0) + ACE_ERROR ((LM_ERROR, + ACE_TEXT ("%p\n"), + ACE_TEXT ("ACE_Condition::ACE_Condition"))); +} + template ACE_Condition::~ACE_Condition (void) { diff --git a/dep/ACE_wrappers/ace/Condition_T.h b/dep/acelite/ace/Condition_T.h similarity index 87% rename from dep/ACE_wrappers/ace/Condition_T.h rename to dep/acelite/ace/Condition_T.h index 936ce8217..cbae002d7 100644 --- a/dep/ACE_wrappers/ace/Condition_T.h +++ b/dep/acelite/ace/Condition_T.h @@ -4,7 +4,7 @@ /** * @file Condition_T.h * - * $Id: Condition_T.h 81462 2008-04-28 11:39:40Z johnnyw $ + * $Id: Condition_T.h 96061 2012-08-16 09:36:07Z mcorino $ * * Moved from Synch.h. * @@ -18,7 +18,7 @@ #include /**/ "ace/pre.h" #include "ace/OS_NS_Thread.h" -#include "ace/Lock.h" +#include "ace/Condition_Attributes.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once @@ -37,8 +37,8 @@ class ACE_Time_Value; * until shared data changes state. * * A condition variable enables threads to atomically block and - * test the condition under the protection of a mutual exclu- - * sion lock (mutex) until the condition is satisfied. That is, + * test the condition under the protection of a mutual exclusion + * lock (mutex) until the condition is satisfied. That is, * the mutex must have been held by the thread before calling * wait or signal on the condition. If the condition is false, * a thread blocks on a condition variable and atomically @@ -54,11 +54,16 @@ template class ACE_Condition { public: - // = Initialiation and termination methods. /// Initialize the condition variable. ACE_Condition (MUTEX &m, int type = USYNC_THREAD, const ACE_TCHAR *name = 0, void *arg = 0); + /// Initialize the condition variable. + ACE_Condition (MUTEX &m, + const ACE_Condition_Attributes &attributes, + const ACE_TCHAR *name = 0, + void *arg = 0); + /// Implicitly destroy the condition variable. ~ACE_Condition (void); @@ -67,7 +72,7 @@ public: * Block on condition, or until absolute time-of-day has passed. If * @a abstime == 0 use "blocking" semantics. Else, if @a abstime * != 0 and the call times out before the condition is signaled - * returns -1 and sets errno to ETIME. + * wait() returns -1 and sets errno to ETIME. */ int wait (const ACE_Time_Value *abstime); @@ -76,10 +81,10 @@ public: /** * Block on condition or until absolute time-of-day has passed. If - * abstime == 0 use "blocking" wait() semantics on the + * @a abstime == 0 use "blocking" wait() semantics on the @a mutex * passed as a parameter (this is useful if you need to store the - * in shared memory). Else, if != 0 and the - * call times out before the condition is signaled returns -1 + * in shared memory). Else, if @a abstime != 0 and the + * call times out before the condition is signaled wait() returns -1 * and sets errno to ETIME. */ int wait (MUTEX &mutex, const ACE_Time_Value *abstime = 0); diff --git a/dep/ACE_wrappers/ace/Condition_T.inl b/dep/acelite/ace/Condition_T.inl similarity index 100% rename from dep/ACE_wrappers/ace/Condition_T.inl rename to dep/acelite/ace/Condition_T.inl diff --git a/dep/acelite/ace/Condition_Thread_Mutex.cpp b/dep/acelite/ace/Condition_Thread_Mutex.cpp new file mode 100644 index 000000000..c3fcd7936 --- /dev/null +++ b/dep/acelite/ace/Condition_Thread_Mutex.cpp @@ -0,0 +1,124 @@ +/* -*- C++ -*- */ +/** + * @file Condition_Thread_Mutex.cpp + * + * $Id: Condition_Thread_Mutex.cpp 96077 2012-08-20 08:13:23Z johnnyw $ + * + * Originally in Synch.cpp + * + * @author Douglas C. Schmidt + */ + +#include "ace/Condition_Thread_Mutex.h" + +#if defined (ACE_HAS_THREADS) + +#if !defined (__ACE_INLINE__) +#include "ace/Condition_Thread_Mutex.inl" +#endif /* __ACE_INLINE__ */ + +#include "ace/Log_Msg.h" + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +ACE_ALLOC_HOOK_DEFINE(ACE_Condition) + +void +ACE_Condition::dump (void) const +{ +#if defined (ACE_HAS_DUMP) +// ACE_TRACE ("ACE_Condition::dump"); + + ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this)); + ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("\n"))); +#if defined (ACE_WIN32) + ACE_DEBUG ((LM_DEBUG, + ACE_TEXT ("waiters = %d\n"), + this->cond_.waiters ())); +#endif /* ACE_WIN32 */ + ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP)); +#endif /* ACE_HAS_DUMP */ +} + +ACE_Condition::ACE_Condition (ACE_Thread_Mutex &m, + const ACE_TCHAR *name, + void *arg) + : mutex_ (m), + removed_ (false) +{ +// ACE_TRACE ("ACE_Condition::ACE_Condition"); + if (ACE_OS::cond_init (&this->cond_, + (short) USYNC_THREAD, + name, + arg) != 0) + ACE_ERROR ((LM_ERROR, + ACE_TEXT ("%p\n"), + ACE_TEXT ("ACE_Condition::ACE_Condition"))); +} + +ACE_Condition::ACE_Condition (ACE_Thread_Mutex &m, + const ACE_Condition_Attributes &attributes, + const ACE_TCHAR *name, + void *arg) + : mutex_ (m), + removed_ (false) +{ +// ACE_TRACE ("ACE_Condition::ACE_Condition"); + if (ACE_OS::cond_init (&this->cond_, + const_cast (attributes.attributes ()), + name, arg) != 0) + ACE_ERROR ((LM_ERROR, ACE_TEXT ("%p\n"), + ACE_TEXT ("ACE_Condition::ACE_Condition"))); +} + +ACE_Condition::~ACE_Condition (void) +{ +// ACE_TRACE ("ACE_Condition::~ACE_Condition"); + this->remove (); +} + +// Peform an "alertable" timed wait. If the argument == 0 +// then we do a regular , else we do a timed wait for up to +// using the function. + +int +ACE_Condition::wait (void) +{ +// ACE_TRACE ("ACE_Condition::wait"); + return ACE_OS::cond_wait (&this->cond_, &this->mutex_.lock ()); +} + +int +ACE_Condition::wait (ACE_Thread_Mutex &mutex, + const ACE_Time_Value *abstime) +{ +// ACE_TRACE ("ACE_Condition::wait"); + return ACE_OS::cond_timedwait (&this->cond_, + &mutex.lock (), + const_cast (abstime)); +} + +int +ACE_Condition::wait (const ACE_Time_Value *abstime) +{ +// ACE_TRACE ("ACE_Condition::wait"); + return this->wait (this->mutex_, abstime); +} + +int +ACE_Condition::signal (void) +{ +// ACE_TRACE ("ACE_Condition::signal"); + return ACE_OS::cond_signal (&this->cond_); +} + +int +ACE_Condition::broadcast (void) +{ +// ACE_TRACE ("ACE_Condition::broadcast"); + return ACE_OS::cond_broadcast (&this->cond_); +} + +ACE_END_VERSIONED_NAMESPACE_DECL + +#endif /* ACE_HAS_THREADS */ diff --git a/dep/ACE_wrappers/ace/Condition_Thread_Mutex.h b/dep/acelite/ace/Condition_Thread_Mutex.h similarity index 71% rename from dep/ACE_wrappers/ace/Condition_Thread_Mutex.h rename to dep/acelite/ace/Condition_Thread_Mutex.h index 1ba866d2e..f39829cfe 100644 --- a/dep/ACE_wrappers/ace/Condition_Thread_Mutex.h +++ b/dep/acelite/ace/Condition_Thread_Mutex.h @@ -4,7 +4,7 @@ /** * @file Condition_Thread_Mutex.h * - * $Id: Condition_Thread_Mutex.h 92069 2010-09-28 11:38:59Z johnnyw $ + * $Id: Condition_Thread_Mutex.h 96073 2012-08-17 13:39:55Z mcorino $ * * Moved from Synch.h. * @@ -28,37 +28,17 @@ // ACE platform supports some form of threading. #include "ace/Thread_Mutex.h" +#include "ace/Condition_Attributes.h" +#include "ace/Condition_T.h" ACE_BEGIN_VERSIONED_NAMESPACE_DECL class ACE_Time_Value; -class ACE_Export ACE_Condition_Attributes -{ -public: - /// Constructor - ACE_Condition_Attributes (int type = ACE_DEFAULT_SYNCH_TYPE); - - /// Destructor - ~ACE_Condition_Attributes (void); - -private: - friend class ACE_Condition_Thread_Mutex; - - /// The attributes - ACE_condattr_t attributes_; - -private: - // = Prevent assignment and initialization. - void operator= (const ACE_Condition_Attributes &); - ACE_Condition_Attributes (const ACE_Condition_Attributes &); -}; - /** - * @class ACE_Condition_Thread_Mutex - * - * @brief ACE_Condition variable wrapper written using ACE_Mutexes This - * allows threads to block until shared data changes state. + * @brief ACE_Condition template specialization written using + * ACE_Mutexes. This allows threads to block until shared data + * changes state. * A condition variable enables threads to atomically block and * test the condition under the protection of a mutual exclu- * sion lock (mutex) until the condition is satisfied. That is, @@ -70,26 +50,24 @@ private: * up waiting threads by signaling the associated condition * variable. The waiting threads, upon awakening, reacquire the * mutex and re-evaluate the condition. - * - * This should be an instantiation of ACE_Condition but problems - * with compilers precludes this... */ -class ACE_Export ACE_Condition_Thread_Mutex +template <> +class ACE_Export ACE_Condition { public: /// Initialize the condition variable. - ACE_Condition_Thread_Mutex (ACE_Thread_Mutex &m, - const ACE_TCHAR *name = 0, - void *arg = 0); + ACE_Condition (ACE_Thread_Mutex &m, + const ACE_TCHAR *name = 0, + void *arg = 0); /// Initialize the condition variable. - ACE_Condition_Thread_Mutex (ACE_Thread_Mutex &m, - ACE_Condition_Attributes &attributes, - const ACE_TCHAR *name = 0, - void *arg = 0); + ACE_Condition (ACE_Thread_Mutex &m, + const ACE_Condition_Attributes &attributes, + const ACE_TCHAR *name = 0, + void *arg = 0); /// Implicitly destroy the condition variable. - ~ACE_Condition_Thread_Mutex (void); + ~ACE_Condition (void); /** * Explicitly destroy the condition variable. Note that only one @@ -111,7 +89,7 @@ public: /** * Block on condition or until absolute time-of-day has passed. If - * abstime == 0 use "blocking" wait() semantics on the + * abstime == 0 use "blocking" wait() semantics on the @a mutex * passed as a parameter (this is useful if you need to store the * in shared memory). Else, if @a abstime != 0 and the * call times out before the condition is signaled returns -1 @@ -150,10 +128,12 @@ protected: private: // = Prevent assignment and initialization. - void operator= (const ACE_Condition_Thread_Mutex &); - ACE_Condition_Thread_Mutex (const ACE_Condition_Thread_Mutex &); + void operator= (const ACE_Condition &); + ACE_Condition (const ACE_Condition &); }; +typedef ACE_Condition ACE_Condition_Thread_Mutex; + ACE_END_VERSIONED_NAMESPACE_DECL #if defined (__ACE_INLINE__) diff --git a/dep/ACE_wrappers/ace/Condition_Thread_Mutex.inl b/dep/acelite/ace/Condition_Thread_Mutex.inl similarity index 61% rename from dep/ACE_wrappers/ace/Condition_Thread_Mutex.inl rename to dep/acelite/ace/Condition_Thread_Mutex.inl index 712a8be02..76cbc82ea 100644 --- a/dep/ACE_wrappers/ace/Condition_Thread_Mutex.inl +++ b/dep/acelite/ace/Condition_Thread_Mutex.inl @@ -1,25 +1,13 @@ // -*- C++ -*- // -// $Id: Condition_Thread_Mutex.inl 92069 2010-09-28 11:38:59Z johnnyw $ +// $Id: Condition_Thread_Mutex.inl 96061 2012-08-16 09:36:07Z mcorino $ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_INLINE -ACE_Condition_Attributes::ACE_Condition_Attributes (int type) -{ - (void) ACE_OS::condattr_init (this->attributes_, type); -} - -ACE_INLINE -ACE_Condition_Attributes::~ACE_Condition_Attributes (void) -{ - ACE_OS::condattr_destroy (this->attributes_); -} - ACE_INLINE int -ACE_Condition_Thread_Mutex::remove (void) +ACE_Condition::remove (void) { -// ACE_TRACE ("ACE_Condition_Thread_Mutex::remove"); +// ACE_TRACE ("ACE_Condition::remove"); // is called in a loop if the condition variable is // BUSY. This avoids a condition where a condition is signaled and @@ -44,9 +32,9 @@ ACE_Condition_Thread_Mutex::remove (void) } ACE_INLINE ACE_Thread_Mutex & -ACE_Condition_Thread_Mutex::mutex (void) +ACE_Condition::mutex (void) { -// ACE_TRACE ("ACE_Condition_Thread_Mutex::mutex"); +// ACE_TRACE ("ACE_Condition::mutex"); return this->mutex_; } diff --git a/dep/ACE_wrappers/ace/Configuration.cpp b/dep/acelite/ace/Configuration.cpp similarity index 99% rename from dep/ACE_wrappers/ace/Configuration.cpp rename to dep/acelite/ace/Configuration.cpp index 4e0a1749e..85bbf1ca0 100644 --- a/dep/ACE_wrappers/ace/Configuration.cpp +++ b/dep/acelite/ace/Configuration.cpp @@ -1,4 +1,4 @@ -// $Id: Configuration.cpp 91688 2010-09-09 11:21:50Z johnnyw $ +// $Id: Configuration.cpp 92828 2010-12-08 09:38:57Z mcorino $ #include "ace/Configuration.h" #include "ace/Auto_Ptr.h" #include "ace/SString.h" @@ -1632,7 +1632,7 @@ ACE_Configuration_Heap::remove_section (const ACE_Configuration_Section_Key& key // Now remove subkey from parent key ACE_Configuration_ExtId SubSExtId (sub_section); - SUBSECTION_HASH::ENTRY* subsection_entry; + SUBSECTION_HASH::ENTRY* subsection_entry = 0; if (((SUBSECTION_HASH*)ParentIntId.section_hash_map_)-> find (SubSExtId, subsection_entry)) return -1; diff --git a/dep/ACE_wrappers/ace/Configuration.h b/dep/acelite/ace/Configuration.h similarity index 100% rename from dep/ACE_wrappers/ace/Configuration.h rename to dep/acelite/ace/Configuration.h diff --git a/dep/ACE_wrappers/ace/Configuration.inl b/dep/acelite/ace/Configuration.inl similarity index 100% rename from dep/ACE_wrappers/ace/Configuration.inl rename to dep/acelite/ace/Configuration.inl diff --git a/dep/ACE_wrappers/ace/Configuration_Import_Export.cpp b/dep/acelite/ace/Configuration_Import_Export.cpp old mode 100755 new mode 100644 similarity index 97% rename from dep/ACE_wrappers/ace/Configuration_Import_Export.cpp rename to dep/acelite/ace/Configuration_Import_Export.cpp index f4d1ec235..15d869b8a --- a/dep/ACE_wrappers/ace/Configuration_Import_Export.cpp +++ b/dep/acelite/ace/Configuration_Import_Export.cpp @@ -1,4 +1,4 @@ -// $Id: Configuration_Import_Export.cpp 84565 2009-02-23 08:20:39Z johnnyw $ +// $Id: Configuration_Import_Export.cpp 96017 2012-08-08 22:18:09Z mitza $ #include "ace/Configuration_Import_Export.h" #include "ace/OS_Errno.h" @@ -138,7 +138,8 @@ ACE_Registry_ImpExp::import_config (const ACE_TCHAR* filename) // number type ACE_TCHAR* endptr = 0; unsigned long value = ACE_OS::strtoul (end + 6, &endptr, 16); - if (config_.set_integer_value (section, name, value)) + if (config_.set_integer_value (section, name, + static_cast (value))) { ACE_OS::fclose (in); delete [] buffer; @@ -411,13 +412,6 @@ ACE_Ini_ImpExp::import_config (const ACE_TCHAR* filename) if (!in) return -1; - // MaNGOS addition: Try read utf8 header and skip it if exist for support utf8 format file - ACE_UINT32 utf8header = 0; - fgets((char*)&utf8header, 4, in); // Try read header - if (utf8header != ACE_UINT32(0x00BFBBEF)) // If not found - fseek(in, 0, SEEK_SET); // Reset read position - // MaNGOS addition - end - // @@ Make this a dynamic size! ACE_TCHAR buffer[4096]; ACE_Configuration_Section_Key section; diff --git a/dep/ACE_wrappers/ace/Configuration_Import_Export.h b/dep/acelite/ace/Configuration_Import_Export.h similarity index 93% rename from dep/ACE_wrappers/ace/Configuration_Import_Export.h rename to dep/acelite/ace/Configuration_Import_Export.h index e93544bee..9995d095d 100644 --- a/dep/ACE_wrappers/ace/Configuration_Import_Export.h +++ b/dep/acelite/ace/Configuration_Import_Export.h @@ -4,7 +4,7 @@ /** * @file Configuration_Import_Export.h * - * $Id: Configuration_Import_Export.h 80826 2008-03-04 14:51:23Z wotte $ + * $Id: Configuration_Import_Export.h 93359 2011-02-11 11:33:12Z mcorino $ * * @author Jerry D. Odenwelder Jr. * Chris Hafey @@ -83,12 +83,12 @@ private: * using the Win32 Registry file export format. This format looks like * [Section] * "key"="String Data" - * "key"=dword: numeric data in hexidecimal format + * "key"=dword: numeric data in hexadecimal format * "key"=hex: binary data * * @todo * - Add dynamic buffer when importing. currently it will not allow - * importing of values greater than a fixed ammount (4096 bytes) + * importing of values greater than a fixed amount (4096 bytes) * */ class ACE_Export ACE_Registry_ImpExp : public ACE_Config_ImpExp_Base @@ -101,7 +101,7 @@ public: virtual ~ACE_Registry_ImpExp (void); /** - * Imports the configuration database from filename. + * Imports the configuration database from @a filename. * No existing data is removed. */ virtual int import_config (const ACE_TCHAR* filename); @@ -149,7 +149,7 @@ private: * Justification = left_justified * * The caller can then retrieve the string with the regular - * function and convert the string to the + * get_string_value() function and convert the string to the * desired data type. * * @todo @@ -157,7 +157,7 @@ private: * - Strings with embedded quotes " cause the import to fail * - Importing/exporting for values in the root section does not work * - Add dynamic buffer when importing. currently it will not allow - * importing of values greater than a fixed ammount (4096 bytes) + * importing of values greater than a fixed amount (4096 bytes) */ class ACE_Export ACE_Ini_ImpExp : public ACE_Config_ImpExp_Base { @@ -173,7 +173,7 @@ public: virtual ~ACE_Ini_ImpExp (void); /** - * Imports the configuration database from filename. + * Imports the configuration database from @a filename. * No existing data is removed. */ virtual int import_config (const ACE_TCHAR* filename); diff --git a/dep/ACE_wrappers/ace/Connection_Recycling_Strategy.cpp b/dep/acelite/ace/Connection_Recycling_Strategy.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Connection_Recycling_Strategy.cpp rename to dep/acelite/ace/Connection_Recycling_Strategy.cpp diff --git a/dep/ACE_wrappers/ace/Connection_Recycling_Strategy.h b/dep/acelite/ace/Connection_Recycling_Strategy.h similarity index 100% rename from dep/ACE_wrappers/ace/Connection_Recycling_Strategy.h rename to dep/acelite/ace/Connection_Recycling_Strategy.h diff --git a/dep/ACE_wrappers/ace/Connector.cpp b/dep/acelite/ace/Connector.cpp similarity index 99% rename from dep/ACE_wrappers/ace/Connector.cpp rename to dep/acelite/ace/Connector.cpp index 3a1edfc88..a8399608c 100644 --- a/dep/ACE_wrappers/ace/Connector.cpp +++ b/dep/acelite/ace/Connector.cpp @@ -1,4 +1,4 @@ -// $Id: Connector.cpp 91527 2010-08-27 15:03:31Z shuston $ +// $Id: Connector.cpp 93433 2011-02-23 10:34:01Z vzykov $ #ifndef ACE_CONNECTOR_CPP #define ACE_CONNECTOR_CPP @@ -829,7 +829,7 @@ ACE_Strategy_Connector::open else if (this->creation_strategy_ == 0) { ACE_NEW_RETURN (this->creation_strategy_, - CREATION_STRATEGY, + CREATION_STRATEGY (0, r), -1); this->delete_creation_strategy_ = true; } @@ -887,7 +887,8 @@ ACE_Strategy_Connector::ACE_Strategy_Connecto ACE_Connect_Strategy *conn_s, ACE_Concurrency_Strategy *con_s, int flags) - : creation_strategy_ (0), + : base_type (reactor), + creation_strategy_ (0), delete_creation_strategy_ (false), connect_strategy_ (0), delete_connect_strategy_ (false), diff --git a/dep/ACE_wrappers/ace/Connector.h b/dep/acelite/ace/Connector.h similarity index 100% rename from dep/ACE_wrappers/ace/Connector.h rename to dep/acelite/ace/Connector.h diff --git a/dep/ACE_wrappers/ace/Containers.cpp b/dep/acelite/ace/Containers.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Containers.cpp rename to dep/acelite/ace/Containers.cpp diff --git a/dep/ACE_wrappers/ace/Containers.h b/dep/acelite/ace/Containers.h similarity index 100% rename from dep/ACE_wrappers/ace/Containers.h rename to dep/acelite/ace/Containers.h diff --git a/dep/ACE_wrappers/ace/Containers.inl b/dep/acelite/ace/Containers.inl similarity index 100% rename from dep/ACE_wrappers/ace/Containers.inl rename to dep/acelite/ace/Containers.inl diff --git a/dep/ACE_wrappers/ace/Containers_T.cpp b/dep/acelite/ace/Containers_T.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Containers_T.cpp rename to dep/acelite/ace/Containers_T.cpp diff --git a/dep/ACE_wrappers/ace/Containers_T.h b/dep/acelite/ace/Containers_T.h similarity index 100% rename from dep/ACE_wrappers/ace/Containers_T.h rename to dep/acelite/ace/Containers_T.h diff --git a/dep/ACE_wrappers/ace/Containers_T.inl b/dep/acelite/ace/Containers_T.inl similarity index 100% rename from dep/ACE_wrappers/ace/Containers_T.inl rename to dep/acelite/ace/Containers_T.inl diff --git a/dep/ACE_wrappers/ace/Copy_Disabled.cpp b/dep/acelite/ace/Copy_Disabled.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Copy_Disabled.cpp rename to dep/acelite/ace/Copy_Disabled.cpp diff --git a/dep/ACE_wrappers/ace/Copy_Disabled.h b/dep/acelite/ace/Copy_Disabled.h similarity index 100% rename from dep/ACE_wrappers/ace/Copy_Disabled.h rename to dep/acelite/ace/Copy_Disabled.h diff --git a/dep/acelite/ace/Countdown_Time.h b/dep/acelite/ace/Countdown_Time.h new file mode 100644 index 000000000..b63228d60 --- /dev/null +++ b/dep/acelite/ace/Countdown_Time.h @@ -0,0 +1,36 @@ +// -*- C++ -*- + +//============================================================================= +/** + * @file Countdown_Time.h + * + * $Id: Countdown_Time.h 95332 2011-12-15 11:09:41Z mcorino $ + * + * @author Douglas C. Schmidt + * @author Irfan Pyarali + */ +//============================================================================= + +#ifndef ACE_COUNTDOWN_TIME_H +#define ACE_COUNTDOWN_TIME_H + +#include /**/ "ace/pre.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "ace/Countdown_Time_T.h" + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +// The following typedef is here for ease of use and backward +// compatibility. +typedef ACE_Countdown_Time_T + ACE_Countdown_Time; + +ACE_END_VERSIONED_NAMESPACE_DECL + +#include /**/ "ace/post.h" + +#endif /* ACE_COUNTDOWN_TIME_H */ diff --git a/dep/acelite/ace/Countdown_Time_T.cpp b/dep/acelite/ace/Countdown_Time_T.cpp new file mode 100644 index 000000000..fd9a46662 --- /dev/null +++ b/dep/acelite/ace/Countdown_Time_T.cpp @@ -0,0 +1,65 @@ +// $Id: Countdown_Time_T.cpp 95332 2011-12-15 11:09:41Z mcorino $ + +#ifndef ACE_COUNTDOWN_TIME_T_CPP +#define ACE_COUNTDOWN_TIME_T_CPP + +#include "ace/Countdown_Time_T.h" + +#if !defined (__ACE_INLINE__) +#include "ace/Countdown_Time_T.inl" +#endif /* __ACE_INLINE__ */ + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +template ACE_INLINE +ACE_Countdown_Time_T::ACE_Countdown_Time_T (ACE_Time_Value *max_wait_time, + TIME_POLICY const & time_policy) + : time_policy_ (time_policy), + max_wait_time_ (max_wait_time), + stopped_ (false) +{ + this->start (); +} + +template ACE_INLINE +ACE_Countdown_Time_T::~ACE_Countdown_Time_T (void) +{ + this->stop (); +} + +template ACE_INLINE void +ACE_Countdown_Time_T::start (void) +{ + if (this->max_wait_time_ != 0) + { + this->start_time_ = this->time_policy_ (); + this->stopped_ = false; + } +} + +template ACE_INLINE void +ACE_Countdown_Time_T::stop (void) +{ + if (this->max_wait_time_ != 0 && !this->stopped_) + { + ACE_Time_Value const elapsed_time = + this->time_policy_ () - this->start_time_; + + if (elapsed_time >= ACE_Time_Value::zero && + *this->max_wait_time_ > elapsed_time) + { + *this->max_wait_time_ -= elapsed_time; + } + else + { + // Used all of timeout. + *this->max_wait_time_ = ACE_Time_Value::zero; + // errno = ETIME; + } + this->stopped_ = true; + } +} + +ACE_END_VERSIONED_NAMESPACE_DECL + +#endif /* ACE_COUNTDOWN_TIME_T_CPP */ diff --git a/dep/ACE_wrappers/ace/Countdown_Time.h b/dep/acelite/ace/Countdown_Time_T.h similarity index 62% rename from dep/ACE_wrappers/ace/Countdown_Time.h rename to dep/acelite/ace/Countdown_Time_T.h index b9c9a467f..74de8f27e 100644 --- a/dep/ACE_wrappers/ace/Countdown_Time.h +++ b/dep/acelite/ace/Countdown_Time_T.h @@ -2,16 +2,16 @@ //============================================================================= /** - * @file Countdown_Time.h + * @file Countdown_Time_T.h * - * $Id: Countdown_Time.h 85365 2009-05-18 08:27:42Z johnnyw $ + * $Id: Countdown_Time_T.h 95345 2011-12-15 19:46:06Z johnnyw $ * * @author Douglas C. Schmidt */ //============================================================================= -#ifndef ACE_COUNTDOWN_TIME_H -#define ACE_COUNTDOWN_TIME_H +#ifndef ACE_COUNTDOWN_TIME_T_H +#define ACE_COUNTDOWN_TIME_T_H #include /**/ "ace/pre.h" @@ -22,6 +22,7 @@ #endif /* ACE_LACKS_PRAGMA_ONCE */ #include "ace/Time_Value.h" +#include "ace/Time_Policy.h" #include "ace/Copy_Disabled.h" ACE_BEGIN_VERSIONED_NAMESPACE_DECL @@ -35,15 +36,17 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL * time the stop() method is called the @c max_wait_time is * updated. */ -class ACE_Export ACE_Countdown_Time : private ACE_Copy_Disabled +template +class ACE_Countdown_Time_T : private ACE_Copy_Disabled { public: /// Cache the @a max_wait_time and call @c start(). - ACE_Countdown_Time (ACE_Time_Value *max_wait_time); + ACE_Countdown_Time_T (ACE_Time_Value *max_wait_time, + TIME_POLICY const & time_policy = TIME_POLICY()); /// Destructor, makes sure the max_wait_time that got passed as pointer /// to the constructor is updated with the time elapsed. - ~ACE_Countdown_Time (void); + ~ACE_Countdown_Time_T (void); /// Cache the current time and enter a start state. void start (void); @@ -59,7 +62,14 @@ public: /// Returns true if we've already been stopped, else false. bool stopped (void) const; + /// Allows applications to control how the timer queue gets the time + /// of day. + void set_time_policy(TIME_POLICY const & time_policy); + private: + /// The policy to return the current time of day + TIME_POLICY time_policy_; + /// Maximum time we were willing to wait. ACE_Time_Value *max_wait_time_; @@ -75,7 +85,16 @@ ACE_END_VERSIONED_NAMESPACE_DECL #include /**/ "ace/post.h" #if defined (__ACE_INLINE__) -#include "ace/Countdown_Time.inl" +#include "ace/Countdown_Time_T.inl" #endif /* __ACE_INLINE__ */ -#endif /* ACE_COUNTDOWN_TIME_H */ +#if defined (ACE_TEMPLATES_REQUIRE_SOURCE) +#include "ace/Countdown_Time_T.cpp" +#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */ + +#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) +#pragma implementation ("Countdown_Time_T.cpp") +#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ + + +#endif /* ACE_COUNTDOWN_TIME_T_H */ diff --git a/dep/acelite/ace/Countdown_Time_T.inl b/dep/acelite/ace/Countdown_Time_T.inl new file mode 100644 index 000000000..3d6e7a2f7 --- /dev/null +++ b/dep/acelite/ace/Countdown_Time_T.inl @@ -0,0 +1,26 @@ +// -*- C++ -*- +// +// $Id: Countdown_Time_T.inl 95332 2011-12-15 11:09:41Z mcorino $ + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +template ACE_INLINE bool +ACE_Countdown_Time_T::stopped (void) const +{ + return stopped_; +} + +template ACE_INLINE void +ACE_Countdown_Time_T::update (void) +{ + this->stop (); + this->start (); +} + +template ACE_INLINE void +ACE_Countdown_Time_T::set_time_policy(TIME_POLICY const & time_policy) +{ + this->time_policy_ = time_policy; +} + +ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/ACE_wrappers/ace/DEV.cpp b/dep/acelite/ace/DEV.cpp similarity index 100% rename from dep/ACE_wrappers/ace/DEV.cpp rename to dep/acelite/ace/DEV.cpp diff --git a/dep/ACE_wrappers/ace/DEV.h b/dep/acelite/ace/DEV.h similarity index 100% rename from dep/ACE_wrappers/ace/DEV.h rename to dep/acelite/ace/DEV.h diff --git a/dep/ACE_wrappers/ace/DEV.inl b/dep/acelite/ace/DEV.inl similarity index 100% rename from dep/ACE_wrappers/ace/DEV.inl rename to dep/acelite/ace/DEV.inl diff --git a/dep/ACE_wrappers/ace/DEV_Addr.cpp b/dep/acelite/ace/DEV_Addr.cpp similarity index 100% rename from dep/ACE_wrappers/ace/DEV_Addr.cpp rename to dep/acelite/ace/DEV_Addr.cpp diff --git a/dep/ACE_wrappers/ace/DEV_Addr.h b/dep/acelite/ace/DEV_Addr.h similarity index 100% rename from dep/ACE_wrappers/ace/DEV_Addr.h rename to dep/acelite/ace/DEV_Addr.h diff --git a/dep/ACE_wrappers/ace/DEV_Addr.inl b/dep/acelite/ace/DEV_Addr.inl similarity index 100% rename from dep/ACE_wrappers/ace/DEV_Addr.inl rename to dep/acelite/ace/DEV_Addr.inl diff --git a/dep/ACE_wrappers/ace/DEV_Connector.cpp b/dep/acelite/ace/DEV_Connector.cpp similarity index 100% rename from dep/ACE_wrappers/ace/DEV_Connector.cpp rename to dep/acelite/ace/DEV_Connector.cpp diff --git a/dep/ACE_wrappers/ace/DEV_Connector.h b/dep/acelite/ace/DEV_Connector.h similarity index 100% rename from dep/ACE_wrappers/ace/DEV_Connector.h rename to dep/acelite/ace/DEV_Connector.h diff --git a/dep/ACE_wrappers/ace/DEV_Connector.inl b/dep/acelite/ace/DEV_Connector.inl similarity index 100% rename from dep/ACE_wrappers/ace/DEV_Connector.inl rename to dep/acelite/ace/DEV_Connector.inl diff --git a/dep/ACE_wrappers/ace/DEV_IO.cpp b/dep/acelite/ace/DEV_IO.cpp similarity index 100% rename from dep/ACE_wrappers/ace/DEV_IO.cpp rename to dep/acelite/ace/DEV_IO.cpp diff --git a/dep/ACE_wrappers/ace/DEV_IO.h b/dep/acelite/ace/DEV_IO.h similarity index 100% rename from dep/ACE_wrappers/ace/DEV_IO.h rename to dep/acelite/ace/DEV_IO.h diff --git a/dep/ACE_wrappers/ace/DEV_IO.inl b/dep/acelite/ace/DEV_IO.inl similarity index 100% rename from dep/ACE_wrappers/ace/DEV_IO.inl rename to dep/acelite/ace/DEV_IO.inl diff --git a/dep/ACE_wrappers/ace/DLL.cpp b/dep/acelite/ace/DLL.cpp similarity index 100% rename from dep/ACE_wrappers/ace/DLL.cpp rename to dep/acelite/ace/DLL.cpp diff --git a/dep/ACE_wrappers/ace/DLL.h b/dep/acelite/ace/DLL.h similarity index 81% rename from dep/ACE_wrappers/ace/DLL.h rename to dep/acelite/ace/DLL.h index 20d333db8..4b1251eb7 100644 --- a/dep/ACE_wrappers/ace/DLL.h +++ b/dep/acelite/ace/DLL.h @@ -4,7 +4,7 @@ /** * @file DLL.h * - * $Id: DLL.h 91064 2010-07-12 10:11:24Z johnnyw $ + * $Id: DLL.h 95913 2012-06-21 17:14:36Z johnnyw $ * * @author Kirthika Parameswaran */ @@ -88,24 +88,37 @@ public: /** * This method opens and dynamically links a specified DLL. - * @param dll_name The filename or path of the DLL to load. - * If a filename is given to @c open(), the @c ACE::ldfind() is used - * to locate DLLs via the following algorithms: (1) DLL filename - * expansion: @c ACE::ldfind() determines the name of the DLL by - * adding the appropriate prefix and suffix, e.g., it adds the @c lib - * prefix and @c .so suffix for Solaris and the @c .dll suffix for - * Windows and (2) DLL search path: @c ACE::ldfind() will also search - * for the designated DLL using the platform's DLL search path - * environment variable, e.g., it searches for DLLs using @c - * LD_LIBRARY_PATH on many UNIX systems and @c PATH on Windows. + * @param dll_name The filename or path of the DLL to load. ACE will + * attempt to apply the platform's standard library/DLL prefixes + * and suffixes, allowing a simple, unadorned name to be passed + * regardless of platform. The set of name transforms is listed + * below. A @i decorator is a platform's name designator for a debug + * vs release build. For example, on Windows it is usually "d". + * @li Prefix + name + decorator + suffix + * @li Prefix + name + suffix + * @li Name + decorator + suffix + * @li Name + suffix + * @li Name + * Note that the transforms with @i decorator will be avoided if + * ACE is built with the @c ACE_DISABLE_DEBUG_DLL_CHECK config macro. + * + * @Note There is another mode for locating library/DLL files that + * was used in old versions of ACE. The alternate method builds + * more combinations of pathname by combining the names transforms + * above with locations listed in the platform's standard "path" + * locations (e.g., @c LD_LIBRARY_PATH). It can be enabled by building + * ACE with the @c ACE_MUST_HELP_DLOPEN_SEARCH_PATH config macro. + * Use of this option is discouraged since it avoids the standard + * platform search options and security mechanisms. + * * @param open_mode Flags to alter the actions taken when loading the DLL. * The possible values are: * @li @c RTLD_LAZY (this the default): loads identifier symbols but * not the symbols for functions, which are loaded dynamically - * on-demand. + * on demand. * @li @c RTLD_NOW: performs all necessary relocations when * @a dll_name is first loaded - * @li RTLD_GLOBAL: makes symbols available for relocation + * @li @c RTLD_GLOBAL: makes symbols available for relocation * processing of any other DLLs. * @param close_handle_on_destruction Indicates whether or not the * close() method will be called to close an open DLL when this diff --git a/dep/ACE_wrappers/ace/DLL_Manager.cpp b/dep/acelite/ace/DLL_Manager.cpp similarity index 98% rename from dep/ACE_wrappers/ace/DLL_Manager.cpp rename to dep/acelite/ace/DLL_Manager.cpp index 23e6f8552..ebba7d64a 100644 --- a/dep/ACE_wrappers/ace/DLL_Manager.cpp +++ b/dep/acelite/ace/DLL_Manager.cpp @@ -1,4 +1,4 @@ -// $Id: DLL_Manager.cpp 91286 2010-08-05 09:04:31Z johnnyw $ +// $Id: DLL_Manager.cpp 95913 2012-06-21 17:14:36Z johnnyw $ #include "ace/DLL_Manager.h" @@ -415,10 +415,10 @@ ACE_DLL_Handle::get_dll_names (const ACE_TCHAR *dll_name, // 3. Build the combinations to try for this platform. // Try these combinations: - // - name with decorator and platform's suffix appended (if not supplied) - // - name with platform's suffix appended (if not supplied) // - name with platform's dll prefix (if it has one) and suffix // - name with platform's dll prefix, decorator, and suffix. + // - name with decorator and platform's suffix appended (if not supplied) + // - name with platform's suffix appended (if not supplied) // - name as originally given // We first try to find the file using the decorator so that when a // filename with and without decorator is used, we get the file with @@ -443,10 +443,10 @@ ACE_DLL_Handle::get_dll_names (const ACE_TCHAR *dll_name, size_t const j = try_names.size (); switch (i) { - case 0: // Name + decorator + suffix - case 1: // Name + suffix - case 2: // Prefix + name + decorator + suffix - case 3: // Prefix + name + suffix + case 0: // Prefix + name + decorator + suffix + case 1: // Prefix + name + suffix + case 2: // Name + decorator + suffix + case 3: // Name + suffix if ( base_suffix.length () > 0 #if !(defined (ACE_LD_DECORATOR_STR) && !defined (ACE_DISABLE_DEBUG_DLL_CHECK)) @@ -455,7 +455,7 @@ ACE_DLL_Handle::get_dll_names (const ACE_TCHAR *dll_name, ) break; try_this = base_dir; - if (i > 1) + if (i < 2) try_this += prefix; try_this += base_file; if (base_suffix.length () > 0) diff --git a/dep/ACE_wrappers/ace/DLL_Manager.h b/dep/acelite/ace/DLL_Manager.h similarity index 78% rename from dep/ACE_wrappers/ace/DLL_Manager.h rename to dep/acelite/ace/DLL_Manager.h index 716e32995..71d8f13c5 100644 --- a/dep/ACE_wrappers/ace/DLL_Manager.h +++ b/dep/acelite/ace/DLL_Manager.h @@ -4,7 +4,7 @@ /** * @file DLL_Manager.h * - * $Id: DLL_Manager.h 91064 2010-07-12 10:11:24Z johnnyw $ + * $Id: DLL_Manager.h 95913 2012-06-21 17:14:36Z johnnyw $ * * @author Don Hinton */ @@ -68,14 +68,44 @@ public: const ACE_TCHAR *dll_name () const; /** - * This method opens and dynamically links @a dll_name. The default - * mode is @c RTLD_LAZY, which loads identifier symbols but not the - * symbols for functions, which are loaded dynamically on-demand. - * Other supported modes include: @c RTLD_NOW, which performs all - * necessary relocations when @a dll_name is first loaded and - * @c RTLD_GLOBAL, which makes symbols available for relocation - * processing of any other DLLs. Returns -1 on failure and 0 on - * success. + * This method opens and dynamically links a library/DLL. + * @param dll_name The filename or path of the DLL to load. ACE will + * attempt to apply the platform's standard library/DLL prefixes + * and suffixes, allowing a simple, unadorned name to be passed + * regardless of platform. The set of name transforms is listed + * below. A @i decorator is a platform's name designator for a debug + * vs release build. For example, on Windows it is usually "d". + * @li Prefix + name + decorator + suffix + * @li Prefix + name + suffix + * @li Name + decorator + suffix + * @li Name + suffix + * @li Name + * Note that the transforms with @i decorator will be avoided if + * ACE is built with the @c ACE_DISABLE_DEBUG_DLL_CHECK config macro. + * + * @Note There is another mode for locating library/DLL files that + * was used in old versions of ACE. The alternate method builds + * more combinations of pathname by combining the names transforms + * above with locations listed in the platform's standard "path" + * locations (e.g., @c LD_LIBRARY_PATH). It can be enabled by building + * ACE with the @c ACE_MUST_HELP_DLOPEN_SEARCH_PATH config macro. + * Use of this option is discouraged since it avoids the standard + * platform search options and security mechanisms. + * + * @param open_mode Flags to alter the actions taken when loading the DLL. + * The possible values are: + * @li @c RTLD_LAZY (this the default): loads identifier symbols but + * not the symbols for functions, which are loaded dynamically + * on demand. + * @li @c RTLD_NOW: performs all necessary relocations when + * @a dll_name is first loaded + * @li @c RTLD_GLOBAL: makes symbols available for relocation + * processing of any other DLLs. + * @param handle If a value other than @c ACE_INVALID_HANDLE is supplied, + * this object is assigned the specified handle instead of attempting + * to open the specified @a dll_name. + * @retval -1 On failure + * @retval 0 On success. */ int open (const ACE_TCHAR *dll_name, int open_mode, diff --git a/dep/ACE_wrappers/ace/Date_Time.cpp b/dep/acelite/ace/Date_Time.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Date_Time.cpp rename to dep/acelite/ace/Date_Time.cpp diff --git a/dep/ACE_wrappers/ace/Date_Time.h b/dep/acelite/ace/Date_Time.h similarity index 100% rename from dep/ACE_wrappers/ace/Date_Time.h rename to dep/acelite/ace/Date_Time.h diff --git a/dep/ACE_wrappers/ace/Date_Time.inl b/dep/acelite/ace/Date_Time.inl similarity index 100% rename from dep/ACE_wrappers/ace/Date_Time.inl rename to dep/acelite/ace/Date_Time.inl diff --git a/dep/ACE_wrappers/ace/Default_Constants.h b/dep/acelite/ace/Default_Constants.h similarity index 99% rename from dep/ACE_wrappers/ace/Default_Constants.h rename to dep/acelite/ace/Default_Constants.h index c21c776ea..c15b7f9f4 100644 --- a/dep/ACE_wrappers/ace/Default_Constants.h +++ b/dep/acelite/ace/Default_Constants.h @@ -4,7 +4,7 @@ /** * @file Default_Constants.h * - * $Id: Default_Constants.h 91688 2010-09-09 11:21:50Z johnnyw $ + * $Id: Default_Constants.h 95517 2012-01-30 10:05:01Z sma $ * * @author Douglas C. Schmidt * @author Jesper S. M|ller @@ -392,7 +392,7 @@ /// Max udp packet size #if !defined (ACE_MAX_UDP_PACKET_SIZE) -#define ACE_MAX_UDP_PACKET_SIZE 65536 +#define ACE_MAX_UDP_PACKET_SIZE 65507 #endif /** diff --git a/dep/ACE_wrappers/ace/Dev_Poll_Reactor.cpp b/dep/acelite/ace/Dev_Poll_Reactor.cpp similarity index 98% rename from dep/ACE_wrappers/ace/Dev_Poll_Reactor.cpp rename to dep/acelite/ace/Dev_Poll_Reactor.cpp index 5f18064ec..011fe7883 100644 --- a/dep/ACE_wrappers/ace/Dev_Poll_Reactor.cpp +++ b/dep/acelite/ace/Dev_Poll_Reactor.cpp @@ -1,4 +1,4 @@ -// $Id: Dev_Poll_Reactor.cpp 92199 2010-10-11 11:58:35Z johnnyw $ +// $Id: Dev_Poll_Reactor.cpp 95738 2012-05-11 19:16:53Z shuston $ #include "ace/OS_NS_errno.h" #include "ace/Dev_Poll_Reactor.h" @@ -12,13 +12,13 @@ # include "ace/OS_NS_stropts.h" # if defined (ACE_HAS_DEV_POLL) -# if defined (linux) +# if defined (ACE_LINUX) # include /**/ # elif defined (HPUX_VERS) && HPUX_VERS < 1123 # include /**/ # else # include /**/ -# endif /* linux */ +# endif /* ACE_LINUX */ # endif /* ACE_HAS_DEV_POLL */ #if !defined (__ACE_INLINE__) @@ -39,6 +39,7 @@ #include "ace/Guard_T.h" #include "ace/OS_NS_string.h" #include "ace/OS_NS_sys_time.h" +#include "ace/Functor_T.h" ACE_BEGIN_VERSIONED_NAMESPACE_DECL @@ -801,12 +802,13 @@ ACE_Dev_Poll_Reactor::timer_queue (ACE_Timer_Queue *tq) { if (this->delete_timer_queue_) delete this->timer_queue_; + else if (this->timer_queue_) + this->timer_queue_->close (); this->timer_queue_ = tq; this->delete_timer_queue_ = false; return 0; - } ACE_Timer_Queue * @@ -858,6 +860,11 @@ ACE_Dev_Poll_Reactor::close (void) this->timer_queue_ = 0; this->delete_timer_queue_ = false; } + else if (this->timer_queue_) + { + this->timer_queue_->close (); + this->timer_queue_ = 0; + } if (this->notify_handler_ != 0) this->notify_handler_->close (); @@ -1007,7 +1014,10 @@ ACE_Dev_Poll_Reactor::handle_events (ACE_Time_Value *max_wait_time) return result; if (this->deactivated_) - return -1; + { + errno = ESHUTDOWN; + return -1; + } // Update the countdown to reflect time waiting for the mutex. ACE_MT (countdown.update ()); @@ -1087,37 +1097,10 @@ ACE_Dev_Poll_Reactor::dispatch (Token_Guard &guard) int ACE_Dev_Poll_Reactor::dispatch_timer_handler (Token_Guard &guard) { - if (this->timer_queue_->is_empty ()) - return 0; // Empty timer queue so cannot have any expired timers. + typedef ACE_Member_Function_Command Guard_Release; - // Get the current time - ACE_Time_Value cur_time (this->timer_queue_->gettimeofday () + - this->timer_queue_->timer_skew ()); - - // Look for a node in the timer queue whose timer <= the present - // time. - ACE_Timer_Node_Dispatch_Info info; - if (this->timer_queue_->dispatch_info (cur_time, info)) - { - const void *upcall_act = 0; - - // Preinvoke (handles refcount if needed, etc.) - this->timer_queue_->preinvoke (info, cur_time, upcall_act); - - // Release the token before expiration upcall. - guard.release_token (); - - // call the functor - this->timer_queue_->upcall (info, cur_time); - - // Postinvoke (undo refcount if needed, etc.) - this->timer_queue_->postinvoke (info, cur_time, upcall_act); - - // We have dispatched a timer - return 1; - } - - return 0; + Guard_Release release(guard, &Token_Guard::release_token); + return this->timer_queue_->expire_single(release); } #if 0 @@ -1950,7 +1933,7 @@ ACE_Dev_Poll_Reactor::resumable_handler (void) { // @@ Is this correct? - return 0; + return 1; } bool @@ -2395,8 +2378,8 @@ ACE_Dev_Poll_Reactor::mask_ops_i (ACE_HANDLE handle, // If a handle is closed, epoll removes it from the poll set // automatically - we may not know about it yet. If that's the // case, a mod operation will fail with ENOENT. Retry it as - // an add. - if (op == EPOLL_CTL_MOD && errno == ENOENT && + // an add. If it's any other failure, just fail outright. + if (op != EPOLL_CTL_MOD || errno != ENOENT || ::epoll_ctl (this->poll_fd_, EPOLL_CTL_ADD, handle, &epev) == -1) return -1; } diff --git a/dep/ACE_wrappers/ace/Dev_Poll_Reactor.h b/dep/acelite/ace/Dev_Poll_Reactor.h similarity index 99% rename from dep/ACE_wrappers/ace/Dev_Poll_Reactor.h rename to dep/acelite/ace/Dev_Poll_Reactor.h index 00ae4c218..b77d8b16a 100644 --- a/dep/ACE_wrappers/ace/Dev_Poll_Reactor.h +++ b/dep/acelite/ace/Dev_Poll_Reactor.h @@ -4,7 +4,7 @@ /** * @file Dev_Poll_Reactor.h * - * $Id: Dev_Poll_Reactor.h 91462 2010-08-25 20:29:17Z shuston $ + * $Id: Dev_Poll_Reactor.h 94549 2011-10-03 06:31:27Z johnnyw $ * * @c /dev/poll (or Linux @c sys_epoll) based Reactor implementation. * @@ -563,7 +563,7 @@ public: ACE_Event_Handler *event_handler, ACE_Reactor_Mask mask); - /// Register @a event_handler> with all the @a handles> in the @c + /// Register @a event_handler with all the @a handles in the @c /// Handle_Set. virtual int register_handler (const ACE_Handle_Set &handles, ACE_Event_Handler *event_handler, @@ -815,7 +815,7 @@ public: /// Wake up all threads waiting in the event loop. virtual void wakeup_all_threads (void); - /// Transfers ownership of Reactor_Impl to the new_owner. + /// Transfers ownership of Reactor_Impl to the @a new_owner. /** * @note There is no need to set the owner of the event loop for the * ACE_Dev_Poll_Reactor. Multiple threads may invoke the @@ -828,7 +828,7 @@ public: /** * @note There is no need to set the owner of the event loop for the * ACE_Dev_Poll_Reactor. Multiple threads may invoke the - * event loop simulataneously. As such, this method is a + * event loop simultaneously. As such, this method is a * no-op. */ virtual int owner (ACE_thread_t *owner); @@ -1123,7 +1123,7 @@ protected: /// 2) wait quietly for the token, not waking another thread. This /// is appropriate for cases where a thread wants to wait for and /// dispatch an event, not causing an existing waiter to relinquish the - /// token, and also queueing up behind other threads waiting to modify + /// token, and also queuing up behind other threads waiting to modify /// event records. int acquire_quietly (ACE_Time_Value *max_wait = 0); diff --git a/dep/ACE_wrappers/ace/Dev_Poll_Reactor.inl b/dep/acelite/ace/Dev_Poll_Reactor.inl similarity index 100% rename from dep/ACE_wrappers/ace/Dev_Poll_Reactor.inl rename to dep/acelite/ace/Dev_Poll_Reactor.inl diff --git a/dep/ACE_wrappers/ace/Dirent.cpp b/dep/acelite/ace/Dirent.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Dirent.cpp rename to dep/acelite/ace/Dirent.cpp diff --git a/dep/ACE_wrappers/ace/Dirent.h b/dep/acelite/ace/Dirent.h similarity index 100% rename from dep/ACE_wrappers/ace/Dirent.h rename to dep/acelite/ace/Dirent.h diff --git a/dep/ACE_wrappers/ace/Dirent.inl b/dep/acelite/ace/Dirent.inl similarity index 100% rename from dep/ACE_wrappers/ace/Dirent.inl rename to dep/acelite/ace/Dirent.inl diff --git a/dep/ACE_wrappers/ace/Dirent_Selector.cpp b/dep/acelite/ace/Dirent_Selector.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Dirent_Selector.cpp rename to dep/acelite/ace/Dirent_Selector.cpp diff --git a/dep/ACE_wrappers/ace/Dirent_Selector.h b/dep/acelite/ace/Dirent_Selector.h similarity index 100% rename from dep/ACE_wrappers/ace/Dirent_Selector.h rename to dep/acelite/ace/Dirent_Selector.h diff --git a/dep/ACE_wrappers/ace/Dirent_Selector.inl b/dep/acelite/ace/Dirent_Selector.inl similarity index 100% rename from dep/ACE_wrappers/ace/Dirent_Selector.inl rename to dep/acelite/ace/Dirent_Selector.inl diff --git a/dep/ACE_wrappers/ace/Dump.cpp b/dep/acelite/ace/Dump.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Dump.cpp rename to dep/acelite/ace/Dump.cpp diff --git a/dep/ACE_wrappers/ace/Dump.h b/dep/acelite/ace/Dump.h similarity index 98% rename from dep/ACE_wrappers/ace/Dump.h rename to dep/acelite/ace/Dump.h index 4ccd64adb..fc1eca06d 100644 --- a/dep/ACE_wrappers/ace/Dump.h +++ b/dep/acelite/ace/Dump.h @@ -4,7 +4,7 @@ /** * @file Dump.h * - * $Id: Dump.h 80826 2008-03-04 14:51:23Z wotte $ + * $Id: Dump.h 94034 2011-05-09 19:11:03Z johnnyw $ * * * A prototype mechanism that allow all ACE objects to be registered @@ -149,7 +149,7 @@ private: /// and we'll have to check for that). const ACE_Dumpable_Ptr dumper_; - Tuple (void) : dumper_(0) {} + Tuple (void) : this_ (0), dumper_(0) {} }; /// Singleton instance of this class. diff --git a/dep/ACE_wrappers/ace/Dump_T.cpp b/dep/acelite/ace/Dump_T.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Dump_T.cpp rename to dep/acelite/ace/Dump_T.cpp diff --git a/dep/ACE_wrappers/ace/Dump_T.h b/dep/acelite/ace/Dump_T.h similarity index 100% rename from dep/ACE_wrappers/ace/Dump_T.h rename to dep/acelite/ace/Dump_T.h diff --git a/dep/ACE_wrappers/ace/Dynamic.cpp b/dep/acelite/ace/Dynamic.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Dynamic.cpp rename to dep/acelite/ace/Dynamic.cpp diff --git a/dep/ACE_wrappers/ace/Dynamic.h b/dep/acelite/ace/Dynamic.h similarity index 100% rename from dep/ACE_wrappers/ace/Dynamic.h rename to dep/acelite/ace/Dynamic.h diff --git a/dep/ACE_wrappers/ace/Dynamic.inl b/dep/acelite/ace/Dynamic.inl similarity index 100% rename from dep/ACE_wrappers/ace/Dynamic.inl rename to dep/acelite/ace/Dynamic.inl diff --git a/dep/ACE_wrappers/ace/Dynamic_Message_Strategy.cpp b/dep/acelite/ace/Dynamic_Message_Strategy.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Dynamic_Message_Strategy.cpp rename to dep/acelite/ace/Dynamic_Message_Strategy.cpp diff --git a/dep/ACE_wrappers/ace/Dynamic_Message_Strategy.h b/dep/acelite/ace/Dynamic_Message_Strategy.h similarity index 95% rename from dep/ACE_wrappers/ace/Dynamic_Message_Strategy.h rename to dep/acelite/ace/Dynamic_Message_Strategy.h index 090ad3a8f..5ff102ef6 100644 --- a/dep/ACE_wrappers/ace/Dynamic_Message_Strategy.h +++ b/dep/acelite/ace/Dynamic_Message_Strategy.h @@ -4,7 +4,7 @@ /** * @file Dynamic_Message_Strategy.h * - * $Id: Dynamic_Message_Strategy.h 80826 2008-03-04 14:51:23Z wotte $ + * $Id: Dynamic_Message_Strategy.h 95839 2012-06-07 10:13:33Z johnnyw $ * * @author Douglas C. Schmidt */ @@ -43,17 +43,15 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL * priority field of 10 bits. This corresponds to the initial * values of the static class members. To provide a different * partitioning, assign a different set of values to the static - * class memebers before using the static member functions. + * class members before using the static member functions. */ class ACE_Export ACE_Dynamic_Message_Strategy { public: - // = Message priority status - - // Values are defined as bit flags so that status combinations may - // be specified easily. - + /// Message priority status + /// Values are defined as bit flags so that status combinations may + /// be specified easily. enum Priority_Status { /// Message can still make its deadline @@ -154,13 +152,13 @@ protected: class ACE_Export ACE_Deadline_Message_Strategy : public ACE_Dynamic_Message_Strategy { public: - /// Ctor, with all arguments defaulted. + /// Constructor with all arguments defaulted. ACE_Deadline_Message_Strategy (unsigned long static_bit_field_mask = 0x3FFUL, // 2^(10) - 1 unsigned long static_bit_field_shift = 10, // 10 low order bits unsigned long dynamic_priority_max = 0x3FFFFFUL, // 2^(22)-1 unsigned long dynamic_priority_offset = 0x200000UL); // 2^(22-1) - /// Virtual dtor. + /// Virtual destructor. virtual ~ACE_Deadline_Message_Strategy (void); /// Dynamic priority conversion function based on time to deadline. diff --git a/dep/ACE_wrappers/ace/Dynamic_Message_Strategy.inl b/dep/acelite/ace/Dynamic_Message_Strategy.inl similarity index 100% rename from dep/ACE_wrappers/ace/Dynamic_Message_Strategy.inl rename to dep/acelite/ace/Dynamic_Message_Strategy.inl diff --git a/dep/ACE_wrappers/ace/Dynamic_Service.cpp b/dep/acelite/ace/Dynamic_Service.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Dynamic_Service.cpp rename to dep/acelite/ace/Dynamic_Service.cpp diff --git a/dep/ACE_wrappers/ace/Dynamic_Service.h b/dep/acelite/ace/Dynamic_Service.h similarity index 100% rename from dep/ACE_wrappers/ace/Dynamic_Service.h rename to dep/acelite/ace/Dynamic_Service.h diff --git a/dep/ACE_wrappers/ace/Dynamic_Service.inl b/dep/acelite/ace/Dynamic_Service.inl similarity index 100% rename from dep/ACE_wrappers/ace/Dynamic_Service.inl rename to dep/acelite/ace/Dynamic_Service.inl diff --git a/dep/ACE_wrappers/ace/Dynamic_Service_Base.cpp b/dep/acelite/ace/Dynamic_Service_Base.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Dynamic_Service_Base.cpp rename to dep/acelite/ace/Dynamic_Service_Base.cpp diff --git a/dep/ACE_wrappers/ace/Dynamic_Service_Base.h b/dep/acelite/ace/Dynamic_Service_Base.h similarity index 100% rename from dep/ACE_wrappers/ace/Dynamic_Service_Base.h rename to dep/acelite/ace/Dynamic_Service_Base.h diff --git a/dep/ACE_wrappers/ace/Dynamic_Service_Dependency.cpp b/dep/acelite/ace/Dynamic_Service_Dependency.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Dynamic_Service_Dependency.cpp rename to dep/acelite/ace/Dynamic_Service_Dependency.cpp diff --git a/dep/ACE_wrappers/ace/Dynamic_Service_Dependency.h b/dep/acelite/ace/Dynamic_Service_Dependency.h similarity index 100% rename from dep/ACE_wrappers/ace/Dynamic_Service_Dependency.h rename to dep/acelite/ace/Dynamic_Service_Dependency.h diff --git a/dep/ACE_wrappers/ace/ETCL/ETCL_Constraint.cpp b/dep/acelite/ace/ETCL/ETCL_Constraint.cpp similarity index 100% rename from dep/ACE_wrappers/ace/ETCL/ETCL_Constraint.cpp rename to dep/acelite/ace/ETCL/ETCL_Constraint.cpp diff --git a/dep/ACE_wrappers/ace/ETCL/ETCL_Constraint.h b/dep/acelite/ace/ETCL/ETCL_Constraint.h similarity index 89% rename from dep/ACE_wrappers/ace/ETCL/ETCL_Constraint.h rename to dep/acelite/ace/ETCL/ETCL_Constraint.h index b2258978a..0762d1908 100644 --- a/dep/ACE_wrappers/ace/ETCL/ETCL_Constraint.h +++ b/dep/acelite/ace/ETCL/ETCL_Constraint.h @@ -4,7 +4,7 @@ /** * @file ETCL_Constraint.h * - * $Id: ETCL_Constraint.h 81620 2008-05-06 12:39:57Z parsons $ + * $Id: ETCL_Constraint.h 94030 2011-05-08 17:58:47Z johnnyw $ * * @author Carlos O'Ryan (coryan@cs.wustl.edu) * @author Jeff Parsons (j.parsons@vanderbilt.edu) @@ -177,10 +177,9 @@ private: class ACE_ETCL_Export ETCL_Union_Value : public ETCL_Constraint { public: - ETCL_Union_Value (void); ETCL_Union_Value (int sign, ETCL_Constraint *integer); - ETCL_Union_Value (ETCL_Constraint *string); + explicit ETCL_Union_Value (ETCL_Constraint *string = 0); virtual ~ETCL_Union_Value (void); int sign (void) const; @@ -198,9 +197,8 @@ private: class ACE_ETCL_Export ETCL_Union_Pos : public ETCL_Constraint { public: - ETCL_Union_Pos (void); - ETCL_Union_Pos (ETCL_Constraint *union_value, - ETCL_Constraint *component); + ETCL_Union_Pos (ETCL_Constraint *union_value = 0, + ETCL_Constraint *component = 0); virtual ~ETCL_Union_Pos (void); ETCL_Union_Value *union_value (void) const; @@ -216,9 +214,8 @@ private: class ACE_ETCL_Export ETCL_Component_Pos : public ETCL_Constraint { public: - ETCL_Component_Pos (void); - ETCL_Component_Pos (ETCL_Constraint *integer, - ETCL_Constraint *component); + ETCL_Component_Pos (ETCL_Constraint *integer = 0, + ETCL_Constraint *component = 0); virtual ~ETCL_Component_Pos (void); ETCL_Literal_Constraint *integer (void) const; @@ -234,9 +231,8 @@ private: class ACE_ETCL_Export ETCL_Component_Assoc : public ETCL_Constraint { public: - ETCL_Component_Assoc (void); - ETCL_Component_Assoc (ETCL_Constraint *identifier, - ETCL_Constraint *component); + ETCL_Component_Assoc (ETCL_Constraint *identifier = 0, + ETCL_Constraint *component = 0); virtual ~ETCL_Component_Assoc (void); ETCL_Identifier *identifier (void) const; @@ -252,9 +248,8 @@ private: class ACE_ETCL_Export ETCL_Component_Array : public ETCL_Constraint { public: - ETCL_Component_Array (void); - ETCL_Component_Array (ETCL_Constraint *integer, - ETCL_Constraint *component); + ETCL_Component_Array (ETCL_Constraint *integer = 0, + ETCL_Constraint *component = 0); virtual ~ETCL_Component_Array (void); ETCL_Literal_Constraint *integer (void) const; @@ -285,9 +280,8 @@ private: class ACE_ETCL_Export ETCL_Component : public ETCL_Constraint { public: - ETCL_Component (void); - ETCL_Component (ETCL_Constraint *identifier, - ETCL_Constraint *component); + ETCL_Component (ETCL_Constraint *identifier = 0, + ETCL_Constraint *component = 0); virtual ~ETCL_Component (void); ETCL_Identifier *identifier (void) const; @@ -303,8 +297,7 @@ private: class ACE_ETCL_Export ETCL_Dot : public ETCL_Constraint { public: - ETCL_Dot (void); - ETCL_Dot (ETCL_Constraint *component); + explicit ETCL_Dot (ETCL_Constraint *component = 0); virtual ~ETCL_Dot (void); ETCL_Constraint *component (void) const; @@ -318,8 +311,7 @@ private: class ACE_ETCL_Export ETCL_Eval : public ETCL_Constraint { public: - ETCL_Eval (void); - ETCL_Eval (ETCL_Constraint *component); + explicit ETCL_Eval (ETCL_Constraint *component = 0); virtual ~ETCL_Eval (void); ETCL_Constraint *component (void) const; @@ -333,8 +325,7 @@ private: class ACE_ETCL_Export ETCL_Default : public ETCL_Constraint { public: - ETCL_Default (void); - ETCL_Default (ETCL_Constraint *component); + explicit ETCL_Default (ETCL_Constraint *component = 0); virtual ~ETCL_Default (void); ETCL_Constraint *component (void) const; @@ -348,8 +339,7 @@ private: class ACE_ETCL_Export ETCL_Exist : public ETCL_Constraint { public: - ETCL_Exist (void); - ETCL_Exist (ETCL_Constraint *component); + explicit ETCL_Exist (ETCL_Constraint *component = 0); virtual ~ETCL_Exist (void); ETCL_Constraint *component (void) const; diff --git a/dep/ACE_wrappers/ace/ETCL/ETCL_Constraint.inl b/dep/acelite/ace/ETCL/ETCL_Constraint.inl similarity index 90% rename from dep/ACE_wrappers/ace/ETCL/ETCL_Constraint.inl rename to dep/acelite/ace/ETCL/ETCL_Constraint.inl index c608acc40..a56cf39aa 100644 --- a/dep/ACE_wrappers/ace/ETCL/ETCL_Constraint.inl +++ b/dep/acelite/ace/ETCL/ETCL_Constraint.inl @@ -1,5 +1,5 @@ // -*- C++ -*- -// $Id: ETCL_Constraint.inl 91813 2010-09-17 07:52:52Z johnnyw $ +// $Id: ETCL_Constraint.inl 95595 2012-03-07 13:33:25Z johnnyw $ // **************************************************************** @@ -26,10 +26,6 @@ ETCL_Identifier::value (void) const // **************************************************************** -ACE_INLINE -ETCL_Union_Value::ETCL_Union_Value (void) -{} - ACE_INLINE ETCL_Union_Value::ETCL_Union_Value (int sign, ETCL_Constraint *integer) @@ -69,10 +65,6 @@ ETCL_Union_Value::string (void) const // **************************************************************** -ACE_INLINE -ETCL_Union_Pos::ETCL_Union_Pos (void) -{} - ACE_INLINE ETCL_Union_Pos::ETCL_Union_Pos (ETCL_Constraint *union_value, ETCL_Constraint *component) @@ -96,15 +88,10 @@ ETCL_Union_Pos::component (void) const // **************************************************************** -ACE_INLINE -ETCL_Component_Pos::ETCL_Component_Pos (void) -{} - ACE_INLINE ETCL_Component_Pos::ETCL_Component_Pos ( ETCL_Constraint *integer, - ETCL_Constraint *component - ) + ETCL_Constraint *component) : component_ (component) { this->integer_ = @@ -125,15 +112,10 @@ ETCL_Component_Pos::component (void) const // **************************************************************** -ACE_INLINE -ETCL_Component_Assoc::ETCL_Component_Assoc (void) -{} - ACE_INLINE ETCL_Component_Assoc::ETCL_Component_Assoc ( ETCL_Constraint *identifier, - ETCL_Constraint *component - ) + ETCL_Constraint *component) : component_ (component) { this->identifier_ = @@ -154,15 +136,10 @@ ETCL_Component_Assoc::component (void) const // **************************************************************** -ACE_INLINE -ETCL_Component_Array::ETCL_Component_Array (void) -{} - ACE_INLINE ETCL_Component_Array::ETCL_Component_Array ( ETCL_Constraint *integer, - ETCL_Constraint *component - ) + ETCL_Constraint *component) : component_ (component) { this->integer_ = @@ -185,6 +162,7 @@ ETCL_Component_Array::component (void) const ACE_INLINE ETCL_Special::ETCL_Special (void) + : type_ (0) {} ACE_INLINE @@ -200,10 +178,6 @@ ETCL_Special::type (void) const // **************************************************************** -ACE_INLINE -ETCL_Component::ETCL_Component (void) -{} - ACE_INLINE ETCL_Component::ETCL_Component (ETCL_Constraint *identifier, ETCL_Constraint *component) @@ -227,10 +201,6 @@ ETCL_Component::component (void) const // **************************************************************** -ACE_INLINE -ETCL_Dot::ETCL_Dot (void) -{} - ACE_INLINE ETCL_Dot::ETCL_Dot (ETCL_Constraint *component) : component_ (component) @@ -245,10 +215,6 @@ ETCL_Dot::component (void) const // **************************************************************** -ACE_INLINE -ETCL_Eval::ETCL_Eval (void) -{} - ACE_INLINE ETCL_Eval::ETCL_Eval (ETCL_Constraint *component) : component_ (component) @@ -263,10 +229,6 @@ ETCL_Eval::component (void) const // **************************************************************** -ACE_INLINE -ETCL_Default::ETCL_Default (void) -{} - ACE_INLINE ETCL_Default::ETCL_Default (ETCL_Constraint *component) : component_ (component) @@ -281,10 +243,6 @@ ETCL_Default::component (void) const // **************************************************************** -ACE_INLINE -ETCL_Exist::ETCL_Exist (void) -{} - ACE_INLINE ETCL_Exist::ETCL_Exist (ETCL_Constraint *component) : component_ (component) diff --git a/dep/ACE_wrappers/ace/ETCL/ETCL_Constraint_Visitor.cpp b/dep/acelite/ace/ETCL/ETCL_Constraint_Visitor.cpp similarity index 100% rename from dep/ACE_wrappers/ace/ETCL/ETCL_Constraint_Visitor.cpp rename to dep/acelite/ace/ETCL/ETCL_Constraint_Visitor.cpp diff --git a/dep/ACE_wrappers/ace/ETCL/ETCL_Constraint_Visitor.h b/dep/acelite/ace/ETCL/ETCL_Constraint_Visitor.h similarity index 100% rename from dep/ACE_wrappers/ace/ETCL/ETCL_Constraint_Visitor.h rename to dep/acelite/ace/ETCL/ETCL_Constraint_Visitor.h diff --git a/dep/ACE_wrappers/ace/ETCL/ETCL_Interpreter.cpp b/dep/acelite/ace/ETCL/ETCL_Interpreter.cpp similarity index 100% rename from dep/ACE_wrappers/ace/ETCL/ETCL_Interpreter.cpp rename to dep/acelite/ace/ETCL/ETCL_Interpreter.cpp diff --git a/dep/ACE_wrappers/ace/ETCL/ETCL_Interpreter.h b/dep/acelite/ace/ETCL/ETCL_Interpreter.h similarity index 100% rename from dep/ACE_wrappers/ace/ETCL/ETCL_Interpreter.h rename to dep/acelite/ace/ETCL/ETCL_Interpreter.h diff --git a/dep/ACE_wrappers/ace/ETCL/ETCL_l.cpp b/dep/acelite/ace/ETCL/ETCL_l.cpp similarity index 98% rename from dep/ACE_wrappers/ace/ETCL/ETCL_l.cpp rename to dep/acelite/ace/ETCL/ETCL_l.cpp index b80b2a3eb..ed985de00 100644 --- a/dep/ACE_wrappers/ace/ETCL/ETCL_l.cpp +++ b/dep/acelite/ace/ETCL/ETCL_l.cpp @@ -2,7 +2,6 @@ /* A lexical scanner generated by flex */ /* Scanner skeleton version: - * $Id: ETCL_l.cpp 91730 2010-09-13 09:31:11Z johnnyw $ */ #define FLEX_SCANNER @@ -264,8 +263,6 @@ static void yy_flex_free YY_PROTO(( void * )); #define YY_AT_BOL() (yy_current_buffer->yy_at_bol) -//#define yywrap() 1 -//#define YY_SKIP_YYWRAP typedef unsigned char YY_CHAR; FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; typedef int yy_state_type; @@ -446,26 +443,20 @@ static char *yy_last_accepting_cpos; #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; -//#line 1 "ETCL/ETCL.ll" #define INITIAL 0 ACE_END_VERSIONED_NAMESPACE_DECL -//#line 4 "ETCL/ETCL.ll" -// $Id: ETCL_l.cpp 91730 2010-09-13 09:31:11Z johnnyw $ -// ======================================================================== -// -// = LIBRARY -// orbsvcs/ECTL -// -// = FILENAME -// ETCL.ll -// -// = AUTHOR -// Carlos O'Ryan based on previous work by -// Seth Widoff -// -// ======================================================================== +//============================================================================= +/** + * @file ETCL_l.cpp + * + * $Id: ETCL_l.cpp 93651 2011-03-28 08:49:11Z johnnyw $ + * + * @author Carlos O'Ryan based on previous work by Seth Widoff + */ +//============================================================================= + #include "ace/ETCL/ETCL_Interpreter.h" #include "ace/ETCL/ETCL_y.h" diff --git a/dep/ACE_wrappers/ace/ETCL/ETCL_y.cpp b/dep/acelite/ace/ETCL/ETCL_y.cpp similarity index 98% rename from dep/ACE_wrappers/ace/ETCL/ETCL_y.cpp rename to dep/acelite/ace/ETCL/ETCL_y.cpp index 27dd73e8d..880b6300d 100644 --- a/dep/ACE_wrappers/ace/ETCL/ETCL_y.cpp +++ b/dep/acelite/ace/ETCL/ETCL_y.cpp @@ -1,4 +1,3 @@ -// $Id: ETCL_y.cpp 91683 2010-09-09 09:07:49Z johnnyw $ /* A Bison parser, made from ETCL/ETCL.yy by GNU Bison version 1.28 */ @@ -49,22 +48,17 @@ #define ETCL_TYPE_ID 298 #define ETCL_REPOS_ID 299 -//#line 1 "ETCL/ETCL.yy" -// $Id: ETCL_y.cpp 91683 2010-09-09 09:07:49Z johnnyw $ -// ======================================================================== -// -// = LIBRARY -// ace/ETCL / Extended Trader Constraint Language parser. -// -// = FILENAME -// ETCL.yy -// -// = AUTHOR -// Carlos O'Ryan based on previous work by -// Seth Widoff -// -// ======================================================================== +//============================================================================= +/** + * @file ETCL_y.cpp + * + * $Id: ETCL_y.cpp 93651 2011-03-28 08:49:11Z johnnyw $ + * + * @author Carlos O'Ryan based on previous work by Seth Widoff + */ +//============================================================================= + #include "ace/ETCL/ETCL_y.h" #include "ace/ETCL/ETCL_Constraint.h" diff --git a/dep/ACE_wrappers/ace/ETCL/ETCL_y.h b/dep/acelite/ace/ETCL/ETCL_y.h similarity index 100% rename from dep/ACE_wrappers/ace/ETCL/ETCL_y.h rename to dep/acelite/ace/ETCL/ETCL_y.h diff --git a/dep/ACE_wrappers/ace/ETCL/ace_etcl_export.h b/dep/acelite/ace/ETCL/ace_etcl_export.h similarity index 100% rename from dep/ACE_wrappers/ace/ETCL/ace_etcl_export.h rename to dep/acelite/ace/ETCL/ace_etcl_export.h diff --git a/dep/ACE_wrappers/ace/ETCL/etcl_parser_export.h b/dep/acelite/ace/ETCL/etcl_parser_export.h similarity index 100% rename from dep/ACE_wrappers/ace/ETCL/etcl_parser_export.h rename to dep/acelite/ace/ETCL/etcl_parser_export.h diff --git a/dep/ACE_wrappers/ace/Encoding_Converter.cpp b/dep/acelite/ace/Encoding_Converter.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Encoding_Converter.cpp rename to dep/acelite/ace/Encoding_Converter.cpp diff --git a/dep/ACE_wrappers/ace/Encoding_Converter.h b/dep/acelite/ace/Encoding_Converter.h similarity index 100% rename from dep/ACE_wrappers/ace/Encoding_Converter.h rename to dep/acelite/ace/Encoding_Converter.h diff --git a/dep/ACE_wrappers/ace/Encoding_Converter_Factory.cpp b/dep/acelite/ace/Encoding_Converter_Factory.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Encoding_Converter_Factory.cpp rename to dep/acelite/ace/Encoding_Converter_Factory.cpp diff --git a/dep/ACE_wrappers/ace/Encoding_Converter_Factory.h b/dep/acelite/ace/Encoding_Converter_Factory.h similarity index 100% rename from dep/ACE_wrappers/ace/Encoding_Converter_Factory.h rename to dep/acelite/ace/Encoding_Converter_Factory.h diff --git a/dep/ACE_wrappers/ace/Env_Value_T.cpp b/dep/acelite/ace/Env_Value_T.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Env_Value_T.cpp rename to dep/acelite/ace/Env_Value_T.cpp diff --git a/dep/ACE_wrappers/ace/Env_Value_T.h b/dep/acelite/ace/Env_Value_T.h similarity index 98% rename from dep/ACE_wrappers/ace/Env_Value_T.h rename to dep/acelite/ace/Env_Value_T.h index c8b459b26..412baf935 100644 --- a/dep/ACE_wrappers/ace/Env_Value_T.h +++ b/dep/acelite/ace/Env_Value_T.h @@ -4,7 +4,7 @@ /** * @file Env_Value_T.h * - * $Id: Env_Value_T.h 91626 2010-09-07 10:59:20Z johnnyw $ + * $Id: Env_Value_T.h 92712 2010-11-25 12:22:13Z johnnyw $ * * Template to encapsulate getting a value from an environment variable * and using a supplied default value if not in the environment. @@ -45,7 +45,7 @@ public: /** * Default constructor which isn't bound to a specific environment * variable name or a default value. Before being useful it must - * 'd. + * open()'d. */ ACE_Env_Value (void); diff --git a/dep/ACE_wrappers/ace/Env_Value_T.inl b/dep/acelite/ace/Env_Value_T.inl similarity index 100% rename from dep/ACE_wrappers/ace/Env_Value_T.inl rename to dep/acelite/ace/Env_Value_T.inl diff --git a/dep/ACE_wrappers/ace/Event.cpp b/dep/acelite/ace/Event.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Event.cpp rename to dep/acelite/ace/Event.cpp diff --git a/dep/ACE_wrappers/ace/Event.h b/dep/acelite/ace/Event.h similarity index 100% rename from dep/ACE_wrappers/ace/Event.h rename to dep/acelite/ace/Event.h diff --git a/dep/ACE_wrappers/ace/Event.inl b/dep/acelite/ace/Event.inl similarity index 100% rename from dep/ACE_wrappers/ace/Event.inl rename to dep/acelite/ace/Event.inl diff --git a/dep/ACE_wrappers/ace/Event_Handler.cpp b/dep/acelite/ace/Event_Handler.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Event_Handler.cpp rename to dep/acelite/ace/Event_Handler.cpp diff --git a/dep/ACE_wrappers/ace/Event_Handler.h b/dep/acelite/ace/Event_Handler.h similarity index 100% rename from dep/ACE_wrappers/ace/Event_Handler.h rename to dep/acelite/ace/Event_Handler.h diff --git a/dep/ACE_wrappers/ace/Event_Handler.inl b/dep/acelite/ace/Event_Handler.inl similarity index 100% rename from dep/ACE_wrappers/ace/Event_Handler.inl rename to dep/acelite/ace/Event_Handler.inl diff --git a/dep/acelite/ace/Event_Handler_Handle_Timeout_Upcall.cpp b/dep/acelite/ace/Event_Handler_Handle_Timeout_Upcall.cpp new file mode 100644 index 000000000..b16679a11 --- /dev/null +++ b/dep/acelite/ace/Event_Handler_Handle_Timeout_Upcall.cpp @@ -0,0 +1,99 @@ +// $Id: Event_Handler_Handle_Timeout_Upcall.cpp 95586 2012-03-03 20:45:57Z johnnyw $ + +#include "ace/Event_Handler_Handle_Timeout_Upcall.h" +#include "ace/Reactor_Timer_Interface.h" +#include "ace/Abstract_Timer_Queue.h" + +#if !defined(__ACE_INLINE__) +# include "ace/Event_Handler_Handle_Timeout_Upcall.inl" +#endif /* __ACE_INLINE__ */ + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +ACE_Event_Handler_Handle_Timeout_Upcall:: +ACE_Event_Handler_Handle_Timeout_Upcall (void) : + requires_reference_counting_ (0) +{ +} + +ACE_Event_Handler_Handle_Timeout_Upcall:: +~ACE_Event_Handler_Handle_Timeout_Upcall (void) +{ +} + +int +ACE_Event_Handler_Handle_Timeout_Upcall:: +timeout (ACE_Timer_Queue &timer_queue, + ACE_Event_Handler *event_handler, + const void *act, + int recurring_timer, + const ACE_Time_Value &cur_time) +{ + int requires_reference_counting = 0; + + if (!recurring_timer) + { + requires_reference_counting = + event_handler->reference_counting_policy ().value () == + ACE_Event_Handler::Reference_Counting_Policy::ENABLED; + } + + // Upcall to the s handle_timeout method. + if (event_handler->handle_timeout (cur_time, act) == -1) + { + if (event_handler->reactor_timer_interface ()) + event_handler->reactor_timer_interface ()->cancel_timer (event_handler, 0); + else + timer_queue.cancel (event_handler, 0); // 0 means "call handle_close()". + } + + if (!recurring_timer && + requires_reference_counting) + { + event_handler->remove_reference (); + } + + return 0; +} + +int +ACE_Event_Handler_Handle_Timeout_Upcall:: +cancel_type (ACE_Timer_Queue &, + ACE_Event_Handler *event_handler, + int dont_call, + int &requires_reference_counting) +{ + requires_reference_counting = + event_handler->reference_counting_policy ().value () == + ACE_Event_Handler::Reference_Counting_Policy::ENABLED; + + // Upcall to the s handle_close method + if (dont_call == 0) + event_handler->handle_close (ACE_INVALID_HANDLE, + ACE_Event_Handler::TIMER_MASK); + + return 0; +} + +int +ACE_Event_Handler_Handle_Timeout_Upcall:: +deletion (ACE_Timer_Queue &timer_queue, + ACE_Event_Handler *event_handler, + const void *) +{ + int requires_reference_counting = 0; + + this->cancel_type (timer_queue, + event_handler, + 0, + requires_reference_counting); + + this->cancel_timer (timer_queue, + event_handler, + 0, + requires_reference_counting); + + return 0; +} + +ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/acelite/ace/Event_Handler_Handle_Timeout_Upcall.h b/dep/acelite/ace/Event_Handler_Handle_Timeout_Upcall.h new file mode 100644 index 000000000..0ce4a4dd9 --- /dev/null +++ b/dep/acelite/ace/Event_Handler_Handle_Timeout_Upcall.h @@ -0,0 +1,103 @@ +//$Id: Event_Handler_Handle_Timeout_Upcall.h 95334 2011-12-15 12:52:50Z msmit $ + +#ifndef ACE_EVENT_HANDLER_HANDLE_TIMEOUT_UPCALL_H +#define ACE_EVENT_HANDLER_HANDLE_TIMEOUT_UPCALL_H + +#include /**/ "ace/pre.h" + +/** + * @file Event_Handler_Handle_Timeout_Upcall.h + * + * @author Carlos O'Ryan + * + * Based on classes and files developed by Doug Schmidt, Darrell + * Brunsch, Irfan Pyarali and a cast of thousands. + */ + +#include "ace/Timer_Queuefwd.h" +#include "ace/Copy_Disabled.h" + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +class ACE_Time_Value; + +/** + * @class ACE_Event_Handler_Handle_Timeout_Upcall + * + * @brief Functor for Timer_Queues. + * + * This class implements the functor required by the Timer + * Queue to call on ACE_Event_Handlers. + */ +class ACE_Export ACE_Event_Handler_Handle_Timeout_Upcall + : private ACE_Copy_Disabled +{ +public: + // = Initialization and termination methods. + /// Constructor. + ACE_Event_Handler_Handle_Timeout_Upcall (void); + + /// Destructor. + ~ACE_Event_Handler_Handle_Timeout_Upcall (void); + + /// This method is called when a timer is registered. + int registration (ACE_Timer_Queue &timer_queue, + ACE_Event_Handler *handler, + const void *arg); + + /// This method is called before the timer expires. + int preinvoke (ACE_Timer_Queue &timer_queue, + ACE_Event_Handler *handler, + const void *arg, + int recurring_timer, + const ACE_Time_Value &cur_time, + const void *&upcall_act); + + /// This method is called when the timer expires. + int timeout (ACE_Timer_Queue &timer_queue, + ACE_Event_Handler *handler, + const void *arg, + int recurring_timer, + const ACE_Time_Value &cur_time); + + /// This method is called after the timer expires. + int postinvoke (ACE_Timer_Queue &timer_queue, + ACE_Event_Handler *handler, + const void *arg, + int recurring_timer, + const ACE_Time_Value &cur_time, + const void *upcall_act); + + /// This method is called when a handler is cancelled + int cancel_type (ACE_Timer_Queue &timer_queue, + ACE_Event_Handler *handler, + int dont_call, + int &requires_reference_counting); + + /// This method is called when a timer is cancelled + int cancel_timer (ACE_Timer_Queue &timer_queue, + ACE_Event_Handler *handler, + int dont_call, + int requires_reference_counting); + + /// This method is called when the timer queue is destroyed and + /// the timer is still contained in it + int deletion (ACE_Timer_Queue &timer_queue, + ACE_Event_Handler *handler, + const void *arg); + +private: + + /// Flag indicating that reference counting is required for this + /// event handler upcall. + int requires_reference_counting_; +}; + +ACE_END_VERSIONED_NAMESPACE_DECL + +#if defined(__ACE_INLINE__) +# include "ace/Event_Handler_Handle_Timeout_Upcall.inl" +#endif /* __ACE_INLINE__ */ + +#include /**/ "ace/post.h" +#endif /* ACE_EVENT_HANDLER_HANDLE_TIMEOUT_UPCALL_H */ diff --git a/dep/acelite/ace/Event_Handler_Handle_Timeout_Upcall.inl b/dep/acelite/ace/Event_Handler_Handle_Timeout_Upcall.inl new file mode 100644 index 000000000..f52a7206c --- /dev/null +++ b/dep/acelite/ace/Event_Handler_Handle_Timeout_Upcall.inl @@ -0,0 +1,71 @@ +// $Id: Event_Handler_Handle_Timeout_Upcall.inl 95336 2011-12-15 13:22:33Z msmit $ + +#include "ace/Event_Handler.h" + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +ACE_INLINE int +ACE_Event_Handler_Handle_Timeout_Upcall:: +registration (ACE_Timer_Queue &, + ACE_Event_Handler *event_handler, + const void *) +{ + event_handler->add_reference (); + return 0; +} + +ACE_INLINE int +ACE_Event_Handler_Handle_Timeout_Upcall:: +preinvoke (ACE_Timer_Queue &, + ACE_Event_Handler *event_handler, + const void *, + int, + const ACE_Time_Value &, + const void * & upcall_act) +{ + bool const requires_reference_counting = + event_handler->reference_counting_policy ().value () == + ACE_Event_Handler::Reference_Counting_Policy::ENABLED; + + if (requires_reference_counting) + { + event_handler->add_reference (); + + upcall_act = &this->requires_reference_counting_; + } + + return 0; +} + +ACE_INLINE int +ACE_Event_Handler_Handle_Timeout_Upcall:: +postinvoke (ACE_Timer_Queue & /* timer_queue */, + ACE_Event_Handler *event_handler, + const void * /* timer_act */, + int /* recurring_timer */, + const ACE_Time_Value & /* cur_time */, + const void *upcall_act) +{ + if (upcall_act == &this->requires_reference_counting_) + { + event_handler->remove_reference (); + } + + return 0; +} + +ACE_INLINE int +ACE_Event_Handler_Handle_Timeout_Upcall:: +cancel_timer (ACE_Timer_Queue &, + ACE_Event_Handler *event_handler, + int, + int requires_reference_counting) +{ + if (requires_reference_counting) + event_handler->remove_reference (); + + return 0; +} + + +ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/ACE_wrappers/ace/Event_Handler_T.cpp b/dep/acelite/ace/Event_Handler_T.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Event_Handler_T.cpp rename to dep/acelite/ace/Event_Handler_T.cpp diff --git a/dep/ACE_wrappers/ace/Event_Handler_T.h b/dep/acelite/ace/Event_Handler_T.h similarity index 100% rename from dep/ACE_wrappers/ace/Event_Handler_T.h rename to dep/acelite/ace/Event_Handler_T.h diff --git a/dep/ACE_wrappers/ace/Event_Handler_T.inl b/dep/acelite/ace/Event_Handler_T.inl similarity index 100% rename from dep/ACE_wrappers/ace/Event_Handler_T.inl rename to dep/acelite/ace/Event_Handler_T.inl diff --git a/dep/ACE_wrappers/ace/FIFO.cpp b/dep/acelite/ace/FIFO.cpp similarity index 96% rename from dep/ACE_wrappers/ace/FIFO.cpp rename to dep/acelite/ace/FIFO.cpp index b564a26c6..a4d7ba1d0 100644 --- a/dep/ACE_wrappers/ace/FIFO.cpp +++ b/dep/acelite/ace/FIFO.cpp @@ -1,4 +1,4 @@ -// $Id: FIFO.cpp 91286 2010-08-05 09:04:31Z johnnyw $ +// $Id: FIFO.cpp 94034 2011-05-09 19:11:03Z johnnyw $ #include "ace/FIFO.h" @@ -12,8 +12,6 @@ #include "ace/OS_NS_sys_stat.h" #include "ace/OS_NS_fcntl.h" - - ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_FIFO) diff --git a/dep/ACE_wrappers/ace/FIFO.h b/dep/acelite/ace/FIFO.h similarity index 100% rename from dep/ACE_wrappers/ace/FIFO.h rename to dep/acelite/ace/FIFO.h diff --git a/dep/ACE_wrappers/ace/FIFO.inl b/dep/acelite/ace/FIFO.inl similarity index 100% rename from dep/ACE_wrappers/ace/FIFO.inl rename to dep/acelite/ace/FIFO.inl diff --git a/dep/ACE_wrappers/ace/FIFO_Recv.cpp b/dep/acelite/ace/FIFO_Recv.cpp similarity index 100% rename from dep/ACE_wrappers/ace/FIFO_Recv.cpp rename to dep/acelite/ace/FIFO_Recv.cpp diff --git a/dep/ACE_wrappers/ace/FIFO_Recv.h b/dep/acelite/ace/FIFO_Recv.h similarity index 100% rename from dep/ACE_wrappers/ace/FIFO_Recv.h rename to dep/acelite/ace/FIFO_Recv.h diff --git a/dep/ACE_wrappers/ace/FIFO_Recv.inl b/dep/acelite/ace/FIFO_Recv.inl similarity index 100% rename from dep/ACE_wrappers/ace/FIFO_Recv.inl rename to dep/acelite/ace/FIFO_Recv.inl diff --git a/dep/ACE_wrappers/ace/FIFO_Recv_Msg.cpp b/dep/acelite/ace/FIFO_Recv_Msg.cpp similarity index 96% rename from dep/ACE_wrappers/ace/FIFO_Recv_Msg.cpp rename to dep/acelite/ace/FIFO_Recv_Msg.cpp index b8580ae31..9d041d558 100644 --- a/dep/ACE_wrappers/ace/FIFO_Recv_Msg.cpp +++ b/dep/acelite/ace/FIFO_Recv_Msg.cpp @@ -1,4 +1,4 @@ -// $Id: FIFO_Recv_Msg.cpp 91286 2010-08-05 09:04:31Z johnnyw $ +// $Id: FIFO_Recv_Msg.cpp 93359 2011-02-11 11:33:12Z mcorino $ #include "ace/FIFO_Recv_Msg.h" @@ -8,8 +8,6 @@ #include "ace/FIFO_Recv_Msg.inl" #endif /* __ACE_INLINE__ */ - - ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_FIFO_Recv_Msg) diff --git a/dep/ACE_wrappers/ace/FIFO_Recv_Msg.h b/dep/acelite/ace/FIFO_Recv_Msg.h similarity index 100% rename from dep/ACE_wrappers/ace/FIFO_Recv_Msg.h rename to dep/acelite/ace/FIFO_Recv_Msg.h diff --git a/dep/ACE_wrappers/ace/FIFO_Recv_Msg.inl b/dep/acelite/ace/FIFO_Recv_Msg.inl similarity index 100% rename from dep/ACE_wrappers/ace/FIFO_Recv_Msg.inl rename to dep/acelite/ace/FIFO_Recv_Msg.inl diff --git a/dep/ACE_wrappers/ace/FIFO_Send.cpp b/dep/acelite/ace/FIFO_Send.cpp similarity index 100% rename from dep/ACE_wrappers/ace/FIFO_Send.cpp rename to dep/acelite/ace/FIFO_Send.cpp diff --git a/dep/ACE_wrappers/ace/FIFO_Send.h b/dep/acelite/ace/FIFO_Send.h similarity index 100% rename from dep/ACE_wrappers/ace/FIFO_Send.h rename to dep/acelite/ace/FIFO_Send.h diff --git a/dep/ACE_wrappers/ace/FIFO_Send.inl b/dep/acelite/ace/FIFO_Send.inl similarity index 100% rename from dep/ACE_wrappers/ace/FIFO_Send.inl rename to dep/acelite/ace/FIFO_Send.inl diff --git a/dep/ACE_wrappers/ace/FIFO_Send_Msg.cpp b/dep/acelite/ace/FIFO_Send_Msg.cpp similarity index 100% rename from dep/ACE_wrappers/ace/FIFO_Send_Msg.cpp rename to dep/acelite/ace/FIFO_Send_Msg.cpp diff --git a/dep/ACE_wrappers/ace/FIFO_Send_Msg.h b/dep/acelite/ace/FIFO_Send_Msg.h similarity index 100% rename from dep/ACE_wrappers/ace/FIFO_Send_Msg.h rename to dep/acelite/ace/FIFO_Send_Msg.h diff --git a/dep/ACE_wrappers/ace/FIFO_Send_Msg.inl b/dep/acelite/ace/FIFO_Send_Msg.inl similarity index 100% rename from dep/ACE_wrappers/ace/FIFO_Send_Msg.inl rename to dep/acelite/ace/FIFO_Send_Msg.inl diff --git a/dep/ACE_wrappers/ace/FILE.cpp b/dep/acelite/ace/FILE.cpp similarity index 100% rename from dep/ACE_wrappers/ace/FILE.cpp rename to dep/acelite/ace/FILE.cpp diff --git a/dep/ACE_wrappers/ace/FILE.h b/dep/acelite/ace/FILE.h similarity index 100% rename from dep/ACE_wrappers/ace/FILE.h rename to dep/acelite/ace/FILE.h diff --git a/dep/ACE_wrappers/ace/FILE.inl b/dep/acelite/ace/FILE.inl similarity index 100% rename from dep/ACE_wrappers/ace/FILE.inl rename to dep/acelite/ace/FILE.inl diff --git a/dep/ACE_wrappers/ace/FILE_Addr.cpp b/dep/acelite/ace/FILE_Addr.cpp similarity index 100% rename from dep/ACE_wrappers/ace/FILE_Addr.cpp rename to dep/acelite/ace/FILE_Addr.cpp diff --git a/dep/ACE_wrappers/ace/FILE_Addr.h b/dep/acelite/ace/FILE_Addr.h similarity index 100% rename from dep/ACE_wrappers/ace/FILE_Addr.h rename to dep/acelite/ace/FILE_Addr.h diff --git a/dep/ACE_wrappers/ace/FILE_Addr.inl b/dep/acelite/ace/FILE_Addr.inl similarity index 100% rename from dep/ACE_wrappers/ace/FILE_Addr.inl rename to dep/acelite/ace/FILE_Addr.inl diff --git a/dep/ACE_wrappers/ace/FILE_Connector.cpp b/dep/acelite/ace/FILE_Connector.cpp similarity index 100% rename from dep/ACE_wrappers/ace/FILE_Connector.cpp rename to dep/acelite/ace/FILE_Connector.cpp diff --git a/dep/ACE_wrappers/ace/FILE_Connector.h b/dep/acelite/ace/FILE_Connector.h similarity index 100% rename from dep/ACE_wrappers/ace/FILE_Connector.h rename to dep/acelite/ace/FILE_Connector.h diff --git a/dep/ACE_wrappers/ace/FILE_Connector.inl b/dep/acelite/ace/FILE_Connector.inl similarity index 100% rename from dep/ACE_wrappers/ace/FILE_Connector.inl rename to dep/acelite/ace/FILE_Connector.inl diff --git a/dep/ACE_wrappers/ace/FILE_IO.cpp b/dep/acelite/ace/FILE_IO.cpp similarity index 100% rename from dep/ACE_wrappers/ace/FILE_IO.cpp rename to dep/acelite/ace/FILE_IO.cpp diff --git a/dep/ACE_wrappers/ace/FILE_IO.h b/dep/acelite/ace/FILE_IO.h similarity index 100% rename from dep/ACE_wrappers/ace/FILE_IO.h rename to dep/acelite/ace/FILE_IO.h diff --git a/dep/ACE_wrappers/ace/FILE_IO.inl b/dep/acelite/ace/FILE_IO.inl similarity index 100% rename from dep/ACE_wrappers/ace/FILE_IO.inl rename to dep/acelite/ace/FILE_IO.inl diff --git a/dep/ACE_wrappers/ace/File_Lock.cpp b/dep/acelite/ace/File_Lock.cpp similarity index 100% rename from dep/ACE_wrappers/ace/File_Lock.cpp rename to dep/acelite/ace/File_Lock.cpp diff --git a/dep/ACE_wrappers/ace/File_Lock.h b/dep/acelite/ace/File_Lock.h similarity index 100% rename from dep/ACE_wrappers/ace/File_Lock.h rename to dep/acelite/ace/File_Lock.h diff --git a/dep/ACE_wrappers/ace/File_Lock.inl b/dep/acelite/ace/File_Lock.inl similarity index 100% rename from dep/ACE_wrappers/ace/File_Lock.inl rename to dep/acelite/ace/File_Lock.inl diff --git a/dep/ACE_wrappers/ace/Filecache.cpp b/dep/acelite/ace/Filecache.cpp similarity index 99% rename from dep/ACE_wrappers/ace/Filecache.cpp rename to dep/acelite/ace/Filecache.cpp index 7a9615bb5..65e548c75 100644 --- a/dep/ACE_wrappers/ace/Filecache.cpp +++ b/dep/acelite/ace/Filecache.cpp @@ -1,4 +1,4 @@ -// $Id: Filecache.cpp 91368 2010-08-16 13:03:34Z mhengstmengel $ +// $Id: Filecache.cpp 94034 2011-05-09 19:11:03Z johnnyw $ #include "ace/Filecache.h" #include "ace/Object_Manager.h" @@ -164,6 +164,7 @@ template <> ACE_Filecache_Hash_Entry::ACE_Hash_Map_Entry (ACE_Filecache_Hash_Entry *next, ACE_Filecache_Hash_Entry *prev) : ext_id_ (0), + int_id_ (0), next_ (next), prev_ (prev) { diff --git a/dep/ACE_wrappers/ace/Filecache.h b/dep/acelite/ace/Filecache.h similarity index 100% rename from dep/ACE_wrappers/ace/Filecache.h rename to dep/acelite/ace/Filecache.h diff --git a/dep/ACE_wrappers/ace/FlReactor/ACE_FlReactor_export.h b/dep/acelite/ace/FlReactor/ACE_FlReactor_export.h similarity index 100% rename from dep/ACE_wrappers/ace/FlReactor/ACE_FlReactor_export.h rename to dep/acelite/ace/FlReactor/ACE_FlReactor_export.h diff --git a/dep/ACE_wrappers/ace/FlReactor/FlReactor.cpp b/dep/acelite/ace/FlReactor/FlReactor.cpp similarity index 99% rename from dep/ACE_wrappers/ace/FlReactor/FlReactor.cpp rename to dep/acelite/ace/FlReactor/FlReactor.cpp index e637adc51..4cab9c9df 100644 --- a/dep/ACE_wrappers/ace/FlReactor/FlReactor.cpp +++ b/dep/acelite/ace/FlReactor/FlReactor.cpp @@ -1,4 +1,4 @@ -// $Id: FlReactor.cpp 91368 2010-08-16 13:03:34Z mhengstmengel $ +// $Id: FlReactor.cpp 95511 2012-01-27 09:40:38Z johnnyw $ #include "ace/FlReactor/FlReactor.h" @@ -256,7 +256,7 @@ ACE_FlReactor::reset_timer_interval ACE_TRACE ("ACE_FlReactor::reset_timer_interval"); ACE_MT (ACE_GUARD_RETURN (ACE_Select_Reactor_Token, ace_mon, this->token_, -1)); - int result = + int const result = ACE_Select_Reactor::reset_timer_interval (timer_id, interval); diff --git a/dep/ACE_wrappers/ace/FlReactor/FlReactor.h b/dep/acelite/ace/FlReactor/FlReactor.h similarity index 100% rename from dep/ACE_wrappers/ace/FlReactor/FlReactor.h rename to dep/acelite/ace/FlReactor/FlReactor.h diff --git a/dep/ACE_wrappers/ace/Flag_Manip.cpp b/dep/acelite/ace/Flag_Manip.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Flag_Manip.cpp rename to dep/acelite/ace/Flag_Manip.cpp diff --git a/dep/ACE_wrappers/ace/Flag_Manip.h b/dep/acelite/ace/Flag_Manip.h similarity index 100% rename from dep/ACE_wrappers/ace/Flag_Manip.h rename to dep/acelite/ace/Flag_Manip.h diff --git a/dep/ACE_wrappers/ace/Flag_Manip.inl b/dep/acelite/ace/Flag_Manip.inl similarity index 100% rename from dep/ACE_wrappers/ace/Flag_Manip.inl rename to dep/acelite/ace/Flag_Manip.inl diff --git a/dep/ACE_wrappers/ace/FoxReactor/ACE_FoxReactor_export.h b/dep/acelite/ace/FoxReactor/ACE_FoxReactor_export.h similarity index 100% rename from dep/ACE_wrappers/ace/FoxReactor/ACE_FoxReactor_export.h rename to dep/acelite/ace/FoxReactor/ACE_FoxReactor_export.h diff --git a/dep/ACE_wrappers/ace/FoxReactor/FoxReactor.cpp b/dep/acelite/ace/FoxReactor/FoxReactor.cpp similarity index 95% rename from dep/ACE_wrappers/ace/FoxReactor/FoxReactor.cpp rename to dep/acelite/ace/FoxReactor/FoxReactor.cpp index 32268053f..61b59a16c 100644 --- a/dep/ACE_wrappers/ace/FoxReactor/FoxReactor.cpp +++ b/dep/acelite/ace/FoxReactor/FoxReactor.cpp @@ -1,4 +1,4 @@ -// $Id: FoxReactor.cpp 91626 2010-09-07 10:59:20Z johnnyw $ +// $Id: FoxReactor.cpp 93117 2011-01-20 12:11:28Z mcorino $ #include "ace/FoxReactor/FoxReactor.h" @@ -151,13 +151,13 @@ long ACE_FoxReactor::onTimerEvents(FXObject* /* ob */, FXSelector /* sel */, voi int ACE_FoxReactor::register_handler_i (ACE_HANDLE handle, - ACE_Event_Handler *handler, - ACE_Reactor_Mask mask) + ACE_Event_Handler *handler, + ACE_Reactor_Mask mask) { ACE_TRACE ("ACE_FoxReactor::register_handler_i"); - int result = ACE_Select_Reactor::register_handler_i (handle, - handler, mask); + int const result = ACE_Select_Reactor::register_handler_i (handle, + handler, mask); if (result == -1) return -1; @@ -179,15 +179,15 @@ ACE_FoxReactor::register_handler_i (ACE_HANDLE handle, if (condition != 0) { - fxapp->addInput(handle,condition,this,0); + fxapp->addInput(handle, condition, this, 0); } return 0; } int ACE_FoxReactor::register_handler_i (const ACE_Handle_Set &handles, - ACE_Event_Handler *handler, - ACE_Reactor_Mask mask) + ACE_Event_Handler *handler, + ACE_Reactor_Mask mask) { return ACE_Select_Reactor::register_handler_i (handles, handler, mask); } diff --git a/dep/ACE_wrappers/ace/FoxReactor/FoxReactor.h b/dep/acelite/ace/FoxReactor/FoxReactor.h similarity index 96% rename from dep/ACE_wrappers/ace/FoxReactor/FoxReactor.h rename to dep/acelite/ace/FoxReactor/FoxReactor.h index 7fe1d9625..e284441e5 100644 --- a/dep/ACE_wrappers/ace/FoxReactor/FoxReactor.h +++ b/dep/acelite/ace/FoxReactor/FoxReactor.h @@ -4,7 +4,7 @@ /** * @file FoxReactor.h * - * $Id: FoxReactor.h 88996 2010-02-15 09:36:07Z johnnyw $ + * $Id: FoxReactor.h 93117 2011-01-20 12:11:28Z mcorino $ * * @author Dmitriy Nikitinskiy * @author Based in part in the ACE_XtReactor implementation by @@ -38,7 +38,7 @@ * toolkit with ACE and/or TAO. * */ -class ACE_FoxReactor_Export ACE_FoxReactor : public FXObject , public ACE_Select_Reactor +class ACE_FoxReactor_Export ACE_FoxReactor : public FXObject, public ACE_Select_Reactor { FXDECLARE(ACE_FoxReactor) public: diff --git a/dep/ACE_wrappers/ace/Framework_Component.cpp b/dep/acelite/ace/Framework_Component.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Framework_Component.cpp rename to dep/acelite/ace/Framework_Component.cpp diff --git a/dep/ACE_wrappers/ace/Framework_Component.h b/dep/acelite/ace/Framework_Component.h similarity index 100% rename from dep/ACE_wrappers/ace/Framework_Component.h rename to dep/acelite/ace/Framework_Component.h diff --git a/dep/ACE_wrappers/ace/Framework_Component.inl b/dep/acelite/ace/Framework_Component.inl similarity index 100% rename from dep/ACE_wrappers/ace/Framework_Component.inl rename to dep/acelite/ace/Framework_Component.inl diff --git a/dep/ACE_wrappers/ace/Framework_Component_T.cpp b/dep/acelite/ace/Framework_Component_T.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Framework_Component_T.cpp rename to dep/acelite/ace/Framework_Component_T.cpp diff --git a/dep/ACE_wrappers/ace/Framework_Component_T.h b/dep/acelite/ace/Framework_Component_T.h similarity index 100% rename from dep/ACE_wrappers/ace/Framework_Component_T.h rename to dep/acelite/ace/Framework_Component_T.h diff --git a/dep/ACE_wrappers/ace/Free_List.cpp b/dep/acelite/ace/Free_List.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Free_List.cpp rename to dep/acelite/ace/Free_List.cpp diff --git a/dep/ACE_wrappers/ace/Free_List.h b/dep/acelite/ace/Free_List.h similarity index 100% rename from dep/ACE_wrappers/ace/Free_List.h rename to dep/acelite/ace/Free_List.h diff --git a/dep/ACE_wrappers/ace/Functor.cpp b/dep/acelite/ace/Functor.cpp similarity index 86% rename from dep/ACE_wrappers/ace/Functor.cpp rename to dep/acelite/ace/Functor.cpp index 4f12670e8..09e80a587 100644 --- a/dep/ACE_wrappers/ace/Functor.cpp +++ b/dep/acelite/ace/Functor.cpp @@ -3,7 +3,7 @@ /** * @file Functor.cpp * - * $Id: Functor.cpp 91286 2010-08-05 09:04:31Z johnnyw $ + * $Id: Functor.cpp 95332 2011-12-15 11:09:41Z mcorino $ * * Non-inlinable method definitions for non-templatized classes * and template specializations implementing the GOF Command Pattern, @@ -40,4 +40,14 @@ ACE_Command_Base::~ACE_Command_Base (void) { } +ACE_Noop_Command::ACE_Noop_Command() +{ +} + +int +ACE_Noop_Command::execute(void*) +{ + return 0; +} + ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/ACE_wrappers/ace/Functor.h b/dep/acelite/ace/Functor.h similarity index 96% rename from dep/ACE_wrappers/ace/Functor.h rename to dep/acelite/ace/Functor.h index cb01630e2..0241dc7d8 100644 --- a/dep/ACE_wrappers/ace/Functor.h +++ b/dep/acelite/ace/Functor.h @@ -4,7 +4,7 @@ /** * @file Functor.h * - * $Id: Functor.h 92069 2010-09-28 11:38:59Z johnnyw $ + * $Id: Functor.h 95761 2012-05-15 18:23:04Z johnnyw $ * * Non-templatized classes and class template specializations for * implementing function objects that are used in various places @@ -77,6 +77,23 @@ public: virtual int execute (void *arg = 0) = 0; }; +/** + * @class ACE_Noop_Command + * + * Implements a ACE_Command_Base with an empty execute() body. + */ + +class ACE_Export ACE_Noop_Command + : public ACE_Command_Base +{ +public: + /// Constructor + ACE_Noop_Command(); + + /// Implement the empty execute() member function + virtual int execute(void*); +}; + //////////////////////////////////////////////////////////// // STL-style Functor Classes and Template Specializations // //////////////////////////////////////////////////////////// @@ -187,7 +204,7 @@ public: unsigned long operator () (unsigned long t) const; }; -#if !defined (ACE_LACKS_LONGLONG_T) && (ACE_SIZEOF_LONG < 8) +#if (ACE_SIZEOF_LONG < 8) /** * @brief Function object for hashing a signed 64-bit number */ @@ -198,10 +215,8 @@ public: /// Simply returns t unsigned long operator () (ACE_INT64 t) const; }; -#endif /* !ACE_LACKS_LONGLONG_T && ACE_SIZEOF_LONG < 8 */ +#endif /* ACE_SIZEOF_LONG < 8 */ -// We can do this even if ACE_LACKS_UNSIGNEDLONGLONG_T because there's an -// emulation for it in ACE_U_LongLong. #if (ACE_SIZEOF_LONG < 8) /** * @brief Function object for hashing an unsigned 64-bit number diff --git a/dep/ACE_wrappers/ace/Functor.inl b/dep/acelite/ace/Functor.inl similarity index 96% rename from dep/ACE_wrappers/ace/Functor.inl rename to dep/acelite/ace/Functor.inl index 46fb00217..0c4777c48 100644 --- a/dep/ACE_wrappers/ace/Functor.inl +++ b/dep/acelite/ace/Functor.inl @@ -4,7 +4,7 @@ /** * @file Functor.inl * - * $Id: Functor.inl 92069 2010-09-28 11:38:59Z johnnyw $ + * $Id: Functor.inl 95763 2012-05-16 06:43:51Z johnnyw $ * * Inlinable method definitions for non-templatized classes * and template specializations implementing the GOF Command Pattern, @@ -108,13 +108,13 @@ ACE_Hash::operator () (unsigned long t) const } // This #if needs to match the one in Functor.h -#if !defined (ACE_LACKS_LONGLONG_T) && (ACE_SIZEOF_LONG < 8) +#if (ACE_SIZEOF_LONG < 8) ACE_INLINE unsigned long ACE_Hash::operator () (ACE_INT64 t) const { return static_cast (t); } -#endif /* !ACE_LACKS_LONGLONG_T && ACE_SIZEOF_LONG < 8 */ +#endif /* ACE_SIZEOF_LONG < 8 */ #if (ACE_SIZEOF_LONG < 8) ACE_INLINE unsigned long @@ -126,7 +126,7 @@ ACE_Hash::operator () (const ACE_UINT64 &t) const return static_cast (t); #endif /* ACE_SIZEOF_LONG */ } -#endif /* !ACE_LACKS_UNSIGNEDLONGLONG_T */ +#endif /* ACE_SIZEOF_LONG < 8 */ ACE_INLINE unsigned long ACE_Hash::operator () (const char *t) const diff --git a/dep/ACE_wrappers/ace/Functor_String.cpp b/dep/acelite/ace/Functor_String.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Functor_String.cpp rename to dep/acelite/ace/Functor_String.cpp diff --git a/dep/ACE_wrappers/ace/Functor_String.h b/dep/acelite/ace/Functor_String.h similarity index 78% rename from dep/ACE_wrappers/ace/Functor_String.h rename to dep/acelite/ace/Functor_String.h index 2adf561a6..4a2abb512 100644 --- a/dep/ACE_wrappers/ace/Functor_String.h +++ b/dep/acelite/ace/Functor_String.h @@ -4,7 +4,7 @@ /** * @file Functor_String.h * - * $Id: Functor_String.h 86698 2009-09-13 15:58:17Z johnnyw $ + * $Id: Functor_String.h 93411 2011-02-18 22:21:16Z hillj $ * * Class template specializations for ACE_*String types implementing * function objects that are used in various places in ATC. They @@ -25,6 +25,7 @@ #include /**/ "ace/ACE_export.h" #include "ace/SStringfwd.h" +#include ACE_BEGIN_VERSIONED_NAMESPACE_DECL @@ -77,6 +78,44 @@ public: const ACE_CString &rhs) const; }; +/** + * @brief Function object for determining whether two std::strings are + * equal. + */ +template<> +class ACE_Export ACE_Equal_To +{ +public: + int operator () (const std::string &lhs, + const std::string &rhs) const; +}; + + +/** + * @brief Function object for hashing a std::string + */ +template<> +class ACE_Export ACE_Hash +{ +public: + /// Calls ACE::hash_pjw + unsigned long operator () (const std::string &lhs) const; +}; + + +/** + * @brief Function object for determining whether the first const string + * is less than the second const string. + */ +template<> +class ACE_Export ACE_Less_Than +{ +public: + /// Simply calls std::string::compare + int operator () (const std::string &lhs, + const std::string &rhs) const; +}; + #if defined (ACE_USES_WCHAR) diff --git a/dep/ACE_wrappers/ace/Functor_String.inl b/dep/acelite/ace/Functor_String.inl similarity index 66% rename from dep/ACE_wrappers/ace/Functor_String.inl rename to dep/acelite/ace/Functor_String.inl index bdac96386..045cd05f7 100644 --- a/dep/ACE_wrappers/ace/Functor_String.inl +++ b/dep/acelite/ace/Functor_String.inl @@ -1,6 +1,6 @@ // -*- C++ -*- // -// $Id: Functor_String.inl 80826 2008-03-04 14:51:23Z wotte $ +// $Id: Functor_String.inl 93411 2011-02-18 22:21:16Z hillj $ #include "ace/ACE.h" #include "ace/String_Base.h" @@ -28,6 +28,26 @@ ACE_Less_Than::operator () (const ACE_CString &lhs, return (lhs < rhs); } +ACE_INLINE unsigned long +ACE_Hash::operator () (const std::string &t) const +{ + return ACE::hash_pjw (t.c_str (), t.length ()); +} + + +ACE_INLINE int +ACE_Equal_To::operator () (const std::string &lhs, + const std::string &rhs) const +{ + return lhs == rhs; +} + +ACE_INLINE int +ACE_Less_Than::operator () (const std::string &lhs, + const std::string &rhs) const +{ + return (lhs < rhs); +} #if defined (ACE_USES_WCHAR) ACE_INLINE unsigned long diff --git a/dep/ACE_wrappers/ace/Functor_T.cpp b/dep/acelite/ace/Functor_T.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Functor_T.cpp rename to dep/acelite/ace/Functor_T.cpp diff --git a/dep/ACE_wrappers/ace/Functor_T.h b/dep/acelite/ace/Functor_T.h similarity index 82% rename from dep/ACE_wrappers/ace/Functor_T.h rename to dep/acelite/ace/Functor_T.h index ff087d201..6dfbbcff6 100644 --- a/dep/ACE_wrappers/ace/Functor_T.h +++ b/dep/acelite/ace/Functor_T.h @@ -4,7 +4,7 @@ /** * @file Functor_T.h * - * $Id: Functor_T.h 91396 2010-08-19 12:37:24Z johnnyw $ + * $Id: Functor_T.h 95332 2011-12-15 11:09:41Z mcorino $ * * Templatized classes for implementing function objects that are * used in various places in ACE. There are currently two major @@ -79,6 +79,38 @@ private: ACTION action_; }; +/** + * @class ACE_Member_Function_Command + * + * @brief Defines a class template that allows us to invoke a member + * function using the GoF command style callback. + * + */ +template +class ACE_Member_Function_Command : public ACE_Command_Base +{ +public: + typedef void (RECEIVER::*PTMF)(void); + + /// Con Constructor: sets the of the Command to recvr, and the + /// of the Command to . + ACE_Member_Function_Command (RECEIVER &recvr, PTMF ptmf); + + /// Virtual destructor. + virtual ~ACE_Member_Function_Command (void); + + /// Invokes the method from the object . The + /// parameter is ignored + virtual int execute (void *); + +private: + /// Object where the method resides. + RECEIVER &receiver_; + + /// Method that is going to be invoked. + PTMF ptmf_; +}; + ///////////////////////////////// // STL-style Functor Templates // ///////////////////////////////// diff --git a/dep/ACE_wrappers/ace/Functor_T.inl b/dep/acelite/ace/Functor_T.inl similarity index 67% rename from dep/ACE_wrappers/ace/Functor_T.inl rename to dep/acelite/ace/Functor_T.inl index 35cfed5b7..1b303210c 100644 --- a/dep/ACE_wrappers/ace/Functor_T.inl +++ b/dep/acelite/ace/Functor_T.inl @@ -1,9 +1,30 @@ // -*- C++ -*- // -// $Id: Functor_T.inl 80826 2008-03-04 14:51:23Z wotte $ +// $Id: Functor_T.inl 95332 2011-12-15 11:09:41Z mcorino $ ACE_BEGIN_VERSIONED_NAMESPACE_DECL +template ACE_INLINE +ACE_Member_Function_Command:: +ACE_Member_Function_Command (RECEIVER &recvr, PTMF ptmf) + : receiver_(recvr) + , ptmf_(ptmf) +{ +} + +template ACE_INLINE +ACE_Member_Function_Command:: +~ACE_Member_Function_Command (void) +{ +} + +template ACE_INLINE int +ACE_Member_Function_Command::execute (void *) +{ + (this->receiver_.*ptmf_)(); + return 0; +} + template ACE_INLINE unsigned long ACE_Hash::operator () (const TYPE &t) const { diff --git a/dep/ACE_wrappers/ace/Future.cpp b/dep/acelite/ace/Future.cpp similarity index 98% rename from dep/ACE_wrappers/ace/Future.cpp rename to dep/acelite/ace/Future.cpp index 5ebb550a6..6544c1185 100644 --- a/dep/ACE_wrappers/ace/Future.cpp +++ b/dep/acelite/ace/Future.cpp @@ -1,4 +1,4 @@ - // $Id: Future.cpp 91626 2010-09-07 10:59:20Z johnnyw $ + // $Id: Future.cpp 95706 2012-04-18 06:42:16Z johnnyw $ #ifndef ACE_FUTURE_CPP #define ACE_FUTURE_CPP @@ -98,7 +98,7 @@ ACE_Future_Rep::attach (ACE_Future_Rep*& rep) { ACE_ASSERT (rep != 0); // Use value_ready_mutex_ for both condition and ref count management -// ACE_GUARD_RETURN (ACE_SYNCH_RECURSIVE_MUTEX, r_mon, rep->value_ready_mutex_, 0); + ACE_GUARD_RETURN (ACE_SYNCH_RECURSIVE_MUTEX, r_mon, rep->value_ready_mutex_, 0); ++rep->ref_count_; return rep; } diff --git a/dep/ACE_wrappers/ace/Future.h b/dep/acelite/ace/Future.h similarity index 100% rename from dep/ACE_wrappers/ace/Future.h rename to dep/acelite/ace/Future.h diff --git a/dep/ACE_wrappers/ace/Future_Set.cpp b/dep/acelite/ace/Future_Set.cpp similarity index 97% rename from dep/ACE_wrappers/ace/Future_Set.cpp rename to dep/acelite/ace/Future_Set.cpp index 986ce948c..1ba1fd6be 100644 --- a/dep/ACE_wrappers/ace/Future_Set.cpp +++ b/dep/acelite/ace/Future_Set.cpp @@ -1,4 +1,4 @@ -// $Id: Future_Set.cpp 91626 2010-09-07 10:59:20Z johnnyw $ +// $Id: Future_Set.cpp 92900 2010-12-17 14:45:11Z mcorino $ #ifndef ACE_FUTURE_SET_CPP #define ACE_FUTURE_SET_CPP @@ -117,7 +117,7 @@ ACE_Future_Set::next_readable (ACE_Future &future, return 0; // Remove the hash map entry with the specified future rep from our map. - FUTURE_HOLDER *future_holder; + FUTURE_HOLDER *future_holder = 0; if (this->future_map_.find (future_rep, future_holder) != -1) { diff --git a/dep/ACE_wrappers/ace/Future_Set.h b/dep/acelite/ace/Future_Set.h similarity index 100% rename from dep/ACE_wrappers/ace/Future_Set.h rename to dep/acelite/ace/Future_Set.h diff --git a/dep/ACE_wrappers/ace/Get_Opt.cpp b/dep/acelite/ace/Get_Opt.cpp similarity index 99% rename from dep/ACE_wrappers/ace/Get_Opt.cpp rename to dep/acelite/ace/Get_Opt.cpp index 5953abe18..90355f91a 100644 --- a/dep/ACE_wrappers/ace/Get_Opt.cpp +++ b/dep/acelite/ace/Get_Opt.cpp @@ -1,4 +1,4 @@ -// $Id: Get_Opt.cpp 91286 2010-08-05 09:04:31Z johnnyw $ +// $Id: Get_Opt.cpp 95710 2012-04-25 07:02:50Z johnnyw $ #include "ace/Get_Opt.h" diff --git a/dep/ACE_wrappers/ace/Get_Opt.h b/dep/acelite/ace/Get_Opt.h similarity index 100% rename from dep/ACE_wrappers/ace/Get_Opt.h rename to dep/acelite/ace/Get_Opt.h diff --git a/dep/ACE_wrappers/ace/Get_Opt.inl b/dep/acelite/ace/Get_Opt.inl similarity index 97% rename from dep/ACE_wrappers/ace/Get_Opt.inl rename to dep/acelite/ace/Get_Opt.inl index e307fb5e4..1f9151847 100644 --- a/dep/ACE_wrappers/ace/Get_Opt.inl +++ b/dep/acelite/ace/Get_Opt.inl @@ -1,6 +1,5 @@ // -*- C++ -*- -// -// $Id: Get_Opt.inl 81840 2008-06-05 13:46:45Z sma $ +// $Id: Get_Opt.inl 93736 2011-04-05 12:38:35Z johnnyw $ ACE_BEGIN_VERSIONED_NAMESPACE_DECL diff --git a/dep/ACE_wrappers/ace/Global_Macros.h b/dep/acelite/ace/Global_Macros.h similarity index 99% rename from dep/ACE_wrappers/ace/Global_Macros.h rename to dep/acelite/ace/Global_Macros.h index bce0544e1..b18a5482e 100644 --- a/dep/ACE_wrappers/ace/Global_Macros.h +++ b/dep/acelite/ace/Global_Macros.h @@ -4,7 +4,7 @@ /** * @file Global_Macros.h * - * $Id: Global_Macros.h 91685 2010-09-09 09:35:14Z johnnyw $ + * $Id: Global_Macros.h 96084 2012-08-20 18:07:57Z johnnyw $ * * @author Douglas C. Schmidt * @author Jesper S. M|ller @@ -166,7 +166,7 @@ ACE_END_VERSIONED_NAMESPACE_DECL /* Using ACE_UNEXPECTED_RETURNS is ill-advised because, in many cases, * it fails to inform callers of the error condition. - * It exists mainly to provide back-compatibility with old, dangerous, + * It exists mainly to provide back-compatibility with old, dangegrous, * incorrect behavior. * Code that previously used ACE_GUARD() or ACE_GUARD_RETURN() to return * upon failure to acquire a lock can now use: @@ -905,7 +905,7 @@ ACE_MAKE_SVC_CONFIG_FACTORY_NAME(ACE_VERSIONED_NAMESPACE_NAME,SERVICE_CLASS) (AC } while (0) #endif /* defined ACE_LACKS_ARRAY_PLACEMENT_NEW */ -// This is being placed here temporarily to help stablelize the builds, but will +// This is being placed here temporarily to help stabilize the builds, but will // be moved out along with the above macros as part of the subsetting. dhinton #if !defined (ACE_LACKS_NEW_H) # if defined (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB) diff --git a/dep/ACE_wrappers/ace/Guard_T.cpp b/dep/acelite/ace/Guard_T.cpp similarity index 96% rename from dep/ACE_wrappers/ace/Guard_T.cpp rename to dep/acelite/ace/Guard_T.cpp index 90321c6ac..25c31ce03 100644 --- a/dep/ACE_wrappers/ace/Guard_T.cpp +++ b/dep/acelite/ace/Guard_T.cpp @@ -1,10 +1,9 @@ -// $Id: Guard_T.cpp 92052 2010-09-27 14:20:22Z vzykov $ +// $Id: Guard_T.cpp 93736 2011-04-05 12:38:35Z johnnyw $ #ifndef ACE_GUARD_T_CPP #define ACE_GUARD_T_CPP // FUZZ: disable check_for_ACE_Guard - #include "ace/Guard_T.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) diff --git a/dep/ACE_wrappers/ace/Guard_T.h b/dep/acelite/ace/Guard_T.h similarity index 96% rename from dep/ACE_wrappers/ace/Guard_T.h rename to dep/acelite/ace/Guard_T.h index 5120d3f7a..da06e1573 100644 --- a/dep/ACE_wrappers/ace/Guard_T.h +++ b/dep/acelite/ace/Guard_T.h @@ -4,7 +4,7 @@ /** * @file Guard_T.h * - * $Id: Guard_T.h 91626 2010-09-07 10:59:20Z johnnyw $ + * $Id: Guard_T.h 93792 2011-04-07 11:48:50Z mcorino $ * * Moved from Synch.h. * @@ -36,9 +36,9 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL * function... It performs automatic acquisition and release of * a parameterized synchronization object ACE_LOCK. * - * The class given as an actual parameter must provide, at - * the very least the , , , and - * methods. + * The ACE_LOCK class given as an actual parameter must provide, at + * the very least the acquire(), tryacquire(), release(), and + * remove() methods. * * @warning A successfully constructed ACE_Guard does NOT mean that the * lock was acquired! It is the caller's responsibility, after @@ -72,11 +72,11 @@ public: ACE_Guard (ACE_LOCK &l); /// Implicitly and automatically acquire (or try to acquire) the - /// lock. If @a block is non-0 then the , else - /// it. + /// lock. If @a block is non-0 then acquire() the ACE_LOCK, else + /// tryacquire() it. ACE_Guard (ACE_LOCK &l, bool block); - /// Initialise the guard without implicitly acquiring the lock. The + /// Initialize the guard without implicitly acquiring the lock. The /// @a become_owner parameter indicates whether the guard should release /// the lock implicitly on destruction. The @a block parameter is /// ignored and is used here to disambiguate with the preceding diff --git a/dep/ACE_wrappers/ace/Guard_T.inl b/dep/acelite/ace/Guard_T.inl similarity index 98% rename from dep/ACE_wrappers/ace/Guard_T.inl rename to dep/acelite/ace/Guard_T.inl index 9c313a0fa..34b2b777f 100644 --- a/dep/ACE_wrappers/ace/Guard_T.inl +++ b/dep/acelite/ace/Guard_T.inl @@ -1,6 +1,5 @@ // -*- C++ -*- -// -// $Id: Guard_T.inl 91626 2010-09-07 10:59:20Z johnnyw $ +// $Id: Guard_T.inl 93736 2011-04-05 12:38:35Z johnnyw $ // FUZZ: disable check_for_ACE_Guard diff --git a/dep/ACE_wrappers/ace/Handle_Gobbler.h b/dep/acelite/ace/Handle_Gobbler.h similarity index 100% rename from dep/ACE_wrappers/ace/Handle_Gobbler.h rename to dep/acelite/ace/Handle_Gobbler.h diff --git a/dep/ACE_wrappers/ace/Handle_Gobbler.inl b/dep/acelite/ace/Handle_Gobbler.inl similarity index 100% rename from dep/ACE_wrappers/ace/Handle_Gobbler.inl rename to dep/acelite/ace/Handle_Gobbler.inl diff --git a/dep/ACE_wrappers/ace/Handle_Ops.cpp b/dep/acelite/ace/Handle_Ops.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Handle_Ops.cpp rename to dep/acelite/ace/Handle_Ops.cpp diff --git a/dep/ACE_wrappers/ace/Handle_Ops.h b/dep/acelite/ace/Handle_Ops.h similarity index 100% rename from dep/ACE_wrappers/ace/Handle_Ops.h rename to dep/acelite/ace/Handle_Ops.h diff --git a/dep/ACE_wrappers/ace/Handle_Set.cpp b/dep/acelite/ace/Handle_Set.cpp similarity index 89% rename from dep/ACE_wrappers/ace/Handle_Set.cpp rename to dep/acelite/ace/Handle_Set.cpp index ba64fb344..4c9b6b560 100644 --- a/dep/ACE_wrappers/ace/Handle_Set.cpp +++ b/dep/acelite/ace/Handle_Set.cpp @@ -1,5 +1,5 @@ // Handle_Set.cpp -// $Id: Handle_Set.cpp 91286 2010-08-05 09:04:31Z johnnyw $ +// $Id: Handle_Set.cpp 95761 2012-05-15 18:23:04Z johnnyw $ #include "ace/Handle_Set.h" @@ -9,8 +9,6 @@ #include "ace/OS_NS_string.h" - - ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_Handle_Set) @@ -24,12 +22,12 @@ ACE_ALLOC_HOOK_DEFINE(ACE_Handle_Set) # define ACE_MSB_MASK (~((fd_mask) 1 << (NFDBITS - 1))) #endif /* ! ACE_WIN32 */ -#if defined (linux) && __GLIBC__ > 1 && __GLIBC_MINOR__ >= 1 && !defined (_XOPEN_SOURCE) +#if defined (ACE_LINUX) && __GLIBC__ > 1 && __GLIBC_MINOR__ >= 1 && !defined (_XOPEN_SOURCE) // XPG4.2 requires the fds_bits member name, so it is not enabled by // default on Linux/glibc-2.1.x systems. Instead use "__fds_bits." // Ugly, but "what are you going to do?" 8-) #define fds_bits __fds_bits -#endif /* linux && __GLIBC__ > 1 && __GLIBC_MINOR__ >= 1 && !_XOPEN_SOURCE */ +#endif /* ACE_LINUX && __GLIBC__ > 1 && __GLIBC_MINOR__ >= 1 && !_XOPEN_SOURCE */ void ACE_Handle_Set::dump (void) const @@ -226,24 +224,11 @@ ACE_Handle_Set::set_max (ACE_HANDLE current_max) maskp[i] == 0; i--) continue; -#if defined (ACE_TANDEM_NSK_BIT_ORDER) - // bits are in reverse order, MSB (sign bit) = bit 0. - this->max_handle_ = ACE_MULT_BY_WORDSIZE (i); - for (fd_mask val = maskp[i]; - (val & ACE_MSB_MASK) != 0; - val = (val << 1)) - ++this->max_handle_; -#elif 1 /* !defined(ACE_HAS_BIG_FD_SET) */ this->max_handle_ = ACE_MULT_BY_WORDSIZE (i); for (fd_mask val = maskp[i]; (val & ~1) != 0; // This obscure code is needed since "bit 0" is in location 1... val = (val >> 1) & ACE_MSB_MASK) ++this->max_handle_; -#else - register u_long val = this->mask_.fds_bits[i]; - this->max_handle_ = ACE_MULT_BY_WORDSIZE (i) - + ACE_Handle_Set::bitpos(val & ~(val - 1)); -#endif /* 1 */ } // Do some sanity checking... @@ -312,12 +297,7 @@ ACE_Handle_Set_Iterator::operator () (void) // Increment the iterator and advance to the next bit in this // word. this->handle_index_++; -#if defined (ACE_TANDEM_NSK_BIT_ORDER) - // bits are in reverse order, MSB (sign bit) = bit 0. - this->word_val_ = (this->word_val_ << 1); -# else this->word_val_ = (this->word_val_ >> 1) & ACE_MSB_MASK; -# endif /* ACE_TANDEM_NSK_BIT_ORDER */ // If we've examined all the bits in this word, we'll go onto // the next word. @@ -353,19 +333,10 @@ ACE_Handle_Set_Iterator::operator () (void) // bit enabled, keeping track of which this // represents (this information is used by subsequent calls to // ). - -#if defined (ACE_TANDEM_NSK_BIT_ORDER) - // bits are in reverse order, MSB (sign bit) = bit 0. - for (; - this->word_val_ > 0; - this->word_val_ = (this->word_val_ << 1)) - this->handle_index_++; -# else for (; ACE_BIT_DISABLED (this->word_val_, 1); this->handle_index_++) this->word_val_ = (this->word_val_ >> 1) & ACE_MSB_MASK; -# endif /* ACE_TANDEM_NSK_BIT_ORDER */ return result; } @@ -435,6 +406,7 @@ ACE_Handle_Set_Iterator::ACE_Handle_Set_Iterator (const ACE_Handle_Set &hs) handle_index_ (0), word_num_ (-1) #elif defined (ACE_HAS_BIG_FD_SET) + handle_index_ (0), oldlsb_ (0), word_max_ (hs.max_handle_ == ACE_INVALID_HANDLE ? 0 @@ -466,19 +438,11 @@ ACE_Handle_Set_Iterator::ACE_Handle_Set_Iterator (const ACE_Handle_Set &hs) // Loop until we get to have its least significant bit // enabled, keeping track of which this represents // (this information is used by ). -#if defined (ACE_TANDEM_NSK_BIT_ORDER) - // bits are in reverse order, MSB (sign bit) = bit 0. - for (this->word_val_ = maskp[this->word_num_]; - this->word_val_ > 0; - this->word_val_ = (this->word_val_ << 1)) - this->handle_index_++; -# else for (this->word_val_ = maskp[this->word_num_]; ACE_BIT_DISABLED (this->word_val_, 1) && this->handle_index_ < maxhandlep1; this->handle_index_++) this->word_val_ = (this->word_val_ >> 1) & ACE_MSB_MASK; -# endif /* ACE_TANDEM_NSK_BIT_ORDER */ #elif !defined (ACE_WIN32) && defined (ACE_HAS_BIG_FD_SET) if (this->word_max_==0) { @@ -494,7 +458,6 @@ ACE_Handle_Set_Iterator::ACE_Handle_Set_Iterator (const ACE_Handle_Set &hs) #endif /* !ACE_WIN32 && !ACE_HAS_BIG_FD_SET */ } - void ACE_Handle_Set_Iterator::reset_state (void) { @@ -534,19 +497,11 @@ ACE_Handle_Set_Iterator::reset_state (void) // Loop until we get to have its least significant bit // enabled, keeping track of which this represents // (this information is used by ). -#if defined (ACE_TANDEM_NSK_BIT_ORDER) - // bits are in reverse order, MSB (sign bit) = bit 0. - for (this->word_val_ = maskp[this->word_num_]; - this->word_val_ > 0; - this->word_val_ = (this->word_val_ << 1)) - this->handle_index_++; -# else for (this->word_val_ = maskp[this->word_num_]; ACE_BIT_DISABLED (this->word_val_, 1) && this->handle_index_ < maxhandlep1; this->handle_index_++) this->word_val_ = (this->word_val_ >> 1) & ACE_MSB_MASK; -# endif /* ACE_TANDEM_NSK_BIT_ORDER */ #elif !defined (ACE_WIN32) && defined (ACE_HAS_BIG_FD_SET) if (this->word_max_==0) { diff --git a/dep/ACE_wrappers/ace/Handle_Set.h b/dep/acelite/ace/Handle_Set.h similarity index 98% rename from dep/ACE_wrappers/ace/Handle_Set.h rename to dep/acelite/ace/Handle_Set.h index 0de5c98ea..97b3042a6 100644 --- a/dep/ACE_wrappers/ace/Handle_Set.h +++ b/dep/acelite/ace/Handle_Set.h @@ -4,7 +4,7 @@ /** * @file Handle_Set.h * - * $Id: Handle_Set.h 92298 2010-10-21 11:15:17Z johnnyw $ + * $Id: Handle_Set.h 93736 2011-04-05 12:38:35Z johnnyw $ * * @author Douglas C. Schmidt */ @@ -58,7 +58,6 @@ public: MAXSIZE = ACE_DEFAULT_SELECT_REACTOR_SIZE }; - // = Initialization methods. /// Constructor, initializes the bitmask to all 0s. ACE_Handle_Set (void); diff --git a/dep/ACE_wrappers/ace/Handle_Set.inl b/dep/acelite/ace/Handle_Set.inl similarity index 89% rename from dep/ACE_wrappers/ace/Handle_Set.inl rename to dep/acelite/ace/Handle_Set.inl index 7e669d4fd..fd401caa6 100644 --- a/dep/ACE_wrappers/ace/Handle_Set.inl +++ b/dep/acelite/ace/Handle_Set.inl @@ -1,21 +1,9 @@ // -*- C++ -*- // -// $Id: Handle_Set.inl 80826 2008-03-04 14:51:23Z wotte $ +// $Id: Handle_Set.inl 96017 2012-08-08 22:18:09Z mitza $ #include "ace/Log_Msg.h" -// todo: This should be cleaned up a bit. -// memset for FD_ZERO on OpenBSD and Solaris w/ gcc 2.95.3 -#include "ace/os_include/os_string.h" - -// FreeBSD 4.8-RC? for bzero() used by FD_ZERO -#include "ace/os_include/os_strings.h" - -// IRIX5 defines bzero() in this odd file... used by FD_ZERO -#if defined (ACE_HAS_BSTRING) -# include /**/ -#endif /* ACE_HAS_BSTRING */ - // AIX defines bzero() in this odd file... used by FD_ZERO #if defined (ACE_HAS_STRINGS) # include "ace/os_include/os_strings.h" @@ -87,6 +75,8 @@ ACE_Handle_Set::is_set (ACE_HANDLE handle) const #elif defined (ACE_HAS_NONCONST_FD_ISSET) return FD_ISSET (handle, const_cast (&this->mask_)); +#elif defined (ACE_VXWORKS) && ACE_VXWORKS >= 0x690 + return static_cast (FD_ISSET (handle, &this->mask_)); #else return FD_ISSET (handle, &this->mask_); diff --git a/dep/ACE_wrappers/ace/Hash_Cache_Map_Manager_T.cpp b/dep/acelite/ace/Hash_Cache_Map_Manager_T.cpp similarity index 69% rename from dep/ACE_wrappers/ace/Hash_Cache_Map_Manager_T.cpp rename to dep/acelite/ace/Hash_Cache_Map_Manager_T.cpp index ad333543a..194789775 100644 --- a/dep/ACE_wrappers/ace/Hash_Cache_Map_Manager_T.cpp +++ b/dep/acelite/ace/Hash_Cache_Map_Manager_T.cpp @@ -1,4 +1,4 @@ -// $Id: Hash_Cache_Map_Manager_T.cpp 92097 2010-09-30 05:41:49Z msmit $ +// $Id: Hash_Cache_Map_Manager_T.cpp 93359 2011-02-11 11:33:12Z mcorino $ #ifndef ACE_HASH_CACHE_MAP_MANAGER_T_CPP #define ACE_HASH_CACHE_MAP_MANAGER_T_CPP @@ -17,11 +17,8 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_Hash_Cache_Map_Manager) -#define ACE_T1 class KEY, class VALUE, class HASH_KEY, class COMPARE_KEYS, class CACHING_STRATEGY, class ATTRIBUTES -#define ACE_T2 KEY, VALUE, HASH_KEY, COMPARE_KEYS, CACHING_STRATEGY, ATTRIBUTES - -template -ACE_Hash_Cache_Map_Manager::ACE_Hash_Cache_Map_Manager (CACHING_STRATEGY &caching_s, +template +ACE_Hash_Cache_Map_Manager::ACE_Hash_Cache_Map_Manager (CACHING_STRATEGY &caching_s, size_t size, ACE_Allocator *alloc) : ACE_HCMM_BASE (caching_s, @@ -30,13 +27,13 @@ ACE_Hash_Cache_Map_Manager::ACE_Hash_Cache_Map_Manager (CACHING_STRATEGY { } -template -ACE_Hash_Cache_Map_Manager::~ACE_Hash_Cache_Map_Manager (void) +template +ACE_Hash_Cache_Map_Manager::~ACE_Hash_Cache_Map_Manager (void) { } -template int -ACE_Hash_Cache_Map_Manager::bind (const KEY &key, +template int +ACE_Hash_Cache_Map_Manager::bind (const KEY &key, const VALUE &value, CACHE_ENTRY *&entry) { @@ -71,8 +68,8 @@ ACE_Hash_Cache_Map_Manager::bind (const KEY &key, return bind_result; } -template int -ACE_Hash_Cache_Map_Manager::rebind (const KEY &key, +template int +ACE_Hash_Cache_Map_Manager::rebind (const KEY &key, const VALUE &value, CACHE_ENTRY *&entry) { @@ -109,8 +106,8 @@ ACE_Hash_Cache_Map_Manager::rebind (const KEY &key, return rebind_result; } -template int -ACE_Hash_Cache_Map_Manager::trybind (const KEY &key, +template int +ACE_Hash_Cache_Map_Manager::trybind (const KEY &key, VALUE &value, CACHE_ENTRY *&entry) { @@ -152,8 +149,8 @@ ACE_Hash_Cache_Map_Manager::trybind (const KEY &key, return trybind_result; } -template int -ACE_Hash_Cache_Map_Manager::find (const KEY &key, +template int +ACE_Hash_Cache_Map_Manager::find (const KEY &key, CACHE_ENTRY *&entry) { // Lookup the key and populate the . @@ -178,8 +175,8 @@ ACE_Hash_Cache_Map_Manager::find (const KEY &key, return find_result; } -template int -ACE_Hash_Cache_Map_Manager::find (const KEY &key, +template int +ACE_Hash_Cache_Map_Manager::find (const KEY &key, VALUE &value) { CACHE_ENTRY *entry = 0; @@ -195,8 +192,8 @@ ACE_Hash_Cache_Map_Manager::find (const KEY &key, return result; } -template int -ACE_Hash_Cache_Map_Manager::find (const KEY &key) +template int +ACE_Hash_Cache_Map_Manager::find (const KEY &key) { CACHE_ENTRY *entry = 0; @@ -204,8 +201,8 @@ ACE_Hash_Cache_Map_Manager::find (const KEY &key) entry); } -template int -ACE_Hash_Cache_Map_Manager::unbind (CACHE_ENTRY *entry) +template int +ACE_Hash_Cache_Map_Manager::unbind (CACHE_ENTRY *entry) { // Remove the entry from the cache. int unbind_result = this->map_.unbind (entry); @@ -226,7 +223,4 @@ ACE_Hash_Cache_Map_Manager::unbind (CACHE_ENTRY *entry) ACE_END_VERSIONED_NAMESPACE_DECL -#undef ACE_T1 -#undef ACE_T2 - #endif /* ACE_HASH_CACHE_MAP_MANAGER_T_CPP */ diff --git a/dep/ACE_wrappers/ace/Hash_Cache_Map_Manager_T.h b/dep/acelite/ace/Hash_Cache_Map_Manager_T.h similarity index 97% rename from dep/ACE_wrappers/ace/Hash_Cache_Map_Manager_T.h rename to dep/acelite/ace/Hash_Cache_Map_Manager_T.h index 0bc64a5a9..e1fc4d773 100644 --- a/dep/ACE_wrappers/ace/Hash_Cache_Map_Manager_T.h +++ b/dep/acelite/ace/Hash_Cache_Map_Manager_T.h @@ -4,7 +4,7 @@ /** * @file Hash_Cache_Map_Manager_T.h * - * $Id: Hash_Cache_Map_Manager_T.h 92097 2010-09-30 05:41:49Z msmit $ + * $Id: Hash_Cache_Map_Manager_T.h 93366 2011-02-11 19:30:35Z johnnyw $ * * @author Kirthika Parameswaran */ @@ -39,9 +39,6 @@ class ACE_Allocator; CACHING_STRATEGY, \ ATTRIBUTES> -// For linkers that cant grok long names. -#define ACE_Hash_Cache_Map_Manager AHCMM - /** * @class ACE_Hash_Cache_Map_Manager * @@ -58,7 +55,7 @@ class ACE_Allocator; * Hash_Cache_Map_Manager provides extra functionality on top * of the Cache_Map_Manager. * No locking mechanism provided since locking at this level - * isnt efficient. Locking has to be provided by the + * isn't efficient. Locking has to be provided by the * application. */ template @@ -189,7 +186,6 @@ class ACE_Hash_Cache_Map_Manager : public ACE_CACHE_MAP_MANAGER int unbind (CACHE_ENTRY *entry); protected: - /// Base class. typedef ACE_CACHE_MAP_MANAGER ACE_HCMM_BASE; }; diff --git a/dep/acelite/ace/Hash_Cache_Map_Manager_T.inl b/dep/acelite/ace/Hash_Cache_Map_Manager_T.inl new file mode 100644 index 000000000..8c4bb1223 --- /dev/null +++ b/dep/acelite/ace/Hash_Cache_Map_Manager_T.inl @@ -0,0 +1,72 @@ +// -*- C++ -*- +// $Id: Hash_Cache_Map_Manager_T.inl 93359 2011-02-11 11:33:12Z mcorino $ + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +template +ACE_INLINE int +ACE_Hash_Cache_Map_Manager::bind ( + const KEY &key, + const VALUE &value) +{ + return ACE_HCMM_BASE::bind (key, value); +} + +template +ACE_INLINE int +ACE_Hash_Cache_Map_Manager::rebind ( + const KEY &key, + const VALUE &value) +{ + return ACE_HCMM_BASE::rebind (key, value); +} + +template +ACE_INLINE int +ACE_Hash_Cache_Map_Manager::rebind ( + const KEY &key, + const VALUE &value, + VALUE &old_value) +{ + return ACE_HCMM_BASE::rebind (key, value, old_value); +} + +template +ACE_INLINE int +ACE_Hash_Cache_Map_Manager::rebind ( + const KEY &key, + const VALUE &value, + KEY &old_key, + VALUE &old_value) +{ + return ACE_HCMM_BASE::rebind (key, + value, + old_key, + old_value); +} + +template +ACE_INLINE int +ACE_Hash_Cache_Map_Manager::trybind ( + const KEY &key, + VALUE &value) +{ + return ACE_HCMM_BASE::trybind (key, value); +} + +template +ACE_INLINE int +ACE_Hash_Cache_Map_Manager::unbind (const KEY &key) +{ + return ACE_HCMM_BASE::unbind (key); +} + +template +ACE_INLINE int +ACE_Hash_Cache_Map_Manager::unbind (const KEY &key, + VALUE &value) +{ + return ACE_HCMM_BASE::unbind (key, value); +} + +ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/ACE_wrappers/ace/Hash_Map_Manager.h b/dep/acelite/ace/Hash_Map_Manager.h similarity index 100% rename from dep/ACE_wrappers/ace/Hash_Map_Manager.h rename to dep/acelite/ace/Hash_Map_Manager.h diff --git a/dep/ACE_wrappers/ace/Hash_Map_Manager_T.cpp b/dep/acelite/ace/Hash_Map_Manager_T.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Hash_Map_Manager_T.cpp rename to dep/acelite/ace/Hash_Map_Manager_T.cpp diff --git a/dep/ACE_wrappers/ace/Hash_Map_Manager_T.h b/dep/acelite/ace/Hash_Map_Manager_T.h similarity index 100% rename from dep/ACE_wrappers/ace/Hash_Map_Manager_T.h rename to dep/acelite/ace/Hash_Map_Manager_T.h diff --git a/dep/ACE_wrappers/ace/Hash_Map_Manager_T.inl b/dep/acelite/ace/Hash_Map_Manager_T.inl similarity index 100% rename from dep/ACE_wrappers/ace/Hash_Map_Manager_T.inl rename to dep/acelite/ace/Hash_Map_Manager_T.inl diff --git a/dep/ACE_wrappers/ace/Hash_Map_With_Allocator_T.cpp b/dep/acelite/ace/Hash_Map_With_Allocator_T.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Hash_Map_With_Allocator_T.cpp rename to dep/acelite/ace/Hash_Map_With_Allocator_T.cpp diff --git a/dep/ACE_wrappers/ace/Hash_Map_With_Allocator_T.h b/dep/acelite/ace/Hash_Map_With_Allocator_T.h similarity index 100% rename from dep/ACE_wrappers/ace/Hash_Map_With_Allocator_T.h rename to dep/acelite/ace/Hash_Map_With_Allocator_T.h diff --git a/dep/ACE_wrappers/ace/Hash_Map_With_Allocator_T.inl b/dep/acelite/ace/Hash_Map_With_Allocator_T.inl similarity index 100% rename from dep/ACE_wrappers/ace/Hash_Map_With_Allocator_T.inl rename to dep/acelite/ace/Hash_Map_With_Allocator_T.inl diff --git a/dep/ACE_wrappers/ace/Hash_Multi_Map_Manager_T.cpp b/dep/acelite/ace/Hash_Multi_Map_Manager_T.cpp similarity index 99% rename from dep/ACE_wrappers/ace/Hash_Multi_Map_Manager_T.cpp rename to dep/acelite/ace/Hash_Multi_Map_Manager_T.cpp index db79e0187..195e8ac03 100644 --- a/dep/ACE_wrappers/ace/Hash_Multi_Map_Manager_T.cpp +++ b/dep/acelite/ace/Hash_Multi_Map_Manager_T.cpp @@ -3,13 +3,12 @@ /** * @file Hash_Multi_Map_Manager_T.cpp * - * $Id: Hash_Multi_Map_Manager_T.cpp 91688 2010-09-09 11:21:50Z johnnyw $ + * $Id: Hash_Multi_Map_Manager_T.cpp 93736 2011-04-05 12:38:35Z johnnyw $ * * @author Shanshan Jiang */ //============================================================================= - #ifndef ACE_Hash_Multi_Map_Manager_T_CPP #define ACE_Hash_Multi_Map_Manager_T_CPP @@ -27,7 +26,6 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL - template ACE_Hash_Multi_Map_Entry::ACE_Hash_Multi_Map_Entry (ACE_Hash_Multi_Map_Entry *next, ACE_Hash_Multi_Map_Entry *prev) diff --git a/dep/ACE_wrappers/ace/Hash_Multi_Map_Manager_T.h b/dep/acelite/ace/Hash_Multi_Map_Manager_T.h similarity index 100% rename from dep/ACE_wrappers/ace/Hash_Multi_Map_Manager_T.h rename to dep/acelite/ace/Hash_Multi_Map_Manager_T.h diff --git a/dep/ACE_wrappers/ace/Hash_Multi_Map_Manager_T.inl b/dep/acelite/ace/Hash_Multi_Map_Manager_T.inl similarity index 99% rename from dep/ACE_wrappers/ace/Hash_Multi_Map_Manager_T.inl rename to dep/acelite/ace/Hash_Multi_Map_Manager_T.inl index b6c353c21..5bf8371ec 100644 --- a/dep/ACE_wrappers/ace/Hash_Multi_Map_Manager_T.inl +++ b/dep/acelite/ace/Hash_Multi_Map_Manager_T.inl @@ -1,6 +1,6 @@ // -*- C++ -*- // -// $Id: Hash_Multi_Map_Manager_T.inl 80826 2008-03-04 14:51:23Z wotte $ +// $Id: Hash_Multi_Map_Manager_T.inl 94520 2011-09-22 14:55:20Z johnnyw $ #include "ace/Guard_T.h" @@ -91,7 +91,7 @@ template ::bind_i (const EXT_ID &ext_id, const INT_ID &int_id) { - ACE_Hash_Multi_Map_Entry *temp; + ACE_Hash_Multi_Map_Entry *temp = 0; return this->bind_i (ext_id, int_id, temp); } diff --git a/dep/ACE_wrappers/ace/Hashable.cpp b/dep/acelite/ace/Hashable.cpp similarity index 91% rename from dep/ACE_wrappers/ace/Hashable.cpp rename to dep/acelite/ace/Hashable.cpp index 75dc809dc..24b240724 100644 --- a/dep/ACE_wrappers/ace/Hashable.cpp +++ b/dep/acelite/ace/Hashable.cpp @@ -1,4 +1,4 @@ -//$Id: Hashable.cpp 91368 2010-08-16 13:03:34Z mhengstmengel $ +//$Id: Hashable.cpp 93736 2011-04-05 12:38:35Z johnnyw $ #include "ace/Hashable.h" @@ -6,8 +6,6 @@ #include "ace/Hashable.inl" #endif /* __ACE_INLINE __ */ - - ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_Hashable::~ACE_Hashable (void) diff --git a/dep/ACE_wrappers/ace/Hashable.h b/dep/acelite/ace/Hashable.h similarity index 100% rename from dep/ACE_wrappers/ace/Hashable.h rename to dep/acelite/ace/Hashable.h diff --git a/dep/ACE_wrappers/ace/Hashable.inl b/dep/acelite/ace/Hashable.inl similarity index 72% rename from dep/ACE_wrappers/ace/Hashable.inl rename to dep/acelite/ace/Hashable.inl index 352b7794e..1fb6956cf 100644 --- a/dep/ACE_wrappers/ace/Hashable.inl +++ b/dep/acelite/ace/Hashable.inl @@ -1,7 +1,5 @@ // -*- C++ -*- -// -// $Id: Hashable.inl 80826 2008-03-04 14:51:23Z wotte $ - +// $Id: Hashable.inl 93736 2011-04-05 12:38:35Z johnnyw $ ACE_BEGIN_VERSIONED_NAMESPACE_DECL diff --git a/dep/ACE_wrappers/ace/High_Res_Timer.cpp b/dep/acelite/ace/High_Res_Timer.cpp similarity index 90% rename from dep/ACE_wrappers/ace/High_Res_Timer.cpp rename to dep/acelite/ace/High_Res_Timer.cpp index 4bc380c59..81f8415aa 100644 --- a/dep/ACE_wrappers/ace/High_Res_Timer.cpp +++ b/dep/acelite/ace/High_Res_Timer.cpp @@ -1,4 +1,4 @@ -// $Id: High_Res_Timer.cpp 91286 2010-08-05 09:04:31Z johnnyw $ +// $Id: High_Res_Timer.cpp 95788 2012-05-24 07:59:51Z johnnyw $ // Be very carefull before changing the calculations inside // ACE_High_Res_Timer. The precision matters and we are using integer @@ -22,8 +22,6 @@ #include "ace/OS_NS_stdlib.h" #include "ace/Truncate.h" - - ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_High_Res_Timer) @@ -43,11 +41,11 @@ ACE_END_VERSIONED_NAMESPACE_DECL ACE_BEGIN_VERSIONED_NAMESPACE_DECL - // Initialize the global_scale_factor_ to 1. The first - // ACE_High_Res_Timer instance construction will override this - // value. - /* static */ - ACE_UINT32 ACE_High_Res_Timer::global_scale_factor_ = 1u; +/// Initialize the global_scale_factor_ to 1. The first +/// ACE_High_Res_Timer instance construction will override this +/// value. +/* static */ +ACE_High_Res_Timer::global_scale_factor_type ACE_High_Res_Timer::global_scale_factor_ = 1u; ACE_END_VERSIONED_NAMESPACE_DECL @@ -69,13 +67,12 @@ ACE_END_VERSIONED_NAMESPACE_DECL ACE_BEGIN_VERSIONED_NAMESPACE_DECL -// This is used to tell if the global_scale_factor_ has been -// set, and if high resolution timers are supported. +/// This is used to tell if the global_scale_factor_ has been +/// set, and if high resolution timers are supported. /* static */ int ACE_High_Res_Timer::global_scale_factor_status_ = 0; - -#if defined (linux) +#if defined (ACE_LINUX) // Determine the apparent CPU clock speed from /proc/cpuinfo ACE_UINT32 ACE_High_Res_Timer::get_cpuinfo (void) @@ -188,9 +185,10 @@ ACE_High_Res_Timer::get_cpuinfo (void) return scale_factor; } -#endif /* linux */ +#endif /* ACE_LINUX */ -ACE_UINT32 + +ACE_High_Res_Timer::global_scale_factor_type ACE_High_Res_Timer::global_scale_factor (void) { #if (defined (ACE_WIN32) || defined (ACE_HAS_POWERPC_TIMER) || \ @@ -211,30 +209,23 @@ ACE_High_Res_Timer::global_scale_factor (void) if (ACE_High_Res_Timer::global_scale_factor_status_ == 0) { # if defined (ACE_WIN32) + // This a higher-precision version, specific for Windows systems LARGE_INTEGER freq; if (::QueryPerformanceFrequency (&freq)) - { - // We have a high-res timer -# if defined (ACE_LACKS_LONGLONG_T) - ACE_UINT64 uint64_freq(freq.u.LowPart, (ACE_UINT32) freq.u.HighPart); - ACE_High_Res_Timer::global_scale_factor - (uint64_freq / (ACE_UINT32) ACE_ONE_SECOND_IN_USECS); -# else - ACE_High_Res_Timer::global_scale_factor - (static_cast (freq.QuadPart / ACE_HR_SCALE_CONVERSION)); -# endif // (ACE_LACKS_LONGLONG_T) + { + ACE_High_Res_Timer::global_scale_factor(freq.QuadPart); ACE_High_Res_Timer::global_scale_factor_status_ = 1; - } + } else + { // High-Res timers not supported ACE_High_Res_Timer::global_scale_factor_status_ = -1; - + } return ACE_High_Res_Timer::global_scale_factor_; - -# elif defined (linux) +# elif defined (ACE_LINUX) ACE_High_Res_Timer::global_scale_factor (ACE_High_Res_Timer::get_cpuinfo ()); -# endif /* ! ACE_WIN32 && ! (linux && __alpha__) */ +# endif /* ! ACE_WIN32 && ! (ACE_LINUX && __alpha__) */ # if !defined (ACE_WIN32) if (ACE_High_Res_Timer::global_scale_factor_ <= 1u) @@ -314,17 +305,6 @@ ACE_High_Res_Timer::dump (void) const ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this)); ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("\nglobal_scale_factor_: %u\n"), global_scale_factor ())); -#if defined (ACE_LACKS_LONGLONG_T) - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT (":\nstart_.hi (): %8x; start_.lo (): %8x;\n") - ACE_TEXT ("end_.hi (): %8x; end_.lo (): %8x;\n") - ACE_TEXT ("total_.hi (): %8x; total_.lo (): %8x;\n") - ACE_TEXT ("start_incr_.hi () %8x; start_incr_.lo (): %8x;\n"), - start_.hi (), start_.lo (), - end_.hi (), end_.lo (), - total_.hi (), total_.lo (), - start_incr_.hi (), start_incr_.lo ())); -#else /* ! ACE_LACKS_LONGLONG_T */ ACE_DEBUG ((LM_DEBUG, ACE_TEXT (":\nstart_.hi (): %8x; start_.lo (): %8x;\n") ACE_TEXT ("end_.hi (): %8x; end_.lo (): %8x;\n") @@ -338,7 +318,6 @@ ACE_High_Res_Timer::dump (void) const static_cast (total_ & 0xfffffffful), static_cast (start_incr_ >> 32), static_cast (start_incr_ & 0xfffffffful))); -#endif /* ! ACE_LACKS_LONGLONG_T */ ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP)); #endif /* ACE_HAS_DUMP */ } @@ -357,7 +336,7 @@ ACE_High_Res_Timer::reset (void) void ACE_High_Res_Timer::elapsed_time (ACE_Time_Value &tv) const { - hrtime_to_tv (tv, + this->hrtime_to_tv (tv, ACE_High_Res_Timer::elapsed_hrtime (this->end_, this->start_)); } @@ -394,12 +373,13 @@ ACE_High_Res_Timer::elapsed_time (struct timespec &elapsed_time) const void ACE_High_Res_Timer::elapsed_time_incr (ACE_Time_Value &tv) const { - hrtime_to_tv (tv, total_); + this->hrtime_to_tv (tv, total_); } void ACE_High_Res_Timer::elapsed_time (ACE_hrtime_t &nanoseconds) const { +#if !defined (ACE_WIN32) // Please do _not_ rearrange this equation. It is carefully // designed and tested to avoid overflow on machines that don't have // native 64-bit ints. In particular, division can be a problem. @@ -410,16 +390,29 @@ ACE_High_Res_Timer::elapsed_time (ACE_hrtime_t &nanoseconds) const nanoseconds = nanoseconds >> 10; // Right shift is implemented for non native 64-bit ints // operator/ only for a 32 bit result ! +#else + // This a higher-precision version, specific for Windows systems + nanoseconds = + (ACE_High_Res_Timer::elapsed_hrtime (this->end_, this->start_) * ACE_HR_SCALE_CONVERSION * 1000u) / + ACE_High_Res_Timer::global_scale_factor (); +#endif } void ACE_High_Res_Timer::elapsed_time_incr (ACE_hrtime_t &nanoseconds) const { +#if !defined (ACE_WIN32) // Same as above. nanoseconds = this->total_ - * (1024000u / ACE_High_Res_Timer::global_scale_factor ()); + * (1024000u / ACE_High_Res_Timer::global_scale_factor ()); // Caution - Borland has a problem with >>=, so resist the temptation. nanoseconds = nanoseconds >> 10; +#else + // This a higher-precision version, specific for Windows systems + nanoseconds = + this->total_ * 1000000000u / + ACE_High_Res_Timer::global_scale_factor (); +#endif } void diff --git a/dep/ACE_wrappers/ace/High_Res_Timer.h b/dep/acelite/ace/High_Res_Timer.h similarity index 93% rename from dep/ACE_wrappers/ace/High_Res_Timer.h rename to dep/acelite/ace/High_Res_Timer.h index 3716597e5..d01149bce 100644 --- a/dep/ACE_wrappers/ace/High_Res_Timer.h +++ b/dep/acelite/ace/High_Res_Timer.h @@ -4,7 +4,7 @@ /** * @file High_Res_Timer.h * - * $Id: High_Res_Timer.h 89483 2010-03-15 09:48:01Z johnnyw $ + * $Id: High_Res_Timer.h 95798 2012-05-31 07:58:55Z johnnyw $ * * @author Douglas C. Schmidt */ @@ -52,7 +52,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL * units/second. Because it's possible that the units/second * changes in the future, it's recommended to use it instead * of a "hard coded" solution. - * Dependend on the platform and used class members, there's a + * Dependent on the platform and used class members, there's a * maximum elapsed period before overflow (which is not checked). * Look at the documentation with some members functions. * On some (most?) implementations it's not recommended to measure @@ -74,8 +74,8 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL * ACE_hrtime_t values. Those methods do _not_ check for overflow! * @note Gabe raises this issue regarding * : on multi-processors, the processor that - * you query for your value might not be the one - * you queried for . Its not clear how much + * you query for your @c timer.stop() value might not be the one + * you queried for @c timer.start(). Its not clear how much * divergence there would be, if any. * This issue is not mentioned in the Solaris 2.5.1 gethrtime * man page. @@ -100,7 +100,11 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL class ACE_Export ACE_High_Res_Timer { public: - // = Initialization method. +#if !defined (ACE_WIN32) + typedef ACE_UINT32 global_scale_factor_type; +#else + typedef ACE_UINT64 global_scale_factor_type; +#endif /** * global_scale_factor_ is set to @a gsf. All High_Res_Timers use @@ -112,13 +116,13 @@ public: * not be set. Careful, a of 0 will cause division * by zero exceptions. * Depending on the platform its units are 1/microsecond or - * 1/millisecond. Use inside calculations + * 1/millisecond. Use @c ACE_HR_SCALE_CONVERSION inside calculations * instead a hardcoded value. */ - static void global_scale_factor (ACE_UINT32 gsf); + static void global_scale_factor (global_scale_factor_type gsf); /// Returns the global_scale_factor. - static ACE_UINT32 global_scale_factor (void); + static global_scale_factor_type global_scale_factor (void); #ifndef ACE_HR_SCALE_CONVERSION # define ACE_HR_SCALE_CONVERSION (ACE_ONE_SECOND_IN_USECS) @@ -164,11 +168,6 @@ public: void stop (const ACE_OS::ACE_HRTimer_Op = ACE_OS::ACE_HRTIMER_GETTIME); /// Set @a tv to the number of microseconds elapsed. - /** - * Could overflow within hours on windows with emulated 64 bit int's - * and a fast counter. VC++ and Borland normaly use __int64 and - * so normaly don't have this problem. - */ void elapsed_time (ACE_Time_Value &tv) const; /// Set @a nanoseconds to the number of nanoseconds elapsed. @@ -200,7 +199,7 @@ public: /// to start_incr and stop_incr. void elapsed_time_incr (ACE_Time_Value &tv) const; - /// Set to the number of nanoseconds elapsed between all calls + /// Set @a nanoseconds to the number of nanoseconds elapsed between all calls /// to start_incr and stop_incr. void elapsed_time_incr (ACE_hrtime_t &nanoseconds) const; @@ -249,14 +248,14 @@ public: static void hrtime_to_tv (ACE_Time_Value &tv, const ACE_hrtime_t hrt); -#if defined (linux) +#if defined (ACE_LINUX) /** * This is used to find out the Mhz of the machine for the scale * factor. If there are any problems getting it, we just return 1 * (the default). */ static ACE_UINT32 get_cpuinfo (void); -#endif /* defined (linux) */ +#endif /* defined (ACE_LINUX) */ private: /** @@ -289,7 +288,7 @@ private: /// Converts ticks to microseconds. That is, ticks / /// global_scale_factor_ == microseconds. - static ACE_UINT32 global_scale_factor_; + static global_scale_factor_type global_scale_factor_; /** * Indicates the status of the global scale factor, diff --git a/dep/ACE_wrappers/ace/High_Res_Timer.inl b/dep/acelite/ace/High_Res_Timer.inl similarity index 59% rename from dep/ACE_wrappers/ace/High_Res_Timer.inl rename to dep/acelite/ace/High_Res_Timer.inl index 06241dc0d..c22c47cc3 100644 --- a/dep/ACE_wrappers/ace/High_Res_Timer.inl +++ b/dep/acelite/ace/High_Res_Timer.inl @@ -1,6 +1,5 @@ // -*- C++ -*- */ -// -// $Id: High_Res_Timer.inl 89483 2010-03-15 09:48:01Z johnnyw $ +// $Id: High_Res_Timer.inl 95798 2012-05-31 07:58:55Z johnnyw $ #include "ace/Global_Macros.h" @@ -10,32 +9,40 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -// Be very careful before changing the calculations inside -// ACE_High_Res_Timer. The precision matters and we are using integer -// calculations not floating point. Also look closely at the emulated 64 -// bit int class (inside Basic_Types{h,i,cpp} before changing -// anything. It's operator/ only returns 32 bits not 64 bits, among -// other things. - +/// Be very careful before changing the calculations inside +/// ACE_High_Res_Timer. The precision matters and we are using integer +/// calculations not floating point. ACE_INLINE void ACE_High_Res_Timer::hrtime_to_tv (ACE_Time_Value &tv, const ACE_hrtime_t hrt) { - // The following are based on the units of global_scale_factor_ - // being 1/microsecond. Therefore, dividing by it converts - // clock ticks to microseconds. - tv.sec ((long) (hrt / (ACE_UINT32) ACE_HR_SCALE_CONVERSION / +#if !defined (ACE_WIN32) + // The following are based on the units of global_scale_factor_ + // being 1/microsecond. Therefore, dividing by it converts + // clock ticks to microseconds. + tv.sec ((time_t) (hrt / (ACE_UINT32) ACE_HR_SCALE_CONVERSION / global_scale_factor ())); - // Calculate usec in a manner that's compatible with ACE_U_LongLong. - // hrt = (tv.sec * ACE_ONE_SECOND_IN_USECS + tv.usec) * global_scale_factor_ - // tv.usec = hrt / global_scale_factor_ - tv.sec * ACE_ONE_SECOND_IN_USECS - // That first term will be lossy, so factor out global_scale_factor_: - // tv.usec = (hrt - tv.sec * ACE_ONE_SECOND_IN_USECS * global_scale_factor_)/ - // global_scale_factor - ACE_hrtime_t tmp = tv.sec (); - tmp *= ((ACE_UINT32) ACE_HR_SCALE_CONVERSION * global_scale_factor ()); - tv.usec ((long) ((hrt - tmp) / global_scale_factor ())); + // hrt = (tv.sec * ACE_ONE_SECOND_IN_USECS + tv.usec) * global_scale_factor_ + // tv.usec = hrt / global_scale_factor_ - tv.sec * ACE_ONE_SECOND_IN_USECS + // That first term will be lossy, so factor out global_scale_factor_: + // tv.usec = (hrt - tv.sec * ACE_ONE_SECOND_IN_USECS * global_scale_factor_)/ + // global_scale_factor + ACE_hrtime_t tmp = tv.sec (); + tmp *= ((ACE_UINT32) ACE_HR_SCALE_CONVERSION * global_scale_factor ()); + tv.usec ((suseconds_t) ((hrt - tmp) / global_scale_factor ())); +#else + // This a higher-precision version, specific for Windows systems + // The following are based on the units of global_scale_factor_ + // being 1/microsecond. Therefore, dividing by it converts + // clock ticks to microseconds. + tv.sec ((time_t) (hrt / global_scale_factor () )); + + // Calculate usec, first calculate the seconds in hrtime + ACE_High_Res_Timer::global_scale_factor_type tmp = tv.sec (); + tmp *= global_scale_factor (); + tv.usec ((suseconds_t) ((hrt - tmp) * ACE_HR_SCALE_CONVERSION / global_scale_factor ())); +#endif } @@ -57,13 +64,12 @@ ACE_High_Res_Timer::gettimeofday (const ACE_OS::ACE_HRTimer_Op op) return tv; } - -// Get the current high res timer as the time of day. This is intended -// to be used for a gettimeofday replacement in ACE_Timer_Queue and -// derived classes so the timers will bebased on high res timers rather -// than wall clock time. It uses the ACE_High_Res_Timer::gettimeofday -// function, which is deprecated. If it gets removed, please move the -// code down here, intact. +/// Get the current high res timer as the time of day. This is intended +/// to be used for a gettimeofday replacement in ACE_Timer_Queue and +/// derived classes so the timers will be based on high res timers rather +/// than wall clock time. It uses the ACE_High_Res_Timer::gettimeofday +/// function, which is deprecated. If it gets removed, please move the +/// code down here, intact. ACE_INLINE ACE_Time_Value ACE_High_Res_Timer::gettimeofday_hr (void) { @@ -139,13 +145,21 @@ ACE_High_Res_Timer::stop_incr (const ACE_OS::ACE_HRTimer_Op op) ACE_INLINE void ACE_High_Res_Timer::elapsed_microseconds (ACE_hrtime_t &usecs) const { + +#if !defined (ACE_WIN32) ACE_hrtime_t elapsed = ACE_High_Res_Timer::elapsed_hrtime (this->end_, this->start_); usecs = (ACE_hrtime_t) (elapsed / global_scale_factor ()); +#else + usecs = (ACE_High_Res_Timer::elapsed_hrtime (this->end_, this->start_) * + ACE_HR_SCALE_CONVERSION) / + global_scale_factor (); +#endif } ACE_INLINE void -ACE_High_Res_Timer::global_scale_factor (ACE_UINT32 gsf) +ACE_High_Res_Timer::global_scale_factor ( + ACE_High_Res_Timer::global_scale_factor_type gsf) { global_scale_factor_ = gsf; } diff --git a/dep/ACE_wrappers/ace/ICMP_Socket.cpp b/dep/acelite/ace/ICMP_Socket.cpp similarity index 96% rename from dep/ACE_wrappers/ace/ICMP_Socket.cpp rename to dep/acelite/ace/ICMP_Socket.cpp index 5247dc4b8..04ac2611d 100644 --- a/dep/ACE_wrappers/ace/ICMP_Socket.cpp +++ b/dep/acelite/ace/ICMP_Socket.cpp @@ -1,4 +1,4 @@ -// $Id: ICMP_Socket.cpp 91286 2010-08-05 09:04:31Z johnnyw $ +// $Id: ICMP_Socket.cpp 93560 2011-03-16 13:54:49Z johnnyw $ #include "ace/ICMP_Socket.h" @@ -85,9 +85,9 @@ ACE_ICMP_Socket::open (ACE_Addr const & local, // Check if icmp protocol is supported on this host int proto_number = -1; - protoent *proto; + protoent *proto = 0; - if (! (proto = getprotobyname ("icmp"))) + if (! (proto = ACE_OS::getprotobyname ("icmp"))) { ACE_ERROR_RETURN ((LM_ERROR, diff --git a/dep/ACE_wrappers/ace/ICMP_Socket.h b/dep/acelite/ace/ICMP_Socket.h similarity index 100% rename from dep/ACE_wrappers/ace/ICMP_Socket.h rename to dep/acelite/ace/ICMP_Socket.h diff --git a/dep/ACE_wrappers/ace/INET_Addr.cpp b/dep/acelite/ace/INET_Addr.cpp similarity index 94% rename from dep/ACE_wrappers/ace/INET_Addr.cpp rename to dep/acelite/ace/INET_Addr.cpp index 6dba7150f..a41b0e440 100644 --- a/dep/ACE_wrappers/ace/INET_Addr.cpp +++ b/dep/acelite/ace/INET_Addr.cpp @@ -1,4 +1,4 @@ -// $Id: INET_Addr.cpp 91683 2010-09-09 09:07:49Z johnnyw $ +// $Id: INET_Addr.cpp 95533 2012-02-14 22:59:17Z wotte $ // Defines the Internet domain address family address format. @@ -334,48 +334,67 @@ ACE_INET_Addr::set (u_short port_number, sizeof this->inet_addr_); #if defined (ACE_HAS_IPV6) - struct addrinfo hints; - struct addrinfo *res = 0; - int error = 0; - ACE_OS::memset (&hints, 0, sizeof (hints)); -# if defined (ACE_USES_IPV4_IPV6_MIGRATION) - if (address_family == AF_UNSPEC && !ACE::ipv6_enabled()) + // Let the IPv4 case fall through to the non-IPv6-capable section. + // We don't need the additional getaddrinfo() capability and the Linux + // getaddrinfo() is substantially slower than gethostbyname() w/ + // large vlans. +# if defined (ACE_USES_IPV4_IPV6_MIGRATION) + if (address_family == AF_UNSPEC && !ACE::ipv6_enabled ()) address_family = AF_INET; -# endif /* ACE_USES_IPV4_IPV6_MIGRATION */ - if (address_family == AF_UNSPEC || address_family == AF_INET6) +# endif /* ACE_USES_IPV4_IPV6_MIGRATION */ + if (address_family != AF_INET) { - hints.ai_family = AF_INET6; - error = ::getaddrinfo (host_name, 0, &hints, &res); - if (error) +# if defined (ACE_HAS_GETHOSTBYNAME2) + hostent hentry; + hostent *hp; + ACE_HOSTENT_DATA buf; + int h_error = 0; // Not the same as errno! + + if (0 == ::gethostbyname2_r (host_name, AF_INET6, &hentry, + buf, sizeof(buf), &hp, &h_error)) { - if (address_family == AF_INET6) + if (hp != 0) { - if (res) - ::freeaddrinfo(res); - errno = error; - return -1; + struct sockaddr_in6 v6; + ACE_OS::memset (&v6, 0, sizeof (v6)); + v6.sin6_family = AF_INET6; + (void) ACE_OS::memcpy ((void *) &v6.sin6_addr, + hp->h_addr, + hp->h_length); + this->set_type (hp->h_addrtype); + this->set_addr (&v6, hp->h_length); + this->set_port_number (port_number, encode); + return 0; } - address_family = AF_INET; } - } - if (address_family == AF_INET) - { - hints.ai_family = AF_INET; - error = ::getaddrinfo (host_name, 0, &hints, &res); - if (error) + errno = h_error; + if (address_family == AF_INET6) + return -1; +# else + struct addrinfo hints; + struct addrinfo *res = 0; + int error = 0; + ACE_OS::memset (&hints, 0, sizeof (hints)); + hints.ai_family = AF_INET6; + if ((error = ::getaddrinfo (host_name, 0, &hints, &res)) == 0) + { + this->set_type (res->ai_family); + this->set_addr (res->ai_addr, res->ai_addrlen); + this->set_port_number (port_number, encode); + ::freeaddrinfo (res); + return 0; + } + if (address_family == AF_INET6) { if (res) ::freeaddrinfo(res); errno = error; return -1; } +# endif /* ACE_HAS_GETHOSTBYNAME2 */ + // Let AF_UNSPEC try again w/ IPv4. } - this->set_type (res->ai_family); - this->set_addr (res->ai_addr, res->ai_addrlen); - this->set_port_number (port_number, encode); - ::freeaddrinfo (res); - return 0; -#else /* ACE_HAS_IPV6 */ +#endif /* ACE_HAS_IPV6 */ // IPv6 not supported... insure the family is set to IPv4 address_family = AF_INET; @@ -392,9 +411,6 @@ ACE_INET_Addr::set (u_short port_number, encode); else { -# if defined (ACE_VXWORKS) && defined (ACE_LACKS_GETHOSTBYNAME) - hostent *hp = ACE_OS::gethostbyname (host_name); -# else hostent hentry; ACE_HOSTENT_DATA buf; int h_error = 0; // Not the same as errno! @@ -403,7 +419,6 @@ ACE_INET_Addr::set (u_short port_number, buf, &h_error); if (hp == 0) errno = h_error; -# endif /* ACE_VXWORKS */ if (hp == 0) { @@ -419,7 +434,6 @@ ACE_INET_Addr::set (u_short port_number, encode); } } -#endif /* ACE_HAS_IPV6 */ } // Helper function to get a port number from a port name. @@ -839,19 +853,6 @@ ACE_INET_Addr::get_host_name_i (char hostname[], size_t len) const } else { -#if defined (ACE_VXWORKS) && defined (ACE_LACKS_GETHOSTBYADDR) - ACE_UNUSED_ARG (len); - int error = - ::hostGetByAddr ((int) this->inet_addr_.in4_.sin_addr.s_addr, - hostname); - if (error == OK) - return 0; - else - { - errno = error; - return -1; - } -#else void* addr = this->ip_addr_pointer (); int size = this->ip_addr_size (); int type = this->get_type (); @@ -901,7 +902,6 @@ ACE_INET_Addr::get_host_name_i (char hostname[], size_t len) const ACE_OS::strcpy (hostname, hp->h_name); return 0; -#endif /* ACE_VXWORKS */ } } @@ -1008,7 +1008,7 @@ int ACE_INET_Addr::set_address (const char *ip_addr, } -#if (defined (__linux__) || defined (ACE_WIN32)) && defined (ACE_HAS_IPV6) +#if (defined (ACE_LINUX) || defined (ACE_WIN32)) && defined (ACE_HAS_IPV6) int ACE_INET_Addr::set_interface (const char *intf_name) { @@ -1016,7 +1016,7 @@ ACE_INET_Addr::set_interface (const char *intf_name) (IN6_IS_ADDR_LINKLOCAL (&this->inet_addr_.in6_.sin6_addr) || IN6_IS_ADDR_MC_LINKLOCAL (&this->inet_addr_.in6_.sin6_addr))) { -#if defined (__linux__) +#if defined (ACE_LINUX) this->inet_addr_.in6_.sin6_scope_id = ACE_OS::if_nametoindex (intf_name); #else @@ -1033,7 +1033,7 @@ ACE_INET_Addr::set_interface (const char *intf_name) return 0; } -#endif /* __linux && ACE_HAS_IPV6 */ +#endif /* ACE_LINUX && ACE_HAS_IPV6 */ const char * ACE_INET_Addr::get_host_addr (char *dst, int size) const @@ -1070,7 +1070,7 @@ ACE_INET_Addr::get_host_addr (char *dst, int size) const &this->inet_addr_.in6_.sin6_addr, dst, size); -#if defined (__linux__) +#if defined (ACE_LINUX) if ((IN6_IS_ADDR_LINKLOCAL (&this->inet_addr_.in6_.sin6_addr) || IN6_IS_ADDR_MC_LINKLOCAL (&this->inet_addr_.in6_.sin6_addr)) && this->inet_addr_.in6_.sin6_scope_id != 0) diff --git a/dep/ACE_wrappers/ace/INET_Addr.h b/dep/acelite/ace/INET_Addr.h similarity index 98% rename from dep/ACE_wrappers/ace/INET_Addr.h rename to dep/acelite/ace/INET_Addr.h index fcd26d0de..3272a96a5 100644 --- a/dep/ACE_wrappers/ace/INET_Addr.h +++ b/dep/acelite/ace/INET_Addr.h @@ -4,7 +4,7 @@ /** * @file INET_Addr.h * - * $Id: INET_Addr.h 91626 2010-09-07 10:59:20Z johnnyw $ + * $Id: INET_Addr.h 95533 2012-02-14 22:59:17Z wotte $ * * @author Douglas C. Schmidt */ @@ -250,13 +250,13 @@ public: int encode = 1, int map = 0); -#if (defined (__linux__) || defined (ACE_WIN32)) && defined (ACE_HAS_IPV6) +#if (defined (ACE_LINUX) || defined (ACE_WIN32)) && defined (ACE_HAS_IPV6) /** * Sets the interface that should be used for this address. This only has * an effect when the address is link local, otherwise it does nothing. */ int set_interface (const char *intf_name); -#endif /* (__linux__ || ACE_WIN32) && ACE_HAS_IPV6 */ +#endif /* (ACE_LINUX || ACE_WIN32) && ACE_HAS_IPV6 */ /// Return the port number, converting it into host byte-order. u_short get_port_number (void) const; diff --git a/dep/ACE_wrappers/ace/INET_Addr.inl b/dep/acelite/ace/INET_Addr.inl similarity index 97% rename from dep/ACE_wrappers/ace/INET_Addr.inl rename to dep/acelite/ace/INET_Addr.inl index 06460cb78..eb3923185 100644 --- a/dep/ACE_wrappers/ace/INET_Addr.inl +++ b/dep/acelite/ace/INET_Addr.inl @@ -1,6 +1,6 @@ // -*- C++ -*- // -// $Id: INET_Addr.inl 91685 2010-09-09 09:35:14Z johnnyw $ +// $Id: INET_Addr.inl 96017 2012-08-08 22:18:09Z mitza $ #include "ace/OS_NS_string.h" @@ -87,7 +87,11 @@ ACE_INET_Addr::get_port_number (void) const else return ACE_NTOHS (this->inet_addr_.in6_.sin6_port); #else +# if defined (ACE_VXWORKS) && ACE_VXWORKS >= 0x690 + return static_cast (ACE_NTOHS (this->inet_addr_.in4_.sin_port)); +# else return ACE_NTOHS (this->inet_addr_.in4_.sin_port); +# endif #endif /* ACE_HAS_IPV6 */ } diff --git a/dep/ACE_wrappers/ace/IOStream.cpp b/dep/acelite/ace/IOStream.cpp similarity index 99% rename from dep/ACE_wrappers/ace/IOStream.cpp rename to dep/acelite/ace/IOStream.cpp index 99065091a..59d0191f4 100644 --- a/dep/ACE_wrappers/ace/IOStream.cpp +++ b/dep/acelite/ace/IOStream.cpp @@ -1,12 +1,10 @@ -// $Id: IOStream.cpp 91286 2010-08-05 09:04:31Z johnnyw $ +// $Id: IOStream.cpp 93359 2011-02-11 11:33:12Z mcorino $ #ifndef ACE_IOSTREAM_CPP #define ACE_IOSTREAM_CPP #include "ace/IOStream.h" - - #if !defined (ACE_LACKS_ACE_IOSTREAM) # include "ace/OS_NS_errno.h" diff --git a/dep/ACE_wrappers/ace/IOStream.h b/dep/acelite/ace/IOStream.h similarity index 98% rename from dep/ACE_wrappers/ace/IOStream.h rename to dep/acelite/ace/IOStream.h index de154cd1b..97bbc23b7 100644 --- a/dep/ACE_wrappers/ace/IOStream.h +++ b/dep/acelite/ace/IOStream.h @@ -4,7 +4,7 @@ /** * @file IOStream.h * - * $Id: IOStream.h 92102 2010-09-30 08:14:15Z johnnyw $ + * $Id: IOStream.h 93359 2011-02-11 11:33:12Z mcorino $ * * @author James CE Johnson * @author Jim Crossley @@ -156,7 +156,7 @@ class ACE_Export ACE_Streambuf : public streambuf public: /** - * If the default allocation strategey were used the common buffer + * If the default allocation strategy were used the common buffer * would be deleted when the object destructs. Since we are * providing separate read/write buffers, it is up to us to manage * their memory. @@ -274,11 +274,11 @@ protected: */ int syncin (void); - /// syncout is called when the output needs to be flushed. This is + /// syncout() is called when the output needs to be flushed. This is /// easily done by calling the peer's send_n function. int syncout (void); - /// flushbuf is the worker of syncout. It is a separate function + /// flushbuf() is the worker of syncout. It is a separate function /// because it gets used sometimes in different context. int flushbuf (void); diff --git a/dep/ACE_wrappers/ace/IOStream_T.cpp b/dep/acelite/ace/IOStream_T.cpp similarity index 100% rename from dep/ACE_wrappers/ace/IOStream_T.cpp rename to dep/acelite/ace/IOStream_T.cpp diff --git a/dep/ACE_wrappers/ace/IOStream_T.h b/dep/acelite/ace/IOStream_T.h similarity index 98% rename from dep/ACE_wrappers/ace/IOStream_T.h rename to dep/acelite/ace/IOStream_T.h index 286f1a714..6a6cda570 100644 --- a/dep/ACE_wrappers/ace/IOStream_T.h +++ b/dep/acelite/ace/IOStream_T.h @@ -4,7 +4,7 @@ /** * @file IOStream_T.h * - * $Id: IOStream_T.h 80826 2008-03-04 14:51:23Z wotte $ + * $Id: IOStream_T.h 93359 2011-02-11 11:33:12Z mcorino $ * * @author James CE Johnson * @author Jim Crossley @@ -116,7 +116,7 @@ public: u_int streambuf_size = ACE_STREAMBUF_SIZE); /** - * The default constructor. This will initiailze your STREAM and + * The default constructor. This will initialize your STREAM and * then setup the iostream baseclass to use a custom streambuf based * on STREAM. */ @@ -126,7 +126,7 @@ public: /// to the base class; virtual ~ACE_IOStream (void); - /// The only ambituity in the multiple inheritance is the + /// The only ambiguity in the multiple inheritance is the /// function. virtual int close (void); diff --git a/dep/ACE_wrappers/ace/IOStream_T.inl b/dep/acelite/ace/IOStream_T.inl similarity index 100% rename from dep/ACE_wrappers/ace/IOStream_T.inl rename to dep/acelite/ace/IOStream_T.inl diff --git a/dep/ACE_wrappers/ace/IO_Cntl_Msg.cpp b/dep/acelite/ace/IO_Cntl_Msg.cpp similarity index 100% rename from dep/ACE_wrappers/ace/IO_Cntl_Msg.cpp rename to dep/acelite/ace/IO_Cntl_Msg.cpp diff --git a/dep/ACE_wrappers/ace/IO_Cntl_Msg.h b/dep/acelite/ace/IO_Cntl_Msg.h similarity index 100% rename from dep/ACE_wrappers/ace/IO_Cntl_Msg.h rename to dep/acelite/ace/IO_Cntl_Msg.h diff --git a/dep/ACE_wrappers/ace/IO_Cntl_Msg.inl b/dep/acelite/ace/IO_Cntl_Msg.inl similarity index 100% rename from dep/ACE_wrappers/ace/IO_Cntl_Msg.inl rename to dep/acelite/ace/IO_Cntl_Msg.inl diff --git a/dep/ACE_wrappers/ace/IO_SAP.cpp b/dep/acelite/ace/IO_SAP.cpp similarity index 98% rename from dep/ACE_wrappers/ace/IO_SAP.cpp rename to dep/acelite/ace/IO_SAP.cpp index 139eb50b3..d4bca8c88 100644 --- a/dep/ACE_wrappers/ace/IO_SAP.cpp +++ b/dep/acelite/ace/IO_SAP.cpp @@ -1,4 +1,4 @@ -// $Id: IO_SAP.cpp 91286 2010-08-05 09:04:31Z johnnyw $ +// $Id: IO_SAP.cpp 93736 2011-04-05 12:38:35Z johnnyw $ #include "ace/IO_SAP.h" @@ -12,8 +12,6 @@ #include "ace/IO_SAP.inl" #endif /* __ACE_INLINE__ */ - - ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_IO_SAP) diff --git a/dep/ACE_wrappers/ace/IO_SAP.h b/dep/acelite/ace/IO_SAP.h similarity index 100% rename from dep/ACE_wrappers/ace/IO_SAP.h rename to dep/acelite/ace/IO_SAP.h diff --git a/dep/ACE_wrappers/ace/IO_SAP.inl b/dep/acelite/ace/IO_SAP.inl similarity index 92% rename from dep/ACE_wrappers/ace/IO_SAP.inl rename to dep/acelite/ace/IO_SAP.inl index 78b2ee31f..4c3182fa6 100644 --- a/dep/ACE_wrappers/ace/IO_SAP.inl +++ b/dep/acelite/ace/IO_SAP.inl @@ -1,6 +1,5 @@ // -*- C++ -*- -// -// $Id: IO_SAP.inl 80826 2008-03-04 14:51:23Z wotte $ +// $Id: IO_SAP.inl 93736 2011-04-05 12:38:35Z johnnyw $ #include "ace/OS_NS_stropts.h" diff --git a/dep/ACE_wrappers/ace/IPC_SAP.cpp b/dep/acelite/ace/IPC_SAP.cpp similarity index 100% rename from dep/ACE_wrappers/ace/IPC_SAP.cpp rename to dep/acelite/ace/IPC_SAP.cpp diff --git a/dep/ACE_wrappers/ace/IPC_SAP.h b/dep/acelite/ace/IPC_SAP.h similarity index 100% rename from dep/ACE_wrappers/ace/IPC_SAP.h rename to dep/acelite/ace/IPC_SAP.h diff --git a/dep/ACE_wrappers/ace/IPC_SAP.inl b/dep/acelite/ace/IPC_SAP.inl similarity index 100% rename from dep/ACE_wrappers/ace/IPC_SAP.inl rename to dep/acelite/ace/IPC_SAP.inl diff --git a/dep/ACE_wrappers/ace/If_Then_Else.h b/dep/acelite/ace/If_Then_Else.h similarity index 100% rename from dep/ACE_wrappers/ace/If_Then_Else.h rename to dep/acelite/ace/If_Then_Else.h diff --git a/dep/ACE_wrappers/ace/Init_ACE.cpp b/dep/acelite/ace/Init_ACE.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Init_ACE.cpp rename to dep/acelite/ace/Init_ACE.cpp diff --git a/dep/ACE_wrappers/ace/Init_ACE.h b/dep/acelite/ace/Init_ACE.h similarity index 100% rename from dep/ACE_wrappers/ace/Init_ACE.h rename to dep/acelite/ace/Init_ACE.h diff --git a/dep/ACE_wrappers/ace/Intrusive_Auto_Ptr.cpp b/dep/acelite/ace/Intrusive_Auto_Ptr.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Intrusive_Auto_Ptr.cpp rename to dep/acelite/ace/Intrusive_Auto_Ptr.cpp diff --git a/dep/ACE_wrappers/ace/Intrusive_Auto_Ptr.h b/dep/acelite/ace/Intrusive_Auto_Ptr.h similarity index 100% rename from dep/ACE_wrappers/ace/Intrusive_Auto_Ptr.h rename to dep/acelite/ace/Intrusive_Auto_Ptr.h diff --git a/dep/ACE_wrappers/ace/Intrusive_Auto_Ptr.inl b/dep/acelite/ace/Intrusive_Auto_Ptr.inl similarity index 100% rename from dep/ACE_wrappers/ace/Intrusive_Auto_Ptr.inl rename to dep/acelite/ace/Intrusive_Auto_Ptr.inl diff --git a/dep/ACE_wrappers/ace/Intrusive_List.cpp b/dep/acelite/ace/Intrusive_List.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Intrusive_List.cpp rename to dep/acelite/ace/Intrusive_List.cpp diff --git a/dep/ACE_wrappers/ace/Intrusive_List.h b/dep/acelite/ace/Intrusive_List.h similarity index 100% rename from dep/ACE_wrappers/ace/Intrusive_List.h rename to dep/acelite/ace/Intrusive_List.h diff --git a/dep/ACE_wrappers/ace/Intrusive_List.inl b/dep/acelite/ace/Intrusive_List.inl similarity index 100% rename from dep/ACE_wrappers/ace/Intrusive_List.inl rename to dep/acelite/ace/Intrusive_List.inl diff --git a/dep/ACE_wrappers/ace/Intrusive_List_Node.cpp b/dep/acelite/ace/Intrusive_List_Node.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Intrusive_List_Node.cpp rename to dep/acelite/ace/Intrusive_List_Node.cpp diff --git a/dep/ACE_wrappers/ace/Intrusive_List_Node.h b/dep/acelite/ace/Intrusive_List_Node.h similarity index 100% rename from dep/ACE_wrappers/ace/Intrusive_List_Node.h rename to dep/acelite/ace/Intrusive_List_Node.h diff --git a/dep/ACE_wrappers/ace/Intrusive_List_Node.inl b/dep/acelite/ace/Intrusive_List_Node.inl similarity index 100% rename from dep/ACE_wrappers/ace/Intrusive_List_Node.inl rename to dep/acelite/ace/Intrusive_List_Node.inl diff --git a/dep/ACE_wrappers/ace/LOCK_SOCK_Acceptor.cpp b/dep/acelite/ace/LOCK_SOCK_Acceptor.cpp similarity index 100% rename from dep/ACE_wrappers/ace/LOCK_SOCK_Acceptor.cpp rename to dep/acelite/ace/LOCK_SOCK_Acceptor.cpp diff --git a/dep/ACE_wrappers/ace/LOCK_SOCK_Acceptor.h b/dep/acelite/ace/LOCK_SOCK_Acceptor.h similarity index 100% rename from dep/ACE_wrappers/ace/LOCK_SOCK_Acceptor.h rename to dep/acelite/ace/LOCK_SOCK_Acceptor.h diff --git a/dep/ACE_wrappers/ace/LSOCK.cpp b/dep/acelite/ace/LSOCK.cpp similarity index 100% rename from dep/ACE_wrappers/ace/LSOCK.cpp rename to dep/acelite/ace/LSOCK.cpp diff --git a/dep/ACE_wrappers/ace/LSOCK.h b/dep/acelite/ace/LSOCK.h similarity index 100% rename from dep/ACE_wrappers/ace/LSOCK.h rename to dep/acelite/ace/LSOCK.h diff --git a/dep/ACE_wrappers/ace/LSOCK.inl b/dep/acelite/ace/LSOCK.inl similarity index 100% rename from dep/ACE_wrappers/ace/LSOCK.inl rename to dep/acelite/ace/LSOCK.inl diff --git a/dep/ACE_wrappers/ace/LSOCK_Acceptor.cpp b/dep/acelite/ace/LSOCK_Acceptor.cpp similarity index 100% rename from dep/ACE_wrappers/ace/LSOCK_Acceptor.cpp rename to dep/acelite/ace/LSOCK_Acceptor.cpp diff --git a/dep/ACE_wrappers/ace/LSOCK_Acceptor.h b/dep/acelite/ace/LSOCK_Acceptor.h similarity index 100% rename from dep/ACE_wrappers/ace/LSOCK_Acceptor.h rename to dep/acelite/ace/LSOCK_Acceptor.h diff --git a/dep/ACE_wrappers/ace/LSOCK_CODgram.cpp b/dep/acelite/ace/LSOCK_CODgram.cpp similarity index 100% rename from dep/ACE_wrappers/ace/LSOCK_CODgram.cpp rename to dep/acelite/ace/LSOCK_CODgram.cpp diff --git a/dep/ACE_wrappers/ace/LSOCK_CODgram.h b/dep/acelite/ace/LSOCK_CODgram.h similarity index 100% rename from dep/ACE_wrappers/ace/LSOCK_CODgram.h rename to dep/acelite/ace/LSOCK_CODgram.h diff --git a/dep/ACE_wrappers/ace/LSOCK_CODgram.inl b/dep/acelite/ace/LSOCK_CODgram.inl similarity index 100% rename from dep/ACE_wrappers/ace/LSOCK_CODgram.inl rename to dep/acelite/ace/LSOCK_CODgram.inl diff --git a/dep/ACE_wrappers/ace/LSOCK_Connector.cpp b/dep/acelite/ace/LSOCK_Connector.cpp similarity index 100% rename from dep/ACE_wrappers/ace/LSOCK_Connector.cpp rename to dep/acelite/ace/LSOCK_Connector.cpp diff --git a/dep/ACE_wrappers/ace/LSOCK_Connector.h b/dep/acelite/ace/LSOCK_Connector.h similarity index 100% rename from dep/ACE_wrappers/ace/LSOCK_Connector.h rename to dep/acelite/ace/LSOCK_Connector.h diff --git a/dep/ACE_wrappers/ace/LSOCK_Connector.inl b/dep/acelite/ace/LSOCK_Connector.inl similarity index 100% rename from dep/ACE_wrappers/ace/LSOCK_Connector.inl rename to dep/acelite/ace/LSOCK_Connector.inl diff --git a/dep/ACE_wrappers/ace/LSOCK_Dgram.cpp b/dep/acelite/ace/LSOCK_Dgram.cpp similarity index 100% rename from dep/ACE_wrappers/ace/LSOCK_Dgram.cpp rename to dep/acelite/ace/LSOCK_Dgram.cpp diff --git a/dep/ACE_wrappers/ace/LSOCK_Dgram.h b/dep/acelite/ace/LSOCK_Dgram.h similarity index 100% rename from dep/ACE_wrappers/ace/LSOCK_Dgram.h rename to dep/acelite/ace/LSOCK_Dgram.h diff --git a/dep/ACE_wrappers/ace/LSOCK_Dgram.inl b/dep/acelite/ace/LSOCK_Dgram.inl similarity index 100% rename from dep/ACE_wrappers/ace/LSOCK_Dgram.inl rename to dep/acelite/ace/LSOCK_Dgram.inl diff --git a/dep/ACE_wrappers/ace/LSOCK_Stream.cpp b/dep/acelite/ace/LSOCK_Stream.cpp similarity index 100% rename from dep/ACE_wrappers/ace/LSOCK_Stream.cpp rename to dep/acelite/ace/LSOCK_Stream.cpp diff --git a/dep/ACE_wrappers/ace/LSOCK_Stream.h b/dep/acelite/ace/LSOCK_Stream.h similarity index 100% rename from dep/ACE_wrappers/ace/LSOCK_Stream.h rename to dep/acelite/ace/LSOCK_Stream.h diff --git a/dep/ACE_wrappers/ace/LSOCK_Stream.inl b/dep/acelite/ace/LSOCK_Stream.inl similarity index 100% rename from dep/ACE_wrappers/ace/LSOCK_Stream.inl rename to dep/acelite/ace/LSOCK_Stream.inl diff --git a/dep/ACE_wrappers/ace/Lib_Find.cpp b/dep/acelite/ace/Lib_Find.cpp similarity index 98% rename from dep/ACE_wrappers/ace/Lib_Find.cpp rename to dep/acelite/ace/Lib_Find.cpp index c5a0610f0..6c63df21b 100644 --- a/dep/ACE_wrappers/ace/Lib_Find.cpp +++ b/dep/acelite/ace/Lib_Find.cpp @@ -1,4 +1,4 @@ -// $Id: Lib_Find.cpp 91286 2010-08-05 09:04:31Z johnnyw $ +// $Id: Lib_Find.cpp 95630 2012-03-22 13:04:47Z johnnyw $ #include "ace/Lib_Find.h" #include "ace/Log_Msg.h" @@ -608,7 +608,13 @@ ACE::get_temp_dir (ACE_TCHAR *buffer, size_t buffer_len) const char *tmpdir = ACE_OS::getenv ("TMPDIR"); if (tmpdir == 0) - tmpdir = "/tmp"; + { +#if defined (ACE_DEFAULT_TEMP_DIR) + tmpdir = ACE_DEFAULT_TEMP_DIR; +#else + tmpdir = "/tmp"; +#endif + } size_t len = ACE_OS::strlen (tmpdir); @@ -653,7 +659,10 @@ ACE::open_temp_file (const ACE_TCHAR *name, int mode, int perm) // Unlink it so that the file will be removed automatically when the // process goes away. if (ACE_OS::unlink (name) == -1) - return ACE_INVALID_HANDLE; + { + ACE_OS::close (handle); + return ACE_INVALID_HANDLE; + } else // Return the handle. return handle; diff --git a/dep/ACE_wrappers/ace/Lib_Find.h b/dep/acelite/ace/Lib_Find.h similarity index 94% rename from dep/ACE_wrappers/ace/Lib_Find.h rename to dep/acelite/ace/Lib_Find.h index 133b83ffb..1ed2d8e72 100644 --- a/dep/ACE_wrappers/ace/Lib_Find.h +++ b/dep/acelite/ace/Lib_Find.h @@ -7,7 +7,7 @@ * All the static function calls needed to search and open shared * libraries. * - * $Id: Lib_Find.h 80826 2008-03-04 14:51:23Z wotte $ + * $Id: Lib_Find.h 93359 2011-02-11 11:33:12Z mcorino $ */ //============================================================================= @@ -101,10 +101,10 @@ namespace ACE extern ACE_Export size_t strrepl (char *s, char search, char replace); /** - * Splits string into pieces separated by the string . - * is an opaque cookie handed back by the call to store + * Splits string @a s into pieces separated by the string @a token. + * @a next_start is an opaque cookie handed back by the call to store * its state for the next invocation, thus making it re-entrant. - * This operates very similar to Perl's function except that + * This operates very similar to Perl's @c split function except that * it returns pieces one at a time instead of into an array. */ extern ACE_Export char *strsplit_r (char *s, diff --git a/dep/ACE_wrappers/ace/Local_Memory_Pool.cpp b/dep/acelite/ace/Local_Memory_Pool.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Local_Memory_Pool.cpp rename to dep/acelite/ace/Local_Memory_Pool.cpp diff --git a/dep/ACE_wrappers/ace/Local_Memory_Pool.h b/dep/acelite/ace/Local_Memory_Pool.h similarity index 100% rename from dep/ACE_wrappers/ace/Local_Memory_Pool.h rename to dep/acelite/ace/Local_Memory_Pool.h diff --git a/dep/ACE_wrappers/ace/Local_Name_Space.cpp b/dep/acelite/ace/Local_Name_Space.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Local_Name_Space.cpp rename to dep/acelite/ace/Local_Name_Space.cpp diff --git a/dep/ACE_wrappers/ace/Local_Name_Space.h b/dep/acelite/ace/Local_Name_Space.h similarity index 100% rename from dep/ACE_wrappers/ace/Local_Name_Space.h rename to dep/acelite/ace/Local_Name_Space.h diff --git a/dep/ACE_wrappers/ace/Local_Name_Space_T.cpp b/dep/acelite/ace/Local_Name_Space_T.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Local_Name_Space_T.cpp rename to dep/acelite/ace/Local_Name_Space_T.cpp diff --git a/dep/ACE_wrappers/ace/Local_Name_Space_T.h b/dep/acelite/ace/Local_Name_Space_T.h similarity index 97% rename from dep/ACE_wrappers/ace/Local_Name_Space_T.h rename to dep/acelite/ace/Local_Name_Space_T.h index 56b445b4d..33f9acc76 100644 --- a/dep/ACE_wrappers/ace/Local_Name_Space_T.h +++ b/dep/acelite/ace/Local_Name_Space_T.h @@ -4,7 +4,7 @@ /** * @file Local_Name_Space_T.h * - * $Id: Local_Name_Space_T.h 91688 2010-09-09 11:21:50Z johnnyw $ + * $Id: Local_Name_Space_T.h 93359 2011-02-11 11:33:12Z mcorino $ * * @author Prashant Jain * @author Irfan Pyarali and @@ -135,13 +135,13 @@ public: /** * Overwrite the value or type of an existing name in a * ACE_Local_Name_Space or bind a new name to the context, if it - * didn't exist yet. (Wide charcter strings interface). + * didn't exist yet. (Wide character strings interface). */ virtual int rebind (const ACE_NS_WString &name, const ACE_NS_WString &value, const char *type = ""); - /// Delete a name from a ACE_Local_Name_Space (Wide charcter strings + /// Delete a name from a ACE_Local_Name_Space (Wide character strings /// Interface). virtual int unbind (const ACE_NS_WString &name); virtual int unbind_i (const ACE_NS_WString &name); diff --git a/dep/ACE_wrappers/ace/Local_Tokens.cpp b/dep/acelite/ace/Local_Tokens.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Local_Tokens.cpp rename to dep/acelite/ace/Local_Tokens.cpp diff --git a/dep/ACE_wrappers/ace/Local_Tokens.h b/dep/acelite/ace/Local_Tokens.h similarity index 98% rename from dep/ACE_wrappers/ace/Local_Tokens.h rename to dep/acelite/ace/Local_Tokens.h index a55537036..72e528bfd 100644 --- a/dep/ACE_wrappers/ace/Local_Tokens.h +++ b/dep/acelite/ace/Local_Tokens.h @@ -4,7 +4,7 @@ /** * @file Local_Tokens.h * - * $Id: Local_Tokens.h 91626 2010-09-07 10:59:20Z johnnyw $ + * $Id: Local_Tokens.h 93792 2011-04-07 11:48:50Z mcorino $ * * @author Karl-Heinz Dorn * @author Douglas C. Schmidt @@ -408,13 +408,13 @@ public: typedef ACE_Unbounded_Stack OWNER_STACK; /// Returns a stack of the current owners. Returns -1 on error, 0 on - /// success. If is non-zero, returns 1 if id is an owner. + /// success. If @a id is non-zero, returns 1 if id is an owner. virtual int owners (OWNER_STACK &o, const ACE_TCHAR *id) = 0; - /// Returns 1 if is waiting for this token. 0 otherwise. + /// Returns 1 if @a id is waiting for this token. 0 otherwise. virtual int is_waiting_for (const ACE_TCHAR *id) = 0; - /// Returns 1 if is an owner of this token. 0 otherwise. + /// Returns 1 if @a id is an owner of this token. 0 otherwise. virtual int is_owner (const ACE_TCHAR *id) = 0; /// Return the queue of waiters. @@ -562,13 +562,13 @@ public: virtual int type (void) const; /// Returns a stack of the current owners. Returns -1 on error, 0 on - /// success. If is non-zero, returns 1 if id is an owner. + /// success. If @a id is non-zero, returns 1 if id is an owner. virtual int owners (OWNER_STACK &o, const ACE_TCHAR *id); - /// Returns 1 if is waiting for this token. 0 otherwise. + /// Returns 1 if @a id is waiting for this token. 0 otherwise. virtual int is_waiting_for (const ACE_TCHAR *id); - /// Returns 1 if is an owner of this token. 0 otherwise. + /// Returns 1 if @a id is an owner of this token. 0 otherwise. virtual int is_owner (const ACE_TCHAR *id); private: @@ -660,13 +660,13 @@ public: virtual int type (void) const; /// Returns a stack of the current owners. Returns -1 on error, 0 on - /// success. If is non-zero, returns 1 if id is an owner. + /// success. If @a id is non-zero, returns 1 if id is an owner. virtual int owners (OWNER_STACK &o, const ACE_TCHAR *id); - /// Returns 1 if is waiting for this token. 0 otherwise. + /// Returns 1 if @a id is waiting for this token. 0 otherwise. virtual int is_waiting_for (const ACE_TCHAR *id); - /// Returns 1 if is an owner of this token. 0 otherwise. + /// Returns 1 if @a id is an owner of this token. 0 otherwise. virtual int is_owner (const ACE_TCHAR *id); protected: diff --git a/dep/ACE_wrappers/ace/Local_Tokens.inl b/dep/acelite/ace/Local_Tokens.inl similarity index 100% rename from dep/ACE_wrappers/ace/Local_Tokens.inl rename to dep/acelite/ace/Local_Tokens.inl diff --git a/dep/ACE_wrappers/ace/Lock.cpp b/dep/acelite/ace/Lock.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Lock.cpp rename to dep/acelite/ace/Lock.cpp diff --git a/dep/ACE_wrappers/ace/Lock.h b/dep/acelite/ace/Lock.h similarity index 88% rename from dep/ACE_wrappers/ace/Lock.h rename to dep/acelite/ace/Lock.h index 36f99939b..cbf41306d 100644 --- a/dep/ACE_wrappers/ace/Lock.h +++ b/dep/acelite/ace/Lock.h @@ -4,7 +4,7 @@ /** * @file Lock.h * - * $Id: Lock.h 80826 2008-03-04 14:51:23Z wotte $ + * $Id: Lock.h 93792 2011-04-07 11:48:50Z mcorino $ * * Moved from Synch.h. * @@ -43,7 +43,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL class ACE_Export ACE_Lock { public: - /// CE needs a default ctor here. + /// CE needs a default constructor here. ACE_Lock (void); /// Noop virtual destructor @@ -73,20 +73,20 @@ public: /** * Block until the thread acquires a read lock. If the locking * mechanism doesn't support read locks then this just calls - * . Returns -1 on failure. + * acquire(). Returns -1 on failure. */ virtual int acquire_read (void) = 0; /** * Block until the thread acquires a write lock. If the locking * mechanism doesn't support read locks then this just calls - * . Returns -1 on failure. + * acquire(). Returns -1 on failure. */ virtual int acquire_write (void) = 0; /** * Conditionally acquire a read lock. If the locking mechanism - * doesn't support read locks then this just calls . + * doesn't support read locks then this just calls acquire(). * Returns -1 on failure. If we "failed" because someone else * already had the lock, @c errno is set to @c EBUSY. */ @@ -94,7 +94,7 @@ public: /** * Conditionally acquire a write lock. If the locking mechanism - * doesn't support read locks then this just calls . + * doesn't support read locks then this just calls acquire(). * Returns -1 on failure. If we "failed" because someone else * already had the lock, @c errno is set to @c EBUSY. */ @@ -103,7 +103,7 @@ public: /** * Conditionally try to upgrade a lock held for read to a write lock. * If the locking mechanism doesn't support read locks then this just - * calls . Returns 0 on success, -1 on failure. + * calls acquire(). Returns 0 on success, -1 on failure. */ virtual int tryacquire_write_upgrade (void) = 0; }; @@ -118,13 +118,13 @@ public: * However, it defers our decision of what kind of lock to use * to the run time and delegates all locking operations to the actual * lock. Users must define a constructor in their subclass to - * initialize . + * initialize @c lock_. */ class ACE_Export ACE_Adaptive_Lock : public ACE_Lock { public: /// You must also override the destructor function to match with how - /// you construct the underneath . + /// you construct the underneath @c lock_. virtual ~ACE_Adaptive_Lock (void); // = Lock/unlock operations. @@ -142,8 +142,8 @@ public: protected: /** - * Create and initialize create the actual lcok used in the class. - * The default constructor simply set the to 0 (null). You + * Create and initialize create the actual lock used in the class. + * The default constructor simply set the @c lock_ to 0 (null). You * must overwrite this method for this class to work. */ ACE_Adaptive_Lock (void); diff --git a/dep/ACE_wrappers/ace/Lock.inl b/dep/acelite/ace/Lock.inl similarity index 100% rename from dep/ACE_wrappers/ace/Lock.inl rename to dep/acelite/ace/Lock.inl diff --git a/dep/ACE_wrappers/ace/Lock_Adapter_T.cpp b/dep/acelite/ace/Lock_Adapter_T.cpp similarity index 87% rename from dep/ACE_wrappers/ace/Lock_Adapter_T.cpp rename to dep/acelite/ace/Lock_Adapter_T.cpp index fbe43afd2..abe619086 100644 --- a/dep/ACE_wrappers/ace/Lock_Adapter_T.cpp +++ b/dep/acelite/ace/Lock_Adapter_T.cpp @@ -1,4 +1,4 @@ -// $Id: Lock_Adapter_T.cpp 80826 2008-03-04 14:51:23Z wotte $ +// $Id: Lock_Adapter_T.cpp 93359 2011-02-11 11:33:12Z mcorino $ #ifndef ACE_LOCK_ADAPTER_T_CPP #define ACE_LOCK_ADAPTER_T_CPP @@ -16,17 +16,6 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -// This constructor isn't inlined, because SunPRO C++ 4.2 + patch -// 104631-07 has trouble compiling TAO with it inline. -template -ACE_Lock_Adapter::ACE_Lock_Adapter (void) - : lock_ (0), - delete_lock_ (true) -{ - ACE_NEW (this->lock_, - ACE_LOCKING_MECHANISM); -} - template ACE_Lock_Adapter::~ACE_Lock_Adapter (void) { diff --git a/dep/ACE_wrappers/ace/Lock_Adapter_T.h b/dep/acelite/ace/Lock_Adapter_T.h similarity index 88% rename from dep/ACE_wrappers/ace/Lock_Adapter_T.h rename to dep/acelite/ace/Lock_Adapter_T.h index 2fe38302e..3785d7a2d 100644 --- a/dep/ACE_wrappers/ace/Lock_Adapter_T.h +++ b/dep/acelite/ace/Lock_Adapter_T.h @@ -4,7 +4,7 @@ /** * @file Lock_Adapter_T.h * - * $Id: Lock_Adapter_T.h 84481 2009-02-17 10:58:31Z johnnyw $ + * $Id: Lock_Adapter_T.h 93359 2011-02-11 11:33:12Z mcorino $ * * Moved from Synch.h. * @@ -28,7 +28,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL * @class ACE_Lock_Adapter * * @brief This is an adapter that allows applications to transparently - * combine the abstract base class (which contains + * combine the ACE_Lock abstract base class (which contains * pure virtual methods) with any of the other concrete ACE * synchronization classes (e.g., ACE_Mutex, ACE_Semaphore, * ACE_RW_Mutex, etc.). @@ -50,7 +50,7 @@ public: /// created internally. ACE_Lock_Adapter (void); - /// Destructor. If was not passed in by the user, it will be + /// Destructor. If @c lock_ was not passed in by the user, it will be /// deleted. virtual ~ACE_Lock_Adapter (void); @@ -67,29 +67,29 @@ public: /** * Block until the thread acquires a read lock. If the locking * mechanism doesn't support read locks then this just calls - * . + * acquire(). */ virtual int acquire_read (void); /** * Block until the thread acquires a write lock. If the locking * mechanism doesn't support read locks then this just calls - * . + * acquire(). */ virtual int acquire_write (void); /// Conditionally acquire a read lock. If the locking mechanism - /// doesn't support read locks then this just calls . + /// doesn't support read locks then this just calls acquire(). virtual int tryacquire_read (void); /// Conditionally acquire a write lock. If the locking mechanism - /// doesn't support read locks then this just calls . + /// doesn't support read locks then this just calls acquire(). virtual int tryacquire_write (void); /** * Conditionally try to upgrade a lock held for read to a write lock. * If the locking mechanism doesn't support read locks then this just - * calls . Returns 0 on success, -1 on failure. + * calls acquire(). Returns 0 on success, -1 on failure. */ virtual int tryacquire_write_upgrade (void); diff --git a/dep/acelite/ace/Lock_Adapter_T.inl b/dep/acelite/ace/Lock_Adapter_T.inl new file mode 100644 index 000000000..4ffaf6cb6 --- /dev/null +++ b/dep/acelite/ace/Lock_Adapter_T.inl @@ -0,0 +1,28 @@ +// -*- C++ -*- +// +// $Id: Lock_Adapter_T.inl 93385 2011-02-14 20:21:20Z mitza $ + +#include "ace/OS_Memory.h" + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +template +ACE_INLINE +ACE_Lock_Adapter::ACE_Lock_Adapter ( + ACE_LOCKING_MECHANISM &lock) + : lock_ (&lock), + delete_lock_ (false) +{ +} + +template +ACE_INLINE +ACE_Lock_Adapter::ACE_Lock_Adapter (void) + : lock_ (0), + delete_lock_ (true) +{ + ACE_NEW (this->lock_, + ACE_LOCKING_MECHANISM); +} + +ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/dep/ACE_wrappers/ace/Log_Msg.cpp b/dep/acelite/ace/Log_Msg.cpp similarity index 97% rename from dep/ACE_wrappers/ace/Log_Msg.cpp rename to dep/acelite/ace/Log_Msg.cpp index 3df89332a..676236b72 100644 --- a/dep/ACE_wrappers/ace/Log_Msg.cpp +++ b/dep/acelite/ace/Log_Msg.cpp @@ -1,4 +1,4 @@ -// $Id: Log_Msg.cpp 92052 2010-09-27 14:20:22Z vzykov $ +// $Id: Log_Msg.cpp 95761 2012-05-15 18:23:04Z johnnyw $ // We need this to get the status of ACE_NTRACE... #include "ace/config-all.h" @@ -57,16 +57,7 @@ ACE_ALLOC_HOOK_DEFINE(ACE_Log_Msg) # if defined (ACE_HAS_THREAD_SPECIFIC_STORAGE) || \ defined (ACE_HAS_TSS_EMULATION) -#if defined (ACE_MVS) - static ACE_thread_key_t the_log_msg_tss_key = - #if !defined(_LP64) - { '\0','\0','\0','\0' }; - #else - { '\0','\0','\0','\0','\0','\0','\0','\0' }; - #endif -#else - static ACE_thread_key_t the_log_msg_tss_key = 0; -#endif /* defined (ACE_MVS) */ +static ACE_thread_key_t the_log_msg_tss_key = 0; ACE_thread_key_t *log_msg_tss_key (void) { @@ -1051,27 +1042,30 @@ ACE_Log_Msg::log (const ACE_TCHAR *format_str, } if (timestamp_ > 0) - { - ACE_TCHAR day_and_time[35]; - const ACE_TCHAR *s = 0; - if (timestamp_ == 1) - { - // Print just the time - s = ACE::timestamp (day_and_time, sizeof day_and_time / sizeof (ACE_TCHAR), 1); - } - else - { - // Print time and date - ACE::timestamp (day_and_time, sizeof day_and_time / sizeof (ACE_TCHAR)); - s = day_and_time; - } + { + ACE_TCHAR day_and_time[27]; + const ACE_TCHAR *s = 0; + if (timestamp_ == 1) + { + // Print just the time + s = ACE::timestamp (day_and_time, + sizeof (day_and_time) / sizeof (ACE_TCHAR), + true); + } + else + { + // Print time and date + ACE::timestamp (day_and_time, + sizeof (day_and_time) / sizeof (ACE_TCHAR)); + s = day_and_time; + } - for (; bspace > 1 && (*bp = *s) != '\0'; ++s, --bspace) - ++bp; + for (; bspace > 1 && (*bp = *s) != '\0'; ++s, --bspace) + ++bp; - *bp++ = '|'; - --bspace; - } + *bp++ = '|'; + --bspace; + } while (*format_str != '\0' && bspace > 0) { @@ -1106,7 +1100,8 @@ ACE_Log_Msg::log (const ACE_TCHAR *format_str, const ACE_TCHAR *abort_str = ACE_TEXT ("Aborting..."); const ACE_TCHAR *start_format = format_str; ACE_TCHAR format[128]; // Converted format string - ACE_TCHAR *fp; // Current format pointer + ACE_OS::memset (format, '\0', 128); // Set this string to known values. + ACE_TCHAR *fp = 0; // Current format pointer int wp = 0; // Width/precision extracted from args bool done = false; bool skip_nul_locate = false; @@ -1647,21 +1642,23 @@ ACE_Log_Msg::log (const ACE_TCHAR *format_str, } case 'D': // Format the timestamp in format: - // Weekday Month day year hour:minute:sec.usec + // yyyy-mm-dd hour:minute:sec.usec + // This is a maximum of 27 characters + // including terminator. { - ACE_TCHAR day_and_time[35]; + ACE_TCHAR day_and_time[27]; // Did we find the flag indicating a time value argument if (format[1] == ACE_TEXT('#')) { ACE_Time_Value* time_value = va_arg (argp, ACE_Time_Value*); ACE::timestamp (*time_value, day_and_time, - sizeof day_and_time / sizeof (ACE_TCHAR)); + sizeof (day_and_time) / sizeof (ACE_TCHAR)); } else { ACE::timestamp (day_and_time, - sizeof day_and_time / sizeof (ACE_TCHAR)); + sizeof (day_and_time) / sizeof (ACE_TCHAR)); } #if !defined (ACE_WIN32) && defined (ACE_USES_WCHAR) ACE_OS::strcpy (fp, ACE_TEXT ("ls")); @@ -1678,9 +1675,9 @@ ACE_Log_Msg::log (const ACE_TCHAR *format_str, } case 'T': // Format the timestamp in - // hour:minute:sec:usec format. + // hour:minute:sec.usec format. { - ACE_TCHAR day_and_time[35]; + ACE_TCHAR day_and_time[27]; #if !defined (ACE_WIN32) && defined (ACE_USES_WCHAR) ACE_OS::strcpy (fp, ACE_TEXT ("ls")); #else @@ -1733,15 +1730,6 @@ ACE_Log_Msg::log (const ACE_TCHAR *format_str, ACE_hthread_t t_id; ACE_OS::thr_self (t_id); -# if defined (ACE_MVS) || defined (ACE_TANDEM_T1248_PTHREADS) - // MVS's pthread_t is a struct... yuck. So use the ACE 5.0 - // code for it. - ACE_OS::strcpy (fp, ACE_TEXT ("u")); - if (can_check) - this_len = ACE_OS::snprintf (bp, bspace, format, t_id); - else - this_len = ACE_OS::sprintf (bp, format, t_id); -# else // Yes, this is an ugly C-style cast, but the correct // C++ cast is different depending on whether the t_id // is an integral type or a pointer type. FreeBSD uses @@ -1754,7 +1742,6 @@ ACE_Log_Msg::log (const ACE_TCHAR *format_str, else this_len = ACE_OS::sprintf (bp, format, (unsigned long)t_id); -# endif /* ACE_MWS || ACE_TANDEM_T1248_PTHREADS */ #endif /* ACE_WIN32 */ ACE_UPDATE_COUNT (bspace, this_len); @@ -1981,21 +1968,6 @@ ACE_Log_Msg::log (const ACE_TCHAR *format_str, break; case 'Q': -#if defined (ACE_LACKS_LONGLONG_T) || defined (ACE_LACKS_UNSIGNEDLONGLONG_T) - { - // This relies on the ACE_U_LongLong storage layout. - ACE_UINT32 hi = va_arg (argp, ACE_UINT32); - ACE_UINT32 lo = va_arg (argp, ACE_UINT32); - if (hi > 0) - this_len = ACE_OS::sprintf (bp, - "0x%lx%0*lx", - hi, - 2 * sizeof lo, - lo); - else - this_len = ACE_OS::sprintf (bp, "0x%lx", lo); - } -#else /* ! ACE_LACKS_LONGLONG_T */ { const ACE_TCHAR *fmt = ACE_UINT64_FORMAT_SPECIFIER; ACE_OS::strcpy (fp, &fmt[1]); // Skip leading % @@ -2008,15 +1980,10 @@ ACE_Log_Msg::log (const ACE_TCHAR *format_str, format, va_arg (argp, ACE_UINT64)); } -#endif /* ! ACE_LACKS_LONGLONG_T || ACE_LACKS_UNSIGNEDLONGLONG_T */ ACE_UPDATE_COUNT (bspace, this_len); break; case 'q': - #if defined (ACE_LACKS_LONGLONG_T) - // No implementation available yet, no ACE_INT64 emulation - // available yet - #else /* ! ACE_LACKS_LONGLONG_T */ { const ACE_TCHAR *fmt = ACE_INT64_FORMAT_SPECIFIER; ACE_OS::strcpy (fp, &fmt[1]); // Skip leading % @@ -2029,7 +1996,6 @@ ACE_Log_Msg::log (const ACE_TCHAR *format_str, format, va_arg (argp, ACE_INT64)); } - #endif /* ! ACE_LACKS_LONGLONG_T */ ACE_UPDATE_COUNT (bspace, this_len); break; diff --git a/dep/ACE_wrappers/ace/Log_Msg.h b/dep/acelite/ace/Log_Msg.h similarity index 99% rename from dep/ACE_wrappers/ace/Log_Msg.h rename to dep/acelite/ace/Log_Msg.h index 28b00325d..28d594493 100644 --- a/dep/ACE_wrappers/ace/Log_Msg.h +++ b/dep/acelite/ace/Log_Msg.h @@ -4,7 +4,7 @@ /** * @file Log_Msg.h * - * $Id: Log_Msg.h 92298 2010-10-21 11:15:17Z johnnyw $ + * $Id: Log_Msg.h 95128 2011-11-27 21:22:15Z johnnyw $ * * @author Douglas C. Schmidt */ @@ -556,16 +556,16 @@ public: size_t size, const ACE_TCHAR *text = 0); - static void init_hook (ACE_OS_Log_Msg_Attributes &attributes -# if defined (ACE_HAS_WIN32_STRUCTURAL_EXCEPTIONS) - , ACE_SEH_EXCEPT_HANDLER selector = 0 - , ACE_SEH_EXCEPT_HANDLER handler = 0 -# endif /* ACE_HAS_WIN32_STRUCTURAL_EXCEPTIONS */ /** * Init hook, create a Log_Msg_Attribute object, initialize its * attributes from the TSS Log_Msg and save the object in the * @a attributes argument */ + static void init_hook (ACE_OS_Log_Msg_Attributes &attributes +# if defined (ACE_HAS_WIN32_STRUCTURAL_EXCEPTIONS) + , ACE_SEH_EXCEPT_HANDLER selector = 0 + , ACE_SEH_EXCEPT_HANDLER handler = 0 +# endif /* ACE_HAS_WIN32_STRUCTURAL_EXCEPTIONS */ ); /** @@ -633,7 +633,7 @@ private: /** * If we're running in the context of an ACE_Thread_Manager this * will point to the thread descriptor adapter which holds the - * thread descriptor of the thread. This can be used to repidly + * thread descriptor of the thread. This can be used to rapidly * access all thread data kept in ACE_Thread_Descriptor. */ ACE_Thread_Descriptor *thr_desc_; diff --git a/dep/ACE_wrappers/ace/Log_Msg.inl b/dep/acelite/ace/Log_Msg.inl similarity index 100% rename from dep/ACE_wrappers/ace/Log_Msg.inl rename to dep/acelite/ace/Log_Msg.inl diff --git a/dep/ACE_wrappers/ace/Log_Msg_Backend.cpp b/dep/acelite/ace/Log_Msg_Backend.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Log_Msg_Backend.cpp rename to dep/acelite/ace/Log_Msg_Backend.cpp diff --git a/dep/ACE_wrappers/ace/Log_Msg_Backend.h b/dep/acelite/ace/Log_Msg_Backend.h similarity index 100% rename from dep/ACE_wrappers/ace/Log_Msg_Backend.h rename to dep/acelite/ace/Log_Msg_Backend.h diff --git a/dep/ACE_wrappers/ace/Log_Msg_Callback.cpp b/dep/acelite/ace/Log_Msg_Callback.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Log_Msg_Callback.cpp rename to dep/acelite/ace/Log_Msg_Callback.cpp diff --git a/dep/ACE_wrappers/ace/Log_Msg_Callback.h b/dep/acelite/ace/Log_Msg_Callback.h similarity index 100% rename from dep/ACE_wrappers/ace/Log_Msg_Callback.h rename to dep/acelite/ace/Log_Msg_Callback.h diff --git a/dep/ACE_wrappers/ace/Log_Msg_IPC.cpp b/dep/acelite/ace/Log_Msg_IPC.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Log_Msg_IPC.cpp rename to dep/acelite/ace/Log_Msg_IPC.cpp diff --git a/dep/ACE_wrappers/ace/Log_Msg_IPC.h b/dep/acelite/ace/Log_Msg_IPC.h similarity index 100% rename from dep/ACE_wrappers/ace/Log_Msg_IPC.h rename to dep/acelite/ace/Log_Msg_IPC.h diff --git a/dep/ACE_wrappers/ace/Log_Msg_NT_Event_Log.cpp b/dep/acelite/ace/Log_Msg_NT_Event_Log.cpp similarity index 100% rename from dep/ACE_wrappers/ace/Log_Msg_NT_Event_Log.cpp rename to dep/acelite/ace/Log_Msg_NT_Event_Log.cpp diff --git a/dep/ACE_wrappers/ace/Log_Msg_NT_Event_Log.h b/dep/acelite/ace/Log_Msg_NT_Event_Log.h similarity index 100% rename from dep/ACE_wrappers/ace/Log_Msg_NT_Event_Log.h rename to dep/acelite/ace/Log_Msg_NT_Event_Log.h diff --git a/dep/ACE_wrappers/ace/Log_Msg_UNIX_Syslog.cpp b/dep/acelite/ace/Log_Msg_UNIX_Syslog.cpp similarity index 98% rename from dep/ACE_wrappers/ace/Log_Msg_UNIX_Syslog.cpp rename to dep/acelite/ace/Log_Msg_UNIX_Syslog.cpp index 50e787546..ae4e307ec 100644 --- a/dep/ACE_wrappers/ace/Log_Msg_UNIX_Syslog.cpp +++ b/dep/acelite/ace/Log_Msg_UNIX_Syslog.cpp @@ -1,4 +1,4 @@ -// $Id: Log_Msg_UNIX_Syslog.cpp 80826 2008-03-04 14:51:23Z wotte $ +// $Id: Log_Msg_UNIX_Syslog.cpp 92791 2010-12-04 16:25:22Z shuston $ #include "ace/config-all.h" @@ -110,7 +110,7 @@ ACE_Log_Msg_UNIX_Syslog::log (ACE_Log_Record &log_record) if (ACE_BIT_ENABLED (flags, ACE_Log_Msg::VERBOSE) || ACE_BIT_ENABLED (flags, ACE_Log_Msg::VERBOSE_LITE)) { - ACE_TCHAR date_and_time[35]; + ACE_TCHAR date_and_time[27]; if (0 == ACE::timestamp (date_and_time, sizeof (date_and_time), 1)) ACE_OS::strcpy (date_and_time, ACE_TEXT ("