diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8b207053cd7f7d2b02b41a6d8249319725f8bd6b..a524434b561d25d247be716c4b3a0e89939badc9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,6 @@ stages: - build - demo - test - - package # compile amdis @@ -19,7 +18,7 @@ build:9-debug-gcc: name: "$CI_BUILD_NAME" expire_in: 6 hrs only: - - develop + - master build:9-release-gcc: stage: build @@ -31,7 +30,7 @@ build:9-release-gcc: name: "$CI_BUILD_NAME" expire_in: 6 hrs only: - - develop + - master build:9-parallel-debug-gcc: stage: build @@ -43,7 +42,7 @@ build:9-parallel-debug-gcc: name: "$CI_BUILD_NAME" expire_in: 6 hrs only: - - develop + - master build:9-parallel-release-gcc: stage: build @@ -55,7 +54,7 @@ build:9-parallel-release-gcc: name: "$CI_BUILD_NAME" expire_in: 6 hrs only: - - develop + - master # compile the demos @@ -66,7 +65,7 @@ demo:9-debug-gcc: dependencies: - build:9-debug-gcc only: - - develop + - master demo:9-release-gcc: stage: demo @@ -75,7 +74,7 @@ demo:9-release-gcc: dependencies: - build:9-release-gcc only: - - develop + - master demo:9-parallel-debug-gcc: stage: demo @@ -84,7 +83,7 @@ demo:9-parallel-debug-gcc: dependencies: - build:9-parallel-debug-gcc only: - - develop + - master demo:9-parallel-release-gcc: stage: demo @@ -93,7 +92,7 @@ demo:9-parallel-release-gcc: dependencies: - build:9-parallel-release-gcc only: - - develop + - master # compiel and run the tests @@ -104,7 +103,7 @@ test:9-debug-gcc: dependencies: - build:9-debug-gcc only: - - develop + - master test:9-release-gcc: stage: test @@ -113,7 +112,7 @@ test:9-release-gcc: dependencies: - build:9-release-gcc only: - - develop + - master test:9-parallel-debug-gcc: stage: test @@ -122,7 +121,7 @@ test:9-parallel-debug-gcc: dependencies: - build:9-parallel-debug-gcc only: - - develop + - master test:9-parallel-release-gcc: stage: test @@ -131,47 +130,4 @@ test:9-parallel-release-gcc: dependencies: - build:9-parallel-release-gcc only: - - develop - - -# compiel and run the tests -package:9-debug-gcc: - stage: package - script: - - cmake -DCONFIG=Debug -DCOMPONENT=SEQUENTIAL -P tools/packaging/debian/create_package.cmake - artifacts: - paths: - - debian_package/amdis-dbg/amdis*.deb - only: - master - -package:9-release-gcc: - stage: package - script: - - cmake -DCONFIG=Release -DCOMPONENT=SEQUENTIAL -P tools/packaging/debian/create_package.cmake - artifacts: - paths: - - debian_package/amdis/amdis*.deb - only: - - master - -package:9-parallel-debug-gcc: - stage: package - script: - - cmake -DCONFIG=Debug -DCOMPONENT=PARALLEL -P tools/packaging/debian/create_package.cmake - artifacts: - paths: - - debian_package/amdis-dbg/amdis-par-dbg*.deb - only: - - master - -package:9-parallel-release-gcc: - stage: package - script: - - cmake -DCONFIG=Release -DCOMPONENT=PARALLEL -P tools/packaging/debian/create_package.cmake - artifacts: - paths: - - debian_package/amdis-dbg/amdis-par*.deb - only: - - master - diff --git a/AMDiS/CMakeLists.txt b/AMDiS/CMakeLists.txt index 243f51f2742aa64b2296cd85cc8980275372b836..2342aaa395f498d99942f797665765d6da64466d 100644 --- a/AMDiS/CMakeLists.txt +++ b/AMDiS/CMakeLists.txt @@ -8,8 +8,8 @@ set(BASE_DIR ${AMDiS_SOURCE_DIR}) set(SOURCE_DIR ${BASE_DIR}/src) if (NOT CMAKE_BUILD_TYPE) - set(CMAKE_BUILD_TYPE Debug CACHE STRING - "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." + set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING + "Choose the type of build, options are: None Debug Release [RelWithDebInfo] MinSizeRel." FORCE) endif () diff --git a/AMDiS/cmake/CMakeLists.txt b/AMDiS/cmake/CMakeLists.txt index 8687cde73b4ff652f1b2c6fe00e8e85bee563532..c1d7942aea892fde8f6dafa3529f363538f2dbc1 100644 --- a/AMDiS/cmake/CMakeLists.txt +++ b/AMDiS/cmake/CMakeLists.txt @@ -243,6 +243,7 @@ endforeach () file(GLOB CMAKE_MACROS "${BASE_DIR}/cmake/enable_*.cmake") install(FILES ${CMAKE_MACROS} DESTINATION share/amdis/) +install(FILES ${BASE_DIR}/cmake3/parse_zoltan_makefile.cmake DESTINATION share/amdis/) install(DIRECTORY ${BASE_DIR}/lib/mtl4/ DESTINATION include/amdis/mtl4/ FILES_MATCHING PATTERN "*.hpp" diff --git a/AMDiS/cmake/enable_petsc.cmake b/AMDiS/cmake/enable_petsc.cmake index 49c5b42cb5f9eb800ca6681e05b64d3b2887ecb0..974c073df02ad22172ed0e9063cffb6020c19d85 100644 --- a/AMDiS/cmake/enable_petsc.cmake +++ b/AMDiS/cmake/enable_petsc.cmake @@ -61,7 +61,8 @@ macro(enable_petsc _FLAGS_ _INC_DIRS_ _LIBS_) # if not valid, search again if (NOT PETSC_VALID) - find_package(PETSc REQUIRED) + message(WARNING " ---> pkg-config of PETSc is broken!") + find_package(PETSc REQUIRED CXX) set(PETSC_INCLUDE_DIRS ${PETSC_INCLUDES}) set(PETSC_LIBRARY_DIRS ${PETSC_LIB_DIR}) message(STATUS " Found PETSc, version ${PETSC_VERSION}") diff --git a/AMDiS/cmake/enable_png.cmake b/AMDiS/cmake/enable_png.cmake index cbfa22d0cc9d0e7b06fd3dbae2c47b4fb647072b..d4ea89b9b92c94e8b8e0b2a09131a29134108783 100644 --- a/AMDiS/cmake/enable_png.cmake +++ b/AMDiS/cmake/enable_png.cmake @@ -9,12 +9,21 @@ macro(enable_png _FLAGS_ _INC_DIRS_ _LIBS_) HINTS ENV CPATH /usr/include DOC "headerfile png.h for PNG-READER") - if (_PNG_H) - get_filename_component(PNG_PATH ${_PNG_H} PATH) - list(APPEND ${_INC_DIRS_} ${PNG_PATH}) - else() + if (NOT _PNG_H) message(FATAL_ERROR "Could not find the PNG header png.h.") - endif() + else () + file(STRINGS ${_PNG_H} PNG_VERSION_LINE REGEX "#define PNG_LIBPNG_VER_STRING") + string(REGEX MATCH "\"([0-9]+[.][0-9]+([.][0-9]+)?)\"" PNG_VERSION_LINE ${PNG_VERSION_LINE}) + set(PNG_VERSION ${CMAKE_MATCH_1}) + + message(STATUS "Libpng version: ${PNG_VERSION}") + if (NOT PNG_VERSION VERSION_LESS "1.6" OR NOT PNG_VERSION VERSION_GREATER "1.2") + message(FATAL_ERROR "Incompatible libpng version. Requires 1.2.x") + endif () + endif () + + get_filename_component(PNG_PATH ${_PNG_H} PATH) + list(APPEND ${_INC_DIRS_} ${PNG_PATH}) if (LINK_EXECUTABLE) find_library(_PNG_LIB png diff --git a/AMDiS/cmake/enable_zoltan.cmake b/AMDiS/cmake/enable_zoltan.cmake index a7a22218eacc55bbe9eb85bc59c548c81f8e23ce..9491adc983da8487422b52b507543c288dbe03ef 100644 --- a/AMDiS/cmake/enable_zoltan.cmake +++ b/AMDiS/cmake/enable_zoltan.cmake @@ -1,3 +1,4 @@ +include(parse_zoltan_makefile) macro(enable_zoltan _FLAGS_ _INC_DIRS_ _LIBS_) if (${ARGC} GREATER 3) set(LINK_EXECUTABLE ON) @@ -5,22 +6,55 @@ macro(enable_zoltan _FLAGS_ _INC_DIRS_ _LIBS_) set(LINK_EXECUTABLE OFF) endif () - find_file(ZOLTAN_HEADER_FILE "zoltan_cpp.h" HINTS ${ZOLTAN_DIR}/include ${PETSC_INCLUDE_DIRS}) - if (ZOLTAN_HEADER_FILE) - get_filename_component(ZOLTAN_HEADER_DIR "${ZOLTAN_HEADER_FILE}" PATH CACHE) - list(APPEND ${_INC_DIRS_} ${ZOLTAN_HEADER_DIR}) - else() - message(FATAL_ERROR "Could not find Zoltan include file 'zoltan_cpp.h'!") - endif(ZOLTAN_HEADER_FILE) + find_package(Zoltan QUIET) + if (Zoltan_FOUND) + find_file(ZOLTAN_HEADER_FILE "zoltan.h" PATHS ${Zoltan_INCLUDE_DIRS}) + list(APPEND ${_INC_DIRS_} ${Zoltan_INCLUDE_DIRS}) + + if (LINK_EXECUTABLE) + foreach (LIB_NAME ${Zoltan_LIBRARIES}) + find_library(_ZOLTAN_LIB ${LIB_NAME} HINTS ${Zoltan_LIBRARY_DIRS}) + if (NOT _ZOLTAN_LIB) + message(FATAL_ERROR "Could not find library \"${LIB_NAME}\" in directories ${Zoltan_LIBRARY_DIRS}!") + else () + list(APPEND ${_LIBS_} ${_ZOLTAN_LIB}) + endif () + unset(_ZOLTAN_LIB CACHE) + endforeach(LIB_NAME) + endif (LINK_EXECUTABLE) + else (Zoltan_FOUND) + find_file(ZOLTAN_HEADER_FILE "zoltan.h" HINTS ${ZOLTAN_DIR}/include ${PETSC_INCLUDE_DIRS}) + if (ZOLTAN_HEADER_FILE) + get_filename_component(ZOLTAN_HEADER_DIR "${ZOLTAN_HEADER_FILE}" PATH CACHE) + list(APPEND ${_INC_DIRS_} ${ZOLTAN_HEADER_DIR}) + else() + message(FATAL_ERROR "Could not find Zoltan include file 'zoltan_cpp.h'!") + endif(ZOLTAN_HEADER_FILE) + + if (LINK_EXECUTABLE) + find_library(ZOLTAN_LIB zoltan + HINTS ENV LIBRARY_PATH DOC "Full path to the zoltan library") + if (NOT ZOLTAN_LIB) + message(FATAL_ERROR "Could not find zoltan library!") + endif (NOT ZOLTAN_LIB) + list(APPEND ${_LIBS_} ${ZOLTAN_LIB}) - if (LINK_EXECUTABLE) - find_library(ZOLTAN_LIB zoltan - HINTS ENV LIBRARY_PATH DOC "Full path to the zoltan library") - if (NOT ZOLTAN_LIB) - message(FATAL_ERROR "Could not find zoltan library!") - endif (NOT ZOLTAN_LIB) - list(APPEND ${_LIBS_} ${ZOLTAN_LIB}) - endif (LINK_EXECUTABLE) + find_file(ZOLTAN_CONFIG_FILE "Makefile.export.zoltan" HINTS ${ZOLTAN_HEADER_DIR}) + if (ZOLTAN_CONFIG_FILE) + parse_zoltan_makefile(${ZOLTAN_CONFIG_FILE} ${_TARGET_} ${_SCOPE_}) + else () + message(WARNING "Zoltan configuration file Makefile.export.zoltan not found!") + endif () + endif (LINK_EXECUTABLE) + endif (Zoltan_FOUND) + + if (ZOLTAN_HEADER_FILE) + file(STRINGS ${ZOLTAN_HEADER_FILE} ZOLTAN_VERSION_LINE REGEX "#define ZOLTAN_VERSION_NUMBER") + string(REGEX MATCH "([0-9]+[.][0-9]+)" ZOLTAN_VERSION_REGEX ${ZOLTAN_VERSION_LINE}) + set(ZOLTAN_VERSION ${CMAKE_MATCH_1}) + unset(ZOLTAN_HEADER_FILE CACHE) + message(STATUS "Zoltan version: ${ZOLTAN_VERSION}") + endif (ZOLTAN_HEADER_FILE) list(APPEND ${_FLAGS_} "-DHAVE_ZOLTAN=1") endmacro(enable_zoltan) diff --git a/AMDiS/cmake/parse_zoltan_makefile.cmake b/AMDiS/cmake/parse_zoltan_makefile.cmake new file mode 100644 index 0000000000000000000000000000000000000000..1efe371d60f88c127f7babf4c24795d7c7021254 --- /dev/null +++ b/AMDiS/cmake/parse_zoltan_makefile.cmake @@ -0,0 +1,30 @@ +macro(parse_zoltan_makefile _FILE_ _LIBS_) + + file(STRINGS ${_FILE_} ZOLTAN_MAKEFILE_LINE REGEX "ZOLTAN_EXTRA_LIBS") + get_filename_component(ZOLTAN_MAKEFILE_DIR "${ZOLTAN_MAKEFILE}" PATH CACHE) + + string(STRIP "${ZOLTAN_MAKEFILE_LINE}" LINE) + if ("${LINE}" MATCHES "^ZOLTAN_EXTRA_LIBS[ ]*=[ ]*([a-zA-Z0-9_/. -]+)$") + string(REGEX REPLACE " " ";" ZOLTAN_EXTRA_LIBS_LIST "${CMAKE_MATCH_1}") + + set(ZOLTAN_LIB_DIRS "") + foreach(LIBS ${ZOLTAN_EXTRA_LIBS_LIST}) + string(STRIP "${LIBS}" LIBS) + string(SUBSTRING "${LIBS}" 0 2 LIB_PREFIX) + string(SUBSTRING "${LIBS}" 2 -1 LIB_NAME) + if ("${LIB_PREFIX}" STREQUAL "-L") + list(APPEND ZOLTAN_LIB_DIRS ${LIB_NAME}) + elseif ("${LIB_PREFIX}" STREQUAL "-l") + find_library(_ZOLTAN_EXTERN_LIB ${LIB_NAME} HINTS ${ZOLTAN_LIB_DIRS}) + if (NOT _ZOLTAN_EXTERN_LIB) + message(FATAL_ERROR "Could not find library \"${LIB_NAME}\" in directories ${ZOLTAN_LIB_DIRS}!") + else () + list(APPEND ${_LIBS_} ${_ZOLTAN_EXTERN_LIB}) + endif () + unset(_ZOLTAN_EXTERN_LIB CACHE) + else () + message(WARNING "Unknown link parameter \"${LIBS}\"") + endif () + endforeach (LIBS) + endif() +endmacro(parse_zoltan_makefile) diff --git a/AMDiS/cmake3/AMDIS.cmake.in b/AMDiS/cmake3/AMDIS.cmake.in index 09ac1243b3fe611732ccd504f57100108829cdc9..0d3dfa26c24392590c726d57d011e5a76eda8c60 100644 --- a/AMDiS/cmake3/AMDIS.cmake.in +++ b/AMDiS/cmake3/AMDIS.cmake.in @@ -181,6 +181,9 @@ endif (AMDIS_HAS_PARALLEL_DOMAIN) # Zoltan library # -------------- if (AMDIS_NEED_ZOLTAN) + if (NOT DEFINED ZOLTAN_DIR) + set(ZOLTAN_DIR "@ZOLTAN_DIR@") + endif () target_enable_zoltan(amdis_base INTERFACE ON) endif () diff --git a/AMDiS/cmake3/CMakeLists.txt b/AMDiS/cmake3/CMakeLists.txt index 7652b35148e08e5084502916a539f08875d77d52..fb308342960b552f210091772440656a8429d487 100644 --- a/AMDiS/cmake3/CMakeLists.txt +++ b/AMDiS/cmake3/CMakeLists.txt @@ -210,6 +210,7 @@ endforeach () file(GLOB CMAKE_MACROS "${BASE_DIR}/cmake3/target_enable_*.cmake") install(FILES ${CMAKE_MACROS} DESTINATION share/amdis/) +install(FILES ${BASE_DIR}/cmake3/parse_zoltan_makefile.cmake DESTINATION share/amdis/) install(DIRECTORY ${BASE_DIR}/lib/mtl4/ DESTINATION include/amdis/mtl4/ FILES_MATCHING PATTERN "*.hpp" diff --git a/AMDiS/cmake3/parse_zoltan_makefile.cmake b/AMDiS/cmake3/parse_zoltan_makefile.cmake new file mode 100644 index 0000000000000000000000000000000000000000..bfab5058fc4e220175fbeea02fbcfa5e5dd2e12f --- /dev/null +++ b/AMDiS/cmake3/parse_zoltan_makefile.cmake @@ -0,0 +1,38 @@ +macro(parse_zoltan_makefile _FILE_ _TARGET_ _SCOPE_) + + # parse zoltan extra libs AND ld flags + file(STRINGS ${_FILE_} ZOLTAN_EXTRA_LIBS_LINE REGEX "ZOLTAN_EXTRA_LIBS") + file(STRINGS ${_FILE_} ZOLTAN_LDFLAGS_LINE REGEX "ZOLTAN_LDFLAGS") + get_filename_component(ZOLTAN_MAKEFILE_DIR "${ZOLTAN_MAKEFILE}" PATH CACHE) + + string(STRIP "${ZOLTAN_EXTRA_LIBS_LINE}" ZOLTAN_EXTRA_LIBS_LINE) + string(STRIP "${ZOLTAN_LDFLAGS_LINE}" ZOLTAN_LDFLAGS_LINE) + if ("${ZOLTAN_EXTRA_LIBS_LINE}" MATCHES "^ZOLTAN_EXTRA_LIBS[ ]*=[ ]*([a-zA-Z0-9_/. -]+)*$") + string(REGEX REPLACE " " ";" ZOLTAN_EXTRA_LIBS_LIST "${CMAKE_MATCH_1}") + if ("${ZOLTAN_LDFLAGS_LINE}" MATCHES "^ZOLTAN_LDFLAGS[ ]*=[ ]*([a-zA-Z0-9_/. -]+)*$") + string(REGEX REPLACE " " ";" ZOLTAN_LDFLAGS_LIST "${CMAKE_MATCH_1}") + set(COMBINED_LIST ${ZOLTAN_LDFLAGS_LIST} ${ZOLTAN_EXTRA_LIBS_LIST}) + + set(ZOLTAN_LIB_DIRS "") + foreach(LIBS ${COMBINED_LIST}) + string(STRIP "${LIBS}" LIBS) + string(SUBSTRING "${LIBS}" 0 2 LIB_PREFIX) + string(SUBSTRING "${LIBS}" 2 -1 LIB_NAME) + if ("${LIB_PREFIX}" STREQUAL "-L") + list(APPEND ZOLTAN_LIB_DIRS ${LIB_NAME}) + elseif ("${LIB_PREFIX}" STREQUAL "-l") + find_library(_ZOLTAN_EXTERN_LIB ${LIB_NAME} HINTS ${ZOLTAN_LIB_DIRS}) + if (NOT _ZOLTAN_EXTERN_LIB) + message(FATAL_ERROR "Could not find library \"${LIB_NAME}\" in directories ${ZOLTAN_LIB_DIRS}!") + else () + target_link_libraries(${_TARGET_} ${_SCOPE_} ${_ZOLTAN_EXTERN_LIB}) + endif () + unset(_ZOLTAN_EXTERN_LIB CACHE) + else () + message(WARNING "Unknown link parameter \"${LIBS}\"") + endif () + endforeach (LIBS) + endif() + endif() +endmacro(parse_zoltan_makefile) + diff --git a/AMDiS/cmake3/target_enable_petsc.cmake b/AMDiS/cmake3/target_enable_petsc.cmake index 1aba50e9c2143af613df5c6e2998addbd0773dd8..0591bc2b117127ab7e50c3184e22224203161687 100644 --- a/AMDiS/cmake3/target_enable_petsc.cmake +++ b/AMDiS/cmake3/target_enable_petsc.cmake @@ -61,7 +61,8 @@ macro(target_enable_petsc _TARGET_ _SCOPE_) # if not valid, search again if (NOT PETSC_VALID) - find_package(PETSc REQUIRED) + message(WARNING " ---> pkg-config of PETSc is broken!") + find_package(PETSc REQUIRED CXX) set(PETSC_INCLUDE_DIRS ${PETSC_INCLUDES}) set(PETSC_LIBRARY_DIRS ${PETSC_LIB_DIR}) message(STATUS " Found PETSc, version ${PETSC_VERSION}") diff --git a/AMDiS/cmake3/target_enable_png.cmake b/AMDiS/cmake3/target_enable_png.cmake index 5f6e27768e3b60d8fdcc5e406dc7c1bf2e52caee..681e62cabff6b548599a4a4ba45d01974292d7a8 100644 --- a/AMDiS/cmake3/target_enable_png.cmake +++ b/AMDiS/cmake3/target_enable_png.cmake @@ -9,12 +9,21 @@ macro(target_enable_png _TARGET_ _SCOPE_) HINTS ENV CPATH /usr/include DOC "headerfile png.h for PNG-READER") - if (_PNG_H) - get_filename_component(PNG_PATH ${_PNG_H} PATH) - target_include_directories(${_TARGET_} ${_SCOPE_} ${PNG_PATH}) - else() + if (NOT _PNG_H) message(FATAL_ERROR "Could not find the PNG header png.h.") - endif() + else () + file(STRINGS ${_PNG_H} PNG_VERSION_LINE REGEX "#define PNG_LIBPNG_VER_STRING") + string(REGEX MATCH "\"([0-9]+[.][0-9]+([.][0-9]+)?)\"" PNG_VERSION_LINE ${PNG_VERSION_LINE}) + set(PNG_VERSION ${CMAKE_MATCH_1}) + + message(STATUS "Libpng version: ${PNG_VERSION}") + if (NOT PNG_VERSION VERSION_LESS "1.6" OR NOT PNG_VERSION VERSION_GREATER "1.2") + message(FATAL_ERROR "Incompatible libpng version. Requires 1.2.x") + endif () + endif () + + get_filename_component(PNG_PATH ${_PNG_H} PATH) + target_include_directories(${_TARGET_} ${_SCOPE_} ${PNG_PATH}) if (LINK_EXECUTABLE) find_library(_PNG_LIB png diff --git a/AMDiS/cmake3/target_enable_zoltan.cmake b/AMDiS/cmake3/target_enable_zoltan.cmake index 5e14502454dd601dac222192489eea0c11b350d1..3b9aeee8c8cc21d039e9eb6dfc33fd75ed07193e 100644 --- a/AMDiS/cmake3/target_enable_zoltan.cmake +++ b/AMDiS/cmake3/target_enable_zoltan.cmake @@ -1,3 +1,4 @@ +include(parse_zoltan_makefile) macro(target_enable_zoltan _TARGET_ _SCOPE_) if (${ARGC} GREATER 2) set(LINK_EXECUTABLE ON) @@ -5,22 +6,55 @@ macro(target_enable_zoltan _TARGET_ _SCOPE_) set(LINK_EXECUTABLE OFF) endif () - find_file(ZOLTAN_HEADER_FILE "zoltan_cpp.h" HINTS ${ZOLTAN_DIR}/include ${PETSC_INCLUDE_DIRS}) - if (ZOLTAN_HEADER_FILE) - get_filename_component(ZOLTAN_HEADER_DIR "${ZOLTAN_HEADER_FILE}" PATH CACHE) - target_include_directories(${_TARGET_} ${_SCOPE_} ${ZOLTAN_HEADER_DIR}) - else() - message(FATAL_ERROR "Could not find Zoltan include file 'zoltan_cpp.h'!") - endif(ZOLTAN_HEADER_FILE) + find_package(Zoltan QUIET) + if (Zoltan_FOUND) + find_file(ZOLTAN_HEADER_FILE "zoltan.h" PATHS ${Zoltan_INCLUDE_DIRS}) + target_include_directories(${_TARGET_} ${_SCOPE_} ${Zoltan_INCLUDE_DIRS}) + + if (LINK_EXECUTABLE) + foreach (LIB_NAME ${Zoltan_LIBRARIES}) + find_library(_ZOLTAN_LIB ${LIB_NAME} HINTS ${Zoltan_LIBRARY_DIRS}) + if (NOT _ZOLTAN_LIB) + message(FATAL_ERROR "Could not find library \"${LIB_NAME}\" in directories ${Zoltan_LIBRARY_DIRS}!") + else () + target_link_libraries(${_TARGET_} ${_SCOPE_} ${_ZOLTAN_LIB}) + endif () + unset(_ZOLTAN_LIB CACHE) + endforeach(LIB_NAME) + endif (LINK_EXECUTABLE) + else (Zoltan_FOUND) + find_file(ZOLTAN_HEADER_FILE "zoltan.h" HINTS ${ZOLTAN_DIR}/include ${PETSC_INCLUDE_DIRS}) + if (ZOLTAN_HEADER_FILE) + get_filename_component(Zoltan_INCLUDE_DIR "${ZOLTAN_HEADER_FILE}" PATH CACHE) + target_include_directories(${_TARGET_} ${_SCOPE_} ${Zoltan_INCLUDE_DIR}) + else() + message(FATAL_ERROR "Could not find Zoltan include file 'zoltan.h'!") + endif(ZOLTAN_HEADER_FILE) + + if (LINK_EXECUTABLE) + find_library(ZOLTAN_LIB zoltan + HINTS ${Zoltan_INCLUDE_DIR}/../lib DOC "Full path to the zoltan library") + if (NOT ZOLTAN_LIB) + message(FATAL_ERROR "Could not find zoltan library!") + endif (NOT ZOLTAN_LIB) + target_link_libraries(${_TARGET_} ${_SCOPE_} ${ZOLTAN_LIB}) - if (LINK_EXECUTABLE) - find_library(ZOLTAN_LIB zoltan - HINTS ENV LIBRARY_PATH DOC "Full path to the zoltan library") - if (NOT ZOLTAN_LIB) - message(FATAL_ERROR "Could not find zoltan library!") - endif (NOT ZOLTAN_LIB) - target_link_libraries(${_TARGET_} ${_SCOPE_} ${ZOLTAN_LIB}) - endif (LINK_EXECUTABLE) + find_file(ZOLTAN_CONFIG_FILE "Makefile.export.zoltan" HINTS ${Zoltan_INCLUDE_DIR}) + if (ZOLTAN_CONFIG_FILE) + parse_zoltan_makefile(${ZOLTAN_CONFIG_FILE} ${_TARGET_} ${_SCOPE_}) + else () + message(WARNING "Zoltan configuration file Makefile.export.zoltan not found!") + endif () + endif (LINK_EXECUTABLE) - target_compile_definitions(${_TARGET_} ${_SCOPE_} HAVE_ZOLTAN=1) + target_compile_definitions(${_TARGET_} ${_SCOPE_} HAVE_ZOLTAN=1) + endif (Zoltan_FOUND) + + if (ZOLTAN_HEADER_FILE) + file(STRINGS ${ZOLTAN_HEADER_FILE} ZOLTAN_VERSION_LINE REGEX "#define ZOLTAN_VERSION_NUMBER") + string(REGEX MATCH "([0-9]+[.][0-9]+)" ZOLTAN_VERSION_REGEX ${ZOLTAN_VERSION_LINE}) + set(ZOLTAN_VERSION ${CMAKE_MATCH_1}) + unset(ZOLTAN_HEADER_FILE CACHE) + message(STATUS "Zoltan version: ${ZOLTAN_VERSION}") + endif (ZOLTAN_HEADER_FILE) endmacro(target_enable_zoltan) diff --git a/AMDiS/lib/muparser_v134/Install.txt b/AMDiS/lib/muparser_v134/Install.txt deleted file mode 100644 index 5d8e1b134059710f49a0d3e9c0f6f24e4fc31b9d..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/Install.txt +++ /dev/null @@ -1,126 +0,0 @@ - - __________ - _____ __ __\______ \_____ _______ ______ ____ _______ - / \ | | \| ___/\__ \ \_ __ \/ ___/_/ __ \\_ __ \ - | Y Y \| | /| | / __ \_| | \/\___ \ \ ___/ | | \/ - |__|_| /|____/ |____| (____ /|__| /____ > \___ >|__| - \/ \/ \/ \/ - - Mathematical expressions parser library - Copyright (C) 2010 Ingo Berg (muparser{at}gmx.de) - - - - Contents - ======== - - 1. Installation on win32 - 2. Installation on unix - 2.1 Other miscellaneous info Unix-specific - 3. Where to ask for help - - - - 1. Installation on win32 - ======================== - - muParser supports various win32 command-line compilers: - -> mingw - -> borland - -> watcom - -> microsoft CL - and provides also the project files for MSVC6 IDE. - - In order to compile muParser from makefiles, open an MSDOS - prompt and then move to the muParser/build directory and - type: - - mingw32-make -fmakefile.mingw for mingw - nmake -fmakefile.vc for msvc - make -fmakefile.bcc for borland - wmake -fmakefile.wat for watcom - - All makefiles supports the following options: - - # Set to 1 to build debug version [0,1] - # 0 - Release - # 1 - Debug - DEBUG = 0 - - # Set to 1 to build shared (DLL) version [0,1] - # 0 - Static - # 1 - DLL - SHARED = 0 - - # Set to 1 to compile samples [0,1] - SAMPLES = 1 - - The muParser library is created in the 'lib' folder and the sample - binaries are created in samples\example1 or samples\example2. - - NOTE: samples\example1 can be compiled *only* when building - muParser as a STATIC library (SHARED=0). - samples\example2 can be compiled *only* when building - muParser as a SHARED library (SHARED=1). - - - - 2. Installation on Unix/Linux - ============================= - - muParser can be installed just extracting the sources somewhere - and then, from a terminal, typing: - - cd [path to muParser] - ./configure [--enable-shared=yes/no] [--enable-samples=yes/no] - [--enable-debug=yes/no] - make - [sudo*] make install - [sudo*] ldconfig - cd samples/example1 - ./example1 - - * = this command must be executed with root permissions and thus - you have to use 'sudo' or just 'su' to gain root access. - Note that installation and ldconfig are not strictly required unless - you built in shared mode. - - The "make" step will create the muParser library in 'lib' and the - sample binary in samples/example1. - The samples/example2 is win32-specific and thus won't be built. - - - - 2.1 Other miscellaneous info Unix-specific - ========================================== - - If you don't like to have your muParser folder filled by temporary - files created by GCC, then you can do the following: - - mkdir mybuild && cd mybuild && ../configure && make - - to put all object files in the "mybuild" directory. - - If you want to use muParser library in your programs, you can use - the pkg-config program (this works only if muParser was installed - with 'make install' !). The commands: - - pkg-config muparser --cflags - pkg-config muparser --libs - - will return all useful info you need to build your programs against - muParser ! - - - - 3. Where to ask for help - ======================== - - If you find problems with either compilation, installation or usage - of muParser, then you can ask in the muParser forum at: - - https://sourceforge.net/forum/forum.php?forum_id=462843 - - For more info about muParser, visit: - http://sourceforge.net/projects/muparser/ - http://muparser.sourceforge.net diff --git a/AMDiS/lib/muparser_v134/Makefile.in b/AMDiS/lib/muparser_v134/Makefile.in deleted file mode 100644 index c6be545ac7805c5913dea162ea97b6a69657ba2f..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/Makefile.in +++ /dev/null @@ -1,376 +0,0 @@ -# ========================================================================= -# This makefile was generated by -# Bakefile 0.2.8 (http://www.bakefile.org) -# Do not modify, all changes will be overwritten! -# ========================================================================= - - -@MAKE_SET@ - -prefix = @prefix@ -exec_prefix = @exec_prefix@ -datarootdir = @datarootdir@ -INSTALL = @INSTALL@ -SHARED_LD_CXX = @SHARED_LD_CXX@ -LIBEXT = @LIBEXT@ -LIBPREFIX = @LIBPREFIX@ -SO_SUFFIX = @SO_SUFFIX@ -DLLIMP_SUFFIX = @DLLIMP_SUFFIX@ -EXEEXT = @EXEEXT@ -LN_S = @LN_S@ -SETFILE = @SETFILE@ -PIC_FLAG = @PIC_FLAG@ -SONAME_FLAG = @SONAME_FLAG@ -STRIP = @STRIP@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_DIR = @INSTALL_DIR@ -BK_DEPS = @BK_DEPS@ -srcdir = @srcdir@ -top_builddir = @top_builddir@ -libdir = @libdir@ -DLLPREFIX = @DLLPREFIX@ -LIBS = @LIBS@ -AR = @AR@ -AROPTIONS = @AROPTIONS@ -RANLIB = @RANLIB@ -CXX = @CXX@ -CXXFLAGS = @CXXFLAGS@ -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ - -### Variables: ### - -DESTDIR = -MUPARSER_LIB_CXXFLAGS = $(____DEBUG) $(____SHARED) $(____SHARED_0) \ - -I$(srcdir)/include $(CPPFLAGS) $(CXXFLAGS) -MUPARSER_LIB_OBJECTS = \ - muParser_lib_muParser.o \ - muParser_lib_muParserBase.o \ - muParser_lib_muParserBytecode.o \ - muParser_lib_muParserCallback.o \ - muParser_lib_muParserComplex.o \ - muParser_lib_muParserDLL.o \ - muParser_lib_muParserError.o \ - muParser_lib_muParserInt.o \ - muParser_lib_muParserTest.o \ - muParser_lib_muParserTokenReader.o -MUPARSER_LIB_HEADERS = \ - include/muParser.h \ - include/muParserBase.h \ - include/muParserBytecode.h \ - include/muParserCallback.h \ - include/muParserComplex.h \ - include/muParserDLL.h \ - include/muParserDef.h \ - include/muParserError.h \ - include/muParserFixes.h \ - include/muParserInt.h \ - include/muParserStack.h \ - include/muParserTest.h \ - include/muParserToken.h \ - include/muParserTokenReader.h -MUPARSER_DLL_CXXFLAGS = $(____DEBUG) $(____SHARED) $(____SHARED_0) \ - -I$(srcdir)/include $(PIC_FLAG) $(CPPFLAGS) $(CXXFLAGS) -MUPARSER_DLL_OBJECTS = \ - muParser_dll_muParser.o \ - muParser_dll_muParserBase.o \ - muParser_dll_muParserBytecode.o \ - muParser_dll_muParserCallback.o \ - muParser_dll_muParserComplex.o \ - muParser_dll_muParserDLL.o \ - muParser_dll_muParserError.o \ - muParser_dll_muParserInt.o \ - muParser_dll_muParserTest.o \ - muParser_dll_muParserTokenReader.o -MUPARSER_DLL_HEADERS = \ - include/muParser.h \ - include/muParserBase.h \ - include/muParserBytecode.h \ - include/muParserCallback.h \ - include/muParserComplex.h \ - include/muParserDLL.h \ - include/muParserDef.h \ - include/muParserError.h \ - include/muParserFixes.h \ - include/muParserInt.h \ - include/muParserStack.h \ - include/muParserTest.h \ - include/muParserToken.h \ - include/muParserTokenReader.h -EXAMPLE1_CXXFLAGS = $(____DEBUG) -I$(srcdir)/include $(CPPFLAGS) $(CXXFLAGS) -EXAMPLE1_OBJECTS = \ - example1_Example1.o - -### Conditionally set variables: ### - -@COND_DEPS_TRACKING_0@CXXC = $(CXX) -@COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX) -@COND_DEBUG_0@DEBUG_BUILD_POSTFIX = -@COND_DEBUG_1@DEBUG_BUILD_POSTFIX = d -@COND_SHARED_0@__muParser_lib___depname = \ -@COND_SHARED_0@ $(top_builddir)/lib/$(LIBPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(LIBEXT) -@COND_SHARED_0@__install_muParser_lib___depname = install_muParser_lib -@COND_SHARED_0@__uninstall_muParser_lib___depname = uninstall_muParser_lib -@COND_SHARED_0@__install_muParser_lib_headers___depname = \ -@COND_SHARED_0@ install_muParser_lib_headers -@COND_SHARED_0@__uninstall_muParser_lib_headers___depname = \ -@COND_SHARED_0@ uninstall_muParser_lib_headers -COND_SHARED_1___muParser_dll___depname = \ - $(top_builddir)/lib/$(DLLPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(__muParser_dll___targetsuf3) -@COND_SHARED_1@__muParser_dll___depname = $(COND_SHARED_1___muParser_dll___depname) -@COND_SHARED_1@__install_muParser_dll___depname = install_muParser_dll -@COND_SHARED_1@__uninstall_muParser_dll___depname = uninstall_muParser_dll -COND_PLATFORM_MACOSX_1___muParser_dll___macinstnamecmd = -install_name \ - $(libdir)/$(DLLPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(__muParser_dll___targetsuf2) -@COND_PLATFORM_MACOSX_1@__muParser_dll___macinstnamecmd = $(COND_PLATFORM_MACOSX_1___muParser_dll___macinstnamecmd) -@COND_SHARED_1@__install_muParser_dll_headers___depname = \ -@COND_SHARED_1@ install_muParser_dll_headers -@COND_SHARED_1@__uninstall_muParser_dll_headers___depname = \ -@COND_SHARED_1@ uninstall_muParser_dll_headers -COND_PLATFORM_OS2_1___muParser_dll___importlib = -import \ - $(top_builddir)/lib/$(LIBPREFIX)muparser$(DEBUG_BUILD_POSTFIX).$(DLLIMP_SUFFIX) -@COND_PLATFORM_OS2_1@__muParser_dll___importlib = $(COND_PLATFORM_OS2_1___muParser_dll___importlib) -COND_WINDOWS_IMPLIB_1___muParser_dll___importlib = \ - -Wl,--out-implib=$(top_builddir)/lib/$(LIBPREFIX)muparser$(DEBUG_BUILD_POSTFIX).$(DLLIMP_SUFFIX) -@COND_WINDOWS_IMPLIB_1@__muParser_dll___importlib = $(COND_WINDOWS_IMPLIB_1___muParser_dll___importlib) -@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@__muParser_dll___targetsuf2 \ -@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@ = .$(SO_SUFFIX).0 -@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__muParser_dll___targetsuf2 \ -@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .0.$(SO_SUFFIX) -@COND_USE_SOVERSION_0@__muParser_dll___targetsuf2 = .$(SO_SUFFIX) -@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@__muParser_dll___targetsuf3 \ -@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@ = \ -@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@ .$(SO_SUFFIX).0.0.0 -@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__muParser_dll___targetsuf3 \ -@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .0.0.0.$(SO_SUFFIX) -@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@__muParser_dll___targetsuf3 \ -@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@ = .$(SO_SUFFIX).0 -@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@__muParser_dll___targetsuf3 \ -@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@ = -0.$(SO_SUFFIX) -@COND_USE_SOVERSION_0@__muParser_dll___targetsuf3 = .$(SO_SUFFIX) -COND_USE_SOVERLINUX_1___muParser_dll___soname_flags = \ - $(SONAME_FLAG)$(DLLPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(__muParser_dll___targetsuf2) -@COND_USE_SOVERLINUX_1@__muParser_dll___soname_flags = $(COND_USE_SOVERLINUX_1___muParser_dll___soname_flags) -COND_USE_SOVERSOLARIS_1___muParser_dll___soname_flags = \ - $(SONAME_FLAG)$(DLLPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(__muParser_dll___targetsuf3) -@COND_USE_SOVERSOLARIS_1@__muParser_dll___soname_flags = $(COND_USE_SOVERSOLARIS_1___muParser_dll___soname_flags) -COND_USE_SOTWOSYMLINKS_1___muParser_dll___so_symlinks_cmd = (cd \ - $(top_builddir)/lib/; rm -f \ - $(LIBPREFIX)muparser$(DEBUG_BUILD_POSTFIX).$(DLLIMP_SUFFIX) \ - $(DLLPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(__muParser_dll___targetsuf2); \ - $(LN_S) \ - $(DLLPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(__muParser_dll___targetsuf3) \ - $(DLLPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(__muParser_dll___targetsuf2); \ - $(LN_S) \ - $(DLLPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(__muParser_dll___targetsuf2) \ - $(LIBPREFIX)muparser$(DEBUG_BUILD_POSTFIX).$(DLLIMP_SUFFIX)) -@COND_USE_SOTWOSYMLINKS_1@__muParser_dll___so_symlinks_cmd = $(COND_USE_SOTWOSYMLINKS_1___muParser_dll___so_symlinks_cmd) -COND_USE_SOVERSOLARIS_1___muParser_dll___so_symlinks_cmd = (cd \ - $(top_builddir)/lib/; rm -f \ - $(LIBPREFIX)muparser$(DEBUG_BUILD_POSTFIX).$(DLLIMP_SUFFIX); $(LN_S) \ - $(DLLPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(__muParser_dll___targetsuf3) \ - $(LIBPREFIX)muparser$(DEBUG_BUILD_POSTFIX).$(DLLIMP_SUFFIX)) -@COND_USE_SOVERSOLARIS_1@__muParser_dll___so_symlinks_cmd = $(COND_USE_SOVERSOLARIS_1___muParser_dll___so_symlinks_cmd) -COND_USE_SOTWOSYMLINKS_1___muParser_dll___so_symlinks_inst_cmd = rm -f \ - $(LIBPREFIX)muparser$(DEBUG_BUILD_POSTFIX).$(DLLIMP_SUFFIX) \ - $(DLLPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(__muParser_dll___targetsuf2); \ - $(LN_S) \ - $(DLLPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(__muParser_dll___targetsuf3) \ - $(DLLPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(__muParser_dll___targetsuf2); \ - $(LN_S) \ - $(DLLPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(__muParser_dll___targetsuf2) \ - $(LIBPREFIX)muparser$(DEBUG_BUILD_POSTFIX).$(DLLIMP_SUFFIX) -@COND_USE_SOTWOSYMLINKS_1@__muParser_dll___so_symlinks_inst_cmd = $(COND_USE_SOTWOSYMLINKS_1___muParser_dll___so_symlinks_inst_cmd) -COND_USE_SOVERSOLARIS_1___muParser_dll___so_symlinks_inst_cmd = rm -f \ - $(LIBPREFIX)muparser$(DEBUG_BUILD_POSTFIX).$(DLLIMP_SUFFIX); $(LN_S) \ - $(DLLPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(__muParser_dll___targetsuf3) \ - $(LIBPREFIX)muparser$(DEBUG_BUILD_POSTFIX).$(DLLIMP_SUFFIX); -@COND_USE_SOVERSOLARIS_1@__muParser_dll___so_symlinks_inst_cmd = $(COND_USE_SOVERSOLARIS_1___muParser_dll___so_symlinks_inst_cmd) -COND_USE_SOTWOSYMLINKS_1___muParser_dll___so_symlinks_uninst_cmd = rm -f \ - $(DLLPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(__muParser_dll___targetsuf2) \ - $(LIBPREFIX)muparser$(DEBUG_BUILD_POSTFIX).$(DLLIMP_SUFFIX) -@COND_USE_SOTWOSYMLINKS_1@__muParser_dll___so_symlinks_uninst_cmd = $(COND_USE_SOTWOSYMLINKS_1___muParser_dll___so_symlinks_uninst_cmd) -@COND_USE_SOVERSOLARIS_1@__muParser_dll___so_symlinks_uninst_cmd \ -@COND_USE_SOVERSOLARIS_1@ = rm -f \ -@COND_USE_SOVERSOLARIS_1@ $(LIBPREFIX)muparser$(DEBUG_BUILD_POSTFIX).$(DLLIMP_SUFFIX) -@COND_PLATFORM_MACOSX_1@__muParser_dll___macver = \ -@COND_PLATFORM_MACOSX_1@ -compatibility_version 1 -current_version 1 -@COND_SAMPLES_1@__example1___depname = \ -@COND_SAMPLES_1@ $(top_builddir)/samples/example1/example1$(EXEEXT) -@COND_PLATFORM_MAC_0@__example1___mac_setfilecmd = @true -@COND_PLATFORM_MAC_1@__example1___mac_setfilecmd = \ -@COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL \ -@COND_PLATFORM_MAC_1@ $(top_builddir)/samples/example1/example1$(EXEEXT) -@COND_SHARED_0@____SHARED = -@COND_SHARED_1@____SHARED = -DMUPARSER_DLL -@COND_SHARED_0@____SHARED_0 = -@COND_SHARED_1@____SHARED_0 = -DMUPARSERLIB_EXPORTS -@COND_DEBUG_0@____DEBUG = -DNDEBUG -@COND_DEBUG_1@____DEBUG = - -### Targets: ### - -all: $(__muParser_lib___depname) $(__muParser_dll___depname) $(__example1___depname) - -install: $(__install_muParser_lib___depname) $(__install_muParser_lib_headers___depname) $(__install_muParser_dll___depname) $(__install_muParser_dll_headers___depname) - $(INSTALL_DIR) $(DESTDIR)$(libdir)/pkgconfig - $(INSTALL_DATA) build/autoconf/muparser.pc $(DESTDIR)$(libdir)/pkgconfig - -uninstall: $(__uninstall_muParser_lib___depname) $(__uninstall_muParser_lib_headers___depname) $(__uninstall_muParser_dll___depname) $(__uninstall_muParser_dll_headers___depname) - -install-strip: install - $(STRIP) $(DESTDIR)$(libdir)/$(DLLPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(__muParser_dll___targetsuf3) - -clean: - rm -rf ./.deps ./.pch - rm -f ./*.o - rm -f $(top_builddir)/lib/$(LIBPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(LIBEXT) - rm -f $(top_builddir)/lib/$(DLLPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(__muParser_dll___targetsuf3) - rm -f $(top_builddir)/lib/$(LIBPREFIX)muparser$(DEBUG_BUILD_POSTFIX).$(DLLIMP_SUFFIX) - rm -f $(top_builddir)/lib/$(LIBPREFIX)muparser$(DEBUG_BUILD_POSTFIX).$(DLLIMP_SUFFIX) $(top_builddir)/lib/$(DLLPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(__muParser_dll___targetsuf2) - rm -f $(top_builddir)/samples/example1/example1$(EXEEXT) - -distclean: clean - rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile - rm -f build/autoconf/muparser.pc - -@COND_SHARED_0@$(top_builddir)/lib/$(LIBPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(LIBEXT): $(MUPARSER_LIB_OBJECTS) -@COND_SHARED_0@ rm -f $@ -@COND_SHARED_0@ $(AR) $(AROPTIONS) $@ $(MUPARSER_LIB_OBJECTS) -@COND_SHARED_0@ $(RANLIB) $@ - -@COND_SHARED_0@install_muParser_lib: $(__muParser_lib___depname) -@COND_SHARED_0@ $(INSTALL_DIR) $(DESTDIR)$(libdir) -@COND_SHARED_0@ $(INSTALL_DATA) $(top_builddir)/lib/$(LIBPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(LIBEXT) $(DESTDIR)$(libdir) - -@COND_SHARED_0@uninstall_muParser_lib: -@COND_SHARED_0@ rm -f $(DESTDIR)$(libdir)/$(LIBPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(LIBEXT) - -@COND_SHARED_0@install_muParser_lib_headers: -@COND_SHARED_0@ $(INSTALL_DIR) $(DESTDIR)$(prefix) -@COND_SHARED_0@ for f in $(MUPARSER_LIB_HEADERS); do \ -@COND_SHARED_0@ if test ! -d $(DESTDIR)$(prefix)/`dirname $$f` ; then \ -@COND_SHARED_0@ $(INSTALL_DIR) $(DESTDIR)$(prefix)/`dirname $$f`; \ -@COND_SHARED_0@ fi; \ -@COND_SHARED_0@ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(prefix)/$$f; \ -@COND_SHARED_0@ done - -@COND_SHARED_0@uninstall_muParser_lib_headers: -@COND_SHARED_0@ for f in $(MUPARSER_LIB_HEADERS); do \ -@COND_SHARED_0@ rm -f $(DESTDIR)$(prefix)/$$f; \ -@COND_SHARED_0@ done - -@COND_SHARED_1@$(top_builddir)/lib/$(DLLPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(__muParser_dll___targetsuf3): $(MUPARSER_DLL_OBJECTS) -@COND_SHARED_1@ $(SHARED_LD_CXX) $@ $(MUPARSER_DLL_OBJECTS) $(__muParser_dll___macinstnamecmd) $(__muParser_dll___importlib) $(__muParser_dll___soname_flags) $(__muParser_dll___macver) $(LDFLAGS) $(LIBS) -@COND_SHARED_1@ -@COND_SHARED_1@ $(__muParser_dll___so_symlinks_cmd) - -@COND_SHARED_1@install_muParser_dll: $(__muParser_dll___depname) -@COND_SHARED_1@ $(INSTALL_DIR) $(DESTDIR)$(libdir) -@COND_SHARED_1@ $(INSTALL_DATA) $(top_builddir)/lib/$(LIBPREFIX)muparser$(DEBUG_BUILD_POSTFIX).$(DLLIMP_SUFFIX) $(DESTDIR)$(libdir) -@COND_SHARED_1@ $(INSTALL_PROGRAM) $(top_builddir)/lib/$(DLLPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(__muParser_dll___targetsuf3) $(DESTDIR)$(libdir) -@COND_SHARED_1@ (cd $(DESTDIR)$(libdir) ; $(__muParser_dll___so_symlinks_inst_cmd)) - -@COND_SHARED_1@uninstall_muParser_dll: -@COND_SHARED_1@ rm -f $(DESTDIR)$(libdir)/$(LIBPREFIX)muparser$(DEBUG_BUILD_POSTFIX).$(DLLIMP_SUFFIX) -@COND_SHARED_1@ rm -f $(DESTDIR)$(libdir)/$(DLLPREFIX)muparser$(DEBUG_BUILD_POSTFIX)$(__muParser_dll___targetsuf3) -@COND_SHARED_1@ (cd $(DESTDIR)$(libdir) ; $(__muParser_dll___so_symlinks_uninst_cmd)) - -@COND_SHARED_1@install_muParser_dll_headers: -@COND_SHARED_1@ $(INSTALL_DIR) $(DESTDIR)$(prefix) -@COND_SHARED_1@ for f in $(MUPARSER_DLL_HEADERS); do \ -@COND_SHARED_1@ if test ! -d $(DESTDIR)$(prefix)/`dirname $$f` ; then \ -@COND_SHARED_1@ $(INSTALL_DIR) $(DESTDIR)$(prefix)/`dirname $$f`; \ -@COND_SHARED_1@ fi; \ -@COND_SHARED_1@ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(prefix)/$$f; \ -@COND_SHARED_1@ done - -@COND_SHARED_1@uninstall_muParser_dll_headers: -@COND_SHARED_1@ for f in $(MUPARSER_DLL_HEADERS); do \ -@COND_SHARED_1@ rm -f $(DESTDIR)$(prefix)/$$f; \ -@COND_SHARED_1@ done - -@COND_SAMPLES_1@$(top_builddir)/samples/example1/example1$(EXEEXT): $(EXAMPLE1_OBJECTS) $(__muParser_lib___depname) -@COND_SAMPLES_1@ $(CXX) -o $@ $(EXAMPLE1_OBJECTS) -L$(top_builddir)/lib -L$(srcdir)/lib $(LDFLAGS) -lmuparser$(DEBUG_BUILD_POSTFIX) $(LIBS) -@COND_SAMPLES_1@ -@COND_SAMPLES_1@ $(__example1___mac_setfilecmd) - -lib: $(__muParser_lib___depname) $(__muParser_dll___depname) - -samples: $(__example1___depname) - -documentation: - ( cd $(srcdir)/docs && doxygen ) - -muParser_lib_muParser.o: $(srcdir)/src/muParser.cpp - $(CXXC) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(srcdir)/src/muParser.cpp - -muParser_lib_muParserBase.o: $(srcdir)/src/muParserBase.cpp - $(CXXC) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(srcdir)/src/muParserBase.cpp - -muParser_lib_muParserBytecode.o: $(srcdir)/src/muParserBytecode.cpp - $(CXXC) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(srcdir)/src/muParserBytecode.cpp - -muParser_lib_muParserCallback.o: $(srcdir)/src/muParserCallback.cpp - $(CXXC) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(srcdir)/src/muParserCallback.cpp - -muParser_lib_muParserComplex.o: $(srcdir)/src/muParserComplex.cpp - $(CXXC) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(srcdir)/src/muParserComplex.cpp - -muParser_lib_muParserDLL.o: $(srcdir)/src/muParserDLL.cpp - $(CXXC) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(srcdir)/src/muParserDLL.cpp - -muParser_lib_muParserError.o: $(srcdir)/src/muParserError.cpp - $(CXXC) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(srcdir)/src/muParserError.cpp - -muParser_lib_muParserInt.o: $(srcdir)/src/muParserInt.cpp - $(CXXC) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(srcdir)/src/muParserInt.cpp - -muParser_lib_muParserTest.o: $(srcdir)/src/muParserTest.cpp - $(CXXC) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(srcdir)/src/muParserTest.cpp - -muParser_lib_muParserTokenReader.o: $(srcdir)/src/muParserTokenReader.cpp - $(CXXC) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(srcdir)/src/muParserTokenReader.cpp - -muParser_dll_muParser.o: $(srcdir)/src/muParser.cpp - $(CXXC) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(srcdir)/src/muParser.cpp - -muParser_dll_muParserBase.o: $(srcdir)/src/muParserBase.cpp - $(CXXC) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(srcdir)/src/muParserBase.cpp - -muParser_dll_muParserBytecode.o: $(srcdir)/src/muParserBytecode.cpp - $(CXXC) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(srcdir)/src/muParserBytecode.cpp - -muParser_dll_muParserCallback.o: $(srcdir)/src/muParserCallback.cpp - $(CXXC) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(srcdir)/src/muParserCallback.cpp - -muParser_dll_muParserComplex.o: $(srcdir)/src/muParserComplex.cpp - $(CXXC) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(srcdir)/src/muParserComplex.cpp - -muParser_dll_muParserDLL.o: $(srcdir)/src/muParserDLL.cpp - $(CXXC) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(srcdir)/src/muParserDLL.cpp - -muParser_dll_muParserError.o: $(srcdir)/src/muParserError.cpp - $(CXXC) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(srcdir)/src/muParserError.cpp - -muParser_dll_muParserInt.o: $(srcdir)/src/muParserInt.cpp - $(CXXC) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(srcdir)/src/muParserInt.cpp - -muParser_dll_muParserTest.o: $(srcdir)/src/muParserTest.cpp - $(CXXC) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(srcdir)/src/muParserTest.cpp - -muParser_dll_muParserTokenReader.o: $(srcdir)/src/muParserTokenReader.cpp - $(CXXC) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(srcdir)/src/muParserTokenReader.cpp - -example1_Example1.o: $(srcdir)/samples/example1/Example1.cpp - $(CXXC) -c -o $@ $(EXAMPLE1_CXXFLAGS) $(srcdir)/samples/example1/Example1.cpp - - -# Include dependency info, if present: -@IF_GNU_MAKE@-include ./.deps/*.d - -.PHONY: all install uninstall clean distclean install_muParser_lib \ - uninstall_muParser_lib install_muParser_lib_headers \ - uninstall_muParser_lib_headers install_muParser_dll uninstall_muParser_dll \ - install_muParser_dll_headers uninstall_muParser_dll_headers lib samples diff --git a/AMDiS/lib/muparser_v134/build/autoconf/aclocal.m4 b/AMDiS/lib/muparser_v134/build/autoconf/aclocal.m4 deleted file mode 100644 index 6eb194442543b5618766131cb1a9fa6e2a276342..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/autoconf/aclocal.m4 +++ /dev/null @@ -1,1991 +0,0 @@ -# generated automatically by aclocal 1.11 -*- 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. - -AC_DEFUN([AC_BAKEFILE_CREATE_FILE_DLLAR_SH], -[ -dnl ===================== dllar.sh begins here ===================== -dnl (Created by merge-scripts.py from dllar.sh -dnl file do not edit here!) -D='$' -cat <dllar.sh -#!/bin/sh -# -# dllar - a tool to build both a .dll and an .a file -# from a set of object (.o) files for EMX/OS2. -# -# Written by Andrew Zabolotny, bit@freya.etu.ru -# Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de -# -# This script will accept a set of files on the command line. -# All the public symbols from the .o files will be exported into -# a .DEF file, then linker will be run (through gcc) against them to -# build a shared library consisting of all given .o files. All libraries -# (.a) will be first decompressed into component .o files then act as -# described above. You can optionally give a description (-d "description") -# which will be put into .DLL. To see the list of accepted options (as well -# as command-line format) simply run this program without options. The .DLL -# is built to be imported by name (there is no guarantee that new versions -# of the library you build will have same ordinals for same symbols). -# -# dllar 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. -# -# dllar 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 dllar; see the file COPYING. If not, write to the Free -# Software Foundation, 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# To successfuly run this program you will need: -# - Current drive should have LFN support (HPFS, ext2, network, etc) -# (Sometimes dllar generates filenames which won't fit 8.3 scheme) -# - gcc -# (used to build the .dll) -# - emxexp -# (used to create .def file from .o files) -# - emximp -# (used to create .a file from .def file) -# - GNU text utilites (cat, sort, uniq) -# used to process emxexp output -# - GNU file utilities (mv, rm) -# - GNU sed -# - lxlite (optional, see flag below) -# (used for general .dll cleanup) -# - -flag_USE_LXLITE=1; - -# -# helper functions -# basnam, variant of basename, which does _not_ remove the path, _iff_ -# second argument (suffix to remove) is given -basnam(){ - case ${D}# in - 1) - echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//' - ;; - 2) - echo ${D}1 | sed 's/'${D}2'${D}//' - ;; - *) - echo "error in basnam ${D}*" - exit 8 - ;; - esac -} - -# Cleanup temporary files and output -CleanUp() { - cd ${D}curDir - for i in ${D}inputFiles ; do - case ${D}i in - *!) - rm -rf \`basnam ${D}i !\` - ;; - *) - ;; - esac - done - - # Kill result in case of failure as there is just to many stupid make/nmake - # things out there which doesn't do this. - if @<:@ ${D}# -eq 0 @:>@; then - rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile - fi -} - -# Print usage and exit script with rc=1. -PrintHelp() { - echo 'Usage: dllar.sh @<:@-o@<:@utput@:>@ output_file@:>@ @<:@-i@<:@mport@:>@ importlib_name@:>@' - echo ' @<:@-name-mangler-script script.sh@:>@' - echo ' @<:@-d@<:@escription@:>@ "dll descrption"@:>@ @<:@-cc "CC"@:>@ @<:@-f@<:@lags@:>@ "CFLAGS"@:>@' - echo ' @<:@-ord@<:@inals@:>@@:>@ -ex@<:@clude@:>@ "symbol(s)"' - echo ' @<:@-libf@<:@lags@:>@ "{INIT|TERM}{GLOBAL|INSTANCE}"@:>@ @<:@-nocrt@<:@dll@:>@@:>@ @<:@-nolxl@<:@ite@:>@@:>@' - echo ' @<:@*.o@:>@ @<:@*.a@:>@' - echo '*> "output_file" should have no extension.' - echo ' If it has the .o, .a or .dll extension, it is automatically removed.' - echo ' The import library name is derived from this and is set to "name".a,' - echo ' unless overridden by -import' - echo '*> "importlib_name" should have no extension.' - echo ' If it has the .o, or .a extension, it is automatically removed.' - echo ' This name is used as the import library name and may be longer and' - echo ' more descriptive than the DLL name which has to follow the old ' - echo ' 8.3 convention of FAT.' - echo '*> "script.sh may be given to override the output_file name by a' - echo ' different name. It is mainly useful if the regular make process' - echo ' of some package does not take into account OS/2 restriction of' - echo ' DLL name lengths. It takes the importlib name as input and is' - echo ' supposed to procude a shorter name as output. The script should' - echo ' expect to get importlib_name without extension and should produce' - echo ' a (max.) 8 letter name without extension.' - echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)' - echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)' - echo ' These flags will be put at the start of GCC command line.' - echo '*> -ord@<:@inals@:>@ tells dllar to export entries by ordinals. Be careful.' - echo '*> -ex@<:@clude@:>@ defines symbols which will not be exported. You can define' - echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".' - echo ' If the last character of a symbol is "*", all symbols beginning' - echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).' - echo '*> -libf@<:@lags@:>@ can be used to add INITGLOBAL/INITINSTANCE and/or' - echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.' - echo '*> -nocrt@<:@dll@:>@ switch will disable linking the library against emx''s' - echo ' C runtime DLLs.' - echo '*> -nolxl@<:@ite@:>@ switch will disable running lxlite on the resulting DLL.' - echo '*> All other switches (for example -L./ or -lmylib) will be passed' - echo ' unchanged to GCC at the end of command line.' - echo '*> If you create a DLL from a library and you do not specify -o,' - echo ' the basename for DLL and import library will be set to library name,' - echo ' the initial library will be renamed to 'name'_s.a (_s for static)' - echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial' - echo ' library will be renamed into gcc_s.a.' - echo '--------' - echo 'Example:' - echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord' - echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"' - CleanUp - exit 1 -} - -# Execute a command. -# If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script. -# @Uses Whatever CleanUp() uses. -doCommand() { - echo "${D}*" - eval ${D}* - rcCmd=${D}? - - if @<:@ ${D}rcCmd -ne 0 @:>@; then - echo "command failed, exit code="${D}rcCmd - CleanUp - exit ${D}rcCmd - fi -} - -# main routine -# setup globals -cmdLine=${D}* -outFile="" -outimpFile="" -inputFiles="" -renameScript="" -description="" -CC=gcc.exe -CFLAGS="-s -Zcrtdll" -EXTRA_CFLAGS="" -EXPORT_BY_ORDINALS=0 -exclude_symbols="" -library_flags="" -curDir=\`pwd\` -curDirS=curDir -case ${D}curDirS in -*/) - ;; -*) - curDirS=${D}{curDirS}"/" - ;; -esac -# Parse commandline -libsToLink=0 -omfLinking=0 -while @<:@ ${D}1 @:>@; do - case ${D}1 in - -ord*) - EXPORT_BY_ORDINALS=1; - ;; - -o*) - shift - outFile=${D}1 - ;; - -i*) - shift - outimpFile=${D}1 - ;; - -name-mangler-script) - shift - renameScript=${D}1 - ;; - -d*) - shift - description=${D}1 - ;; - -f*) - shift - CFLAGS=${D}1 - ;; - -c*) - shift - CC=${D}1 - ;; - -h*) - PrintHelp - ;; - -ex*) - shift - exclude_symbols=${D}{exclude_symbols}${D}1" " - ;; - -libf*) - shift - library_flags=${D}{library_flags}${D}1" " - ;; - -nocrt*) - CFLAGS="-s" - ;; - -nolxl*) - flag_USE_LXLITE=0 - ;; - -* | /*) - case ${D}1 in - -L* | -l*) - libsToLink=1 - ;; - -Zomf) - omfLinking=1 - ;; - *) - ;; - esac - EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1 - ;; - *.dll) - EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`" - if @<:@ ${D}omfLinking -eq 1 @:>@; then - EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib" - else - EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a" - fi - ;; - *) - found=0; - if @<:@ ${D}libsToLink -ne 0 @:>@; then - EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1 - else - for file in ${D}1 ; do - if @<:@ -f ${D}file @:>@; then - inputFiles="${D}{inputFiles} ${D}file" - found=1 - fi - done - if @<:@ ${D}found -eq 0 @:>@; then - echo "ERROR: No file(s) found: "${D}1 - exit 8 - fi - fi - ;; - esac - shift -done # iterate cmdline words - -# -if @<:@ -z "${D}inputFiles" @:>@; then - echo "dllar: no input files" - PrintHelp -fi - -# Now extract all .o files from .a files -newInputFiles="" -for file in ${D}inputFiles ; do - case ${D}file in - *.a | *.lib) - case ${D}file in - *.a) - suffix=".a" - AR="ar" - ;; - *.lib) - suffix=".lib" - AR="emxomfar" - EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf" - ;; - *) - ;; - esac - dirname=\`basnam ${D}file ${D}suffix\`"_%" - mkdir ${D}dirname - if @<:@ ${D}? -ne 0 @:>@; then - echo "Failed to create subdirectory ./${D}dirname" - CleanUp - exit 8; - fi - # Append '!' to indicate archive - newInputFiles="${D}newInputFiles ${D}{dirname}!" - doCommand "cd ${D}dirname; ${D}AR x ../${D}file" - cd ${D}curDir - found=0; - for subfile in ${D}dirname/*.o* ; do - if @<:@ -f ${D}subfile @:>@; then - found=1 - if @<:@ -s ${D}subfile @:>@; then - # FIXME: This should be: is file size > 32 byte, _not_ > 0! - newInputFiles="${D}newInputFiles ${D}subfile" - fi - fi - done - if @<:@ ${D}found -eq 0 @:>@; then - echo "WARNING: there are no files in archive \\'${D}file\\'" - fi - ;; - *) - newInputFiles="${D}{newInputFiles} ${D}file" - ;; - esac -done -inputFiles="${D}newInputFiles" - -# Output filename(s). -do_backup=0; -if @<:@ -z ${D}outFile @:>@; then - do_backup=1; - set outFile ${D}inputFiles; outFile=${D}2 -fi - -# If it is an archive, remove the '!' and the '_%' suffixes -case ${D}outFile in -*_%!) - outFile=\`basnam ${D}outFile _%!\` - ;; -*) - ;; -esac -case ${D}outFile in -*.dll) - outFile=\`basnam ${D}outFile .dll\` - ;; -*.DLL) - outFile=\`basnam ${D}outFile .DLL\` - ;; -*.o) - outFile=\`basnam ${D}outFile .o\` - ;; -*.obj) - outFile=\`basnam ${D}outFile .obj\` - ;; -*.a) - outFile=\`basnam ${D}outFile .a\` - ;; -*.lib) - outFile=\`basnam ${D}outFile .lib\` - ;; -*) - ;; -esac -case ${D}outimpFile in -*.a) - outimpFile=\`basnam ${D}outimpFile .a\` - ;; -*.lib) - outimpFile=\`basnam ${D}outimpFile .lib\` - ;; -*) - ;; -esac -if @<:@ -z ${D}outimpFile @:>@; then - outimpFile=${D}outFile -fi -defFile="${D}{outFile}.def" -arcFile="${D}{outimpFile}.a" -arcFile2="${D}{outimpFile}.lib" - -#create ${D}dllFile as something matching 8.3 restrictions, -if @<:@ -z ${D}renameScript @:>@ ; then - dllFile="${D}outFile" -else - dllFile=\`${D}renameScript ${D}outimpFile\` -fi - -if @<:@ ${D}do_backup -ne 0 @:>@ ; then - if @<:@ -f ${D}arcFile @:>@ ; then - doCommand "mv ${D}arcFile ${D}{outFile}_s.a" - fi - if @<:@ -f ${D}arcFile2 @:>@ ; then - doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib" - fi -fi - -# Extract public symbols from all the object files. -tmpdefFile=${D}{defFile}_% -rm -f ${D}tmpdefFile -for file in ${D}inputFiles ; do - case ${D}file in - *!) - ;; - *) - doCommand "emxexp -u ${D}file >> ${D}tmpdefFile" - ;; - esac -done - -# Create the def file. -rm -f ${D}defFile -echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile -dllFile="${D}{dllFile}.dll" -if @<:@ ! -z ${D}description @:>@; then - echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile -fi -echo "EXPORTS" >> ${D}defFile - -doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%" -grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile - -# Checks if the export is ok or not. -for word in ${D}exclude_symbols; do - grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}% - mv ${D}{tmpdefFile}% ${D}tmpdefFile -done - - -if @<:@ ${D}EXPORT_BY_ORDINALS -ne 0 @:>@; then - sed "=" < ${D}tmpdefFile | \\ - sed ' - N - : loop - s/^\\(@<:@0-9@:>@\\+\\)\\(@<:@^;@:>@*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/ - t loop - ' > ${D}{tmpdefFile}% - grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile -else - rm -f ${D}{tmpdefFile}% -fi -cat ${D}tmpdefFile >> ${D}defFile -rm -f ${D}tmpdefFile - -# Do linking, create implib, and apply lxlite. -gccCmdl=""; -for file in ${D}inputFiles ; do - case ${D}file in - *!) - ;; - *) - gccCmdl="${D}gccCmdl ${D}file" - ;; - esac -done -doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS" -touch "${D}{outFile}.dll" - -doCommand "emximp -o ${D}arcFile ${D}defFile" -if @<:@ ${D}flag_USE_LXLITE -ne 0 @:>@; then - add_flags=""; - if @<:@ ${D}EXPORT_BY_ORDINALS -ne 0 @:>@; then - add_flags="-ynd" - fi - doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile" -fi -doCommand "emxomf -s -l ${D}arcFile" - -# Successful exit. -CleanUp 1 -exit 0 -EOF -dnl ===================== dllar.sh ends here ===================== -]) - -dnl -dnl This file is part of Bakefile (http://www.bakefile.org) -dnl -dnl Copyright (C) 2003-2007 Vaclav Slavik, David Elliott and others -dnl -dnl Permission is hereby granted, free of charge, to any person obtaining a -dnl copy of this software and associated documentation files (the "Software"), -dnl to deal in the Software without restriction, including without limitation -dnl the rights to use, copy, modify, merge, publish, distribute, sublicense, -dnl and/or sell copies of the Software, and to permit persons to whom the -dnl Software is furnished to do so, subject to the following conditions: -dnl -dnl The above copyright notice and this permission notice shall be included in -dnl all copies or substantial portions of the Software. -dnl -dnl THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -dnl IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -dnl FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -dnl THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -dnl LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -dnl FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -dnl DEALINGS IN THE SOFTWARE. -dnl -dnl $Id: bakefile-lang.m4 1278 2008-11-17 22:26:10Z vadz $ -dnl -dnl Compiler detection macros by David Elliott and Vadim Zeitlin -dnl - - -dnl =========================================================================== -dnl Macros to detect different C/C++ compilers -dnl =========================================================================== - -dnl Based on autoconf _AC_LANG_COMPILER_GNU -dnl _AC_BAKEFILE_LANG_COMPILER(NAME, LANG, SYMBOL, IF-YES, IF-NO) -AC_DEFUN([_AC_BAKEFILE_LANG_COMPILER], -[ - AC_LANG_PUSH($2) - AC_CACHE_CHECK( - [whether we are using the $1 $2 compiler], - [bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_[]$3], - [AC_TRY_COMPILE( - [], - [ - #ifndef $3 - choke me - #endif - ], - [bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_[]$3=yes], - [bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_[]$3=no] - ) - ] - ) - if test "x$bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_[]$3" = "xyes"; then - :; $4 - else - :; $5 - fi - AC_LANG_POP($2) -]) - -dnl More specific version of the above macro checking whether the compiler -dnl version is at least the given one (assumes that we do use this compiler) -dnl -dnl _AC_BAKEFILE_LANG_COMPILER_LATER_THAN(NAME, LANG, SYMBOL, VER, VERMSG, IF-YES, IF-NO) -AC_DEFUN([_AC_BAKEFILE_LANG_COMPILER_LATER_THAN], -[ - AC_LANG_PUSH($2) - AC_CACHE_CHECK( - [whether we are using $1 $2 compiler v$5 or later], - [bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_[]$3[]_lt_[]$4], - [AC_TRY_COMPILE( - [], - [ - #ifndef $3 || $3 < $4 - choke me - #endif - ], - [bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_[]$3[]_lt_[]$4=yes], - [bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_[]$3[]_lt_[]$4=no] - ) - ] - ) - if test "x$bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_[]$3[]_lt_[]$4" = "xyes"; then - :; $6 - else - :; $7 - fi - AC_LANG_POP($2) -]) - -dnl CodeWarrior Metrowerks compiler defines __MWERKS__ for both C and C++ -AC_DEFUN([AC_BAKEFILE_PROG_MWCC], -[ - _AC_BAKEFILE_LANG_COMPILER(Metrowerks, C, __MWERKS__, MWCC=yes) -]) - -AC_DEFUN([AC_BAKEFILE_PROG_MWCXX], -[ - _AC_BAKEFILE_LANG_COMPILER(Metrowerks, C++, __MWERKS__, MWCXX=yes) -]) - -dnl IBM xlC compiler defines __xlC__ for both C and C++ -AC_DEFUN([AC_BAKEFILE_PROG_XLCC], -[ - _AC_BAKEFILE_LANG_COMPILER([IBM xlC], C, __xlC__, XLCC=yes) -]) - -AC_DEFUN([AC_BAKEFILE_PROG_XLCXX], -[ - _AC_BAKEFILE_LANG_COMPILER([IBM xlC], C++, __xlC__, XLCXX=yes) -]) - -dnl recent versions of SGI mipsPro compiler define _SGI_COMPILER_VERSION -dnl -dnl NB: old versions define _COMPILER_VERSION but this could probably be -dnl defined by other compilers too so don't test for it to be safe -AC_DEFUN([AC_BAKEFILE_PROG_SGICC], -[ - _AC_BAKEFILE_LANG_COMPILER(SGI, C, _SGI_COMPILER_VERSION, SGICC=yes) -]) - -AC_DEFUN([AC_BAKEFILE_PROG_SGICXX], -[ - _AC_BAKEFILE_LANG_COMPILER(SGI, C++, _SGI_COMPILER_VERSION, SGICXX=yes) -]) - -dnl Sun compiler defines __SUNPRO_C/__SUNPRO_CC -AC_DEFUN([AC_BAKEFILE_PROG_SUNCC], -[ - _AC_BAKEFILE_LANG_COMPILER(Sun, C, __SUNPRO_C, SUNCC=yes) -]) - -AC_DEFUN([AC_BAKEFILE_PROG_SUNCXX], -[ - _AC_BAKEFILE_LANG_COMPILER(Sun, C++, __SUNPRO_CC, SUNCXX=yes) -]) - -dnl Intel icc compiler defines __INTEL_COMPILER for both C and C++ -AC_DEFUN([AC_BAKEFILE_PROG_INTELCC], -[ - _AC_BAKEFILE_LANG_COMPILER(Intel, C, __INTEL_COMPILER, INTELCC=yes) -]) - -AC_DEFUN([AC_BAKEFILE_PROG_INTELCXX], -[ - _AC_BAKEFILE_LANG_COMPILER(Intel, C++, __INTEL_COMPILER, INTELCXX=yes) -]) - -dnl Intel compiler command line options changed in incompatible ways sometimes -dnl before v8 (-KPIC was replaced with gcc-compatible -fPIC) and again in v10 -dnl (-create-pch deprecated in favour of -pch-create) so we need to test for -dnl its exact version too -AC_DEFUN([AC_BAKEFILE_PROG_INTELCC_8], -[ - _AC_BAKEFILE_LANG_COMPILER_LATER_THAN(Intel, C, __INTEL_COMPILER, 800, 8, INTELCC8=yes) -]) -AC_DEFUN([AC_BAKEFILE_PROG_INTELCXX_8], -[ - _AC_BAKEFILE_LANG_COMPILER_LATER_THAN(Intel, C++, __INTEL_COMPILER, 800, 8, INTELCXX8=yes) -]) - -AC_DEFUN([AC_BAKEFILE_PROG_INTELCC_10], -[ - _AC_BAKEFILE_LANG_COMPILER_LATER_THAN(Intel, C, __INTEL_COMPILER, 1000, 10, INTELCC10=yes) -]) - -AC_DEFUN([AC_BAKEFILE_PROG_INTELCXX_10], -[ - _AC_BAKEFILE_LANG_COMPILER_LATER_THAN(Intel, C++, __INTEL_COMPILER, 1000, 10, INTELCXX10=yes) -]) - -dnl HP-UX aCC: see http://docs.hp.com/en/6162/preprocess.htm#macropredef -AC_DEFUN([AC_BAKEFILE_PROG_HPCC], -[ - _AC_BAKEFILE_LANG_COMPILER(HP, C, __HP_cc, HPCC=yes) -]) - -AC_DEFUN([AC_BAKEFILE_PROG_HPCXX], -[ - _AC_BAKEFILE_LANG_COMPILER(HP, C++, __HP_aCC, HPCXX=yes) -]) - -dnl Tru64 cc and cxx -AC_DEFUN([AC_BAKEFILE_PROG_COMPAQCC], -[ - _AC_BAKEFILE_LANG_COMPILER(Compaq, C, __DECC, COMPAQCC=yes) -]) - -AC_DEFUN([AC_BAKEFILE_PROG_COMPAQCXX], -[ - _AC_BAKEFILE_LANG_COMPILER(Compaq, C++, __DECCXX, COMPAQCXX=yes) -]) - -dnl =========================================================================== -dnl macros to detect specialty compiler options -dnl =========================================================================== - -dnl Figure out if we need to pass -ext o to compiler (MetroWerks) -AC_DEFUN([AC_BAKEFILE_METROWERKS_EXTO], -[AC_CACHE_CHECK([if the _AC_LANG compiler requires -ext o], bakefile_cv_[]_AC_LANG_ABBREV[]_exto, -dnl First create an empty conf test -[AC_LANG_CONFTEST([AC_LANG_PROGRAM()]) -dnl Now remove .o and .c.o or .cc.o -rm -f conftest.$ac_objext conftest.$ac_ext.o -dnl Now compile the test -AS_IF([AC_TRY_EVAL(ac_compile)], -dnl If the test succeeded look for conftest.c.o or conftest.cc.o -[for ac_file in `(ls conftest.* 2>/dev/null)`; do - case $ac_file in - conftest.$ac_ext.o) - bakefile_cv_[]_AC_LANG_ABBREV[]_exto="-ext o" - ;; - *) - ;; - esac -done], -[AC_MSG_FAILURE([cannot figure out if compiler needs -ext o: cannot compile]) -]) dnl AS_IF - -rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext -]) dnl AC_CACHE_CHECK - -if test "x$bakefile_cv_[]_AC_LANG_ABBREV[]_exto" '!=' "x"; then - if test "[]_AC_LANG_ABBREV[]" = "c"; then - CFLAGS="$bakefile_cv_[]_AC_LANG_ABBREV[]_exto $CFLAGS" - fi - if test "[]_AC_LANG_ABBREV[]" = "cxx"; then - CXXFLAGS="$bakefile_cv_[]_AC_LANG_ABBREV[]_exto $CXXFLAGS" - fi -fi -]) dnl AC_DEFUN - - -dnl =========================================================================== -dnl Macros to do all of the compiler detections as one macro -dnl =========================================================================== - -dnl check for different proprietary compilers depending on target platform -dnl _AC_BAKEFILE_PROG_COMPILER(LANG) -AC_DEFUN([_AC_BAKEFILE_PROG_COMPILER], -[ - AC_PROG_$1 - - dnl Intel compiler can be used under several different OS and even - dnl different architectures (x86, amd64 and Itanium) so it's easier to just - dnl always test for it - AC_BAKEFILE_PROG_INTEL$1 - - dnl If we use Intel compiler we also need to know its version - if test "$INTEL$1" = "yes"; then - AC_BAKEFILE_PROG_INTEL$1_8 - AC_BAKEFILE_PROG_INTEL$1_10 - fi - - dnl if we're using gcc, we can't be using any of incompatible compilers - if test "x$G$1" != "xyes"; then - if test "x$1" = "xC"; then - AC_BAKEFILE_METROWERKS_EXTO - if test "x$bakefile_cv_c_exto" '!=' "x"; then - unset ac_cv_prog_cc_g - _AC_PROG_CC_G - fi - fi - - dnl most of these compilers are only used under well-defined OS so - dnl don't waste time checking for them on other ones - case `uname -s` in - AIX*) - AC_BAKEFILE_PROG_XL$1 - ;; - - Darwin) - AC_BAKEFILE_PROG_MW$1 - if test "$MW$1" != "yes"; then - AC_BAKEFILE_PROG_XL$1 - fi - ;; - - IRIX*) - AC_BAKEFILE_PROG_SGI$1 - ;; - - Linux*) - dnl Sun CC is now available under Linux too, test for it unless - dnl we already found that we were using a different compiler - if test "$INTEL$1" != "yes"; then - AC_BAKEFILE_PROG_SUN$1 - fi - ;; - - HP-UX*) - AC_BAKEFILE_PROG_HP$1 - ;; - - OSF1) - AC_BAKEFILE_PROG_COMPAQ$1 - ;; - - SunOS) - AC_BAKEFILE_PROG_SUN$1 - ;; - esac - fi -]) - -AC_DEFUN([AC_BAKEFILE_PROG_CC], -[ - _AC_BAKEFILE_PROG_COMPILER(CC) -]) - -AC_DEFUN([AC_BAKEFILE_PROG_CXX], -[ - _AC_BAKEFILE_PROG_COMPILER(CXX) -]) - - -dnl -dnl This file is part of Bakefile (http://www.bakefile.org) -dnl -dnl Copyright (C) 2003-2007 Vaclav Slavik and others -dnl -dnl Permission is hereby granted, free of charge, to any person obtaining a -dnl copy of this software and associated documentation files (the "Software"), -dnl to deal in the Software without restriction, including without limitation -dnl the rights to use, copy, modify, merge, publish, distribute, sublicense, -dnl and/or sell copies of the Software, and to permit persons to whom the -dnl Software is furnished to do so, subject to the following conditions: -dnl -dnl The above copyright notice and this permission notice shall be included in -dnl all copies or substantial portions of the Software. -dnl -dnl THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -dnl IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -dnl FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -dnl THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -dnl LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -dnl FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -dnl DEALINGS IN THE SOFTWARE. -dnl -dnl $Id: bakefile.m4 1327 2009-10-24 10:10:38Z vaclavslavik $ -dnl -dnl Support macros for makefiles generated by BAKEFILE. -dnl - - -dnl --------------------------------------------------------------------------- -dnl Lots of compiler & linker detection code contained here was taken from -dnl wxWidgets configure.in script (see http://www.wxwidgets.org) -dnl --------------------------------------------------------------------------- - - - -dnl --------------------------------------------------------------------------- -dnl AC_BAKEFILE_GNUMAKE -dnl -dnl Detects GNU make -dnl --------------------------------------------------------------------------- - -AC_DEFUN([AC_BAKEFILE_GNUMAKE], -[ - dnl does make support "-include" (only GNU make does AFAIK)? - AC_CACHE_CHECK([if make is GNU make], bakefile_cv_prog_makeisgnu, - [ - if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null | - egrep -s GNU > /dev/null); then - bakefile_cv_prog_makeisgnu="yes" - else - bakefile_cv_prog_makeisgnu="no" - fi - ]) - - if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then - IF_GNU_MAKE="" - else - IF_GNU_MAKE="#" - fi - AC_SUBST(IF_GNU_MAKE) -]) - -dnl --------------------------------------------------------------------------- -dnl AC_BAKEFILE_PLATFORM -dnl -dnl Detects platform and sets PLATFORM_XXX variables accordingly -dnl --------------------------------------------------------------------------- - -AC_DEFUN([AC_BAKEFILE_PLATFORM], -[ - PLATFORM_UNIX=0 - PLATFORM_WIN32=0 - PLATFORM_MSDOS=0 - PLATFORM_MAC=0 - PLATFORM_MACOS=0 - PLATFORM_MACOSX=0 - PLATFORM_OS2=0 - PLATFORM_BEOS=0 - - if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then - case "${BAKEFILE_HOST}" in - *-*-mingw32* ) - PLATFORM_WIN32=1 - ;; - *-pc-msdosdjgpp ) - PLATFORM_MSDOS=1 - ;; - *-pc-os2_emx | *-pc-os2-emx ) - PLATFORM_OS2=1 - ;; - *-*-darwin* ) - PLATFORM_MAC=1 - PLATFORM_MACOSX=1 - ;; - *-*-beos* ) - PLATFORM_BEOS=1 - ;; - powerpc-apple-macos* ) - PLATFORM_MAC=1 - PLATFORM_MACOS=1 - ;; - * ) - PLATFORM_UNIX=1 - ;; - esac - else - case "$BAKEFILE_FORCE_PLATFORM" in - win32 ) - PLATFORM_WIN32=1 - ;; - msdos ) - PLATFORM_MSDOS=1 - ;; - os2 ) - PLATFORM_OS2=1 - ;; - darwin ) - PLATFORM_MAC=1 - PLATFORM_MACOSX=1 - ;; - unix ) - PLATFORM_UNIX=1 - ;; - beos ) - PLATFORM_BEOS=1 - ;; - * ) - AC_MSG_ERROR([Unknown platform: $BAKEFILE_FORCE_PLATFORM]) - ;; - esac - fi - - AC_SUBST(PLATFORM_UNIX) - AC_SUBST(PLATFORM_WIN32) - AC_SUBST(PLATFORM_MSDOS) - AC_SUBST(PLATFORM_MAC) - AC_SUBST(PLATFORM_MACOS) - AC_SUBST(PLATFORM_MACOSX) - AC_SUBST(PLATFORM_OS2) - AC_SUBST(PLATFORM_BEOS) -]) - - -dnl --------------------------------------------------------------------------- -dnl AC_BAKEFILE_PLATFORM_SPECIFICS -dnl -dnl Sets misc platform-specific settings -dnl --------------------------------------------------------------------------- - -AC_DEFUN([AC_BAKEFILE_PLATFORM_SPECIFICS], -[ - AC_ARG_ENABLE([omf], AS_HELP_STRING([--enable-omf], - [use OMF object format (OS/2)]), - [bk_os2_use_omf="$enableval"]) - - case "${BAKEFILE_HOST}" in - *-*-darwin* ) - dnl For Unix to MacOS X porting instructions, see: - dnl http://fink.sourceforge.net/doc/porting/porting.html - if test "x$GCC" = "xyes"; then - CFLAGS="$CFLAGS -fno-common" - CXXFLAGS="$CXXFLAGS -fno-common" - fi - if test "x$XLCC" = "xyes"; then - CFLAGS="$CFLAGS -qnocommon" - CXXFLAGS="$CXXFLAGS -qnocommon" - fi - ;; - - *-pc-os2_emx | *-pc-os2-emx ) - if test "x$bk_os2_use_omf" = "xyes" ; then - AR=emxomfar - RANLIB=: - LDFLAGS="-Zomf $LDFLAGS" - CFLAGS="-Zomf $CFLAGS" - CXXFLAGS="-Zomf $CXXFLAGS" - OS2_LIBEXT="lib" - else - OS2_LIBEXT="a" - fi - ;; - - i*86-*-beos* ) - LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS" - ;; - esac -]) - -dnl --------------------------------------------------------------------------- -dnl AC_BAKEFILE_SUFFIXES -dnl -dnl Detects shared various suffixes for shared libraries, libraries, programs, -dnl plugins etc. -dnl --------------------------------------------------------------------------- - -AC_DEFUN([AC_BAKEFILE_SUFFIXES], -[ - SO_SUFFIX="so" - SO_SUFFIX_MODULE="so" - EXEEXT="" - LIBPREFIX="lib" - LIBEXT=".a" - DLLPREFIX="lib" - DLLPREFIX_MODULE="" - DLLIMP_SUFFIX="" - dlldir="$libdir" - - case "${BAKEFILE_HOST}" in - dnl PA-RISC HP systems used .sl but IA64 use ELF-64 and so use the - dnl standard .so extension - ia64-hp-hpux* ) - ;; - *-hp-hpux* ) - SO_SUFFIX="sl" - SO_SUFFIX_MODULE="sl" - ;; - *-*-aix* ) - dnl quoting from - dnl http://www-1.ibm.com/servers/esdd/articles/gnu.html: - dnl Both archive libraries and shared libraries on AIX have an - dnl .a extension. This will explain why you can't link with an - dnl .so and why it works with the name changed to .a. - SO_SUFFIX="a" - SO_SUFFIX_MODULE="a" - ;; - *-*-cygwin* ) - SO_SUFFIX="dll" - SO_SUFFIX_MODULE="dll" - DLLIMP_SUFFIX="dll.a" - EXEEXT=".exe" - DLLPREFIX="cyg" - dlldir="$bindir" - ;; - *-*-mingw32* ) - SO_SUFFIX="dll" - SO_SUFFIX_MODULE="dll" - DLLIMP_SUFFIX="dll.a" - EXEEXT=".exe" - DLLPREFIX="" - dlldir="$bindir" - ;; - *-pc-msdosdjgpp ) - EXEEXT=".exe" - DLLPREFIX="" - dlldir="$bindir" - ;; - *-pc-os2_emx | *-pc-os2-emx ) - SO_SUFFIX="dll" - SO_SUFFIX_MODULE="dll" - DLLIMP_SUFFIX=$OS2_LIBEXT - EXEEXT=".exe" - DLLPREFIX="" - LIBPREFIX="" - LIBEXT=".$OS2_LIBEXT" - dlldir="$bindir" - ;; - *-*-darwin* ) - SO_SUFFIX="dylib" - SO_SUFFIX_MODULE="bundle" - ;; - esac - - if test "x$DLLIMP_SUFFIX" = "x" ; then - DLLIMP_SUFFIX="$SO_SUFFIX" - fi - - AC_SUBST(SO_SUFFIX) - AC_SUBST(SO_SUFFIX_MODULE) - AC_SUBST(DLLIMP_SUFFIX) - AC_SUBST(EXEEXT) - AC_SUBST(LIBPREFIX) - AC_SUBST(LIBEXT) - AC_SUBST(DLLPREFIX) - AC_SUBST(DLLPREFIX_MODULE) - AC_SUBST(dlldir) -]) - - -dnl --------------------------------------------------------------------------- -dnl AC_BAKEFILE_SHARED_LD -dnl -dnl Detects command for making shared libraries, substitutes SHARED_LD_CC -dnl and SHARED_LD_CXX. -dnl --------------------------------------------------------------------------- - -AC_DEFUN([AC_BAKEFILE_SHARED_LD], -[ - dnl the extra compiler flags needed for compilation of shared library - PIC_FLAG="" - if test "x$GCC" = "xyes"; then - dnl the switch for gcc is the same under all platforms - PIC_FLAG="-fPIC" - fi - - dnl Defaults for GCC and ELF .so shared libs: - SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o" - SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o" - WINDOWS_IMPLIB=0 - - case "${BAKEFILE_HOST}" in - *-hp-hpux* ) - dnl default settings are good for gcc but not for the native HP-UX - if test "x$GCC" != "xyes"; then - dnl no idea why it wants it, but it does - LDFLAGS="$LDFLAGS -L/usr/lib" - - SHARED_LD_CC="${CC} -b -o" - SHARED_LD_CXX="${CXX} -b -o" - PIC_FLAG="+Z" - fi - ;; - - *-*-linux* ) - dnl newer icc versions use -fPIC just as gcc does and, in fact, the - dnl newest (v10+) ones don't even understand -KPIC any longer - if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then - PIC_FLAG="-KPIC" - elif test "x$SUNCXX" = "xyes"; then - SHARED_LD_CC="${CC} -G -o" - SHARED_LD_CXX="${CXX} -G -o" - PIC_FLAG="-KPIC" - fi - ;; - - *-*-solaris2* ) - if test "x$SUNCXX" = xyes ; then - SHARED_LD_CC="${CC} -G -o" - SHARED_LD_CXX="${CXX} -G -o" - PIC_FLAG="-KPIC" - fi - ;; - - *-*-darwin* ) - AC_BAKEFILE_CREATE_FILE_SHARED_LD_SH - chmod +x shared-ld-sh - - SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o" - SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC" - - dnl Most apps benefit from being fully binded (its faster and static - dnl variables initialized at startup work). - dnl This can be done either with the exe linker flag -Wl,-bind_at_load - dnl or with a double stage link in order to create a single module - dnl "-init _wxWindowsDylibInit" not useful with lazy linking solved - - dnl If using newer dev tools then there is a -single_module flag that - dnl we can use to do this for dylibs, otherwise we'll need to use a helper - dnl script. Check the version of gcc to see which way we can go: - AC_CACHE_CHECK([for gcc 3.1 or later], bakefile_cv_gcc31, [ - AC_TRY_COMPILE([], - [ - #if (__GNUC__ < 3) || \ - ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1)) - This is old gcc - #endif - ], - [ - bakefile_cv_gcc31=yes - ], - [ - bakefile_cv_gcc31=no - ] - ) - ]) - if test "$bakefile_cv_gcc31" = "no"; then - dnl Use the shared-ld-sh helper script - SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o" - SHARED_LD_CXX="$SHARED_LD_CC" - else - dnl Use the -single_module flag and let the linker do it for us - SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o" - SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o" - fi - - if test "x$GCC" == "xyes"; then - PIC_FLAG="-dynamic -fPIC" - fi - if test "x$XLCC" = "xyes"; then - PIC_FLAG="-dynamic -DPIC" - fi - ;; - - *-*-aix* ) - if test "x$GCC" = "xyes"; then - dnl at least gcc 2.95 warns that -fPIC is ignored when - dnl compiling each and every file under AIX which is annoying, - dnl so don't use it there (it's useless as AIX runs on - dnl position-independent architectures only anyhow) - PIC_FLAG="" - - dnl -bexpfull is needed by AIX linker to export all symbols (by - dnl default it doesn't export any and even with -bexpall it - dnl doesn't export all C++ support symbols, e.g. vtable - dnl pointers) but it's only available starting from 5.1 (with - dnl maintenance pack 2, whatever this is), see - dnl http://www-128.ibm.com/developerworks/eserver/articles/gnu.html - case "${BAKEFILE_HOST}" in - *-*-aix5* ) - LD_EXPFULL="-Wl,-bexpfull" - ;; - esac - - SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o" - SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o" - else - dnl FIXME: makeC++SharedLib is obsolete, what should we do for - dnl recent AIX versions? - AC_CHECK_PROG(AIX_CXX_LD, makeC++SharedLib, - makeC++SharedLib, /usr/lpp/xlC/bin/makeC++SharedLib) - SHARED_LD_CC="$AIX_CC_LD -p 0 -o" - SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o" - fi - ;; - - *-*-beos* ) - dnl can't use gcc under BeOS for shared library creation because it - dnl complains about missing 'main' - SHARED_LD_CC="${LD} -nostart -o" - SHARED_LD_CXX="${LD} -nostart -o" - ;; - - *-*-irix* ) - dnl default settings are ok for gcc - if test "x$GCC" != "xyes"; then - PIC_FLAG="-KPIC" - fi - ;; - - *-*-cygwin* | *-*-mingw32* ) - PIC_FLAG="" - SHARED_LD_CC="\$(CC) -shared -o" - SHARED_LD_CXX="\$(CXX) -shared -o" - WINDOWS_IMPLIB=1 - ;; - - *-pc-os2_emx | *-pc-os2-emx ) - SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o" - SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o" - PIC_FLAG="" - AC_BAKEFILE_CREATE_FILE_DLLAR_SH - chmod +x dllar.sh - ;; - - powerpc-apple-macos* | \ - *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \ - *-*-mirbsd* | \ - *-*-sunos4* | \ - *-*-osf* | \ - *-*-dgux5* | \ - *-*-sysv5* | \ - *-pc-msdosdjgpp ) - dnl defaults are ok - ;; - - *) - AC_MSG_ERROR(unknown system type $BAKEFILE_HOST.) - esac - - if test "x$PIC_FLAG" != "x" ; then - PIC_FLAG="$PIC_FLAG -DPIC" - fi - - if test "x$SHARED_LD_MODULE_CC" = "x" ; then - SHARED_LD_MODULE_CC="$SHARED_LD_CC" - fi - if test "x$SHARED_LD_MODULE_CXX" = "x" ; then - SHARED_LD_MODULE_CXX="$SHARED_LD_CXX" - fi - - AC_SUBST(SHARED_LD_CC) - AC_SUBST(SHARED_LD_CXX) - AC_SUBST(SHARED_LD_MODULE_CC) - AC_SUBST(SHARED_LD_MODULE_CXX) - AC_SUBST(PIC_FLAG) - AC_SUBST(WINDOWS_IMPLIB) -]) - - -dnl --------------------------------------------------------------------------- -dnl AC_BAKEFILE_SHARED_VERSIONS -dnl -dnl Detects linker options for attaching versions (sonames) to shared libs. -dnl --------------------------------------------------------------------------- - -AC_DEFUN([AC_BAKEFILE_SHARED_VERSIONS], -[ - USE_SOVERSION=0 - USE_SOVERLINUX=0 - USE_SOVERSOLARIS=0 - USE_SOVERCYGWIN=0 - USE_SOTWOSYMLINKS=0 - USE_MACVERSION=0 - SONAME_FLAG= - - case "${BAKEFILE_HOST}" in - *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \ - *-*-k*bsd*-gnu | *-*-mirbsd* ) - if test "x$SUNCXX" = "xyes"; then - SONAME_FLAG="-h " - else - SONAME_FLAG="-Wl,-soname," - fi - USE_SOVERSION=1 - USE_SOVERLINUX=1 - USE_SOTWOSYMLINKS=1 - ;; - - *-*-solaris2* ) - SONAME_FLAG="-h " - USE_SOVERSION=1 - USE_SOVERSOLARIS=1 - ;; - - *-*-darwin* ) - USE_MACVERSION=1 - USE_SOVERSION=1 - USE_SOTWOSYMLINKS=1 - ;; - - *-*-cygwin* ) - USE_SOVERSION=1 - USE_SOVERCYGWIN=1 - ;; - esac - - AC_SUBST(USE_SOVERSION) - AC_SUBST(USE_SOVERLINUX) - AC_SUBST(USE_SOVERSOLARIS) - AC_SUBST(USE_SOVERCYGWIN) - AC_SUBST(USE_MACVERSION) - AC_SUBST(USE_SOTWOSYMLINKS) - AC_SUBST(SONAME_FLAG) -]) - - -dnl --------------------------------------------------------------------------- -dnl AC_BAKEFILE_DEPS -dnl -dnl Detects available C/C++ dependency tracking options -dnl --------------------------------------------------------------------------- - -AC_DEFUN([AC_BAKEFILE_DEPS], -[ - AC_ARG_ENABLE([dependency-tracking], - AS_HELP_STRING([--disable-dependency-tracking], - [don't use dependency tracking even if the compiler can]), - [bk_use_trackdeps="$enableval"]) - - AC_MSG_CHECKING([for dependency tracking method]) - - BK_DEPS="" - if test "x$bk_use_trackdeps" = "xno" ; then - DEPS_TRACKING=0 - AC_MSG_RESULT([disabled]) - else - DEPS_TRACKING=1 - - if test "x$GCC" = "xyes"; then - DEPSMODE=gcc - case "${BAKEFILE_HOST}" in - *-*-darwin* ) - dnl -cpp-precomp (the default) conflicts with -MMD option - dnl used by bk-deps (see also http://developer.apple.com/documentation/Darwin/Conceptual/PortingUnix/compiling/chapter_4_section_3.html) - DEPSFLAG="-no-cpp-precomp -MMD" - ;; - * ) - DEPSFLAG="-MMD" - ;; - esac - AC_MSG_RESULT([gcc]) - elif test "x$MWCC" = "xyes"; then - DEPSMODE=mwcc - DEPSFLAG="-MM" - AC_MSG_RESULT([mwcc]) - elif test "x$SUNCC" = "xyes"; then - DEPSMODE=unixcc - DEPSFLAG="-xM1" - AC_MSG_RESULT([Sun cc]) - elif test "x$SGICC" = "xyes"; then - DEPSMODE=unixcc - DEPSFLAG="-M" - AC_MSG_RESULT([SGI cc]) - elif test "x$HPCC" = "xyes"; then - DEPSMODE=unixcc - DEPSFLAG="+make" - AC_MSG_RESULT([HP cc]) - elif test "x$COMPAQCC" = "xyes"; then - DEPSMODE=gcc - DEPSFLAG="-MD" - AC_MSG_RESULT([Compaq cc]) - else - DEPS_TRACKING=0 - AC_MSG_RESULT([none]) - fi - - if test $DEPS_TRACKING = 1 ; then - AC_BAKEFILE_CREATE_FILE_BK_DEPS - chmod +x bk-deps - dnl FIXME: make this $(top_builddir)/bk-deps once autoconf-2.60 - dnl is required (and so top_builddir is never empty): - BK_DEPS="`pwd`/bk-deps" - fi - fi - - AC_SUBST(DEPS_TRACKING) - AC_SUBST(BK_DEPS) -]) - -dnl --------------------------------------------------------------------------- -dnl AC_BAKEFILE_CHECK_BASIC_STUFF -dnl -dnl Checks for presence of basic programs, such as C and C++ compiler, "ranlib" -dnl or "install" -dnl --------------------------------------------------------------------------- - -AC_DEFUN([AC_BAKEFILE_CHECK_BASIC_STUFF], -[ - AC_PROG_RANLIB - AC_PROG_INSTALL - AC_PROG_LN_S - - AC_PROG_MAKE_SET - AC_SUBST(MAKE_SET) - - if test "x$SUNCXX" = "xyes"; then - dnl Sun C++ compiler requires special way of creating static libs; - dnl see here for more details: - dnl https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1229751&group_id=9863 - AR=$CXX - AROPTIONS="-xar -o" - AC_SUBST(AR) - elif test "x$SGICC" = "xyes"; then - dnl Almost the same as above for SGI mipsPro compiler - AR=$CXX - AROPTIONS="-ar -o" - AC_SUBST(AR) - else - AC_CHECK_TOOL(AR, ar, ar) - AROPTIONS=rcu - fi - AC_SUBST(AROPTIONS) - - AC_CHECK_TOOL(STRIP, strip, :) - AC_CHECK_TOOL(NM, nm, :) - - dnl This check is necessary because "install -d" doesn't exist on - dnl all platforms (e.g. HP/UX), see http://www.bakefile.org/ticket/80 - AC_MSG_CHECKING([for command to install directories]) - INSTALL_TEST_DIR=acbftest$$ - $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1 - if test $? = 0 -a -d $INSTALL_TEST_DIR; then - rmdir $INSTALL_TEST_DIR - dnl we must refer to makefile's $(INSTALL) variable and not - dnl current value of shell variable, hence the single quoting: - INSTALL_DIR='$(INSTALL) -d' - AC_MSG_RESULT([$INSTALL -d]) - else - INSTALL_DIR="mkdir -p" - AC_MSG_RESULT([mkdir -p]) - fi - AC_SUBST(INSTALL_DIR) - - LDFLAGS_GUI= - case ${BAKEFILE_HOST} in - *-*-cygwin* | *-*-mingw32* ) - LDFLAGS_GUI="-mwindows" - esac - AC_SUBST(LDFLAGS_GUI) -]) - - -dnl --------------------------------------------------------------------------- -dnl AC_BAKEFILE_RES_COMPILERS -dnl -dnl Checks for presence of resource compilers for win32 or mac -dnl --------------------------------------------------------------------------- - -AC_DEFUN([AC_BAKEFILE_RES_COMPILERS], -[ - case ${BAKEFILE_HOST} in - *-*-cygwin* | *-*-mingw32* ) - dnl Check for win32 resources compiler: - AC_CHECK_TOOL(WINDRES, windres) - ;; - - *-*-darwin* | powerpc-apple-macos* ) - AC_CHECK_PROG(REZ, Rez, Rez, /Developer/Tools/Rez) - AC_CHECK_PROG(SETFILE, SetFile, SetFile, /Developer/Tools/SetFile) - ;; - esac - - AC_SUBST(WINDRES) - AC_SUBST(REZ) - AC_SUBST(SETFILE) -]) - -dnl --------------------------------------------------------------------------- -dnl AC_BAKEFILE_PRECOMP_HEADERS -dnl -dnl Check for precompiled headers support (GCC >= 3.4) -dnl --------------------------------------------------------------------------- - -AC_DEFUN([AC_BAKEFILE_PRECOMP_HEADERS], -[ - - AC_ARG_ENABLE([precomp-headers], - AS_HELP_STRING([--disable-precomp-headers], - [don't use precompiled headers even if compiler can]), - [bk_use_pch="$enableval"]) - - GCC_PCH=0 - ICC_PCH=0 - USE_PCH=0 - BK_MAKE_PCH="" - - case ${BAKEFILE_HOST} in - *-*-cygwin* ) - dnl PCH support is broken in cygwin gcc because of unportable - dnl assumptions about mmap() in gcc code which make PCH generation - dnl fail erratically; disable PCH completely until this is fixed - bk_use_pch="no" - ;; - esac - - if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then - if test "x$GCC" = "xyes"; then - dnl test if we have gcc-3.4: - AC_MSG_CHECKING([if the compiler supports precompiled headers]) - AC_TRY_COMPILE([], - [ - #if !defined(__GNUC__) || !defined(__GNUC_MINOR__) - There is no PCH support - #endif - #if (__GNUC__ < 3) - There is no PCH support - #endif - #if (__GNUC__ == 3) && \ - ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \ - ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \ - ( defined(__INTEL_COMPILER) ) - There is no PCH support - #endif - ], - [ - AC_MSG_RESULT([yes]) - GCC_PCH=1 - ], - [ - if test "$INTELCXX8" = "yes"; then - AC_MSG_RESULT([yes]) - ICC_PCH=1 - if test "$INTELCXX10" = "yes"; then - ICC_PCH_CREATE_SWITCH="-pch-create" - ICC_PCH_USE_SWITCH="-pch-use" - else - ICC_PCH_CREATE_SWITCH="-create-pch" - ICC_PCH_USE_SWITCH="-use-pch" - fi - else - AC_MSG_RESULT([no]) - fi - ]) - if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then - USE_PCH=1 - AC_BAKEFILE_CREATE_FILE_BK_MAKE_PCH - chmod +x bk-make-pch - dnl FIXME: make this $(top_builddir)/bk-make-pch once - dnl autoconf-2.60 is required (and so top_builddir is - dnl never empty): - BK_MAKE_PCH="`pwd`/bk-make-pch" - fi - fi - fi - - AC_SUBST(GCC_PCH) - AC_SUBST(ICC_PCH) - AC_SUBST(ICC_PCH_CREATE_SWITCH) - AC_SUBST(ICC_PCH_USE_SWITCH) - AC_SUBST(BK_MAKE_PCH) -]) - - - -dnl --------------------------------------------------------------------------- -dnl AC_BAKEFILE([autoconf_inc.m4 inclusion]) -dnl -dnl To be used in configure.in of any project using Bakefile-generated mks -dnl -dnl Behaviour can be modified by setting following variables: -dnl BAKEFILE_CHECK_BASICS set to "no" if you don't want bakefile to -dnl to perform check for basic tools like ranlib -dnl BAKEFILE_HOST set this to override host detection, defaults -dnl to ${host} -dnl BAKEFILE_FORCE_PLATFORM set to override platform detection -dnl -dnl Example usage: -dnl -dnl AC_BAKEFILE([FOO(autoconf_inc.m4)]) -dnl -dnl (replace FOO with m4_include above, aclocal would die otherwise) -dnl (yes, it's ugly, but thanks to a bug in aclocal, it's the only thing -dnl we can do...) -dnl --------------------------------------------------------------------------- - -AC_DEFUN([AC_BAKEFILE], -[ - AC_PREREQ([2.58]) - - dnl We need to always run C/C++ compiler tests, but it's also possible - dnl for the user to call these macros manually, hence this instead of - dnl simply calling these macros. See http://www.bakefile.org/ticket/64 - AC_REQUIRE([AC_BAKEFILE_PROG_CC]) - AC_REQUIRE([AC_BAKEFILE_PROG_CXX]) - - if test "x$BAKEFILE_HOST" = "x"; then - if test "x${host}" = "x" ; then - AC_MSG_ERROR([You must call the autoconf "CANONICAL_HOST" macro in your configure.ac (or .in) file.]) - fi - - BAKEFILE_HOST="${host}" - fi - - if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then - AC_BAKEFILE_CHECK_BASIC_STUFF - fi - AC_BAKEFILE_GNUMAKE - AC_BAKEFILE_PLATFORM - AC_BAKEFILE_PLATFORM_SPECIFICS - AC_BAKEFILE_SUFFIXES - AC_BAKEFILE_SHARED_LD - AC_BAKEFILE_SHARED_VERSIONS - AC_BAKEFILE_DEPS - AC_BAKEFILE_RES_COMPILERS - - dnl OBJCFLAGS is set by Autoconf, but OBJCXXFLAGS is not: - AC_SUBST(OBJCXXFLAGS) - - - BAKEFILE_BAKEFILE_M4_VERSION="0.2.8" - - dnl includes autoconf_inc.m4: - $1 - - if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then - AC_MSG_ERROR([No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?]) - fi - - if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then - AC_MSG_ERROR([Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match.]) - fi -]) - - -dnl --------------------------------------------------------------------------- -dnl Embedded copies of helper scripts follow: -dnl --------------------------------------------------------------------------- - -AC_DEFUN([AC_BAKEFILE_CREATE_FILE_BK_DEPS], -[ -dnl ===================== bk-deps begins here ===================== -dnl (Created by merge-scripts.py from bk-deps -dnl file do not edit here!) -D='$' -cat <bk-deps -#!/bin/sh - -# This script is part of Bakefile (http://www.bakefile.org) autoconf -# script. It is used to track C/C++ files dependencies in portable way. -# -# Permission is given to use this file in any way. - -DEPSMODE=${DEPSMODE} -DEPSFLAG="${DEPSFLAG}" -DEPSDIRBASE=.deps - -if test ${D}DEPSMODE = gcc ; then - ${D}* ${D}{DEPSFLAG} - status=${D}? - - # determine location of created files: - while test ${D}# -gt 0; do - case "${D}1" in - -o ) - shift - objfile=${D}1 - ;; - -* ) - ;; - * ) - srcfile=${D}1 - ;; - esac - shift - done - objfilebase=\`basename ${D}objfile\` - builddir=\`dirname ${D}objfile\` - depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\` - depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\` - depsdir=${D}builddir/${D}DEPSDIRBASE - mkdir -p ${D}depsdir - - # if the compiler failed, we're done: - if test ${D}{status} != 0 ; then - rm -f ${D}depfile - exit ${D}{status} - fi - - # move created file to the location we want it in: - if test -f ${D}depfile ; then - sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d - rm -f ${D}depfile - else - # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d - depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\` - if test ! -f ${D}depfile ; then - # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++) - depfile="${D}objfile.d" - fi - if test -f ${D}depfile ; then - sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d - rm -f ${D}depfile - fi - fi - exit 0 - -elif test ${D}DEPSMODE = mwcc ; then - ${D}* || exit ${D}? - # Run mwcc again with -MM and redirect into the dep file we want - # NOTE: We can't use shift here because we need ${D}* to be valid - prevarg= - for arg in ${D}* ; do - if test "${D}prevarg" = "-o"; then - objfile=${D}arg - else - case "${D}arg" in - -* ) - ;; - * ) - srcfile=${D}arg - ;; - esac - fi - prevarg="${D}arg" - done - - objfilebase=\`basename ${D}objfile\` - builddir=\`dirname ${D}objfile\` - depsdir=${D}builddir/${D}DEPSDIRBASE - mkdir -p ${D}depsdir - - ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d - exit 0 - -elif test ${D}DEPSMODE = unixcc; then - ${D}* || exit ${D}? - # Run compiler again with deps flag and redirect into the dep file. - # It doesn't work if the '-o FILE' option is used, but without it the - # dependency file will contain the wrong name for the object. So it is - # removed from the command line, and the dep file is fixed with sed. - cmd="" - while test ${D}# -gt 0; do - case "${D}1" in - -o ) - shift - objfile=${D}1 - ;; - * ) - eval arg${D}#=\\${D}1 - cmd="${D}cmd \\${D}arg${D}#" - ;; - esac - shift - done - - objfilebase=\`basename ${D}objfile\` - builddir=\`dirname ${D}objfile\` - depsdir=${D}builddir/${D}DEPSDIRBASE - mkdir -p ${D}depsdir - - eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d - exit 0 - -else - ${D}* - exit ${D}? -fi -EOF -dnl ===================== bk-deps ends here ===================== -]) - -AC_DEFUN([AC_BAKEFILE_CREATE_FILE_SHARED_LD_SH], -[ -dnl ===================== shared-ld-sh begins here ===================== -dnl (Created by merge-scripts.py from shared-ld-sh -dnl file do not edit here!) -D='$' -cat <shared-ld-sh -#!/bin/sh -#----------------------------------------------------------------------------- -#-- Name: distrib/mac/shared-ld-sh -#-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X -#-- Author: Gilles Depeyrot -#-- Copyright: (c) 2002 Gilles Depeyrot -#-- Licence: any use permitted -#----------------------------------------------------------------------------- - -verbose=0 -args="" -objects="" -linking_flag="-dynamiclib" -ldargs="-r -keep_private_externs -nostdlib" - -if test "x${D}CXX" = "x"; then - CXX="c++" -fi - -while test ${D}# -gt 0; do - case ${D}1 in - - -v) - verbose=1 - ;; - - -o|-compatibility_version|-current_version|-framework|-undefined|-install_name) - # collect these options and values - args="${D}{args} ${D}1 ${D}2" - shift - ;; - - -arch|-isysroot) - # collect these options and values - ldargs="${D}{ldargs} ${D}1 ${D}2" - shift - ;; - - -s|-Wl,*) - # collect these load args - ldargs="${D}{ldargs} ${D}1" - ;; - - -l*|-L*|-flat_namespace|-headerpad_max_install_names) - # collect these options - args="${D}{args} ${D}1" - ;; - - -dynamiclib|-bundle) - linking_flag="${D}1" - ;; - - -*) - echo "shared-ld: unhandled option '${D}1'" - exit 1 - ;; - - *.o | *.a | *.dylib) - # collect object files - objects="${D}{objects} ${D}1" - ;; - - *) - echo "shared-ld: unhandled argument '${D}1'" - exit 1 - ;; - - esac - shift -done - -status=0 - -# -# Link one module containing all the others -# -if test ${D}{verbose} = 1; then - echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o" -fi -${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o -status=${D}? - -# -# Link the shared library from the single module created, but only if the -# previous command didn't fail: -# -if test ${D}{status} = 0; then - if test ${D}{verbose} = 1; then - echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}" - fi - ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args} - status=${D}? -fi - -# -# Remove intermediate module -# -rm -f master.${D}${D}.o - -exit ${D}status -EOF -dnl ===================== shared-ld-sh ends here ===================== -]) - -AC_DEFUN([AC_BAKEFILE_CREATE_FILE_BK_MAKE_PCH], -[ -dnl ===================== bk-make-pch begins here ===================== -dnl (Created by merge-scripts.py from bk-make-pch -dnl file do not edit here!) -D='$' -cat <bk-make-pch -#!/bin/sh - -# This script is part of Bakefile (http://www.bakefile.org) autoconf -# script. It is used to generated precompiled headers. -# -# Permission is given to use this file in any way. - -outfile="${D}{1}" -header="${D}{2}" -shift -shift - -builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\` - -compiler="" -headerfile="" - -while test ${D}{#} -gt 0; do - add_to_cmdline=1 - case "${D}{1}" in - -I* ) - incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\` - if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then - headerfile="${D}{incdir}/${D}{header}" - fi - ;; - -use-pch|-use_pch|-pch-use ) - shift - add_to_cmdline=0 - ;; - esac - if test ${D}add_to_cmdline = 1 ; then - compiler="${D}{compiler} ${D}{1}" - fi - shift -done - -if test "x${D}{headerfile}" = "x" ; then - echo "error: can't find header ${D}{header} in include paths" >&2 -else - if test -f ${D}{outfile} ; then - rm -f ${D}{outfile} - else - mkdir -p \`dirname ${D}{outfile}\` - fi - depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d" - mkdir -p ${D}{builddir}/.deps - if test "x${GCC_PCH}" = "x1" ; then - # can do this because gcc is >= 3.4: - ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}" - elif test "x${ICC_PCH}" = "x1" ; then - filename=pch_gen-${D}${D} - file=${D}{filename}.c - dfile=${D}{filename}.d - cat > ${D}file < ${D}depsfile && \\ - rm -f ${D}file ${D}dfile ${D}{filename}.o - fi - exit ${D}{?} -fi -EOF -dnl ===================== bk-make-pch ends here ===================== -]) - diff --git a/AMDiS/lib/muparser_v134/build/autoconf/acregen.sh b/AMDiS/lib/muparser_v134/build/autoconf/acregen.sh deleted file mode 100755 index ef0ed37bd4f5068c5a324d22f2e7dad4cfbde679..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/autoconf/acregen.sh +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/bash -# -# Author: Francesco Montorsi -# RCS-ID: $Id: acregen.sh 236 2009-11-24 23:12:00Z frm $ -# Creation date: 14/9/2005 -# -# A simple script to generate the configure script -# Some features of this version: -# - automatic test for aclocal version -# - able to be called from any folder -# (i.e. you can call it typing 'build/autoconf/acregen.sh', not only './acregen.sh') - - -# called when an old version of aclocal is found -function aclocalold() -{ - echo "Your aclocal version is $aclocal_maj.$aclocal_min.$aclocal_rel" - echo "Your automake installation is too old; please install automake >= $aclocal_minimal_maj.$aclocal_minimal_min.$aclocal_minimal_rel" - echo "You can download automake from ftp://sources.redhat.com/pub/automake/" - exit 1 -} - -# first check if we have an ACLOCAL version recent enough -aclocal_verfull=$(aclocal --version) -aclocal_maj=`echo $aclocal_verfull | sed 's/aclocal (GNU automake) \([0-9]*\).\([0-9]*\).\([0-9]*\).*/\1/'` -aclocal_min=`echo $aclocal_verfull | sed 's/aclocal (GNU automake) \([0-9]*\).\([0-9]*\).\([0-9]*\).*/\2/'` -aclocal_rel=`echo $aclocal_verfull | sed 's/aclocal (GNU automake) \([0-9]*\).\([0-9]*\).\([0-9]*\).*/\3/'` -if [[ "$aclocal_rel" = "" ]]; then aclocal_rel="0"; fi - -#echo "Your aclocal version is $aclocal_maj.$aclocal_min.$aclocal_rel" # for debugging - -aclocal_minimal_maj=1 -aclocal_minimal_min=9 -aclocal_minimal_rel=6 - -majok=$(($aclocal_maj > $aclocal_minimal_maj)) -minok=$(($aclocal_maj == $aclocal_minimal_maj && $aclocal_min > $aclocal_minimal_min)) -relok=$(($aclocal_maj == $aclocal_minimal_maj && $aclocal_min == $aclocal_minimal_min && \ - $aclocal_rel >= $aclocal_minimal_rel)) - -versionok=$(($majok == 1 || $minok == 1 || $relok == 1)) -if [[ "$versionok" = "0" ]]; then aclocalold; fi - -# we can safely proceed -me=$(basename $0) -path=${0%%/$me} # path from which the script has been launched -current=$(pwd) -cd $path -aclocal && autoconf && mv configure ../.. -cd $current diff --git a/AMDiS/lib/muparser_v134/build/autoconf/autoconf_inc.m4 b/AMDiS/lib/muparser_v134/build/autoconf/autoconf_inc.m4 deleted file mode 100644 index 9faed0793d9eb974f66f40bf4a52a0e8289cde1b..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/autoconf/autoconf_inc.m4 +++ /dev/null @@ -1,134 +0,0 @@ -dnl ### begin block 00_header[muparser.bkl] ### -dnl -dnl This macro was generated by -dnl Bakefile 0.2.8 (http://www.bakefile.org) -dnl Do not modify, all changes will be overwritten! - -BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.8" - -dnl ### begin block 20_COND_DEBUG_0[muparser.bkl] ### - COND_DEBUG_0="#" - if test "x$DEBUG" = "x0" ; then - COND_DEBUG_0="" - fi - AC_SUBST(COND_DEBUG_0) -dnl ### begin block 20_COND_DEBUG_1[muparser.bkl] ### - COND_DEBUG_1="#" - if test "x$DEBUG" = "x1" ; then - COND_DEBUG_1="" - fi - AC_SUBST(COND_DEBUG_1) -dnl ### begin block 20_COND_DEPS_TRACKING_0[muparser.bkl] ### - COND_DEPS_TRACKING_0="#" - if test "x$DEPS_TRACKING" = "x0" ; then - COND_DEPS_TRACKING_0="" - fi - AC_SUBST(COND_DEPS_TRACKING_0) -dnl ### begin block 20_COND_DEPS_TRACKING_1[muparser.bkl] ### - COND_DEPS_TRACKING_1="#" - if test "x$DEPS_TRACKING" = "x1" ; then - COND_DEPS_TRACKING_1="" - fi - AC_SUBST(COND_DEPS_TRACKING_1) -dnl ### begin block 20_COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1[muparser.bkl] ### - COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#" - if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then - COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="" - fi - AC_SUBST(COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1) -dnl ### begin block 20_COND_PLATFORM_MACOSX_0_USE_SOVERSION_1[muparser.bkl] ### - COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#" - if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then - COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="" - fi - AC_SUBST(COND_PLATFORM_MACOSX_0_USE_SOVERSION_1) -dnl ### begin block 20_COND_PLATFORM_MACOSX_1[muparser.bkl] ### - COND_PLATFORM_MACOSX_1="#" - if test "x$PLATFORM_MACOSX" = "x1" ; then - COND_PLATFORM_MACOSX_1="" - fi - AC_SUBST(COND_PLATFORM_MACOSX_1) -dnl ### begin block 20_COND_PLATFORM_MACOSX_1_USE_SOVERSION_1[muparser.bkl] ### - COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#" - if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then - COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="" - fi - AC_SUBST(COND_PLATFORM_MACOSX_1_USE_SOVERSION_1) -dnl ### begin block 20_COND_PLATFORM_MAC_0[muparser.bkl] ### - COND_PLATFORM_MAC_0="#" - if test "x$PLATFORM_MAC" = "x0" ; then - COND_PLATFORM_MAC_0="" - fi - AC_SUBST(COND_PLATFORM_MAC_0) -dnl ### begin block 20_COND_PLATFORM_MAC_1[muparser.bkl] ### - COND_PLATFORM_MAC_1="#" - if test "x$PLATFORM_MAC" = "x1" ; then - COND_PLATFORM_MAC_1="" - fi - AC_SUBST(COND_PLATFORM_MAC_1) -dnl ### begin block 20_COND_PLATFORM_OS2_1[muparser.bkl] ### - COND_PLATFORM_OS2_1="#" - if test "x$PLATFORM_OS2" = "x1" ; then - COND_PLATFORM_OS2_1="" - fi - AC_SUBST(COND_PLATFORM_OS2_1) -dnl ### begin block 20_COND_SAMPLES_1[muparser.bkl] ### - COND_SAMPLES_1="#" - if test "x$SAMPLES" = "x1" ; then - COND_SAMPLES_1="" - fi - AC_SUBST(COND_SAMPLES_1) -dnl ### begin block 20_COND_SHARED_0[muparser.bkl] ### - COND_SHARED_0="#" - if test "x$SHARED" = "x0" ; then - COND_SHARED_0="" - fi - AC_SUBST(COND_SHARED_0) -dnl ### begin block 20_COND_SHARED_1[muparser.bkl] ### - COND_SHARED_1="#" - if test "x$SHARED" = "x1" ; then - COND_SHARED_1="" - fi - AC_SUBST(COND_SHARED_1) -dnl ### begin block 20_COND_USE_SOTWOSYMLINKS_1[muparser.bkl] ### - COND_USE_SOTWOSYMLINKS_1="#" - if test "x$USE_SOTWOSYMLINKS" = "x1" ; then - COND_USE_SOTWOSYMLINKS_1="" - fi - AC_SUBST(COND_USE_SOTWOSYMLINKS_1) -dnl ### begin block 20_COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1[muparser.bkl] ### - COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#" - if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then - COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="" - fi - AC_SUBST(COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1) -dnl ### begin block 20_COND_USE_SOVERLINUX_1[muparser.bkl] ### - COND_USE_SOVERLINUX_1="#" - if test "x$USE_SOVERLINUX" = "x1" ; then - COND_USE_SOVERLINUX_1="" - fi - AC_SUBST(COND_USE_SOVERLINUX_1) -dnl ### begin block 20_COND_USE_SOVERSION_0[muparser.bkl] ### - COND_USE_SOVERSION_0="#" - if test "x$USE_SOVERSION" = "x0" ; then - COND_USE_SOVERSION_0="" - fi - AC_SUBST(COND_USE_SOVERSION_0) -dnl ### begin block 20_COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1[muparser.bkl] ### - COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#" - if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then - COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="" - fi - AC_SUBST(COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1) -dnl ### begin block 20_COND_USE_SOVERSOLARIS_1[muparser.bkl] ### - COND_USE_SOVERSOLARIS_1="#" - if test "x$USE_SOVERSOLARIS" = "x1" ; then - COND_USE_SOVERSOLARIS_1="" - fi - AC_SUBST(COND_USE_SOVERSOLARIS_1) -dnl ### begin block 20_COND_WINDOWS_IMPLIB_1[muparser.bkl] ### - COND_WINDOWS_IMPLIB_1="#" - if test "x$WINDOWS_IMPLIB" = "x1" ; then - COND_WINDOWS_IMPLIB_1="" - fi - AC_SUBST(COND_WINDOWS_IMPLIB_1) diff --git a/AMDiS/lib/muparser_v134/build/autoconf/bakefile-presets.m4 b/AMDiS/lib/muparser_v134/build/autoconf/bakefile-presets.m4 deleted file mode 100644 index e1d484479267102ac77d917641e8c035d9b87ded..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/autoconf/bakefile-presets.m4 +++ /dev/null @@ -1,151 +0,0 @@ -dnl --------------------------------------------------------------------------- -dnl Support macros for makefiles generated with Bakefile presets -dnl --------------------------------------------------------------------------- - - -dnl --------------------------------------------------------------------------- -dnl AM_YESNO_OPTCHECK([name of the boolean variable to set], -dnl [name of the variable with yes/no values], -dnl [name of the --enable/--with option]) -dnl -dnl Converts the $3 variable, supposed to contain a yes/no value to a 1/0 -dnl boolean variable and saves the result into $1. -dnl Outputs also the standard checking-option message. -dnl Used by the m4 macros of the presets. -dnl --------------------------------------------------------------------------- -AC_DEFUN([AC_BAKEFILE_YESNO_OPTCHECK], -[ - AC_MSG_CHECKING([for the $3 option]) - if [[ "x$$2" = "xyes" ]]; then - AC_MSG_RESULT([yes]) - $1=1 - else - AC_MSG_RESULT([no]) - $1=0 - fi -]) - -dnl --------------------------------------------------------------------------- -dnl AC_BAKEFILE_UNICODEOPT([default value for the --enable-unicode option]) -dnl -dnl Adds the --enable-unicode option to the configure script and sets the -dnl UNICODE=0/1 variable accordingly to the value of the option. -dnl To be used with unicodeopt.bkl preset. -dnl --------------------------------------------------------------------------- -AC_DEFUN([AC_BAKEFILE_UNICODEOPT], -[ - default="$1" - if [[ -z "$default" ]]; then - default="no" - fi - - AC_ARG_ENABLE([unicode], - AC_HELP_STRING([--enable-unicode], [Builds in Unicode mode]), - [], [enableval="$default"]) - - AC_BAKEFILE_YESNO_OPTCHECK([UNICODE], [enableval], [--enable-unicode]) -]) - -dnl --------------------------------------------------------------------------- -dnl AC_BAKEFILE_DEBUGOPT([default value for the --enable-debug option]) -dnl -dnl Adds the --enable-debug option to the configure script and sets the -dnl DEBUG=0/1 variable accordingly to the value of the option. -dnl To be used with debugopt.bkl preset. -dnl --------------------------------------------------------------------------- -AC_DEFUN([AC_BAKEFILE_DEBUGOPT], -[ - default="$1" - if [[ -z "$default" ]]; then - default="no" - fi - - AC_ARG_ENABLE([debug], - AC_HELP_STRING([--enable-debug], [Builds in debug mode]), - [], [enableval="$default"]) - - AC_BAKEFILE_YESNO_OPTCHECK([DEBUG], [enableval], [--enable-debug]) - - dnl add the optimize/debug flags - if [[ "x$DEBUG" = "x1" ]]; then - - dnl NOTE: the -Wundef and -Wno-ctor-dtor-privacy are not enabled automatically by -Wall - dnl NOTE2: the '-Wno-ctor-dtor-privacy' has sense only when compiling C++ source files - dnl and thus we must be careful to add it only to CXXFLAGS and not to CFLAGS - dnl (remember that CPPFLAGS is reserved for both C and C++ compilers while - dnl CFLAGS is intended as flags for C compiler only and CXXFLAGS for C++ only) - CXXFLAGS="$CXXFLAGS -g -O0 -Wall -Wundef -Wno-ctor-dtor-privacy" - CFLAGS="$CFLAGS -g -O0 -Wall -Wundef" - else - CXXFLAGS="$CXXFLAGS -O2" - CFLAGS="$CFLAGS -O2" - fi -]) - -dnl --------------------------------------------------------------------------- -dnl AC_BAKEFILE_SHAREDOPT([default value for the --enable-shared option]) -dnl -dnl Adds the --enable-shared option to the configure script and sets the -dnl SHARED=0/1 variable accordingly to the value of the option. -dnl To be used with sharedopt.bkl preset. -dnl --------------------------------------------------------------------------- -AC_DEFUN([AC_BAKEFILE_SHAREDOPT], -[ - default="$1" - if [[ -z "$default" ]]; then - default="no" - fi - - AC_ARG_ENABLE([shared], - AC_HELP_STRING([--enable-shared], [Builds in shared mode]), - [], [enableval="$default"]) - - AC_BAKEFILE_YESNO_OPTCHECK([SHARED], [enableval], [--enable-shared]) -]) - -dnl --------------------------------------------------------------------------- -dnl AC_BAKEFILE_SHOW_DEBUGOPT -dnl -dnl Prints a message on stdout about the value of the DEBUG variable. -dnl This macro is useful to show summary messages at the end of the configure scripts. -dnl --------------------------------------------------------------------------- -AC_DEFUN([AC_BAKEFILE_SHOW_DEBUGOPT], -[ - if [[ "$DEBUG" = "1" ]]; then - echo " - DEBUG build" - else - echo " - RELEASE build" - fi -]) - -dnl --------------------------------------------------------------------------- -dnl AC_BAKEFILE_SHOW_SHAREDOPT -dnl -dnl Prints a message on stdout about the value of the SHARED variable. -dnl This macro is useful to show summary messages at the end of the configure scripts. -dnl --------------------------------------------------------------------------- -AC_DEFUN([AC_BAKEFILE_SHOW_SHAREDOPT], -[ - if [[ "$SHARED" = "1" ]]; then - echo " - SHARED mode" - else - echo " - STATIC mode" - fi -]) - -dnl --------------------------------------------------------------------------- -dnl AC_BAKEFILE_SHOW_UNICODEOPT -dnl -dnl Prints a message on stdout about the value of the UNICODE variable. -dnl This macro is useful to show summary messages at the end of the configure scripts. -dnl --------------------------------------------------------------------------- -AC_DEFUN([AC_BAKEFILE_SHOW_UNICODEOPT], -[ - if [[ "$UNICODE" = "1" ]]; then - echo " - UNICODE mode" - else - echo " - ANSI mode" - fi -]) - - diff --git a/AMDiS/lib/muparser_v134/build/autoconf/config.guess b/AMDiS/lib/muparser_v134/build/autoconf/config.guess deleted file mode 100755 index c38553dc74bb4f06a43f734903d1e1c0f1ed6fdb..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/autoconf/config.guess +++ /dev/null @@ -1,1497 +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 Free Software Foundation, Inc. - -timestamp='2006-02-23' - -# 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 to . Submit a context -# diff and a properly formatted 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. -# -# The plan is that this can be called by configure scripts if you -# don't specify an explicit build system type. - -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 -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 ;; - *) 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 __ELF__ >/dev/null - 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 powerppc-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 ;; - 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:SunOS:5.*:*) - echo i386-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:*:[45]) - 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 __LP64__ >/dev/null - 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/[-(].*//'` ;; - *) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - esac - exit ;; - i*:CYGWIN*:*) - echo ${UNAME_MACHINE}-pc-cygwin - exit ;; - i*:MINGW*:*) - echo ${UNAME_MACHINE}-pc-mingw32 - exit ;; - i*:MSYS_NT-*:*:*) - 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 ;; - x86:Interix*:[345]*) - echo i586-pc-interix${UNAME_RELEASE} - exit ;; - EM64T:Interix*:[345]*) - echo x86_64-unknown-interix${UNAME_RELEASE} - exit ;; - [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) - echo i${UNAME_MACHINE}-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 ;; - arm*: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 ;; - 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:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #undef CPU - #undef mips - #undef mipsel - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=mipsel - #else - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=mips - #else - CPU= - #endif - #endif -EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } - ;; - mips64:Linux:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #undef CPU - #undef mips64 - #undef mips64el - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=mips64el - #else - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=mips64 - #else - CPU= - #endif - #endif -EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } - ;; - or32:Linux:*:*) - echo or32-unknown-linux-gnu - exit ;; - ppc:Linux:*:*) - echo powerpc-unknown-linux-gnu - exit ;; - ppc64:Linux:*:*) - echo powerpc64-unknown-linux-gnu - 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 ld.so.1 >/dev/null - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} - 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 ;; - parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-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 ;; - i*86:Linux:*:*) - # The BFD linker knows what the default object file format is, so - # first see if it will tell us. cd to the root directory to prevent - # problems with other programs or directories called `ld' in the path. - # Set LC_ALL=C to ensure ld outputs messages in English. - ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ - | sed -ne '/supported targets:/!d - s/[ ][ ]*/ /g - s/.*supported targets: *// - s/ .*// - p'` - case "$ld_supported_targets" in - elf32-i386) - TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" - ;; - a.out-i386-linux) - echo "${UNAME_MACHINE}-pc-linux-gnuaout" - exit ;; - coff-i386) - echo "${UNAME_MACHINE}-pc-linux-gnucoff" - exit ;; - "") - # Either a pre-BFD a.out linker (linux-gnuoldld) or - # one that does not give us useful --help. - echo "${UNAME_MACHINE}-pc-linux-gnuoldld" - exit ;; - esac - # Determine whether the default compiler is a.out or elf - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - #ifdef __ELF__ - # ifdef __GLIBC__ - # if __GLIBC__ >= 2 - LIBC=gnu - # else - LIBC=gnulibc1 - # endif - # else - LIBC=gnulibc1 - # endif - #else - #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__sun) - LIBC=gnu - #else - LIBC=gnuaout - #endif - #endif - #ifdef __dietlibc__ - LIBC=dietlibc - #endif -EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^LIBC/{ - s: ::g - p - }'`" - test x"${LIBC}" != x && { - echo "${UNAME_MACHINE}-pc-linux-${LIBC}" - exit - } - test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; 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.0*:*) - 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 i386. - echo i386-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; } ;; - 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.0*:*) - 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 ;; - 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 ;; - 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 - 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 ;; -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/AMDiS/lib/muparser_v134/build/autoconf/config.sub b/AMDiS/lib/muparser_v134/build/autoconf/config.sub deleted file mode 100755 index ad9f39571183b5c22b2d269bb52eb9ad50227430..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/autoconf/config.sub +++ /dev/null @@ -1,1608 +0,0 @@ -#! /bin/sh -# Configuration validation subroutine script. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. - -timestamp='2006-02-23' - -# 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 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. - -# 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 -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* | \ - 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) - os= - basic_machine=$1 - ;; - -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 \ - | bfin \ - | c4x | clipper \ - | d10v | d30v | dlx | dsp16xx \ - | fr30 | frv \ - | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ - | i370 | i860 | i960 | ia64 \ - | ip2k | iq2000 \ - | m32r | m32rle | m68000 | m68k | m88k | maxq | mb | microblaze | mcore \ - | mips | mipsbe | mipseb | mipsel | mipsle \ - | mips16 \ - | mips64 | mips64el \ - | mips64vr | mips64vrel \ - | mips64orion | mips64orionel \ - | mips64vr4100 | mips64vr4100el \ - | mips64vr4300 | mips64vr4300el \ - | mips64vr5000 | mips64vr5000el \ - | mips64vr5900 | mips64vr5900el \ - | mipsisa32 | mipsisa32el \ - | mipsisa32r2 | mipsisa32r2el \ - | mipsisa64 | mipsisa64el \ - | mipsisa64r2 | mipsisa64r2el \ - | mipsisa64sb1 | mipsisa64sb1el \ - | mipsisa64sr71k | mipsisa64sr71kel \ - | mipstx39 | mipstx39el \ - | mn10200 | mn10300 \ - | mt \ - | msp430 \ - | nios | nios2 \ - | ns16k | ns32k \ - | or32 \ - | pdp10 | pdp11 | pj | pjl \ - | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ - | pyramid \ - | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ - | sh64 | sh64le \ - | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ - | sparcv8 | sparcv9 | sparcv9b \ - | strongarm \ - | tahoe | thumb | tic4x | tic80 | tron \ - | v850 | v850e \ - | we32k \ - | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ - | z8k) - basic_machine=$basic_machine-unknown - ;; - m32c) - basic_machine=$basic_machine-unknown - ;; - m6811 | m68hc11 | m6812 | m68hc12) - # 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-* \ - | bfin-* | bs2000-* \ - | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ - | clipper-* | craynv-* | cydra-* \ - | d10v-* | d30v-* | dlx-* \ - | elxsi-* \ - | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ - | h8300-* | h8500-* \ - | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ - | i*86-* | i860-* | i960-* | ia64-* \ - | ip2k-* | iq2000-* \ - | m32r-* | m32rle-* \ - | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | maxq-* | mcore-* \ - | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ - | mips16-* \ - | mips64-* | mips64el-* \ - | mips64vr-* | mips64vrel-* \ - | mips64orion-* | mips64orionel-* \ - | 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-* \ - | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \ - | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ - | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ - | tahoe-* | thumb-* \ - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ - | tron-* \ - | v850-* | v850e-* | vax-* \ - | we32k-* \ - | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ - | xstormy16-* | xtensa-* \ - | ymp-* \ - | z8k-*) - ;; - m32c-*) - ;; - # 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 - ;; - aux) - basic_machine=m68k-apple - os=-aux - ;; - balance) - basic_machine=ns32k-sequent - os=-dynix - ;; - c90) - basic_machine=c90-cray - os=-unicos - ;; - 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 - ;; - cr16c) - basic_machine=cr16c-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 - ;; - 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 - ;; - m88k-omron*) - basic_machine=m88k-omron - ;; - magnum | m3230) - basic_machine=mips-mips - os=-sysv - ;; - merlin) - basic_machine=ns32k-utek - os=-sysv - ;; - mingw32) - basic_machine=i386-pc - os=-mingw32 - ;; - 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 - ;; - 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 - ;; - sei) - basic_machine=mips-sei - os=-seiux - ;; - sequent) - basic_machine=i386-sequent - ;; - sh) - basic_machine=sh-hitachi - os=-hms - ;; - 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 - ;; - 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 - ;; - 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[34]eb | sh[1234]le | sh[23]ele) - basic_machine=sh-unknown - ;; - sparc | sparcv8 | sparcv9 | sparcv9b) - 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. - -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* | -sunos | -sunos[34]*\ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ - | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ - | -aos* \ - | -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* \ - | -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*) - # 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 - ;; - -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 - *-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 - ;; - 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 - ;; - -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/AMDiS/lib/muparser_v134/build/autoconf/configure.ac b/AMDiS/lib/muparser_v134/build/autoconf/configure.ac deleted file mode 100644 index cd9068cc4532d58b8c54d056c55f9c14cae82df1..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/autoconf/configure.ac +++ /dev/null @@ -1,80 +0,0 @@ -# ====================================================================================== -# Author: Francesco Montorsi -# RCS-ID: $Id: configure.ac 269 2010-01-18 18:30:28Z ibg $ -# ====================================================================================== - - -# NOTE: -# the version of the project must be updated also in docs/Doxyfile ! -AC_INIT([muParser], [1.32], [frm@users.sourceforge.net]) - -AC_PREREQ([2.57]) -AC_CONFIG_AUX_DIR([build/autoconf]) -AC_LANG(C++) - -# some helpers -m4_include(bakefile-presets.m4) - - - -## CONFIGURE CHECKS -##################################################################### - -dnl This allows us to use Bakefile, recognizing the system type -dnl (and sets the AC_CANONICAL_BUILD, AC_CANONICAL_HOST and -dnl AC_CANONICAL_TARGET variables) -AC_CANONICAL_SYSTEM - -dnl we set these vars to avoid that the AC_PROG_C* macros add the "-g -O2" flags; -dnl we will add them later, if needed -CFLAGS= -CXXFLAGS= -CPPFLAGS= - -dnl Checks for basic programs used to compile/install. -AC_PROG_AWK -AC_PROG_INSTALL -AC_PROG_LN_S -AC_PROG_RANLIB -AC_PROG_CC -AC_PROG_CXX -AC_PROG_CXXCPP - - -AC_BAKEFILE_DEBUGOPT([no]) -AC_BAKEFILE_SHAREDOPT([yes]) - -AC_ARG_ENABLE([samples], - AC_HELP_STRING([--enable-samples], [Builds the library samples, too]), - [], [enableval="yes"]) -AC_BAKEFILE_YESNO_OPTCHECK([SAMPLES], [enableval], [--enable-samples]) - -dnl Create the output folders in the current build directory -dnl (this handles cases like: -dnl mkdir mybuild && cd mybuild && ../configure && make ) -AS_MKDIR_P(lib) -AS_MKDIR_P(samples/example1) - -AC_BAKEFILE([m4_include(autoconf_inc.m4)]) -AC_CONFIG_FILES([Makefile build/autoconf/muparser.pc]) -AC_OUTPUT - - - -## CONFIGURE END MESSAGE -##################################################################### - -echo -echo " ----------------------------------------------------------------" -echo " Configuration for $PACKAGE_NAME $PACKAGE_VERSION successfully completed." -echo " Summary of main configuration settings for $PACKAGE_NAME:" -AC_BAKEFILE_SHOW_SHAREDOPT -AC_BAKEFILE_SHOW_DEBUGOPT -if [[ "$SAMPLES" = "1" ]]; then - echo " - SAMPLES enabled" -else - echo " - SAMPLES disabled" -fi -echo " Now, just run make." -echo " ----------------------------------------------------------------" -echo diff --git a/AMDiS/lib/muparser_v134/build/autoconf/install-sh b/AMDiS/lib/muparser_v134/build/autoconf/install-sh deleted file mode 100755 index 1b3f51d6544f788cdffdd6ca59b40275690e1422..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/autoconf/install-sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh - diff --git a/AMDiS/lib/muparser_v134/build/autoconf/muparser.pc.in b/AMDiS/lib/muparser_v134/build/autoconf/muparser.pc.in deleted file mode 100644 index 4c16a24e2eb2f74740fd91e69620cd19449905ca..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/autoconf/muparser.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: @PACKAGE_NAME@ -Description: Mathematical expressions parser library -Version: @PACKAGE_VERSION@ -Requires: -Libs: -L${libdir} -lmuparser -Cflags: -I${includedir} diff --git a/AMDiS/lib/muparser_v134/build/bakefiles/Bakefiles.bkgen b/AMDiS/lib/muparser_v134/build/bakefiles/Bakefiles.bkgen deleted file mode 100644 index 054fd653d2b9b97d271400e6e2a736d7d2bc1ce5..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/bakefiles/Bakefiles.bkgen +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - muparser.bkl - - dmars,dmars_smake,cbx_unix,cbuilderx,msevc4prj - autoconf,borland,mingw,msvc,watcom,msvs2003prj,msvs2005prj,msvs2008prj - - -o ../makefile.bcc - -o ../makefile.mingw - -o ../makefile.vc - -o ../makefile.wat - -o ../msvc2003/muparser.sln - -o ../msvc2005/muparser.sln - -o ../msvc2008/muparser.sln - - - - -o../../Makefile.in - - - - - -DAUTOCONF_MACROS_FILE=../autoconf/autoconf_inc.m4 - - - diff --git a/AMDiS/lib/muparser_v134/build/bakefiles/howto.txt b/AMDiS/lib/muparser_v134/build/bakefiles/howto.txt deleted file mode 100644 index a6ac39828a204e080e6d458a485a1be84077a613..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/bakefiles/howto.txt +++ /dev/null @@ -1,16 +0,0 @@ -These are basic instructions for recreating the project files: - -Clearing olf project and makefiles: -bakefile_gen -c - -Remaking Projects and Makefiles: -bakefile_gen - -In addition to that automake must be started to create the new configure script: -rm -rf autoconf/autom4te.cache autoconf/aclocal.m4 -../autoconf/acregen.sh - -!!! IMPORTANT !!! -When building bakefile from the tar.gz archive make sure to -use the option --prefix=/usr wit the config file since its -path will default to /usr/local. This would cause strange errors! diff --git a/AMDiS/lib/muparser_v134/build/bakefiles/muparser.bkl b/AMDiS/lib/muparser_v134/build/bakefiles/muparser.bkl deleted file mode 100644 index 023eecfe157cfebe87f4de8a2dae87298afe2fd3..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/bakefiles/muparser.bkl +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - - - - - - - - - obj$(DIRSEP)$(BUILDDIR) - - - - - d - - - - - - - - - $(top_builddir)/lib - $(top_builddir)/samples - - - - ../.. - - - .. - - - $(SRCDIR)/lib - $(SRCDIR)/samples - - - - - - - - - - - muparser$(DEBUG_BUILD_POSTFIX) - - - muparser$(DEBUG_BUILD_POSTFIX) - muparser$(DEBUG_BUILD_POSTFIX) - - 1.0 - 0.0.0 - 1 - - - - muParser=muParser_lib+muParser_dll - - - - build/autoconf/muparser.pc - - - - - - - - - - - - - - 1 - - - - - - - $(fileList('samples/example1/*.cpp')) - $(SAMPLEOUTPATH)/example1 - $(substituteFromDict(SHARED, {'1':'USINGDLL', '0':''})) - - - - - - $(fileList('samples/example1/*.cpp')) - $(SAMPLEOUTPATH)/example1 - - - - - - - $(fileList('samples/example2/*.c')) - $(SAMPLEOUTPATH)/example2 - $(substituteFromDict(SHARED, {'1':'USINGDLL', '0':''})) - - - - - - - - - - muParser_lib - muParser_dll - - - - example1 - - example2 - - - - - ( cd $(SRCDIR)$(DIRSEP)docs && doxygen ) - - - - - diff --git a/AMDiS/lib/muparser_v134/build/bakefiles/presets/debugopt.bkl b/AMDiS/lib/muparser_v134/build/bakefiles/presets/debugopt.bkl deleted file mode 100644 index eb47bc45e0926d4d7ba712413a65b762776b968e..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/bakefiles/presets/debugopt.bkl +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - 0 - - - - - - - - rel - dbg - - - diff --git a/AMDiS/lib/muparser_v134/build/bakefiles/presets/setbuilddir.bkl b/AMDiS/lib/muparser_v134/build/bakefiles/presets/setbuilddir.bkl deleted file mode 100644 index 9e7eef0b751087d4e34621ec6a1faa9c6a5b0e2e..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/bakefiles/presets/setbuilddir.bkl +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - _$(SHAREDBUILDPOSTFIX) - _$(DEBUGBUILDPOSTFIX) - _$(UNICODEBUILDPOSTFIX) - - - - $(COMPILER)$(SHRDSTR)$(DBGSTR)$(UNICSTR) - - - - diff --git a/AMDiS/lib/muparser_v134/build/bakefiles/presets/sharedopt.bkl b/AMDiS/lib/muparser_v134/build/bakefiles/presets/sharedopt.bkl deleted file mode 100644 index 461437bfa249a20e104b59be7c95350196bec876..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/bakefiles/presets/sharedopt.bkl +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - 0 - - - - - - static - shared - - - diff --git a/AMDiS/lib/muparser_v134/build/bakefiles/presets/unicodeopt.bkl b/AMDiS/lib/muparser_v134/build/bakefiles/presets/unicodeopt.bkl deleted file mode 100644 index 5fe3ac25dbcf31a6184903a62c5a0c6f7d3658ff..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/bakefiles/presets/unicodeopt.bkl +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - 0 - - - - - - - - a - u - - - diff --git a/AMDiS/lib/muparser_v134/build/makefile.bcc b/AMDiS/lib/muparser_v134/build/makefile.bcc deleted file mode 100644 index eb597b4c73f69f2155db49871f786fb488b241e9..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/makefile.bcc +++ /dev/null @@ -1,317 +0,0 @@ -# ========================================================================= -# This makefile was generated by -# Bakefile 0.2.8 (http://www.bakefile.org) -# Do not modify, all changes will be overwritten! -# ========================================================================= - -.autodepend - -!ifndef BCCDIR -!ifndef MAKEDIR -!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4 -!endif -BCCDIR = $(MAKEDIR)\.. -!endif - - - -# ------------------------------------------------------------------------- -# These are configurable options: -# ------------------------------------------------------------------------- - -# C compiler -!ifndef CC -CC = bcc32 -!endif - -# C++ compiler -!ifndef CXX -CXX = bcc32 -!endif - -# Standard flags for CC -!ifndef CFLAGS -CFLAGS = -!endif - -# Standard flags for C++ -!ifndef CXXFLAGS -CXXFLAGS = -!endif - -# Standard preprocessor flags (common for CC and CXX) -!ifndef CPPFLAGS -CPPFLAGS = -a8 -g0 -!endif - -# Standard linker flags -!ifndef LDFLAGS -LDFLAGS = -!endif - -# Set to 1 to build debug version [0,1] -!ifndef DEBUG -DEBUG = 0 -!endif - -# Set to 1 to build shared (DLL) version [0,1] -!ifndef SHARED -SHARED = 0 -!endif - -# Set to 1 to compile samples [0,1] -!ifndef SAMPLES -SAMPLES = 1 -!endif - - - -# ------------------------------------------------------------------------- -# Do not modify the rest of this file! -# ------------------------------------------------------------------------- - -### Variables: ### - -MUPARSER_LIB_CXXFLAGS = -I$(BCCDIR)\include $(____DEBUG) $(____DEBUG_5) \ - $(____DEBUG_8) $(____SHARED) $(____SHARED_0) -D_WIN32 -I..\include \ - $(CPPFLAGS) $(CXXFLAGS) -MUPARSER_LIB_OBJECTS = \ - obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParser.obj \ - obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBase.obj \ - obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBytecode.obj \ - obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserCallback.obj \ - obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserComplex.obj \ - obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserDLL.obj \ - obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserError.obj \ - obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserInt.obj \ - obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTest.obj \ - obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTokenReader.obj -MUPARSER_DLL_CXXFLAGS = -I$(BCCDIR)\include $(____DEBUG) $(____DEBUG_5) \ - $(____DEBUG_8) $(____SHARED) $(____SHARED_0) -D_WIN32 -I..\include \ - $(CPPFLAGS) $(CXXFLAGS) -MUPARSER_DLL_OBJECTS = \ - obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParser.obj \ - obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBase.obj \ - obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBytecode.obj \ - obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserCallback.obj \ - obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserComplex.obj \ - obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserDLL.obj \ - obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserError.obj \ - obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserInt.obj \ - obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTest.obj \ - obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTokenReader.obj -EXAMPLE1_CXXFLAGS = -I$(BCCDIR)\include $(____DEBUG) $(____DEBUG_5) \ - $(____DEBUG_8) -I..\include $(____SHARED_1) $(CPPFLAGS) $(CXXFLAGS) -EXAMPLE1_OBJECTS = \ - obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example1_Example1.obj -EXAMPLE2_CFLAGS = -I$(BCCDIR)\include $(____DEBUG) $(____DEBUG_5) \ - $(____DEBUG_8) -I..\include $(____SHARED_1) $(CPPFLAGS) $(CFLAGS) -EXAMPLE2_OBJECTS = \ - obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example2_example2.obj - -### Conditionally set variables: ### - -!if "$(DEBUG)" == "0" -DEBUGBUILDPOSTFIX = rel -!endif -!if "$(DEBUG)" == "1" -DEBUGBUILDPOSTFIX = dbg -!endif -!if "$(SHARED)" == "0" -SHAREDBUILDPOSTFIX = static -!endif -!if "$(SHARED)" == "1" -SHAREDBUILDPOSTFIX = shared -!endif -!if "$(DEBUG)" == "0" -DEBUG_BUILD_POSTFIX = -!endif -!if "$(DEBUG)" == "1" -DEBUG_BUILD_POSTFIX = d -!endif -!if "$(SHARED)" == "0" -__muParser_lib___depname = ..\lib\muparser$(DEBUG_BUILD_POSTFIX).lib -!endif -!if "$(SHARED)" == "1" -__muParser_dll___depname = ..\lib\muparser$(DEBUG_BUILD_POSTFIX).dll -!endif -!if "$(SAMPLES)" == "1" && "$(SHARED)" == "0" -__example1___depname = ..\samples\example1\example1.exe -!endif -!if "$(SAMPLES)" == "1" && "$(SHARED)" == "1" -__example2___depname = ..\samples\example2\example2.exe -!endif -!if "$(SHARED)" == "0" -____SHARED = -!endif -!if "$(SHARED)" == "1" -____SHARED = -DMUPARSER_DLL -!endif -!if "$(SHARED)" == "0" -____SHARED_0 = -!endif -!if "$(SHARED)" == "1" -____SHARED_0 = -DMUPARSERLIB_EXPORTS -!endif -!if "$(DEBUG)" == "0" -____DEBUG = -DNDEBUG -!endif -!if "$(DEBUG)" == "1" -____DEBUG = -!endif -!if "$(DEBUG)" == "0" -____DEBUG_5 = -O2 -!endif -!if "$(DEBUG)" == "1" -____DEBUG_5 = -Od -!endif -!if "$(SHARED)" == "0" -____SHARED_1 = -!endif -!if "$(SHARED)" == "1" -____SHARED_1 = -DUSINGDLL -!endif -!if "$(DEBUG)" == "0" -____DEBUG_8 = -v- -!endif -!if "$(DEBUG)" == "1" -____DEBUG_8 = -v -!endif - - -all: obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX) -obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX): - -if not exist obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX) mkdir obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX) - -### Targets: ### - -all: $(__muParser_lib___depname) $(__muParser_dll___depname) $(__example1___depname) $(__example2___depname) - -clean: - -if exist obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.obj del obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.obj - -if exist obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.res del obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.res - -if exist obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.csm del obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.csm - -if exist ..\lib\muparser$(DEBUG_BUILD_POSTFIX).lib del ..\lib\muparser$(DEBUG_BUILD_POSTFIX).lib - -if exist ..\lib\muparser$(DEBUG_BUILD_POSTFIX).dll del ..\lib\muparser$(DEBUG_BUILD_POSTFIX).dll - -if exist ..\lib\muparser$(DEBUG_BUILD_POSTFIX).tds del ..\lib\muparser$(DEBUG_BUILD_POSTFIX).tds - -if exist ..\lib\muparser$(DEBUG_BUILD_POSTFIX).ilc del ..\lib\muparser$(DEBUG_BUILD_POSTFIX).ilc - -if exist ..\lib\muparser$(DEBUG_BUILD_POSTFIX).ild del ..\lib\muparser$(DEBUG_BUILD_POSTFIX).ild - -if exist ..\lib\muparser$(DEBUG_BUILD_POSTFIX).ilf del ..\lib\muparser$(DEBUG_BUILD_POSTFIX).ilf - -if exist ..\lib\muparser$(DEBUG_BUILD_POSTFIX).ils del ..\lib\muparser$(DEBUG_BUILD_POSTFIX).ils - -if exist ..\lib\muparser$(DEBUG_BUILD_POSTFIX).lib del ..\lib\muparser$(DEBUG_BUILD_POSTFIX).lib - -if exist ..\samples\example1\example1.exe del ..\samples\example1\example1.exe - -if exist ..\samples\example1\example1.tds del ..\samples\example1\example1.tds - -if exist ..\samples\example1\example1.ilc del ..\samples\example1\example1.ilc - -if exist ..\samples\example1\example1.ild del ..\samples\example1\example1.ild - -if exist ..\samples\example1\example1.ilf del ..\samples\example1\example1.ilf - -if exist ..\samples\example1\example1.ils del ..\samples\example1\example1.ils - -if exist ..\samples\example2\example2.exe del ..\samples\example2\example2.exe - -if exist ..\samples\example2\example2.tds del ..\samples\example2\example2.tds - -if exist ..\samples\example2\example2.ilc del ..\samples\example2\example2.ilc - -if exist ..\samples\example2\example2.ild del ..\samples\example2\example2.ild - -if exist ..\samples\example2\example2.ilf del ..\samples\example2\example2.ilf - -if exist ..\samples\example2\example2.ils del ..\samples\example2\example2.ils - -!if "$(SHARED)" == "0" -..\lib\muparser$(DEBUG_BUILD_POSTFIX).lib: $(MUPARSER_LIB_OBJECTS) - if exist $@ del $@ - tlib /a /p4096 $@ @&&| - $(MUPARSER_LIB_OBJECTS) -| -!endif - -!if "$(SHARED)" == "1" -..\lib\muparser$(DEBUG_BUILD_POSTFIX).dll: $(MUPARSER_DLL_OBJECTS) - ilink32 -Tpd -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(____DEBUG_8) $(LDFLAGS) @&&| - c0d32.obj $(MUPARSER_DLL_OBJECTS),$@,, import32.lib cw32.lib,, -| - implib -f ..\lib\muparser$(DEBUG_BUILD_POSTFIX) $@ -!endif - -!if "$(SAMPLES)" == "1" && "$(SHARED)" == "0" -..\samples\example1\example1.exe: $(EXAMPLE1_OBJECTS) $(__muParser_lib___depname) - ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(____DEBUG_8) -L..\lib $(LDFLAGS) @&&| - c0x32.obj $(EXAMPLE1_OBJECTS),$@,, ..\lib\muparser$(DEBUG_BUILD_POSTFIX).lib import32.lib cw32.lib,, -| -!endif - -!if "$(SAMPLES)" == "1" && "$(SHARED)" == "1" -..\samples\example2\example2.exe: $(EXAMPLE2_OBJECTS) $(__muParser_lib___depname) - ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(____DEBUG_8) -L..\lib $(LDFLAGS) @&&| - c0x32.obj $(EXAMPLE2_OBJECTS),$@,, ..\lib\muparser$(DEBUG_BUILD_POSTFIX).lib import32.lib cw32.lib,, -| -!endif - -lib: $(__muParser_lib___depname) $(__muParser_dll___depname) - -samples: $(__example1___depname) $(__example2___depname) - -documentation: - ( cd ..\docs && doxygen ) - -obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParser.obj: ..\src\muParser.cpp - $(CXX) -q -c -P -o$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParser.cpp - -obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBase.obj: ..\src\muParserBase.cpp - $(CXX) -q -c -P -o$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserBase.cpp - -obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBytecode.obj: ..\src\muParserBytecode.cpp - $(CXX) -q -c -P -o$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserBytecode.cpp - -obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserCallback.obj: ..\src\muParserCallback.cpp - $(CXX) -q -c -P -o$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserCallback.cpp - -obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserComplex.obj: ..\src\muParserComplex.cpp - $(CXX) -q -c -P -o$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserComplex.cpp - -obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserDLL.obj: ..\src\muParserDLL.cpp - $(CXX) -q -c -P -o$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserDLL.cpp - -obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserError.obj: ..\src\muParserError.cpp - $(CXX) -q -c -P -o$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserError.cpp - -obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserInt.obj: ..\src\muParserInt.cpp - $(CXX) -q -c -P -o$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserInt.cpp - -obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTest.obj: ..\src\muParserTest.cpp - $(CXX) -q -c -P -o$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserTest.cpp - -obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTokenReader.obj: ..\src\muParserTokenReader.cpp - $(CXX) -q -c -P -o$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserTokenReader.cpp - -obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParser.obj: ..\src\muParser.cpp - $(CXX) -q -c -P -o$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParser.cpp - -obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBase.obj: ..\src\muParserBase.cpp - $(CXX) -q -c -P -o$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserBase.cpp - -obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBytecode.obj: ..\src\muParserBytecode.cpp - $(CXX) -q -c -P -o$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserBytecode.cpp - -obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserCallback.obj: ..\src\muParserCallback.cpp - $(CXX) -q -c -P -o$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserCallback.cpp - -obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserComplex.obj: ..\src\muParserComplex.cpp - $(CXX) -q -c -P -o$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserComplex.cpp - -obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserDLL.obj: ..\src\muParserDLL.cpp - $(CXX) -q -c -P -o$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserDLL.cpp - -obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserError.obj: ..\src\muParserError.cpp - $(CXX) -q -c -P -o$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserError.cpp - -obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserInt.obj: ..\src\muParserInt.cpp - $(CXX) -q -c -P -o$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserInt.cpp - -obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTest.obj: ..\src\muParserTest.cpp - $(CXX) -q -c -P -o$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserTest.cpp - -obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTokenReader.obj: ..\src\muParserTokenReader.cpp - $(CXX) -q -c -P -o$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserTokenReader.cpp - -obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example1_Example1.obj: ..\samples\example1\Example1.cpp - $(CXX) -q -c -P -o$@ $(EXAMPLE1_CXXFLAGS) ..\samples\example1\Example1.cpp - -obj\bcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example2_example2.obj: ..\samples\example2\example2.c - $(CC) -q -c -P- -o$@ $(EXAMPLE2_CFLAGS) ..\samples\example2\example2.c - diff --git a/AMDiS/lib/muparser_v134/build/makefile.mingw b/AMDiS/lib/muparser_v134/build/makefile.mingw deleted file mode 100644 index 8eb17716dfd3e14ad2f73616276c1d563ff6d24b..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/makefile.mingw +++ /dev/null @@ -1,291 +0,0 @@ -# ========================================================================= -# This makefile was generated by -# Bakefile 0.2.8 (http://www.bakefile.org) -# Do not modify, all changes will be overwritten! -# ========================================================================= - - - -# ------------------------------------------------------------------------- -# These are configurable options: -# ------------------------------------------------------------------------- - -# Compiler flags to link shared library -LINK_DLL_FLAGS ?= -shared - -# C compiler -CC = gcc - -# C++ compiler -CXX = g++ - -# Standard flags for CC -CFLAGS ?= - -# Standard flags for C++ -CXXFLAGS ?= - -# Standard preprocessor flags (common for CC and CXX) -CPPFLAGS ?= - -# Standard linker flags -LDFLAGS ?= - -# Set to 1 to build debug version [0,1] -DEBUG ?= 0 - -# Set to 1 to build shared (DLL) version [0,1] -SHARED ?= 0 - -# Set to 1 to compile samples [0,1] -SAMPLES ?= 1 - - - -# ------------------------------------------------------------------------- -# Do not modify the rest of this file! -# ------------------------------------------------------------------------- - -### Variables: ### - -CPPDEPS = -MT$@ -MF$@.d -MD -MP -MUPARSER_LIB_CXXFLAGS = $(____DEBUG) $(____DEBUG_3) $(____DEBUG_9) \ - $(____DEBUG_8) $(____SHARED) $(____SHARED_0) -D_WIN32 -I..\include \ - $(CPPFLAGS) $(CXXFLAGS) -MUPARSER_LIB_OBJECTS = \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParser.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBase.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBytecode.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserCallback.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserComplex.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserDLL.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserError.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserInt.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTest.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTokenReader.o -MUPARSER_DLL_CXXFLAGS = $(____DEBUG) $(____DEBUG_3) $(____DEBUG_9) \ - $(____DEBUG_8) $(____SHARED) $(____SHARED_0) -D_WIN32 -I..\include \ - $(CPPFLAGS) $(CXXFLAGS) -MUPARSER_DLL_OBJECTS = \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParser.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBase.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBytecode.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserCallback.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserComplex.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserDLL.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserError.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserInt.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTest.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTokenReader.o -EXAMPLE1_CXXFLAGS = $(____DEBUG) $(____DEBUG_3) $(____DEBUG_9) $(____DEBUG_8) \ - -I..\include $(____SHARED_1) $(CPPFLAGS) $(CXXFLAGS) -EXAMPLE1_OBJECTS = \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example1_Example1.o -EXAMPLE2_CFLAGS = $(____DEBUG) $(____DEBUG_3) $(____DEBUG_9) $(____DEBUG_8) \ - -I..\include $(____SHARED_1) $(CPPFLAGS) $(CFLAGS) -EXAMPLE2_OBJECTS = \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example2_example2.o - -### Conditionally set variables: ### - -ifeq ($(DEBUG),0) -DEBUGBUILDPOSTFIX = rel -endif -ifeq ($(DEBUG),1) -DEBUGBUILDPOSTFIX = dbg -endif -ifeq ($(SHARED),0) -SHAREDBUILDPOSTFIX = static -endif -ifeq ($(SHARED),1) -SHAREDBUILDPOSTFIX = shared -endif -ifeq ($(DEBUG),0) -DEBUG_BUILD_POSTFIX = -endif -ifeq ($(DEBUG),1) -DEBUG_BUILD_POSTFIX = d -endif -ifeq ($(SHARED),0) -__muParser_lib___depname = ..\lib\libmuparser$(DEBUG_BUILD_POSTFIX).a -endif -ifeq ($(SHARED),1) -__muParser_dll___depname = ..\lib\muparser$(DEBUG_BUILD_POSTFIX).dll -endif -ifeq ($(SAMPLES),1) -ifeq ($(SHARED),0) -__example1___depname = ..\samples\example1\example1.exe -endif -endif -ifeq ($(SAMPLES),1) -ifeq ($(SHARED),1) -__example2___depname = ..\samples\example2\example2.exe -endif -endif -ifeq ($(SHARED),0) -____SHARED = -endif -ifeq ($(SHARED),1) -____SHARED = -DMUPARSER_DLL -endif -ifeq ($(SHARED),0) -____SHARED_0 = -endif -ifeq ($(SHARED),1) -____SHARED_0 = -DMUPARSERLIB_EXPORTS -endif -ifeq ($(DEBUG),0) -____DEBUG = -DNDEBUG -endif -ifeq ($(DEBUG),1) -____DEBUG = -endif -ifeq ($(DEBUG),0) -____DEBUG_3 = -O2 -endif -ifeq ($(DEBUG),1) -____DEBUG_3 = -O0 -endif -ifeq ($(DEBUG),0) -____DEBUG_8 = -endif -ifeq ($(DEBUG),1) -____DEBUG_8 = -W -Wall -endif -ifeq ($(SHARED),0) -____SHARED_1 = -endif -ifeq ($(SHARED),1) -____SHARED_1 = -DUSINGDLL -endif -ifeq ($(DEBUG),0) -____DEBUG_9 = -endif -ifeq ($(DEBUG),1) -____DEBUG_9 = -g -endif - - -all: obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX) -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX): - -if not exist obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX) mkdir obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX) - -### Targets: ### - -all: $(__muParser_lib___depname) $(__muParser_dll___depname) $(__example1___depname) $(__example2___depname) - -clean: - -if exist obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.o del obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.o - -if exist obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.d del obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.d - -if exist ..\lib\libmuparser$(DEBUG_BUILD_POSTFIX).a del ..\lib\libmuparser$(DEBUG_BUILD_POSTFIX).a - -if exist ..\lib\muparser$(DEBUG_BUILD_POSTFIX).dll del ..\lib\muparser$(DEBUG_BUILD_POSTFIX).dll - -if exist ..\lib\libmuparser$(DEBUG_BUILD_POSTFIX).a del ..\lib\libmuparser$(DEBUG_BUILD_POSTFIX).a - -if exist ..\samples\example1\example1.exe del ..\samples\example1\example1.exe - -if exist ..\samples\example2\example2.exe del ..\samples\example2\example2.exe - -ifeq ($(SHARED),0) -..\lib\libmuparser$(DEBUG_BUILD_POSTFIX).a: $(MUPARSER_LIB_OBJECTS) - if exist $@ del $@ - ar rcu $@ $(MUPARSER_LIB_OBJECTS) - ranlib $@ -endif - -ifeq ($(SHARED),1) -..\lib\muparser$(DEBUG_BUILD_POSTFIX).dll: $(MUPARSER_DLL_OBJECTS) - $(CXX) $(LINK_DLL_FLAGS) -fPIC -o $@ $(MUPARSER_DLL_OBJECTS) $(____DEBUG_9) -Wl,--out-implib=..\lib\libmuparser$(DEBUG_BUILD_POSTFIX).a $(LDFLAGS) -endif - -ifeq ($(SAMPLES),1) -ifeq ($(SHARED),0) -..\samples\example1\example1.exe: $(EXAMPLE1_OBJECTS) $(__muParser_lib___depname) - $(CXX) -o $@ $(EXAMPLE1_OBJECTS) $(____DEBUG_9) -L..\lib $(LDFLAGS) ..\lib\libmuparser$(DEBUG_BUILD_POSTFIX).a -endif -endif - -ifeq ($(SAMPLES),1) -ifeq ($(SHARED),1) -..\samples\example2\example2.exe: $(EXAMPLE2_OBJECTS) $(__muParser_lib___depname) - $(CC) -o $@ $(EXAMPLE2_OBJECTS) $(____DEBUG_9) -L..\lib $(LDFLAGS) ..\lib\libmuparser$(DEBUG_BUILD_POSTFIX).a -endif -endif - -lib: $(__muParser_lib___depname) $(__muParser_dll___depname) - -samples: $(__example1___depname) $(__example2___depname) - -documentation: - ( cd ..\docs && doxygen ) - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParser.o: ../src/muParser.cpp - $(CXX) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBase.o: ../src/muParserBase.cpp - $(CXX) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBytecode.o: ../src/muParserBytecode.cpp - $(CXX) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserCallback.o: ../src/muParserCallback.cpp - $(CXX) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserComplex.o: ../src/muParserComplex.cpp - $(CXX) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserDLL.o: ../src/muParserDLL.cpp - $(CXX) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserError.o: ../src/muParserError.cpp - $(CXX) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserInt.o: ../src/muParserInt.cpp - $(CXX) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTest.o: ../src/muParserTest.cpp - $(CXX) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTokenReader.o: ../src/muParserTokenReader.cpp - $(CXX) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParser.o: ../src/muParser.cpp - $(CXX) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBase.o: ../src/muParserBase.cpp - $(CXX) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBytecode.o: ../src/muParserBytecode.cpp - $(CXX) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserCallback.o: ../src/muParserCallback.cpp - $(CXX) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserComplex.o: ../src/muParserComplex.cpp - $(CXX) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserDLL.o: ../src/muParserDLL.cpp - $(CXX) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserError.o: ../src/muParserError.cpp - $(CXX) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserInt.o: ../src/muParserInt.cpp - $(CXX) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTest.o: ../src/muParserTest.cpp - $(CXX) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTokenReader.o: ../src/muParserTokenReader.cpp - $(CXX) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example1_Example1.o: ../samples/example1/Example1.cpp - $(CXX) -c -o $@ $(EXAMPLE1_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example2_example2.o: ../samples/example2/example2.c - $(CC) -c -o $@ $(EXAMPLE2_CFLAGS) $(CPPDEPS) $< - -.PHONY: all clean lib samples - - -SHELL := $(COMSPEC) - -# Dependencies tracking: --include obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)/*.d diff --git a/AMDiS/lib/muparser_v134/build/makefile.vc b/AMDiS/lib/muparser_v134/build/makefile.vc deleted file mode 100644 index 4dc58e32040a89dd5b662bdf29e030fb0ab1aba7..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/makefile.vc +++ /dev/null @@ -1,330 +0,0 @@ -# ========================================================================= -# This makefile was generated by -# Bakefile 0.2.8 (http://www.bakefile.org) -# Do not modify, all changes will be overwritten! -# ========================================================================= - - - -# ------------------------------------------------------------------------- -# These are configurable options: -# ------------------------------------------------------------------------- - -# C compiler -CC = cl - -# C++ compiler -CXX = cl - -# Standard flags for CC -CFLAGS = - -# Standard flags for C++ -CXXFLAGS = - -# Standard preprocessor flags (common for CC and CXX) -CPPFLAGS = - -# Standard linker flags -LDFLAGS = - -# Set to 1 to build debug version [0,1] -# 0 - Release -# 1 - Debug -DEBUG = 0 - -# Set to 1 to build shared (DLL) version [0,1] -# 0 - Static -# 1 - DLL -SHARED = 0 - -# Set to 1 to compile samples [0,1] -SAMPLES = 1 - - - -# ------------------------------------------------------------------------- -# Do not modify the rest of this file! -# ------------------------------------------------------------------------- - -### Variables: ### - -MUPARSER_LIB_CXXFLAGS = /MD$(DEBUG_3) /DWIN32 $(____DEBUG_8) $(____DEBUG) \ - $(____DEBUG_9) /Fd..\lib\muparser$(DEBUG_3).pdb $(____DEBUG_6) \ - $(______DEBUG) $(____SHARED) $(____SHARED_0) /D_WIN32 /I..\include /GR /EHsc \ - $(CPPFLAGS) $(CXXFLAGS) -MUPARSER_LIB_OBJECTS = \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParser.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBase.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBytecode.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserCallback.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserComplex.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserDLL.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserError.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserInt.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTest.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTokenReader.obj -MUPARSER_DLL_CXXFLAGS = /MD$(DEBUG_3) /DWIN32 $(____DEBUG_8) $(____DEBUG) \ - $(____DEBUG_9) /Fd..\lib\muparser$(DEBUG_3).pdb $(____DEBUG_6) \ - $(______DEBUG) $(____SHARED) $(____SHARED_0) /D_WIN32 /I..\include /GR /EHsc \ - $(CPPFLAGS) $(CXXFLAGS) -MUPARSER_DLL_OBJECTS = \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParser.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBase.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBytecode.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserCallback.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserComplex.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserDLL.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserError.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserInt.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTest.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTokenReader.obj -EXAMPLE1_CXXFLAGS = /MD$(DEBUG_3) /DWIN32 $(____DEBUG_8) $(____DEBUG) \ - $(____DEBUG_9) /Fd..\samples\example1\example1.pdb $(____DEBUG_6) \ - $(______DEBUG) /I..\include $(____SHARED_1) /GR /EHsc $(CPPFLAGS) $(CXXFLAGS) -EXAMPLE1_OBJECTS = \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example1_Example1.obj -EXAMPLE2_CFLAGS = /MD$(DEBUG_3) /DWIN32 $(____DEBUG_8) $(____DEBUG) \ - $(____DEBUG_9) /Fd..\samples\example2\example2.pdb $(____DEBUG_6) \ - $(______DEBUG) /I..\include $(____SHARED_1) $(CPPFLAGS) $(CFLAGS) -EXAMPLE2_OBJECTS = \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example2_example2.obj - -### Conditionally set variables: ### - -!if "$(DEBUG)" == "0" -DEBUGBUILDPOSTFIX = rel -!endif -!if "$(DEBUG)" == "1" -DEBUGBUILDPOSTFIX = dbg -!endif -!if "$(SHARED)" == "0" -SHAREDBUILDPOSTFIX = static -!endif -!if "$(SHARED)" == "1" -SHAREDBUILDPOSTFIX = shared -!endif -!if "$(SHARED)" == "0" -__muParser_lib___depname = ..\lib\muparser$(DEBUG_3).lib -!endif -!if "$(SHARED)" == "1" -__muParser_dll___depname = ..\lib\muparser$(DEBUG_3).dll -!endif -!if "$(DEBUG)" == "0" -____DEBUG_23_26 = -!endif -!if "$(DEBUG)" == "1" -____DEBUG_23_26 = $(____DEBUG_10) -!endif -!if "$(SAMPLES)" == "1" && "$(SHARED)" == "0" -__example1___depname = ..\samples\example1\example1.exe -!endif -!if "$(DEBUG)" == "0" -____DEBUG_40_43 = -!endif -!if "$(DEBUG)" == "1" -____DEBUG_40_43 = $(____DEBUG_10) -!endif -!if "$(SAMPLES)" == "1" && "$(SHARED)" == "1" -__example2___depname = ..\samples\example2\example2.exe -!endif -!if "$(DEBUG)" == "0" -____DEBUG_56_59 = -!endif -!if "$(DEBUG)" == "1" -____DEBUG_56_59 = $(____DEBUG_10) -!endif -!if "$(SHARED)" == "0" -____SHARED = -!endif -!if "$(SHARED)" == "1" -____SHARED = /DMUPARSER_DLL -!endif -!if "$(SHARED)" == "0" -____SHARED_0 = -!endif -!if "$(SHARED)" == "1" -____SHARED_0 = /DMUPARSERLIB_EXPORTS -!endif -!if "$(DEBUG)" == "0" -____DEBUG_8 = /DNDEBUG -!endif -!if "$(DEBUG)" == "1" -____DEBUG_8 = -!endif -!if "$(DEBUG)" == "0" -____DEBUG = /O2 -!endif -!if "$(DEBUG)" == "1" -____DEBUG = /Od -!endif -!if "$(DEBUG)" == "0" -____DEBUG_9 = -!endif -!if "$(DEBUG)" == "1" -____DEBUG_9 = /Zi -!endif -!if "$(DEBUG)" == "0" -____DEBUG_5 = -!endif -!if "$(DEBUG)" == "1" -____DEBUG_5 = /DEBUG -!endif -!if "$(DEBUG)" == "0" -____DEBUG_6 = /w -!endif -!if "$(DEBUG)" == "1" -____DEBUG_6 = /W4 -!endif -!if "$(DEBUG)" == "0" -______DEBUG = -!endif -!if "$(DEBUG)" == "1" -______DEBUG = /D_DEBUG -!endif -!if "$(DEBUG)" == "0" -DEBUG_3 = -!endif -!if "$(DEBUG)" == "1" -DEBUG_3 = d -!endif -!if "$(DEBUG)" == "0" -____DEBUG_10 = /opt:ref /opt:icf -!endif -!if "$(DEBUG)" == "1" -____DEBUG_10 = -!endif -!if "$(SHARED)" == "0" -____SHARED_1 = -!endif -!if "$(SHARED)" == "1" -____SHARED_1 = /DUSINGDLL -!endif - - -all: obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX) -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX): - -if not exist obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX) mkdir obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX) - -### Targets: ### - -all: $(__muParser_lib___depname) $(__muParser_dll___depname) $(__example1___depname) $(__example2___depname) - -clean: - -if exist obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.obj del obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.obj - -if exist obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.res del obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.res - -if exist obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.pch del obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.pch - -if exist ..\lib\muparser$(DEBUG_3).lib del ..\lib\muparser$(DEBUG_3).lib - -if exist ..\lib\muparser$(DEBUG_3).dll del ..\lib\muparser$(DEBUG_3).dll - -if exist ..\lib\muparser$(DEBUG_3).ilk del ..\lib\muparser$(DEBUG_3).ilk - -if exist ..\lib\muparser$(DEBUG_3).pdb del ..\lib\muparser$(DEBUG_3).pdb - -if exist ..\lib\muparser$(DEBUG_3).lib del ..\lib\muparser$(DEBUG_3).lib - -if exist ..\samples\example1\example1.exe del ..\samples\example1\example1.exe - -if exist ..\samples\example1\example1.ilk del ..\samples\example1\example1.ilk - -if exist ..\samples\example1\example1.pdb del ..\samples\example1\example1.pdb - -if exist ..\samples\example2\example2.exe del ..\samples\example2\example2.exe - -if exist ..\samples\example2\example2.ilk del ..\samples\example2\example2.ilk - -if exist ..\samples\example2\example2.pdb del ..\samples\example2\example2.pdb - -!if "$(SHARED)" == "0" -..\lib\muparser$(DEBUG_3).lib: $(MUPARSER_LIB_OBJECTS) - if exist $@ del $@ - link /LIB /NOLOGO /OUT:$@ @<< - $(MUPARSER_LIB_OBJECTS) -<< -!endif - -!if "$(SHARED)" == "1" -..\lib\muparser$(DEBUG_3).dll: $(MUPARSER_DLL_OBJECTS) - link /DLL /NOLOGO /OUT:$@ $(____DEBUG_5) /pdb:"..\lib\muparser$(DEBUG_3).pdb" $(____DEBUG_23_26) $(LDFLAGS) @<< - $(MUPARSER_DLL_OBJECTS) /IMPLIB:..\lib\muparser$(DEBUG_3).lib -<< -!endif - -!if "$(SAMPLES)" == "1" && "$(SHARED)" == "0" -..\samples\example1\example1.exe: $(EXAMPLE1_OBJECTS) $(__muParser_lib___depname) - link /NOLOGO /OUT:$@ $(____DEBUG_5) /pdb:"..\samples\example1\example1.pdb" $(____DEBUG_40_43) /LIBPATH:..\lib $(LDFLAGS) @<< - $(EXAMPLE1_OBJECTS) ..\lib\muparser$(DEBUG_3).lib -<< -!endif - -!if "$(SAMPLES)" == "1" && "$(SHARED)" == "1" -..\samples\example2\example2.exe: $(EXAMPLE2_OBJECTS) $(__muParser_lib___depname) - link /NOLOGO /OUT:$@ $(____DEBUG_5) /pdb:"..\samples\example2\example2.pdb" $(____DEBUG_56_59) /LIBPATH:..\lib $(LDFLAGS) @<< - $(EXAMPLE2_OBJECTS) ..\lib\muparser$(DEBUG_3).lib -<< -!endif - -lib: $(__muParser_lib___depname) $(__muParser_dll___depname) - -samples: $(__example1___depname) $(__example2___depname) - -documentation: - ( cd ..\docs && doxygen ) - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParser.obj: ..\src\muParser.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParser.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBase.obj: ..\src\muParserBase.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserBase.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBytecode.obj: ..\src\muParserBytecode.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserBytecode.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserCallback.obj: ..\src\muParserCallback.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserCallback.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserComplex.obj: ..\src\muParserComplex.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserComplex.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserDLL.obj: ..\src\muParserDLL.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserDLL.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserError.obj: ..\src\muParserError.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserError.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserInt.obj: ..\src\muParserInt.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserInt.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTest.obj: ..\src\muParserTest.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserTest.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTokenReader.obj: ..\src\muParserTokenReader.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserTokenReader.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParser.obj: ..\src\muParser.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParser.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBase.obj: ..\src\muParserBase.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserBase.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBytecode.obj: ..\src\muParserBytecode.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserBytecode.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserCallback.obj: ..\src\muParserCallback.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserCallback.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserComplex.obj: ..\src\muParserComplex.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserComplex.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserDLL.obj: ..\src\muParserDLL.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserDLL.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserError.obj: ..\src\muParserError.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserError.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserInt.obj: ..\src\muParserInt.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserInt.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTest.obj: ..\src\muParserTest.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserTest.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTokenReader.obj: ..\src\muParserTokenReader.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserTokenReader.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example1_Example1.obj: ..\samples\example1\Example1.cpp - $(CXX) /c /nologo /TP /Fo$@ $(EXAMPLE1_CXXFLAGS) ..\samples\example1\Example1.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example2_example2.obj: ..\samples\example2\example2.c - $(CC) /c /nologo /TC /Fo$@ $(EXAMPLE2_CFLAGS) ..\samples\example2\example2.c - diff --git a/AMDiS/lib/muparser_v134/build/makefile.wat b/AMDiS/lib/muparser_v134/build/makefile.wat deleted file mode 100644 index a247aba803818d5370648727cde1e80f5cfce25a..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/makefile.wat +++ /dev/null @@ -1,355 +0,0 @@ -# ========================================================================= -# This makefile was generated by -# Bakefile 0.2.8 (http://www.bakefile.org) -# Do not modify, all changes will be overwritten! -# ========================================================================= - - - -# ------------------------------------------------------------------------- -# These are configurable options: -# ------------------------------------------------------------------------- - -# C compiler -CC = wcc386 - -# C++ compiler -CXX = wpp386 - -# Standard flags for CC -CFLAGS = - -# Standard flags for C++ -CXXFLAGS = - -# Standard preprocessor flags (common for CC and CXX) -CPPFLAGS = - -# Standard linker flags -LDFLAGS = - -# Set to 1 to build debug version [0,1] -# 0 - Release -# 1 - Debug -DEBUG = 0 - -# Set to 1 to build shared (DLL) version [0,1] -# 0 - Static -# 1 - DLL -SHARED = 0 - -# Set to 1 to compile samples [0,1] -SAMPLES = 1 - - - -# ------------------------------------------------------------------------- -# Do not modify the rest of this file! -# ------------------------------------------------------------------------- - -# Speed up compilation a bit: -!ifdef __LOADDLL__ -! loaddll wcc wccd -! loaddll wccaxp wccdaxp -! loaddll wcc386 wccd386 -! loaddll wpp wppdi86 -! loaddll wppaxp wppdaxp -! loaddll wpp386 wppd386 -! if $(__VERSION__) >= 1280 -! loaddll wlink wlinkd -! else -! loaddll wlink wlink -! endif -! loaddll wlib wlibd -!endif - -# We need these variables in some bakefile-made rules: -WATCOM_CWD = $+ $(%cdrive):$(%cwd) $- - -### Conditionally set variables: ### - -DEBUGBUILDPOSTFIX = -!ifeq DEBUG 0 -DEBUGBUILDPOSTFIX = rel -!endif -!ifeq DEBUG 1 -DEBUGBUILDPOSTFIX = dbg -!endif -SHAREDBUILDPOSTFIX = -!ifeq SHARED 0 -SHAREDBUILDPOSTFIX = static -!endif -!ifeq SHARED 1 -SHAREDBUILDPOSTFIX = shared -!endif -DEBUG_BUILD_POSTFIX = -!ifeq DEBUG 0 -DEBUG_BUILD_POSTFIX = -!endif -!ifeq DEBUG 1 -DEBUG_BUILD_POSTFIX = d -!endif -__muParser_lib___depname = -!ifeq SHARED 0 -__muParser_lib___depname = ..\lib\muparser$(DEBUG_BUILD_POSTFIX).lib -!endif -__muParser_dll___depname = -!ifeq SHARED 1 -__muParser_dll___depname = ..\lib\muparser$(DEBUG_BUILD_POSTFIX).dll -!endif -__example1___depname = -!ifeq SAMPLES 1 -!ifeq SHARED 0 -__example1___depname = ..\samples\example1\example1.exe -!endif -!endif -__example2___depname = -!ifeq SAMPLES 1 -!ifeq SHARED 1 -__example2___depname = ..\samples\example2\example2.exe -!endif -!endif -____SHARED = -!ifeq SHARED 0 -____SHARED = -!endif -!ifeq SHARED 1 -____SHARED = -dMUPARSER_DLL -!endif -____SHARED_0 = -!ifeq SHARED 0 -____SHARED_0 = -!endif -!ifeq SHARED 1 -____SHARED_0 = -dMUPARSERLIB_EXPORTS -!endif -____DEBUG = -!ifeq DEBUG 0 -____DEBUG = -dNDEBUG -!endif -!ifeq DEBUG 1 -____DEBUG = -!endif -____DEBUG_3 = -!ifeq DEBUG 0 -____DEBUG_3 = -ot -ox -!endif -!ifeq DEBUG 1 -____DEBUG_3 = -od -!endif -____DEBUG_6 = -!ifeq DEBUG 0 -____DEBUG_6 = -d0 -!endif -!ifeq DEBUG 1 -____DEBUG_6 = -d2 -!endif -____DEBUG_7 = -!ifeq DEBUG 0 -____DEBUG_7 = -!endif -!ifeq DEBUG 1 -____DEBUG_7 = debug all -!endif -____DEBUG_8 = -!ifeq DEBUG 0 -____DEBUG_8 = -!endif -!ifeq DEBUG 1 -____DEBUG_8 = -wx -!endif -____SHARED_1 = -!ifeq SHARED 0 -____SHARED_1 = -!endif -!ifeq SHARED 1 -____SHARED_1 = -dUSINGDLL -!endif - -### Variables: ### - -MUPARSER_LIB_CXXFLAGS = $(____DEBUG) $(____DEBUG_3) $(____DEBUG_6) & - $(____DEBUG_8) $(____SHARED) $(____SHARED_0) -d_WIN32 -i=..\include & - $(CPPFLAGS) $(CXXFLAGS) -MUPARSER_LIB_OBJECTS = & - obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParser.obj & - obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBase.obj & - obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBytecode.obj & - obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserCallback.obj & - obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserComplex.obj & - obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserDLL.obj & - obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserError.obj & - obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserInt.obj & - obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTest.obj & - obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTokenReader.obj -MUPARSER_DLL_CXXFLAGS = -bd $(____DEBUG) $(____DEBUG_3) $(____DEBUG_6) & - $(____DEBUG_8) $(____SHARED) $(____SHARED_0) -d_WIN32 -i=..\include & - $(CPPFLAGS) $(CXXFLAGS) -MUPARSER_DLL_OBJECTS = & - obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParser.obj & - obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBase.obj & - obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBytecode.obj & - obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserCallback.obj & - obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserComplex.obj & - obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserDLL.obj & - obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserError.obj & - obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserInt.obj & - obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTest.obj & - obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTokenReader.obj -EXAMPLE1_CXXFLAGS = $(____DEBUG) $(____DEBUG_3) $(____DEBUG_6) $(____DEBUG_8) & - -i=..\include $(____SHARED_1) $(CPPFLAGS) $(CXXFLAGS) -EXAMPLE1_OBJECTS = & - obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example1_Example1.obj -EXAMPLE2_CFLAGS = $(____DEBUG) $(____DEBUG_3) $(____DEBUG_6) $(____DEBUG_8) & - -i=..\include $(____SHARED_1) $(CPPFLAGS) $(CFLAGS) -EXAMPLE2_OBJECTS = & - obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example2_example2.obj - - -all : obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX) -obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX) : - -if not exist obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX) mkdir obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX) - -### Targets: ### - -all : .SYMBOLIC $(__muParser_lib___depname) $(__muParser_dll___depname) $(__example1___depname) $(__example2___depname) - -clean : .SYMBOLIC - -if exist obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.obj del obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.obj - -if exist obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.res del obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.res - -if exist obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.lbc del obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.lbc - -if exist obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.ilk del obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.ilk - -if exist obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.pch del obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.pch - -if exist ..\lib\muparser$(DEBUG_BUILD_POSTFIX).lib del ..\lib\muparser$(DEBUG_BUILD_POSTFIX).lib - -if exist ..\lib\muparser$(DEBUG_BUILD_POSTFIX).dll del ..\lib\muparser$(DEBUG_BUILD_POSTFIX).dll - -if exist ..\lib\muparser$(DEBUG_BUILD_POSTFIX).lib del ..\lib\muparser$(DEBUG_BUILD_POSTFIX).lib - -if exist ..\samples\example1\example1.exe del ..\samples\example1\example1.exe - -if exist ..\samples\example2\example2.exe del ..\samples\example2\example2.exe - -!ifeq SHARED 0 -..\lib\muparser$(DEBUG_BUILD_POSTFIX).lib : $(MUPARSER_LIB_OBJECTS) - @%create obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib.lbc - @for %i in ($(MUPARSER_LIB_OBJECTS)) do @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib.lbc +%i - wlib -q -p4096 -n -b $^@ @obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib.lbc -!endif - -!ifeq SHARED 1 -..\lib\muparser$(DEBUG_BUILD_POSTFIX).dll : $(MUPARSER_DLL_OBJECTS) - @%create obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll.lbc - @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll.lbc option quiet - @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll.lbc name $^@ - @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll.lbc option caseexact - @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll.lbc $(____DEBUG_7) $(LDFLAGS) - @for %i in ($(MUPARSER_DLL_OBJECTS)) do @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll.lbc file %i - @for %i in () do @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll.lbc library %i - @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll.lbc - @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll.lbc system nt_dll - wlink @obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll.lbc - wlib -q -n -b ..\lib\muparser$(DEBUG_BUILD_POSTFIX).lib +$^@ -!endif - -!ifeq SAMPLES 1 -!ifeq SHARED 0 -..\samples\example1\example1.exe : $(EXAMPLE1_OBJECTS) $(__muParser_lib___depname) - @%create obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example1.lbc - @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example1.lbc option quiet - @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example1.lbc name $^@ - @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example1.lbc option caseexact - @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example1.lbc $(____DEBUG_7) libpath ..\lib $(LDFLAGS) - @for %i in ($(EXAMPLE1_OBJECTS)) do @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example1.lbc file %i - @for %i in ( ..\lib\muparser$(DEBUG_BUILD_POSTFIX).lib) do @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example1.lbc library %i - @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example1.lbc - @for %i in () do @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example1.lbc option stack=%i - wlink @obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example1.lbc -!endif -!endif - -!ifeq SAMPLES 1 -!ifeq SHARED 1 -..\samples\example2\example2.exe : $(EXAMPLE2_OBJECTS) $(__muParser_lib___depname) - @%create obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example2.lbc - @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example2.lbc option quiet - @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example2.lbc name $^@ - @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example2.lbc option caseexact - @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example2.lbc $(____DEBUG_7) libpath ..\lib $(LDFLAGS) - @for %i in ($(EXAMPLE2_OBJECTS)) do @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example2.lbc file %i - @for %i in ( ..\lib\muparser$(DEBUG_BUILD_POSTFIX).lib) do @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example2.lbc library %i - @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example2.lbc - @for %i in () do @%append obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example2.lbc option stack=%i - wlink @obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example2.lbc -!endif -!endif - -lib : .SYMBOLIC $(__muParser_lib___depname) $(__muParser_dll___depname) - -samples : .SYMBOLIC $(__example1___depname) $(__example2___depname) - -documentation : - ( cd ..\docs && doxygen ) - -obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParser.obj : .AUTODEPEND ..\src\muParser.cpp - $(CXX) -bt=nt -zq -fo=$^@ $(MUPARSER_LIB_CXXFLAGS) $< - -obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBase.obj : .AUTODEPEND ..\src\muParserBase.cpp - $(CXX) -bt=nt -zq -fo=$^@ $(MUPARSER_LIB_CXXFLAGS) $< - -obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBytecode.obj : .AUTODEPEND ..\src\muParserBytecode.cpp - $(CXX) -bt=nt -zq -fo=$^@ $(MUPARSER_LIB_CXXFLAGS) $< - -obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserCallback.obj : .AUTODEPEND ..\src\muParserCallback.cpp - $(CXX) -bt=nt -zq -fo=$^@ $(MUPARSER_LIB_CXXFLAGS) $< - -obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserComplex.obj : .AUTODEPEND ..\src\muParserComplex.cpp - $(CXX) -bt=nt -zq -fo=$^@ $(MUPARSER_LIB_CXXFLAGS) $< - -obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserDLL.obj : .AUTODEPEND ..\src\muParserDLL.cpp - $(CXX) -bt=nt -zq -fo=$^@ $(MUPARSER_LIB_CXXFLAGS) $< - -obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserError.obj : .AUTODEPEND ..\src\muParserError.cpp - $(CXX) -bt=nt -zq -fo=$^@ $(MUPARSER_LIB_CXXFLAGS) $< - -obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserInt.obj : .AUTODEPEND ..\src\muParserInt.cpp - $(CXX) -bt=nt -zq -fo=$^@ $(MUPARSER_LIB_CXXFLAGS) $< - -obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTest.obj : .AUTODEPEND ..\src\muParserTest.cpp - $(CXX) -bt=nt -zq -fo=$^@ $(MUPARSER_LIB_CXXFLAGS) $< - -obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTokenReader.obj : .AUTODEPEND ..\src\muParserTokenReader.cpp - $(CXX) -bt=nt -zq -fo=$^@ $(MUPARSER_LIB_CXXFLAGS) $< - -obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParser.obj : .AUTODEPEND ..\src\muParser.cpp - $(CXX) -bt=nt -zq -fo=$^@ $(MUPARSER_DLL_CXXFLAGS) $< - -obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBase.obj : .AUTODEPEND ..\src\muParserBase.cpp - $(CXX) -bt=nt -zq -fo=$^@ $(MUPARSER_DLL_CXXFLAGS) $< - -obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBytecode.obj : .AUTODEPEND ..\src\muParserBytecode.cpp - $(CXX) -bt=nt -zq -fo=$^@ $(MUPARSER_DLL_CXXFLAGS) $< - -obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserCallback.obj : .AUTODEPEND ..\src\muParserCallback.cpp - $(CXX) -bt=nt -zq -fo=$^@ $(MUPARSER_DLL_CXXFLAGS) $< - -obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserComplex.obj : .AUTODEPEND ..\src\muParserComplex.cpp - $(CXX) -bt=nt -zq -fo=$^@ $(MUPARSER_DLL_CXXFLAGS) $< - -obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserDLL.obj : .AUTODEPEND ..\src\muParserDLL.cpp - $(CXX) -bt=nt -zq -fo=$^@ $(MUPARSER_DLL_CXXFLAGS) $< - -obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserError.obj : .AUTODEPEND ..\src\muParserError.cpp - $(CXX) -bt=nt -zq -fo=$^@ $(MUPARSER_DLL_CXXFLAGS) $< - -obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserInt.obj : .AUTODEPEND ..\src\muParserInt.cpp - $(CXX) -bt=nt -zq -fo=$^@ $(MUPARSER_DLL_CXXFLAGS) $< - -obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTest.obj : .AUTODEPEND ..\src\muParserTest.cpp - $(CXX) -bt=nt -zq -fo=$^@ $(MUPARSER_DLL_CXXFLAGS) $< - -obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTokenReader.obj : .AUTODEPEND ..\src\muParserTokenReader.cpp - $(CXX) -bt=nt -zq -fo=$^@ $(MUPARSER_DLL_CXXFLAGS) $< - -obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example1_Example1.obj : .AUTODEPEND ..\samples\example1\Example1.cpp - $(CXX) -bt=nt -zq -fo=$^@ $(EXAMPLE1_CXXFLAGS) $< - -obj\wat_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example2_example2.obj : .AUTODEPEND ..\samples\example2\example2.c - $(CC) -bt=nt -zq -fo=$^@ $(EXAMPLE2_CFLAGS) $< - diff --git a/AMDiS/lib/muparser_v134/build/msvc2003/muparser.sln b/AMDiS/lib/muparser_v134/build/msvc2003/muparser.sln deleted file mode 100644 index a2ae21fab1beed657b0a19d1aa6fa9b45ef675e8..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/msvc2003/muparser.sln +++ /dev/null @@ -1,47 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 8.00 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "muParser", "muparser_muParser.vcproj", "{2A1F639A-7642-57CC-BF97-3EC5B5C89D91}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "example1", "muparser_example1.vcproj", "{A1DCD664-8803-54E2-B35F-84D96B9CA6DF}" - ProjectSection(ProjectDependencies) = postProject - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91} = {2A1F639A-7642-57CC-BF97-3EC5B5C89D91} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "example2", "muparser_example2.vcproj", "{B405983E-B929-5BCF-8CC8-03CF34796A23}" - ProjectSection(ProjectDependencies) = postProject - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91} = {2A1F639A-7642-57CC-BF97-3EC5B5C89D91} - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Release Static|Win32 = Release Static|Win32 - Release DLL|Win32 = Release DLL|Win32 - Debug Static|Win32 = Debug Static|Win32 - Debug DLL|Win32 = Debug DLL|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Release Static|Win32.ActiveCfg = Release Static|Win32 - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Release Static|Win32.Build.0 = Release Static|Win32 - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Release DLL|Win32.ActiveCfg = Release DLL|Win32 - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Release DLL|Win32.Build.0 = Release DLL|Win32 - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Debug Static|Win32.ActiveCfg = Debug Static|Win32 - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Debug Static|Win32.Build.0 = Debug Static|Win32 - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Debug DLL|Win32.ActiveCfg = Debug DLL|Win32 - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Debug DLL|Win32.Build.0 = Debug DLL|Win32 - {A1DCD664-8803-54E2-B35F-84D96B9CA6DF}.Release Static|Win32.ActiveCfg = Release Static|Win32 - {A1DCD664-8803-54E2-B35F-84D96B9CA6DF}.Release Static|Win32.Build.0 = Release Static|Win32 - {A1DCD664-8803-54E2-B35F-84D96B9CA6DF}.Release DLL|Win32.ActiveCfg = Release DLL|Win32 - {A1DCD664-8803-54E2-B35F-84D96B9CA6DF}.Debug Static|Win32.ActiveCfg = Debug Static|Win32 - {A1DCD664-8803-54E2-B35F-84D96B9CA6DF}.Debug Static|Win32.Build.0 = Debug Static|Win32 - {A1DCD664-8803-54E2-B35F-84D96B9CA6DF}.Debug DLL|Win32.ActiveCfg = Debug DLL|Win32 - {B405983E-B929-5BCF-8CC8-03CF34796A23}.Release Static|Win32.ActiveCfg = Release Static|Win32 - {B405983E-B929-5BCF-8CC8-03CF34796A23}.Release DLL|Win32.ActiveCfg = Release DLL|Win32 - {B405983E-B929-5BCF-8CC8-03CF34796A23}.Release DLL|Win32.Build.0 = Release DLL|Win32 - {B405983E-B929-5BCF-8CC8-03CF34796A23}.Debug Static|Win32.ActiveCfg = Debug Static|Win32 - {B405983E-B929-5BCF-8CC8-03CF34796A23}.Debug DLL|Win32.ActiveCfg = Debug DLL|Win32 - {B405983E-B929-5BCF-8CC8-03CF34796A23}.Debug DLL|Win32.Build.0 = Debug DLL|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal - diff --git a/AMDiS/lib/muparser_v134/build/msvc2003/muparser_example1.vcproj b/AMDiS/lib/muparser_v134/build/msvc2003/muparser_example1.vcproj deleted file mode 100644 index 12191745495b4426844e24c65d3f74835e9b05d5..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/msvc2003/muparser_example1.vcproj +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/AMDiS/lib/muparser_v134/build/msvc2003/muparser_example2.vcproj b/AMDiS/lib/muparser_v134/build/msvc2003/muparser_example2.vcproj deleted file mode 100644 index ebd50cfb6a467201c446fb6671d542d792c62c3a..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/msvc2003/muparser_example2.vcproj +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/AMDiS/lib/muparser_v134/build/msvc2003/muparser_muParser.vcproj b/AMDiS/lib/muparser_v134/build/msvc2003/muparser_muParser.vcproj deleted file mode 100644 index cae53e8660c26d617296966373fb8ae79e381cf3..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/msvc2003/muparser_muParser.vcproj +++ /dev/null @@ -1,344 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/AMDiS/lib/muparser_v134/build/msvc2005/muparser.sln b/AMDiS/lib/muparser_v134/build/msvc2005/muparser.sln deleted file mode 100644 index 2e1bc7d275f7205e5c3ccf752c0297b1d7ae14bf..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/msvc2005/muparser.sln +++ /dev/null @@ -1,48 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "muParser", "muparser_muParser.vcproj", "{2A1F639A-7642-57CC-BF97-3EC5B5C89D91}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "example1", "muparser_example1.vcproj", "{A1DCD664-8803-54E2-B35F-84D96B9CA6DF}" - ProjectSection(ProjectDependencies) = postProject - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91} = {2A1F639A-7642-57CC-BF97-3EC5B5C89D91} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "example2", "muparser_example2.vcproj", "{B405983E-B929-5BCF-8CC8-03CF34796A23}" - ProjectSection(ProjectDependencies) = postProject - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91} = {2A1F639A-7642-57CC-BF97-3EC5B5C89D91} - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Release Static|Win32 = Release Static|Win32 - Release DLL|Win32 = Release DLL|Win32 - Debug Static|Win32 = Debug Static|Win32 - Debug DLL|Win32 = Debug DLL|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Release Static|Win32.ActiveCfg = Release Static|Win32 - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Release Static|Win32.Build.0 = Release Static|Win32 - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Release DLL|Win32.ActiveCfg = Release DLL|Win32 - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Release DLL|Win32.Build.0 = Release DLL|Win32 - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Debug Static|Win32.ActiveCfg = Debug Static|Win32 - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Debug Static|Win32.Build.0 = Debug Static|Win32 - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Debug DLL|Win32.ActiveCfg = Debug DLL|Win32 - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Debug DLL|Win32.Build.0 = Debug DLL|Win32 - {A1DCD664-8803-54E2-B35F-84D96B9CA6DF}.Release Static|Win32.ActiveCfg = Release Static|Win32 - {A1DCD664-8803-54E2-B35F-84D96B9CA6DF}.Release Static|Win32.Build.0 = Release Static|Win32 - {A1DCD664-8803-54E2-B35F-84D96B9CA6DF}.Release DLL|Win32.ActiveCfg = Release DLL|Win32 - {A1DCD664-8803-54E2-B35F-84D96B9CA6DF}.Debug Static|Win32.ActiveCfg = Debug Static|Win32 - {A1DCD664-8803-54E2-B35F-84D96B9CA6DF}.Debug Static|Win32.Build.0 = Debug Static|Win32 - {A1DCD664-8803-54E2-B35F-84D96B9CA6DF}.Debug DLL|Win32.ActiveCfg = Debug DLL|Win32 - {B405983E-B929-5BCF-8CC8-03CF34796A23}.Release Static|Win32.ActiveCfg = Release Static|Win32 - {B405983E-B929-5BCF-8CC8-03CF34796A23}.Release DLL|Win32.ActiveCfg = Release DLL|Win32 - {B405983E-B929-5BCF-8CC8-03CF34796A23}.Release DLL|Win32.Build.0 = Release DLL|Win32 - {B405983E-B929-5BCF-8CC8-03CF34796A23}.Debug Static|Win32.ActiveCfg = Debug Static|Win32 - {B405983E-B929-5BCF-8CC8-03CF34796A23}.Debug DLL|Win32.ActiveCfg = Debug DLL|Win32 - {B405983E-B929-5BCF-8CC8-03CF34796A23}.Debug DLL|Win32.Build.0 = Debug DLL|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal - diff --git a/AMDiS/lib/muparser_v134/build/msvc2005/muparser_example1.vcproj b/AMDiS/lib/muparser_v134/build/msvc2005/muparser_example1.vcproj deleted file mode 100644 index a853fc8239aaf9f6990fbd06ffe9b721376c4777..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/msvc2005/muparser_example1.vcproj +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/AMDiS/lib/muparser_v134/build/msvc2005/muparser_example2.vcproj b/AMDiS/lib/muparser_v134/build/msvc2005/muparser_example2.vcproj deleted file mode 100644 index 1003c9f863ee54052de5770e51b4910c4e6df016..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/msvc2005/muparser_example2.vcproj +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/AMDiS/lib/muparser_v134/build/msvc2005/muparser_muParser.vcproj b/AMDiS/lib/muparser_v134/build/msvc2005/muparser_muParser.vcproj deleted file mode 100644 index d7f3c753048078787065b382d71cb89b8da84d17..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/msvc2005/muparser_muParser.vcproj +++ /dev/null @@ -1,477 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/AMDiS/lib/muparser_v134/build/msvc2008/muparser.sln b/AMDiS/lib/muparser_v134/build/msvc2008/muparser.sln deleted file mode 100644 index 039129090eeb3e1b72a9b0472c40942ce1e5a462..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/msvc2008/muparser.sln +++ /dev/null @@ -1,48 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "muParser", "muparser_muParser.vcproj", "{2A1F639A-7642-57CC-BF97-3EC5B5C89D91}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "example1", "muparser_example1.vcproj", "{A1DCD664-8803-54E2-B35F-84D96B9CA6DF}" - ProjectSection(ProjectDependencies) = postProject - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91} = {2A1F639A-7642-57CC-BF97-3EC5B5C89D91} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "example2", "muparser_example2.vcproj", "{B405983E-B929-5BCF-8CC8-03CF34796A23}" - ProjectSection(ProjectDependencies) = postProject - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91} = {2A1F639A-7642-57CC-BF97-3EC5B5C89D91} - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Release Static|Win32 = Release Static|Win32 - Release DLL|Win32 = Release DLL|Win32 - Debug Static|Win32 = Debug Static|Win32 - Debug DLL|Win32 = Debug DLL|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Release Static|Win32.ActiveCfg = Release Static|Win32 - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Release Static|Win32.Build.0 = Release Static|Win32 - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Release DLL|Win32.ActiveCfg = Release DLL|Win32 - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Release DLL|Win32.Build.0 = Release DLL|Win32 - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Debug Static|Win32.ActiveCfg = Debug Static|Win32 - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Debug Static|Win32.Build.0 = Debug Static|Win32 - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Debug DLL|Win32.ActiveCfg = Debug DLL|Win32 - {2A1F639A-7642-57CC-BF97-3EC5B5C89D91}.Debug DLL|Win32.Build.0 = Debug DLL|Win32 - {A1DCD664-8803-54E2-B35F-84D96B9CA6DF}.Release Static|Win32.ActiveCfg = Release Static|Win32 - {A1DCD664-8803-54E2-B35F-84D96B9CA6DF}.Release Static|Win32.Build.0 = Release Static|Win32 - {A1DCD664-8803-54E2-B35F-84D96B9CA6DF}.Release DLL|Win32.ActiveCfg = Release DLL|Win32 - {A1DCD664-8803-54E2-B35F-84D96B9CA6DF}.Debug Static|Win32.ActiveCfg = Debug Static|Win32 - {A1DCD664-8803-54E2-B35F-84D96B9CA6DF}.Debug Static|Win32.Build.0 = Debug Static|Win32 - {A1DCD664-8803-54E2-B35F-84D96B9CA6DF}.Debug DLL|Win32.ActiveCfg = Debug DLL|Win32 - {B405983E-B929-5BCF-8CC8-03CF34796A23}.Release Static|Win32.ActiveCfg = Release Static|Win32 - {B405983E-B929-5BCF-8CC8-03CF34796A23}.Release DLL|Win32.ActiveCfg = Release DLL|Win32 - {B405983E-B929-5BCF-8CC8-03CF34796A23}.Release DLL|Win32.Build.0 = Release DLL|Win32 - {B405983E-B929-5BCF-8CC8-03CF34796A23}.Debug Static|Win32.ActiveCfg = Debug Static|Win32 - {B405983E-B929-5BCF-8CC8-03CF34796A23}.Debug DLL|Win32.ActiveCfg = Debug DLL|Win32 - {B405983E-B929-5BCF-8CC8-03CF34796A23}.Debug DLL|Win32.Build.0 = Debug DLL|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal - diff --git a/AMDiS/lib/muparser_v134/build/msvc2008/muparser_example1.vcproj b/AMDiS/lib/muparser_v134/build/msvc2008/muparser_example1.vcproj deleted file mode 100644 index af55da1fe76734117283f1efda0e47f493cb56e9..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/msvc2008/muparser_example1.vcproj +++ /dev/null @@ -1,216 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/AMDiS/lib/muparser_v134/build/msvc2008/muparser_example2.vcproj b/AMDiS/lib/muparser_v134/build/msvc2008/muparser_example2.vcproj deleted file mode 100644 index 90a6775fbdc1ff1ebca2febdfb3e979ec1dc7247..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/msvc2008/muparser_example2.vcproj +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/AMDiS/lib/muparser_v134/build/msvc2008/muparser_muParser.vcproj b/AMDiS/lib/muparser_v134/build/msvc2008/muparser_muParser.vcproj deleted file mode 100644 index 0a6e0c0454a15466869bdd4cee87ea93d6e380ae..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/build/msvc2008/muparser_muParser.vcproj +++ /dev/null @@ -1,466 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/AMDiS/lib/muparser_v134/configure b/AMDiS/lib/muparser_v134/configure deleted file mode 100755 index f6d74e60bcbf25d114cd981d7c1b2abf9d561841..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/configure +++ /dev/null @@ -1,9059 +0,0 @@ -#! /bin/sh -# Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.64 for muParser 1.34. -# -# Report bugs to . -# -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software -# Foundation, Inc. -# -# This configure script is free software; the Free Software Foundation -# gives unlimited permission to copy, distribute and modify it. -## -------------------- ## -## 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. -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 - -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" - 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" - 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 : - # 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. - BASH_ENV=/dev/null - ENV=/dev/null - (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} -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: frm@users.sourceforge.net about your system, including -$0: any error possibly output before this message. Then -$0: install a modern shell, or manually run the script -$0: under such a 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_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 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=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 - fi - $as_echo "$as_me: error: $1" >&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; } - - # 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 -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p='mkdir -p "$as_dir"' -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -exec 7<&0 &1 - -# Name of the host. -# hostname on some systems (SVR3.2, 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='muParser' -PACKAGE_TARNAME='muparser' -PACKAGE_VERSION='1.34' -PACKAGE_STRING='muParser 1.34' -PACKAGE_BUGREPORT='frm@users.sourceforge.net' -PACKAGE_URL='' - -ac_subst_vars='LTLIBOBJS -LIBOBJS -COND_WINDOWS_IMPLIB_1 -COND_USE_SOVERSOLARIS_1 -COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1 -COND_USE_SOVERSION_0 -COND_USE_SOVERLINUX_1 -COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 -COND_USE_SOTWOSYMLINKS_1 -COND_SHARED_1 -COND_SHARED_0 -COND_SAMPLES_1 -COND_PLATFORM_OS2_1 -COND_PLATFORM_MAC_1 -COND_PLATFORM_MAC_0 -COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 -COND_PLATFORM_MACOSX_1 -COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 -COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 -COND_DEPS_TRACKING_1 -COND_DEPS_TRACKING_0 -COND_DEBUG_1 -COND_DEBUG_0 -OBJCXXFLAGS -SETFILE -REZ -WINDRES -BK_DEPS -DEPS_TRACKING -SONAME_FLAG -USE_SOTWOSYMLINKS -USE_MACVERSION -USE_SOVERCYGWIN -USE_SOVERSOLARIS -USE_SOVERLINUX -USE_SOVERSION -WINDOWS_IMPLIB -PIC_FLAG -SHARED_LD_MODULE_CXX -SHARED_LD_MODULE_CC -SHARED_LD_CXX -SHARED_LD_CC -AIX_CXX_LD -dlldir -DLLPREFIX_MODULE -DLLPREFIX -LIBEXT -LIBPREFIX -DLLIMP_SUFFIX -SO_SUFFIX_MODULE -SO_SUFFIX -PLATFORM_BEOS -PLATFORM_OS2 -PLATFORM_MACOSX -PLATFORM_MACOS -PLATFORM_MAC -PLATFORM_MSDOS -PLATFORM_WIN32 -PLATFORM_UNIX -IF_GNU_MAKE -LDFLAGS_GUI -INSTALL_DIR -NM -STRIP -AROPTIONS -AR -MAKE_SET -SET_MAKE -CXXCPP -ac_ct_CXX -CXXFLAGS -CXX -OBJEXT -EXEEXT -ac_ct_CC -CPPFLAGS -LDFLAGS -CFLAGS -CC -RANLIB -LN_S -INSTALL_DATA -INSTALL_SCRIPT -INSTALL_PROGRAM -AWK -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_debug -enable_shared -enable_samples -enable_omf -enable_dependency_tracking -' - ac_precious_vars='build_alias -host_alias -target_alias -CC -CFLAGS -LDFLAGS -LIBS -CPPFLAGS -CXX -CXXFLAGS -CCC -CXXCPP' - - -# 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=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 - $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used." >&2 - 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 muParser 1.34 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/muparser] - --htmldir=DIR html documentation [DOCDIR] - --dvidir=DIR dvi documentation [DOCDIR] - --pdfdir=DIR pdf documentation [DOCDIR] - --psdir=DIR ps documentation [DOCDIR] -_ACEOF - - cat <<\_ACEOF - -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 muParser 1.34:";; - 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] - --enable-debug Builds in debug mode - --enable-shared Builds in shared mode - --enable-samples Builds the library samples, too - --enable-omf use OMF object format (OS/2) - --disable-dependency-tracking - don't use dependency tracking even if the compiler - can - -Some influential environment variables: - CC C compiler command - CFLAGS 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 C/C++/Objective C preprocessor flags, e.g. -I if - you have headers in a nonstandard directory - CXX C++ compiler command - CXXFLAGS C++ compiler flags - CXXCPP 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 -muParser configure 1.34 -generated by GNU Autoconf 2.64 - -Copyright (C) 2009 Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. -_ACEOF - exit -fi - -## ------------------------ ## -## Autoconf initialization. ## -## ------------------------ ## - -# 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; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - return $ac_retval - -} # ac_fn_c_try_compile - -# 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; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - return $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; } >/dev/null && { - 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; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - return $ac_retval - -} # ac_fn_cxx_try_cpp -cat >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 muParser $as_me 1.34, which was -generated by GNU Autoconf 2.64. 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 - - cat <<\_ASBOX -## ---------------- ## -## Cache variables. ## -## ---------------- ## -_ASBOX - 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 - - cat <<\_ASBOX -## ----------------- ## -## Output variables. ## -## ----------------- ## -_ASBOX - 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 - cat <<\_ASBOX -## ------------------- ## -## File substitutions. ## -## ------------------- ## -_ASBOX - 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 - cat <<\_ASBOX -## ----------- ## -## confdefs.h. ## -## ----------- ## -_ASBOX - 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 - ac_site_file1=$CONFIG_SITE -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 -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" - 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. - if 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 build/autoconf "$srcdir"/build/autoconf; do - for ac_t in install-sh install.sh shtool; do - if test -f "$ac_dir/$ac_t"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/$ac_t -c" - break 2 - fi - done -done -if test -z "$ac_aux_dir"; then - as_fn_error "cannot find install-sh, install.sh, or shtool in build/autoconf \"$srcdir\"/build/autoconf" "$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. - - -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 - - -# some helpers - - - - - - - - - - - - - - - - - - - - - -## CONFIGURE CHECKS -##################################################################### - -# 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 test "${ac_cv_build+set}" = set; 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 test "${ac_cv_host+set}" = set; 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 test "${ac_cv_target+set}" = set; 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}- - - -CFLAGS= -CXXFLAGS= -CPPFLAGS= - -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 test "${ac_cv_prog_AWK+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 - -# 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 test "${ac_cv_path_install+set}" = set; 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 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$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 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 - -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 test "${ac_cv_prog_RANLIB+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 - -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 test "${ac_cv_prog_CC+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 test "${ac_cv_prog_ac_ct_CC+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 test "${ac_cv_prog_CC+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 test "${ac_cv_prog_CC+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 test "${ac_cv_prog_CC+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 test "${ac_cv_prog_ac_ct_CC+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 - rm -f conftest.er1 conftest.err - fi - $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. */ -#include -int -main () -{ -FILE *f = fopen ("conftest.out", "w"); - return ferror (f) || fclose (f) != 0; - - ; - 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 conftest.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 for C compiler default output file name" >&5 -$as_echo_n "checking for C compiler default output file name... " >&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 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } -if test -z "$ac_file"; then : - $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_set_status 77 -as_fn_error "C compiler cannot create executables -See \`config.log' for more details." "$LINENO" 5; }; } -fi -ac_exeext=$ac_cv_exeext - -# 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 the C compiler works" >&5 -$as_echo_n "checking whether the C compiler works... " >&6; } -# If not cross compiling, check that we can run a simple program. -if test "$cross_compiling" != yes; then - if { ac_try='./$ac_file' - { { 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: yes" >&5 -$as_echo "yes" >&6; } - -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out -ac_clean_files=$ac_clean_files_save -# 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; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -$as_echo "$cross_compiling" >&6; } - -{ $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$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 -{ $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 test "${ac_cv_objext+set}" = set; 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 test "${ac_cv_c_compiler_gnu+set}" = set; 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 test "${ac_cv_prog_cc_g+set}" = set; 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 test "${ac_cv_prog_cc_c89+set}" = set; 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 -#include -#include -/* 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 - -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 test "${ac_cv_prog_CXX+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 test "${ac_cv_prog_ac_ct_CXX+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 - rm -f conftest.er1 conftest.err - fi - $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 test "${ac_cv_cxx_compiler_gnu+set}" = set; 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 test "${ac_cv_prog_cxx_g+set}" = set; 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 - -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 test "${ac_cv_prog_CXXCPP+set}" = set; 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.$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.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f 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.$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.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f 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=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 - - - - - default="no" - if [ -z "$default" ]; then - default="no" - fi - - # Check whether --enable-debug was given. -if test "${enable_debug+set}" = set; then : - enableval=$enable_debug; -else - enableval="$default" -fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-debug option" >&5 -$as_echo_n "checking for the --enable-debug option... " >&6; } - if [ "x$enableval" = "xyes" ]; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - DEBUG=1 - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - DEBUG=0 - fi - - - if [ "x$DEBUG" = "x1" ]; then - - CXXFLAGS="$CXXFLAGS -g -O0 -Wall -Wundef -Wno-ctor-dtor-privacy" - CFLAGS="$CFLAGS -g -O0 -Wall -Wundef" - else - CXXFLAGS="$CXXFLAGS -O2" - CFLAGS="$CFLAGS -O2" - fi - - - default="yes" - if [ -z "$default" ]; then - default="no" - fi - - # Check whether --enable-shared was given. -if test "${enable_shared+set}" = set; then : - enableval=$enable_shared; -else - enableval="$default" -fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-shared option" >&5 -$as_echo_n "checking for the --enable-shared option... " >&6; } - if [ "x$enableval" = "xyes" ]; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - SHARED=1 - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - SHARED=0 - fi - - - -# Check whether --enable-samples was given. -if test "${enable_samples+set}" = set; then : - enableval=$enable_samples; -else - enableval="yes" -fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-samples option" >&5 -$as_echo_n "checking for the --enable-samples option... " >&6; } - if [ "x$enableval" = "xyes" ]; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - SAMPLES=1 - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - SAMPLES=0 - fi - - -as_dir=lib; as_fn_mkdir_p -as_dir=samples/example1; as_fn_mkdir_p - - - - - 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 test "${ac_cv_prog_CC+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 test "${ac_cv_prog_ac_ct_CC+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 test "${ac_cv_prog_CC+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 test "${ac_cv_prog_CC+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 test "${ac_cv_prog_CC+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 test "${ac_cv_prog_ac_ct_CC+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 - rm -f conftest.er1 conftest.err - fi - $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 test "${ac_cv_c_compiler_gnu+set}" = set; 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 test "${ac_cv_prog_cc_g+set}" = set; 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 test "${ac_cv_prog_cc_c89+set}" = set; 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 -#include -#include -/* 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 - - - - - 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 whether we are using the Intel C compiler" >&5 -$as_echo_n "checking whether we are using the Intel C compiler... " >&6; } -if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - #ifndef __INTEL_COMPILER - choke me - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - bakefile_cv_c_compiler___INTEL_COMPILER=yes -else - bakefile_cv_c_compiler___INTEL_COMPILER=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5 -$as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; } - if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then - :; INTELCC=yes - else - :; - 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 - - - - - if test "$INTELCC" = "yes"; then - - - 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 whether we are using Intel C compiler v8 or later" >&5 -$as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; } -if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800 - choke me - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes -else - bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5 -$as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; } - if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then - :; INTELCC8=yes - else - :; - 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 - - - - - - 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 whether we are using Intel C compiler v10 or later" >&5 -$as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; } -if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000 - choke me - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes -else - bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5 -$as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; } - if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then - :; INTELCC10=yes - else - :; - 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 - - - - fi - - if test "x$GCC" != "xyes"; then - if test "xCC" = "xC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C++ compiler requires -ext o" >&5 -$as_echo_n "checking if the C++ compiler requires -ext o... " >&6; } -if test "${bakefile_cv_cxx_exto+set}" = set; 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.$ac_objext conftest.$ac_ext.o -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 : - for ac_file in `(ls conftest.* 2>/dev/null)`; do - case $ac_file in - conftest.$ac_ext.o) - bakefile_cv_cxx_exto="-ext o" - ;; - *) - ;; - 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 figure out if compiler needs -ext o: cannot compile -See \`config.log' for more details." "$LINENO" 5; } - -fi -rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_exto" >&5 -$as_echo "$bakefile_cv_cxx_exto" >&6; } -if test "x$bakefile_cv_cxx_exto" '!=' "x"; then - if test "cxx" = "c"; then - CFLAGS="$bakefile_cv_cxx_exto $CFLAGS" - fi - if test "cxx" = "cxx"; then - CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS" - fi -fi - - if test "x$bakefile_cv_c_exto" '!=' "x"; then - unset ac_cv_prog_cc_g - 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 test "${ac_cv_prog_cc_g+set}" = set; 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_cxx_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_cxx_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_cxx_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 - fi - fi - - case `uname -s` in - AIX*) - - - 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 whether we are using the IBM xlC C compiler" >&5 -$as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; } -if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - #ifndef __xlC__ - choke me - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - bakefile_cv_c_compiler___xlC__=yes -else - bakefile_cv_c_compiler___xlC__=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5 -$as_echo "$bakefile_cv_c_compiler___xlC__" >&6; } - if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then - :; XLCC=yes - else - :; - 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 - - - - ;; - - Darwin) - - - 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 whether we are using the Metrowerks C compiler" >&5 -$as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; } -if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - #ifndef __MWERKS__ - choke me - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - bakefile_cv_c_compiler___MWERKS__=yes -else - bakefile_cv_c_compiler___MWERKS__=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5 -$as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; } - if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then - :; MWCC=yes - else - :; - 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 - - - - if test "$MWCC" != "yes"; then - - - 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 whether we are using the IBM xlC C compiler" >&5 -$as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; } -if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - #ifndef __xlC__ - choke me - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - bakefile_cv_c_compiler___xlC__=yes -else - bakefile_cv_c_compiler___xlC__=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5 -$as_echo "$bakefile_cv_c_compiler___xlC__" >&6; } - if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then - :; XLCC=yes - else - :; - 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 - - - - fi - ;; - - IRIX*) - - - 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 whether we are using the SGI C compiler" >&5 -$as_echo_n "checking whether we are using the SGI C compiler... " >&6; } -if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - #ifndef _SGI_COMPILER_VERSION - choke me - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes -else - bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5 -$as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; } - if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then - :; SGICC=yes - else - :; - 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 - - - - ;; - - Linux*) - if test "$INTELCC" != "yes"; then - - - 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 whether we are using the Sun C compiler" >&5 -$as_echo_n "checking whether we are using the Sun C compiler... " >&6; } -if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - #ifndef __SUNPRO_C - choke me - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - bakefile_cv_c_compiler___SUNPRO_C=yes -else - bakefile_cv_c_compiler___SUNPRO_C=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5 -$as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; } - if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then - :; SUNCC=yes - else - :; - 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 - - - - fi - ;; - - HP-UX*) - - - 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 whether we are using the HP C compiler" >&5 -$as_echo_n "checking whether we are using the HP C compiler... " >&6; } -if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - #ifndef __HP_cc - choke me - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - bakefile_cv_c_compiler___HP_cc=yes -else - bakefile_cv_c_compiler___HP_cc=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5 -$as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; } - if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then - :; HPCC=yes - else - :; - 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 - - - - ;; - - OSF1) - - - 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 whether we are using the Compaq C compiler" >&5 -$as_echo_n "checking whether we are using the Compaq C compiler... " >&6; } -if test "${bakefile_cv_c_compiler___DECC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - #ifndef __DECC - choke me - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - bakefile_cv_c_compiler___DECC=yes -else - bakefile_cv_c_compiler___DECC=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5 -$as_echo "$bakefile_cv_c_compiler___DECC" >&6; } - if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then - :; COMPAQCC=yes - else - :; - 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 - - - - ;; - - SunOS) - - - 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 whether we are using the Sun C compiler" >&5 -$as_echo_n "checking whether we are using the Sun C compiler... " >&6; } -if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - #ifndef __SUNPRO_C - choke me - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - bakefile_cv_c_compiler___SUNPRO_C=yes -else - bakefile_cv_c_compiler___SUNPRO_C=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5 -$as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; } - if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then - :; SUNCC=yes - else - :; - 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 - - - - ;; - esac - 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 -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 test "${ac_cv_prog_CXX+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 test "${ac_cv_prog_ac_ct_CXX+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 - rm -f conftest.er1 conftest.err - fi - $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 test "${ac_cv_cxx_compiler_gnu+set}" = set; 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 test "${ac_cv_prog_cxx_g+set}" = set; 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 - - - - - 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 whether we are using the Intel C++ compiler" >&5 -$as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; } -if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - #ifndef __INTEL_COMPILER - choke me - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - bakefile_cv_cxx_compiler___INTEL_COMPILER=yes -else - bakefile_cv_cxx_compiler___INTEL_COMPILER=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5 -$as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; } - if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then - :; INTELCXX=yes - else - :; - 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 - - - - - if test "$INTELCXX" = "yes"; 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 whether we are using Intel C++ compiler v8 or later" >&5 -$as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; } -if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800 - choke me - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes -else - bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5 -$as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; } - if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then - :; INTELCXX8=yes - else - :; - 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 - - - - - - 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 whether we are using Intel C++ compiler v10 or later" >&5 -$as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; } -if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000 - choke me - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes -else - bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5 -$as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; } - if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then - :; INTELCXX10=yes - else - :; - 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 - - - - fi - - if test "x$GCXX" != "xyes"; then - if test "xCXX" = "xC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C++ compiler requires -ext o" >&5 -$as_echo_n "checking if the C++ compiler requires -ext o... " >&6; } -if test "${bakefile_cv_cxx_exto+set}" = set; 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.$ac_objext conftest.$ac_ext.o -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 : - for ac_file in `(ls conftest.* 2>/dev/null)`; do - case $ac_file in - conftest.$ac_ext.o) - bakefile_cv_cxx_exto="-ext o" - ;; - *) - ;; - 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 figure out if compiler needs -ext o: cannot compile -See \`config.log' for more details." "$LINENO" 5; } - -fi -rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_exto" >&5 -$as_echo "$bakefile_cv_cxx_exto" >&6; } -if test "x$bakefile_cv_cxx_exto" '!=' "x"; then - if test "cxx" = "c"; then - CFLAGS="$bakefile_cv_cxx_exto $CFLAGS" - fi - if test "cxx" = "cxx"; then - CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS" - fi -fi - - if test "x$bakefile_cv_c_exto" '!=' "x"; then - unset ac_cv_prog_cc_g - 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 test "${ac_cv_prog_cc_g+set}" = set; 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_cxx_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_cxx_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_cxx_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 - fi - fi - - case `uname -s` in - AIX*) - - - 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 whether we are using the IBM xlC C++ compiler" >&5 -$as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; } -if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - #ifndef __xlC__ - choke me - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - bakefile_cv_cxx_compiler___xlC__=yes -else - bakefile_cv_cxx_compiler___xlC__=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5 -$as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; } - if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then - :; XLCXX=yes - else - :; - 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 - - - - ;; - - Darwin) - - - 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 whether we are using the Metrowerks C++ compiler" >&5 -$as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; } -if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - #ifndef __MWERKS__ - choke me - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - bakefile_cv_cxx_compiler___MWERKS__=yes -else - bakefile_cv_cxx_compiler___MWERKS__=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5 -$as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; } - if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then - :; MWCXX=yes - else - :; - 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 - - - - if test "$MWCXX" != "yes"; 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 whether we are using the IBM xlC C++ compiler" >&5 -$as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; } -if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - #ifndef __xlC__ - choke me - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - bakefile_cv_cxx_compiler___xlC__=yes -else - bakefile_cv_cxx_compiler___xlC__=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5 -$as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; } - if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then - :; XLCXX=yes - else - :; - 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 - - - - fi - ;; - - IRIX*) - - - 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 whether we are using the SGI C++ compiler" >&5 -$as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; } -if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - #ifndef _SGI_COMPILER_VERSION - choke me - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes -else - bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5 -$as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; } - if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then - :; SGICXX=yes - else - :; - 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 - - - - ;; - - Linux*) - if test "$INTELCXX" != "yes"; 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 whether we are using the Sun C++ compiler" >&5 -$as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; } -if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - #ifndef __SUNPRO_CC - choke me - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - bakefile_cv_cxx_compiler___SUNPRO_CC=yes -else - bakefile_cv_cxx_compiler___SUNPRO_CC=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5 -$as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; } - if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then - :; SUNCXX=yes - else - :; - 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 - - - - fi - ;; - - HP-UX*) - - - 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 whether we are using the HP C++ compiler" >&5 -$as_echo_n "checking whether we are using the HP C++ compiler... " >&6; } -if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - #ifndef __HP_aCC - choke me - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - bakefile_cv_cxx_compiler___HP_aCC=yes -else - bakefile_cv_cxx_compiler___HP_aCC=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5 -$as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; } - if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then - :; HPCXX=yes - else - :; - 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 - - - - ;; - - OSF1) - - - 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 whether we are using the Compaq C++ compiler" >&5 -$as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; } -if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - #ifndef __DECCXX - choke me - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - bakefile_cv_cxx_compiler___DECCXX=yes -else - bakefile_cv_cxx_compiler___DECCXX=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5 -$as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; } - if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then - :; COMPAQCXX=yes - else - :; - 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 - - - - ;; - - SunOS) - - - 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 whether we are using the Sun C++ compiler" >&5 -$as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; } -if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - #ifndef __SUNPRO_CC - choke me - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - bakefile_cv_cxx_compiler___SUNPRO_CC=yes -else - bakefile_cv_cxx_compiler___SUNPRO_CC=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5 -$as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; } - if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then - :; SUNCXX=yes - else - :; - 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 - - - - ;; - esac - fi - - - - - - - - - if test "x$BAKEFILE_HOST" = "x"; then - if test "x${host}" = "x" ; then - as_fn_error "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5 - fi - - BAKEFILE_HOST="${host}" - fi - - if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then - - 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 test "${ac_cv_prog_RANLIB+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 - - - { $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 - - - { $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 { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; 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 - - - - if test "x$SUNCXX" = "xyes"; then - AR=$CXX - AROPTIONS="-xar -o" - - elif test "x$SGICC" = "xyes"; then - AR=$CXX - AROPTIONS="-ar -o" - - else - 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 test "${ac_cv_prog_AR+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 test "${ac_cv_prog_ac_ct_AR+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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="ar" - 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 - - AROPTIONS=rcu - fi - - - 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 test "${ac_cv_prog_STRIP+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 test "${ac_cv_prog_ac_ct_STRIP+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args. -set dummy ${ac_tool_prefix}nm; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_NM+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$NM"; then - ac_cv_prog_NM="$NM" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_NM="${ac_tool_prefix}nm" - $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 -NM=$ac_cv_prog_NM -if test -n "$NM"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 -$as_echo "$NM" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_NM"; then - ac_ct_NM=$NM - # Extract the first word of "nm", so it can be a program name with args. -set dummy nm; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_NM+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_NM"; then - ac_cv_prog_ac_ct_NM="$ac_ct_NM" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_NM="nm" - $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_NM=$ac_cv_prog_ac_ct_NM -if test -n "$ac_ct_NM"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5 -$as_echo "$ac_ct_NM" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_NM" = x; then - NM=":" - 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 - NM=$ac_ct_NM - fi -else - NM="$ac_cv_prog_NM" -fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for command to install directories" >&5 -$as_echo_n "checking for command to install directories... " >&6; } - INSTALL_TEST_DIR=acbftest$$ - $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1 - if test $? = 0 -a -d $INSTALL_TEST_DIR; then - rmdir $INSTALL_TEST_DIR - INSTALL_DIR='$(INSTALL) -d' - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL -d" >&5 -$as_echo "$INSTALL -d" >&6; } - else - INSTALL_DIR="mkdir -p" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: mkdir -p" >&5 -$as_echo "mkdir -p" >&6; } - fi - - - LDFLAGS_GUI= - case ${BAKEFILE_HOST} in - *-*-cygwin* | *-*-mingw32* ) - LDFLAGS_GUI="-mwindows" - esac - - - fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5 -$as_echo_n "checking if make is GNU make... " >&6; } -if test "${bakefile_cv_prog_makeisgnu+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null | - egrep -s GNU > /dev/null); then - bakefile_cv_prog_makeisgnu="yes" - else - bakefile_cv_prog_makeisgnu="no" - fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5 -$as_echo "$bakefile_cv_prog_makeisgnu" >&6; } - - if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then - IF_GNU_MAKE="" - else - IF_GNU_MAKE="#" - fi - - - - PLATFORM_UNIX=0 - PLATFORM_WIN32=0 - PLATFORM_MSDOS=0 - PLATFORM_MAC=0 - PLATFORM_MACOS=0 - PLATFORM_MACOSX=0 - PLATFORM_OS2=0 - PLATFORM_BEOS=0 - - if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then - case "${BAKEFILE_HOST}" in - *-*-mingw32* ) - PLATFORM_WIN32=1 - ;; - *-pc-msdosdjgpp ) - PLATFORM_MSDOS=1 - ;; - *-pc-os2_emx | *-pc-os2-emx ) - PLATFORM_OS2=1 - ;; - *-*-darwin* ) - PLATFORM_MAC=1 - PLATFORM_MACOSX=1 - ;; - *-*-beos* ) - PLATFORM_BEOS=1 - ;; - powerpc-apple-macos* ) - PLATFORM_MAC=1 - PLATFORM_MACOS=1 - ;; - * ) - PLATFORM_UNIX=1 - ;; - esac - else - case "$BAKEFILE_FORCE_PLATFORM" in - win32 ) - PLATFORM_WIN32=1 - ;; - msdos ) - PLATFORM_MSDOS=1 - ;; - os2 ) - PLATFORM_OS2=1 - ;; - darwin ) - PLATFORM_MAC=1 - PLATFORM_MACOSX=1 - ;; - unix ) - PLATFORM_UNIX=1 - ;; - beos ) - PLATFORM_BEOS=1 - ;; - * ) - as_fn_error "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5 - ;; - esac - fi - - - - - - - - - - - - # Check whether --enable-omf was given. -if test "${enable_omf+set}" = set; then : - enableval=$enable_omf; bk_os2_use_omf="$enableval" -fi - - - case "${BAKEFILE_HOST}" in - *-*-darwin* ) - if test "x$GCC" = "xyes"; then - CFLAGS="$CFLAGS -fno-common" - CXXFLAGS="$CXXFLAGS -fno-common" - fi - if test "x$XLCC" = "xyes"; then - CFLAGS="$CFLAGS -qnocommon" - CXXFLAGS="$CXXFLAGS -qnocommon" - fi - ;; - - *-pc-os2_emx | *-pc-os2-emx ) - if test "x$bk_os2_use_omf" = "xyes" ; then - AR=emxomfar - RANLIB=: - LDFLAGS="-Zomf $LDFLAGS" - CFLAGS="-Zomf $CFLAGS" - CXXFLAGS="-Zomf $CXXFLAGS" - OS2_LIBEXT="lib" - else - OS2_LIBEXT="a" - fi - ;; - - i*86-*-beos* ) - LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS" - ;; - esac - - - SO_SUFFIX="so" - SO_SUFFIX_MODULE="so" - EXEEXT="" - LIBPREFIX="lib" - LIBEXT=".a" - DLLPREFIX="lib" - DLLPREFIX_MODULE="" - DLLIMP_SUFFIX="" - dlldir="$libdir" - - case "${BAKEFILE_HOST}" in - ia64-hp-hpux* ) - ;; - *-hp-hpux* ) - SO_SUFFIX="sl" - SO_SUFFIX_MODULE="sl" - ;; - *-*-aix* ) - SO_SUFFIX="a" - SO_SUFFIX_MODULE="a" - ;; - *-*-cygwin* ) - SO_SUFFIX="dll" - SO_SUFFIX_MODULE="dll" - DLLIMP_SUFFIX="dll.a" - EXEEXT=".exe" - DLLPREFIX="cyg" - dlldir="$bindir" - ;; - *-*-mingw32* ) - SO_SUFFIX="dll" - SO_SUFFIX_MODULE="dll" - DLLIMP_SUFFIX="dll.a" - EXEEXT=".exe" - DLLPREFIX="" - dlldir="$bindir" - ;; - *-pc-msdosdjgpp ) - EXEEXT=".exe" - DLLPREFIX="" - dlldir="$bindir" - ;; - *-pc-os2_emx | *-pc-os2-emx ) - SO_SUFFIX="dll" - SO_SUFFIX_MODULE="dll" - DLLIMP_SUFFIX=$OS2_LIBEXT - EXEEXT=".exe" - DLLPREFIX="" - LIBPREFIX="" - LIBEXT=".$OS2_LIBEXT" - dlldir="$bindir" - ;; - *-*-darwin* ) - SO_SUFFIX="dylib" - SO_SUFFIX_MODULE="bundle" - ;; - esac - - if test "x$DLLIMP_SUFFIX" = "x" ; then - DLLIMP_SUFFIX="$SO_SUFFIX" - fi - - - - - - - - - - - - - PIC_FLAG="" - if test "x$GCC" = "xyes"; then - PIC_FLAG="-fPIC" - fi - - SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o" - SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o" - WINDOWS_IMPLIB=0 - - case "${BAKEFILE_HOST}" in - *-hp-hpux* ) - if test "x$GCC" != "xyes"; then - LDFLAGS="$LDFLAGS -L/usr/lib" - - SHARED_LD_CC="${CC} -b -o" - SHARED_LD_CXX="${CXX} -b -o" - PIC_FLAG="+Z" - fi - ;; - - *-*-linux* ) - if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then - PIC_FLAG="-KPIC" - elif test "x$SUNCXX" = "xyes"; then - SHARED_LD_CC="${CC} -G -o" - SHARED_LD_CXX="${CXX} -G -o" - PIC_FLAG="-KPIC" - fi - ;; - - *-*-solaris2* ) - if test "x$SUNCXX" = xyes ; then - SHARED_LD_CC="${CC} -G -o" - SHARED_LD_CXX="${CXX} -G -o" - PIC_FLAG="-KPIC" - fi - ;; - - *-*-darwin* ) - -D='$' -cat <shared-ld-sh -#!/bin/sh -#----------------------------------------------------------------------------- -#-- Name: distrib/mac/shared-ld-sh -#-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X -#-- Author: Gilles Depeyrot -#-- Copyright: (c) 2002 Gilles Depeyrot -#-- Licence: any use permitted -#----------------------------------------------------------------------------- - -verbose=0 -args="" -objects="" -linking_flag="-dynamiclib" -ldargs="-r -keep_private_externs -nostdlib" - -if test "x${D}CXX" = "x"; then - CXX="c++" -fi - -while test ${D}# -gt 0; do - case ${D}1 in - - -v) - verbose=1 - ;; - - -o|-compatibility_version|-current_version|-framework|-undefined|-install_name) - # collect these options and values - args="${D}{args} ${D}1 ${D}2" - shift - ;; - - -arch|-isysroot) - # collect these options and values - ldargs="${D}{ldargs} ${D}1 ${D}2" - shift - ;; - - -s|-Wl,*) - # collect these load args - ldargs="${D}{ldargs} ${D}1" - ;; - - -l*|-L*|-flat_namespace|-headerpad_max_install_names) - # collect these options - args="${D}{args} ${D}1" - ;; - - -dynamiclib|-bundle) - linking_flag="${D}1" - ;; - - -*) - echo "shared-ld: unhandled option '${D}1'" - exit 1 - ;; - - *.o | *.a | *.dylib) - # collect object files - objects="${D}{objects} ${D}1" - ;; - - *) - echo "shared-ld: unhandled argument '${D}1'" - exit 1 - ;; - - esac - shift -done - -status=0 - -# -# Link one module containing all the others -# -if test ${D}{verbose} = 1; then - echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o" -fi -${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o -status=${D}? - -# -# Link the shared library from the single module created, but only if the -# previous command didn't fail: -# -if test ${D}{status} = 0; then - if test ${D}{verbose} = 1; then - echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}" - fi - ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args} - status=${D}? -fi - -# -# Remove intermediate module -# -rm -f master.${D}${D}.o - -exit ${D}status -EOF - - chmod +x shared-ld-sh - - SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o" - SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC" - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5 -$as_echo_n "checking for gcc 3.1 or later... " >&6; } -if test "${bakefile_cv_gcc31+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - #if (__GNUC__ < 3) || \ - ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1)) - This is old gcc - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - bakefile_cv_gcc31=yes - -else - - bakefile_cv_gcc31=no - - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5 -$as_echo "$bakefile_cv_gcc31" >&6; } - if test "$bakefile_cv_gcc31" = "no"; then - SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o" - SHARED_LD_CXX="$SHARED_LD_CC" - else - SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o" - SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o" - fi - - if test "x$GCC" == "xyes"; then - PIC_FLAG="-dynamic -fPIC" - fi - if test "x$XLCC" = "xyes"; then - PIC_FLAG="-dynamic -DPIC" - fi - ;; - - *-*-aix* ) - if test "x$GCC" = "xyes"; then - PIC_FLAG="" - - case "${BAKEFILE_HOST}" in - *-*-aix5* ) - LD_EXPFULL="-Wl,-bexpfull" - ;; - esac - - SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o" - SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o" - else - # Extract the first word of "makeC++SharedLib", so it can be a program name with args. -set dummy makeC++SharedLib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AIX_CXX_LD"; then - ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_AIX_CXX_LD="makeC++SharedLib" - $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 - - test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib" -fi -fi -AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD -if test -n "$AIX_CXX_LD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5 -$as_echo "$AIX_CXX_LD" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - SHARED_LD_CC="$AIX_CC_LD -p 0 -o" - SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o" - fi - ;; - - *-*-beos* ) - SHARED_LD_CC="${LD} -nostart -o" - SHARED_LD_CXX="${LD} -nostart -o" - ;; - - *-*-irix* ) - if test "x$GCC" != "xyes"; then - PIC_FLAG="-KPIC" - fi - ;; - - *-*-cygwin* | *-*-mingw32* ) - PIC_FLAG="" - SHARED_LD_CC="\$(CC) -shared -o" - SHARED_LD_CXX="\$(CXX) -shared -o" - WINDOWS_IMPLIB=1 - ;; - - *-pc-os2_emx | *-pc-os2-emx ) - SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o" - SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o" - PIC_FLAG="" - -D='$' -cat <dllar.sh -#!/bin/sh -# -# dllar - a tool to build both a .dll and an .a file -# from a set of object (.o) files for EMX/OS2. -# -# Written by Andrew Zabolotny, bit@freya.etu.ru -# Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de -# -# This script will accept a set of files on the command line. -# All the public symbols from the .o files will be exported into -# a .DEF file, then linker will be run (through gcc) against them to -# build a shared library consisting of all given .o files. All libraries -# (.a) will be first decompressed into component .o files then act as -# described above. You can optionally give a description (-d "description") -# which will be put into .DLL. To see the list of accepted options (as well -# as command-line format) simply run this program without options. The .DLL -# is built to be imported by name (there is no guarantee that new versions -# of the library you build will have same ordinals for same symbols). -# -# dllar 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. -# -# dllar 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 dllar; see the file COPYING. If not, write to the Free -# Software Foundation, 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# To successfuly run this program you will need: -# - Current drive should have LFN support (HPFS, ext2, network, etc) -# (Sometimes dllar generates filenames which won't fit 8.3 scheme) -# - gcc -# (used to build the .dll) -# - emxexp -# (used to create .def file from .o files) -# - emximp -# (used to create .a file from .def file) -# - GNU text utilites (cat, sort, uniq) -# used to process emxexp output -# - GNU file utilities (mv, rm) -# - GNU sed -# - lxlite (optional, see flag below) -# (used for general .dll cleanup) -# - -flag_USE_LXLITE=1; - -# -# helper functions -# basnam, variant of basename, which does _not_ remove the path, _iff_ -# second argument (suffix to remove) is given -basnam(){ - case ${D}# in - 1) - echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//' - ;; - 2) - echo ${D}1 | sed 's/'${D}2'${D}//' - ;; - *) - echo "error in basnam ${D}*" - exit 8 - ;; - esac -} - -# Cleanup temporary files and output -CleanUp() { - cd ${D}curDir - for i in ${D}inputFiles ; do - case ${D}i in - *!) - rm -rf \`basnam ${D}i !\` - ;; - *) - ;; - esac - done - - # Kill result in case of failure as there is just to many stupid make/nmake - # things out there which doesn't do this. - if [ ${D}# -eq 0 ]; then - rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile - fi -} - -# Print usage and exit script with rc=1. -PrintHelp() { - echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]' - echo ' [-name-mangler-script script.sh]' - echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]' - echo ' [-ord[inals]] -ex[clude] "symbol(s)"' - echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]' - echo ' [*.o] [*.a]' - echo '*> "output_file" should have no extension.' - echo ' If it has the .o, .a or .dll extension, it is automatically removed.' - echo ' The import library name is derived from this and is set to "name".a,' - echo ' unless overridden by -import' - echo '*> "importlib_name" should have no extension.' - echo ' If it has the .o, or .a extension, it is automatically removed.' - echo ' This name is used as the import library name and may be longer and' - echo ' more descriptive than the DLL name which has to follow the old ' - echo ' 8.3 convention of FAT.' - echo '*> "script.sh may be given to override the output_file name by a' - echo ' different name. It is mainly useful if the regular make process' - echo ' of some package does not take into account OS/2 restriction of' - echo ' DLL name lengths. It takes the importlib name as input and is' - echo ' supposed to procude a shorter name as output. The script should' - echo ' expect to get importlib_name without extension and should produce' - echo ' a (max.) 8 letter name without extension.' - echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)' - echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)' - echo ' These flags will be put at the start of GCC command line.' - echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.' - echo '*> -ex[clude] defines symbols which will not be exported. You can define' - echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".' - echo ' If the last character of a symbol is "*", all symbols beginning' - echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).' - echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or' - echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.' - echo '*> -nocrt[dll] switch will disable linking the library against emx''s' - echo ' C runtime DLLs.' - echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.' - echo '*> All other switches (for example -L./ or -lmylib) will be passed' - echo ' unchanged to GCC at the end of command line.' - echo '*> If you create a DLL from a library and you do not specify -o,' - echo ' the basename for DLL and import library will be set to library name,' - echo ' the initial library will be renamed to 'name'_s.a (_s for static)' - echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial' - echo ' library will be renamed into gcc_s.a.' - echo '--------' - echo 'Example:' - echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord' - echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"' - CleanUp - exit 1 -} - -# Execute a command. -# If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script. -# @Uses Whatever CleanUp() uses. -doCommand() { - echo "${D}*" - eval ${D}* - rcCmd=${D}? - - if [ ${D}rcCmd -ne 0 ]; then - echo "command failed, exit code="${D}rcCmd - CleanUp - exit ${D}rcCmd - fi -} - -# main routine -# setup globals -cmdLine=${D}* -outFile="" -outimpFile="" -inputFiles="" -renameScript="" -description="" -CC=gcc.exe -CFLAGS="-s -Zcrtdll" -EXTRA_CFLAGS="" -EXPORT_BY_ORDINALS=0 -exclude_symbols="" -library_flags="" -curDir=\`pwd\` -curDirS=curDir -case ${D}curDirS in -*/) - ;; -*) - curDirS=${D}{curDirS}"/" - ;; -esac -# Parse commandline -libsToLink=0 -omfLinking=0 -while [ ${D}1 ]; do - case ${D}1 in - -ord*) - EXPORT_BY_ORDINALS=1; - ;; - -o*) - shift - outFile=${D}1 - ;; - -i*) - shift - outimpFile=${D}1 - ;; - -name-mangler-script) - shift - renameScript=${D}1 - ;; - -d*) - shift - description=${D}1 - ;; - -f*) - shift - CFLAGS=${D}1 - ;; - -c*) - shift - CC=${D}1 - ;; - -h*) - PrintHelp - ;; - -ex*) - shift - exclude_symbols=${D}{exclude_symbols}${D}1" " - ;; - -libf*) - shift - library_flags=${D}{library_flags}${D}1" " - ;; - -nocrt*) - CFLAGS="-s" - ;; - -nolxl*) - flag_USE_LXLITE=0 - ;; - -* | /*) - case ${D}1 in - -L* | -l*) - libsToLink=1 - ;; - -Zomf) - omfLinking=1 - ;; - *) - ;; - esac - EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1 - ;; - *.dll) - EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`" - if [ ${D}omfLinking -eq 1 ]; then - EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib" - else - EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a" - fi - ;; - *) - found=0; - if [ ${D}libsToLink -ne 0 ]; then - EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1 - else - for file in ${D}1 ; do - if [ -f ${D}file ]; then - inputFiles="${D}{inputFiles} ${D}file" - found=1 - fi - done - if [ ${D}found -eq 0 ]; then - echo "ERROR: No file(s) found: "${D}1 - exit 8 - fi - fi - ;; - esac - shift -done # iterate cmdline words - -# -if [ -z "${D}inputFiles" ]; then - echo "dllar: no input files" - PrintHelp -fi - -# Now extract all .o files from .a files -newInputFiles="" -for file in ${D}inputFiles ; do - case ${D}file in - *.a | *.lib) - case ${D}file in - *.a) - suffix=".a" - AR="ar" - ;; - *.lib) - suffix=".lib" - AR="emxomfar" - EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf" - ;; - *) - ;; - esac - dirname=\`basnam ${D}file ${D}suffix\`"_%" - mkdir ${D}dirname - if [ ${D}? -ne 0 ]; then - echo "Failed to create subdirectory ./${D}dirname" - CleanUp - exit 8; - fi - # Append '!' to indicate archive - newInputFiles="${D}newInputFiles ${D}{dirname}!" - doCommand "cd ${D}dirname; ${D}AR x ../${D}file" - cd ${D}curDir - found=0; - for subfile in ${D}dirname/*.o* ; do - if [ -f ${D}subfile ]; then - found=1 - if [ -s ${D}subfile ]; then - # FIXME: This should be: is file size > 32 byte, _not_ > 0! - newInputFiles="${D}newInputFiles ${D}subfile" - fi - fi - done - if [ ${D}found -eq 0 ]; then - echo "WARNING: there are no files in archive \\'${D}file\\'" - fi - ;; - *) - newInputFiles="${D}{newInputFiles} ${D}file" - ;; - esac -done -inputFiles="${D}newInputFiles" - -# Output filename(s). -do_backup=0; -if [ -z ${D}outFile ]; then - do_backup=1; - set outFile ${D}inputFiles; outFile=${D}2 -fi - -# If it is an archive, remove the '!' and the '_%' suffixes -case ${D}outFile in -*_%!) - outFile=\`basnam ${D}outFile _%!\` - ;; -*) - ;; -esac -case ${D}outFile in -*.dll) - outFile=\`basnam ${D}outFile .dll\` - ;; -*.DLL) - outFile=\`basnam ${D}outFile .DLL\` - ;; -*.o) - outFile=\`basnam ${D}outFile .o\` - ;; -*.obj) - outFile=\`basnam ${D}outFile .obj\` - ;; -*.a) - outFile=\`basnam ${D}outFile .a\` - ;; -*.lib) - outFile=\`basnam ${D}outFile .lib\` - ;; -*) - ;; -esac -case ${D}outimpFile in -*.a) - outimpFile=\`basnam ${D}outimpFile .a\` - ;; -*.lib) - outimpFile=\`basnam ${D}outimpFile .lib\` - ;; -*) - ;; -esac -if [ -z ${D}outimpFile ]; then - outimpFile=${D}outFile -fi -defFile="${D}{outFile}.def" -arcFile="${D}{outimpFile}.a" -arcFile2="${D}{outimpFile}.lib" - -#create ${D}dllFile as something matching 8.3 restrictions, -if [ -z ${D}renameScript ] ; then - dllFile="${D}outFile" -else - dllFile=\`${D}renameScript ${D}outimpFile\` -fi - -if [ ${D}do_backup -ne 0 ] ; then - if [ -f ${D}arcFile ] ; then - doCommand "mv ${D}arcFile ${D}{outFile}_s.a" - fi - if [ -f ${D}arcFile2 ] ; then - doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib" - fi -fi - -# Extract public symbols from all the object files. -tmpdefFile=${D}{defFile}_% -rm -f ${D}tmpdefFile -for file in ${D}inputFiles ; do - case ${D}file in - *!) - ;; - *) - doCommand "emxexp -u ${D}file >> ${D}tmpdefFile" - ;; - esac -done - -# Create the def file. -rm -f ${D}defFile -echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile -dllFile="${D}{dllFile}.dll" -if [ ! -z ${D}description ]; then - echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile -fi -echo "EXPORTS" >> ${D}defFile - -doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%" -grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile - -# Checks if the export is ok or not. -for word in ${D}exclude_symbols; do - grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}% - mv ${D}{tmpdefFile}% ${D}tmpdefFile -done - - -if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then - sed "=" < ${D}tmpdefFile | \\ - sed ' - N - : loop - s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/ - t loop - ' > ${D}{tmpdefFile}% - grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile -else - rm -f ${D}{tmpdefFile}% -fi -cat ${D}tmpdefFile >> ${D}defFile -rm -f ${D}tmpdefFile - -# Do linking, create implib, and apply lxlite. -gccCmdl=""; -for file in ${D}inputFiles ; do - case ${D}file in - *!) - ;; - *) - gccCmdl="${D}gccCmdl ${D}file" - ;; - esac -done -doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS" -touch "${D}{outFile}.dll" - -doCommand "emximp -o ${D}arcFile ${D}defFile" -if [ ${D}flag_USE_LXLITE -ne 0 ]; then - add_flags=""; - if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then - add_flags="-ynd" - fi - doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile" -fi -doCommand "emxomf -s -l ${D}arcFile" - -# Successful exit. -CleanUp 1 -exit 0 -EOF - - chmod +x dllar.sh - ;; - - powerpc-apple-macos* | \ - *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \ - *-*-mirbsd* | \ - *-*-sunos4* | \ - *-*-osf* | \ - *-*-dgux5* | \ - *-*-sysv5* | \ - *-pc-msdosdjgpp ) - ;; - - *) - as_fn_error "unknown system type $BAKEFILE_HOST." "$LINENO" 5 - esac - - if test "x$PIC_FLAG" != "x" ; then - PIC_FLAG="$PIC_FLAG -DPIC" - fi - - if test "x$SHARED_LD_MODULE_CC" = "x" ; then - SHARED_LD_MODULE_CC="$SHARED_LD_CC" - fi - if test "x$SHARED_LD_MODULE_CXX" = "x" ; then - SHARED_LD_MODULE_CXX="$SHARED_LD_CXX" - fi - - - - - - - - - - USE_SOVERSION=0 - USE_SOVERLINUX=0 - USE_SOVERSOLARIS=0 - USE_SOVERCYGWIN=0 - USE_SOTWOSYMLINKS=0 - USE_MACVERSION=0 - SONAME_FLAG= - - case "${BAKEFILE_HOST}" in - *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \ - *-*-k*bsd*-gnu | *-*-mirbsd* ) - if test "x$SUNCXX" = "xyes"; then - SONAME_FLAG="-h " - else - SONAME_FLAG="-Wl,-soname," - fi - USE_SOVERSION=1 - USE_SOVERLINUX=1 - USE_SOTWOSYMLINKS=1 - ;; - - *-*-solaris2* ) - SONAME_FLAG="-h " - USE_SOVERSION=1 - USE_SOVERSOLARIS=1 - ;; - - *-*-darwin* ) - USE_MACVERSION=1 - USE_SOVERSION=1 - USE_SOTWOSYMLINKS=1 - ;; - - *-*-cygwin* ) - USE_SOVERSION=1 - USE_SOVERCYGWIN=1 - ;; - esac - - - - - - - - - - - # Check whether --enable-dependency-tracking was given. -if test "${enable_dependency_tracking+set}" = set; then : - enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval" -fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5 -$as_echo_n "checking for dependency tracking method... " >&6; } - - BK_DEPS="" - if test "x$bk_use_trackdeps" = "xno" ; then - DEPS_TRACKING=0 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 -$as_echo "disabled" >&6; } - else - DEPS_TRACKING=1 - - if test "x$GCC" = "xyes"; then - DEPSMODE=gcc - case "${BAKEFILE_HOST}" in - *-*-darwin* ) - DEPSFLAG="-no-cpp-precomp -MMD" - ;; - * ) - DEPSFLAG="-MMD" - ;; - esac - { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5 -$as_echo "gcc" >&6; } - elif test "x$MWCC" = "xyes"; then - DEPSMODE=mwcc - DEPSFLAG="-MM" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5 -$as_echo "mwcc" >&6; } - elif test "x$SUNCC" = "xyes"; then - DEPSMODE=unixcc - DEPSFLAG="-xM1" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5 -$as_echo "Sun cc" >&6; } - elif test "x$SGICC" = "xyes"; then - DEPSMODE=unixcc - DEPSFLAG="-M" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5 -$as_echo "SGI cc" >&6; } - elif test "x$HPCC" = "xyes"; then - DEPSMODE=unixcc - DEPSFLAG="+make" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5 -$as_echo "HP cc" >&6; } - elif test "x$COMPAQCC" = "xyes"; then - DEPSMODE=gcc - DEPSFLAG="-MD" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5 -$as_echo "Compaq cc" >&6; } - else - DEPS_TRACKING=0 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 -$as_echo "none" >&6; } - fi - - if test $DEPS_TRACKING = 1 ; then - -D='$' -cat <bk-deps -#!/bin/sh - -# This script is part of Bakefile (http://www.bakefile.org) autoconf -# script. It is used to track C/C++ files dependencies in portable way. -# -# Permission is given to use this file in any way. - -DEPSMODE=${DEPSMODE} -DEPSFLAG="${DEPSFLAG}" -DEPSDIRBASE=.deps - -if test ${D}DEPSMODE = gcc ; then - ${D}* ${D}{DEPSFLAG} - status=${D}? - - # determine location of created files: - while test ${D}# -gt 0; do - case "${D}1" in - -o ) - shift - objfile=${D}1 - ;; - -* ) - ;; - * ) - srcfile=${D}1 - ;; - esac - shift - done - objfilebase=\`basename ${D}objfile\` - builddir=\`dirname ${D}objfile\` - depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\` - depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\` - depsdir=${D}builddir/${D}DEPSDIRBASE - mkdir -p ${D}depsdir - - # if the compiler failed, we're done: - if test ${D}{status} != 0 ; then - rm -f ${D}depfile - exit ${D}{status} - fi - - # move created file to the location we want it in: - if test -f ${D}depfile ; then - sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d - rm -f ${D}depfile - else - # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d - depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\` - if test ! -f ${D}depfile ; then - # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++) - depfile="${D}objfile.d" - fi - if test -f ${D}depfile ; then - sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d - rm -f ${D}depfile - fi - fi - exit 0 - -elif test ${D}DEPSMODE = mwcc ; then - ${D}* || exit ${D}? - # Run mwcc again with -MM and redirect into the dep file we want - # NOTE: We can't use shift here because we need ${D}* to be valid - prevarg= - for arg in ${D}* ; do - if test "${D}prevarg" = "-o"; then - objfile=${D}arg - else - case "${D}arg" in - -* ) - ;; - * ) - srcfile=${D}arg - ;; - esac - fi - prevarg="${D}arg" - done - - objfilebase=\`basename ${D}objfile\` - builddir=\`dirname ${D}objfile\` - depsdir=${D}builddir/${D}DEPSDIRBASE - mkdir -p ${D}depsdir - - ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d - exit 0 - -elif test ${D}DEPSMODE = unixcc; then - ${D}* || exit ${D}? - # Run compiler again with deps flag and redirect into the dep file. - # It doesn't work if the '-o FILE' option is used, but without it the - # dependency file will contain the wrong name for the object. So it is - # removed from the command line, and the dep file is fixed with sed. - cmd="" - while test ${D}# -gt 0; do - case "${D}1" in - -o ) - shift - objfile=${D}1 - ;; - * ) - eval arg${D}#=\\${D}1 - cmd="${D}cmd \\${D}arg${D}#" - ;; - esac - shift - done - - objfilebase=\`basename ${D}objfile\` - builddir=\`dirname ${D}objfile\` - depsdir=${D}builddir/${D}DEPSDIRBASE - mkdir -p ${D}depsdir - - eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d - exit 0 - -else - ${D}* - exit ${D}? -fi -EOF - - chmod +x bk-deps - BK_DEPS="`pwd`/bk-deps" - fi - fi - - - - - - case ${BAKEFILE_HOST} in - *-*-cygwin* | *-*-mingw32* ) - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. -set dummy ${ac_tool_prefix}windres; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_WINDRES+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$WINDRES"; then - ac_cv_prog_WINDRES="$WINDRES" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_WINDRES="${ac_tool_prefix}windres" - $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 -WINDRES=$ac_cv_prog_WINDRES -if test -n "$WINDRES"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 -$as_echo "$WINDRES" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_WINDRES"; then - ac_ct_WINDRES=$WINDRES - # Extract the first word of "windres", so it can be a program name with args. -set dummy windres; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_WINDRES"; then - ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_WINDRES="windres" - $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_WINDRES=$ac_cv_prog_ac_ct_WINDRES -if test -n "$ac_ct_WINDRES"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5 -$as_echo "$ac_ct_WINDRES" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_WINDRES" = x; then - WINDRES="" - 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 - WINDRES=$ac_ct_WINDRES - fi -else - WINDRES="$ac_cv_prog_WINDRES" -fi - - ;; - - *-*-darwin* | powerpc-apple-macos* ) - # Extract the first word of "Rez", so it can be a program name with args. -set dummy Rez; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_REZ+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$REZ"; then - ac_cv_prog_REZ="$REZ" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_REZ="Rez" - $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 - - test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez" -fi -fi -REZ=$ac_cv_prog_REZ -if test -n "$REZ"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5 -$as_echo "$REZ" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - # Extract the first word of "SetFile", so it can be a program name with args. -set dummy SetFile; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_SETFILE+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$SETFILE"; then - ac_cv_prog_SETFILE="$SETFILE" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_SETFILE="SetFile" - $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 - - test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile" -fi -fi -SETFILE=$ac_cv_prog_SETFILE -if test -n "$SETFILE"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5 -$as_echo "$SETFILE" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - ;; - esac - - - - - - - - - - BAKEFILE_BAKEFILE_M4_VERSION="0.2.8" - - -BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.8" - - COND_DEBUG_0="#" - if test "x$DEBUG" = "x0" ; then - COND_DEBUG_0="" - fi - - COND_DEBUG_1="#" - if test "x$DEBUG" = "x1" ; then - COND_DEBUG_1="" - fi - - COND_DEPS_TRACKING_0="#" - if test "x$DEPS_TRACKING" = "x0" ; then - COND_DEPS_TRACKING_0="" - fi - - COND_DEPS_TRACKING_1="#" - if test "x$DEPS_TRACKING" = "x1" ; then - COND_DEPS_TRACKING_1="" - fi - - COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#" - if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then - COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="" - fi - - COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#" - if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then - COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="" - fi - - COND_PLATFORM_MACOSX_1="#" - if test "x$PLATFORM_MACOSX" = "x1" ; then - COND_PLATFORM_MACOSX_1="" - fi - - COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#" - if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then - COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="" - fi - - COND_PLATFORM_MAC_0="#" - if test "x$PLATFORM_MAC" = "x0" ; then - COND_PLATFORM_MAC_0="" - fi - - COND_PLATFORM_MAC_1="#" - if test "x$PLATFORM_MAC" = "x1" ; then - COND_PLATFORM_MAC_1="" - fi - - COND_PLATFORM_OS2_1="#" - if test "x$PLATFORM_OS2" = "x1" ; then - COND_PLATFORM_OS2_1="" - fi - - COND_SAMPLES_1="#" - if test "x$SAMPLES" = "x1" ; then - COND_SAMPLES_1="" - fi - - COND_SHARED_0="#" - if test "x$SHARED" = "x0" ; then - COND_SHARED_0="" - fi - - COND_SHARED_1="#" - if test "x$SHARED" = "x1" ; then - COND_SHARED_1="" - fi - - COND_USE_SOTWOSYMLINKS_1="#" - if test "x$USE_SOTWOSYMLINKS" = "x1" ; then - COND_USE_SOTWOSYMLINKS_1="" - fi - - COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#" - if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then - COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="" - fi - - COND_USE_SOVERLINUX_1="#" - if test "x$USE_SOVERLINUX" = "x1" ; then - COND_USE_SOVERLINUX_1="" - fi - - COND_USE_SOVERSION_0="#" - if test "x$USE_SOVERSION" = "x0" ; then - COND_USE_SOVERSION_0="" - fi - - COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#" - if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then - COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="" - fi - - COND_USE_SOVERSOLARIS_1="#" - if test "x$USE_SOVERSOLARIS" = "x1" ; then - COND_USE_SOVERSOLARIS_1="" - fi - - COND_WINDOWS_IMPLIB_1="#" - if test "x$WINDOWS_IMPLIB" = "x1" ; then - COND_WINDOWS_IMPLIB_1="" - fi - - - - if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then - as_fn_error "No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" "$LINENO" 5 - fi - - if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then - as_fn_error "Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." "$LINENO" 5 - fi - -ac_config_files="$ac_config_files Makefile build/autoconf/muparser.pc" - -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 - test "x$cache_file" != "x/dev/null" && - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} - cat confcache >$cache_file - 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}' - -# Transform confdefs.h into DEFS. -# Protect against shell expansion while executing Makefile rules. -# Protect against Makefile macro expansion. -# -# If the first sed substitution is executed (which looks for macros that -# take arguments), then branch to the quote section. Otherwise, -# look for a macro that doesn't take arguments. -ac_script=' -:mline -/\\$/{ - N - s,\\\n,, - b mline -} -t clear -:clear -s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g -t quote -s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g -t quote -b any -:quote -s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g -s/\[/\\&/g -s/\]/\\&/g -s/\$/$$/g -H -:any -${ - g - s/^\n// - s/\n/ /g - p -} -' -DEFS=`sed -n "$ac_script" confdefs.h` - - -ac_libobjs= -ac_ltlibobjs= -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 - - - -: ${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. -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 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=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 - fi - $as_echo "$as_me: error: $1" >&2 - as_fn_exit $as_status -} # as_fn_error - - -# as_fn_set_status STATUS -# ----------------------- -# Set $? to STATUS, without forking. -as_fn_set_status () -{ - return $1 -} # as_fn_set_status - -# as_fn_exit STATUS -# ----------------- -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -as_fn_exit () -{ - set +e - as_fn_set_status $1 - exit $1 -} # as_fn_exit - -# as_fn_unset VAR -# --------------- -# Portably unset VAR. -as_fn_unset () -{ - { eval $1=; unset $1;} -} -as_unset=as_fn_unset -# as_fn_append VAR VALUE -# ---------------------- -# Append the text in VALUE to the end of the definition contained in VAR. Take -# advantage of any shell optimizations that allow amortized linear growth over -# repeated appends, instead of the typical quadratic growth present in naive -# implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : - eval 'as_fn_append () - { - eval $1+=\$2 - }' -else - as_fn_append () - { - eval $1=\$$1\$2 - } -fi # as_fn_append - -# as_fn_arith ARG... -# ------------------ -# Perform arithmetic evaluation on the ARGs, and store the result in the -# global $as_val. Take advantage of shells that can avoid forks. The arguments -# must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : - eval 'as_fn_arith () - { - as_val=$(( $* )) - }' -else - as_fn_arith () - { - as_val=`expr "$@" || test $? -eq 1` - } -fi # as_fn_arith - - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in #((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - ECHO_N='-n';; -esac - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - - -# as_fn_mkdir_p -# ------------- -# Create "$as_dir" as a directory, including parents if necessary. -as_fn_mkdir_p () -{ - - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || eval $as_mkdir_p || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" - - -} # as_fn_mkdir_p -if mkdir -p . 2>/dev/null; then - as_mkdir_p='mkdir -p "$as_dir"' -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -exec 6>&1 -## ----------------------------------- ## -## Main body of $CONFIG_STATUS script. ## -## ----------------------------------- ## -_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 muParser $as_me 1.34, which was -generated by GNU Autoconf 2.64. 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 - - - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# Files that config.status was made for. -config_files="$ac_config_files" - -_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 - -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 - -Configuration files: -$config_files - -Report bugs to ." - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_cs_version="\\ -muParser config.status 1.34 -configured by $0, generated by GNU Autoconf 2.64, - with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" - -Copyright (C) 2009 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' -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=$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 ;; - --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"` ;; - esac - as_fn_append CONFIG_FILES " '$ac_optarg'" - ac_need_defaults=false;; - --he | --h | --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 -_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 - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "build/autoconf/muparser.pc") CONFIG_FILES="$CONFIG_FILES build/autoconf/muparser.pc" ;; - - *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; - esac -done - - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files -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= - trap 'exit_status=$? - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$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 -n "$tmp" && test -d "$tmp" -} || -{ - tmp=./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") -} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 - -# 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 {' >"$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 >>"\$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 >>"\$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 < "$tmp/subs1.awk" > "$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 $(srcdir), -# ${srcdir} and @srcdir@ 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[ ]*=/{ -s/:*\$(srcdir):*/:/ -s/:*\${srcdir}:*/:/ -s/:*@srcdir@:*/:/ -s/^\([^=]*=[ ]*\):*/\1/ -s/:*$// -s/^[^=]*=[ ]*$// -}' -fi - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -fi # test -n "$CONFIG_FILES" - - -eval set X " :F $CONFIG_FILES " -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="$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 "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 >"$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 -_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 -$ac_datarootdir_hack -" -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$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' "$tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$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 "$tmp/stdin" - case $ac_file in - -) cat "$tmp/out" && rm -f "$tmp/out";; - *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; - esac \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - ;; - - - - 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 $? -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 - - - - -## CONFIGURE END MESSAGE -##################################################################### - -echo -echo " ----------------------------------------------------------------" -echo " Configuration for $PACKAGE_NAME $PACKAGE_VERSION successfully completed." -echo " Summary of main configuration settings for $PACKAGE_NAME:" - - if [ "$SHARED" = "1" ]; then - echo " - SHARED mode" - else - echo " - STATIC mode" - fi - - - if [ "$DEBUG" = "1" ]; then - echo " - DEBUG build" - else - echo " - RELEASE build" - fi - -if [ "$SAMPLES" = "1" ]; then - echo " - SAMPLES enabled" -else - echo " - SAMPLES disabled" -fi -echo " Now, just run make." -echo " ----------------------------------------------------------------" -echo diff --git a/AMDiS/lib/muparser_v134/docs/Doxyfile b/AMDiS/lib/muparser_v134/docs/Doxyfile deleted file mode 100644 index db74f1fc335e9582f396e9c38a1b9834f482cd47..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/Doxyfile +++ /dev/null @@ -1,1504 +0,0 @@ -# Doxyfile 1.5.8 - -# This file describes the settings to be used by the documentation system -# doxygen (www.doxygen.org) for a project -# -# All text after a hash (#) is considered a comment and will be ignored -# The format is: -# TAG = value [value, ...] -# For lists items can also be appended using: -# TAG += value [value, ...] -# Values that contain spaces should be placed between quotes (" ") - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- - -# This tag specifies the encoding used for all characters in the config file -# that follow. The default is UTF-8 which is also the encoding used for all -# text before the first occurrence of this tag. Doxygen uses libiconv (or the -# iconv built into libc) for the transcoding. See -# http://www.gnu.org/software/libiconv for the list of possible encodings. - -DOXYFILE_ENCODING = UTF-8 - -# The PROJECT_NAME tag is a single word (or a sequence of words surrounded -# by quotes) that should identify the project. - -PROJECT_NAME = "muParser API -" - -# The PROJECT_NUMBER tag can be used to enter a project or revision number. -# This could be handy for archiving the generated documentation or -# if some version control system is used. - -PROJECT_NUMBER = 1.30 - -# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) -# base path where the generated documentation will be put. -# If a relative path is entered, it will be relative to the location -# where doxygen was started. If left blank the current directory will be used. - -OUTPUT_DIRECTORY = html/ - -# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create -# 4096 sub-directories (in 2 levels) under the output directory of each output -# format and will distribute the generated files over these directories. -# Enabling this option can be useful when feeding doxygen a huge amount of -# source files, where putting all generated files in the same directory would -# otherwise cause performance problems for the file system. - -CREATE_SUBDIRS = NO - -# The OUTPUT_LANGUAGE tag is used to specify the language in which all -# documentation generated by doxygen is written. Doxygen will use this -# information to generate all constant output in the proper language. -# The default language is English, other supported languages are: -# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, -# Croatian, Czech, Danish, Dutch, Farsi, Finnish, French, German, Greek, -# Hungarian, Italian, Japanese, Japanese-en (Japanese with English messages), -# Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian, Polish, -# Portuguese, Romanian, Russian, Serbian, Serbian-Cyrilic, Slovak, Slovene, -# Spanish, Swedish, and Ukrainian. - -OUTPUT_LANGUAGE = English - -# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will -# include brief member descriptions after the members that are listed in -# the file and class documentation (similar to JavaDoc). -# Set to NO to disable this. - -BRIEF_MEMBER_DESC = YES - -# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend -# the brief description of a member or function before the detailed description. -# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the -# brief descriptions will be completely suppressed. - -REPEAT_BRIEF = YES - -# This tag implements a quasi-intelligent brief description abbreviator -# that is used to form the text in various listings. Each string -# in this list, if found as the leading text of the brief description, will be -# stripped from the text and the result after processing the whole list, is -# used as the annotated text. Otherwise, the brief description is used as-is. -# If left blank, the following values are used ("$name" is automatically -# replaced with the name of the entity): "The $name class" "The $name widget" -# "The $name file" "is" "provides" "specifies" "contains" -# "represents" "a" "an" "the" - -ABBREVIATE_BRIEF = - -# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then -# Doxygen will generate a detailed section even if there is only a brief -# description. - -ALWAYS_DETAILED_SEC = NO - -# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all -# inherited members of a class in the documentation of that class as if those -# members were ordinary class members. Constructors, destructors and assignment -# operators of the base classes will not be shown. - -INLINE_INHERITED_MEMB = NO - -# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full -# path before files name in the file list and in the header files. If set -# to NO the shortest path that makes the file name unique will be used. - -FULL_PATH_NAMES = NO - -# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag -# can be used to strip a user-defined part of the path. Stripping is -# only done if one of the specified strings matches the left-hand part of -# the path. The tag can be used to show relative paths in the file list. -# If left blank the directory from which doxygen is run is used as the -# path to strip. - -STRIP_FROM_PATH = - -# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of -# the path mentioned in the documentation of a class, which tells -# the reader which header file to include in order to use a class. -# If left blank only the name of the header file containing the class -# definition is used. Otherwise one should specify the include paths that -# are normally passed to the compiler using the -I flag. - -STRIP_FROM_INC_PATH = - -# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter -# (but less readable) file names. This can be useful is your file systems -# doesn't support long names like on DOS, Mac, or CD-ROM. - -SHORT_NAMES = NO - -# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen -# will interpret the first line (until the first dot) of a JavaDoc-style -# comment as the brief description. If set to NO, the JavaDoc -# comments will behave just like regular Qt-style comments -# (thus requiring an explicit @brief command for a brief description.) - -JAVADOC_AUTOBRIEF = NO - -# If the QT_AUTOBRIEF tag is set to YES then Doxygen will -# interpret the first line (until the first dot) of a Qt-style -# comment as the brief description. If set to NO, the comments -# will behave just like regular Qt-style comments (thus requiring -# an explicit \brief command for a brief description.) - -QT_AUTOBRIEF = YES - -# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen -# treat a multi-line C++ special comment block (i.e. a block of //! or /// -# comments) as a brief description. This used to be the default behaviour. -# The new default is to treat a multi-line C++ comment block as a detailed -# description. Set this tag to YES if you prefer the old behaviour instead. - -MULTILINE_CPP_IS_BRIEF = NO - -# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented -# member inherits the documentation from any documented member that it -# re-implements. - -INHERIT_DOCS = YES - -# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce -# a new page for each member. If set to NO, the documentation of a member will -# be part of the file/class/namespace that contains it. - -SEPARATE_MEMBER_PAGES = NO - -# The TAB_SIZE tag can be used to set the number of spaces in a tab. -# Doxygen uses this value to replace tabs by spaces in code fragments. - -TAB_SIZE = 16 - -# This tag can be used to specify a number of aliases that acts -# as commands in the documentation. An alias has the form "name=value". -# For example adding "sideeffect=\par Side Effects:\n" will allow you to -# put the command \sideeffect (or @sideeffect) in the documentation, which -# will result in a user-defined paragraph with heading "Side Effects:". -# You can put \n's in the value part of an alias to insert newlines. - -ALIASES = - -# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C -# sources only. Doxygen will then generate output that is more tailored for C. -# For instance, some of the names that are used will be different. The list -# of all members will be omitted, etc. - -OPTIMIZE_OUTPUT_FOR_C = NO - -# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java -# sources only. Doxygen will then generate output that is more tailored for -# Java. For instance, namespaces will be presented as packages, qualified -# scopes will look different, etc. - -OPTIMIZE_OUTPUT_JAVA = NO - -# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran -# sources only. Doxygen will then generate output that is more tailored for -# Fortran. - -OPTIMIZE_FOR_FORTRAN = NO - -# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL -# sources. Doxygen will then generate output that is tailored for -# VHDL. - -OPTIMIZE_OUTPUT_VHDL = NO - -# Doxygen selects the parser to use depending on the extension of the files it parses. -# With this tag you can assign which parser to use for a given extension. -# Doxygen has a built-in mapping, but you can override or extend it using this tag. -# The format is ext=language, where ext is a file extension, and language is one of -# the parsers supported by doxygen: IDL, Java, Javascript, C#, C, C++, D, PHP, -# Objective-C, Python, Fortran, VHDL, C, C++. For instance to make doxygen treat -# .inc files as Fortran files (default is PHP), and .f files as C (default is Fortran), -# use: inc=Fortran f=C - -EXTENSION_MAPPING = - -# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want -# to include (a tag file for) the STL sources as input, then you should -# set this tag to YES in order to let doxygen match functions declarations and -# definitions whose arguments contain STL classes (e.g. func(std::string); v.s. -# func(std::string) {}). This also make the inheritance and collaboration -# diagrams that involve STL classes more complete and accurate. - -BUILTIN_STL_SUPPORT = YES - -# If you use Microsoft's C++/CLI language, you should set this option to YES to -# enable parsing support. - -CPP_CLI_SUPPORT = NO - -# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only. -# Doxygen will parse them like normal C++ but will assume all classes use public -# instead of private inheritance when no explicit protection keyword is present. - -SIP_SUPPORT = NO - -# For Microsoft's IDL there are propget and propput attributes to indicate getter -# and setter methods for a property. Setting this option to YES (the default) -# will make doxygen to replace the get and set methods by a property in the -# documentation. This will only work if the methods are indeed getting or -# setting a simple type. If this is not the case, or you want to show the -# methods anyway, you should set this option to NO. - -IDL_PROPERTY_SUPPORT = YES - -# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC -# tag is set to YES, then doxygen will reuse the documentation of the first -# member in the group (if any) for the other members of the group. By default -# all members of a group must be documented explicitly. - -DISTRIBUTE_GROUP_DOC = NO - -# Set the SUBGROUPING tag to YES (the default) to allow class member groups of -# the same type (for instance a group of public functions) to be put as a -# subgroup of that type (e.g. under the Public Functions section). Set it to -# NO to prevent subgrouping. Alternatively, this can be done per class using -# the \nosubgrouping command. - -SUBGROUPING = YES - -# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum -# is documented as struct, union, or enum with the name of the typedef. So -# typedef struct TypeS {} TypeT, will appear in the documentation as a struct -# with name TypeT. When disabled the typedef will appear as a member of a file, -# namespace, or class. And the struct will be named TypeS. This can typically -# be useful for C code in case the coding convention dictates that all compound -# types are typedef'ed and only the typedef is referenced, never the tag name. - -TYPEDEF_HIDES_STRUCT = NO - -# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to -# determine which symbols to keep in memory and which to flush to disk. -# When the cache is full, less often used symbols will be written to disk. -# For small to medium size projects (<1000 input files) the default value is -# probably good enough. For larger projects a too small cache size can cause -# doxygen to be busy swapping symbols to and from disk most of the time -# causing a significant performance penality. -# If the system has enough physical memory increasing the cache will improve the -# performance by keeping more symbols in memory. Note that the value works on -# a logarithmic scale so increasing the size by one will rougly double the -# memory usage. The cache size is given by this formula: -# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0, -# corresponding to a cache size of 2^16 = 65536 symbols - -SYMBOL_CACHE_SIZE = 0 - -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- - -# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in -# documentation are documented, even if no documentation was available. -# Private class members and static file members will be hidden unless -# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES - -EXTRACT_ALL = NO - -# If the EXTRACT_PRIVATE tag is set to YES all private members of a class -# will be included in the documentation. - -EXTRACT_PRIVATE = YES - -# If the EXTRACT_STATIC tag is set to YES all static members of a file -# will be included in the documentation. - -EXTRACT_STATIC = YES - -# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) -# defined locally in source files will be included in the documentation. -# If set to NO only classes defined in header files are included. - -EXTRACT_LOCAL_CLASSES = YES - -# This flag is only useful for Objective-C code. When set to YES local -# methods, which are defined in the implementation section but not in -# the interface are included in the documentation. -# If set to NO (the default) only methods in the interface are included. - -EXTRACT_LOCAL_METHODS = YES - -# If this flag is set to YES, the members of anonymous namespaces will be -# extracted and appear in the documentation as a namespace called -# 'anonymous_namespace{file}', where file will be replaced with the base -# name of the file that contains the anonymous namespace. By default -# anonymous namespace are hidden. - -EXTRACT_ANON_NSPACES = NO - -# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all -# undocumented members of documented classes, files or namespaces. -# If set to NO (the default) these members will be included in the -# various overviews, but no documentation section is generated. -# This option has no effect if EXTRACT_ALL is enabled. - -HIDE_UNDOC_MEMBERS = NO - -# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all -# undocumented classes that are normally visible in the class hierarchy. -# If set to NO (the default) these classes will be included in the various -# overviews. This option has no effect if EXTRACT_ALL is enabled. - -HIDE_UNDOC_CLASSES = NO - -# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all -# friend (class|struct|union) declarations. -# If set to NO (the default) these declarations will be included in the -# documentation. - -HIDE_FRIEND_COMPOUNDS = NO - -# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any -# documentation blocks found inside the body of a function. -# If set to NO (the default) these blocks will be appended to the -# function's detailed documentation block. - -HIDE_IN_BODY_DOCS = NO - -# The INTERNAL_DOCS tag determines if documentation -# that is typed after a \internal command is included. If the tag is set -# to NO (the default) then the documentation will be excluded. -# Set it to YES to include the internal documentation. - -INTERNAL_DOCS = NO - -# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate -# file names in lower-case letters. If set to YES upper-case letters are also -# allowed. This is useful if you have classes or files whose names only differ -# in case and if your file system supports case sensitive file names. Windows -# and Mac users are advised to set this option to NO. - -CASE_SENSE_NAMES = YES - -# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen -# will show members with their full class and namespace scopes in the -# documentation. If set to YES the scope will be hidden. - -HIDE_SCOPE_NAMES = NO - -# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen -# will put a list of the files that are included by a file in the documentation -# of that file. - -SHOW_INCLUDE_FILES = YES - -# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] -# is inserted in the documentation for inline members. - -INLINE_INFO = YES - -# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen -# will sort the (detailed) documentation of file and class members -# alphabetically by member name. If set to NO the members will appear in -# declaration order. - -SORT_MEMBER_DOCS = YES - -# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the -# brief documentation of file, namespace and class members alphabetically -# by member name. If set to NO (the default) the members will appear in -# declaration order. - -SORT_BRIEF_DOCS = NO - -# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the -# hierarchy of group names into alphabetical order. If set to NO (the default) -# the group names will appear in their defined order. - -SORT_GROUP_NAMES = NO - -# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be -# sorted by fully-qualified names, including namespaces. If set to -# NO (the default), the class list will be sorted only by class name, -# not including the namespace part. -# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. -# Note: This option applies only to the class list, not to the -# alphabetical list. - -SORT_BY_SCOPE_NAME = NO - -# The GENERATE_TODOLIST tag can be used to enable (YES) or -# disable (NO) the todo list. This list is created by putting \todo -# commands in the documentation. - -GENERATE_TODOLIST = NO - -# The GENERATE_TESTLIST tag can be used to enable (YES) or -# disable (NO) the test list. This list is created by putting \test -# commands in the documentation. - -GENERATE_TESTLIST = YES - -# The GENERATE_BUGLIST tag can be used to enable (YES) or -# disable (NO) the bug list. This list is created by putting \bug -# commands in the documentation. - -GENERATE_BUGLIST = YES - -# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or -# disable (NO) the deprecated list. This list is created by putting -# \deprecated commands in the documentation. - -GENERATE_DEPRECATEDLIST= YES - -# The ENABLED_SECTIONS tag can be used to enable conditional -# documentation sections, marked by \if sectionname ... \endif. - -ENABLED_SECTIONS = - -# The MAX_INITIALIZER_LINES tag determines the maximum number of lines -# the initial value of a variable or define consists of for it to appear in -# the documentation. If the initializer consists of more lines than specified -# here it will be hidden. Use a value of 0 to hide initializers completely. -# The appearance of the initializer of individual variables and defines in the -# documentation can be controlled using \showinitializer or \hideinitializer -# command in the documentation regardless of this setting. - -MAX_INITIALIZER_LINES = 30 - -# Set the SHOW_USED_FILES tag to NO to disable the list of files generated -# at the bottom of the documentation of classes and structs. If set to YES the -# list will mention the files that were used to generate the documentation. - -SHOW_USED_FILES = YES - -# If the sources in your project are distributed over multiple directories -# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy -# in the documentation. The default is NO. - -SHOW_DIRECTORIES = NO - -# Set the SHOW_FILES tag to NO to disable the generation of the Files page. -# This will remove the Files entry from the Quick Index and from the -# Folder Tree View (if specified). The default is YES. - -SHOW_FILES = YES - -# Set the SHOW_NAMESPACES tag to NO to disable the generation of the -# Namespaces page. This will remove the Namespaces entry from the Quick Index -# and from the Folder Tree View (if specified). The default is YES. - -SHOW_NAMESPACES = YES - -# The FILE_VERSION_FILTER tag can be used to specify a program or script that -# doxygen should invoke to get the current version for each file (typically from -# the version control system). Doxygen will invoke the program by executing (via -# popen()) the command , where is the value of -# the FILE_VERSION_FILTER tag, and is the name of an input file -# provided by doxygen. Whatever the program writes to standard output -# is used as the file version. See the manual for examples. - -FILE_VERSION_FILTER = - -# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed by -# doxygen. The layout file controls the global structure of the generated output files -# in an output format independent way. The create the layout file that represents -# doxygen's defaults, run doxygen with the -l option. You can optionally specify a -# file name after the option, if omitted DoxygenLayout.xml will be used as the name -# of the layout file. - -LAYOUT_FILE = - -#--------------------------------------------------------------------------- -# configuration options related to warning and progress messages -#--------------------------------------------------------------------------- - -# The QUIET tag can be used to turn on/off the messages that are generated -# by doxygen. Possible values are YES and NO. If left blank NO is used. - -QUIET = NO - -# The WARNINGS tag can be used to turn on/off the warning messages that are -# generated by doxygen. Possible values are YES and NO. If left blank -# NO is used. - -WARNINGS = YES - -# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings -# for undocumented members. If EXTRACT_ALL is set to YES then this flag will -# automatically be disabled. - -WARN_IF_UNDOCUMENTED = YES - -# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for -# potential errors in the documentation, such as not documenting some -# parameters in a documented function, or documenting parameters that -# don't exist or using markup commands wrongly. - -WARN_IF_DOC_ERROR = YES - -# This WARN_NO_PARAMDOC option can be abled to get warnings for -# functions that are documented, but have no documentation for their parameters -# or return value. If set to NO (the default) doxygen will only warn about -# wrong or incomplete parameter documentation, but not about the absence of -# documentation. - -WARN_NO_PARAMDOC = NO - -# The WARN_FORMAT tag determines the format of the warning messages that -# doxygen can produce. The string should contain the $file, $line, and $text -# tags, which will be replaced by the file and line number from which the -# warning originated and the warning text. Optionally the format may contain -# $version, which will be replaced by the version of the file (if it could -# be obtained via FILE_VERSION_FILTER) - -WARN_FORMAT = "$file:$line: $text" - -# The WARN_LOGFILE tag can be used to specify a file to which warning -# and error messages should be written. If left blank the output is written -# to stderr. - -WARN_LOGFILE = - -#--------------------------------------------------------------------------- -# configuration options related to the input files -#--------------------------------------------------------------------------- - -# The INPUT tag can be used to specify the files and/or directories that contain -# documented source files. You may enter file names like "myfile.cpp" or -# directories like "/usr/src/myproject". Separate the files or directories -# with spaces. - -INPUT = html/misc/Main.txt \ - html/misc/example.txt \ - ../src/ \ - ../include/ - -# This tag can be used to specify the character encoding of the source files -# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is -# also the default input encoding. Doxygen uses libiconv (or the iconv built -# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for -# the list of possible encodings. - -INPUT_ENCODING = UTF-8 - -# If the value of the INPUT tag contains directories, you can use the -# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank the following patterns are tested: -# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx -# *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90 - -FILE_PATTERNS = - -# The RECURSIVE tag can be used to turn specify whether or not subdirectories -# should be searched for input files as well. Possible values are YES and NO. -# If left blank NO is used. - -RECURSIVE = NO - -# The EXCLUDE tag can be used to specify files and/or directories that should -# excluded from the INPUT source files. This way you can easily exclude a -# subdirectory from a directory tree whose root is specified with the INPUT tag. - -EXCLUDE = - -# The EXCLUDE_SYMLINKS tag can be used select whether or not files or -# directories that are symbolic links (a Unix filesystem feature) are excluded -# from the input. - -EXCLUDE_SYMLINKS = NO - -# If the value of the INPUT tag contains directories, you can use the -# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude -# certain files from those directories. Note that the wildcards are matched -# against the file with absolute path, so to exclude all test directories -# for example use the pattern */test/* - -EXCLUDE_PATTERNS = - -# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names -# (namespaces, classes, functions, etc.) that should be excluded from the -# output. The symbol name can be a fully qualified name, a word, or if the -# wildcard * is used, a substring. Examples: ANamespace, AClass, -# AClass::ANamespace, ANamespace::*Test - -EXCLUDE_SYMBOLS = - -# The EXAMPLE_PATH tag can be used to specify one or more files or -# directories that contain example code fragments that are included (see -# the \include command). - -EXAMPLE_PATH = html/misc/ - -# If the value of the EXAMPLE_PATH tag contains directories, you can use the -# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank all files are included. - -EXAMPLE_PATTERNS = - -# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be -# searched for input files to be used with the \include or \dontinclude -# commands irrespective of the value of the RECURSIVE tag. -# Possible values are YES and NO. If left blank NO is used. - -EXAMPLE_RECURSIVE = NO - -# The IMAGE_PATH tag can be used to specify one or more files or -# directories that contain image that are included in the documentation (see -# the \image command). - -IMAGE_PATH = - -# The INPUT_FILTER tag can be used to specify a program that doxygen should -# invoke to filter for each input file. Doxygen will invoke the filter program -# by executing (via popen()) the command , where -# is the value of the INPUT_FILTER tag, and is the name of an -# input file. Doxygen will then use the output that the filter program writes -# to standard output. If FILTER_PATTERNS is specified, this tag will be -# ignored. - -INPUT_FILTER = - -# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern -# basis. Doxygen will compare the file name with each pattern and apply the -# filter if there is a match. The filters are a list of the form: -# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further -# info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER -# is applied to all files. - -FILTER_PATTERNS = - -# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using -# INPUT_FILTER) will be used to filter the input files when producing source -# files to browse (i.e. when SOURCE_BROWSER is set to YES). - -FILTER_SOURCE_FILES = NO - -#--------------------------------------------------------------------------- -# configuration options related to source browsing -#--------------------------------------------------------------------------- - -# If the SOURCE_BROWSER tag is set to YES then a list of source files will -# be generated. Documented entities will be cross-referenced with these sources. -# Note: To get rid of all source code in the generated output, make sure also -# VERBATIM_HEADERS is set to NO. - -SOURCE_BROWSER = NO - -# Setting the INLINE_SOURCES tag to YES will include the body -# of functions and classes directly in the documentation. - -INLINE_SOURCES = NO - -# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct -# doxygen to hide any special comment blocks from generated source code -# fragments. Normal C and C++ comments will always remain visible. - -STRIP_CODE_COMMENTS = NO - -# If the REFERENCED_BY_RELATION tag is set to YES -# then for each documented function all documented -# functions referencing it will be listed. - -REFERENCED_BY_RELATION = NO - -# If the REFERENCES_RELATION tag is set to YES -# then for each documented function all documented entities -# called/used by that function will be listed. - -REFERENCES_RELATION = NO - -# If the REFERENCES_LINK_SOURCE tag is set to YES (the default) -# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from -# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will -# link to the source code. Otherwise they will link to the documentation. - -REFERENCES_LINK_SOURCE = NO - -# If the USE_HTAGS tag is set to YES then the references to source code -# will point to the HTML generated by the htags(1) tool instead of doxygen -# built-in source browser. The htags tool is part of GNU's global source -# tagging system (see http://www.gnu.org/software/global/global.html). You -# will need version 4.8.6 or higher. - -USE_HTAGS = NO - -# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen -# will generate a verbatim copy of the header file for each class for -# which an include is specified. Set to NO to disable this. - -VERBATIM_HEADERS = NO - -#--------------------------------------------------------------------------- -# configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- - -# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index -# of all compounds will be generated. Enable this if the project -# contains a lot of classes, structs, unions or interfaces. - -ALPHABETICAL_INDEX = YES - -# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then -# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns -# in which this list will be split (can be a number in the range [1..20]) - -COLS_IN_ALPHA_INDEX = 5 - -# In case all classes in a project start with a common prefix, all -# classes will be put under the same header in the alphabetical index. -# The IGNORE_PREFIX tag can be used to specify one or more prefixes that -# should be ignored while generating the index headers. - -IGNORE_PREFIX = - -#--------------------------------------------------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- - -# If the GENERATE_HTML tag is set to YES (the default) Doxygen will -# generate HTML output. - -GENERATE_HTML = YES - -# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `html' will be used as the default path. - -HTML_OUTPUT = classdocu/ - -# The HTML_FILE_EXTENSION tag can be used to specify the file extension for -# each generated HTML page (for example: .htm,.php,.asp). If it is left blank -# doxygen will generate files with .html extension. - -HTML_FILE_EXTENSION = .html - -# The HTML_HEADER tag can be used to specify a personal HTML header for -# each generated HTML page. If it is left blank doxygen will generate a -# standard header. - -HTML_HEADER = - -# The HTML_FOOTER tag can be used to specify a personal HTML footer for -# each generated HTML page. If it is left blank doxygen will generate a -# standard footer. - -HTML_FOOTER = html/misc/footer.html - -# The HTML_STYLESHEET tag can be used to specify a user-defined cascading -# style sheet that is used by each HTML page. It can be used to -# fine-tune the look of the HTML output. If the tag is left blank doxygen -# will generate a default style sheet. Note that doxygen will try to copy -# the style sheet file to the HTML output directory, so don't put your own -# stylesheet in the HTML output directory as well, or it will be erased! - -HTML_STYLESHEET = - -# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, -# files or namespaces will be aligned in HTML using tables. If set to -# NO a bullet list will be used. - -HTML_ALIGN_MEMBERS = YES - -# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML -# documentation will contain sections that can be hidden and shown after the -# page has loaded. For this to work a browser that supports -# JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox -# Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari). - -HTML_DYNAMIC_SECTIONS = NO - -# If the GENERATE_DOCSET tag is set to YES, additional index files -# will be generated that can be used as input for Apple's Xcode 3 -# integrated development environment, introduced with OSX 10.5 (Leopard). -# To create a documentation set, doxygen will generate a Makefile in the -# HTML output directory. Running make will produce the docset in that -# directory and running "make install" will install the docset in -# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find -# it at startup. -# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html for more information. - -GENERATE_DOCSET = NO - -# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the -# feed. A documentation feed provides an umbrella under which multiple -# documentation sets from a single provider (such as a company or product suite) -# can be grouped. - -DOCSET_FEEDNAME = "Doxygen generated docs" - -# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that -# should uniquely identify the documentation set bundle. This should be a -# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen -# will append .docset to the name. - -DOCSET_BUNDLE_ID = org.doxygen.Project - -# If the GENERATE_HTMLHELP tag is set to YES, additional index files -# will be generated that can be used as input for tools like the -# Microsoft HTML help workshop to generate a compiled HTML help file (.chm) -# of the generated HTML documentation. - -GENERATE_HTMLHELP = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can -# be used to specify the file name of the resulting .chm file. You -# can add a path in front of the file if the result should not be -# written to the html output directory. - -CHM_FILE = - -# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can -# be used to specify the location (absolute path including file name) of -# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run -# the HTML help compiler on the generated index.hhp. - -HHC_LOCATION = - -# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag -# controls if a separate .chi index file is generated (YES) or that -# it should be included in the master .chm file (NO). - -GENERATE_CHI = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING -# is used to encode HtmlHelp index (hhk), content (hhc) and project file -# content. - -CHM_INDEX_ENCODING = - -# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag -# controls whether a binary table of contents is generated (YES) or a -# normal table of contents (NO) in the .chm file. - -BINARY_TOC = NO - -# The TOC_EXPAND flag can be set to YES to add extra items for group members -# to the contents of the HTML help documentation and to the tree view. - -TOC_EXPAND = NO - -# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and QHP_VIRTUAL_FOLDER -# are set, an additional index file will be generated that can be used as input for -# Qt's qhelpgenerator to generate a Qt Compressed Help (.qch) of the generated -# HTML documentation. - -GENERATE_QHP = NO - -# If the QHG_LOCATION tag is specified, the QCH_FILE tag can -# be used to specify the file name of the resulting .qch file. -# The path specified is relative to the HTML output folder. - -QCH_FILE = - -# The QHP_NAMESPACE tag specifies the namespace to use when generating -# Qt Help Project output. For more information please see -# http://doc.trolltech.com/qthelpproject.html#namespace - -QHP_NAMESPACE = - -# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating -# Qt Help Project output. For more information please see -# http://doc.trolltech.com/qthelpproject.html#virtual-folders - -QHP_VIRTUAL_FOLDER = doc - -# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to add. -# For more information please see -# http://doc.trolltech.com/qthelpproject.html#custom-filters - -QHP_CUST_FILTER_NAME = - -# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the custom filter to add.For more information please see -# Qt Help Project / Custom Filters. - -QHP_CUST_FILTER_ATTRS = - -# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this project's -# filter section matches. -# Qt Help Project / Filter Attributes. - -QHP_SECT_FILTER_ATTRS = - -# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can -# be used to specify the location of Qt's qhelpgenerator. -# If non-empty doxygen will try to run qhelpgenerator on the generated -# .qhp file. - -QHG_LOCATION = - -# The DISABLE_INDEX tag can be used to turn on/off the condensed index at -# top of each HTML page. The value NO (the default) enables the index and -# the value YES disables it. - -DISABLE_INDEX = NO - -# This tag can be used to set the number of enum values (range [1..20]) -# that doxygen will group on one line in the generated HTML documentation. - -ENUM_VALUES_PER_LINE = 4 - -# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index -# structure should be generated to display hierarchical information. -# If the tag value is set to FRAME, a side panel will be generated -# containing a tree-like index structure (just like the one that -# is generated for HTML Help). For this to work a browser that supports -# JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+, -# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are -# probably better off using the HTML help feature. Other possible values -# for this tag are: HIERARCHIES, which will generate the Groups, Directories, -# and Class Hierarchy pages using a tree view instead of an ordered list; -# ALL, which combines the behavior of FRAME and HIERARCHIES; and NONE, which -# disables this behavior completely. For backwards compatibility with previous -# releases of Doxygen, the values YES and NO are equivalent to FRAME and NONE -# respectively. - -GENERATE_TREEVIEW = NONE - -# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be -# used to set the initial width (in pixels) of the frame in which the tree -# is shown. - -TREEVIEW_WIDTH = 250 - -# Use this tag to change the font size of Latex formulas included -# as images in the HTML documentation. The default is 10. Note that -# when you change the font size after a successful doxygen run you need -# to manually remove any form_*.png images from the HTML output directory -# to force them to be regenerated. - -FORMULA_FONTSIZE = 10 - -#--------------------------------------------------------------------------- -# configuration options related to the LaTeX output -#--------------------------------------------------------------------------- - -# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will -# generate Latex output. - -GENERATE_LATEX = NO - -# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `latex' will be used as the default path. - -LATEX_OUTPUT = latex - -# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be -# invoked. If left blank `latex' will be used as the default command name. - -LATEX_CMD_NAME = latex - -# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to -# generate index for LaTeX. If left blank `makeindex' will be used as the -# default command name. - -MAKEINDEX_CMD_NAME = makeindex - -# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact -# LaTeX documents. This may be useful for small projects and may help to -# save some trees in general. - -COMPACT_LATEX = NO - -# The PAPER_TYPE tag can be used to set the paper type that is used -# by the printer. Possible values are: a4, a4wide, letter, legal and -# executive. If left blank a4wide will be used. - -PAPER_TYPE = a4wide - -# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX -# packages that should be included in the LaTeX output. - -EXTRA_PACKAGES = - -# The LATEX_HEADER tag can be used to specify a personal LaTeX header for -# the generated latex document. The header should contain everything until -# the first chapter. If it is left blank doxygen will generate a -# standard header. Notice: only use this tag if you know what you are doing! - -LATEX_HEADER = - -# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated -# is prepared for conversion to pdf (using ps2pdf). The pdf file will -# contain links (just like the HTML output) instead of page references -# This makes the output suitable for online browsing using a pdf viewer. - -PDF_HYPERLINKS = NO - -# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of -# plain latex in the generated Makefile. Set this option to YES to get a -# higher quality PDF documentation. - -USE_PDFLATEX = NO - -# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. -# command to the generated LaTeX files. This will instruct LaTeX to keep -# running if errors occur, instead of asking the user for help. -# This option is also used when generating formulas in HTML. - -LATEX_BATCHMODE = NO - -# If LATEX_HIDE_INDICES is set to YES then doxygen will not -# include the index chapters (such as File Index, Compound Index, etc.) -# in the output. - -LATEX_HIDE_INDICES = NO - -#--------------------------------------------------------------------------- -# configuration options related to the RTF output -#--------------------------------------------------------------------------- - -# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output -# The RTF output is optimized for Word 97 and may not look very pretty with -# other RTF readers or editors. - -GENERATE_RTF = NO - -# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `rtf' will be used as the default path. - -RTF_OUTPUT = rtf - -# If the COMPACT_RTF tag is set to YES Doxygen generates more compact -# RTF documents. This may be useful for small projects and may help to -# save some trees in general. - -COMPACT_RTF = NO - -# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated -# will contain hyperlink fields. The RTF file will -# contain links (just like the HTML output) instead of page references. -# This makes the output suitable for online browsing using WORD or other -# programs which support those fields. -# Note: wordpad (write) and others do not support links. - -RTF_HYPERLINKS = NO - -# Load stylesheet definitions from file. Syntax is similar to doxygen's -# config file, i.e. a series of assignments. You only have to provide -# replacements, missing definitions are set to their default value. - -RTF_STYLESHEET_FILE = - -# Set optional variables used in the generation of an rtf document. -# Syntax is similar to doxygen's config file. - -RTF_EXTENSIONS_FILE = - -#--------------------------------------------------------------------------- -# configuration options related to the man page output -#--------------------------------------------------------------------------- - -# If the GENERATE_MAN tag is set to YES (the default) Doxygen will -# generate man pages - -GENERATE_MAN = NO - -# The MAN_OUTPUT tag is used to specify where the man pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `man' will be used as the default path. - -MAN_OUTPUT = man - -# The MAN_EXTENSION tag determines the extension that is added to -# the generated man pages (default is the subroutine's section .3) - -MAN_EXTENSION = .3 - -# If the MAN_LINKS tag is set to YES and Doxygen generates man output, -# then it will generate one additional man file for each entity -# documented in the real man page(s). These additional files -# only source the real man page, but without them the man command -# would be unable to find the correct page. The default is NO. - -MAN_LINKS = NO - -#--------------------------------------------------------------------------- -# configuration options related to the XML output -#--------------------------------------------------------------------------- - -# If the GENERATE_XML tag is set to YES Doxygen will -# generate an XML file that captures the structure of -# the code including all documentation. - -GENERATE_XML = NO - -# The XML_OUTPUT tag is used to specify where the XML pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `xml' will be used as the default path. - -XML_OUTPUT = xml - -# The XML_SCHEMA tag can be used to specify an XML schema, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - -XML_SCHEMA = - -# The XML_DTD tag can be used to specify an XML DTD, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - -XML_DTD = - -# If the XML_PROGRAMLISTING tag is set to YES Doxygen will -# dump the program listings (including syntax highlighting -# and cross-referencing information) to the XML output. Note that -# enabling this will significantly increase the size of the XML output. - -XML_PROGRAMLISTING = YES - -#--------------------------------------------------------------------------- -# configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- - -# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will -# generate an AutoGen Definitions (see autogen.sf.net) file -# that captures the structure of the code including all -# documentation. Note that this feature is still experimental -# and incomplete at the moment. - -GENERATE_AUTOGEN_DEF = NO - -#--------------------------------------------------------------------------- -# configuration options related to the Perl module output -#--------------------------------------------------------------------------- - -# If the GENERATE_PERLMOD tag is set to YES Doxygen will -# generate a Perl module file that captures the structure of -# the code including all documentation. Note that this -# feature is still experimental and incomplete at the -# moment. - -GENERATE_PERLMOD = NO - -# If the PERLMOD_LATEX tag is set to YES Doxygen will generate -# the necessary Makefile rules, Perl scripts and LaTeX code to be able -# to generate PDF and DVI output from the Perl module output. - -PERLMOD_LATEX = NO - -# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be -# nicely formatted so it can be parsed by a human reader. This is useful -# if you want to understand what is going on. On the other hand, if this -# tag is set to NO the size of the Perl module output will be much smaller -# and Perl will parse it just the same. - -PERLMOD_PRETTY = YES - -# The names of the make variables in the generated doxyrules.make file -# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. -# This is useful so different doxyrules.make files included by the same -# Makefile don't overwrite each other's variables. - -PERLMOD_MAKEVAR_PREFIX = - -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- - -# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will -# evaluate all C-preprocessor directives found in the sources and include -# files. - -ENABLE_PREPROCESSING = YES - -# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro -# names in the source code. If set to NO (the default) only conditional -# compilation will be performed. Macro expansion can be done in a controlled -# way by setting EXPAND_ONLY_PREDEF to YES. - -MACRO_EXPANSION = NO - -# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES -# then the macro expansion is limited to the macros specified with the -# PREDEFINED and EXPAND_AS_DEFINED tags. - -EXPAND_ONLY_PREDEF = NO - -# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files -# in the INCLUDE_PATH (see below) will be search if a #include is found. - -SEARCH_INCLUDES = YES - -# The INCLUDE_PATH tag can be used to specify one or more directories that -# contain include files that are not input files but should be processed by -# the preprocessor. - -INCLUDE_PATH = - -# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard -# patterns (like *.h and *.hpp) to filter out the header-files in the -# directories. If left blank, the patterns specified with FILE_PATTERNS will -# be used. - -INCLUDE_FILE_PATTERNS = - -# The PREDEFINED tag can be used to specify one or more macro names that -# are defined before the preprocessor is started (similar to the -D option of -# gcc). The argument of the tag is a list of macros of the form: name -# or name=definition (no spaces). If the definition and the = are -# omitted =1 is assumed. To prevent a macro definition from being -# undefined via #undef or recursively expanded use the := operator -# instead of the = operator. - -PREDEFINED = - -# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then -# this tag can be used to specify a list of macro names that should be expanded. -# The macro definition that is found in the sources will be used. -# Use the PREDEFINED tag if you want to use a different macro definition. - -EXPAND_AS_DEFINED = - -# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then -# doxygen's preprocessor will remove all function-like macros that are alone -# on a line, have an all uppercase name, and do not end with a semicolon. Such -# function macros are typically used for boiler-plate code, and will confuse -# the parser if not removed. - -SKIP_FUNCTION_MACROS = YES - -#--------------------------------------------------------------------------- -# Configuration::additions related to external references -#--------------------------------------------------------------------------- - -# The TAGFILES option can be used to specify one or more tagfiles. -# Optionally an initial location of the external documentation -# can be added for each tagfile. The format of a tag file without -# this location is as follows: -# TAGFILES = file1 file2 ... -# Adding location for the tag files is done as follows: -# TAGFILES = file1=loc1 "file2 = loc2" ... -# where "loc1" and "loc2" can be relative or absolute paths or -# URLs. If a location is present for each tag, the installdox tool -# does not have to be run to correct the links. -# Note that each tag file must have a unique name -# (where the name does NOT include the path) -# If a tag file is not located in the directory in which doxygen -# is run, you must also specify the path to the tagfile here. - -TAGFILES = - -# When a file name is specified after GENERATE_TAGFILE, doxygen will create -# a tag file that is based on the input files it reads. - -GENERATE_TAGFILE = - -# If the ALLEXTERNALS tag is set to YES all external classes will be listed -# in the class index. If set to NO only the inherited external classes -# will be listed. - -ALLEXTERNALS = NO - -# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed -# in the modules index. If set to NO, only the current project's groups will -# be listed. - -EXTERNAL_GROUPS = YES - -# The PERL_PATH should be the absolute path and name of the perl script -# interpreter (i.e. the result of `which perl'). - -PERL_PATH = /usr/bin/perl - -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- - -# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will -# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base -# or super classes. Setting the tag to NO turns the diagrams off. Note that -# this option is superseded by the HAVE_DOT option below. This is only a -# fallback. It is recommended to install and use dot, since it yields more -# powerful graphs. - -CLASS_DIAGRAMS = YES - -# You can define message sequence charts within doxygen comments using the \msc -# command. Doxygen will then run the mscgen tool (see -# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the -# documentation. The MSCGEN_PATH tag allows you to specify the directory where -# the mscgen tool resides. If left empty the tool is assumed to be found in the -# default search path. - -MSCGEN_PATH = - -# If set to YES, the inheritance and collaboration graphs will hide -# inheritance and usage relations if the target is undocumented -# or is not a class. - -HIDE_UNDOC_RELATIONS = YES - -# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is -# available from the path. This tool is part of Graphviz, a graph visualization -# toolkit from AT&T and Lucent Bell Labs. The other options in this section -# have no effect if this option is set to NO (the default) - -HAVE_DOT = YES - -# By default doxygen will write a font called FreeSans.ttf to the output -# directory and reference it in all dot files that doxygen generates. This -# font does not include all possible unicode characters however, so when you need -# these (or just want a differently looking font) you can specify the font name -# using DOT_FONTNAME. You need need to make sure dot is able to find the font, -# which can be done by putting it in a standard location or by setting the -# DOTFONTPATH environment variable or by setting DOT_FONTPATH to the directory -# containing the font. - -DOT_FONTNAME = FreeSans - -# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs. -# The default size is 10pt. - -DOT_FONTSIZE = 10 - -# By default doxygen will tell dot to use the output directory to look for the -# FreeSans.ttf font (which doxygen will put there itself). If you specify a -# different font using DOT_FONTNAME you can set the path where dot -# can find it using this tag. - -DOT_FONTPATH = - -# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect inheritance relations. Setting this tag to YES will force the -# the CLASS_DIAGRAMS tag to NO. - -CLASS_GRAPH = YES - -# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect implementation dependencies (inheritance, containment, and -# class references variables) of the class with other documented classes. - -COLLABORATION_GRAPH = NO - -# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for groups, showing the direct groups dependencies - -GROUP_GRAPHS = YES - -# If the UML_LOOK tag is set to YES doxygen will generate inheritance and -# collaboration diagrams in a style similar to the OMG's Unified Modeling -# Language. - -UML_LOOK = NO - -# If set to YES, the inheritance and collaboration graphs will show the -# relations between templates and their instances. - -TEMPLATE_RELATIONS = NO - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT -# tags are set to YES then doxygen will generate a graph for each documented -# file showing the direct and indirect include dependencies of the file with -# other documented files. - -INCLUDE_GRAPH = YES - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and -# HAVE_DOT tags are set to YES then doxygen will generate a graph for each -# documented header file showing the documented files that directly or -# indirectly include this file. - -INCLUDED_BY_GRAPH = YES - -# If the CALL_GRAPH and HAVE_DOT options are set to YES then -# doxygen will generate a call dependency graph for every global function -# or class method. Note that enabling this option will significantly increase -# the time of a run. So in most cases it will be better to enable call graphs -# for selected functions only using the \callgraph command. - -CALL_GRAPH = NO - -# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then -# doxygen will generate a caller dependency graph for every global function -# or class method. Note that enabling this option will significantly increase -# the time of a run. So in most cases it will be better to enable caller -# graphs for selected functions only using the \callergraph command. - -CALLER_GRAPH = NO - -# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen -# will graphical hierarchy of all classes instead of a textual one. - -GRAPHICAL_HIERARCHY = YES - -# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES -# then doxygen will show the dependencies a directory has on other directories -# in a graphical way. The dependency relations are determined by the #include -# relations between the files in the directories. - -DIRECTORY_GRAPH = YES - -# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images -# generated by dot. Possible values are png, jpg, or gif -# If left blank png will be used. - -DOT_IMAGE_FORMAT = jpg - -# The tag DOT_PATH can be used to specify the path where the dot tool can be -# found. If left blank, it is assumed the dot tool can be found in the path. - -DOT_PATH = "C:\Program Files (x86)\Graphviz2.20\bin" - -# The DOTFILE_DIRS tag can be used to specify one or more directories that -# contain dot files that are included in the documentation (see the -# \dotfile command). - -DOTFILE_DIRS = - -# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of -# nodes that will be shown in the graph. If the number of nodes in a graph -# becomes larger than this value, doxygen will truncate the graph, which is -# visualized by representing a node as a red box. Note that doxygen if the -# number of direct children of the root node in a graph is already larger than -# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note -# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH. - -DOT_GRAPH_MAX_NODES = 50 - -# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the -# graphs generated by dot. A depth value of 3 means that only nodes reachable -# from the root by following a path via at most 3 edges will be shown. Nodes -# that lay further from the root node will be omitted. Note that setting this -# option to 1 or 2 may greatly reduce the computation time needed for large -# code bases. Also note that the size of a graph can be further restricted by -# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction. - -MAX_DOT_GRAPH_DEPTH = 0 - -# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent -# background. This is disabled by default, because dot on Windows does not -# seem to support this out of the box. Warning: Depending on the platform used, -# enabling this option may lead to badly anti-aliased labels on the edges of -# a graph (i.e. they become hard to read). - -DOT_TRANSPARENT = NO - -# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output -# files in one run (i.e. multiple -o and -T options on the command line). This -# makes dot run faster, but since only newer versions of dot (>1.8.10) -# support this, this feature is disabled by default. - -DOT_MULTI_TARGETS = NO - -# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will -# generate a legend page explaining the meaning of the various boxes and -# arrows in the dot generated graphs. - -GENERATE_LEGEND = YES - -# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will -# remove the intermediate dot files that are used to generate -# the various graphs. - -DOT_CLEANUP = YES - -#--------------------------------------------------------------------------- -# Options related to the search engine -#--------------------------------------------------------------------------- - -# The SEARCHENGINE tag specifies whether or not a search engine should be -# used. If set to NO the values of all tags below this one will be ignored. - -SEARCHENGINE = NO diff --git a/AMDiS/lib/muparser_v134/docs/html/images/Crystal_Clear_app_utilities.png b/AMDiS/lib/muparser_v134/docs/html/images/Crystal_Clear_app_utilities.png deleted file mode 100755 index e38ca2b32e1ef899272b1bf4189140cb9b569988..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/Crystal_Clear_app_utilities.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/api.png b/AMDiS/lib/muparser_v134/docs/html/images/api.png deleted file mode 100755 index 7c3af3b16b2bfb398a08db3b666c4c5c3a5a4e56..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/api.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/api_dark.png b/AMDiS/lib/muparser_v134/docs/html/images/api_dark.png deleted file mode 100755 index e58e04bc15593eaa63165b1d7c61b9527ed4bba5..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/api_dark.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/bench2.jpg b/AMDiS/lib/muparser_v134/docs/html/images/bench2.jpg deleted file mode 100644 index 2b25fdeb3c2ab635db109e26206cd81866dc50fc..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/bench2.jpg and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/blocks.png b/AMDiS/lib/muparser_v134/docs/html/images/blocks.png deleted file mode 100755 index 58b323e04937003709cf1cdedb95386408caa111..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/blocks.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/build.png b/AMDiS/lib/muparser_v134/docs/html/images/build.png deleted file mode 100755 index 294b4e0f012ef733db77653a0897724e7992dcda..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/build.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/bytecode.png b/AMDiS/lib/muparser_v134/docs/html/images/bytecode.png deleted file mode 100644 index 3faa404e6b27e97e430537ebcb2370f28e8967a4..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/bytecode.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/caption.png b/AMDiS/lib/muparser_v134/docs/html/images/caption.png deleted file mode 100755 index 308abd7d321e99761dfe925d01c1bf7c74632084..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/caption.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/diff.png b/AMDiS/lib/muparser_v134/docs/html/images/diff.png deleted file mode 100644 index 9b3aad8c16a4ec692ea37e5f2000cf68d9817e65..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/diff.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/download.gif b/AMDiS/lib/muparser_v134/docs/html/images/download.gif deleted file mode 100644 index b50dcc68bb0ce3e99bc4d8d2246574be6fecdcb8..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/download.gif and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/download.png b/AMDiS/lib/muparser_v134/docs/html/images/download.png deleted file mode 100755 index 77a1b8778d4e20027d225cbf0e7b18ad7f4b4986..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/download.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/download_dark.png b/AMDiS/lib/muparser_v134/docs/html/images/download_dark.png deleted file mode 100755 index 2dc6fa29a485d048bc4b4963c9fd7558e0225d61..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/download_dark.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/download_muparser.png b/AMDiS/lib/muparser_v134/docs/html/images/download_muparser.png deleted file mode 100644 index 03638f6303c3a2f4639dfaa4701ffd9daba11f3d..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/download_muparser.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/download_muparser_.png b/AMDiS/lib/muparser_v134/docs/html/images/download_muparser_.png deleted file mode 100644 index 7df6ee223517f0b918e266ca270a494406a76870..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/download_muparser_.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/grad1.jpg b/AMDiS/lib/muparser_v134/docs/html/images/grad1.jpg deleted file mode 100644 index 4b8fa756760126de03281064bb5ddcd5d3a38060..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/grad1.jpg and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/grad2.jpg b/AMDiS/lib/muparser_v134/docs/html/images/grad2.jpg deleted file mode 100644 index 659a36ec5b39a6d85cf9cc9045cfde7f9afac3b8..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/grad2.jpg and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/grad2.xcf b/AMDiS/lib/muparser_v134/docs/html/images/grad2.xcf deleted file mode 100644 index bb64620987df64038da8d3a47967335610b38b86..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/grad2.xcf and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/grad3.jpg b/AMDiS/lib/muparser_v134/docs/html/images/grad3.jpg deleted file mode 100644 index a2209d910ce7b788e0be7b9a1b0e33cbb42e2eb8..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/grad3.jpg and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/help.gif b/AMDiS/lib/muparser_v134/docs/html/images/help.gif deleted file mode 100644 index c49667f01c125bee441a82e4bd092a6411b8f259..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/help.gif and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/help.png b/AMDiS/lib/muparser_v134/docs/html/images/help.png deleted file mode 100755 index 4e84cd531451ad70d55abc48fca41b791586baec..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/help.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/home.png b/AMDiS/lib/muparser_v134/docs/html/images/home.png deleted file mode 100755 index 78908a5669e33d0e4675efbb26bf890d2e70b8cc..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/home.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/home_dark.png b/AMDiS/lib/muparser_v134/docs/html/images/home_dark.png deleted file mode 100755 index 820028a97955895db261d6bbda2b915b374c2233..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/home_dark.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/info.png b/AMDiS/lib/muparser_v134/docs/html/images/info.png deleted file mode 100755 index c4f73cb9cc513e81549fd0d91df0b51f32a82fa0..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/info.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/list.png b/AMDiS/lib/muparser_v134/docs/html/images/list.png deleted file mode 100755 index f301a07af9ec7cc0572c03748f23b7c5ee79b5cc..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/list.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/logo.xcf b/AMDiS/lib/muparser_v134/docs/html/images/logo.xcf deleted file mode 100644 index 4db51e12057b7ab13da13fdc7f9072c40def58d3..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/logo.xcf and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/mathparser.jpg b/AMDiS/lib/muparser_v134/docs/html/images/mathparser.jpg deleted file mode 100644 index 1c9e91c7c65ae94e880b48a263decdeb1920bf90..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/mathparser.jpg and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/mathparser_logo.gif b/AMDiS/lib/muparser_v134/docs/html/images/mathparser_logo.gif deleted file mode 100644 index 7ce0dc8ead2ee7f11cb076fcc03daa088b3df91e..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/mathparser_logo.gif and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/mathparser_small.jpg b/AMDiS/lib/muparser_v134/docs/html/images/mathparser_small.jpg deleted file mode 100644 index 66a866eb98dc1bba4b6e7701d569a69a18f0bfde..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/mathparser_small.jpg and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/muParser.png b/AMDiS/lib/muparser_v134/docs/html/images/muParser.png deleted file mode 100644 index af97a17281b0bff3ce9da43309674833ded72ace..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/muParser.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/muParserNET.png b/AMDiS/lib/muparser_v134/docs/html/images/muParserNET.png deleted file mode 100644 index fc87ee2f2781da4d918a00287cf9dcbe38a723a3..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/muParserNET.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/muParserNET.xcf b/AMDiS/lib/muparser_v134/docs/html/images/muParserNET.xcf deleted file mode 100644 index 9c02188400bdf4f3b5ccff33ac47eb3ba5477a92..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/muParserNET.xcf and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/muParserNET_.png b/AMDiS/lib/muparser_v134/docs/html/images/muParserNET_.png deleted file mode 100644 index a353b02ed94331e92370870ae7bc83eef2e8354f..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/muParserNET_.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/muParserX.png b/AMDiS/lib/muparser_v134/docs/html/images/muParserX.png deleted file mode 100644 index a2e6b15d064bac3c9c92ad92e519da8440c870f9..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/muParserX.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/muParserX.xcf b/AMDiS/lib/muparser_v134/docs/html/images/muParserX.xcf deleted file mode 100644 index 4f69880cd9da21202f8d5adb84ed6c36ab95ce7c..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/muParserX.xcf and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/muParserX_.png b/AMDiS/lib/muparser_v134/docs/html/images/muParserX_.png deleted file mode 100644 index 5e12f9fc1852950627ecb3e42495b9a9ad11651d..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/muParserX_.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/osi.jpg b/AMDiS/lib/muparser_v134/docs/html/images/osi.jpg deleted file mode 100644 index f94bf9596ea41da3519592d2af6b632a94cbfae3..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/osi.jpg and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/question.png b/AMDiS/lib/muparser_v134/docs/html/images/question.png deleted file mode 100755 index abf35a71cd5ecb4ce92fbad6c9f77a4011a56033..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/question.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/related.png b/AMDiS/lib/muparser_v134/docs/html/images/related.png deleted file mode 100644 index 11535afd0a2349fc7e7775e44f0a2b2431577257..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/related.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/run.png b/AMDiS/lib/muparser_v134/docs/html/images/run.png deleted file mode 100755 index 985ecb4a3c04430c4f729c4e1a9c6f7647e4dba6..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/run.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/sflogo.png b/AMDiS/lib/muparser_v134/docs/html/images/sflogo.png deleted file mode 100644 index b65567f7357a0c38862ba703985ee6c692de532f..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/sflogo.png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/thumb_geodes.jpg b/AMDiS/lib/muparser_v134/docs/html/images/thumb_geodes.jpg deleted file mode 100644 index 5ef46b83931c0a8691db76d4cbffeaa4f9d1f5fd..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/thumb_geodes.jpg and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/thumb_kst.jpg b/AMDiS/lib/muparser_v134/docs/html/images/thumb_kst.jpg deleted file mode 100644 index 95213ecca0e8ddab7db25fd8fb13b05b8d1f5ca5..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/thumb_kst.jpg and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/thumb_matrix.jpg b/AMDiS/lib/muparser_v134/docs/html/images/thumb_matrix.jpg deleted file mode 100644 index 658aace45c7217e8ccec1402b0f0cbe4e066290a..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/thumb_matrix.jpg and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/thumb_meshlab.jpg b/AMDiS/lib/muparser_v134/docs/html/images/thumb_meshlab.jpg deleted file mode 100644 index 0aca1d987f175f42e77df0bbb1f277dbde4fb774..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/thumb_meshlab.jpg and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/thumb_pasimodo.jpg b/AMDiS/lib/muparser_v134/docs/html/images/thumb_pasimodo.jpg deleted file mode 100644 index 42d7e740b6cef5a0b07574398ff117fdd99b9f96..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/thumb_pasimodo.jpg and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/thumb_qtiplot.jpg b/AMDiS/lib/muparser_v134/docs/html/images/thumb_qtiplot.jpg deleted file mode 100644 index 478da174e15dfb38411239512bd443b00c8ee9b5..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/thumb_qtiplot.jpg and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/thumb_tm2.jpg b/AMDiS/lib/muparser_v134/docs/html/images/thumb_tm2.jpg deleted file mode 100644 index 97fbde4ca080e4963a6c1cf7a6a8d3ec67f08aa6..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/thumb_tm2.jpg and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/thumb_trini.jpg b/AMDiS/lib/muparser_v134/docs/html/images/thumb_trini.jpg deleted file mode 100644 index d6f7d22ffea84eecb160df57cd3e89acc687945f..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/thumb_trini.jpg and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/warning.gif b/AMDiS/lib/muparser_v134/docs/html/images/warning.gif deleted file mode 100644 index a58b7e7da5e358bc49344b5d55ddfd32202372fc..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/warning.gif and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/xxx .png b/AMDiS/lib/muparser_v134/docs/html/images/xxx .png deleted file mode 100644 index 78efda623bdd0b6ac7804f11d0d5886b09c6f837..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/xxx .png and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/images/xxx.xcf b/AMDiS/lib/muparser_v134/docs/html/images/xxx.xcf deleted file mode 100644 index e7789b941f9ec2f9816e1504423e96cf038754e6..0000000000000000000000000000000000000000 Binary files a/AMDiS/lib/muparser_v134/docs/html/images/xxx.xcf and /dev/null differ diff --git a/AMDiS/lib/muparser_v134/docs/html/index.html b/AMDiS/lib/muparser_v134/docs/html/index.html deleted file mode 100644 index 5c81e4c3c0de33e7c005193515781c20b612bb05..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/index.html +++ /dev/null @@ -1,302 +0,0 @@ - - - - - - - - - - - muParser - a fast math parser library - - - - - - -
-
- muParser - a fast math parser library -
-
Version 1.32
-
- -
- - Get muParser - A fast math parser library at SourceForge.net. Fast, secure and Free Open Source software downloads - -
- - - - - -
- - - - - - - - - - -
- - - - - - - - - - - - - - - -
-
- Open source initiative logo -
-
- - Valid XHTML 1.0 Transitional - -
-
- - CSS ist valide! - - -
-
- - - - -

About the parser

- -

-Many applications require the parsing of mathematical expressions. -The main objective of this library is to provide a fast and easy way of -doing this. muParser is an extensible high performance -math parser library written in C++. It works -by transforming a mathematical expression into bytecode and precalculating constant -parts of the expression. -

- - -The library was designed with portability in mind and should compile on every -standard compliant C++ compiler. Wrapper for C and C# -exist. The parser archive contains ready to use project and makefiles files for a variety of -platforms. The code runs on both 32 bit and -64 bit architechtures and has been tested using MS VC++ V8.0 -and GCC V4.4.1. Code samples are provided in order to help you understand its -usage. The library is open source and distributed under -the MIT license. - -
- - muParser download - -
- -

-Before I go on, I'd like to thank SourceForge for hosting this project. This -pages would not exist without the webspace provided by them and of course I'd like -to thank CodeProject for hosting the original -math parser -article. -

- - -

Support this project

-muParser is free software and anyone can use it free of charge for commercial and noncommercial purposes. If you wish you can support this project by making a small donation: -
-
- -
-A project like muParser requires permanent maintanence in order to adopt to new platforms, new compiler version and for fixing bugs. So if you are using the library and find it useful i would like to encourage you to make a donation in order to help keeping the project up to date. I can officially guarantee that you make my day by donating even a small amount of money. In a way this is a "Wow the people actually really appreciate what i'm doing" kind of thing and that's whats driving me and ultimately this is what is keeping this project alive. - - - -
- - - - - -
© 2005-2010 Ingo Berg | - Privacy policy - ^ TOP -
-
-
- -
- - - - diff --git a/AMDiS/lib/muparser_v134/docs/html/misc/Main.txt b/AMDiS/lib/muparser_v134/docs/html/misc/Main.txt deleted file mode 100644 index 6847344504a0f9ef270ffebed4d994be085c00da..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/misc/Main.txt +++ /dev/null @@ -1,44 +0,0 @@ -/** \mainpage -Welcome to the muParser API documentation. These pages contain the muParser API documentation. - - - - - - - - - - -
- - -More muParser resources -
    -
  • The muParser homepage -
    More dokumentation; benchmarks ... -

  • -
  • The official Project page at Sourceforge
    -Downloadlinks for the current and older versions. -

  • -
  • The Project page at CodeProject
    -This is how it started, provides an alternate package for VS2005. -

  • -
  • A CodeProject article featuring a C# wrapper for muParser -
    Uses muParser with C# and the .NET framework. -

  • -
-

- -Things i do when i'm not working on muParser. -

    -
  • -

    Wator Screensaver (for Windows; requires OpenGL) -
    A simulation of predator prey dynamic C# wrapper for muParser -

  • -
  • The magnetic pendulum fractal (for Windows; requires OpenGL) -
    Chaotic motion of a pendulum over three magnets -

  • -
-
-*/ diff --git a/AMDiS/lib/muparser_v134/docs/html/misc/calc.cpp b/AMDiS/lib/muparser_v134/docs/html/misc/calc.cpp deleted file mode 100644 index 0f543dbaecaf86b45b4d648133f201a88e4e072b..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/misc/calc.cpp +++ /dev/null @@ -1,59 +0,0 @@ -//--------------------------------------------------------------------------- -value_type Mega(value_type a_fVal) -{ - return a_fVal * 1e6; -} - -//--------------------------------------------------------------------------- -value_type Not(value_type v) -{ - return v==0; -} - -//--------------------------------------------------------------------------- -value_type Ping() -{ - mu::console() << "ping\n"; - return 0; -} - -//--------------------------------------------------------------------------- -void Calc() -{ - mu::Parser parser; - - parser.SetArgSep(';'); - parser.SetDecSep(','); - parser.SetThousandsSep('.'); - - // Add some variables - value_type a = 10; - parser.DefineVar("a", &a); - parser.DefineStrConst("strBuf", "hello world"); - - // Add user defined unary operators - parser.DefinePostfixOprt("M", Mega); - parser.DefineInfixOprt("!", Not); - parser.DefineFun("ping", Ping, false); - - try - { - string_type sLine; - std::getline(mu::console_in(), sLine); - - parser.SetExpr(sLine); - mu::console() << std::setprecision(12); - mu::console() << parser.Eval() << "\n"; - } - catch(mu::Parser::exception_type &e) - { - mu::console() << "\nError:\n"; - mu::console() << "------\n"; - mu::console() << "Message: " << e.GetMsg() << "\n"; - mu::console() << "Expression: \"" << e.GetExpr() << "\"\n"; - mu::console() << "Token: \"" << e.GetToken() << "\"\n"; - mu::console() << "Position: " << (int)e.GetPos() << "\n"; - mu::console() << "Errc: " << std::dec << e.GetCode() << "\n"; - } -} - diff --git a/AMDiS/lib/muparser_v134/docs/html/misc/example.txt b/AMDiS/lib/muparser_v134/docs/html/misc/example.txt deleted file mode 100644 index cb6fb042ae384079db20bfdb2566e18c35d7571a..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/misc/example.txt +++ /dev/null @@ -1,12 +0,0 @@ -/** \example listvar.cpp - This example shows how to list parser variables. -*/ - -/** \example list_expr_var.cpp - This example shows how to list variables used in an expression. -*/ - -/** \example calc.cpp - This example shows a typical use case of muParser. -*/ - diff --git a/AMDiS/lib/muparser_v134/docs/html/misc/footer.html b/AMDiS/lib/muparser_v134/docs/html/misc/footer.html deleted file mode 100644 index 25dd423ad01baa2954dc86ba688602a68e879a5d..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/misc/footer.html +++ /dev/null @@ -1,19 +0,0 @@ -
-

-


-muParser API documentation - (C) 2009 Ingo Berg -

-
- - - - - - \ No newline at end of file diff --git a/AMDiS/lib/muparser_v134/docs/html/misc/header.html b/AMDiS/lib/muparser_v134/docs/html/misc/header.html deleted file mode 100644 index 921a2baaf58f6e5af0196ee331a908e148101935..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/misc/header.html +++ /dev/null @@ -1,8 +0,0 @@ - -muParser - a fast math parser: Main Page - - - - - - diff --git a/AMDiS/lib/muparser_v134/docs/html/misc/list_expr_var.cpp b/AMDiS/lib/muparser_v134/docs/html/misc/list_expr_var.cpp deleted file mode 100644 index b444c4ad82e307101d17bf72afc2c8d024bb671b..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/misc/list_expr_var.cpp +++ /dev/null @@ -1,15 +0,0 @@ -void ListExprVar(const mu::ParserBase &parser) -{ - varmap_type variables = parser.GetUsedVar(); - if (!variables.size()) - mu::console() << "Expression does not contain variables\n"; - else - { - mu::console() << "Number: " << (int)variables.size() << "\n"; - mu::varmap_type::const_iterator item = variables.begin(); - - for (; item!=variables.end(); ++item) - mu::console() << "Name: " << item->first << " Address: [0x" << item->second << "]\n"; - } -} - diff --git a/AMDiS/lib/muparser_v134/docs/html/misc/listvar.cpp b/AMDiS/lib/muparser_v134/docs/html/misc/listvar.cpp deleted file mode 100644 index e7a106d4e093e3fbb39cf04cf75a92112ac80afe..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/misc/listvar.cpp +++ /dev/null @@ -1,13 +0,0 @@ -void ListVar(const mu::ParserBase &parser) -{ - mu::varmap_type variables = parser.GetVar(); - if (!variables.size()) - return; - - cout << "\nParser variables:\n"; - cout << "-----------------\n"; - cout << "Number: " << (int)variables.size() << "\n"; - varmap_type::const_iterator item = variables.begin(); - for (; item!=variables.end(); ++item) - mu::console() << _T("Name: ") << item->first << _T(" Address: [0x") << item->second << _T("]\n"); -} diff --git a/AMDiS/lib/muparser_v134/docs/html/mup_features.html b/AMDiS/lib/muparser_v134/docs/html/mup_features.html deleted file mode 100644 index 798e0bc520f6d0d47b4de085a04327c1995abf3c..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/mup_features.html +++ /dev/null @@ -1,418 +0,0 @@ - - - - - - - - - - - List of muparser features - - - - - - -
-
- muParser - a fast math parser library -
-
Version 1.32
-
- -
- - Get muParser - A fast math parser library at SourceForge.net. Fast, secure and Free Open Source software downloads - -
- - - - - -
- - - - - - - - - - -
- - - - - - - - - - - - - - - -
-
- Open source initiative logo -
-
- - Valid XHTML 1.0 Transitional - -
-
- - CSS ist valide! - - -
-
- - - - -
-

Features

- -

-The following is a list of the features currently supported by the parser library. -The primary objective is to keep it as extensible as possible whilst ensuring a maximum parsing speed. Extending the parser is mostly based on allowing a user to add custom callbacks which require only an absolute minimum of code. For instance you need exactly 2 lines of code to add a new function. -But extending the parser may not be necessary at all since it comes with a powerful default -implementation. Here is the (incomplete) list of features: -

- - - - -

Overview

- - -
    -
  • Easy to use - -
  • -
  • Extremely fast - -
  • - -
  • User-defined operators -
      -
    • binary operators
    • -
    • postfix operators
    • -
    • infix operators
    • -
    -
  • - -
  • User-defined functions -
      -
    • with a fixed number of up to five arguments
    • -
    • with variable number of arguments
    • -
    • with a single string argument (for database queries)
    • -
    -
  • - -
  • User-defined constants. -
      -
    • numeric constants
    • -
    • string constants
    • -
    -
  • - -
  • User-defined variables. -
      -
    • unlimited in number
    • -
    • definable at parser runtime by the parser
    • -
    • assigning variables in terms of other variables is possible
    • -
    -
  • - -
  • Custom value recognition callbacks -
      -
    • support for binary and hex values.
    • -
    • can be used to implement database queries
    • -
    -
  • - -
  • Default implementaion with many features - -
  • - -
  • Portability -
      -
    • Project / makefiles for MSVC, mingw, autoconf, bcc
    • -
    • ISO 14882 compliant code
    • -
    • DLL version usable from every language able to use function exported in C-style
    • -
    -
  • - -
  • Unit support -
      -
    • Use postfix operators as unit multipliers (3m -> 0.003)
    • -
    -
  • - -
  • Localization -
      -
    • Argument separator, decimal separator, thousands separator can be adjusted to your locale
    • -
    -
  • - -
- - - - -

The default implementation

-

-This section gives an overview on the default features supported by the parser. The default -implementation is defined in the class mu::Parser located in the file -muParser.cpp. The DLL-version uses this class internally. -

- - - - -

Built-in functions

-

-The following table gives an overview of the functions supported by the -default implementation. It lists the function names, the number of -arguments and a brief description. -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name Argc. Explanation
sin 1 sine function
cos 1 cosine function
tan 1 tangens function
asin 1 arcus sine function
acos 1 arcus cosine function
atan 1 arcus tangens function
sinh 1 hyperbolic sine function
cosh 1 hyperbolic cosine
tanh 1 hyperbolic tangens function
asinh 1 hyperbolic arcus sine function
acosh 1 hyperbolic arcus tangens function
atanh 1 hyperbolic arcur tangens function
log2 1 logarithm to the base 2
log10 1 logarithm to the base 10
log 1 logarithm to the base 10
ln 1 logarithm to base e (2.71828...)
exp 1 e raised to the power of x
sqrt 1 square root of a value
sign 1 sign function -1 if x<0; 1 if x>0
rint 1 round to nearest integer
abs 1 absolute value
if 3 if ... then ... else ...
min var. min of all arguments
max var. max of all arguments
sum var. sum of all arguments
avg var. mean value of all arguments
- - -

Built-in binary operators

-

-The following table lists the default binary operators supported by the parser. -

- - - - - - - - - - - - - - - - - - - - - - - -
Operator Meaning Priority
= assignement* -1
and logical and 1
or logical or 1
xor logical xor 1
<= less or equal 2
>= greater or equal 2
!= not equal 2
== equal 2
> greater than 2
< less than 2
+ addition 3
- subtraction 3
* multiplication 4
/ division 4
^ raise x to the power of y 5
-*The assignment operator is special since it changes one of its - arguments and can only by applied to variables. - - -
- - - - - -
© 2005-2010 Ingo Berg | - Privacy policy - ^ TOP -
-
-
- -
- - - - diff --git a/AMDiS/lib/muparser_v134/docs/html/mup_interface.html b/AMDiS/lib/muparser_v134/docs/html/mup_interface.html deleted file mode 100644 index aa42fbb218184ec56cfb7e5035d17dd5fe21596e..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/mup_interface.html +++ /dev/null @@ -1,1190 +0,0 @@ - - - - - - - - - - - muParser programming interface - - - - - - -
-
- muParser - a fast math parser library -
-
Version 1.32
-
- -
- - Get muParser - A fast math parser library at SourceForge.net. Fast, secure and Free Open Source software downloads - -
- - - - - -
- - - - - - - - - - -
- - - - - - - - - - - - - - - -
-
- Open source initiative logo -
-
- - Valid XHTML 1.0 Transitional - -
-
- - CSS ist valide! - - -
-
- - - - - -
-

The parser interface

-The following section gives an overview of the public parser member functions as well as of the functions -exported by the DLL version of the parser. - - -

Parser initialization / deinitialization

-

[DLL interface]

-Create a new instance handle. You can create as many different instance handles as you like. Each will -internally reference a different parser object. When using the DLL it is necessary to manually release -any parser handle created by mupInit() by calling mupRelease(hParser). - -
-parser_handle hParser;
-hParser = mupInit(); // Create a new handle
-
-// use the parser...
-
-mupRelease(hParser); // Release an existing parser handle
-
- -Internally a handle is nothing more than a pointer to a parser object casted to a void pointer. - - -

[Parser class interface]

-Code for creating a new parser object. (In case of dynamic allocation use new and delete -for initialization and deinitialization.) - -
-mu::Parser parser;
-
- - - -

Setting the expression

-

[DLL interface]

-Setting the expression when using the DLL requires a valid parser handle and a pointer to -const char pointing to the expression. - -
-mupSetExpr(hParser, szLine);
-
-See also: Example3/Example3.cpp. - -

[Parser class interface]

-Setting the expression using the parser class requires a std::string containing the expression as the -only parameter. -
-parser.SetExpr(line);
-
-See also: Example1/Example1.cpp; Example2/WndMain.cpp; ParserLib/muParserTest.cpp. - - - -

Evaluating an expression

-

-Expression evaluation is done by calling the mupEval() function in the DLL version or the -Eval() member function of a parser object. When evaluating an expression for the first time -the parser evaluates the expression string directly and creates a bytecode during -this first time evaluation. Every sucessive call to Eval() will evaluate the bytecode directly -unless you call a function that will silently reset the parser to string parse mode. Some functions -invalidate the bytecode due to possible changes in callback -function pointers or variable addresses. In this way they effectively cause a recreation of the -bytecode during the next call to Eval(). -

-

-Internally there are different evaluation functions. One for parsing from a string, the other for -parsing from bytecode (and a third one used only if the expression can be simplified to a constant). -Initially, Eval() will call the string parsing function which is slow due to all the -necessary syntax checking, variable lookup, and bytecode creation. Once this -function succeeds, Eval() will change its internal parse function pointer to either -the bytecode parsing function or the const result function which are significantly (approx. 1000 times) -faster. You don't have to worry about this, it's done automatically, just keep in mind that the -first time evaluation of a new formula is significantly slower than any successive call to -Eval(). -

- -

[DLL interface]

-
-double fVal;
-fVal = mupEval(hParser);
-
-See also: Example3/Example3.cpp. - -

[Parser class interface]

-
-double fVal;
-try
-{
-  fVal = parser.Eval();
-}
-catch (Parser::exception_type &e)
-{
-  std::cout << e.GetMsg() << endl;
-}
-
-See also: Example1/Example1.cpp; Example2/WndMain.cpp. - - - -

Defining identifier character sets

-Sometimes it is necessary to change the character sets that are used for token identifiers in -order to avoid conflicts. The parser uses three different character sets. -
    -
  • The name character set, is used for: -
      -
    • function identifiers
    • -
    • variable identifiers
    • -
    • constant identifiers
    • -
    -
  • -
  • The operator character set is used for: -
      -
    • binary operator identifiers
    • -
    • postfix operator identifiers
    • -
  • - -
  • The Infix operator charset is used for infix operator identifiers only
  • -
- -When using the default implementation mu::muParser directly you can skip this -section. (The DLL version uses the default implementation internally.) - -

[DLL interface]

-
-mupDefineNameChars(hParser, "0123456789_"
-                            "abcdefghijklmnopqrstuvwxyz"
-                            "ABCDEFGHIJKLMNOPQRSTUVWXYZ");
-mupDefineOprtChars(hParser, "abcdefghijklmnopqrstuvwxyz"
-                            "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
-                            "+-*^/?<>=#!$%&|~'_");
-mupDefineInfixOprtChars(hParser, "/+-*^?<>=#!$%&|~'_");
-
- -

[Parser class interface]

-
-parser.DefineNameChars("0123456789_"
-                       "abcdefghijklmnopqrstuvwxyz"
-                       "ABCDEFGHIJKLMNOPQRSTUVWXYZ");
-parser.DefineOprtChars("abcdefghijklmnopqrstuvwxyz"
-                       "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
-                       "+-*^/?<>=#!$%&|~'_");
-parser.DefineInfixOprtChars("/+-*^?<>=#!$%&|~'_");
-
-See also: ParserLib/muParser.cpp; ParserLib/muParserInt.cpp. - - - -

Defining parser variables

-Custom variables can be defined either explicit in the code by using the DefineVar function or implicit by the parser. Implicit declaration will call a variable factory function provided by the user. The parser is never the owner of its variables. So you must take care of their destruction in case of dynamic allocation. The general idea is to bind every parser variable to a C++ variable. For this reason, you have to make sure the C++ variable stays valid as long as you process a formula that needs it. Only variables of type double are supported. - - -

Explicitely defining variables

-Explicitely in this context means you have to do add the variables manually it in your application code. So you must know in advance which variables you intend to use. If this is not the case have a look at -the section on Implicit creation of new variables. - - - - - - -
warningDefining new Variables will reset the parser bytecode. Do not use this function just for changing the values of variables! It would dramatically reduce the parser performance! Once the parser knows the address of the variable there is no need to explicitely call a function for changing the value. Since the parser knows the address it knows the value too so simply change the C++ variable in your code directly!
- -

[DLL interface]

-The first parameter is a valid parser handle, the second the variable name and the third a pointer to -the associated C++ variable. - -
-double fVal=0;
-mupDefineVar(hParser, "a", &fVal);
-
-See also: Example3/Example3.cpp. - -

[Parser class interface]

- -The first parameter is the variable name and the second a pointer to the associated C++ variable. - -
-double fVal=0;
-parser.DefineVar("a", &fVal);
-
-See also: Example1/Example1.cpp; Example2/WndMain.cpp; ParserLib/muParserTest.cpp. - - -

Implicit creation of new variables

-Implicit declaration of new variables is only possible by setting a factory function. Implicit creation -means that everytime the parser finds an unknown token at a position where a variable could be located it -creates a new variable with that name automatically. The necessary factory function must be of type: -
double* (*facfun_type)(const char*, void*)
-The first argument to a factory function is the name of the variable found by the parser. The second is a pointer -to user defined data. This pointer can be used to provide a pointer to a class that implements the actual factory. -By doing this it is possible to use custom factory classes depending on the variable name. - - - - -
warning Be aware of name conflicts! Please notice that recognizing the name of an undefined variable is the last step during parser token detection. If the potential variable name starts with identifiers that could be interpreted as a function or operator it will be detected as such most likely resulting in an syntax error.
- -The following code is an example of a factory function. The example does not use dynamic allocation for -the new variables although this would be possible too. But when using dynamic allocation you must keep -track of the variables allocated implicitely in order to free them later on. - -
-double* AddVariable(const char *a_szName, void *pUserData)
-{
-  static double afValBuf[100];
-  static int iVal = 0;
-
-  std::cout << "Generating new variable \""
-            << a_szName << "\" (slots left: "
-            << 99-iVal << ")" << endl;
-
-  // you could also do:
-  // MyFactory *pFactory = (MyFactory*)pUserData;
-  // pFactory->CreateNewVariable(a_szName);
-
-  afValBuf[iVal++] = 0;
-  if (iVal>=99)
-    throw mu::Parser::exception_type("Variable buffer overflow.");
-
-  return &afValBuf[iVal];
-}
-
-See also: Example1/Example1.cpp. - -In order to add a variable factory use the SetVarFactory functions. The first parameter -is a pointer to the static factory function, the second parameter is optional and represents a pointer -to user defined data. Without a variable factory each undefined variable will cause an undefined token error. Factory -functions can be used to query the values of newly created variables directly from a -database. If you emit errors from a factory function be sure to throw an exception of -type ParserBase::exception_type all other exceptions will be caught internally -and result in an internal error. - -

[DLL interface]

-
-mupSetVarFactory(hParser, AddVariable, pUserData);
-
-See also: Example3/Example3.cpp. - -

[Parser class interface]

-
-parser.SetVarFactory(AddVariable, pUserData);
-
-See also: Example1/Example1.cpp. - - - - - -

Defining parser constants

-Parser constants can either be values of type double or string. Constness -refers to the bytecode. Constants will be stored by their value in the bytecode, not by a reference to -their address. Thus accessing them is faster. They may be optimized away if this is possible. -Defining new constants or changing old ones will reset the parser to string parsing mode thus resetting -the bytecode. -
-The Names of user defined constants may contain only the following characters: 0-9, a-z, A-Z, _, and they may not start with a number. Violating this rule will raise a parser error. - -

[DLL interface]

-
-// Define value constants _pi
-mupDefineConst(hParser, "_pi", (double)PARSER_CONST_PI);
-
-// Define a string constant named strBuf
-mupDefineStrConst("strBuf", "hello world");
-
-See also: Example3/Example3.cpp. - - -

[Parser class interface]

-
-// Define value constant _pi
-parser.DefineConst("_pi", (double)PARSER_CONST_PI);
-
-// Define a string constant named strBuf
-parser.DefineStrConst("strBuf", "hello world");
-
-See also: Example1/Example1.cpp; Example2/WndMain.cpp; ParserLib/muParserTest.cpp. - - - - -

Defining parser functions

-The parser allows the user to define a variety of different callback functions. -Functions with a fixed number of up to five numeric arguments, functions with -a variable number of numeric arguments and functions taking a sinlge string -argument plus up to two numeric values. -In order to define a parser function you need to specify its name, a pointer -to a static callback function and an optional flag indicating if the function -is volatile. Volatile functions are functions that can not be optimized. -
-The static callback functions must have of either one of the following types: - -
-// For fixed number of arguments
-double (*fun_type1)(double);
-double (*fun_type2)(double, double);
-double (*fun_type3)(double, double, double);
-double (*fun_type4)(double, double, double, double);
-double (*fun_type5)(double, double, double, double, double);
-
-// for a variable number of arguments
-//   first arg:   pointer to the arguments
-//   second arg:  number of arguments
-double (*multfun_type)(const double*, int);
-
-// for functions taking a single string plus up to two numeric values
-double (*strfun_type1)(const char *);
-double (*strfun_type2)(const char *, double);
-double (*strfun_type3)(const char *, double, double);
-
- - -

[DLL interface]

-When using the DLL version it is necessary to call a seperate function for -each type of callback. The following is a list of possible choices. - -
-// Add functions taking string parameters that cant be optimized
-mupDefineStrFun1(hParser, "StrFun1", pStrCallback1, false);
-mupDefineStrFun2(hParser, "StrFun2", pStrCallback2, false);
-mupDefineStrFun3(hParser, "StrFun3", pStrCallback3, false);
-
-// Add an function with a fixed number of arguments
-mupDefineFun1(hParser, "fun1", pCallback1, false);
-mupDefineFun2(hParser, "fun2", pCallback2, false);
-mupDefineFun3(hParser, "fun3", pCallback3, false);
-mupDefineFun4(hParser, "fun4", pCallback4, false);
-mupDefineFun5(hParser, "fun5", pCallback5, false);
-
-// Define a function with variable number of arguments
-mupDefineMultFun(hParser, "MultFun", pMultCallback);
-
-See also: Example3.cpp. - - -

[Parser class interface]

-Defining callback functions by using the parser class directly is easier since there is -only a single member function that is used for all kinds of callbacks. Since -this member function is defined as a template internally it automatically associates -the right code to any given type of callback. (As long as this type is listed -above) - -
-parser.DefineFun("FunName", pCallback, false)
-
-See also: Example1/Example1.cpp; ParserLib/muParser.cpp; ParserLib/muParserInt.cpp. - - - -

Defining parser operators

-The parser is extensible with different kinds of operators: prefix operators, infix operators -and binary operators. Operators can be applied to numerical values only (not to string constants). - -
    -
  • Postfix operators are operators that succeed values. For instance the factorial operator - (a! = a*(a-1)...*2*1). Another application for postfix operators is their use as multipliers - that can be used for implementing units.
  • -
  • Infix operators are operators like the unary minus which serves as a sign or the logical - not "!(a<9)".
  • -
  • Binary operators can be defined in order to supplement or replace the built in binary operators - they require an additional parameter, the operator priority.
  • -
- - - - - -

Unary operators

-Both postfix and infix operators take callback functions of type fun_type1 like the following: - -
-double MyCallback(double fVal)
-{
-  return fVal/1000.0;
-}
-
- -For defining postfix operators and infix operators you need a valid parser instance, -an identifier string, and an optional third parameter marking the operator as volatile -(non optimizable). - -

[DLL interface]

-
-// Define an infix operator
-mupDefineInfixOprt(hParser, "!", MyCallback);
-
-// Define a postfix operators
-mupDefinePostfixOprt(hParser, "M", MyCallback);
-
-See also:Example3/Example3.cpp. - -

[Parser class interface]

-
-// Define an infix operator
-parser.DefineInfixOprt("!", MyCallback);
-
-// Define a postfix operators
-parser.DefinePostfixOprt("m", MyCallback);
-
-See also:Example1/Example1.cpp; Example2/WndMain.cpp; muParserTest.cpp. - - - - - - -

Binary operators

-This parser has 15 Built in binary operators. Sometimes it might be necessary to add additional custom binary operators. Examples are shl or shr, the "shift left" and "shift right" operators for integer numbers. -In order to add user defined operators you need to assign a name, a callback function of type fun_type2 and a priority for each new binary operator. You are not allowed to overload built in operators, this would result in an error being raised! For instance lets consider the -following callback function which should be assigned to a binary operator: - -
-double pMyAddFun(double v1, double v2)
-{
-  return v1+v2;
-}
-
- -For the definintion of binary operators you need at least 4 parameters. The first is a valid parser handle, -the second is the identifier of the operator, the third is the operator callback function, the fourth is -the operator priority and the optional fifth parameter is a flag of type bool marking the operator -as volatile. (The examples below omit the last flag.) -Having defined a proper operator callback function you can add the binary operator with the following code: - -

[DLL interface]

-
-mupDefineOprt(hParser, "add", pMyAddFun, 0);
-
-See also:Example3/Example3.cpp. - -

[Parser class interface]

-
-parser.DefineOprt("add", pMyAddFun, 0);
-
-See also:Example1/Example1.cpp; Example2/WndMain.cpp; muParserTest.cpp. - -The priority value must be greater or equal than zero (lowest possible priority). It controls the operator precedence in the formula. For instance if you want to calculate the formula 1+2*3^4 in a mathemetically correct sense you have to make sure that Addition has a lower priority than multiplication which in turn has a lower priority than the power operator. The most likely cases are that you assign an operator with a low priority of 0 (like and, or, xor) or a high priority that is larger than 6. (The priority of the power operator (^).) -By assigning Priority values already used by built in operators you might introduce unwanted side effects. To avoid this and make the order of calculation clear you must use brackets in these cases. Otherwise the order will be determined by the Formula parsing direction which is from left to right. -
-
-Example A: Priority of shl equals priority of an addition; The order of the execution is from left to right. -
-1 + 2 shl 1 => (1 + 2) shl 1
-2 shl 1 + 1 => (s shl 1) + 1
-
-Example B: Priority of shl is higher than the one of the addition; shl is executed first. -
-1 + 2 shl 1 => 1 + (2 shl 1)
-2 shl 1 + 1 => (2 shl 1) + 1
-
- -If you encounter such conflicts or simply dont need the built in operators these can easily be deactivated using the EnableBuiltInOprt(bool) function. If you call this function you must add binary operators manually. After all without any operators you won't be able to parse anything useful. User defined operators come with approximately 10% decrease in parsing speed compared to built in operators. There is no way to avoid that. They cause an overhead when calling theeir callback functions. (This is the reason why there are built in operators) - -
-// disable all built in operators
-parser.EnableBuiltInOprt(false);
-
- - - - -

Querying parser variables

-Keeping track of all variables can be a difficult task. For simplification the parser allows the user -to query the variables defined in the parser. There are two different sets of variables that can -be accessed: - -
    -
  • Varaiables defined in the parser
  • -
  • Variables used in the current expression
  • -
- -Since the usage of the necessary commands is similar the following example shows -querying the parser variables only. - - -

[DLL interface]

-For querying the variables used in the expression exchange mupGetVarNum(...) with -mupGetExprVarNum(...) and mupGetVar(...) with mupGetExprVar(...) -in the following example. Due to the use of an temporary internal static buffer for storing the variable -name in the DLL version this DLL-function is not thread safe. - -
-// Get the number of variables
-int iNumVar = mupGetVarNum(a_hParser);
-
-// Query the variables
-for (int i=0; i < iNumVar; ++i)
-{
-  const char *szName = 0;
-  double *pVar = 0;
-  mupGetVar(a_hParser, i, &szName, &pVar);
-  std::cout << "Name: " << szName << "   Address: [0x" << pVar << "]\n";
-}
-
-See also: Example3/Example3.cpp. - -

[Parser class interface]

-For querying the expression variables exchange parser.GetVar() with -parser.GetUsedVar() in the following example. - -
-// Get the map with the variables
-mu::Parser::varmap_type variables = parser.GetVar();
-cout << "Number: " << (int)variables.size() << "\n";
-
-// Get the number of variables
-mu::Parser::varmap_type::const_iterator item = variables.begin();
-
-// Query the variables
-for (; item!=variables.end(); ++item)
-{
-  cout << "Name: " << item->first << " Address: [0x" << item->second << "]\n";
-}
-
- - - See also: Example1/Example1.cpp, Example2/WndMain.cpp. - - - - - -

Querying parser constants

-Querying parser constants is similar to querying variables and expression variables. - -

[DLL interface]

-Due to the use of an temporary internal static buffer for storing the variable -name in the DLL version this DLL-function is not thread safe. - -
-int iNumVar = mupGetConstNum(a_hParser);
-
-for (int i=0; i < iNumVar; ++i)
-{
-  const char *szName = 0;
-  double fVal = 0;
-  mupGetConst(a_hParser, i, &szName, fVal);
-  std::cout << "  " << szName << " = " << fVal << "\n";
-}
-
- - - See also: Example3/Example3.cpp. - - - -

[Parser class interface]

-The parser class provides you with the GetConst() member function that returns a map structure -with all defined constants. The following code snippet shows how to use it: -
-mu::Parser::valmap_type cmap = parser.GetConst();
-if (cmap.size())
-{
-  mu::Parser::valmap_type::const_iterator item = cmap.begin();
-  for (; item!=cmap.end(); ++item)
-    cout << "  " << item->first << " =  " << item->second << "\n";
-}
-
-See also: Example1/Example1.cpp, Example2/WndMain.cpp. - - - - -

Setting custom value recognition callbacks

-The parser default implementation (muParser.cpp) scans expressions -only for floating point values. Custom value recognition callbacks can be used in order to -implement support for binary, hexadecimal or octal numbers. These functions are called -during the string parsing and allow the user to scan portions of the original expressions -for values. Their callback functions must be of the following type: - -
-bool (*identfun_type)(const char_type*, int&, value_type&);
-
- -

-If the parser reaches an a position during string parsing that could host a value token it -tries to interpret it as such. If that fails the parser sucessively calls all -internal value recognition callbacks in order to give them a chance to make -sense out of what has been found. If all of them fail the parser continues to -check if it is a Variable or another kind of token. -

- -

-In order to perform the task of value recognition these functions take a const char -pointer, a reference to int and a reference -to double as their arguments. -The const char pointer points to the current formula position. The second -argument is the index of that position. This value must be increased by the length of the -value entry if one has been found. In that case the value must be written to the third -argument which is of type double. -

- -

-The next code snippet shows a sample implementation of a function that reads and -interprets binary values from the expression string. The code is taken from -muParserInt.cpp the implementation of a parser for integer numbers. Binary -numbers must be preceded with a # (i.e. #1000101). -

- -
-bool ParserInt::IsBinVal(const char_type *a_szExpr,
-                         int &a_iPos, value_type &a_fVal)
-{
-  if (a_szExpr[0]!='#')
-    return false;
-
-  unsigned iVal = 0, iBits = sizeof(iVal)*8;
-  for (unsigned i=0;
-       (a_szExpr[i+1]=='0'||a_szExpr[i+1]=='1')&& i<iBits;
-       ++i)
-  {
-    iVal |= (int)(a_szExpr[i+1]=='1') << ((iBits-1)-i);
-  }
-
-  if (i==0)
-    return false;
-
-  if (i==iBits)
-    throw exception_type("Binary to integer conversion error (overflow).");
-
-  a_fVal = (unsigned)(iVal >> (iBits-i) );
-  a_iPos += i+1;
-
-  return true;
-}
-
- -Once you have the callback you must add it to the parser. This can be done with: - -

[DLL interface]

-
-mupAddValIdent(hParser, IsBinVal);
-
- - -See also: Example3/Example3.cpp. - - - -

[Parser class interface]

-
-parser.AddValIdent(IsBinVal);
-
- -See also: ParserLib/muParserInt.cpp. - - - - -

Removing variables or constants

-Removing variables and constants can be done all at once using ClearVar and -ClearConst. Additionally variables can be removed by name using -RemoveVar. Since the parser never owns the variables you must take care of -their release yourself (if they were dynamically allocated). If you need to browse all -the variables have a look at the chapter explaining how to -query parser variables. - - -

[DLL interface]

-
-// Remove all constants
-mupClearConst(hParser);
-
-// remove all variables
-mupClearVar(hParser);
-
-// remove a single variable by name
-mupRemoveVar(hParser, "a");
-
- - -

[Parser class interface]

-
-// Remove all constants
-parser.ClearConst();
-
-// remove all variables
-parser.ClearVar();
-
-// remove a single variable by name
-parser.RemoveVar("a");
-
- - - - -

Error handling

-In case of an error both parser class and the parser DLL provide -similar methods for querying the information associated with the -error. In the parser class they are member functions of the associated -exception class mu::Parser::exception_type and in the DLL -version they are normal functions. - -

-These functions are: -

- -
    -
  • exception.GetMsg() / mupGetErrorMsg() - returns the error message.
  • -
  • exception.GetExpr() / mupGetExpr() - returns the current formula (if a formula is set)
  • -
  • exception.GetToken() / mupGetErrorToken() - returns the token associated with the error (if applicable)
  • -
  • exception.GetPos() / mupGetErrorPos() - returns the current formula position (if applicable)
  • -
  • exception.GetCode() / mupGetErrorCode() - returns the error code.
  • -
- -

-The following table lists the parser error codes. -The first column contains the enumeration values as defined in the enumeration mu::EErrorCodes -located in the file muParserError.h. Since they are only accessible from C++ the second column lists -their numeric code and the third column contains the error description. -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Enumeration nameValue Description
ecUNEXPECTED_OPERATOR0Unexpected binary operator found
ecUNASSIGNABLE_TOKEN1Token cant be identified
ecUNEXPECTED_EOF2Unexpected end of formula. (Example: "2+sin(")
ecUNEXPECTED_COMMA3An unexpected comma has been found. (Example: "1,23")
ecUNEXPECTED_ARG4An unexpected argument has been found
ecUNEXPECTED_VAL5An unexpected value token has been found
ecUNEXPECTED_VAR6An unexpected variable token has been found
ecUNEXPECTED_PARENS7Unexpected parenthesis, opening or closing
ecUNEXPECTED_STR8A string has been found at an inapropriate position
ecSTRING_EXPECTED9A string function has been called with a different type of argument
ecVAL_EXPECTED10A numerical function has been called with a non value type of argument
ecMISSING_PARENS11 Missing parens. (Example: "3*sin(3")
ecUNEXPECTED_FUN12Unexpected function found. (Example: "sin(8)cos(9)")
ecUNTERMINATED_STRING13unterminated string constant. (Example: "3*valueof("hello)")
ecTOO_MANY_PARAMS14Too many function parameters
ecTOO_FEW_PARAMS15Too few function parameters. (Example: "ite(1<2,2)")
ecOPRT_TYPE_CONFLICT16binary operators may only be applied to value items of the same type
ecSTR_RESULT17result is a string
ecINVALID_NAME18Invalid function, variable or constant name.
ecBUILTIN_OVERLOAD19Trying to overload builtin operator
ecINVALID_FUN_PTR20Invalid callback function pointer
ecINVALID_VAR_PTR21Invalid variable pointer
ecNAME_CONFLICT22Name conflict
ecOPT_PRI23Invalid operator priority
ecDOMAIN_ERROR24catch division by zero, sqrt(-1), log(0) (currently unused)
ecDIV_BY_ZERO25Division by zero (currently unused)
ecGENERIC26Error that does not fit any other code but is not an internal error
ecINTERNAL_ERROR27Internal error of any kind.
- -

[DLL interface]

-Since dynamic libraries with functions exported in C-style can't throw exceptions the DLL version -provides the user with a callback mechanism to raise errors. Simply add a callback function -that does the handling of errors. Additionally you can query the error flag with -mupError(). Please note that by calling this function you will automatically reset the error flag! -
-// Callback function for errors
-void OnError()
-{
-  cout << "Message:  " << mupGetErrorMsg() << "\n";
-  cout << "Token:    " << mupGetErrorToken() << "\n";
-  cout << "Position: " << mupGetErrorPos() << "\n";
-  cout << "Errc:     " << mupGetErrorCode() << "\n";
-}
-
-...
-
-// Set a callback for error handling
-mupSetErrorHandler(OnError);
-
-// The next function could raise an error
-fVal = mupEval(hParser);
-
-// Test for the error flag
-if (!mupError()) cout << fVal << "\n";
-
-See also: Example3/Example3.cpp - -

[Parser class interface]

-In case of an error the parser class raises an exception of type Parser::exception_type. This -class provides you with several member functions that allow querying the exact cause as well as -additional information for the error. -
-try
-{
-  ...
-  parser.Eval();
-  ...
-}
-catch(mu::Parser::exception_type &e)
-{
-  cout << "Message:  " << e.GetMsg() << "\n";
-  cout << "Formula:  " << e.GetExpr() << "\n";
-  cout << "Token:    " << e.GetToken() << "\n";
-  cout << "Position: " << e.GetPos() << "\n";
-  cout << "Errc:     " << e.GetCode() << "\n";
-}
-
-See also: Example1/Example1.cpp - - - -
- - - - - -
© 2005-2010 Ingo Berg | - Privacy policy - ^ TOP -
-
-
- -
- - - - diff --git a/AMDiS/lib/muparser_v134/docs/html/mup_intro.html b/AMDiS/lib/muparser_v134/docs/html/mup_intro.html deleted file mode 100644 index 5c81e4c3c0de33e7c005193515781c20b612bb05..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/mup_intro.html +++ /dev/null @@ -1,302 +0,0 @@ - - - - - - - - - - - muParser - a fast math parser library - - - - - - -
-
- muParser - a fast math parser library -
-
Version 1.32
-
- -
- - Get muParser - A fast math parser library at SourceForge.net. Fast, secure and Free Open Source software downloads - -
- - - - - -
- - - - - - - - - - -
- - - - - - - - - - - - - - - -
-
- Open source initiative logo -
-
- - Valid XHTML 1.0 Transitional - -
-
- - CSS ist valide! - - -
-
- - - - -

About the parser

- -

-Many applications require the parsing of mathematical expressions. -The main objective of this library is to provide a fast and easy way of -doing this. muParser is an extensible high performance -math parser library written in C++. It works -by transforming a mathematical expression into bytecode and precalculating constant -parts of the expression. -

- - -The library was designed with portability in mind and should compile on every -standard compliant C++ compiler. Wrapper for C and C# -exist. The parser archive contains ready to use project and makefiles files for a variety of -platforms. The code runs on both 32 bit and -64 bit architechtures and has been tested using MS VC++ V8.0 -and GCC V4.4.1. Code samples are provided in order to help you understand its -usage. The library is open source and distributed under -the MIT license. - -
- - muParser download - -
- -

-Before I go on, I'd like to thank SourceForge for hosting this project. This -pages would not exist without the webspace provided by them and of course I'd like -to thank CodeProject for hosting the original -math parser -article. -

- - -

Support this project

-muParser is free software and anyone can use it free of charge for commercial and noncommercial purposes. If you wish you can support this project by making a small donation: -
-
- -
-A project like muParser requires permanent maintanence in order to adopt to new platforms, new compiler version and for fixing bugs. So if you are using the library and find it useful i would like to encourage you to make a donation in order to help keeping the project up to date. I can officially guarantee that you make my day by donating even a small amount of money. In a way this is a "Wow the people actually really appreciate what i'm doing" kind of thing and that's whats driving me and ultimately this is what is keeping this project alive. - - - -
- - - - - -
© 2005-2010 Ingo Berg | - Privacy policy - ^ TOP -
-
-
- -
- - - - diff --git a/AMDiS/lib/muparser_v134/docs/html/mup_licence.html b/AMDiS/lib/muparser_v134/docs/html/mup_licence.html deleted file mode 100644 index 24bda4db1ced76c90fe0b941722ee3fedab709f6..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/mup_licence.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - - - - - - muparser Licence - - - - - - -
-
- muParser - a fast math parser library -
-
Version 1.32
-
- -
- - Get muParser - A fast math parser library at SourceForge.net. Fast, secure and Free Open Source software downloads - -
- - - - - -
- - - - - - - - - - -
- - - - - - - - - - - - - - - -
-
- Open source initiative logo -
-
- - Valid XHTML 1.0 Transitional - -
-
- - CSS ist valide! - - -
-
- - - - -

muParser licence

- -

-This library is distributed as freeware. The licence is the MIT licence: you are free to use it for both non-commercial and commercial use. In order to use it you have to agree to the licence text below. If you use the library I consider it appropriate to give me credit at some place. This can either be the about dialog of your application or the documentation of your software. -If you like this project I encourage you to support it by: -

-
    -
  • sending a brief description of how you use it in your project
  • -
  • sending bug reports
  • -
  • voting for this project on CodeProject
  • -
- -

-Copyright (c) 2010 Ingo Berg -
-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 AUTHORS -OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR -OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -

- - -
- - - - - -
© 2005-2010 Ingo Berg | - Privacy policy - ^ TOP -
-
-
- -
- - - - diff --git a/AMDiS/lib/muparser_v134/docs/html/mup_links.html b/AMDiS/lib/muparser_v134/docs/html/mup_links.html deleted file mode 100644 index e86da05f773d2473061d400a6096ec5a7de90f34..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/mup_links.html +++ /dev/null @@ -1,276 +0,0 @@ - - - - - - - - - - - Software using muparser - - - - - - -
-
- muParser - a fast math parser library -
-
Version 1.32
-
- -
- - Get muParser - A fast math parser library at SourceForge.net. Fast, secure and Free Open Source software downloads - -
- - - - - -
- - - - - - - - - - -
- - - - - - - - - - - - - - - -
-
- Open source initiative logo -
-
- - Valid XHTML 1.0 Transitional - -
-
- - CSS ist valide! - - -
-
- - -
-
-

Software using the muParser library (alphabetically)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Geodes thumbnailGeodesGeodes is a new dynamic geometry software for Mac OS X. The goal of this application is to make geometry become easy and funny.
- (Platform: Mac OSX)
kst thumbnailkstA plotter for scientific data. (currently muParser is used by the Marquardt - Levenberg plugin)
- (Platform: Linux / Operating systems that support KDE) -
MatriX thumbnailMatriXDS4 produces laser systems for industry applications like engraving, cutting, incision and welding. muParser is used - in their MatriX application, a software for for managing the laser systems.
- (Platform: Linux)
tm2 thumbnailMeshlab   An open source, portable, and extensible system for the processing and editing of unstructured 3D triangular meshes.
- (Platform: MS Windows, Linux, OSX)
PasimodoPasimodoPasimodo is a scientific software package for particle based simulations.
- (Platform: Linux/BSD)
tm2 thumbnailTransition Maker 2   Creates transition sequences for video processing.
- (Platform: MS Windows)
trininaut thumbnailTrininautA Program launcher with extra features.
- (Platform: WinXP, Win2K)
qtiplot thumbnailQtiplotA free platform independent clone of Origin
- (Platform: MS Windows / Linux / Mac) -
- - -
- - - - - -
© 2005-2010 Ingo Berg | - Privacy policy - ^ TOP -
-
-
- -
- - - - diff --git a/AMDiS/lib/muparser_v134/docs/html/mup_locale.html b/AMDiS/lib/muparser_v134/docs/html/mup_locale.html deleted file mode 100644 index 69466f485dd1cafe216ff78f7dbcd06347535d8c..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/mup_locale.html +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - - - - - - muParser - A basic axample and benchmarks - - - - - - -
-
- muParser - a fast math parser library -
-
Version 1.32
-
- -
- - Get muParser - A fast math parser library at SourceForge.net. Fast, secure and Free Open Source software downloads - -
- - - - - -
- - - - - - - - - - -
- - - - - - - - - - - - - - - -
-
- Open source initiative logo -
-
- - Valid XHTML 1.0 Transitional - -
-
- - CSS ist valide! - - -
-
- - - - -

Localization

-

-Sometimes it is necessary to change decimal separator, argument separator or thousands separator -to match a certain locale. The following functions can be used for this purpose: -

- -

[DLL interface]

-
-// german localization
-mupSetArgSep(hParser, ';');
-mupSetDecSep(hParser, ',');
-mupSetThousandsSep(hParser, '.');
-
-// reset to defaults
-mupResetLocale();
-
-See also: example2/example2.c. - -

[Parser class interface]

-
-// german localization
-parser.SetArgSep(';');
-parser.SetDecSep(',');
-parser.SetThousandsSep('.');
-
-// reset to defaults
-parser.ResetLocale();
-
-See also: example1/example1.cpp. - -
- - - - - -
© 2005-2010 Ingo Berg | - Privacy policy - ^ TOP -
-
-
- -
- - - - diff --git a/AMDiS/lib/muparser_v134/docs/html/mup_usage.html b/AMDiS/lib/muparser_v134/docs/html/mup_usage.html deleted file mode 100644 index 40309fcffb73a57348be471ae1ec2e8cf7ee5b59..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/mup_usage.html +++ /dev/null @@ -1,354 +0,0 @@ - - - - - - - - - - - muParser build instructions - - - - - - -
-
- muParser - a fast math parser library -
-
Version 1.32
-
- -
- - Get muParser - A fast math parser library at SourceForge.net. Fast, secure and Free Open Source software downloads - -
- - - - - -
- - - - - - - - - - -
- - - - - - - - - - - - - - - -
-
- Open source initiative logo -
-
- - Valid XHTML 1.0 Transitional - -
-
- - CSS ist valide! - - -
-
- - - - - -
-

Build instructions

-

Building on win32

-muParser supports various win32 command-line compilers: -
    -
  • Mingw
  • -
  • Borland C++
  • -
  • Watcom
  • -
  • Microsoft CL
  • -
-In order to compile muParser from makefiles, open a command prompt then move to the muParser/build directory and -type: - -
    -
  • mingw32-make -fmakefile.gcc for mingw
  • -
  • nmake -fmakefile.vc for msvc
  • -
  • make -fmakefile.bcc for borland
  • -
  • wmake -fmakefile.wat for watcom
  • -
- -All makefiles support the following options: -
-  # Set to 1 to build debug version [0,1]
-  #   0 - Release
-  #   1 - Debug
-  DEBUG = 0
-
-  # Set to 1 to build shared (DLL) version [0,1]
-  #   0 - Static
-  #   1 - DLL
-  SHARED = 0
-
-  # Set to 1 to compile samples [0,1]
-  SAMPLES = 1
-
-The muParser library is created in the 'lib' folder and the sample -binaries are created in samples\example1 or samples\example2. (You may need to copy the dll -into the example2 directory in order to run it.) - - - - - - -
warningsamples\example1 can be compiled *only* when building muParser as a STATIC library (SHARED=0).
- samples\example2 can be compiled *only* when building muParser as a SHARED library (SHARED=1). -
- -

Building on BSD/Linux

-muParser can be installed just extracting the sources somewhere and then, from a terminal, typing: - -
- cd [path to muParser]
- ./configure [--enable-shared=yes/no] [--enable-samples=yes/no]
-             [--enable-debug=yes/no]
- make
- [sudo*] make install
-
- * = this command must be executed with root permissions and thus - you have to use 'sudo' or just 'su' to gain root access. - Note that installation is not strictly required. -

-The "make" step will create the muParser library in 'lib' and the -sample binary in samples/example1. The samples/example2 is win32-specific and -thus won't be built. -

- -

Other miscellaneous info Unix-specific

-If you don't like to have your muParser folder filled by temporary -files created by GCC, then you can do the following: - -
-  mkdir mybuild && cd mybuild && ../configure && make
-
- -to put all object files in the "mybuild" directory. If you want to use -muParser library in your programs, you can use the pkg-config program -(this works only if muParser was installed with 'make install' !). -The commands: -
    -
  • pkg-config muparser --cflags
  • -
  • pkg-config muparser --libs
  • -
-will return all useful info you need to build your programs against -muParser ! - -

Including the source code directly

-Sometimes including the library sources directly into an application is the easiest -possibility to avoid linker conflicts originating from different versions of the -runtime libraries used by the parser and your project. - -In order to use the parser simply include the following files into your project: - -

-muParser.cpp
-muParserBase.cpp
-muParserBytecode.cpp
-muParserCallback.cpp
-muParserError.cpp
-muParserTokenReader.cpp -

- -And make sure the following files can be found in your projects include path: -

-muParser.h
-muParserBase.h
-muParserBytecode.h
-muParserCallback.h
-muParserDef.h
-muParserError.h
-muParserFixes.h
-muParserStack.h
-muParserToken.h
-muParserTokenReader.h
-

- -The parser class and all related classes reside in the namespace mu (MathUtils). So make sure to either -add a using - -
-using namespace mu;
-
- -to your files or reference all classes with their complete name. - -

Where to ask for help

- -If you find problems with either compilation, installation or usage -of muParser, then you can ask in the muParser forum at:
- - -For more info about muParser, visit: - - -
- - - - - -
© 2005-2010 Ingo Berg | - Privacy policy - ^ TOP -
-
-
- -
- - - - diff --git a/AMDiS/lib/muparser_v134/docs/html/mup_version.html b/AMDiS/lib/muparser_v134/docs/html/mup_version.html deleted file mode 100644 index 9e6e38481d3fa6a76102713e6f7a9dfed5d053b3..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/mup_version.html +++ /dev/null @@ -1,422 +0,0 @@ - - - - - - - - - - - muParser - A basic axample and benchmarks - - - - - - -
-
- muParser - a fast math parser library -
-
Version 1.32
-
- -
- - Get muParser - A fast math parser library at SourceForge.net. Fast, secure and Free Open Source software downloads - -
- - - - - -
- - - - - - - - - - -
- - - - - - - - - - - - - - - -
-
- Open source initiative logo -
-
- - Valid XHTML 1.0 Transitional - -
-
- - CSS ist valide! - - -
-
- - - - -

Example code

- -

-If you put all this together, you get the source code for a small application. The application defines a parser variables ("a") and adds -a user defined functions named "MyFunc". When using the parser make sure that you don't forget to catch the Parser::exception_type in your application. It contains detailed information helping you to find syntax errors in your formula. -

- -
-#include <iostream>
-#include "muParser.h"
-
-// Function callback
-double MyFunction(double a_fVal)
-{
-  return a_fVal*a_fVal;
-}
-
-// main program
-int main(int argc, char* argv[])
-{
-  using namespace mu;
-
-  try
-  {
-    double fVal = 1;
-    Parser p;
-    p.DefineVar("a", &fVal);
-    p.DefineFun("MyFunc", MyFunction);
-    p.SetExpr("MyFunc(a)*_pi+min(10,a)");
-    std::cout << p.Eval() << std::endl;
-  }
-  catch (Parser::exception_type &e)
-  {
-    std::cout << e.GetMsg() << std::endl;
-  }
-  return 0;
-}
-
- - - - -
-

Benchmarks

- -

-Finally, I'd like to give you some benchmarks. The benchmarking was done on an Intel -Pentium P-4 with 2.6 GHz, with a version compiled by using MSVC++ 7.1 (Standard edition). -The diagram shows number of evaluations per seconds vs. expression length. -I compared both the static lib and the dll version with two other parsers that are freely available -on the net, very fast and have a similar set of features. One of them is a commercial product. -

- -

- parser benchmarks -

- -

-A higher curve means better performance. Expressions were created randomly. They used only sin and cos functions and contained -multiple variables and constants. In order to smoothen the curves each point represents the value of a -running average over 10 sample expressions. -

- - - - -
-

Release Notes

- -

Rev 1.32: 30.01.2010

-This is a service release to fix problems with modern compilers. -
    -
  • Changes -
      -
    • Added a function for retrieving the Version number of muparser.
    • -
    • example3 renamed to example2
    • -
    • Project files for bcb and msvc6 removed (include the source directly into your projects)
    • -
    • Project files for msvc2003, msvc2005 and msvc2008 added
    • -
    -
  • - -
  • Bugfixes -
      -
    • Deprecated feature warnings removed for gcc
    • -
    • example1 changed to get rid of memory leaks. Added code for memory leak detection (VisualStudio only)
    • -
    • Changes to allow compilation with msvc10 beta2
    • -
    • gcc versions >4.0 were not able to run with a customized locale (resulted in std::bad_cast exception)
    • -
    -
  • -
-
-

Rev 1.30: 09.06.2008

-This is a service release with minor extensions and bugfixes. - -
    -
  • Changes -
      -
    • Epsilon of the numerical differentiation algorithm changed to allow greater accuracy.
    • -
    -
  • - -
  • New features -
      -
    • Setting thousands separator and decimal separator is now possible
    • -
    -
  • - -
  • Bugfixes -
      -
    • The dll interface did not provide a callback for functions without any arguments.
    • -
    -
  • -
-
-

Rev 1.28: 02.07.2007

- -
    -
  • Library changes -
      -
    • Interface for the dynamic library changed and extended to create an interface using pure C functions only.
    • -
    • mupInit() removed
    • -
    -
  • - -
  • New features -
      -
    • Functions without parameters added
    • -
    -
  • - -
  • Build system -
      -
    • MSVC7 Project files removed in favor of MSVC8.
    • -
    -
  • - -
  • Bugfixes -
      -
    • The dynamic library did not build on other systems than linux due to a misplaced - preprocessor definition. This is fixed now.
    • -
    -
  • - -
- -
-

Rev 1.2: 14.04.2005

-First of all the interface has changed so this version is not backwards compatible. -After receiving a couple of questions about it, this version features support for user defined binary operators. Consequently the built in operators can now be turned off, thus you can deactivate them and write complete customized parser subclasses that only contain the functionality you want. Other new feature is the introduction of callback functions taking string arguments, implicit generation of -variables and the Assignement operator. - -
    -
  • Functionality - -
  • - -
  • Interface changes -
      -
    • New member function: DefineOprt For - adding user defined binary operators.
    • -
    • New member function: EnableBuiltInOprt(bool) Enables/Disables - built in binary operators.
    • -
    • New member function: AddValIdent(...) to add callbacks for custom value recognition functions.
    • -
    • Removed: SetVar(), SetConst().
    • -
    • Renamed: Most interface functions have been renamed
    • -
    • Changed: The type for multiargument callbacks multfun_type has changed. - It no longer takes a std::vector as input.
    • -
    -
  • - -
  • Internal changes -
      -
    • new class muParserTokenReader.h encapsulates the token identification and token assignement.
    • -
    • Internal handling of function callbacks unified as a result the performance of the bytecode evaluation - increased.
    • -
    -
  • -
- -
- - - - - -
© 2005-2010 Ingo Berg | - Privacy policy - ^ TOP -
-
-
- -
- - - - diff --git a/AMDiS/lib/muparser_v134/docs/html/script/functions.js b/AMDiS/lib/muparser_v134/docs/html/script/functions.js deleted file mode 100644 index b7c56e2cb2d950cc03fc5b591478cfbc4f387e6f..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/script/functions.js +++ /dev/null @@ -1,32 +0,0 @@ -//-------------------------------------------------- -// -// Bedingte darstellung des SourceForge logos -// -function SFLogo() -{ - document.write("\"SourceForge.net"); -} - -//-------------------------------------------------- -// -// Statcounter code erzeugen -// -function statCounter() -{ - // statcounter variablen - document.write(" - -

About the parser

- -

-Many applications require the parsing of mathematical expressions. -The main objective of this library is to provide a fast and easy way of -doing this. muParser is an extensible high performance -math parser library written in C++. It works -by transforming a mathematical expression into bytecode and precalculating constant -parts of the expression. -

- - -The library was designed with portability in mind and should compile on every -standard compliant C++ compiler. Wrapper for C and C# -exist. The parser archive contains ready to use project and makefiles files for a variety of -platforms. The code runs on both 32 bit and -64 bit architechtures and has been tested using MS VC++ V8.0 -and GCC V4.4.1. Code samples are provided in order to help you understand its -usage. The library is open source and distributed under -the MIT license. - -
- - muParser download - -
- -

-Before I go on, I'd like to thank SourceForge for hosting this project. This -pages would not exist without the webspace provided by them and of course I'd like -to thank CodeProject for hosting the original -math parser -article. -

- - -

Support this project

-muParser is free software and anyone can use it free of charge for commercial and noncommercial purposes. If you wish you can support this project by making a small donation: -
-
- -
-A project like muParser requires permanent maintanence in order to adopt to new platforms, new compiler version and for fixing bugs. So if you are using the library and find it useful i would like to encourage you to make a donation in order to help keeping the project up to date. I can officially guarantee that you make my day by donating even a small amount of money. In a way this is a "Wow the people actually really appreciate what i'm doing" kind of thing and that's whats driving me and ultimately this is what is keeping this project alive. - - diff --git a/AMDiS/lib/muparser_v134/docs/html/sources/mup_intro_meta.html b/AMDiS/lib/muparser_v134/docs/html/sources/mup_intro_meta.html deleted file mode 100755 index 36d285f96e4cc129f6d08cff778b345581a08630..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/sources/mup_intro_meta.html +++ /dev/null @@ -1,3 +0,0 @@ - - - muParser - a fast math parser library diff --git a/AMDiS/lib/muparser_v134/docs/html/sources/mup_licence.html b/AMDiS/lib/muparser_v134/docs/html/sources/mup_licence.html deleted file mode 100644 index 4a812e8db2a4e5b4b27f2803a4f6af0b6da2bea6..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/sources/mup_licence.html +++ /dev/null @@ -1,54 +0,0 @@ - - -

muParser licence

- -

-This library is distributed as freeware. The licence is the MIT licence: you are free to use it for both non-commercial and commercial use. In order to use it you have to agree to the licence text below. If you use the library I consider it appropriate to give me credit at some place. This can either be the about dialog of your application or the documentation of your software. -If you like this project I encourage you to support it by: -

-
    -
  • sending a brief description of how you use it in your project
  • -
  • sending bug reports
  • -
  • voting for this project on CodeProject
  • -
- -

-Copyright (c) 2010 Ingo Berg -
-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 AUTHORS -OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR -OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -

- diff --git a/AMDiS/lib/muparser_v134/docs/html/sources/mup_licence_meta.html b/AMDiS/lib/muparser_v134/docs/html/sources/mup_licence_meta.html deleted file mode 100755 index 420a059714f49b9a26f7e2c45f0c6930583fe916..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/sources/mup_licence_meta.html +++ /dev/null @@ -1,3 +0,0 @@ - - - muparser Licence diff --git a/AMDiS/lib/muparser_v134/docs/html/sources/mup_links.html b/AMDiS/lib/muparser_v134/docs/html/sources/mup_links.html deleted file mode 100644 index 7113492964efb53f156a2797837d55414b208865..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/sources/mup_links.html +++ /dev/null @@ -1,71 +0,0 @@ -
-
-

Software using the muParser library (alphabetically)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Geodes thumbnailGeodesGeodes is a new dynamic geometry software for Mac OS X. The goal of this application is to make geometry become easy and funny.
- (Platform: Mac OSX)
kst thumbnailkstA plotter for scientific data. (currently muParser is used by the Marquardt - Levenberg plugin)
- (Platform: Linux / Operating systems that support KDE) -
MatriX thumbnailMatriXDS4 produces laser systems for industry applications like engraving, cutting, incision and welding. muParser is used - in their MatriX application, a software for for managing the laser systems.
- (Platform: Linux)
tm2 thumbnailMeshlab   An open source, portable, and extensible system for the processing and editing of unstructured 3D triangular meshes.
- (Platform: MS Windows, Linux, OSX)
PasimodoPasimodoPasimodo is a scientific software package for particle based simulations.
- (Platform: Linux/BSD)
tm2 thumbnailTransition Maker 2   Creates transition sequences for video processing.
- (Platform: MS Windows)
trininaut thumbnailTrininautA Program launcher with extra features.
- (Platform: WinXP, Win2K)
qtiplot thumbnailQtiplotA free platform independent clone of Origin
- (Platform: MS Windows / Linux / Mac) -
- diff --git a/AMDiS/lib/muparser_v134/docs/html/sources/mup_links_meta.html b/AMDiS/lib/muparser_v134/docs/html/sources/mup_links_meta.html deleted file mode 100755 index 7d174655a56d524cb0451e62db8d63cdaf084a82..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/sources/mup_links_meta.html +++ /dev/null @@ -1,3 +0,0 @@ - - - Software using muparser diff --git a/AMDiS/lib/muparser_v134/docs/html/sources/mup_locale.html b/AMDiS/lib/muparser_v134/docs/html/sources/mup_locale.html deleted file mode 100755 index 7e211b0597f95ba9ca0e6132ff20662e9d5708f8..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/sources/mup_locale.html +++ /dev/null @@ -1,39 +0,0 @@ - - -

Localization

-

-Sometimes it is necessary to change decimal separator, argument separator or thousands separator -to match a certain locale. The following functions can be used for this purpose: -

- -

[DLL interface]

-
-// german localization
-mupSetArgSep(hParser, ';');
-mupSetDecSep(hParser, ',');
-mupSetThousandsSep(hParser, '.');
-
-// reset to defaults
-mupResetLocale();
-
-See also: example2/example2.c. - -

[Parser class interface]

-
-// german localization
-parser.SetArgSep(';');
-parser.SetDecSep(',');
-parser.SetThousandsSep('.');
-
-// reset to defaults
-parser.ResetLocale();
-
-See also: example1/example1.cpp. diff --git a/AMDiS/lib/muparser_v134/docs/html/sources/mup_locale_meta.html b/AMDiS/lib/muparser_v134/docs/html/sources/mup_locale_meta.html deleted file mode 100755 index ec5d4b3b3d5614d72aa66e0645a716963071ebc6..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/sources/mup_locale_meta.html +++ /dev/null @@ -1,3 +0,0 @@ - - - muParser - A basic axample and benchmarks diff --git a/AMDiS/lib/muparser_v134/docs/html/sources/mup_usage.html b/AMDiS/lib/muparser_v134/docs/html/sources/mup_usage.html deleted file mode 100644 index 9820b71d7e6b7f01be9d036ea29673cfd76013df..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/sources/mup_usage.html +++ /dev/null @@ -1,149 +0,0 @@ - - - -
-

Build instructions

-

Building on win32

-muParser supports various win32 command-line compilers: -
    -
  • Mingw
  • -
  • Borland C++
  • -
  • Watcom
  • -
  • Microsoft CL
  • -
-In order to compile muParser from makefiles, open a command prompt then move to the muParser/build directory and -type: - -
    -
  • mingw32-make -fmakefile.gcc for mingw
  • -
  • nmake -fmakefile.vc for msvc
  • -
  • make -fmakefile.bcc for borland
  • -
  • wmake -fmakefile.wat for watcom
  • -
- -All makefiles support the following options: -
-  # Set to 1 to build debug version [0,1]
-  #   0 - Release
-  #   1 - Debug
-  DEBUG = 0
-
-  # Set to 1 to build shared (DLL) version [0,1]
-  #   0 - Static
-  #   1 - DLL
-  SHARED = 0
-
-  # Set to 1 to compile samples [0,1]
-  SAMPLES = 1
-
-The muParser library is created in the 'lib' folder and the sample -binaries are created in samples\example1 or samples\example2. (You may need to copy the dll -into the example2 directory in order to run it.) - - - - - - -
warningsamples\example1 can be compiled *only* when building muParser as a STATIC library (SHARED=0).
- samples\example2 can be compiled *only* when building muParser as a SHARED library (SHARED=1). -
- -

Building on BSD/Linux

-muParser can be installed just extracting the sources somewhere and then, from a terminal, typing: - -
- cd [path to muParser]
- ./configure [--enable-shared=yes/no] [--enable-samples=yes/no]
-             [--enable-debug=yes/no]
- make
- [sudo*] make install
-
- * = this command must be executed with root permissions and thus - you have to use 'sudo' or just 'su' to gain root access. - Note that installation is not strictly required. -

-The "make" step will create the muParser library in 'lib' and the -sample binary in samples/example1. The samples/example2 is win32-specific and -thus won't be built. -

- -

Other miscellaneous info Unix-specific

-If you don't like to have your muParser folder filled by temporary -files created by GCC, then you can do the following: - -
-  mkdir mybuild && cd mybuild && ../configure && make
-
- -to put all object files in the "mybuild" directory. If you want to use -muParser library in your programs, you can use the pkg-config program -(this works only if muParser was installed with 'make install' !). -The commands: -
    -
  • pkg-config muparser --cflags
  • -
  • pkg-config muparser --libs
  • -
-will return all useful info you need to build your programs against -muParser ! - -

Including the source code directly

-Sometimes including the library sources directly into an application is the easiest -possibility to avoid linker conflicts originating from different versions of the -runtime libraries used by the parser and your project. - -In order to use the parser simply include the following files into your project: - -

-muParser.cpp
-muParserBase.cpp
-muParserBytecode.cpp
-muParserCallback.cpp
-muParserError.cpp
-muParserTokenReader.cpp -

- -And make sure the following files can be found in your projects include path: -

-muParser.h
-muParserBase.h
-muParserBytecode.h
-muParserCallback.h
-muParserDef.h
-muParserError.h
-muParserFixes.h
-muParserStack.h
-muParserToken.h
-muParserTokenReader.h
-

- -The parser class and all related classes reside in the namespace mu (MathUtils). So make sure to either -add a using - -
-using namespace mu;
-
- -to your files or reference all classes with their complete name. - -

Where to ask for help

- -If you find problems with either compilation, installation or usage -of muParser, then you can ask in the muParser forum at:
- - -For more info about muParser, visit: - diff --git a/AMDiS/lib/muparser_v134/docs/html/sources/mup_usage_meta.html b/AMDiS/lib/muparser_v134/docs/html/sources/mup_usage_meta.html deleted file mode 100755 index 1ca5af402b89e518e3651503d07fb5cacafee8ee..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/sources/mup_usage_meta.html +++ /dev/null @@ -1,3 +0,0 @@ - - - muParser build instructions diff --git a/AMDiS/lib/muparser_v134/docs/html/sources/mup_version.html b/AMDiS/lib/muparser_v134/docs/html/sources/mup_version.html deleted file mode 100644 index 1b0bab0723234fd9c7bbf343c7ffb51f9f7e45c5..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/sources/mup_version.html +++ /dev/null @@ -1,217 +0,0 @@ - - -

Example code

- -

-If you put all this together, you get the source code for a small application. The application defines a parser variables ("a") and adds -a user defined functions named "MyFunc". When using the parser make sure that you don't forget to catch the Parser::exception_type in your application. It contains detailed information helping you to find syntax errors in your formula. -

- -
-#include <iostream>
-#include "muParser.h"
-
-// Function callback
-double MyFunction(double a_fVal)
-{
-  return a_fVal*a_fVal;
-}
-
-// main program
-int main(int argc, char* argv[])
-{
-  using namespace mu;
-
-  try
-  {
-    double fVal = 1;
-    Parser p;
-    p.DefineVar("a", &fVal);
-    p.DefineFun("MyFunc", MyFunction);
-    p.SetExpr("MyFunc(a)*_pi+min(10,a)");
-    std::cout << p.Eval() << std::endl;
-  }
-  catch (Parser::exception_type &e)
-  {
-    std::cout << e.GetMsg() << std::endl;
-  }
-  return 0;
-}
-
- - - - -
-

Benchmarks

- -

-Finally, I'd like to give you some benchmarks. The benchmarking was done on an Intel -Pentium P-4 with 2.6 GHz, with a version compiled by using MSVC++ 7.1 (Standard edition). -The diagram shows number of evaluations per seconds vs. expression length. -I compared both the static lib and the dll version with two other parsers that are freely available -on the net, very fast and have a similar set of features. One of them is a commercial product. -

- -

- parser benchmarks -

- -

-A higher curve means better performance. Expressions were created randomly. They used only sin and cos functions and contained -multiple variables and constants. In order to smoothen the curves each point represents the value of a -running average over 10 sample expressions. -

- - - - -
-

Release Notes

- -

Rev 1.32: 30.01.2010

-This is a service release to fix problems with modern compilers. -
    -
  • Changes -
      -
    • Added a function for retrieving the Version number of muparser.
    • -
    • example3 renamed to example2
    • -
    • Project files for bcb and msvc6 removed (include the source directly into your projects)
    • -
    • Project files for msvc2003, msvc2005 and msvc2008 added
    • -
    -
  • - -
  • Bugfixes -
      -
    • Deprecated feature warnings removed for gcc
    • -
    • example1 changed to get rid of memory leaks. Added code for memory leak detection (VisualStudio only)
    • -
    • Changes to allow compilation with msvc10 beta2
    • -
    • gcc versions >4.0 were not able to run with a customized locale (resulted in std::bad_cast exception)
    • -
    -
  • -
-
-

Rev 1.30: 09.06.2008

-This is a service release with minor extensions and bugfixes. - -
    -
  • Changes -
      -
    • Epsilon of the numerical differentiation algorithm changed to allow greater accuracy.
    • -
    -
  • - -
  • New features -
      -
    • Setting thousands separator and decimal separator is now possible
    • -
    -
  • - -
  • Bugfixes -
      -
    • The dll interface did not provide a callback for functions without any arguments.
    • -
    -
  • -
-
-

Rev 1.28: 02.07.2007

- -
    -
  • Library changes -
      -
    • Interface for the dynamic library changed and extended to create an interface using pure C functions only.
    • -
    • mupInit() removed
    • -
    -
  • - -
  • New features -
      -
    • Functions without parameters added
    • -
    -
  • - -
  • Build system -
      -
    • MSVC7 Project files removed in favor of MSVC8.
    • -
    -
  • - -
  • Bugfixes -
      -
    • The dynamic library did not build on other systems than linux due to a misplaced - preprocessor definition. This is fixed now.
    • -
    -
  • - -
- -
-

Rev 1.2: 14.04.2005

-First of all the interface has changed so this version is not backwards compatible. -After receiving a couple of questions about it, this version features support for user defined binary operators. Consequently the built in operators can now be turned off, thus you can deactivate them and write complete customized parser subclasses that only contain the functionality you want. Other new feature is the introduction of callback functions taking string arguments, implicit generation of -variables and the Assignement operator. - -
    -
  • Functionality - -
  • - -
  • Interface changes -
      -
    • New member function: DefineOprt For - adding user defined binary operators.
    • -
    • New member function: EnableBuiltInOprt(bool) Enables/Disables - built in binary operators.
    • -
    • New member function: AddValIdent(...) to add callbacks for custom value recognition functions.
    • -
    • Removed: SetVar(), SetConst().
    • -
    • Renamed: Most interface functions have been renamed
    • -
    • Changed: The type for multiargument callbacks multfun_type has changed. - It no longer takes a std::vector as input.
    • -
    -
  • - -
  • Internal changes -
      -
    • new class muParserTokenReader.h encapsulates the token identification and token assignement.
    • -
    • Internal handling of function callbacks unified as a result the performance of the bytecode evaluation - increased.
    • -
    -
  • -
diff --git a/AMDiS/lib/muparser_v134/docs/html/sources/mup_version_meta.html b/AMDiS/lib/muparser_v134/docs/html/sources/mup_version_meta.html deleted file mode 100755 index ec5d4b3b3d5614d72aa66e0645a716963071ebc6..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/sources/mup_version_meta.html +++ /dev/null @@ -1,3 +0,0 @@ - - - muParser - A basic axample and benchmarks diff --git a/AMDiS/lib/muparser_v134/docs/html/sources/navigation.html b/AMDiS/lib/muparser_v134/docs/html/sources/navigation.html deleted file mode 100644 index 4e53c061baa4221455fc4f43e6d18c688facd934..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/sources/navigation.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - - - - - - - - - - -
-
- muParser - a fast math parser library -
-
Version 1.32
-
- -
- - Get muParser - A fast math parser library at SourceForge.net. Fast, secure and Free Open Source software downloads - -
- - - - - -
- - - - - - - - - - -
- - - - - - - - - - - - - - - -
-
- Open source initiative logo -
-
- - Valid XHTML 1.0 Transitional - -
-
- - CSS ist valide! - - -
-
- - - -
- - - - - -
© 2005-2010 Ingo Berg | - Privacy policy - ^ TOP -
-
-
- -
- - - - diff --git a/AMDiS/lib/muparser_v134/docs/html/style/formate.css b/AMDiS/lib/muparser_v134/docs/html/style/formate.css deleted file mode 100644 index a052f557ace5c1ce567d45e737b43ec4e868d090..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/html/style/formate.css +++ /dev/null @@ -1,169 +0,0 @@ -/* Style Sheet Definition */ - -body { - background-color: #ffffff; - margin-top:0px; - background-repeat:repeat-y; - margin-left:0px; - margin-top:0px; - margin-right:0px; - margin-bottom:0px; - overflow:auto; -} - -div.header -{ - position:absolute; - left:20%; - width:600px; - height:80px; - z-index:2; - background-image:url("../images/caption.png"); - background-repeat: no-repeat; - background-position: top center; - text-align: center; - font-family: "Times New Roman",vserif; - font-size: 25pt; -} - -div.gradient -{ - background-image:url("../images/grad2.jpg"); - z-index:1; - width:100%; - height:80px; -} - -div.sidebarlink -{ - margin-top: -12px; - border: 1px solid #cfcfcf; - padding: 0.2em 0.1em 0.2em 0.2em; - background-color:#f4f4fF; - text-align: left; - line-height: 1.5em; -} - -.tiny_text { font-size: 80%; line-height: 0.8em;} - -/* Links */ -a { text-decoration: none; } - -a:link { color:#0000BB; } -a:visited { /*font-weight:bold;*/ color:#000080; } -a:hover { color:#00BB00; } -a:active { color:#E00000; } -a:focus { color:#BBBBBB; } - -a.white:link { color:#FFFFFF; } -a.white:visited { color:#FFFFFF; } -a.white:active { color:#000000; } -a.white:focus { color:#BBBBBB; } -a.white:hover { color:#FFFFFF; font-weight:bold;} - -/* Tables */ -table.main { background-color: #ffffff; } -td.Menu { background-color: #ffffff; color: #000000;} -td.MenuActive { background-color: #000000; color: #ffffff;} -td.main { color: #FFFFFF;} -td.Info { background-color: #ffffff;} - -/* Für tags im Navigationsbereich */ -.navi_heading { text-align:left; - padding-left:50px; - line-height:30px; - color: #000000;} - -.navi_info { background-image:url("../images/info.png"); - background-repeat: no-repeat; - background-position:10px 0px; } - -.navi_build { background-image:url("../images/build.png"); - background-repeat: no-repeat; - background-position:10px 0px; } - - -.navi_list { background-image:url("../images/list.png"); - background-repeat: no-repeat; - background-position:10px 0px; } - -.navi_run { background-image:url("../images/run.png"); - background-repeat: no-repeat; - background-position:10px 0px; } - -.navi_question { background-image:url("../images/question.png"); - background-repeat: no-repeat; - background-position:10px 0px; } - -.navi_blocks { background-image:url("../images/blocks.png"); - background-repeat: no-repeat; - background-position:10px 0px; } - -/* Miscellaneous */ -body, P, H1, H2, H3, H4, H5, H6, LI, TD, TH, DD, DT -{ - font-family:Helvetica,Arial,sans-serif; - color: black; -} - -h1 -{ - font-size: 18pt; - border-bottom: 3px solid black; -} - -h2 -{ - font-size: 16pt; - font-weight: bold; - border-bottom: 1px solid #AAA; - color: #0099cc; -} - -h3 -{ - font-family: Arial, sans-serif; - font-size: 14pt; - font-weight: bold; - border-bottom: 1px solid #AAA; - color: #0099cc; -} - -h4 -{ - font-size: 12pt; - margin-bottom: 2px; -} - -h5 -{ - font-size: 12pt; - margin-bottom: 2px; - color: #0099cc; -} - -H6 -{ - color: #626262; - font-size: 65%; - font-weight: normal; -} - -code -{ - color: #990000; - font-family: "Courier New", Courier, mono; -} - -pre { - border: 1pt solid black; - background-color: #EFEFEF; - font: 12pt "Courier New", Courier, mono; - padding: 10pt; - width: 90%; -} - -p -{ - text-align: justify; -} diff --git a/AMDiS/lib/muparser_v134/docs/muParser.tdl b/AMDiS/lib/muparser_v134/docs/muParser.tdl deleted file mode 100644 index 82198d29c0a3bcca5a080ea73397742d7a64eb49..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/docs/muParser.tdl +++ /dev/null @@ -1,4 +0,0 @@ - - diff --git a/AMDiS/lib/muparser_v134/lib/Readme.txt b/AMDiS/lib/muparser_v134/lib/Readme.txt deleted file mode 100644 index 7240cc374f7a90316d2a393bb877f706bf6ea2c5..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/lib/Readme.txt +++ /dev/null @@ -1 +0,0 @@ -Here goes the libraries (both static and shared) for this component. \ No newline at end of file diff --git a/AMDiS/lib/muparser_v134/samples/example1/Example1.cpp b/AMDiS/lib/muparser_v134/samples/example1/Example1.cpp deleted file mode 100644 index 9f0598c889da4d8b8765457e9530133d550185f3..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/samples/example1/Example1.cpp +++ /dev/null @@ -1,467 +0,0 @@ -//--------------------------------------------------------------------------- -// -// __________ -// _____ __ __\______ \_____ _______ ______ ____ _______ -// / \ | | \| ___/\__ \ \_ __ \/ ___/_/ __ \\_ __ \ -// | Y Y \| | /| | / __ \_| | \/\___ \ \ ___/ | | \/ -// |__|_| /|____/ |____| (____ /|__| /____ > \___ >|__| -// \/ \/ \/ \/ -// (C) 2010 Ingo Berg -// -// example1.cpp - using the parser as a static library -// -//--------------------------------------------------------------------------- - -#include "muParserTest.h" - -#if defined(_WIN32) && defined(_DEBUG) - #define _CRTDBG_MAP_ALLOC - #include - #include - #define CREATE_LEAKAGE_REPORT -#endif - -/** \brief This macro will enable mathematical constants like M_PI. */ -#define _USE_MATH_DEFINES - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "muParser.h" -#include "muParserInt.h" -//#include "muParserComplex.h" - -#if defined( USINGDLL ) && defined( _WIN32 ) -#error This sample can be used only with STATIC builds of muParser (on win32) -#endif - -using namespace std; -using namespace mu; - - -#if defined(CREATE_LEAKAGE_REPORT) - -// Dumping memory leaks in the destructor of the static guard -// guarantees i won't get false positives from the ParserErrorMsg -// class wich is a singleton with a static instance. -struct DumpLeaks -{ - ~DumpLeaks() - { - _CrtDumpMemoryLeaks(); - } -} static LeakDumper; - -#endif - -// Operator callback functions -value_type Milli(value_type a_fVal) { return a_fVal * (value_type)1e-3; } -value_type Rnd(value_type v) { return v*std::rand()/(value_type)(RAND_MAX+1.0); } -value_type Not(value_type v) { return v==0; } -value_type Add(value_type v1, value_type v2) { return v1+v2; } -value_type Mul(value_type v1, value_type v2) { return v1*v2; } -value_type Noop(value_type) { return 0; } - -//--------------------------------------------------------------------------- -value_type Or(value_type v1, value_type v2) -{ - return v1!=1 || v2!=1; -} - -//--------------------------------------------------------------------------- -value_type StrFun2(const char_type *v1, value_type v2,value_type v3) -{ - mu::console() << v1 << std::endl; - return v2+v3; -} - -//--------------------------------------------------------------------------- -value_type Ping() -{ - mu::console() << "ping\n"; return 0; -} - -//--------------------------------------------------------------------------- -mu::value_type SampleQuery(const char_type *szMsg) -{ - if (szMsg) - mu::console() << szMsg << std::endl; - - return 999; -}; - -//--------------------------------------------------------------------------- -// Factory function for creating new parser variables -// This could as well be a function performing database queries. -value_type* AddVariable(const char_type *a_szName, void *a_pUserData) -{ - // I don't want dynamic allocation here, so i used this static buffer - // If you want dynamic allocation you must allocate all variables dynamically - // in order to delete them later on. Or you find other ways to keep track of - // variables that have been created implicitely. - static value_type afValBuf[100]; - static int iVal = 0; - - mu::console() << _T("Generating new variable \"") - << a_szName << _T("\" (slots left: ") - << 99-iVal << _T(")") - << _T(" User data pointer is:") - << std::hex << a_pUserData <=99) - throw mu::ParserError( _T("Variable buffer overflow.") ); - - return &afValBuf[iVal++]; -} - -//--------------------------------------------------------------------------- -void Splash() -{ - mu::console() << _T(" __________ \n"); - mu::console() << _T(" _____ __ __\\______ \\_____ _______ ______ ____ _______\n"); - mu::console() << _T(" / \\ | | \\| ___/\\__ \\ \\_ __ \\/ ___/_/ __ \\\\_ __ \\ \n"); - mu::console() << _T(" | Y Y \\| | /| | / __ \\_| | \\/\\___ \\ \\ ___/ | | \\/ \n"); - mu::console() << _T(" |__|_| /|____/ |____| (____ /|__| /____ > \\___ >|__| \n"); - mu::console() << _T(" \\/ \\/ \\/ \\/ \n"); - mu::console() << _T(" Version ") << Parser().GetVersion() << _T("\n"); - mu::console() << _T(" (C) 2010 Ingo Berg\n"); -} - -//--------------------------------------------------------------------------- -void SelfTest() -{ - mu::console() << _T( "-----------------------------------------------------------\n"); - mu::console() << _T( "Configuration:\n\n"); - -#if defined(MUP_MATH_EXCEPTIONS) - mu::console() << _T( "- Math exceptions enabled\n"); -#else - mu::console() << _T( "- Math exceptions disabled\n"); -#endif -#if defined(_DEBUG) - mu::console() << _T( "- DEBUG build\n"); -#else - mu::console() << _T( "- RELEASE build\n"); -#endif - -#if defined(_UNICODE) - mu::console() << _T( "- UNICODE build\n"); -#else - mu::console() << _T( "- ASCII build\n"); -#endif - - mu::console() << _T( "-----------------------------------------------------------\n"); - mu::console() << _T( "Running test suite:\n\n"); - -#if !defined(MUP_DUMP_STACK) && !defined(MUP_DUMP_CMDCODE) - mu::Test::ParserTester pt; - pt.Run(); -#endif - - mu::console() << _T( "-----------------------------------------------------------\n"); - mu::console() << _T( "Commands:\n\n"); - mu::console() << _T( " list var - list parser variables\n"); - mu::console() << _T( " list exprvar - list expression variables\n"); - mu::console() << _T( " list const - list all numeric parser constants\n"); - mu::console() << _T( " locale de - switch to german locale\n"); - mu::console() << _T( " locale en - switch to english locale\n"); - mu::console() << _T( " locale reset - reset locale\n"); - mu::console() << _T( " quit - exits the parser\n"); - mu::console() << _T( "\nConstants:\n\n"); - mu::console() << _T( " \"_e\" 2.718281828459045235360287\n"); - mu::console() << _T( " \"_pi\" 3.141592653589793238462643\n"); - mu::console() << _T( "-----------------------------------------------------------\n"); -} - -////--------------------------------------------------------------------------- -//void CheckLocale() -//{ -// // Local names: -// // "C" - the classic C locale -// // "de_DE" - not for Windows? -// // "en_US" - not for Windows? -// // "German_germany" - For MSVC8 -// try -// { -// std::locale loc("German_germany"); -// console() << _T("Locale settings:\n"); -// console() << _T(" Decimal point: '") << std::use_facet >(loc).decimal_point() << "'\n"; -// console() << _T(" Thousands sep: '") << std::use_facet >(loc).thousands_sep() << "'\n"; -// console() << _T(" Grouping: \"") << std::use_facet >(loc).grouping() << "\"\n"; -// console() << _T(" True is named: \"") << std::use_facet >(loc).truename() << "\"\n"; -// console() << _T(" False is named: \"") << std::use_facet >(loc).falsename() << "\"\n"; -// console() << _T("-----------------------------------------------------------\n"); -// } -// catch(...) -// { -// console() << _T("Locale settings:\n"); -// console() << _T(" invalid locale name\n"); -// console() << _T("-----------------------------------------------------------\n"); -// } -//} - -//--------------------------------------------------------------------------- -void ListVar(const mu::ParserBase &parser) -{ - // Query the used variables (must be done after calc) - mu::varmap_type variables = parser.GetVar(); - if (!variables.size()) - return; - - cout << "\nParser variables:\n"; - cout << "-----------------\n"; - cout << "Number: " << (int)variables.size() << "\n"; - varmap_type::const_iterator item = variables.begin(); - for (; item!=variables.end(); ++item) - mu::console() << _T("Name: ") << item->first << _T(" Address: [0x") << item->second << _T("]\n"); -} - -//--------------------------------------------------------------------------- -void ListConst(const mu::ParserBase &parser) -{ - mu::console() << _T("\nParser constants:\n"); - mu::console() << _T("-----------------\n"); - - mu::valmap_type cmap = parser.GetConst(); - if (!cmap.size()) - { - mu::console() << _T("Expression does not contain constants\n"); - } - else - { - valmap_type::const_iterator item = cmap.begin(); - for (; item!=cmap.end(); ++item) - mu::console() << _T(" ") << item->first << _T(" = ") << item->second << _T("\n"); - } -} - -//--------------------------------------------------------------------------- -void ListExprVar(const mu::ParserBase &parser) -{ - string_type sExpr = parser.GetExpr(); - if (sExpr.length()==0) - { - cout << _T("Expression string is empty\n"); - return; - } - - // Query the used variables (must be done after calc) - mu::console() << _T("\nExpression variables:\n"); - mu::console() << _T("---------------------\n"); - mu::console() << _T("Expression: ") << parser.GetExpr() << _T("\n"); - - varmap_type variables = parser.GetUsedVar(); - if (!variables.size()) - { - mu::console() << _T("Expression does not contain variables\n"); - } - else - { - mu::console() << _T("Number: ") << (int)variables.size() << _T("\n"); - mu::varmap_type::const_iterator item = variables.begin(); - for (; item!=variables.end(); ++item) - mu::console() << _T("Name: ") << item->first << _T(" Address: [0x") << item->second << _T("]\n"); - } -} - -//--------------------------------------------------------------------------- -/** \brief Check for external keywords. -*/ -int CheckKeywords(const mu::char_type *a_szLine, mu::Parser &a_Parser) -{ - string_type sLine(a_szLine); - - if ( sLine == _T("quit") ) - { - return -1; - } - else if ( sLine == _T("list var") ) - { - ListVar(a_Parser); - return 1; - } - else if ( sLine == _T("list const") ) - { - ListConst(a_Parser); - return 1; - } - else if ( sLine == _T("list exprvar") ) - { - ListExprVar(a_Parser); - return 1; - } - else if ( sLine == _T("list const") ) - { - ListConst(a_Parser); - return 1; - } - else if ( sLine == _T("locale de") ) - { - mu::console() << _T("Setting german locale: ArgSep=';' DecSep=',' ThousandsSep='.'\n"); - a_Parser.SetArgSep(';'); - a_Parser.SetDecSep(','); - a_Parser.SetThousandsSep('.'); - return 1; - } - else if ( sLine == _T("locale en") ) - { - mu::console() << _T("Setting english locale: ArgSep=',' DecSep='.' ThousandsSep=''\n"); - a_Parser.SetArgSep(','); - a_Parser.SetDecSep('.'); - a_Parser.SetThousandsSep(); - return 1; - } - else if ( sLine == _T("locale reset") ) - { - mu::console() << _T("Resetting locale\n"); - a_Parser.ResetLocale(); - return 1; - } - - return 0; -} - -//--------------------------------------------------------------------------- -void Calc() -{ - mu::Parser parser; - mu::ParserInt int_parser; -// mu::ParserComplex cmplx_parser; - - // Change locale settings if necessary - // function argument separator: sum(2;3;4) vs. sum(2,3,4) - // decimal separator: 3,14 vs. 3.14 - // thousands separator: 1000000 vs 1.000.000 -//#define USE_GERMAN_LOCALE -#ifdef USE_GERMAN_LOCALE - parser.SetArgSep(';'); - parser.SetDecSep(','); - parser.SetThousandsSep('.'); -#else - // this is the default, so i it's commented: - //parser.SetArgSep(','); - //parser.SetDecSep('.'); - //parser.SetThousandsSep(''); -#endif - - // Add some variables - value_type vVarVal[] = { 1, 2 }; // Values of the parser variables -// parser.DefineArrayVar(_T("va"), vVarVal, 2); - parser.DefineVar(_T("a"), &vVarVal[0]); // Assign Variable names and bind them to the C++ variables - parser.DefineVar(_T("b"), &vVarVal[1]); - parser.DefineStrConst(_T("strBuf"), _T("hello world") ); - - // Add user defined unary operators - parser.DefinePostfixOprt(_T("{m}"), Milli); - parser.DefineInfixOprt(_T("!"), Not); - - parser.DefineFun(_T("query"), SampleQuery, false); - parser.DefineFun(_T("rnd"), Rnd, false); // Add an unoptimizeable function - parser.DefineFun(_T("strfun2"), StrFun2, false); // Add an unoptimizeable function - parser.DefineFun(_T("ping"), Ping, false); - - parser.DefineOprt(_T("add"), Add, 0); - parser.DefineOprt(_T("mul"), Mul, 1); - -#ifdef _DEBUG - parser.EnableOptimizer(false); -#endif - - // Define the variable factory - parser.SetVarFactory(AddVariable, &parser); - - for(;;) - { - try - { - string_type sLine; - std::getline(mu::console_in(), sLine); - - switch (CheckKeywords(sLine.c_str(), parser)) - { - case 0: break; - case 1: continue; - case -1: return; - } - -//#define MUP_EXAMPLE_INT_PARSER -//#define MUP_EXAMPLE_COMPLEX_PARSER -#ifdef MUP_EXAMPLE_INT_PARSER - int_parser.SetExpr(sLine); - mu::console() << int_parser.Eval() << "\n"; - mu::console() << int_parser.Eval() << "\n"; -#elif defined MUP_EXAMPLE_COMPLEX_PARSER - cmplx_parser.SetExpr(sLine); - mu::console() << cmplx_parser.Eval() << "\n"; -#else - - if (!sLine.length()) - continue; - - parser.SetExpr(sLine); - - mu::console() << std::setprecision(12); - - // The first call to eval implicitely creates the bytecode, and resets - // an internal pointer to the bytecode parsing function. Next time you call Eval - // the bytecode is used automatically! - mu::console() << "Parsing from string (slow): " << parser.Eval() << "\n"; - - // the second call automatically uses the bytecode for calculation, no interaction needed - mu::console() << "Parsing from bytecode (fast): " << parser.Eval() << "\n"; -// mu::console() << parser.GetExpr() << "\n"; -#endif - } - catch(mu::Parser::exception_type &e) - { - mu::console() << _T("\nError:\n"); - mu::console() << _T("------\n"); - mu::console() << _T("Message: ") << e.GetMsg() << _T("\n"); - mu::console() << _T("Expression: \"") << e.GetExpr() << _T("\"\n"); - mu::console() << _T("Token: \"") << e.GetToken() << _T("\"\n"); - mu::console() << _T("Position: ") << (int)e.GetPos() << _T("\n"); - mu::console() << _T("Errc: ") << std::dec << e.GetCode() << _T("\n"); - } - } // while running -} - -//--------------------------------------------------------------------------- -int main(int, char**) -{ - Splash(); - SelfTest(); -// CheckLocale(); -// CheckDiff(); - - mu::console() << _T("Enter an expression or a command:\n"); - - try - { - Calc(); - } - catch(Parser::exception_type &e) - { - // Only erros raised during the initialization will end up here - // formula related errors are treated in Calc() - console() << _T("Initialization error: ") << e.GetMsg() << endl; - console() << _T("aborting...") << endl; - string_type sBuf; - console_in() >> sBuf; - } - catch(std::exception & /*exc*/) - { - // there is no unicode compliant way to query exc.what() - // so i'll leave it for this example. - console() << _T("aborting...\n"); - } - - return 0; -} diff --git a/AMDiS/lib/muparser_v134/samples/example2/Readme.txt b/AMDiS/lib/muparser_v134/samples/example2/Readme.txt deleted file mode 100644 index 36f75022a3a280ba98ef7702b55e08bbc719692b..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/samples/example2/Readme.txt +++ /dev/null @@ -1,18 +0,0 @@ - - __________ - _____ __ __\______ \_____ _______ ______ ____ _______ - / \ | | \| ___/\__ \ \_ __ \/ ___/_/ __ \\_ __ \ - | Y Y \| | /| | / __ \_| | \/\___ \ \ ___/ | | \/ - |__|_| /|____/ |____| (____ /|__| /____ > \___ >|__| - \/ \/ \/ \/ - - Copyright (C) 2010 - Ingo Berg - - -This sample demonstrates using muParsers C-interface. The C-Interface -is usefull when interfacing muParser from different languages such -as C#. This sample is intended for use with the MS-Windows OS. - -You may need to copy the muparser.dll file from the ..\..\lib -folder in this directory in order to run this sample. diff --git a/AMDiS/lib/muparser_v134/samples/example2/example2.c b/AMDiS/lib/muparser_v134/samples/example2/example2.c deleted file mode 100644 index bc97905052e2ca8cf8b2e98873ae4a4ada39cf1c..0000000000000000000000000000000000000000 --- a/AMDiS/lib/muparser_v134/samples/example2/example2.c +++ /dev/null @@ -1,355 +0,0 @@ -#include -#include -#include - -#include "muParserDLL.h" - -#define PARSER_CONST_PI 3.141592653589793238462643 -#define PARSER_CONST_E 2.718281828459045235360287 -#define PARSER_MAXVARS 10 - - -//--------------------------------------------------------------------------- -// Callbacks for postfix operators -double Mega(double a_fVal) -{ - return a_fVal * 1.0e6; -} - -double Milli(double a_fVal) -{ - return a_fVal / 1.0e3; -} - -double ZeroArg() -{ - printf("i'm a function without arguments.\n"); - return 123; -} - -//--------------------------------------------------------------------------- -// Callbacks for infix operators -double Not(double v) { return v==0; } - -//--------------------------------------------------------------------------- -// Function callbacks -double Rnd(double v) { return v * rand() / (double)(RAND_MAX+1.0); } - -double SampleQuery(const char *szMsg) -{ - if (szMsg) - printf("%s\n", szMsg); - - return 999; -} - -double Sum(const double *a_afArg, int a_iArgc) -{ - double fRes=0; - int i=0; - - for (i=0; i=PARSER_MAXVARS-1) - { - printf("Variable buffer overflow."); - return NULL; - } - - return &afValBuf[iVal++]; -} - -//--------------------------------------------------------------------------- -void Intro(muParserHandle_t hParser) -{ - printf(" __________ \n"); - printf(" _____ __ __\\______ \\_____ _______ ______ ____ _______\n"); - printf(" / \\ | | \\| ___/\\__ \\ \\_ __ \\/ ___/_/ __ \\\\_ __ \\ \n"); - printf(" | Y Y \\| | /| | / __ \\_| | \\/\\___ \\ \\ ___/ | | \\/ \n"); - printf(" |__|_| /|____/ |____| (____ /|__| /____ > \\___ >|__| \n"); - printf(" \\/ \\/ \\/ \\/ \n"); - printf(" Version %s (DLL)\n", mupGetVersion(hParser)); - printf(" (C) 2010 Ingo Berg\n"); - printf("---------------------------------------\n"); - printf("Commands:\n"); - printf(" list var - list parser variables\n"); - printf(" list exprvar - list expression variables\n"); - printf(" list const - list all numeric parser constants\n"); - printf(" locale de - switch to german locale\n"); - printf(" locale en - switch to english locale\n"); - printf(" locale reset - reset locale\n"); - printf(" quit - exits the parser\n\n"); - printf("Constants:\n"); - printf(" \"_e\" 2.718281828459045235360287\n"); - printf(" \"_pi\" 3.141592653589793238462643\n"); - printf("---------------------------------------\n"); - printf("Please enter a formula:\n"); -} - -//--------------------------------------------------------------------------- -// Callback function for parser errors -void OnError(muParserHandle_t hParser) -{ - printf("\nError:\n"); - printf("------\n"); - printf("Message: \"%s\"\n", mupGetErrorMsg(hParser)); - printf("Token: \"%s\"\n", mupGetErrorToken(hParser)); - printf("Position: %d\n", mupGetErrorPos(hParser)); - printf("Errc: %d\n", mupGetErrorCode(hParser)); -} - -//--------------------------------------------------------------------------- -void ListVar(muParserHandle_t a_hParser) -{ - int iNumVar = mupGetVarNum(a_hParser); - int i = 0; - - if (iNumVar==0) - { - printf("No variables defined\n"); - return; - } - - printf("\nExpression variables:\n"); - printf("---------------------\n"); - printf("Number: %d\n", iNumVar); - - for (i=0; i= 5) return KSPGetOperators(ksp, Amat, Pmat); #else - return KSPGetOperators(ksp, Amat, Pmat, SAME_NONZERO_PATTERN); + return KSPGetOperators(ksp, Amat, Pmat, PETSC_NULL); #endif } diff --git a/CHANGELOG b/CHANGELOG index e0a8ae8f563ccf17183bf28dff13bde3ea71f95c..22544cd59c4e6631ec7eba4e453539cce63b3a5a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,4 @@ -libamdis (1.1~rc1-1) UNRELEASED; urgency=medium +amdis (@PACKAGE_VERSION_FULL@) @PACKAGE_DISTRIBUTION@; urgency=medium * CMake configuration redesigned * ARH3 reader corrected to parse .parh files correctly @@ -10,4 +10,4 @@ libamdis (1.1~rc1-1) UNRELEASED; urgency=medium * DirichletBC accepting expressions as value * Resenbrock time-discretization in parallel - -- Simon Praetorius Mon, 31 Oct 2016 10:46:58 +0100 \ No newline at end of file + -- Simon Praetorius Mon, 31 Oct 2016 10:46:58 +0100 diff --git a/README.md b/README.md index c68d586c739159e33d8b357bd0e77e8ed17a88a6..6d42e90fdac1468b5d76a5933451ccb3e7b83aa1 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ cmake --build . --target all The documentation is built using [Doxygen](http://www.doxygen.org). Simply run the command in the `doc` subdirectory: ``` -cd doc +cd AMDiS/doc doxygen ``` diff --git a/tools/build_amdis.sh b/tools/build_amdis.sh index 74adac0ac4cda22c2a4b83d438f67ec106c75493..c020f0d0b8b92d681d272d31fe1414f96abaec93 100755 --- a/tools/build_amdis.sh +++ b/tools/build_amdis.sh @@ -5,6 +5,7 @@ ROOT=${PWD} STAGE="build" CONFIG="Release" COMPONENT="SEQUENTIAL" +ENABLE_PNG="0" # parse command line if [ $# -gt 0 ]; then @@ -19,6 +20,9 @@ if [ $# -gt 0 ]; then --parallel) COMPONENT="PARALLEL" # [SEQUENTIAL|PARALLEL] shift ;; + --png) + ENABLE_PNG="1" + shift ;; --) shift break ;; @@ -40,12 +44,15 @@ fi if [ "${COMPONENT}" == "SEQUENTIAL" ]; then POSTFIX="${POSTFIX}_seq" - FLAGS="-DENABLE_UMFPACK:BOOL=ON" + FLAGS="-DENABLE_UMFPACK:BOOL=ON -DENABLE_HYPRE:BOOL=ON" else POSTFIX="${POSTFIX}_par" - FLAGS="-DENABLE_UMFPACK:BOOL=OFF -DENABLE_PARALLEL_DOMAIN:BOOL=ON" + FLAGS="-DENABLE_UMFPACK:BOOL=OFF -DENABLE_PARALLEL_DOMAIN:BOOL=ON -DENABLE_ZOLTAN:BOOL=ON" fi +if [ "${ENABLE_PNG}" == "1" ]; then + FLAGS="${FLAGS} -DENABLE_PNG:BOOL=ON" +fi if [[ "${STAGE}" == "build" || "${STAGE}" == "all" ]]; then # at first build AMDiS diff --git a/tools/packaging/debian/CPackOptions.cmake.in b/tools/packaging/debian/CPackOptions.cmake.in deleted file mode 100644 index 54b7c9685722d923e943dd8f42f823b89868ca69..0000000000000000000000000000000000000000 --- a/tools/packaging/debian/CPackOptions.cmake.in +++ /dev/null @@ -1,17 +0,0 @@ -set(CPACK_PACKAGE_NAME "@PACKAGE_NAME@") -set(CPACK_PACKAGE_VERSION "1.1~rc1") -SET(CPACK_PACKAGE_VERSION_MAJOR "1") -SET(CPACK_PACKAGE_VERSION_MINOR "1") -SET(CPACK_PACKAGE_VERSION_PATCH "0") -set(CPACK_PACKAGE_CONTACT "Simon Praetorius ") - -set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "A C++ library to solve a broad class of PDEs using adaptive finite elements.") -set(CPACK_PACKAGE_DESCRIPTION_FILE "@CMAKE_SOURCE_DIR@/README.md") -set(CPACK_PACKAGE_DESCRIPTION "Adaptive MultiDimensional Simulations (AMDiS) is a C++ library - to solve a broad class of partial differential equations (PDEs) using - adaptive finite elements.") - -set(CPACK_RESOURCE_FILE_LICENSE "@CMAKE_SOURCE_DIR@/LICENSE") -set(CPACK_RESOURCE_FILE_README "@CMAKE_SOURCE_DIR@/README.md") - -set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}") diff --git a/tools/packaging/debian/debian.changelog.in b/tools/packaging/debian/changelog.in similarity index 100% rename from tools/packaging/debian/debian.changelog.in rename to tools/packaging/debian/changelog.in diff --git a/tools/packaging/debian/control.in b/tools/packaging/debian/control.in new file mode 100644 index 0000000000000000000000000000000000000000..b2343775fc7600c097e74d3178edd32c5bd21856 --- /dev/null +++ b/tools/packaging/debian/control.in @@ -0,0 +1,61 @@ +Source: amdis +Maintainer: @PACKAGE_CONTACT@ +Section: contrib/misc +Priority: optional +Standards-Version: 3.9.2 +Vcs-Git: https://gitlab.math.tu-dresden.de/iwr/amdis.git +Homepage: https://gitlab.math.tu-dresden.de/iwr/amdis +Build-Depends: debhelper (>= 9), libboost-date-time-dev (>= 1.48), + libboost-filesystem-dev (>= 1.48), libboost-iostreams-dev (>= 1.48), + libboost-program-options-dev (>= 1.48), libboost-system-dev (>= 1.48), + zlib1g-dev (>= 1.2), libsuitesparse-dev (>= 4.2.1), cmake (>= 2.8.10), + petsc-dev (>= 3.3), libparmetis-dev (>= 3.0), pkg-config (>= 0.26), libmetis-dev (>= 5.0) + +Package: libamdis-dev +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libboost-date-time-dev (>= 1.48), + libboost-filesystem-dev (>= 1.48), libboost-iostreams-dev (>= 1.48), + libboost-program-options-dev (>= 1.48), libboost-system-dev (>= 1.48), + zlib1g-dev (>= 1.2), cmake (>= 2.8.10), pkg-config (>= 0.26) +Recommends: libamdis (= ${source:Version}), libamdis-par (= ${source:Version}) +Suggests: libamdis-debug (= ${source:Version}), libamdis-par-debug (= ${source:Version}) +Description: @PACKAGE_DESCRIPTION_SUMMARY@ + @PACKAGE_DESCRIPTION@ + . + This package provides the include header-files of AMDiS. + +Package: libamdis +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libamdis-dev (= ${source:Version}), + libsuitesparse-dev (>= 4.2.1) +Description: @PACKAGE_DESCRIPTION_SUMMARY@ + @PACKAGE_DESCRIPTION@ + . + This is the sequential version in Release mode of AMDiS. + +Package: libamdis-par +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libamdis-dev (= ${source:Version}), + petsc-dev (>= 3.3), libparmetis-dev (>= 3.0), libmetis-dev (>= 5.0) +Description: @PACKAGE_DESCRIPTION_SUMMARY@ (parallel Release-mode) + @PACKAGE_DESCRIPTION@ + . + This is the parallel version in Release mode of AMDiS. + +Package: libamdis-debug +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libamdis (= ${source:Version}) +Description: @PACKAGE_DESCRIPTION_SUMMARY@ (Debug-mode) + @PACKAGE_DESCRIPTION@ + . + This is the sequential version in Debug mode of AMDiS. + +Package: libamdis-par-debug +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libamdis-par (= ${source:Version}) +Description: @PACKAGE_DESCRIPTION_SUMMARY@ (parallel Debug-mode) + @PACKAGE_DESCRIPTION@ + . + This is the parallel version in Debug mode of AMDiS. + + diff --git a/tools/packaging/debian/debian.copyright.in b/tools/packaging/debian/copyright.in similarity index 100% rename from tools/packaging/debian/debian.copyright.in rename to tools/packaging/debian/copyright.in diff --git a/tools/packaging/debian/create_package.cmake b/tools/packaging/debian/create_package.cmake index 1c35f72c52a8ac2183f017fa6b0c79bc670fa16f..123f7fad842a0513586954f0619ae3874e1280de 100644 --- a/tools/packaging/debian/create_package.cmake +++ b/tools/packaging/debian/create_package.cmake @@ -1,81 +1,92 @@ -# Command line arguments: -# CONFIG = [Debug|Release] -# COMPONENT = [SEQUENTIAL|PARALLEL] +set(PACKAGE_SOURCE_NAME "amdis") +set(PACKAGE_NAME "libamdis") +set(PACKAGE_SECTION "libdevel") +if (DEFINED DISTRIBUTION) + set(PACKAGE_DISTRIBUTION "${DISTRIBUTION}") + set(IS_RELEASE ON) +else () + set(PACKAGE_DISTRIBUTION "xenial") + set(IS_RELEASE OFF) +endif () +set(PACKAGE_VERSION_MAJOR "1") +set(PACKAGE_VERSION_MINOR "1") +set(PACKAGE_VERSION_PATCH "0") +set(PACKAGE_RELEASE_CANDIDATE "1") -set(PACKAGE_NAME "libamdis") +# construct a package-version string +set(PACKAGE_VERSION "${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}") -if ("${COMPONENT}" STREQUAL "PARALLEL") - set(PACKAGE_NAME "${PACKAGE_NAME}-par") - set(ADDITIONAL_FLAGS "-DENABLE_UMFPACK:BOOL=OFF -DENABLE_PARALLEL_DOMAIN:BOOL=ON") -else () - set(ADDITIONAL_FLAGS "-DENABLE_UMFPACK:BOOL=ON") +if (${PACKAGE_VERSION_PATCH} GREATER 0) + set(PACKAGE_VERSION "${PACKAGE_VERSION}.${PACKAGE_VERSION_PATCH}") endif () -if ("${CONFIG}" STREQUAL "Debug") - set(PACKAGE_NAME "${PACKAGE_NAME}-dbg") - set(PACKAGE_SECTION "debug") -else () - set(PACKAGE_SECTION "misc") +if (NOT IS_RELEASE) + set(PACKAGE_VERSION "${PACKAGE_VERSION}~rc${PACKAGE_RELEASE_CANDIDATE}") endif () -# set(PACKAGE_NAME "${PACKAGE_NAME}-dev") -set(IN_DIR ${CMAKE_SOURCE_DIR}/tools/packaging/debian) -set(OUT_DIR ${CMAKE_SOURCE_DIR}/debian_package) -file(MAKE_DIRECTORY ${OUT_DIR}) +set(PACKAGE_VERSION "${PACKAGE_VERSION}~ppa5~${PACKAGE_DISTRIBUTION}") +set(PACKAGE_VERSION_FULL "${PACKAGE_VERSION}-1") +set(PACKAGE_CONTACT "Simon Praetorius ") +set(PACKAGE_SOURCE "") -configure_file(${IN_DIR}/CPackOptions.cmake.in ${OUT_DIR}/CPackOptions.cmake @ONLY) -include(${OUT_DIR}/CPackOptions.cmake) +set(PACKAGE_DESCRIPTION_SUMMARY "A C++ library to solve a broad class of PDEs using adaptive finite elements.") +set(PACKAGE_DESCRIPTION_FILE "${CMAKE_SOURCE_DIR}/README.md") +set(PACKAGE_DESCRIPTION +"Adaptive MultiDimensional Simulations (AMDiS) is a C++ library + to solve a broad class of partial differential equations (PDEs) using + adaptive finite elements.") -set(PACKAGE_FILENAME ${CPACK_PACKAGE_NAME}_${CPACK_PACKAGE_VERSION}) -set(PACKAGE_PREFIX ${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}) -set(TGZ_FILENAME ${OUT_DIR}/${PACKAGE_FILENAME}.orig.tar.gz) +set(PACKAGE_LICENSE_FILE "${CMAKE_SOURCE_DIR}/LICENSE") +set(PACKAGE_README_FILE "${CMAKE_SOURCE_DIR}/README.md") -execute_process(COMMAND git archive --format=tar.gz --prefix ${PACKAGE_PREFIX}/ -o ${TGZ_FILENAME} master) -execute_process(COMMAND date +%F OUTPUT_VARIABLE CURRENT_DATE) -execute_process(COMMAND date +%Y OUTPUT_VARIABLE YEAR) - -set(PACKAGE_VERSION ${CPACK_PACKAGE_VERSION}) -SET(PACKAGE_VERSION_MAJOR ${CPACK_PACKAGE_VERSION_MAJOR}) -SET(PACKAGE_VERSION_MINOR ${CPACK_PACKAGE_VERSION_MINOR}) -SET(PACKAGE_VERSION_PATCH ${CPACK_PACKAGE_VERSION_PATCH}) -set(PACKAGE_SOURCE "") -set(PACKAGE_CONTACT ${CPACK_PACKAGE_CONTACT}) +file(READ ${CMAKE_SOURCE_DIR}/AUTHORS PACKAGE_AUTHORS) execute_process(COMMAND date OUTPUT_VARIABLE PACKAGE_DATE) -file(READ ${CMAKE_SOURCE_DIR}/AUTHORS PACKAGE_AUTHORS) -set(PACKAGE_DESCRIPTION_SUMMARY ${CPACK_PACKAGE_DESCRIPTION_SUMMARY}) -set(PACKAGE_DESCRIPTION ${CPACK_PACKAGE_DESCRIPTION}) +set(IN_DIR ${CMAKE_SOURCE_DIR}/tools/packaging/debian) +set(OUT_DIR ${CMAKE_SOURCE_DIR}/debian_package) +file(MAKE_DIRECTORY ${OUT_DIR}) + +set(PACKAGE_FILENAME ${PACKAGE_SOURCE_NAME}_${PACKAGE_VERSION}) +set(PACKAGE_PREFIX ${PACKAGE_SOURCE_NAME}-${PACKAGE_VERSION}) +set(TGZ_FILENAME ${OUT_DIR}/${PACKAGE_FILENAME}.orig.tar.gz) -set(PACKAGE_LICENSE_FILE ${CMAKE_SOURCE_DIR}/LICENSE) -set(PACKAGE_README_FILE ${CMAKE_SOURCE_DIR}/README.md) -set(PACKAGE_DESCRIPTION_FILE ${PACKAGE_README_FILE}) +# create source tar.gz archive using git archive +execute_process(COMMAND git archive --format=tar.gz --prefix ${PACKAGE_PREFIX}/ -o ${TGZ_FILENAME} HEAD) -# extract package generated by CPack +# extract package generated above execute_process(COMMAND tar -xzf ${TGZ_FILENAME} -C ${OUT_DIR}) +# fill debian source package directory set(DEBIAN_DIR ${OUT_DIR}/${PACKAGE_PREFIX}/debian) +file(MAKE_DIRECTORY ${DEBIAN_DIR}) +file(MAKE_DIRECTORY ${DEBIAN_DIR}/soure) + +execute_process(COMMAND date +%F OUTPUT_VARIABLE CURRENT_DATE) +execute_process(COMMAND date +%Y OUTPUT_VARIABLE YEAR) -# generate necessary files for debian packages if (NOT EXISTS ${CMAKE_SOURCE_DIR}/CHANGELOG) - configure_file(${IN_DIR}/debian.changelog.in ${CMAKE_SOURCE_DIR}/CHANGELOG @ONLY) + configure_file(${IN_DIR}/changelog.in ${CMAKE_SOURCE_DIR}/CHANGELOG @ONLY) elseif (UPDATE_CHANGELOG) execute_process(COMMAND dch -i -M "New release version published at ${CURRENT_DATE}" -c ${CMAKE_SOURCE_DIR}/CHANGELOG) endif () message(STATUS "Changelog must be uploaded to master") -file(MAKE_DIRECTORY ${DEBIAN_DIR}) -file(MAKE_DIRECTORY ${DEBIAN_DIR}/soure) - -configure_file(${CMAKE_SOURCE_DIR}/CHANGELOG ${DEBIAN_DIR}/changelog COPYONLY) -configure_file(${IN_DIR}/debian.copyright.in ${DEBIAN_DIR}/copyright @ONLY) -configure_file(${IN_DIR}/debian.control.in ${DEBIAN_DIR}/control @ONLY) -configure_file(${IN_DIR}/debian.rules.in ${DEBIAN_DIR}/rules @ONLY) +configure_file(${CMAKE_SOURCE_DIR}/CHANGELOG ${DEBIAN_DIR}/changelog @ONLY) +configure_file(${IN_DIR}/copyright.in ${DEBIAN_DIR}/copyright @ONLY) +configure_file(${IN_DIR}/control.in ${DEBIAN_DIR}/control @ONLY) +configure_file(${IN_DIR}/rules.in ${DEBIAN_DIR}/rules @ONLY) execute_process(COMMAND chmod +x ${DEBIAN_DIR}/rules) + +configure_file(${IN_DIR}/libamdis-dev.install ${DEBIAN_DIR}/libamdis-dev.install @ONLY) +configure_file(${IN_DIR}/libamdis.install ${DEBIAN_DIR}/libamdis.install @ONLY) +configure_file(${IN_DIR}/libamdis-par.install ${DEBIAN_DIR}/libamdis-par.install @ONLY) +configure_file(${IN_DIR}/libamdis-debug.install ${DEBIAN_DIR}/libamdis-debug.install @ONLY) +configure_file(${IN_DIR}/libamdis-par-debug.install ${DEBIAN_DIR}/libamdis-par-debug.install @ONLY) + file(WRITE ${DEBIAN_DIR}/compat "9\n") file(WRITE ${DEBIAN_DIR}/soure/format "3.0 (quilt)\n") - # generate the debian package -execute_process(COMMAND debuild -d -us -uc - WORKING_DIRECTORY ${OUT_DIR}/${PACKAGE_PREFIX}) +execute_process(COMMAND ./generate_package.sh ${OUT_DIR}/${PACKAGE_PREFIX} ${PACKAGE_VERSION_FULL} ${IN_DIR} + WORKING_DIRECTORY ${IN_DIR}) diff --git a/tools/packaging/debian/debian.control.in b/tools/packaging/debian/debian.control.in deleted file mode 100644 index 1e9ea7416b492ce9a69506418d212a1ea0613dcf..0000000000000000000000000000000000000000 --- a/tools/packaging/debian/debian.control.in +++ /dev/null @@ -1,18 +0,0 @@ -Source: @PACKAGE_NAME@ -Maintainer: @PACKAGE_CONTACT@ -Section: @PACKAGE_SECTION@ -Priority: optional -Standards-Version: 3.9.2 -Build-Depends: debhelper (>= 9), libboost-date-time-dev (>= 1.48), - libboost-filesystem-dev (>= 1.48), libboost-iostreams-dev (>= 1.48), - libboost-program-options-dev (>= 1.48), libboost-system-dev (>= 1.48), - zlib1g-dev (>= 1.2), libsuitesparse-dev (>= 4.2.1), cmake (>= 2.8.10) - -Package: @PACKAGE_NAME@ -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, libboost-date-time-dev (>= 1.48), - libboost-filesystem-dev (>= 1.48), libboost-iostreams-dev (>= 1.48), - libboost-program-options-dev (>= 1.48), libboost-system-dev (>= 1.48), - zlib1g-dev (>= 1.2), libsuitesparse-dev (>= 4.2.1), cmake (>= 2.8.10) -Description: @PACKAGE_DESCRIPTION_SUMMARY@ - @PACKAGE_DESCRIPTION@ diff --git a/tools/packaging/debian/debian.rules.in b/tools/packaging/debian/debian.rules.in deleted file mode 100644 index 4311d8e1d709154b50cda3c00c0262f17706ccd4..0000000000000000000000000000000000000000 --- a/tools/packaging/debian/debian.rules.in +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/make -f - -%: - dh $@ - -override_dh_auto_configure: - cmake -DCMAKE_BUILD_TYPE=@CONFIG@ \ - -DCMAKE_INSTALL_PREFIX:PATH=/usr \ - -DENABLE_EXTENSIONS:BOOL=ON \ - -DENABLE_COMPRESSION:BOOL=ON @ADDITIONAL_FLAGS@ \ - AMDiS diff --git a/tools/packaging/debian/generate_package.sh b/tools/packaging/debian/generate_package.sh new file mode 100755 index 0000000000000000000000000000000000000000..6f96d4bb2048c35ffb48ca19b86ad0f0363240b6 --- /dev/null +++ b/tools/packaging/debian/generate_package.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +if [ $# -lt 3 ] ; then + echo "Usage: generate_package.sh root-dir amdis-version bin-dir" + exit 1 +fi + +ROOT="$1" +VERSION="$2" +BIN="$3" +CHANGES_FILE="${ROOT}/../amdis_${VERSION}_source.changes" + +cd $ROOT +debuild -uc -us -S -sa + +# export GNUPGHOME=/srv/amdis-deploy/gnupg + +# build debian source package and sign it using gpg +echo "${AMDIS_PGP_PASSPHRASE}" >> /tmp/amdis_passphrase +debsign -p"$BIN/gpg_pass.sh /tmp/amdis_passphrase" -S -k99F411D7 ${CHANGES_FILE} #3B1E713A + +$BIN/ssh_add_pass.sh /amdis/id_rsa /tmp/amdis_passphrase + +# upload the package +dput ppa:math-iwr/ppa ${CHANGES_FILE} + +rm -f /tmp/amdis_passphrase diff --git a/tools/packaging/debian/gpg_pass.sh b/tools/packaging/debian/gpg_pass.sh new file mode 100755 index 0000000000000000000000000000000000000000..41eeeb9d080f29516d8d0125c37dfcebd82c73a3 --- /dev/null +++ b/tools/packaging/debian/gpg_pass.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +if [ $# -ne 1 ] ; then + echo "Usage: gpg-pass.sh passfile additional-arguments..." + exit 1 +fi + +PWD_FILE="$1" +shift 1 + +eval $(gpg-agent --daemon --allow-preset-passphrase --max-cache-ttl 7200) +cat ${PWD_FILE} | /usr/lib/gnupg/gpg-preset-passphrase --preset key:99F411D7 +export GPG_TTY=`tty` +gpg --batch --use-agent $@ +/usr/lib/gnupg/gpg-preset-passphrase --forget key:99F411D7 diff --git a/tools/packaging/debian/libamdis-debug.install b/tools/packaging/debian/libamdis-debug.install new file mode 100644 index 0000000000000000000000000000000000000000..6624677ffe12e099c4fc554e9de522c106f98683 --- /dev/null +++ b/tools/packaging/debian/libamdis-debug.install @@ -0,0 +1,4 @@ +/usr/lib/amdis/libamdis-sd.so +/usr/lib/amdis/libamdiscompositefem-sd.so +/usr/lib/amdis/libamdisreinit-sd.so +/usr/lib/amdis/libamdisextensions-sd.so diff --git a/tools/packaging/debian/libamdis-dev.install b/tools/packaging/debian/libamdis-dev.install new file mode 100644 index 0000000000000000000000000000000000000000..15e94bd52e8e94de18fe0fa073c88dfa3936b863 --- /dev/null +++ b/tools/packaging/debian/libamdis-dev.install @@ -0,0 +1,14 @@ +/usr/include/amdis/ +/usr/lib/amdis/libmuparser.so +/usr/share/amdis/AMDISConfig.cmake +/usr/share/amdis/AMDISConfigVersion.cmake +/usr/share/amdis/AMDISUse.cmake +/usr/share/amdis/target_enable_bddcml.cmake +/usr/share/amdis/target_enable_boost.cmake +/usr/share/amdis/target_enable_cxx11.cmake +/usr/share/amdis/target_enable_hypre.cmake +/usr/share/amdis/target_enable_mtl4.cmake +/usr/share/amdis/target_enable_petsc.cmake +/usr/share/amdis/target_enable_png.cmake +/usr/share/amdis/target_enable_umfpack.cmake +/usr/share/amdis/target_enable_zoltan.cmake diff --git a/tools/packaging/debian/libamdis-par-debug.install b/tools/packaging/debian/libamdis-par-debug.install new file mode 100644 index 0000000000000000000000000000000000000000..753890d763d5a3bf9624a959d70207f72df24936 --- /dev/null +++ b/tools/packaging/debian/libamdis-par-debug.install @@ -0,0 +1,4 @@ +/usr/lib/amdis/libamdis-pd.so +/usr/lib/amdis/libamdiscompositefem-pd.so +/usr/lib/amdis/libamdisreinit-pd.so +/usr/lib/amdis/libamdisextensions-pd.so diff --git a/tools/packaging/debian/libamdis-par.install b/tools/packaging/debian/libamdis-par.install new file mode 100644 index 0000000000000000000000000000000000000000..d0640a7e6e959caaa2d3551d6c9781d63085536d --- /dev/null +++ b/tools/packaging/debian/libamdis-par.install @@ -0,0 +1,5 @@ +/usr/lib/amdis/libamdis-p.so +/usr/lib/amdis/libamdiscompositefem-p.so +/usr/lib/amdis/libamdisreinit-p.so +/usr/lib/amdis/libamdisextensions-p.so +/usr/share/amdis/AMDIS-p.cmake diff --git a/tools/packaging/debian/libamdis.install b/tools/packaging/debian/libamdis.install new file mode 100644 index 0000000000000000000000000000000000000000..3b00527465e2307c0baa609e984a2c2e8c03b2cd --- /dev/null +++ b/tools/packaging/debian/libamdis.install @@ -0,0 +1,5 @@ +/usr/lib/amdis/libamdis-s.so +/usr/lib/amdis/libamdiscompositefem-s.so +/usr/lib/amdis/libamdisreinit-s.so +/usr/lib/amdis/libamdisextensions-s.so +/usr/share/amdis/AMDIS-s.cmake diff --git a/tools/packaging/debian/rules.in b/tools/packaging/debian/rules.in new file mode 100644 index 0000000000000000000000000000000000000000..6f574399e6d8403966dcb7a7f5127d918ae2ac9e --- /dev/null +++ b/tools/packaging/debian/rules.in @@ -0,0 +1,57 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_configure: + dh_auto_configure -Scmake -DAMDiS --builddirectory=build_libamdis --package=libamdis -- \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DENABLE_EXTENSIONS:BOOL=ON \ + -DENABLE_COMPRESSION:BOOL=ON \ + -DENABLE_UMFPACK:BOOL=ON + + dh_auto_configure -Scmake -DAMDiS --builddirectory=build_libamdis_par --package=libamdis-par -- \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DENABLE_EXTENSIONS:BOOL=ON \ + -DENABLE_COMPRESSION:BOOL=ON \ + -DENABLE_UMFPACK:BOOL=OFF \ + -DENABLE_PARALLEL_DOMAIN:BOOL=ON + + dh_auto_configure -Scmake -DAMDiS --builddirectory=build_libamdis_debug --package=libamdis-debug -- \ + -DCMAKE_BUILD_TYPE=Debug \ + -DENABLE_EXTENSIONS:BOOL=ON \ + -DENABLE_COMPRESSION:BOOL=ON \ + -DENABLE_UMFPACK:BOOL=ON + + dh_auto_configure -Scmake -DAMDiS --builddirectory=build_libamdis_par_debug --package=libamdis-par-debug -- \ + -DCMAKE_BUILD_TYPE=Debug \ + -DENABLE_EXTENSIONS:BOOL=ON \ + -DENABLE_COMPRESSION:BOOL=ON \ + -DENABLE_UMFPACK:BOOL=OFF \ + -DENABLE_PARALLEL_DOMAIN:BOOL=ON + +override_dh_auto_build: + dh_auto_build --builddirectory=build_libamdis --package=libamdis --max-parallel=2 + dh_auto_build --builddirectory=build_libamdis_par --package=libamdis-par --max-parallel=2 + dh_auto_build --builddirectory=build_libamdis_debug --package=libamdis-debug --max-parallel=2 + dh_auto_build --builddirectory=build_libamdis_par_debug --package=libamdis-par-debug --max-parallel=2 + +override_dh_auto_install: + dh_auto_install --builddirectory=build_libamdis --package=libamdis + dh_auto_install --builddirectory=build_libamdis_par --package=libamdis-par + dh_auto_install --builddirectory=build_libamdis_debug --package=libamdis-debug + dh_auto_install --builddirectory=build_libamdis_par_debug --package=libamdis-par-debug + +override_dh_install: + dh_install --package=libamdis-dev + dh_install --package=libamdis + dh_install --package=libamdis-par + dh_install --package=libamdis-debug + dh_install --package=libamdis-par-debug + +override_dh_strip: + dh_strip --package=libamdis-debug --keep-debug + dh_strip --package=libamdis-par-debug --keep-debug + dh_strip --remaining-packages + + diff --git a/tools/packaging/debian/ssh_add_pass.sh b/tools/packaging/debian/ssh_add_pass.sh new file mode 100755 index 0000000000000000000000000000000000000000..55fb95f32cdf61683fddb2d586f9626d6818e990 --- /dev/null +++ b/tools/packaging/debian/ssh_add_pass.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +if [ $# -ne 2 ] ; then + echo "Usage: ssh-add-pass.sh keyfile passfile" + exit 1 +fi + +eval $(ssh-agent) +pass=$(cat $2) + +/amdis/tools/tcl/bin/expect << EOF + spawn ssh-add $1 + expect "Enter passphrase" + send "$pass\r" + expect eof +EOF