mirror of
https://github.com/love2d/megasource.git
synced 2026-08-17 03:02:49 +02:00
update freetype to 2.13.2.
This commit is contained in:
+1
-1
@@ -202,7 +202,7 @@ set(MEGA_LUAJIT_VER "2.1.0-e826d0c")
|
|||||||
set(MEGA_LIBOGG_VER "1.3.2")
|
set(MEGA_LIBOGG_VER "1.3.2")
|
||||||
set(MEGA_LIBVORBIS_VER "1.3.5")
|
set(MEGA_LIBVORBIS_VER "1.3.5")
|
||||||
set(MEGA_LIBTHEORA_VER "1.1.1")
|
set(MEGA_LIBTHEORA_VER "1.1.1")
|
||||||
set(MEGA_FREETYPE_VER "2.12.0")
|
set(MEGA_FREETYPE_VER "2.13.2")
|
||||||
set(MEGA_SDL2_VER "2.28.5")
|
set(MEGA_SDL2_VER "2.28.5")
|
||||||
set(MEGA_OPENAL_VER "1.22.0")
|
set(MEGA_OPENAL_VER "1.22.0")
|
||||||
set(MEGA_MODPLUG_VER "0.8.8.4")
|
set(MEGA_MODPLUG_VER "0.8.8.4")
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# CMakeLists.txt
|
# CMakeLists.txt
|
||||||
#
|
#
|
||||||
# Copyright (C) 2013-2022 by
|
# Copyright (C) 2013-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# Written originally by John Cary <cary@txcorp.com>
|
# Written originally by John Cary <cary@txcorp.com>
|
||||||
@@ -61,6 +61,8 @@
|
|||||||
#
|
#
|
||||||
# Some notes.
|
# Some notes.
|
||||||
#
|
#
|
||||||
|
# - Say `cmake -LAH` to see all configuration options.
|
||||||
|
#
|
||||||
# - `cmake' creates configuration files in
|
# - `cmake' creates configuration files in
|
||||||
#
|
#
|
||||||
# <build-directory>/include/freetype/config
|
# <build-directory>/include/freetype/config
|
||||||
@@ -121,7 +123,6 @@ endif ()
|
|||||||
|
|
||||||
include(CheckIncludeFile)
|
include(CheckIncludeFile)
|
||||||
include(CMakeDependentOption)
|
include(CMakeDependentOption)
|
||||||
include(FindPkgConfig)
|
|
||||||
|
|
||||||
# CMAKE_TOOLCHAIN_FILE must be set before `project' is called, which
|
# CMAKE_TOOLCHAIN_FILE must be set before `project' is called, which
|
||||||
# configures the base build environment and references the toolchain file
|
# configures the base build environment and references the toolchain file
|
||||||
@@ -162,8 +163,8 @@ endif ()
|
|||||||
project(freetype C)
|
project(freetype C)
|
||||||
|
|
||||||
set(VERSION_MAJOR "2")
|
set(VERSION_MAJOR "2")
|
||||||
set(VERSION_MINOR "12")
|
set(VERSION_MINOR "13")
|
||||||
set(VERSION_PATCH "0")
|
set(VERSION_PATCH "2")
|
||||||
|
|
||||||
# Generate LIBRARY_VERSION and LIBRARY_SOVERSION.
|
# Generate LIBRARY_VERSION and LIBRARY_SOVERSION.
|
||||||
set(LIBTOOL_REGEX "version_info='([0-9]+):([0-9]+):([0-9]+)'")
|
set(LIBTOOL_REGEX "version_info='([0-9]+):([0-9]+):([0-9]+)'")
|
||||||
@@ -216,6 +217,8 @@ cmake_dependent_option(FT_REQUIRE_BROTLI
|
|||||||
"Require support of compressed WOFF2 fonts." OFF
|
"Require support of compressed WOFF2 fonts." OFF
|
||||||
"NOT FT_DISABLE_BROTLI" OFF)
|
"NOT FT_DISABLE_BROTLI" OFF)
|
||||||
|
|
||||||
|
option(FT_ENABLE_ERROR_STRINGS
|
||||||
|
"Enable support for meaningful error descriptions." OFF)
|
||||||
|
|
||||||
# Disallow in-source builds
|
# Disallow in-source builds
|
||||||
if ("${CMAKE_BINARY_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}")
|
if ("${CMAKE_BINARY_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}")
|
||||||
@@ -245,6 +248,8 @@ endif ()
|
|||||||
|
|
||||||
|
|
||||||
# Find dependencies
|
# Find dependencies
|
||||||
|
include(FindPkgConfig)
|
||||||
|
|
||||||
if (NOT FT_DISABLE_HARFBUZZ)
|
if (NOT FT_DISABLE_HARFBUZZ)
|
||||||
set(HARFBUZZ_MIN_VERSION "2.0.0")
|
set(HARFBUZZ_MIN_VERSION "2.0.0")
|
||||||
if (FT_REQUIRE_HARFBUZZ)
|
if (FT_REQUIRE_HARFBUZZ)
|
||||||
@@ -353,6 +358,12 @@ if (BROTLIDEC_FOUND)
|
|||||||
FTOPTION_H "${FTOPTION_H}")
|
FTOPTION_H "${FTOPTION_H}")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
if (FT_ENABLE_ERROR_STRINGS)
|
||||||
|
string(REGEX REPLACE
|
||||||
|
"/\\* +(#define +FT_CONFIG_OPTION_ERROR_STRINGS) +\\*/" "\\1"
|
||||||
|
FTOPTION_H "${FTOPTION_H}")
|
||||||
|
endif ()
|
||||||
|
|
||||||
set(FTOPTION_H_NAME "${PROJECT_BINARY_DIR}/include/freetype/config/ftoption.h")
|
set(FTOPTION_H_NAME "${PROJECT_BINARY_DIR}/include/freetype/config/ftoption.h")
|
||||||
if (EXISTS "${FTOPTION_H_NAME}")
|
if (EXISTS "${FTOPTION_H_NAME}")
|
||||||
file(READ "${FTOPTION_H_NAME}" ORIGINAL_FTOPTION_H)
|
file(READ "${FTOPTION_H_NAME}" ORIGINAL_FTOPTION_H)
|
||||||
@@ -469,8 +480,6 @@ if (BUILD_SHARED_LIBS)
|
|||||||
SOVERSION ${LIBRARY_SOVERSION})
|
SOVERSION ${LIBRARY_SOVERSION})
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
message(STATUS ${CMAKE_CURRENT_BINARY_DIR})
|
|
||||||
|
|
||||||
# Pick up ftconfig.h and ftoption.h generated above, first.
|
# Pick up ftconfig.h and ftoption.h generated above, first.
|
||||||
target_include_directories(
|
target_include_directories(
|
||||||
freetype
|
freetype
|
||||||
@@ -493,46 +502,55 @@ if (BUILD_FRAMEWORK)
|
|||||||
)
|
)
|
||||||
set_target_properties(freetype PROPERTIES
|
set_target_properties(freetype PROPERTIES
|
||||||
FRAMEWORK TRUE
|
FRAMEWORK TRUE
|
||||||
MACOSX_FRAMEWORK_INFO_PLIST builds/mac/freetype-Info.plist
|
MACOSX_FRAMEWORK_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/builds/mac/freetype-Info.plist
|
||||||
PUBLIC_HEADER "${PUBLIC_HEADERS}"
|
PUBLIC_HEADER "${PUBLIC_HEADERS}"
|
||||||
XCODE_ATTRIBUTE_INSTALL_PATH "@rpath"
|
XCODE_ATTRIBUTE_INSTALL_PATH "@rpath"
|
||||||
)
|
)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
# 'freetype-interface' is an interface library, to be accessed with
|
||||||
|
# `EXPORT_NAME Freetype::Freetype`. This is the target name provided by
|
||||||
|
# CMake's `FindFreetype.cmake`, so we provide it for compatibility.
|
||||||
|
add_library(freetype-interface INTERFACE)
|
||||||
|
set_target_properties(freetype-interface PROPERTIES
|
||||||
|
EXPORT_NAME Freetype::Freetype
|
||||||
|
INTERFACE_LINK_LIBRARIES freetype)
|
||||||
|
|
||||||
set(PKG_CONFIG_REQUIRED_PRIVATE "")
|
set(PKGCONFIG_REQUIRES "")
|
||||||
set(PKG_CONFIG_LIBS_PRIVATE "")
|
set(PKGCONFIG_REQUIRES_PRIVATE "")
|
||||||
|
set(PKGCONFIG_LIBS "-L\${libdir} -lfreetype")
|
||||||
|
set(PKGCONFIG_LIBS_PRIVATE "")
|
||||||
|
|
||||||
if (ZLIB_FOUND)
|
if (ZLIB_FOUND)
|
||||||
target_link_libraries(freetype PRIVATE ${ZLIB_LIBRARIES})
|
target_link_libraries(freetype PRIVATE ${ZLIB_LIBRARIES})
|
||||||
target_include_directories(freetype PRIVATE ${ZLIB_INCLUDE_DIRS})
|
target_include_directories(freetype PRIVATE ${ZLIB_INCLUDE_DIRS})
|
||||||
list(APPEND PKG_CONFIG_REQUIRED_PRIVATE "zlib")
|
list(APPEND PKGCONFIG_REQUIRES_PRIVATE "zlib")
|
||||||
endif ()
|
endif ()
|
||||||
if (BZIP2_FOUND)
|
if (BZIP2_FOUND)
|
||||||
target_link_libraries(freetype PRIVATE ${BZIP2_LIBRARIES})
|
target_link_libraries(freetype PRIVATE ${BZIP2_LIBRARIES})
|
||||||
target_include_directories(freetype PRIVATE ${BZIP2_INCLUDE_DIR}) # not BZIP2_INCLUDE_DIRS
|
target_include_directories(freetype PRIVATE ${BZIP2_INCLUDE_DIR}) # not BZIP2_INCLUDE_DIRS
|
||||||
if (PC_BZIP2_FOUND)
|
if (PC_BZIP2_FOUND)
|
||||||
list(APPEND PKG_CONFIG_REQUIRED_PRIVATE "bzip2")
|
list(APPEND PKGCONFIG_REQUIRES_PRIVATE "bzip2")
|
||||||
else ()
|
else ()
|
||||||
list(APPEND PKG_CONFIG_LIBS_PRIVATE "-lbz2")
|
list(APPEND PKGCONFIG_LIBS_PRIVATE "-lbz2")
|
||||||
endif ()
|
endif ()
|
||||||
endif ()
|
endif ()
|
||||||
if (PNG_FOUND)
|
if (PNG_FOUND)
|
||||||
target_link_libraries(freetype PRIVATE ${PNG_LIBRARIES})
|
target_link_libraries(freetype PRIVATE ${PNG_LIBRARIES})
|
||||||
target_compile_definitions(freetype PRIVATE ${PNG_DEFINITIONS})
|
target_compile_definitions(freetype PRIVATE ${PNG_DEFINITIONS})
|
||||||
target_include_directories(freetype PRIVATE ${PNG_INCLUDE_DIRS})
|
target_include_directories(freetype PRIVATE ${PNG_INCLUDE_DIRS})
|
||||||
list(APPEND PKG_CONFIG_REQUIRED_PRIVATE "libpng")
|
list(APPEND PKGCONFIG_REQUIRES_PRIVATE "libpng")
|
||||||
endif ()
|
endif ()
|
||||||
if (HarfBuzz_FOUND)
|
if (HarfBuzz_FOUND)
|
||||||
target_link_libraries(freetype PRIVATE ${HarfBuzz_LIBRARY})
|
target_link_libraries(freetype PRIVATE ${HarfBuzz_LIBRARY})
|
||||||
target_include_directories(freetype PRIVATE ${HarfBuzz_INCLUDE_DIRS})
|
target_include_directories(freetype PRIVATE ${HarfBuzz_INCLUDE_DIRS})
|
||||||
list(APPEND PKG_CONFIG_REQUIRED_PRIVATE "harfbuzz >= ${HARFBUZZ_MIN_VERSION}")
|
list(APPEND PKGCONFIG_REQUIRES_PRIVATE "harfbuzz >= ${HARFBUZZ_MIN_VERSION}")
|
||||||
endif ()
|
endif ()
|
||||||
if (BROTLIDEC_FOUND)
|
if (BROTLIDEC_FOUND)
|
||||||
target_link_libraries(freetype PRIVATE ${BROTLIDEC_LIBRARIES})
|
target_link_libraries(freetype PRIVATE ${BROTLIDEC_LIBRARIES})
|
||||||
target_compile_definitions(freetype PRIVATE ${BROTLIDEC_DEFINITIONS})
|
target_compile_definitions(freetype PRIVATE ${BROTLIDEC_DEFINITIONS})
|
||||||
target_include_directories(freetype PRIVATE ${BROTLIDEC_INCLUDE_DIRS})
|
target_include_directories(freetype PRIVATE ${BROTLIDEC_INCLUDE_DIRS})
|
||||||
list(APPEND PKG_CONFIG_REQUIRED_PRIVATE "libbrotlidec")
|
list(APPEND PKGCONFIG_REQUIRES_PRIVATE "libbrotlidec")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
|
||||||
@@ -559,7 +577,7 @@ if (NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL)
|
|||||||
# Generate the pkg-config file
|
# Generate the pkg-config file
|
||||||
file(READ "${PROJECT_SOURCE_DIR}/builds/unix/freetype2.in" FREETYPE2_PC_IN)
|
file(READ "${PROJECT_SOURCE_DIR}/builds/unix/freetype2.in" FREETYPE2_PC_IN)
|
||||||
|
|
||||||
string(REPLACE ";" ", " PKG_CONFIG_REQUIRED_PRIVATE "${PKG_CONFIG_REQUIRED_PRIVATE}")
|
string(REPLACE ";" ", " PKGCONFIG_REQUIRES_PRIVATE "${PKGCONFIG_REQUIRES_PRIVATE}")
|
||||||
|
|
||||||
string(REPLACE "%prefix%" ${CMAKE_INSTALL_PREFIX}
|
string(REPLACE "%prefix%" ${CMAKE_INSTALL_PREFIX}
|
||||||
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||||
@@ -571,10 +589,26 @@ if (NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL)
|
|||||||
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||||
string(REPLACE "%ft_version%" "${LIBTOOL_CURRENT}.${LIBTOOL_REVISION}.${LIBTOOL_AGE}"
|
string(REPLACE "%ft_version%" "${LIBTOOL_CURRENT}.${LIBTOOL_REVISION}.${LIBTOOL_AGE}"
|
||||||
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||||
string(REPLACE "%REQUIRES_PRIVATE%" "${PKG_CONFIG_REQUIRED_PRIVATE}"
|
|
||||||
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
if (BUILD_SHARED_LIBS)
|
||||||
string(REPLACE "%LIBS_PRIVATE%" "${PKG_CONFIG_LIBS_PRIVATE}"
|
string(REPLACE "%PKGCONFIG_REQUIRES%" "${PKGCONFIG_REQUIRES}"
|
||||||
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||||
|
string(REPLACE "%PKGCONFIG_REQUIRES_PRIVATE%" "${PKGCONFIG_REQUIRES_PRIVATE}"
|
||||||
|
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||||
|
string(REPLACE "%PKGCONFIG_LIBS%" "${PKGCONFIG_LIBS}"
|
||||||
|
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||||
|
string(REPLACE "%PKGCONFIG_LIBS_PRIVATE%" "${PKGCONFIG_LIBS_PRIVATE}"
|
||||||
|
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||||
|
else ()
|
||||||
|
string(REPLACE "%PKGCONFIG_REQUIRES%" "${PKGCONFIG_REQUIRES} ${PKGCONFIG_REQUIRES_PRIVATE}"
|
||||||
|
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||||
|
string(REPLACE "%PKGCONFIG_REQUIRES_PRIVATE%" ""
|
||||||
|
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||||
|
string(REPLACE "%PKGCONFIG_LIBS%" "${PKGCONFIG_LIBS} ${PKGCONFIG_LIBS_PRIVATE}"
|
||||||
|
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||||
|
string(REPLACE "%PKGCONFIG_LIBS_PRIVATE%" ""
|
||||||
|
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||||
|
endif ()
|
||||||
|
|
||||||
set(FREETYPE2_PC_IN_NAME "${PROJECT_BINARY_DIR}/freetype2.pc")
|
set(FREETYPE2_PC_IN_NAME "${PROJECT_BINARY_DIR}/freetype2.pc")
|
||||||
if (EXISTS "${FREETYPE2_PC_IN_NAME}")
|
if (EXISTS "${FREETYPE2_PC_IN_NAME}")
|
||||||
@@ -598,7 +632,7 @@ if (NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL)
|
|||||||
COMPATIBILITY SameMajorVersion)
|
COMPATIBILITY SameMajorVersion)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS freetype
|
TARGETS freetype freetype-interface
|
||||||
EXPORT freetype-targets
|
EXPORT freetype-targets
|
||||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -29,12 +29,16 @@ The contributed BDF and PCF drivers come with a license similar to
|
|||||||
that of the X Window System. It is compatible to the above two
|
that of the X Window System. It is compatible to the above two
|
||||||
licenses (see files `src/bdf/README` and `src/pcf/README`). The same
|
licenses (see files `src/bdf/README` and `src/pcf/README`). The same
|
||||||
holds for the source code files `src/base/fthash.c` and
|
holds for the source code files `src/base/fthash.c` and
|
||||||
`include/freetype/internal/fthash.h`; they wer part of the BDF driver
|
`include/freetype/internal/fthash.h`; they were part of the BDF driver
|
||||||
in earlier FreeType versions.
|
in earlier FreeType versions.
|
||||||
|
|
||||||
The gzip module uses the zlib license (see `src/gzip/zlib.h`) which
|
The gzip module uses the zlib license (see `src/gzip/zlib.h`) which
|
||||||
too is compatible to the above two licenses.
|
too is compatible to the above two licenses.
|
||||||
|
|
||||||
|
The files `src/autofit/ft-hb.c` and `src/autofit/ft-hb.h` contain code
|
||||||
|
taken almost verbatim from the HarfBuzz file `hb-ft.cc`, which uses
|
||||||
|
the 'Old MIT' license, compatible to the above two licenses.
|
||||||
|
|
||||||
The MD5 checksum support (only used for debugging in development
|
The MD5 checksum support (only used for debugging in development
|
||||||
builds) is in the public domain.
|
builds) is in the public domain.
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FreeType 2.12.0
|
FreeType 2.13.2
|
||||||
===============
|
===============
|
||||||
|
|
||||||
Homepage: https://www.freetype.org
|
Homepage: https://www.freetype.org
|
||||||
@@ -16,7 +16,9 @@ Read the files `docs/INSTALL*` for installation instructions; see the
|
|||||||
file `docs/LICENSE.TXT` for the available licenses.
|
file `docs/LICENSE.TXT` for the available licenses.
|
||||||
|
|
||||||
For using FreeType's git repository instead of a distribution bundle,
|
For using FreeType's git repository instead of a distribution bundle,
|
||||||
please read file `README.git`.
|
please read file `README.git`. Note that you have to actually clone
|
||||||
|
the repository; using a snapshot will not work (in other words, don't
|
||||||
|
use gitlab's 'Download' button).
|
||||||
|
|
||||||
The FreeType 2 API reference is located in directory `docs/reference`;
|
The FreeType 2 API reference is located in directory `docs/reference`;
|
||||||
use the file `index.html` as the top entry point. [Please note that
|
use the file `index.html` as the top entry point. [Please note that
|
||||||
@@ -30,9 +32,9 @@ sites. Go to
|
|||||||
|
|
||||||
and download one of the following files.
|
and download one of the following files.
|
||||||
|
|
||||||
freetype-doc-2.12.0.tar.xz
|
freetype-doc-2.13.2.tar.xz
|
||||||
freetype-doc-2.12.0.tar.gz
|
freetype-doc-2.13.2.tar.gz
|
||||||
ftdoc2120.zip
|
ftdoc2132.zip
|
||||||
|
|
||||||
To view the documentation online, go to
|
To view the documentation online, go to
|
||||||
|
|
||||||
@@ -92,7 +94,7 @@ Enjoy!
|
|||||||
|
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
|
|
||||||
Copyright (C) 2006-2022 by
|
Copyright (C) 2006-2023 by
|
||||||
David Turner, Robert Wilhelm, and Werner Lemberg.
|
David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
|
|
||||||
This file is part of the FreeType project, and may only be used,
|
This file is part of the FreeType project, and may only be used,
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ address:
|
|||||||
|
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
|
|
||||||
Copyright (C) 2005-2022 by
|
Copyright (C) 2005-2023 by
|
||||||
David Turner, Robert Wilhelm, and Werner Lemberg.
|
David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
|
|
||||||
This file is part of the FreeType project, and may only be used,
|
This file is part of the FreeType project, and may only be used,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Copyright (C) 2005-2022 by
|
# Copyright (C) 2005-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
@@ -182,7 +182,7 @@ copy_submodule_files ()
|
|||||||
cp $DLG_SRC_DIR/* src/dlg
|
cp $DLG_SRC_DIR/* src/dlg
|
||||||
}
|
}
|
||||||
|
|
||||||
if test -d ".git"; then
|
if test -e ".git"; then
|
||||||
DLG_INC_DIR=subprojects/dlg/include/dlg
|
DLG_INC_DIR=subprojects/dlg/include/dlg
|
||||||
DLG_SRC_DIR=subprojects/dlg/src/dlg
|
DLG_SRC_DIR=subprojects/dlg/src/dlg
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
README for the builds/amiga subdirectory.
|
README for the builds/amiga subdirectory.
|
||||||
|
|
||||||
Copyright (C) 2005-2022 by
|
Copyright (C) 2005-2023 by
|
||||||
Werner Lemberg and Detlef Würkner.
|
Werner Lemberg and Detlef Würkner.
|
||||||
|
|
||||||
This file is part of the FreeType project, and may only be used, modified,
|
This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
/* */
|
/* */
|
||||||
/* Amiga-specific configuration file (specification only). */
|
/* Amiga-specific configuration file (specification only). */
|
||||||
/* */
|
/* */
|
||||||
/* Copyright (C) 2005-2022 by */
|
/* Copyright (C) 2005-2023 by */
|
||||||
/* Werner Lemberg and Detlef Würkner. */
|
/* Werner Lemberg and Detlef Würkner. */
|
||||||
/* */
|
/* */
|
||||||
/* This file is part of the FreeType project, and may only be used, */
|
/* This file is part of the FreeType project, and may only be used, */
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
/* */
|
/* */
|
||||||
/* Amiga-specific FreeType module selection. */
|
/* Amiga-specific FreeType module selection. */
|
||||||
/* */
|
/* */
|
||||||
/* Copyright (C) 2005-2022 by */
|
/* Copyright (C) 2005-2023 by */
|
||||||
/* Werner Lemberg and Detlef Würkner. */
|
/* Werner Lemberg and Detlef Würkner. */
|
||||||
/* */
|
/* */
|
||||||
/* This file is part of the FreeType project, and may only be used, */
|
/* This file is part of the FreeType project, and may only be used, */
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 2005-2022 by
|
# Copyright (C) 2005-2023 by
|
||||||
# Werner Lemberg and Detlef Würkner.
|
# Werner Lemberg and Detlef Würkner.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 2005-2022 by
|
# Copyright (C) 2005-2023 by
|
||||||
# Werner Lemberg and Detlef Würkner.
|
# Werner Lemberg and Detlef Würkner.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 2005-2022 by
|
# Copyright (C) 2005-2023 by
|
||||||
# Werner Lemberg and Detlef Würkner.
|
# Werner Lemberg and Detlef Würkner.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* Debugging and logging component for amiga (body).
|
* Debugging and logging component for amiga (body).
|
||||||
*
|
*
|
||||||
* Copyright (C) 1996-2022 by
|
* Copyright (C) 1996-2023 by
|
||||||
* David Turner, Robert Wilhelm, Werner Lemberg, and Detlef Wuerkner.
|
* David Turner, Robert Wilhelm, Werner Lemberg, and Detlef Wuerkner.
|
||||||
*
|
*
|
||||||
* This file is part of the FreeType project, and may only be used,
|
* This file is part of the FreeType project, and may only be used,
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
/* */
|
/* */
|
||||||
/* Amiga-specific FreeType low-level system interface (body). */
|
/* Amiga-specific FreeType low-level system interface (body). */
|
||||||
/* */
|
/* */
|
||||||
/* Copyright (C) 1996-2022 by */
|
/* Copyright (C) 1996-2023 by */
|
||||||
/* David Turner, Robert Wilhelm, Werner Lemberg and Detlef Würkner. */
|
/* David Turner, Robert Wilhelm, Werner Lemberg and Detlef Würkner. */
|
||||||
/* */
|
/* */
|
||||||
/* This file is part of the FreeType project, and may only be used, */
|
/* This file is part of the FreeType project, and may only be used, */
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# FreeType 2 configuration rules for a BeOS system
|
# FreeType 2 configuration rules for a BeOS system
|
||||||
#
|
#
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# FindBrotliDec.cmake
|
# FindBrotliDec.cmake
|
||||||
#
|
#
|
||||||
# Copyright (C) 2019-2022 by
|
# Copyright (C) 2019-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# Written by Werner Lemberg <wl@gnu.org>
|
# Written by Werner Lemberg <wl@gnu.org>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# iOS.cmake
|
# iOS.cmake
|
||||||
#
|
#
|
||||||
# Copyright (C) 2014-2022 by
|
# Copyright (C) 2014-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# Written by David Wimsey <david@wimsey.us>
|
# Written by David Wimsey <david@wimsey.us>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
# Copyright (C) 2015-2022 by
|
# Copyright (C) 2015-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 2003-2022 by
|
# Copyright (C) 2003-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 2003-2022 by
|
# Copyright (C) 2003-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 2003-2022 by
|
# Copyright (C) 2003-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 2005-2022 by
|
# Copyright (C) 2005-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
@@ -299,7 +299,7 @@ refdoc:
|
|||||||
$(PUBLIC_DIR)/config/*.h \
|
$(PUBLIC_DIR)/config/*.h \
|
||||||
$(PUBLIC_DIR)/cache/*.h
|
$(PUBLIC_DIR)/cache/*.h
|
||||||
@echo Building static site...
|
@echo Building static site...
|
||||||
cd $(DOC_DIR) && mkdocs build
|
cd $(DOC_DIR) && $(PYTHON) -m mkdocs build
|
||||||
@echo Done.
|
@echo Done.
|
||||||
|
|
||||||
# Variables for running `refdoc' with Python's `virtualenv'. The
|
# Variables for running `refdoc' with Python's `virtualenv'. The
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -200,14 +200,6 @@ environment by Metrowerks. GCC for MPW and Symantec
|
|||||||
behaviours are not tested at all. Building ftdemos
|
behaviours are not tested at all. Building ftdemos
|
||||||
for classic MacOS and working test is required.
|
for classic MacOS and working test is required.
|
||||||
|
|
||||||
4-3. Porting Jam onto MPW
|
|
||||||
-------------------------
|
|
||||||
|
|
||||||
FreeType uses Jam (and FT-Jam) for unified cross-
|
|
||||||
platform building tool. At present, Jam is not ported
|
|
||||||
to MPW. To update classic MacOS support easily,
|
|
||||||
building by Jam is expected on MPW.
|
|
||||||
|
|
||||||
|
|
||||||
APPENDIX I
|
APPENDIX I
|
||||||
----------
|
----------
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
/* Mac FOND support. Written by just@letterror.com. */
|
/* Mac FOND support. Written by just@letterror.com. */
|
||||||
/* Heavily Fixed by mpsuzuki, George Williams and Sean McBride */
|
/* Heavily Fixed by mpsuzuki, George Williams and Sean McBride */
|
||||||
/* */
|
/* */
|
||||||
/* Copyright (C) 1996-2022 by */
|
/* Copyright (C) 1996-2023 by */
|
||||||
/* Just van Rossum, David Turner, Robert Wilhelm, and Werner Lemberg. */
|
/* Just van Rossum, David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||||
/* */
|
/* */
|
||||||
/* This file is part of the FreeType project, and may only be used, */
|
/* This file is part of the FreeType project, and may only be used, */
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Copyright (C) 2020-2022 by
|
# Copyright (C) 2020-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Copyright (C) 2020-2022 by
|
# Copyright (C) 2020-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Copyright (C) 2020-2022 by
|
# Copyright (C) 2020-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Copyright (C) 2020-2022 by
|
# Copyright (C) 2020-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
@@ -84,19 +84,25 @@ def generate_ftmodule(lists):
|
|||||||
)
|
)
|
||||||
|
|
||||||
for module in lists["RASTER_MODULES"]:
|
for module in lists["RASTER_MODULES"]:
|
||||||
name = {
|
names = {
|
||||||
"raster": "ft_raster1",
|
"raster": ("ft_raster1",),
|
||||||
"smooth": "ft_smooth",
|
"smooth": ("ft_smooth",),
|
||||||
"svg": "ft_svg",
|
"svg": ("ft_svg",),
|
||||||
|
"sdf": ("ft_sdf", "ft_bitmap_sdf"),
|
||||||
}.get(module)
|
}.get(module)
|
||||||
result += (
|
for name in names:
|
||||||
"FT_USE_MODULE( FT_Renderer_Class, %s_renderer_class )\n" % name
|
result += (
|
||||||
)
|
"FT_USE_MODULE( FT_Renderer_Class, %s_renderer_class )\n" % name
|
||||||
|
)
|
||||||
|
|
||||||
for module in lists["AUX_MODULES"]:
|
for module in lists["AUX_MODULES"]:
|
||||||
if module in ("psaux", "psnames", "otvalid", "gxvalid"):
|
if module in ("psaux", "psnames", "otvalid", "gxvalid"):
|
||||||
|
name = {
|
||||||
|
"gxvalid": "gxv",
|
||||||
|
"otvalid": "otv",
|
||||||
|
}.get(module, module)
|
||||||
result += (
|
result += (
|
||||||
"FT_USE_MODULE( FT_Module_Class, %s_module_class )\n" % module
|
"FT_USE_MODULE( FT_Module_Class, %s_module_class )\n" % name
|
||||||
)
|
)
|
||||||
|
|
||||||
result += "/* EOF */\n"
|
result += "/* EOF */\n"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Copyright (C) 2020-2022 by
|
# Copyright (C) 2020-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// FreeType 2 project for the symbian platform
|
// FreeType 2 project for the symbian platform
|
||||||
//
|
//
|
||||||
|
|
||||||
// Copyright (C) 2008-2022 by
|
// Copyright (C) 2008-2023 by
|
||||||
// David Turner, Robert Wilhelm, and Werner Lemberg.
|
// David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
//
|
//
|
||||||
// This file is part of the FreeType project, and may only be used, modified,
|
// This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// FreeType 2 makefile for the symbian platform
|
// FreeType 2 makefile for the symbian platform
|
||||||
//
|
//
|
||||||
|
|
||||||
// Copyright (C) 2008-2022 by
|
// Copyright (C) 2008-2023 by
|
||||||
// David Turner, Robert Wilhelm, and Werner Lemberg.
|
// David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
//
|
//
|
||||||
// This file is part of the FreeType project, and may only be used, modified,
|
// This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
@@ -139,12 +139,12 @@ ifdef check_platform
|
|||||||
ifneq ($(is_unix),)
|
ifneq ($(is_unix),)
|
||||||
|
|
||||||
distclean:
|
distclean:
|
||||||
$(RM) builds/unix/config.cache
|
$(RM) $(TOP_DIR)/builds/unix/config.cache
|
||||||
$(RM) builds/unix/config.log
|
$(RM) $(TOP_DIR)/builds/unix/config.log
|
||||||
$(RM) builds/unix/config.status
|
$(RM) $(TOP_DIR)/builds/unix/config.status
|
||||||
$(RM) builds/unix/unix-def.mk
|
$(RM) $(TOP_DIR)/builds/unix/unix-def.mk
|
||||||
$(RM) builds/unix/unix-cc.mk
|
$(RM) $(TOP_DIR)/builds/unix/unix-cc.mk
|
||||||
$(RM) builds/unix/freetype2.pc
|
$(RM) $(TOP_DIR)/builds/unix/freetype2.pc
|
||||||
$(RM) nul
|
$(RM) nul
|
||||||
|
|
||||||
endif # test is_unix
|
endif # test is_unix
|
||||||
@@ -170,17 +170,17 @@ endif # test check_platform
|
|||||||
|
|
||||||
check_out_submodule:
|
check_out_submodule:
|
||||||
$(info Checking out submodule in `subprojects/dlg')
|
$(info Checking out submodule in `subprojects/dlg')
|
||||||
git submodule init
|
git --git-dir=$(TOP_DIR) submodule init
|
||||||
git submodule update
|
git --git-dir=$(TOP_DIR) submodule update
|
||||||
|
|
||||||
copy_submodule:
|
copy_submodule:
|
||||||
$(info Copying files from `subprojects/dlg' to `src/dlg' and `include/dlg')
|
$(info Copying files from `subprojects/dlg' to `src/dlg' and `include/dlg')
|
||||||
ifeq ($(wildcard include/dlg),)
|
ifeq ($(wildcard $(TOP_DIR)/include/dlg),)
|
||||||
mkdir $(subst /,$(SEP),include/dlg)
|
mkdir $(subst /,$(SEP),$(TOP_DIR)/include/dlg)
|
||||||
endif
|
endif
|
||||||
$(COPY) $(subst /,$(SEP),subprojects/dlg/include/dlg/output.h include/dlg)
|
$(COPY) $(subst /,$(SEP),$(TOP_DIR)/subprojects/dlg/include/dlg/output.h $(TOP_DIR)/include/dlg)
|
||||||
$(COPY) $(subst /,$(SEP),subprojects/dlg/include/dlg/dlg.h include/dlg)
|
$(COPY) $(subst /,$(SEP),$(TOP_DIR)/subprojects/dlg/include/dlg/dlg.h $(TOP_DIR)/include/dlg)
|
||||||
$(COPY) $(subst /,$(SEP),subprojects/dlg/src/dlg/dlg.c src/dlg)
|
$(COPY) $(subst /,$(SEP),$(TOP_DIR)/subprojects/dlg/src/dlg/dlg.c $(TOP_DIR)/src/dlg)
|
||||||
|
|
||||||
|
|
||||||
# We always need the list of modules in ftmodule.h.
|
# We always need the list of modules in ftmodule.h.
|
||||||
@@ -198,27 +198,22 @@ modules:
|
|||||||
include $(TOP_DIR)/builds/modules.mk
|
include $(TOP_DIR)/builds/modules.mk
|
||||||
|
|
||||||
|
|
||||||
# get FreeType version string, using a
|
# get FreeType version string using built-in string functions
|
||||||
# poor man's `sed' emulation with make's built-in string functions
|
|
||||||
#
|
#
|
||||||
|
hash := \#
|
||||||
|
|
||||||
work := $(strip $(shell $(CAT) \
|
work := $(strip $(shell $(CAT) \
|
||||||
$(subst /,$(SEP),$(TOP_DIR)/include/freetype/freetype.h)))
|
$(subst /,$(SEP),$(TOP_DIR)/include/freetype/freetype.h)))
|
||||||
work := $(subst |,x,$(work))
|
|
||||||
work := $(subst $(space),|,$(work))
|
|
||||||
work := $(subst \#define|FREETYPE_MAJOR|,$(space),$(work))
|
|
||||||
work := $(word 2,$(work))
|
|
||||||
major := $(subst |,$(space),$(work))
|
|
||||||
major := $(firstword $(major))
|
|
||||||
|
|
||||||
work := $(subst \#define|FREETYPE_MINOR|,$(space),$(work))
|
work := $(subst $(hash)define$(space)FREETYPE_MAJOR$(space),MAjOR=,$(work))
|
||||||
work := $(word 2,$(work))
|
work := $(subst $(hash)define$(space)FREETYPE_MINOR$(space),MInOR=,$(work))
|
||||||
minor := $(subst |,$(space),$(work))
|
work := $(subst $(hash)define$(space)FREETYPE_PATCH$(space),PAtCH=,$(work))
|
||||||
minor := $(firstword $(minor))
|
|
||||||
|
|
||||||
work := $(subst \#define|FREETYPE_PATCH|,$(space),$(work))
|
major := $(subst MAjOR=,,$(filter MAjOR=%,$(work)))
|
||||||
work := $(word 2,$(work))
|
minor := $(subst MInOR=,,$(filter MInOR=%,$(work)))
|
||||||
patch := $(subst |,$(space),$(work))
|
patch := $(subst PAtCH=,,$(filter PAtCH=%,$(work)))
|
||||||
patch := $(firstword $(patch))
|
|
||||||
|
work :=
|
||||||
|
|
||||||
# ifneq ($(findstring x0x,x$(patch)x),)
|
# ifneq ($(findstring x0x,x$(patch)x),)
|
||||||
# version := $(major).$(minor)
|
# version := $(major).$(minor)
|
||||||
@@ -294,15 +289,15 @@ CHANGELOG_SCRIPT = ~/git/config/gitlog-to-changelog
|
|||||||
|
|
||||||
do-dist: distclean refdoc
|
do-dist: distclean refdoc
|
||||||
@# Without removing the files, `autoconf' and friends follow links.
|
@# Without removing the files, `autoconf' and friends follow links.
|
||||||
rm -f builds/unix/aclocal.m4
|
rm -f $(TOP_DIR)/builds/unix/aclocal.m4
|
||||||
rm -f builds/unix/configure.ac
|
rm -f $(TOP_DIR)/builds/unix/configure.ac
|
||||||
rm -f builds/unix/configure
|
rm -f $(TOP_DIR)/builds/unix/configure
|
||||||
|
|
||||||
sh autogen.sh
|
sh autogen.sh
|
||||||
rm -rf builds/unix/autom4te.cache
|
rm -rf $(TOP_DIR)/builds/unix/autom4te.cache
|
||||||
|
|
||||||
cp $(CONFIG_GUESS) builds/unix
|
cp $(CONFIG_GUESS) $(TOP_DIR)/builds/unix
|
||||||
cp $(CONFIG_SUB) builds/unix
|
cp $(CONFIG_SUB) $(TOP_DIR)/builds/unix
|
||||||
|
|
||||||
@# Generate `ChangeLog' file with commits since release 2.11.0
|
@# Generate `ChangeLog' file with commits since release 2.11.0
|
||||||
@# (when we stopped creating this file manually).
|
@# (when we stopped creating this file manually).
|
||||||
@@ -313,10 +308,10 @@ do-dist: distclean refdoc
|
|||||||
> ChangeLog
|
> ChangeLog
|
||||||
|
|
||||||
@# Remove intermediate files created by the `refdoc' target.
|
@# Remove intermediate files created by the `refdoc' target.
|
||||||
rm -rf docs/markdown
|
rm -rf $(TOP_DIR)/docs/markdown
|
||||||
rm -f docs/mkdocs.yml
|
rm -f $(TOP_DIR)/docs/mkdocs.yml
|
||||||
|
|
||||||
@# Remove more stuff related to git.
|
@# Remove more stuff related to git.
|
||||||
rm -rf subprojects
|
rm -rf $(TOP_DIR)/subprojects/dlg
|
||||||
|
|
||||||
# EOF
|
# EOF
|
||||||
|
|||||||
Vendored
+141
-109
@@ -14,7 +14,8 @@
|
|||||||
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
|
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
|
||||||
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
|
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
|
||||||
#
|
#
|
||||||
# Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
|
# Copyright (C) 1996-2001, 2003-2019, 2021-2022 Free Software
|
||||||
|
# Foundation, Inc.
|
||||||
# Written by Gordon Matzigkeit, 1996
|
# Written by Gordon Matzigkeit, 1996
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation gives
|
# This file is free software; the Free Software Foundation gives
|
||||||
@@ -45,7 +46,7 @@ m4_define([_LT_COPYING], [dnl
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
])
|
])
|
||||||
|
|
||||||
# serial 58 LT_INIT
|
# serial 59 LT_INIT
|
||||||
|
|
||||||
|
|
||||||
# LT_PREREQ(VERSION)
|
# LT_PREREQ(VERSION)
|
||||||
@@ -195,6 +196,7 @@ m4_require([_LT_FILEUTILS_DEFAULTS])dnl
|
|||||||
m4_require([_LT_CHECK_SHELL_FEATURES])dnl
|
m4_require([_LT_CHECK_SHELL_FEATURES])dnl
|
||||||
m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
|
m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
|
||||||
m4_require([_LT_CMD_RELOAD])dnl
|
m4_require([_LT_CMD_RELOAD])dnl
|
||||||
|
m4_require([_LT_DECL_FILECMD])dnl
|
||||||
m4_require([_LT_CHECK_MAGIC_METHOD])dnl
|
m4_require([_LT_CHECK_MAGIC_METHOD])dnl
|
||||||
m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
|
m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
|
||||||
m4_require([_LT_CMD_OLD_ARCHIVE])dnl
|
m4_require([_LT_CMD_OLD_ARCHIVE])dnl
|
||||||
@@ -233,8 +235,8 @@ esac
|
|||||||
ofile=libtool
|
ofile=libtool
|
||||||
can_build_shared=yes
|
can_build_shared=yes
|
||||||
|
|
||||||
# All known linkers require a '.a' archive for static linking (except MSVC,
|
# All known linkers require a '.a' archive for static linking (except MSVC and
|
||||||
# which needs '.lib').
|
# ICC, which need '.lib').
|
||||||
libext=a
|
libext=a
|
||||||
|
|
||||||
with_gnu_ld=$lt_cv_prog_gnu_ld
|
with_gnu_ld=$lt_cv_prog_gnu_ld
|
||||||
@@ -785,7 +787,7 @@ _LT_EOF
|
|||||||
# if finds mixed CR/LF and LF-only lines. Since sed operates in
|
# if finds mixed CR/LF and LF-only lines. Since sed operates in
|
||||||
# text mode, it properly converts lines to CR/LF. This bash problem
|
# text mode, it properly converts lines to CR/LF. This bash problem
|
||||||
# is reportedly fixed, but why not run on old versions too?
|
# is reportedly fixed, but why not run on old versions too?
|
||||||
sed '$q' "$ltmain" >> "$cfgfile" \
|
$SED '$q' "$ltmain" >> "$cfgfile" \
|
||||||
|| (rm -f "$cfgfile"; exit 1)
|
|| (rm -f "$cfgfile"; exit 1)
|
||||||
|
|
||||||
mv -f "$cfgfile" "$ofile" ||
|
mv -f "$cfgfile" "$ofile" ||
|
||||||
@@ -1047,8 +1049,8 @@ int forced_loaded() { return 2;}
|
|||||||
_LT_EOF
|
_LT_EOF
|
||||||
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
|
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
|
||||||
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
|
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
|
||||||
echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
|
echo "$AR $AR_FLAGS libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
|
||||||
$AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
|
$AR $AR_FLAGS libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
|
||||||
echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
|
echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
|
||||||
$RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
|
$RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
|
||||||
cat > conftest.c << _LT_EOF
|
cat > conftest.c << _LT_EOF
|
||||||
@@ -1072,17 +1074,12 @@ _LT_EOF
|
|||||||
_lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
|
_lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
|
||||||
darwin1.*)
|
darwin1.*)
|
||||||
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
||||||
darwin*) # darwin 5.x on
|
darwin*)
|
||||||
# if running on 10.5 or later, the deployment target defaults
|
case $MACOSX_DEPLOYMENT_TARGET,$host in
|
||||||
# to the OS version, if on x86, and 10.4, the deployment
|
10.[[012]],*|,*powerpc*-darwin[[5-8]]*)
|
||||||
# target defaults to 10.4. Don't you love it?
|
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
||||||
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
*)
|
||||||
10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
|
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
|
||||||
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
|
|
||||||
10.[[012]][[,.]]*)
|
|
||||||
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
|
||||||
10.*)
|
|
||||||
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
|
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@@ -1131,12 +1128,12 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
|
|||||||
output_verbose_link_cmd=func_echo_all
|
output_verbose_link_cmd=func_echo_all
|
||||||
_LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
|
_LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
|
||||||
_LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
|
_LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
|
||||||
_LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
|
_LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
|
||||||
_LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
|
_LT_TAGVAR(module_expsym_cmds, $1)="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
|
||||||
m4_if([$1], [CXX],
|
m4_if([$1], [CXX],
|
||||||
[ if test yes != "$lt_cv_apple_cc_single_mod"; then
|
[ if test yes != "$lt_cv_apple_cc_single_mod"; then
|
||||||
_LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
|
_LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
|
||||||
_LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
|
_LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
|
||||||
fi
|
fi
|
||||||
],[])
|
],[])
|
||||||
else
|
else
|
||||||
@@ -1250,7 +1247,8 @@ _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
|
|||||||
# _LT_WITH_SYSROOT
|
# _LT_WITH_SYSROOT
|
||||||
# ----------------
|
# ----------------
|
||||||
AC_DEFUN([_LT_WITH_SYSROOT],
|
AC_DEFUN([_LT_WITH_SYSROOT],
|
||||||
[AC_MSG_CHECKING([for sysroot])
|
[m4_require([_LT_DECL_SED])dnl
|
||||||
|
AC_MSG_CHECKING([for sysroot])
|
||||||
AC_ARG_WITH([sysroot],
|
AC_ARG_WITH([sysroot],
|
||||||
[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
|
[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
|
||||||
[Search for dependent libraries within DIR (or the compiler's sysroot
|
[Search for dependent libraries within DIR (or the compiler's sysroot
|
||||||
@@ -1267,7 +1265,7 @@ case $with_sysroot in #(
|
|||||||
fi
|
fi
|
||||||
;; #(
|
;; #(
|
||||||
/*)
|
/*)
|
||||||
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
|
lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
|
||||||
;; #(
|
;; #(
|
||||||
no|'')
|
no|'')
|
||||||
;; #(
|
;; #(
|
||||||
@@ -1297,7 +1295,7 @@ ia64-*-hpux*)
|
|||||||
# options accordingly.
|
# options accordingly.
|
||||||
echo 'int i;' > conftest.$ac_ext
|
echo 'int i;' > conftest.$ac_ext
|
||||||
if AC_TRY_EVAL(ac_compile); then
|
if AC_TRY_EVAL(ac_compile); then
|
||||||
case `/usr/bin/file conftest.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*ELF-32*)
|
*ELF-32*)
|
||||||
HPUX_IA64_MODE=32
|
HPUX_IA64_MODE=32
|
||||||
;;
|
;;
|
||||||
@@ -1314,7 +1312,7 @@ ia64-*-hpux*)
|
|||||||
echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
|
echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
|
||||||
if AC_TRY_EVAL(ac_compile); then
|
if AC_TRY_EVAL(ac_compile); then
|
||||||
if test yes = "$lt_cv_prog_gnu_ld"; then
|
if test yes = "$lt_cv_prog_gnu_ld"; then
|
||||||
case `/usr/bin/file conftest.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*32-bit*)
|
*32-bit*)
|
||||||
LD="${LD-ld} -melf32bsmip"
|
LD="${LD-ld} -melf32bsmip"
|
||||||
;;
|
;;
|
||||||
@@ -1326,7 +1324,7 @@ ia64-*-hpux*)
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
case `/usr/bin/file conftest.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*32-bit*)
|
*32-bit*)
|
||||||
LD="${LD-ld} -32"
|
LD="${LD-ld} -32"
|
||||||
;;
|
;;
|
||||||
@@ -1348,7 +1346,7 @@ mips64*-*linux*)
|
|||||||
echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
|
echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
|
||||||
if AC_TRY_EVAL(ac_compile); then
|
if AC_TRY_EVAL(ac_compile); then
|
||||||
emul=elf
|
emul=elf
|
||||||
case `/usr/bin/file conftest.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*32-bit*)
|
*32-bit*)
|
||||||
emul="${emul}32"
|
emul="${emul}32"
|
||||||
;;
|
;;
|
||||||
@@ -1356,7 +1354,7 @@ mips64*-*linux*)
|
|||||||
emul="${emul}64"
|
emul="${emul}64"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
case `/usr/bin/file conftest.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*MSB*)
|
*MSB*)
|
||||||
emul="${emul}btsmip"
|
emul="${emul}btsmip"
|
||||||
;;
|
;;
|
||||||
@@ -1364,7 +1362,7 @@ mips64*-*linux*)
|
|||||||
emul="${emul}ltsmip"
|
emul="${emul}ltsmip"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
case `/usr/bin/file conftest.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*N32*)
|
*N32*)
|
||||||
emul="${emul}n32"
|
emul="${emul}n32"
|
||||||
;;
|
;;
|
||||||
@@ -1384,14 +1382,14 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
|||||||
# not appear in the list.
|
# not appear in the list.
|
||||||
echo 'int i;' > conftest.$ac_ext
|
echo 'int i;' > conftest.$ac_ext
|
||||||
if AC_TRY_EVAL(ac_compile); then
|
if AC_TRY_EVAL(ac_compile); then
|
||||||
case `/usr/bin/file conftest.o` in
|
case `$FILECMD conftest.o` in
|
||||||
*32-bit*)
|
*32-bit*)
|
||||||
case $host in
|
case $host in
|
||||||
x86_64-*kfreebsd*-gnu)
|
x86_64-*kfreebsd*-gnu)
|
||||||
LD="${LD-ld} -m elf_i386_fbsd"
|
LD="${LD-ld} -m elf_i386_fbsd"
|
||||||
;;
|
;;
|
||||||
x86_64-*linux*)
|
x86_64-*linux*)
|
||||||
case `/usr/bin/file conftest.o` in
|
case `$FILECMD conftest.o` in
|
||||||
*x86-64*)
|
*x86-64*)
|
||||||
LD="${LD-ld} -m elf32_x86_64"
|
LD="${LD-ld} -m elf32_x86_64"
|
||||||
;;
|
;;
|
||||||
@@ -1459,7 +1457,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
|||||||
# options accordingly.
|
# options accordingly.
|
||||||
echo 'int i;' > conftest.$ac_ext
|
echo 'int i;' > conftest.$ac_ext
|
||||||
if AC_TRY_EVAL(ac_compile); then
|
if AC_TRY_EVAL(ac_compile); then
|
||||||
case `/usr/bin/file conftest.o` in
|
case `$FILECMD conftest.o` in
|
||||||
*64-bit*)
|
*64-bit*)
|
||||||
case $lt_cv_prog_gnu_ld in
|
case $lt_cv_prog_gnu_ld in
|
||||||
yes*)
|
yes*)
|
||||||
@@ -1498,9 +1496,22 @@ need_locks=$enable_libtool_lock
|
|||||||
m4_defun([_LT_PROG_AR],
|
m4_defun([_LT_PROG_AR],
|
||||||
[AC_CHECK_TOOLS(AR, [ar], false)
|
[AC_CHECK_TOOLS(AR, [ar], false)
|
||||||
: ${AR=ar}
|
: ${AR=ar}
|
||||||
: ${AR_FLAGS=cru}
|
|
||||||
_LT_DECL([], [AR], [1], [The archiver])
|
_LT_DECL([], [AR], [1], [The archiver])
|
||||||
_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
|
|
||||||
|
# Use ARFLAGS variable as AR's operation code to sync the variable naming with
|
||||||
|
# Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
|
||||||
|
# higher priority because thats what people were doing historically (setting
|
||||||
|
# ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
|
||||||
|
# variable obsoleted/removed.
|
||||||
|
|
||||||
|
test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
|
||||||
|
lt_ar_flags=$AR_FLAGS
|
||||||
|
_LT_DECL([], [lt_ar_flags], [0], [Flags to create an archive (by configure)])
|
||||||
|
|
||||||
|
# Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
|
||||||
|
# by AR_FLAGS because that was never working and AR_FLAGS is about to die.
|
||||||
|
_LT_DECL([], [AR_FLAGS], [\@S|@{ARFLAGS-"\@S|@lt_ar_flags"}],
|
||||||
|
[Flags to create an archive])
|
||||||
|
|
||||||
AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
|
AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
|
||||||
[lt_cv_ar_at_file=no
|
[lt_cv_ar_at_file=no
|
||||||
@@ -1719,7 +1730,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
|
|||||||
lt_cv_sys_max_cmd_len=8192;
|
lt_cv_sys_max_cmd_len=8192;
|
||||||
;;
|
;;
|
||||||
|
|
||||||
bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
|
bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
|
||||||
# This has been around since 386BSD, at least. Likely further.
|
# This has been around since 386BSD, at least. Likely further.
|
||||||
if test -x /sbin/sysctl; then
|
if test -x /sbin/sysctl; then
|
||||||
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
|
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
|
||||||
@@ -1762,7 +1773,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
|
|||||||
sysv5* | sco5v6* | sysv4.2uw2*)
|
sysv5* | sco5v6* | sysv4.2uw2*)
|
||||||
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
|
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
|
||||||
if test -n "$kargmax"; then
|
if test -n "$kargmax"; then
|
||||||
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
|
lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[[ ]]//'`
|
||||||
else
|
else
|
||||||
lt_cv_sys_max_cmd_len=32768
|
lt_cv_sys_max_cmd_len=32768
|
||||||
fi
|
fi
|
||||||
@@ -2212,26 +2223,35 @@ m4_defun([_LT_CMD_STRIPLIB],
|
|||||||
striplib=
|
striplib=
|
||||||
old_striplib=
|
old_striplib=
|
||||||
AC_MSG_CHECKING([whether stripping libraries is possible])
|
AC_MSG_CHECKING([whether stripping libraries is possible])
|
||||||
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
|
if test -z "$STRIP"; then
|
||||||
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
|
AC_MSG_RESULT([no])
|
||||||
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
|
|
||||||
AC_MSG_RESULT([yes])
|
|
||||||
else
|
else
|
||||||
# FIXME - insert some real tests, host_os isn't really good enough
|
if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
|
||||||
case $host_os in
|
old_striplib="$STRIP --strip-debug"
|
||||||
darwin*)
|
striplib="$STRIP --strip-unneeded"
|
||||||
if test -n "$STRIP"; then
|
AC_MSG_RESULT([yes])
|
||||||
|
else
|
||||||
|
case $host_os in
|
||||||
|
darwin*)
|
||||||
|
# FIXME - insert some real tests, host_os isn't really good enough
|
||||||
striplib="$STRIP -x"
|
striplib="$STRIP -x"
|
||||||
old_striplib="$STRIP -S"
|
old_striplib="$STRIP -S"
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
else
|
;;
|
||||||
|
freebsd*)
|
||||||
|
if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
|
||||||
|
old_striplib="$STRIP --strip-debug"
|
||||||
|
striplib="$STRIP --strip-unneeded"
|
||||||
|
AC_MSG_RESULT([yes])
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT([no])
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
fi
|
;;
|
||||||
;;
|
esac
|
||||||
*)
|
fi
|
||||||
AC_MSG_RESULT([no])
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
fi
|
||||||
_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
|
_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
|
||||||
_LT_DECL([], [striplib], [1])
|
_LT_DECL([], [striplib], [1])
|
||||||
@@ -2554,7 +2574,7 @@ cygwin* | mingw* | pw32* | cegcc*)
|
|||||||
case $host_os in
|
case $host_os in
|
||||||
cygwin*)
|
cygwin*)
|
||||||
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
|
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
|
||||||
soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
|
soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
|
||||||
m4_if([$1], [],[
|
m4_if([$1], [],[
|
||||||
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
|
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
|
||||||
;;
|
;;
|
||||||
@@ -2564,14 +2584,14 @@ m4_if([$1], [],[
|
|||||||
;;
|
;;
|
||||||
pw32*)
|
pw32*)
|
||||||
# pw32 DLLs use 'pw' prefix rather than 'lib'
|
# pw32 DLLs use 'pw' prefix rather than 'lib'
|
||||||
library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
|
library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
dynamic_linker='Win32 ld.exe'
|
dynamic_linker='Win32 ld.exe'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*,cl*)
|
*,cl* | *,icl*)
|
||||||
# Native MSVC
|
# Native MSVC or ICC
|
||||||
libname_spec='$name'
|
libname_spec='$name'
|
||||||
soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
|
soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
|
||||||
library_names_spec='$libname.dll.lib'
|
library_names_spec='$libname.dll.lib'
|
||||||
@@ -2590,7 +2610,7 @@ m4_if([$1], [],[
|
|||||||
done
|
done
|
||||||
IFS=$lt_save_ifs
|
IFS=$lt_save_ifs
|
||||||
# Convert to MSYS style.
|
# Convert to MSYS style.
|
||||||
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
|
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
|
||||||
;;
|
;;
|
||||||
cygwin*)
|
cygwin*)
|
||||||
# Convert to unix form, then to dos form, then back to unix form
|
# Convert to unix form, then to dos form, then back to unix form
|
||||||
@@ -2627,7 +2647,7 @@ m4_if([$1], [],[
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
# Assume MSVC wrapper
|
# Assume MSVC and ICC wrapper
|
||||||
library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib'
|
library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib'
|
||||||
dynamic_linker='Win32 ld.exe'
|
dynamic_linker='Win32 ld.exe'
|
||||||
;;
|
;;
|
||||||
@@ -2660,7 +2680,7 @@ dgux*)
|
|||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
;;
|
;;
|
||||||
|
|
||||||
freebsd* | dragonfly*)
|
freebsd* | dragonfly* | midnightbsd*)
|
||||||
# DragonFly does not have aout. When/if they implement a new
|
# DragonFly does not have aout. When/if they implement a new
|
||||||
# versioning mechanism, adjust this.
|
# versioning mechanism, adjust this.
|
||||||
if test -x /usr/bin/objformat; then
|
if test -x /usr/bin/objformat; then
|
||||||
@@ -3459,7 +3479,7 @@ beos*)
|
|||||||
|
|
||||||
bsdi[[45]]*)
|
bsdi[[45]]*)
|
||||||
lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
|
lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
|
||||||
lt_cv_file_magic_cmd='/usr/bin/file -L'
|
lt_cv_file_magic_cmd='$FILECMD -L'
|
||||||
lt_cv_file_magic_test_file=/shlib/libc.so
|
lt_cv_file_magic_test_file=/shlib/libc.so
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@@ -3493,14 +3513,14 @@ darwin* | rhapsody*)
|
|||||||
lt_cv_deplibs_check_method=pass_all
|
lt_cv_deplibs_check_method=pass_all
|
||||||
;;
|
;;
|
||||||
|
|
||||||
freebsd* | dragonfly*)
|
freebsd* | dragonfly* | midnightbsd*)
|
||||||
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
|
||||||
case $host_cpu in
|
case $host_cpu in
|
||||||
i*86 )
|
i*86 )
|
||||||
# Not sure whether the presence of OpenBSD here was a mistake.
|
# Not sure whether the presence of OpenBSD here was a mistake.
|
||||||
# Let's accept both of them until this is cleared up.
|
# Let's accept both of them until this is cleared up.
|
||||||
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
|
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
|
||||||
lt_cv_file_magic_cmd=/usr/bin/file
|
lt_cv_file_magic_cmd=$FILECMD
|
||||||
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
|
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@@ -3514,7 +3534,7 @@ haiku*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
hpux10.20* | hpux11*)
|
hpux10.20* | hpux11*)
|
||||||
lt_cv_file_magic_cmd=/usr/bin/file
|
lt_cv_file_magic_cmd=$FILECMD
|
||||||
case $host_cpu in
|
case $host_cpu in
|
||||||
ia64*)
|
ia64*)
|
||||||
lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
|
lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
|
||||||
@@ -3561,7 +3581,7 @@ netbsd*)
|
|||||||
|
|
||||||
newos6*)
|
newos6*)
|
||||||
lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
|
lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
|
||||||
lt_cv_file_magic_cmd=/usr/bin/file
|
lt_cv_file_magic_cmd=$FILECMD
|
||||||
lt_cv_file_magic_test_file=/usr/lib/libnls.so
|
lt_cv_file_magic_test_file=/usr/lib/libnls.so
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@@ -3688,13 +3708,13 @@ else
|
|||||||
mingw*) lt_bad_file=conftest.nm/nofile ;;
|
mingw*) lt_bad_file=conftest.nm/nofile ;;
|
||||||
*) lt_bad_file=/dev/null ;;
|
*) lt_bad_file=/dev/null ;;
|
||||||
esac
|
esac
|
||||||
case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
|
case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
|
||||||
*$lt_bad_file* | *'Invalid file or object type'*)
|
*$lt_bad_file* | *'Invalid file or object type'*)
|
||||||
lt_cv_path_NM="$tmp_nm -B"
|
lt_cv_path_NM="$tmp_nm -B"
|
||||||
break 2
|
break 2
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
|
case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
|
||||||
*/dev/null*)
|
*/dev/null*)
|
||||||
lt_cv_path_NM="$tmp_nm -p"
|
lt_cv_path_NM="$tmp_nm -p"
|
||||||
break 2
|
break 2
|
||||||
@@ -3720,7 +3740,7 @@ else
|
|||||||
# Let the user override the test.
|
# Let the user override the test.
|
||||||
else
|
else
|
||||||
AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
|
AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
|
||||||
case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
|
case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
|
||||||
*COFF*)
|
*COFF*)
|
||||||
DUMPBIN="$DUMPBIN -symbols -headers"
|
DUMPBIN="$DUMPBIN -symbols -headers"
|
||||||
;;
|
;;
|
||||||
@@ -3960,7 +3980,7 @@ esac
|
|||||||
|
|
||||||
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
||||||
# Gets list of data symbols to import.
|
# Gets list of data symbols to import.
|
||||||
lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
|
lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
|
||||||
# Adjust the below global symbol transforms to fixup imported variables.
|
# Adjust the below global symbol transforms to fixup imported variables.
|
||||||
lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
|
lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
|
||||||
lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
|
lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
|
||||||
@@ -3978,20 +3998,20 @@ fi
|
|||||||
# Transform an extracted symbol line into a proper C declaration.
|
# Transform an extracted symbol line into a proper C declaration.
|
||||||
# Some systems (esp. on ia64) link data and code symbols differently,
|
# Some systems (esp. on ia64) link data and code symbols differently,
|
||||||
# so use this general approach.
|
# so use this general approach.
|
||||||
lt_cv_sys_global_symbol_to_cdecl="sed -n"\
|
lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
|
||||||
$lt_cdecl_hook\
|
$lt_cdecl_hook\
|
||||||
" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
|
" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
|
||||||
" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
|
" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
|
||||||
|
|
||||||
# Transform an extracted symbol line into symbol name and symbol address
|
# Transform an extracted symbol line into symbol name and symbol address
|
||||||
lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
|
lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
|
||||||
$lt_c_name_hook\
|
$lt_c_name_hook\
|
||||||
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
|
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
|
||||||
" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
|
" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
|
||||||
|
|
||||||
# Transform an extracted symbol line into symbol name with lib prefix and
|
# Transform an extracted symbol line into symbol name with lib prefix and
|
||||||
# symbol address.
|
# symbol address.
|
||||||
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
|
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
|
||||||
$lt_c_name_lib_hook\
|
$lt_c_name_lib_hook\
|
||||||
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
|
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
|
||||||
" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
|
" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
|
||||||
@@ -4015,7 +4035,7 @@ for ac_symprfx in "" "_"; do
|
|||||||
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
||||||
# Fake it for dumpbin and say T for any non-static function,
|
# Fake it for dumpbin and say T for any non-static function,
|
||||||
# D for any global variable and I for any imported variable.
|
# D for any global variable and I for any imported variable.
|
||||||
# Also find C++ and __fastcall symbols from MSVC++,
|
# Also find C++ and __fastcall symbols from MSVC++ or ICC,
|
||||||
# which start with @ or ?.
|
# which start with @ or ?.
|
||||||
lt_cv_sys_global_symbol_pipe="$AWK ['"\
|
lt_cv_sys_global_symbol_pipe="$AWK ['"\
|
||||||
" {last_section=section; section=\$ 3};"\
|
" {last_section=section; section=\$ 3};"\
|
||||||
@@ -4033,9 +4053,9 @@ for ac_symprfx in "" "_"; do
|
|||||||
" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
|
" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
|
||||||
" ' prfx=^$ac_symprfx]"
|
" ' prfx=^$ac_symprfx]"
|
||||||
else
|
else
|
||||||
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
|
lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
|
||||||
fi
|
fi
|
||||||
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
|
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
|
||||||
|
|
||||||
# Check to see that the pipe works correctly.
|
# Check to see that the pipe works correctly.
|
||||||
pipe_works=no
|
pipe_works=no
|
||||||
@@ -4322,7 +4342,7 @@ m4_if([$1], [CXX], [
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
freebsd* | dragonfly*)
|
freebsd* | dragonfly* | midnightbsd*)
|
||||||
# FreeBSD uses GNU C++
|
# FreeBSD uses GNU C++
|
||||||
;;
|
;;
|
||||||
hpux9* | hpux10* | hpux11*)
|
hpux9* | hpux10* | hpux11*)
|
||||||
@@ -4405,7 +4425,7 @@ m4_if([$1], [CXX], [
|
|||||||
_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
case `$CC -V 2>&1 | sed 5q` in
|
case `$CC -V 2>&1 | $SED 5q` in
|
||||||
*Sun\ C*)
|
*Sun\ C*)
|
||||||
# Sun C++ 5.9
|
# Sun C++ 5.9
|
||||||
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
|
||||||
@@ -4741,7 +4761,7 @@ m4_if([$1], [CXX], [
|
|||||||
_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
case `$CC -V 2>&1 | sed 5q` in
|
case `$CC -V 2>&1 | $SED 5q` in
|
||||||
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
|
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
|
||||||
# Sun Fortran 8.3 passes all unrecognized flags to the linker
|
# Sun Fortran 8.3 passes all unrecognized flags to the linker
|
||||||
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
|
||||||
@@ -4924,7 +4944,7 @@ m4_if([$1], [CXX], [
|
|||||||
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
|
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
|
||||||
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
|
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
|
||||||
else
|
else
|
||||||
_LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
|
_LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
pw32*)
|
pw32*)
|
||||||
@@ -4932,7 +4952,7 @@ m4_if([$1], [CXX], [
|
|||||||
;;
|
;;
|
||||||
cygwin* | mingw* | cegcc*)
|
cygwin* | mingw* | cegcc*)
|
||||||
case $cc_basename in
|
case $cc_basename in
|
||||||
cl*)
|
cl* | icl*)
|
||||||
_LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
|
_LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
@@ -4989,15 +5009,15 @@ dnl Note also adjust exclude_expsyms for C++ above.
|
|||||||
|
|
||||||
case $host_os in
|
case $host_os in
|
||||||
cygwin* | mingw* | pw32* | cegcc*)
|
cygwin* | mingw* | pw32* | cegcc*)
|
||||||
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
# FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
|
||||||
# When not using gcc, we currently assume that we are using
|
# When not using gcc, we currently assume that we are using
|
||||||
# Microsoft Visual C++.
|
# Microsoft Visual C++ or Intel C++ Compiler.
|
||||||
if test yes != "$GCC"; then
|
if test yes != "$GCC"; then
|
||||||
with_gnu_ld=no
|
with_gnu_ld=no
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
interix*)
|
interix*)
|
||||||
# we just hope/assume this is gcc and not c89 (= MSVC++)
|
# we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
|
||||||
with_gnu_ld=yes
|
with_gnu_ld=yes
|
||||||
;;
|
;;
|
||||||
openbsd* | bitrig*)
|
openbsd* | bitrig*)
|
||||||
@@ -5049,7 +5069,7 @@ dnl Note also adjust exclude_expsyms for C++ above.
|
|||||||
_LT_TAGVAR(whole_archive_flag_spec, $1)=
|
_LT_TAGVAR(whole_archive_flag_spec, $1)=
|
||||||
fi
|
fi
|
||||||
supports_anon_versioning=no
|
supports_anon_versioning=no
|
||||||
case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
|
case `$LD -v | $SED -e 's/([[^)]]\+)\s\+//' 2>&1` in
|
||||||
*GNU\ gold*) supports_anon_versioning=yes ;;
|
*GNU\ gold*) supports_anon_versioning=yes ;;
|
||||||
*\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
|
*\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
|
||||||
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
|
||||||
@@ -5161,6 +5181,7 @@ _LT_EOF
|
|||||||
emximp -o $lib $output_objdir/$libname.def'
|
emximp -o $lib $output_objdir/$libname.def'
|
||||||
_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
|
_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
|
||||||
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
|
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
|
||||||
|
_LT_TAGVAR(file_list_spec, $1)='@'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
interix[[3-9]]*)
|
interix[[3-9]]*)
|
||||||
@@ -5175,7 +5196,7 @@ _LT_EOF
|
|||||||
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
|
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
|
||||||
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
|
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
|
||||||
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
||||||
_LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
_LT_TAGVAR(archive_expsym_cmds, $1)='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
|
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||||
@@ -5218,7 +5239,7 @@ _LT_EOF
|
|||||||
_LT_TAGVAR(compiler_needs_object, $1)=yes
|
_LT_TAGVAR(compiler_needs_object, $1)=yes
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
case `$CC -V 2>&1 | sed 5q` in
|
case `$CC -V 2>&1 | $SED 5q` in
|
||||||
*Sun\ C*) # Sun C 5.9
|
*Sun\ C*) # Sun C 5.9
|
||||||
_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
|
_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
|
||||||
_LT_TAGVAR(compiler_needs_object, $1)=yes
|
_LT_TAGVAR(compiler_needs_object, $1)=yes
|
||||||
@@ -5230,7 +5251,7 @@ _LT_EOF
|
|||||||
|
|
||||||
if test yes = "$supports_anon_versioning"; then
|
if test yes = "$supports_anon_versioning"; then
|
||||||
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
|
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
|
||||||
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
||||||
echo "local: *; };" >> $output_objdir/$libname.ver~
|
echo "local: *; };" >> $output_objdir/$libname.ver~
|
||||||
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
|
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
|
||||||
fi
|
fi
|
||||||
@@ -5246,7 +5267,7 @@ _LT_EOF
|
|||||||
_LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
|
_LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
|
||||||
if test yes = "$supports_anon_versioning"; then
|
if test yes = "$supports_anon_versioning"; then
|
||||||
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
|
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
|
||||||
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
||||||
echo "local: *; };" >> $output_objdir/$libname.ver~
|
echo "local: *; };" >> $output_objdir/$libname.ver~
|
||||||
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
|
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
|
||||||
fi
|
fi
|
||||||
@@ -5378,7 +5399,7 @@ _LT_EOF
|
|||||||
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
|
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
|
||||||
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
|
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
|
||||||
else
|
else
|
||||||
_LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
|
_LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
|
||||||
fi
|
fi
|
||||||
aix_use_runtimelinking=no
|
aix_use_runtimelinking=no
|
||||||
|
|
||||||
@@ -5561,12 +5582,12 @@ _LT_EOF
|
|||||||
|
|
||||||
cygwin* | mingw* | pw32* | cegcc*)
|
cygwin* | mingw* | pw32* | cegcc*)
|
||||||
# When not using gcc, we currently assume that we are using
|
# When not using gcc, we currently assume that we are using
|
||||||
# Microsoft Visual C++.
|
# Microsoft Visual C++ or Intel C++ Compiler.
|
||||||
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
||||||
# no search path for DLLs.
|
# no search path for DLLs.
|
||||||
case $cc_basename in
|
case $cc_basename in
|
||||||
cl*)
|
cl* | icl*)
|
||||||
# Native MSVC
|
# Native MSVC or ICC
|
||||||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
|
||||||
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
|
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
|
||||||
_LT_TAGVAR(always_export_symbols, $1)=yes
|
_LT_TAGVAR(always_export_symbols, $1)=yes
|
||||||
@@ -5607,7 +5628,7 @@ _LT_EOF
|
|||||||
fi'
|
fi'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
# Assume MSVC wrapper
|
# Assume MSVC and ICC wrapper
|
||||||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
|
||||||
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
|
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
|
||||||
# Tell ltmain to make .lib files, not .a files.
|
# Tell ltmain to make .lib files, not .a files.
|
||||||
@@ -5655,7 +5676,7 @@ _LT_EOF
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
||||||
freebsd* | dragonfly*)
|
freebsd* | dragonfly* | midnightbsd*)
|
||||||
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
||||||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
|
||||||
_LT_TAGVAR(hardcode_direct, $1)=yes
|
_LT_TAGVAR(hardcode_direct, $1)=yes
|
||||||
@@ -5866,6 +5887,7 @@ _LT_EOF
|
|||||||
emximp -o $lib $output_objdir/$libname.def'
|
emximp -o $lib $output_objdir/$libname.def'
|
||||||
_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
|
_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
|
||||||
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
|
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
|
||||||
|
_LT_TAGVAR(file_list_spec, $1)='@'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
osf3*)
|
osf3*)
|
||||||
@@ -6632,8 +6654,8 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|||||||
|
|
||||||
cygwin* | mingw* | pw32* | cegcc*)
|
cygwin* | mingw* | pw32* | cegcc*)
|
||||||
case $GXX,$cc_basename in
|
case $GXX,$cc_basename in
|
||||||
,cl* | no,cl*)
|
,cl* | no,cl* | ,icl* | no,icl*)
|
||||||
# Native MSVC
|
# Native MSVC or ICC
|
||||||
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
||||||
# no search path for DLLs.
|
# no search path for DLLs.
|
||||||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
|
||||||
@@ -6731,6 +6753,7 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|||||||
emximp -o $lib $output_objdir/$libname.def'
|
emximp -o $lib $output_objdir/$libname.def'
|
||||||
_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
|
_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
|
||||||
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
|
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
|
||||||
|
_LT_TAGVAR(file_list_spec, $1)='@'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
dgux*)
|
dgux*)
|
||||||
@@ -6761,7 +6784,7 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|||||||
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
|
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
|
||||||
;;
|
;;
|
||||||
|
|
||||||
freebsd* | dragonfly*)
|
freebsd* | dragonfly* | midnightbsd*)
|
||||||
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
|
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
|
||||||
# conventions
|
# conventions
|
||||||
_LT_TAGVAR(ld_shlibs, $1)=yes
|
_LT_TAGVAR(ld_shlibs, $1)=yes
|
||||||
@@ -6898,7 +6921,7 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|||||||
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
|
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
|
||||||
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
|
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
|
||||||
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
||||||
_LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
_LT_TAGVAR(archive_expsym_cmds, $1)='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
||||||
;;
|
;;
|
||||||
irix5* | irix6*)
|
irix5* | irix6*)
|
||||||
case $cc_basename in
|
case $cc_basename in
|
||||||
@@ -7038,13 +7061,13 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|||||||
_LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
|
_LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
|
||||||
if test yes = "$supports_anon_versioning"; then
|
if test yes = "$supports_anon_versioning"; then
|
||||||
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
|
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
|
||||||
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
||||||
echo "local: *; };" >> $output_objdir/$libname.ver~
|
echo "local: *; };" >> $output_objdir/$libname.ver~
|
||||||
$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
|
$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
case `$CC -V 2>&1 | sed 5q` in
|
case `$CC -V 2>&1 | $SED 5q` in
|
||||||
*Sun\ C*)
|
*Sun\ C*)
|
||||||
# Sun C++ 5.9
|
# Sun C++ 5.9
|
||||||
_LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
|
_LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
|
||||||
@@ -8182,6 +8205,14 @@ _LT_DECL([], [DLLTOOL], [1], [DLL creation program])
|
|||||||
AC_SUBST([DLLTOOL])
|
AC_SUBST([DLLTOOL])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
# _LT_DECL_FILECMD
|
||||||
|
# ----------------
|
||||||
|
# Check for a file(cmd) program that can be used to detect file type and magic
|
||||||
|
m4_defun([_LT_DECL_FILECMD],
|
||||||
|
[AC_CHECK_TOOL([FILECMD], [file], [:])
|
||||||
|
_LT_DECL([], [FILECMD], [1], [A file(cmd) program that detects file types])
|
||||||
|
])# _LD_DECL_FILECMD
|
||||||
|
|
||||||
# _LT_DECL_SED
|
# _LT_DECL_SED
|
||||||
# ------------
|
# ------------
|
||||||
# Check for a fully-functional sed program, that truncates
|
# Check for a fully-functional sed program, that truncates
|
||||||
@@ -8361,8 +8392,8 @@ _LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd],
|
|||||||
|
|
||||||
# Helper functions for option handling. -*- Autoconf -*-
|
# Helper functions for option handling. -*- Autoconf -*-
|
||||||
#
|
#
|
||||||
# Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software
|
# Copyright (C) 2004-2005, 2007-2009, 2011-2019, 2021-2022 Free
|
||||||
# Foundation, Inc.
|
# Software Foundation, Inc.
|
||||||
# Written by Gary V. Vaughan, 2004
|
# Written by Gary V. Vaughan, 2004
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation gives
|
# This file is free software; the Free Software Foundation gives
|
||||||
@@ -8793,7 +8824,7 @@ LT_OPTION_DEFINE([LTDL_INIT], [convenience],
|
|||||||
|
|
||||||
# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
|
# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
|
||||||
#
|
#
|
||||||
# Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software
|
# Copyright (C) 2004-2005, 2007-2008, 2011-2019, 2021-2022 Free Software
|
||||||
# Foundation, Inc.
|
# Foundation, Inc.
|
||||||
# Written by Gary V. Vaughan, 2004
|
# Written by Gary V. Vaughan, 2004
|
||||||
#
|
#
|
||||||
@@ -8918,7 +8949,8 @@ m4_define([lt_dict_filter],
|
|||||||
|
|
||||||
# ltversion.m4 -- version numbers -*- Autoconf -*-
|
# ltversion.m4 -- version numbers -*- Autoconf -*-
|
||||||
#
|
#
|
||||||
# Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc.
|
# Copyright (C) 2004, 2011-2019, 2021-2022 Free Software Foundation,
|
||||||
|
# Inc.
|
||||||
# Written by Scott James Remnant, 2004
|
# Written by Scott James Remnant, 2004
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation gives
|
# This file is free software; the Free Software Foundation gives
|
||||||
@@ -8927,23 +8959,23 @@ m4_define([lt_dict_filter],
|
|||||||
|
|
||||||
# @configure_input@
|
# @configure_input@
|
||||||
|
|
||||||
# serial 4179 ltversion.m4
|
# serial 4245 ltversion.m4
|
||||||
# This file is part of GNU Libtool
|
# This file is part of GNU Libtool
|
||||||
|
|
||||||
m4_define([LT_PACKAGE_VERSION], [2.4.6])
|
m4_define([LT_PACKAGE_VERSION], [2.4.7])
|
||||||
m4_define([LT_PACKAGE_REVISION], [2.4.6])
|
m4_define([LT_PACKAGE_REVISION], [2.4.7])
|
||||||
|
|
||||||
AC_DEFUN([LTVERSION_VERSION],
|
AC_DEFUN([LTVERSION_VERSION],
|
||||||
[macro_version='2.4.6'
|
[macro_version='2.4.7'
|
||||||
macro_revision='2.4.6'
|
macro_revision='2.4.7'
|
||||||
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
|
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
|
||||||
_LT_DECL(, macro_revision, 0)
|
_LT_DECL(, macro_revision, 0)
|
||||||
])
|
])
|
||||||
|
|
||||||
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
|
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
|
||||||
#
|
#
|
||||||
# Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software
|
# Copyright (C) 2004-2005, 2007, 2009, 2011-2019, 2021-2022 Free
|
||||||
# Foundation, Inc.
|
# Software Foundation, Inc.
|
||||||
# Written by Scott James Remnant, 2004.
|
# Written by Scott James Remnant, 2004.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation gives
|
# This file is free software; the Free Software Foundation gives
|
||||||
|
|||||||
+70
-21
@@ -1,10 +1,10 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Attempt to guess a canonical system name.
|
# Attempt to guess a canonical system name.
|
||||||
# Copyright 1992-2022 Free Software Foundation, Inc.
|
# Copyright 1992-2023 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# shellcheck disable=SC2006,SC2268 # see below for rationale
|
# shellcheck disable=SC2006,SC2268 # see below for rationale
|
||||||
|
|
||||||
timestamp='2022-01-09'
|
timestamp='2023-07-20'
|
||||||
|
|
||||||
# This file is free software; you can redistribute it and/or modify it
|
# 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
|
# under the terms of the GNU General Public License as published by
|
||||||
@@ -47,7 +47,7 @@ me=`echo "$0" | sed -e 's,.*/,,'`
|
|||||||
usage="\
|
usage="\
|
||||||
Usage: $0 [OPTION]
|
Usage: $0 [OPTION]
|
||||||
|
|
||||||
Output the configuration name of the system \`$me' is run on.
|
Output the configuration name of the system '$me' is run on.
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-h, --help print this help, then exit
|
-h, --help print this help, then exit
|
||||||
@@ -60,13 +60,13 @@ version="\
|
|||||||
GNU config.guess ($timestamp)
|
GNU config.guess ($timestamp)
|
||||||
|
|
||||||
Originally written by Per Bothner.
|
Originally written by Per Bothner.
|
||||||
Copyright 1992-2022 Free Software Foundation, Inc.
|
Copyright 1992-2023 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This is free software; see the source for copying conditions. There is NO
|
This is free software; see the source for copying conditions. There is NO
|
||||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||||
|
|
||||||
help="
|
help="
|
||||||
Try \`$me --help' for more information."
|
Try '$me --help' for more information."
|
||||||
|
|
||||||
# Parse command line
|
# Parse command line
|
||||||
while test $# -gt 0 ; do
|
while test $# -gt 0 ; do
|
||||||
@@ -102,8 +102,8 @@ GUESS=
|
|||||||
# temporary files to be created and, as you can see below, it is a
|
# temporary files to be created and, as you can see below, it is a
|
||||||
# headache to deal with in a portable fashion.
|
# headache to deal with in a portable fashion.
|
||||||
|
|
||||||
# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
|
# Historically, 'CC_FOR_BUILD' used to be named 'HOST_CC'. We still
|
||||||
# use `HOST_CC' if defined, but it is deprecated.
|
# use 'HOST_CC' if defined, but it is deprecated.
|
||||||
|
|
||||||
# Portable tmp directory creation inspired by the Autoconf team.
|
# Portable tmp directory creation inspired by the Autoconf team.
|
||||||
|
|
||||||
@@ -459,7 +459,7 @@ case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION in
|
|||||||
UNAME_RELEASE=`uname -v`
|
UNAME_RELEASE=`uname -v`
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
# Japanese Language versions have a version number like `4.1.3-JL'.
|
# Japanese Language versions have a version number like '4.1.3-JL'.
|
||||||
SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/'`
|
SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/'`
|
||||||
GUESS=sparc-sun-sunos$SUN_REL
|
GUESS=sparc-sun-sunos$SUN_REL
|
||||||
;;
|
;;
|
||||||
@@ -966,11 +966,37 @@ EOF
|
|||||||
GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
|
GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
|
||||||
GUESS=$UNAME_MACHINE-unknown-$GNU_SYS$GNU_REL-$LIBC
|
GUESS=$UNAME_MACHINE-unknown-$GNU_SYS$GNU_REL-$LIBC
|
||||||
;;
|
;;
|
||||||
|
x86_64:[Mm]anagarm:*:*|i?86:[Mm]anagarm:*:*)
|
||||||
|
GUESS="$UNAME_MACHINE-pc-managarm-mlibc"
|
||||||
|
;;
|
||||||
|
*:[Mm]anagarm:*:*)
|
||||||
|
GUESS="$UNAME_MACHINE-unknown-managarm-mlibc"
|
||||||
|
;;
|
||||||
*:Minix:*:*)
|
*:Minix:*:*)
|
||||||
GUESS=$UNAME_MACHINE-unknown-minix
|
GUESS=$UNAME_MACHINE-unknown-minix
|
||||||
;;
|
;;
|
||||||
aarch64:Linux:*:*)
|
aarch64:Linux:*:*)
|
||||||
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
|
set_cc_for_build
|
||||||
|
CPU=$UNAME_MACHINE
|
||||||
|
LIBCABI=$LIBC
|
||||||
|
if test "$CC_FOR_BUILD" != no_compiler_found; then
|
||||||
|
ABI=64
|
||||||
|
sed 's/^ //' << EOF > "$dummy.c"
|
||||||
|
#ifdef __ARM_EABI__
|
||||||
|
#ifdef __ARM_PCS_VFP
|
||||||
|
ABI=eabihf
|
||||||
|
#else
|
||||||
|
ABI=eabi
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
EOF
|
||||||
|
cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'`
|
||||||
|
eval "$cc_set_abi"
|
||||||
|
case $ABI in
|
||||||
|
eabi | eabihf) CPU=armv8l; LIBCABI=$LIBC$ABI ;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
GUESS=$CPU-unknown-linux-$LIBCABI
|
||||||
;;
|
;;
|
||||||
aarch64_be:Linux:*:*)
|
aarch64_be:Linux:*:*)
|
||||||
UNAME_MACHINE=aarch64_be
|
UNAME_MACHINE=aarch64_be
|
||||||
@@ -1036,7 +1062,16 @@ EOF
|
|||||||
k1om:Linux:*:*)
|
k1om:Linux:*:*)
|
||||||
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
|
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
|
||||||
;;
|
;;
|
||||||
loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*)
|
kvx:Linux:*:*)
|
||||||
|
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
|
||||||
|
;;
|
||||||
|
kvx:cos:*:*)
|
||||||
|
GUESS=$UNAME_MACHINE-unknown-cos
|
||||||
|
;;
|
||||||
|
kvx:mbr:*:*)
|
||||||
|
GUESS=$UNAME_MACHINE-unknown-mbr
|
||||||
|
;;
|
||||||
|
loongarch32:Linux:*:* | loongarch64:Linux:*:*)
|
||||||
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
|
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
|
||||||
;;
|
;;
|
||||||
m32r*:Linux:*:*)
|
m32r*:Linux:*:*)
|
||||||
@@ -1151,16 +1186,27 @@ EOF
|
|||||||
;;
|
;;
|
||||||
x86_64:Linux:*:*)
|
x86_64:Linux:*:*)
|
||||||
set_cc_for_build
|
set_cc_for_build
|
||||||
|
CPU=$UNAME_MACHINE
|
||||||
LIBCABI=$LIBC
|
LIBCABI=$LIBC
|
||||||
if test "$CC_FOR_BUILD" != no_compiler_found; then
|
if test "$CC_FOR_BUILD" != no_compiler_found; then
|
||||||
if (echo '#ifdef __ILP32__'; echo IS_X32; echo '#endif') | \
|
ABI=64
|
||||||
(CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
|
sed 's/^ //' << EOF > "$dummy.c"
|
||||||
grep IS_X32 >/dev/null
|
#ifdef __i386__
|
||||||
then
|
ABI=x86
|
||||||
LIBCABI=${LIBC}x32
|
#else
|
||||||
fi
|
#ifdef __ILP32__
|
||||||
|
ABI=x32
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
EOF
|
||||||
|
cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'`
|
||||||
|
eval "$cc_set_abi"
|
||||||
|
case $ABI in
|
||||||
|
x86) CPU=i686 ;;
|
||||||
|
x32) LIBCABI=${LIBC}x32 ;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
GUESS=$UNAME_MACHINE-pc-linux-$LIBCABI
|
GUESS=$CPU-pc-linux-$LIBCABI
|
||||||
;;
|
;;
|
||||||
xtensa*:Linux:*:*)
|
xtensa*:Linux:*:*)
|
||||||
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
|
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
|
||||||
@@ -1180,7 +1226,7 @@ EOF
|
|||||||
GUESS=$UNAME_MACHINE-pc-sysv4.2uw$UNAME_VERSION
|
GUESS=$UNAME_MACHINE-pc-sysv4.2uw$UNAME_VERSION
|
||||||
;;
|
;;
|
||||||
i*86:OS/2:*:*)
|
i*86:OS/2:*:*)
|
||||||
# If we were able to find `uname', then EMX Unix compatibility
|
# If we were able to find 'uname', then EMX Unix compatibility
|
||||||
# is probably installed.
|
# is probably installed.
|
||||||
GUESS=$UNAME_MACHINE-pc-os2-emx
|
GUESS=$UNAME_MACHINE-pc-os2-emx
|
||||||
;;
|
;;
|
||||||
@@ -1321,7 +1367,7 @@ EOF
|
|||||||
GUESS=ns32k-sni-sysv
|
GUESS=ns32k-sni-sysv
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
|
PENTIUM:*:4.0*:*) # Unisys 'ClearPath HMP IX 4000' SVR4/MP effort
|
||||||
# says <Richard.M.Bartel@ccMail.Census.GOV>
|
# says <Richard.M.Bartel@ccMail.Census.GOV>
|
||||||
GUESS=i586-unisys-sysv4
|
GUESS=i586-unisys-sysv4
|
||||||
;;
|
;;
|
||||||
@@ -1367,8 +1413,11 @@ EOF
|
|||||||
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
||||||
GUESS=i586-pc-haiku
|
GUESS=i586-pc-haiku
|
||||||
;;
|
;;
|
||||||
x86_64:Haiku:*:*)
|
ppc:Haiku:*:*) # Haiku running on Apple PowerPC
|
||||||
GUESS=x86_64-unknown-haiku
|
GUESS=powerpc-apple-haiku
|
||||||
|
;;
|
||||||
|
*:Haiku:*:*) # Haiku modern gcc (not bound by BeOS compat)
|
||||||
|
GUESS=$UNAME_MACHINE-unknown-haiku
|
||||||
;;
|
;;
|
||||||
SX-4:SUPER-UX:*:*)
|
SX-4:SUPER-UX:*:*)
|
||||||
GUESS=sx4-nec-superux$UNAME_RELEASE
|
GUESS=sx4-nec-superux$UNAME_RELEASE
|
||||||
|
|||||||
Vendored
+47
-42
@@ -1,10 +1,10 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Configuration validation subroutine script.
|
# Configuration validation subroutine script.
|
||||||
# Copyright 1992-2022 Free Software Foundation, Inc.
|
# Copyright 1992-2023 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# shellcheck disable=SC2006,SC2268 # see below for rationale
|
# shellcheck disable=SC2006,SC2268 # see below for rationale
|
||||||
|
|
||||||
timestamp='2022-01-03'
|
timestamp='2023-07-31'
|
||||||
|
|
||||||
# This file is free software; you can redistribute it and/or modify it
|
# 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
|
# under the terms of the GNU General Public License as published by
|
||||||
@@ -76,13 +76,13 @@ Report bugs and patches to <config-patches@gnu.org>."
|
|||||||
version="\
|
version="\
|
||||||
GNU config.sub ($timestamp)
|
GNU config.sub ($timestamp)
|
||||||
|
|
||||||
Copyright 1992-2022 Free Software Foundation, Inc.
|
Copyright 1992-2023 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This is free software; see the source for copying conditions. There is NO
|
This is free software; see the source for copying conditions. There is NO
|
||||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||||
|
|
||||||
help="
|
help="
|
||||||
Try \`$me --help' for more information."
|
Try '$me --help' for more information."
|
||||||
|
|
||||||
# Parse command line
|
# Parse command line
|
||||||
while test $# -gt 0 ; do
|
while test $# -gt 0 ; do
|
||||||
@@ -130,7 +130,7 @@ IFS=$saved_IFS
|
|||||||
# Separate into logical components for further validation
|
# Separate into logical components for further validation
|
||||||
case $1 in
|
case $1 in
|
||||||
*-*-*-*-*)
|
*-*-*-*-*)
|
||||||
echo Invalid configuration \`"$1"\': more than four components >&2
|
echo "Invalid configuration '$1': more than four components" >&2
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
*-*-*-*)
|
*-*-*-*)
|
||||||
@@ -145,7 +145,8 @@ case $1 in
|
|||||||
nto-qnx* | linux-* | uclinux-uclibc* \
|
nto-qnx* | linux-* | uclinux-uclibc* \
|
||||||
| uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \
|
| uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \
|
||||||
| netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \
|
| netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \
|
||||||
| storm-chaos* | os2-emx* | rtmk-nova*)
|
| storm-chaos* | os2-emx* | rtmk-nova* | managarm-* \
|
||||||
|
| windows-* )
|
||||||
basic_machine=$field1
|
basic_machine=$field1
|
||||||
basic_os=$maybe_os
|
basic_os=$maybe_os
|
||||||
;;
|
;;
|
||||||
@@ -943,7 +944,7 @@ $basic_machine
|
|||||||
EOF
|
EOF
|
||||||
IFS=$saved_IFS
|
IFS=$saved_IFS
|
||||||
;;
|
;;
|
||||||
# We use `pc' rather than `unknown'
|
# We use 'pc' rather than 'unknown'
|
||||||
# because (1) that's what they normally are, and
|
# because (1) that's what they normally are, and
|
||||||
# (2) the word "unknown" tends to confuse beginning users.
|
# (2) the word "unknown" tends to confuse beginning users.
|
||||||
i*86 | x86_64)
|
i*86 | x86_64)
|
||||||
@@ -1075,7 +1076,7 @@ case $cpu-$vendor in
|
|||||||
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
|
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
|
||||||
cpu=i586
|
cpu=i586
|
||||||
;;
|
;;
|
||||||
pentiumpro-* | p6-* | 6x86-* | athlon-* | athalon_*-*)
|
pentiumpro-* | p6-* | 6x86-* | athlon-* | athlon_*-*)
|
||||||
cpu=i686
|
cpu=i686
|
||||||
;;
|
;;
|
||||||
pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
|
pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
|
||||||
@@ -1205,39 +1206,16 @@ case $cpu-$vendor in
|
|||||||
| i370 | i*86 | i860 | i960 | ia16 | ia64 \
|
| i370 | i*86 | i860 | i960 | ia16 | ia64 \
|
||||||
| ip2k | iq2000 \
|
| ip2k | iq2000 \
|
||||||
| k1om \
|
| k1om \
|
||||||
|
| kvx \
|
||||||
| le32 | le64 \
|
| le32 | le64 \
|
||||||
| lm32 \
|
| lm32 \
|
||||||
| loongarch32 | loongarch64 | loongarchx32 \
|
| loongarch32 | loongarch64 \
|
||||||
| m32c | m32r | m32rle \
|
| m32c | m32r | m32rle \
|
||||||
| m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k \
|
| m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k \
|
||||||
| m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x \
|
| m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x \
|
||||||
| m88110 | m88k | maxq | mb | mcore | mep | metag \
|
| m88110 | m88k | maxq | mb | mcore | mep | metag \
|
||||||
| microblaze | microblazeel \
|
| microblaze | microblazeel \
|
||||||
| mips | mipsbe | mipseb | mipsel | mipsle \
|
| mips* \
|
||||||
| mips16 \
|
|
||||||
| mips64 | mips64eb | mips64el \
|
|
||||||
| mips64octeon | mips64octeonel \
|
|
||||||
| mips64orion | mips64orionel \
|
|
||||||
| mips64r5900 | mips64r5900el \
|
|
||||||
| mips64vr | mips64vrel \
|
|
||||||
| mips64vr4100 | mips64vr4100el \
|
|
||||||
| mips64vr4300 | mips64vr4300el \
|
|
||||||
| mips64vr5000 | mips64vr5000el \
|
|
||||||
| mips64vr5900 | mips64vr5900el \
|
|
||||||
| mipsisa32 | mipsisa32el \
|
|
||||||
| mipsisa32r2 | mipsisa32r2el \
|
|
||||||
| mipsisa32r3 | mipsisa32r3el \
|
|
||||||
| mipsisa32r5 | mipsisa32r5el \
|
|
||||||
| mipsisa32r6 | mipsisa32r6el \
|
|
||||||
| mipsisa64 | mipsisa64el \
|
|
||||||
| mipsisa64r2 | mipsisa64r2el \
|
|
||||||
| mipsisa64r3 | mipsisa64r3el \
|
|
||||||
| mipsisa64r5 | mipsisa64r5el \
|
|
||||||
| mipsisa64r6 | mipsisa64r6el \
|
|
||||||
| mipsisa64sb1 | mipsisa64sb1el \
|
|
||||||
| mipsisa64sr71k | mipsisa64sr71kel \
|
|
||||||
| mipsr5900 | mipsr5900el \
|
|
||||||
| mipstx39 | mipstx39el \
|
|
||||||
| mmix \
|
| mmix \
|
||||||
| mn10200 | mn10300 \
|
| mn10200 | mn10300 \
|
||||||
| moxie \
|
| moxie \
|
||||||
@@ -1285,7 +1263,7 @@ case $cpu-$vendor in
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
echo Invalid configuration \`"$1"\': machine \`"$cpu-$vendor"\' not recognized 1>&2
|
echo "Invalid configuration '$1': machine '$cpu-$vendor' not recognized" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@@ -1341,6 +1319,10 @@ EOF
|
|||||||
kernel=linux
|
kernel=linux
|
||||||
os=`echo "$basic_os" | sed -e 's|linux|gnu|'`
|
os=`echo "$basic_os" | sed -e 's|linux|gnu|'`
|
||||||
;;
|
;;
|
||||||
|
managarm*)
|
||||||
|
kernel=managarm
|
||||||
|
os=`echo "$basic_os" | sed -e 's|managarm|mlibc|'`
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
kernel=
|
kernel=
|
||||||
os=$basic_os
|
os=$basic_os
|
||||||
@@ -1728,7 +1710,7 @@ case $os in
|
|||||||
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
|
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
|
||||||
| sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \
|
| sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \
|
||||||
| hiux* | abug | nacl* | netware* | windows* \
|
| hiux* | abug | nacl* | netware* | windows* \
|
||||||
| os9* | macos* | osx* | ios* \
|
| os9* | macos* | osx* | ios* | tvos* | watchos* \
|
||||||
| mpw* | magic* | mmixware* | mon960* | lnews* \
|
| mpw* | magic* | mmixware* | mon960* | lnews* \
|
||||||
| amigaos* | amigados* | msdos* | newsos* | unicos* | aof* \
|
| amigaos* | amigados* | msdos* | newsos* | unicos* | aof* \
|
||||||
| aos* | aros* | cloudabi* | sortix* | twizzler* \
|
| aos* | aros* | cloudabi* | sortix* | twizzler* \
|
||||||
@@ -1754,7 +1736,7 @@ case $os in
|
|||||||
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
|
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
|
||||||
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
|
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
|
||||||
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
|
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
|
||||||
| fiwix* )
|
| fiwix* | mlibc* | cos* | mbr* )
|
||||||
;;
|
;;
|
||||||
# This one is extra strict with allowed versions
|
# This one is extra strict with allowed versions
|
||||||
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
|
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
|
||||||
@@ -1762,8 +1744,11 @@ case $os in
|
|||||||
;;
|
;;
|
||||||
none)
|
none)
|
||||||
;;
|
;;
|
||||||
|
kernel* | msvc* )
|
||||||
|
# Restricted further below
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo Invalid configuration \`"$1"\': OS \`"$os"\' not recognized 1>&2
|
echo "Invalid configuration '$1': OS '$os' not recognized" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@@ -1772,14 +1757,30 @@ esac
|
|||||||
# (given a valid OS), if there is a kernel.
|
# (given a valid OS), if there is a kernel.
|
||||||
case $kernel-$os in
|
case $kernel-$os in
|
||||||
linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* \
|
linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* \
|
||||||
| linux-musl* | linux-relibc* | linux-uclibc* )
|
| linux-musl* | linux-relibc* | linux-uclibc* | linux-mlibc* )
|
||||||
;;
|
;;
|
||||||
uclinux-uclibc* )
|
uclinux-uclibc* )
|
||||||
;;
|
;;
|
||||||
-dietlibc* | -newlib* | -musl* | -relibc* | -uclibc* )
|
managarm-mlibc* | managarm-kernel* )
|
||||||
|
;;
|
||||||
|
windows*-gnu* | windows*-msvc*)
|
||||||
|
;;
|
||||||
|
-dietlibc* | -newlib* | -musl* | -relibc* | -uclibc* | -mlibc* )
|
||||||
# These are just libc implementations, not actual OSes, and thus
|
# These are just libc implementations, not actual OSes, and thus
|
||||||
# require a kernel.
|
# require a kernel.
|
||||||
echo "Invalid configuration \`$1': libc \`$os' needs explicit kernel." 1>&2
|
echo "Invalid configuration '$1': libc '$os' needs explicit kernel." 1>&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
-kernel* )
|
||||||
|
echo "Invalid configuration '$1': '$os' needs explicit kernel." 1>&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
*-kernel* )
|
||||||
|
echo "Invalid configuration '$1': '$kernel' does not support '$os'." 1>&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
*-msvc* )
|
||||||
|
echo "Invalid configuration '$1': '$os' needs 'windows'." 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
kfreebsd*-gnu* | kopensolaris*-gnu*)
|
kfreebsd*-gnu* | kopensolaris*-gnu*)
|
||||||
@@ -1792,11 +1793,15 @@ case $kernel-$os in
|
|||||||
;;
|
;;
|
||||||
*-eabi* | *-gnueabi*)
|
*-eabi* | *-gnueabi*)
|
||||||
;;
|
;;
|
||||||
|
none-coff* | none-elf*)
|
||||||
|
# None (no kernel, i.e. freestanding / bare metal),
|
||||||
|
# can be paired with an output format "OS"
|
||||||
|
;;
|
||||||
-*)
|
-*)
|
||||||
# Blank kernel with real OS is always fine.
|
# Blank kernel with real OS is always fine.
|
||||||
;;
|
;;
|
||||||
*-*)
|
*-*)
|
||||||
echo "Invalid configuration \`$1': Kernel \`$kernel' not known to work with OS \`$os'." 1>&2
|
echo "Invalid configuration '$1': Kernel '$kernel' not known to work with OS '$os'." 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Vendored
+318
-135
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated by GNU Autoconf 2.71 for FreeType 2.12.
|
# Generated by GNU Autoconf 2.71 for FreeType 2.13.2.
|
||||||
#
|
#
|
||||||
# Report bugs to <freetype@nongnu.org>.
|
# Report bugs to <freetype@nongnu.org>.
|
||||||
#
|
#
|
||||||
@@ -621,8 +621,8 @@ MAKEFLAGS=
|
|||||||
# Identity of this package.
|
# Identity of this package.
|
||||||
PACKAGE_NAME='FreeType'
|
PACKAGE_NAME='FreeType'
|
||||||
PACKAGE_TARNAME='freetype'
|
PACKAGE_TARNAME='freetype'
|
||||||
PACKAGE_VERSION='2.12'
|
PACKAGE_VERSION='2.13.2'
|
||||||
PACKAGE_STRING='FreeType 2.12'
|
PACKAGE_STRING='FreeType 2.13.2'
|
||||||
PACKAGE_BUGREPORT='freetype@nongnu.org'
|
PACKAGE_BUGREPORT='freetype@nongnu.org'
|
||||||
PACKAGE_URL=''
|
PACKAGE_URL=''
|
||||||
|
|
||||||
@@ -690,6 +690,7 @@ BROTLI_LIBS
|
|||||||
BROTLI_CFLAGS
|
BROTLI_CFLAGS
|
||||||
HARFBUZZ_LIBS
|
HARFBUZZ_LIBS
|
||||||
HARFBUZZ_CFLAGS
|
HARFBUZZ_CFLAGS
|
||||||
|
have_libpng
|
||||||
LIBPNG_LIBS
|
LIBPNG_LIBS
|
||||||
LIBPNG_CFLAGS
|
LIBPNG_CFLAGS
|
||||||
BZIP2_LIBS
|
BZIP2_LIBS
|
||||||
@@ -720,6 +721,7 @@ RANLIB
|
|||||||
STRIP
|
STRIP
|
||||||
ac_ct_AR
|
ac_ct_AR
|
||||||
AR
|
AR
|
||||||
|
FILECMD
|
||||||
LN_S
|
LN_S
|
||||||
NM
|
NM
|
||||||
ac_ct_DUMPBIN
|
ac_ct_DUMPBIN
|
||||||
@@ -812,6 +814,7 @@ with_bzip2
|
|||||||
with_png
|
with_png
|
||||||
with_harfbuzz
|
with_harfbuzz
|
||||||
with_brotli
|
with_brotli
|
||||||
|
with_librsvg
|
||||||
with_old_mac_fonts
|
with_old_mac_fonts
|
||||||
with_fsspec
|
with_fsspec
|
||||||
with_fsref
|
with_fsref
|
||||||
@@ -1392,7 +1395,7 @@ if test "$ac_init_help" = "long"; then
|
|||||||
# Omit some internal or obsolete options to make the list less imposing.
|
# 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.
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
||||||
cat <<_ACEOF
|
cat <<_ACEOF
|
||||||
\`configure' configures FreeType 2.12 to adapt to many kinds of systems.
|
\`configure' configures FreeType 2.13.2 to adapt to many kinds of systems.
|
||||||
|
|
||||||
Usage: $0 [OPTION]... [VAR=VALUE]...
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||||
|
|
||||||
@@ -1459,7 +1462,7 @@ fi
|
|||||||
|
|
||||||
if test -n "$ac_init_help"; then
|
if test -n "$ac_init_help"; then
|
||||||
case $ac_init_help in
|
case $ac_init_help in
|
||||||
short | recursive ) echo "Configuration of FreeType 2.12:";;
|
short | recursive ) echo "Configuration of FreeType 2.13.2:";;
|
||||||
esac
|
esac
|
||||||
cat <<\_ACEOF
|
cat <<\_ACEOF
|
||||||
|
|
||||||
@@ -1502,6 +1505,9 @@ Optional Packages:
|
|||||||
--with-brotli=[yes|no|auto]
|
--with-brotli=[yes|no|auto]
|
||||||
support decompression of WOFF2 streams
|
support decompression of WOFF2 streams
|
||||||
[default=auto]
|
[default=auto]
|
||||||
|
--with-librsvg=[yes|no|auto]
|
||||||
|
support OpenType SVG fonts in FreeType demo programs
|
||||||
|
[default=auto]
|
||||||
--with-old-mac-fonts allow Mac resource-based fonts to be used
|
--with-old-mac-fonts allow Mac resource-based fonts to be used
|
||||||
--with-fsspec use obsolete FSSpec API of MacOS, if available
|
--with-fsspec use obsolete FSSpec API of MacOS, if available
|
||||||
(default=yes)
|
(default=yes)
|
||||||
@@ -1617,7 +1623,7 @@ fi
|
|||||||
test -n "$ac_init_help" && exit $ac_status
|
test -n "$ac_init_help" && exit $ac_status
|
||||||
if $ac_init_version; then
|
if $ac_init_version; then
|
||||||
cat <<\_ACEOF
|
cat <<\_ACEOF
|
||||||
FreeType configure 2.12
|
FreeType configure 2.13.2
|
||||||
generated by GNU Autoconf 2.71
|
generated by GNU Autoconf 2.71
|
||||||
|
|
||||||
Copyright (C) 2021 Free Software Foundation, Inc.
|
Copyright (C) 2021 Free Software Foundation, Inc.
|
||||||
@@ -1968,7 +1974,7 @@ cat >config.log <<_ACEOF
|
|||||||
This file contains any messages produced by compilers while
|
This file contains any messages produced by compilers while
|
||||||
running configure, to aid debugging if configure makes a mistake.
|
running configure, to aid debugging if configure makes a mistake.
|
||||||
|
|
||||||
It was created by FreeType $as_me 2.12, which was
|
It was created by FreeType $as_me 2.13.2, which was
|
||||||
generated by GNU Autoconf 2.71. Invocation command line was
|
generated by GNU Autoconf 2.71. Invocation command line was
|
||||||
|
|
||||||
$ $0$ac_configure_args_raw
|
$ $0$ac_configure_args_raw
|
||||||
@@ -2730,7 +2736,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|||||||
|
|
||||||
# Don't forget to update `docs/VERSIONS.TXT'!
|
# Don't forget to update `docs/VERSIONS.TXT'!
|
||||||
|
|
||||||
version_info='24:2:18'
|
version_info='26:1:20'
|
||||||
|
|
||||||
ft_version=`echo $version_info | tr : .`
|
ft_version=`echo $version_info | tr : .`
|
||||||
|
|
||||||
@@ -4087,8 +4093,8 @@ esac
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
macro_version='2.4.6'
|
macro_version='2.4.7'
|
||||||
macro_revision='2.4.6'
|
macro_revision='2.4.7'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -4641,13 +4647,13 @@ else
|
|||||||
mingw*) lt_bad_file=conftest.nm/nofile ;;
|
mingw*) lt_bad_file=conftest.nm/nofile ;;
|
||||||
*) lt_bad_file=/dev/null ;;
|
*) lt_bad_file=/dev/null ;;
|
||||||
esac
|
esac
|
||||||
case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
|
case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
|
||||||
*$lt_bad_file* | *'Invalid file or object type'*)
|
*$lt_bad_file* | *'Invalid file or object type'*)
|
||||||
lt_cv_path_NM="$tmp_nm -B"
|
lt_cv_path_NM="$tmp_nm -B"
|
||||||
break 2
|
break 2
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
|
case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
|
||||||
*/dev/null*)
|
*/dev/null*)
|
||||||
lt_cv_path_NM="$tmp_nm -p"
|
lt_cv_path_NM="$tmp_nm -p"
|
||||||
break 2
|
break 2
|
||||||
@@ -4785,7 +4791,7 @@ esac
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
|
case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
|
||||||
*COFF*)
|
*COFF*)
|
||||||
DUMPBIN="$DUMPBIN -symbols -headers"
|
DUMPBIN="$DUMPBIN -symbols -headers"
|
||||||
;;
|
;;
|
||||||
@@ -4889,7 +4895,7 @@ else $as_nop
|
|||||||
lt_cv_sys_max_cmd_len=8192;
|
lt_cv_sys_max_cmd_len=8192;
|
||||||
;;
|
;;
|
||||||
|
|
||||||
bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
|
bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
|
||||||
# This has been around since 386BSD, at least. Likely further.
|
# This has been around since 386BSD, at least. Likely further.
|
||||||
if test -x /sbin/sysctl; then
|
if test -x /sbin/sysctl; then
|
||||||
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
|
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
|
||||||
@@ -4932,7 +4938,7 @@ else $as_nop
|
|||||||
sysv5* | sco5v6* | sysv4.2uw2*)
|
sysv5* | sco5v6* | sysv4.2uw2*)
|
||||||
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
|
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
|
||||||
if test -n "$kargmax"; then
|
if test -n "$kargmax"; then
|
||||||
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
|
lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'`
|
||||||
else
|
else
|
||||||
lt_cv_sys_max_cmd_len=32768
|
lt_cv_sys_max_cmd_len=32768
|
||||||
fi
|
fi
|
||||||
@@ -5137,6 +5143,114 @@ esac
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if test -n "$ac_tool_prefix"; then
|
||||||
|
# Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
|
||||||
|
set dummy ${ac_tool_prefix}file; ac_word=$2
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||||
|
printf %s "checking for $ac_word... " >&6; }
|
||||||
|
if test ${ac_cv_prog_FILECMD+y}
|
||||||
|
then :
|
||||||
|
printf %s "(cached) " >&6
|
||||||
|
else $as_nop
|
||||||
|
if test -n "$FILECMD"; then
|
||||||
|
ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
|
||||||
|
else
|
||||||
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||||
|
for as_dir in $PATH
|
||||||
|
do
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
case $as_dir in #(((
|
||||||
|
'') as_dir=./ ;;
|
||||||
|
*/) ;;
|
||||||
|
*) as_dir=$as_dir/ ;;
|
||||||
|
esac
|
||||||
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||||
|
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
||||||
|
ac_cv_prog_FILECMD="${ac_tool_prefix}file"
|
||||||
|
printf "%s\n" "$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
|
||||||
|
FILECMD=$ac_cv_prog_FILECMD
|
||||||
|
if test -n "$FILECMD"; then
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
|
||||||
|
printf "%s\n" "$FILECMD" >&6; }
|
||||||
|
else
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
|
printf "%s\n" "no" >&6; }
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
fi
|
||||||
|
if test -z "$ac_cv_prog_FILECMD"; then
|
||||||
|
ac_ct_FILECMD=$FILECMD
|
||||||
|
# Extract the first word of "file", so it can be a program name with args.
|
||||||
|
set dummy file; ac_word=$2
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||||
|
printf %s "checking for $ac_word... " >&6; }
|
||||||
|
if test ${ac_cv_prog_ac_ct_FILECMD+y}
|
||||||
|
then :
|
||||||
|
printf %s "(cached) " >&6
|
||||||
|
else $as_nop
|
||||||
|
if test -n "$ac_ct_FILECMD"; then
|
||||||
|
ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
|
||||||
|
else
|
||||||
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||||
|
for as_dir in $PATH
|
||||||
|
do
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
case $as_dir in #(((
|
||||||
|
'') as_dir=./ ;;
|
||||||
|
*/) ;;
|
||||||
|
*) as_dir=$as_dir/ ;;
|
||||||
|
esac
|
||||||
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||||
|
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
||||||
|
ac_cv_prog_ac_ct_FILECMD="file"
|
||||||
|
printf "%s\n" "$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_FILECMD=$ac_cv_prog_ac_ct_FILECMD
|
||||||
|
if test -n "$ac_ct_FILECMD"; then
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
|
||||||
|
printf "%s\n" "$ac_ct_FILECMD" >&6; }
|
||||||
|
else
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
|
printf "%s\n" "no" >&6; }
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$ac_ct_FILECMD" = x; then
|
||||||
|
FILECMD=":"
|
||||||
|
else
|
||||||
|
case $cross_compiling:$ac_tool_warned in
|
||||||
|
yes:)
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
||||||
|
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
||||||
|
ac_tool_warned=yes ;;
|
||||||
|
esac
|
||||||
|
FILECMD=$ac_ct_FILECMD
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
FILECMD="$ac_cv_prog_FILECMD"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if test -n "$ac_tool_prefix"; then
|
if test -n "$ac_tool_prefix"; then
|
||||||
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
|
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
|
||||||
set dummy ${ac_tool_prefix}objdump; ac_word=$2
|
set dummy ${ac_tool_prefix}objdump; ac_word=$2
|
||||||
@@ -5277,7 +5391,7 @@ beos*)
|
|||||||
|
|
||||||
bsdi[45]*)
|
bsdi[45]*)
|
||||||
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
|
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
|
||||||
lt_cv_file_magic_cmd='/usr/bin/file -L'
|
lt_cv_file_magic_cmd='$FILECMD -L'
|
||||||
lt_cv_file_magic_test_file=/shlib/libc.so
|
lt_cv_file_magic_test_file=/shlib/libc.so
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@@ -5311,14 +5425,14 @@ darwin* | rhapsody*)
|
|||||||
lt_cv_deplibs_check_method=pass_all
|
lt_cv_deplibs_check_method=pass_all
|
||||||
;;
|
;;
|
||||||
|
|
||||||
freebsd* | dragonfly*)
|
freebsd* | dragonfly* | midnightbsd*)
|
||||||
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
|
||||||
case $host_cpu in
|
case $host_cpu in
|
||||||
i*86 )
|
i*86 )
|
||||||
# Not sure whether the presence of OpenBSD here was a mistake.
|
# Not sure whether the presence of OpenBSD here was a mistake.
|
||||||
# Let's accept both of them until this is cleared up.
|
# Let's accept both of them until this is cleared up.
|
||||||
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
|
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
|
||||||
lt_cv_file_magic_cmd=/usr/bin/file
|
lt_cv_file_magic_cmd=$FILECMD
|
||||||
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
|
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@@ -5332,7 +5446,7 @@ haiku*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
hpux10.20* | hpux11*)
|
hpux10.20* | hpux11*)
|
||||||
lt_cv_file_magic_cmd=/usr/bin/file
|
lt_cv_file_magic_cmd=$FILECMD
|
||||||
case $host_cpu in
|
case $host_cpu in
|
||||||
ia64*)
|
ia64*)
|
||||||
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
|
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
|
||||||
@@ -5379,7 +5493,7 @@ netbsd*)
|
|||||||
|
|
||||||
newos6*)
|
newos6*)
|
||||||
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
|
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
|
||||||
lt_cv_file_magic_cmd=/usr/bin/file
|
lt_cv_file_magic_cmd=$FILECMD
|
||||||
lt_cv_file_magic_test_file=/usr/lib/libnls.so
|
lt_cv_file_magic_test_file=/usr/lib/libnls.so
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@@ -5750,13 +5864,29 @@ esac
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
: ${AR=ar}
|
: ${AR=ar}
|
||||||
: ${AR_FLAGS=cru}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Use ARFLAGS variable as AR's operation code to sync the variable naming with
|
||||||
|
# Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
|
||||||
|
# higher priority because thats what people were doing historically (setting
|
||||||
|
# ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
|
||||||
|
# variable obsoleted/removed.
|
||||||
|
|
||||||
|
test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
|
||||||
|
lt_ar_flags=$AR_FLAGS
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
|
||||||
|
# by AR_FLAGS because that was never working and AR_FLAGS is about to die.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -6220,7 +6350,7 @@ esac
|
|||||||
|
|
||||||
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
||||||
# Gets list of data symbols to import.
|
# Gets list of data symbols to import.
|
||||||
lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
|
lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
|
||||||
# Adjust the below global symbol transforms to fixup imported variables.
|
# Adjust the below global symbol transforms to fixup imported variables.
|
||||||
lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
|
lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
|
||||||
lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
|
lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
|
||||||
@@ -6238,20 +6368,20 @@ fi
|
|||||||
# Transform an extracted symbol line into a proper C declaration.
|
# Transform an extracted symbol line into a proper C declaration.
|
||||||
# Some systems (esp. on ia64) link data and code symbols differently,
|
# Some systems (esp. on ia64) link data and code symbols differently,
|
||||||
# so use this general approach.
|
# so use this general approach.
|
||||||
lt_cv_sys_global_symbol_to_cdecl="sed -n"\
|
lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
|
||||||
$lt_cdecl_hook\
|
$lt_cdecl_hook\
|
||||||
" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
|
" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
|
||||||
" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
|
" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
|
||||||
|
|
||||||
# Transform an extracted symbol line into symbol name and symbol address
|
# Transform an extracted symbol line into symbol name and symbol address
|
||||||
lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
|
lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
|
||||||
$lt_c_name_hook\
|
$lt_c_name_hook\
|
||||||
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
|
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
|
||||||
" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
|
" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
|
||||||
|
|
||||||
# Transform an extracted symbol line into symbol name with lib prefix and
|
# Transform an extracted symbol line into symbol name with lib prefix and
|
||||||
# symbol address.
|
# symbol address.
|
||||||
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
|
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
|
||||||
$lt_c_name_lib_hook\
|
$lt_c_name_lib_hook\
|
||||||
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
|
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
|
||||||
" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
|
" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
|
||||||
@@ -6275,7 +6405,7 @@ for ac_symprfx in "" "_"; do
|
|||||||
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
||||||
# Fake it for dumpbin and say T for any non-static function,
|
# Fake it for dumpbin and say T for any non-static function,
|
||||||
# D for any global variable and I for any imported variable.
|
# D for any global variable and I for any imported variable.
|
||||||
# Also find C++ and __fastcall symbols from MSVC++,
|
# Also find C++ and __fastcall symbols from MSVC++ or ICC,
|
||||||
# which start with @ or ?.
|
# which start with @ or ?.
|
||||||
lt_cv_sys_global_symbol_pipe="$AWK '"\
|
lt_cv_sys_global_symbol_pipe="$AWK '"\
|
||||||
" {last_section=section; section=\$ 3};"\
|
" {last_section=section; section=\$ 3};"\
|
||||||
@@ -6293,9 +6423,9 @@ for ac_symprfx in "" "_"; do
|
|||||||
" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
|
" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
|
||||||
" ' prfx=^$ac_symprfx"
|
" ' prfx=^$ac_symprfx"
|
||||||
else
|
else
|
||||||
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
|
lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
|
||||||
fi
|
fi
|
||||||
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
|
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
|
||||||
|
|
||||||
# Check to see that the pipe works correctly.
|
# Check to see that the pipe works correctly.
|
||||||
pipe_works=no
|
pipe_works=no
|
||||||
@@ -6498,7 +6628,7 @@ case $with_sysroot in #(
|
|||||||
fi
|
fi
|
||||||
;; #(
|
;; #(
|
||||||
/*)
|
/*)
|
||||||
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
|
lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
|
||||||
;; #(
|
;; #(
|
||||||
no|'')
|
no|'')
|
||||||
;; #(
|
;; #(
|
||||||
@@ -6623,7 +6753,7 @@ ia64-*-hpux*)
|
|||||||
ac_status=$?
|
ac_status=$?
|
||||||
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||||
test $ac_status = 0; }; then
|
test $ac_status = 0; }; then
|
||||||
case `/usr/bin/file conftest.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*ELF-32*)
|
*ELF-32*)
|
||||||
HPUX_IA64_MODE=32
|
HPUX_IA64_MODE=32
|
||||||
;;
|
;;
|
||||||
@@ -6644,7 +6774,7 @@ ia64-*-hpux*)
|
|||||||
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||||
test $ac_status = 0; }; then
|
test $ac_status = 0; }; then
|
||||||
if test yes = "$lt_cv_prog_gnu_ld"; then
|
if test yes = "$lt_cv_prog_gnu_ld"; then
|
||||||
case `/usr/bin/file conftest.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*32-bit*)
|
*32-bit*)
|
||||||
LD="${LD-ld} -melf32bsmip"
|
LD="${LD-ld} -melf32bsmip"
|
||||||
;;
|
;;
|
||||||
@@ -6656,7 +6786,7 @@ ia64-*-hpux*)
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
case `/usr/bin/file conftest.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*32-bit*)
|
*32-bit*)
|
||||||
LD="${LD-ld} -32"
|
LD="${LD-ld} -32"
|
||||||
;;
|
;;
|
||||||
@@ -6682,7 +6812,7 @@ mips64*-*linux*)
|
|||||||
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||||
test $ac_status = 0; }; then
|
test $ac_status = 0; }; then
|
||||||
emul=elf
|
emul=elf
|
||||||
case `/usr/bin/file conftest.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*32-bit*)
|
*32-bit*)
|
||||||
emul="${emul}32"
|
emul="${emul}32"
|
||||||
;;
|
;;
|
||||||
@@ -6690,7 +6820,7 @@ mips64*-*linux*)
|
|||||||
emul="${emul}64"
|
emul="${emul}64"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
case `/usr/bin/file conftest.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*MSB*)
|
*MSB*)
|
||||||
emul="${emul}btsmip"
|
emul="${emul}btsmip"
|
||||||
;;
|
;;
|
||||||
@@ -6698,7 +6828,7 @@ mips64*-*linux*)
|
|||||||
emul="${emul}ltsmip"
|
emul="${emul}ltsmip"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
case `/usr/bin/file conftest.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*N32*)
|
*N32*)
|
||||||
emul="${emul}n32"
|
emul="${emul}n32"
|
||||||
;;
|
;;
|
||||||
@@ -6722,14 +6852,14 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
|||||||
ac_status=$?
|
ac_status=$?
|
||||||
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||||
test $ac_status = 0; }; then
|
test $ac_status = 0; }; then
|
||||||
case `/usr/bin/file conftest.o` in
|
case `$FILECMD conftest.o` in
|
||||||
*32-bit*)
|
*32-bit*)
|
||||||
case $host in
|
case $host in
|
||||||
x86_64-*kfreebsd*-gnu)
|
x86_64-*kfreebsd*-gnu)
|
||||||
LD="${LD-ld} -m elf_i386_fbsd"
|
LD="${LD-ld} -m elf_i386_fbsd"
|
||||||
;;
|
;;
|
||||||
x86_64-*linux*)
|
x86_64-*linux*)
|
||||||
case `/usr/bin/file conftest.o` in
|
case `$FILECMD conftest.o` in
|
||||||
*x86-64*)
|
*x86-64*)
|
||||||
LD="${LD-ld} -m elf32_x86_64"
|
LD="${LD-ld} -m elf32_x86_64"
|
||||||
;;
|
;;
|
||||||
@@ -6837,7 +6967,7 @@ printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
|
|||||||
ac_status=$?
|
ac_status=$?
|
||||||
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||||
test $ac_status = 0; }; then
|
test $ac_status = 0; }; then
|
||||||
case `/usr/bin/file conftest.o` in
|
case `$FILECMD conftest.o` in
|
||||||
*64-bit*)
|
*64-bit*)
|
||||||
case $lt_cv_prog_gnu_ld in
|
case $lt_cv_prog_gnu_ld in
|
||||||
yes*)
|
yes*)
|
||||||
@@ -7620,8 +7750,8 @@ int forced_loaded() { return 2;}
|
|||||||
_LT_EOF
|
_LT_EOF
|
||||||
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
|
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
|
||||||
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
|
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
|
||||||
echo "$AR cru libconftest.a conftest.o" >&5
|
echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
|
||||||
$AR cru libconftest.a conftest.o 2>&5
|
$AR $AR_FLAGS libconftest.a conftest.o 2>&5
|
||||||
echo "$RANLIB libconftest.a" >&5
|
echo "$RANLIB libconftest.a" >&5
|
||||||
$RANLIB libconftest.a 2>&5
|
$RANLIB libconftest.a 2>&5
|
||||||
cat > conftest.c << _LT_EOF
|
cat > conftest.c << _LT_EOF
|
||||||
@@ -7648,17 +7778,12 @@ printf "%s\n" "$lt_cv_ld_force_load" >&6; }
|
|||||||
_lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
|
_lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
|
||||||
darwin1.*)
|
darwin1.*)
|
||||||
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
||||||
darwin*) # darwin 5.x on
|
darwin*)
|
||||||
# if running on 10.5 or later, the deployment target defaults
|
case $MACOSX_DEPLOYMENT_TARGET,$host in
|
||||||
# to the OS version, if on x86, and 10.4, the deployment
|
10.[012],*|,*powerpc*-darwin[5-8]*)
|
||||||
# target defaults to 10.4. Don't you love it?
|
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
||||||
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
*)
|
||||||
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
|
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
|
||||||
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
|
|
||||||
10.[012][,.]*)
|
|
||||||
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
|
||||||
10.*)
|
|
||||||
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
|
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@@ -8374,8 +8499,8 @@ esac
|
|||||||
ofile=libtool
|
ofile=libtool
|
||||||
can_build_shared=yes
|
can_build_shared=yes
|
||||||
|
|
||||||
# All known linkers require a '.a' archive for static linking (except MSVC,
|
# All known linkers require a '.a' archive for static linking (except MSVC and
|
||||||
# which needs '.lib').
|
# ICC, which need '.lib').
|
||||||
libext=a
|
libext=a
|
||||||
|
|
||||||
with_gnu_ld=$lt_cv_prog_gnu_ld
|
with_gnu_ld=$lt_cv_prog_gnu_ld
|
||||||
@@ -8883,7 +9008,7 @@ lt_prog_compiler_static=
|
|||||||
lt_prog_compiler_static='-qstaticlink'
|
lt_prog_compiler_static='-qstaticlink'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
case `$CC -V 2>&1 | sed 5q` in
|
case `$CC -V 2>&1 | $SED 5q` in
|
||||||
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
|
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
|
||||||
# Sun Fortran 8.3 passes all unrecognized flags to the linker
|
# Sun Fortran 8.3 passes all unrecognized flags to the linker
|
||||||
lt_prog_compiler_pic='-KPIC'
|
lt_prog_compiler_pic='-KPIC'
|
||||||
@@ -9306,15 +9431,15 @@ printf %s "checking whether the $compiler linker ($LD) supports shared libraries
|
|||||||
|
|
||||||
case $host_os in
|
case $host_os in
|
||||||
cygwin* | mingw* | pw32* | cegcc*)
|
cygwin* | mingw* | pw32* | cegcc*)
|
||||||
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
# FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
|
||||||
# When not using gcc, we currently assume that we are using
|
# When not using gcc, we currently assume that we are using
|
||||||
# Microsoft Visual C++.
|
# Microsoft Visual C++ or Intel C++ Compiler.
|
||||||
if test yes != "$GCC"; then
|
if test yes != "$GCC"; then
|
||||||
with_gnu_ld=no
|
with_gnu_ld=no
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
interix*)
|
interix*)
|
||||||
# we just hope/assume this is gcc and not c89 (= MSVC++)
|
# we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
|
||||||
with_gnu_ld=yes
|
with_gnu_ld=yes
|
||||||
;;
|
;;
|
||||||
openbsd* | bitrig*)
|
openbsd* | bitrig*)
|
||||||
@@ -9366,7 +9491,7 @@ printf %s "checking whether the $compiler linker ($LD) supports shared libraries
|
|||||||
whole_archive_flag_spec=
|
whole_archive_flag_spec=
|
||||||
fi
|
fi
|
||||||
supports_anon_versioning=no
|
supports_anon_versioning=no
|
||||||
case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
|
case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
|
||||||
*GNU\ gold*) supports_anon_versioning=yes ;;
|
*GNU\ gold*) supports_anon_versioning=yes ;;
|
||||||
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
|
||||||
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
|
||||||
@@ -9478,6 +9603,7 @@ _LT_EOF
|
|||||||
emximp -o $lib $output_objdir/$libname.def'
|
emximp -o $lib $output_objdir/$libname.def'
|
||||||
old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
|
old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
|
||||||
enable_shared_with_static_runtimes=yes
|
enable_shared_with_static_runtimes=yes
|
||||||
|
file_list_spec='@'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
interix[3-9]*)
|
interix[3-9]*)
|
||||||
@@ -9492,7 +9618,7 @@ _LT_EOF
|
|||||||
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
|
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
|
||||||
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
|
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
|
||||||
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
||||||
archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
|
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||||
@@ -9535,7 +9661,7 @@ _LT_EOF
|
|||||||
compiler_needs_object=yes
|
compiler_needs_object=yes
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
case `$CC -V 2>&1 | sed 5q` in
|
case `$CC -V 2>&1 | $SED 5q` in
|
||||||
*Sun\ C*) # Sun C 5.9
|
*Sun\ C*) # Sun C 5.9
|
||||||
whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
|
whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
|
||||||
compiler_needs_object=yes
|
compiler_needs_object=yes
|
||||||
@@ -9547,7 +9673,7 @@ _LT_EOF
|
|||||||
|
|
||||||
if test yes = "$supports_anon_versioning"; then
|
if test yes = "$supports_anon_versioning"; then
|
||||||
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
|
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
|
||||||
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
||||||
echo "local: *; };" >> $output_objdir/$libname.ver~
|
echo "local: *; };" >> $output_objdir/$libname.ver~
|
||||||
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
|
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
|
||||||
fi
|
fi
|
||||||
@@ -9563,7 +9689,7 @@ _LT_EOF
|
|||||||
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
|
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
|
||||||
if test yes = "$supports_anon_versioning"; then
|
if test yes = "$supports_anon_versioning"; then
|
||||||
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
|
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
|
||||||
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
||||||
echo "local: *; };" >> $output_objdir/$libname.ver~
|
echo "local: *; };" >> $output_objdir/$libname.ver~
|
||||||
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
|
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
|
||||||
fi
|
fi
|
||||||
@@ -9695,7 +9821,7 @@ _LT_EOF
|
|||||||
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
|
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
|
||||||
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
|
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
|
||||||
else
|
else
|
||||||
export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
|
export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
|
||||||
fi
|
fi
|
||||||
aix_use_runtimelinking=no
|
aix_use_runtimelinking=no
|
||||||
|
|
||||||
@@ -9966,12 +10092,12 @@ fi
|
|||||||
|
|
||||||
cygwin* | mingw* | pw32* | cegcc*)
|
cygwin* | mingw* | pw32* | cegcc*)
|
||||||
# When not using gcc, we currently assume that we are using
|
# When not using gcc, we currently assume that we are using
|
||||||
# Microsoft Visual C++.
|
# Microsoft Visual C++ or Intel C++ Compiler.
|
||||||
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
||||||
# no search path for DLLs.
|
# no search path for DLLs.
|
||||||
case $cc_basename in
|
case $cc_basename in
|
||||||
cl*)
|
cl* | icl*)
|
||||||
# Native MSVC
|
# Native MSVC or ICC
|
||||||
hardcode_libdir_flag_spec=' '
|
hardcode_libdir_flag_spec=' '
|
||||||
allow_undefined_flag=unsupported
|
allow_undefined_flag=unsupported
|
||||||
always_export_symbols=yes
|
always_export_symbols=yes
|
||||||
@@ -10012,7 +10138,7 @@ fi
|
|||||||
fi'
|
fi'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
# Assume MSVC wrapper
|
# Assume MSVC and ICC wrapper
|
||||||
hardcode_libdir_flag_spec=' '
|
hardcode_libdir_flag_spec=' '
|
||||||
allow_undefined_flag=unsupported
|
allow_undefined_flag=unsupported
|
||||||
# Tell ltmain to make .lib files, not .a files.
|
# Tell ltmain to make .lib files, not .a files.
|
||||||
@@ -10053,8 +10179,8 @@ fi
|
|||||||
output_verbose_link_cmd=func_echo_all
|
output_verbose_link_cmd=func_echo_all
|
||||||
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
|
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
|
||||||
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
|
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
|
||||||
archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
|
archive_expsym_cmds="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
|
||||||
module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
|
module_expsym_cmds="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
|
||||||
|
|
||||||
else
|
else
|
||||||
ld_shlibs=no
|
ld_shlibs=no
|
||||||
@@ -10088,7 +10214,7 @@ fi
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
||||||
freebsd* | dragonfly*)
|
freebsd* | dragonfly* | midnightbsd*)
|
||||||
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
||||||
hardcode_libdir_flag_spec='-R$libdir'
|
hardcode_libdir_flag_spec='-R$libdir'
|
||||||
hardcode_direct=yes
|
hardcode_direct=yes
|
||||||
@@ -10339,6 +10465,7 @@ printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
|
|||||||
emximp -o $lib $output_objdir/$libname.def'
|
emximp -o $lib $output_objdir/$libname.def'
|
||||||
old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
|
old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
|
||||||
enable_shared_with_static_runtimes=yes
|
enable_shared_with_static_runtimes=yes
|
||||||
|
file_list_spec='@'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
osf3*)
|
osf3*)
|
||||||
@@ -11031,7 +11158,7 @@ cygwin* | mingw* | pw32* | cegcc*)
|
|||||||
case $host_os in
|
case $host_os in
|
||||||
cygwin*)
|
cygwin*)
|
||||||
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
|
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
|
||||||
soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
||||||
|
|
||||||
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
|
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
|
||||||
;;
|
;;
|
||||||
@@ -11041,14 +11168,14 @@ cygwin* | mingw* | pw32* | cegcc*)
|
|||||||
;;
|
;;
|
||||||
pw32*)
|
pw32*)
|
||||||
# pw32 DLLs use 'pw' prefix rather than 'lib'
|
# pw32 DLLs use 'pw' prefix rather than 'lib'
|
||||||
library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
dynamic_linker='Win32 ld.exe'
|
dynamic_linker='Win32 ld.exe'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*,cl*)
|
*,cl* | *,icl*)
|
||||||
# Native MSVC
|
# Native MSVC or ICC
|
||||||
libname_spec='$name'
|
libname_spec='$name'
|
||||||
soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
||||||
library_names_spec='$libname.dll.lib'
|
library_names_spec='$libname.dll.lib'
|
||||||
@@ -11067,7 +11194,7 @@ cygwin* | mingw* | pw32* | cegcc*)
|
|||||||
done
|
done
|
||||||
IFS=$lt_save_ifs
|
IFS=$lt_save_ifs
|
||||||
# Convert to MSYS style.
|
# Convert to MSYS style.
|
||||||
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
|
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
|
||||||
;;
|
;;
|
||||||
cygwin*)
|
cygwin*)
|
||||||
# Convert to unix form, then to dos form, then back to unix form
|
# Convert to unix form, then to dos form, then back to unix form
|
||||||
@@ -11104,7 +11231,7 @@ cygwin* | mingw* | pw32* | cegcc*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
# Assume MSVC wrapper
|
# Assume MSVC and ICC wrapper
|
||||||
library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
|
library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
|
||||||
dynamic_linker='Win32 ld.exe'
|
dynamic_linker='Win32 ld.exe'
|
||||||
;;
|
;;
|
||||||
@@ -11137,7 +11264,7 @@ dgux*)
|
|||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
;;
|
;;
|
||||||
|
|
||||||
freebsd* | dragonfly*)
|
freebsd* | dragonfly* | midnightbsd*)
|
||||||
# DragonFly does not have aout. When/if they implement a new
|
# DragonFly does not have aout. When/if they implement a new
|
||||||
# versioning mechanism, adjust this.
|
# versioning mechanism, adjust this.
|
||||||
if test -x /usr/bin/objformat; then
|
if test -x /usr/bin/objformat; then
|
||||||
@@ -12290,30 +12417,41 @@ striplib=
|
|||||||
old_striplib=
|
old_striplib=
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
|
||||||
printf %s "checking whether stripping libraries is possible... " >&6; }
|
printf %s "checking whether stripping libraries is possible... " >&6; }
|
||||||
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
|
if test -z "$STRIP"; then
|
||||||
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
|
printf "%s\n" "no" >&6; }
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
||||||
printf "%s\n" "yes" >&6; }
|
|
||||||
else
|
else
|
||||||
# FIXME - insert some real tests, host_os isn't really good enough
|
if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
|
||||||
case $host_os in
|
old_striplib="$STRIP --strip-debug"
|
||||||
darwin*)
|
striplib="$STRIP --strip-unneeded"
|
||||||
if test -n "$STRIP"; then
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||||
|
printf "%s\n" "yes" >&6; }
|
||||||
|
else
|
||||||
|
case $host_os in
|
||||||
|
darwin*)
|
||||||
|
# FIXME - insert some real tests, host_os isn't really good enough
|
||||||
striplib="$STRIP -x"
|
striplib="$STRIP -x"
|
||||||
old_striplib="$STRIP -S"
|
old_striplib="$STRIP -S"
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||||
printf "%s\n" "yes" >&6; }
|
printf "%s\n" "yes" >&6; }
|
||||||
else
|
;;
|
||||||
|
freebsd*)
|
||||||
|
if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
|
||||||
|
old_striplib="$STRIP --strip-debug"
|
||||||
|
striplib="$STRIP --strip-unneeded"
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||||
|
printf "%s\n" "yes" >&6; }
|
||||||
|
else
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
|
printf "%s\n" "no" >&6; }
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
printf "%s\n" "no" >&6; }
|
printf "%s\n" "no" >&6; }
|
||||||
fi
|
;;
|
||||||
;;
|
esac
|
||||||
*)
|
fi
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
||||||
printf "%s\n" "no" >&6; }
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
@@ -12739,7 +12877,7 @@ fi
|
|||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of native executables" >&5
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of native executables" >&5
|
||||||
printf %s "checking for suffix of native executables... " >&6; }
|
printf %s "checking for suffix of native executables... " >&6; }
|
||||||
rm -f a.* b.* a_out.exe conftest.*
|
rm -f a.* b.* a_out.exe conftest.*
|
||||||
echo > conftest.c "int main() { return 0;}"
|
echo > conftest.c "int main(void) { return 0;}"
|
||||||
${CC_BUILD} conftest.c || as_fn_error $? "native C compiler is not working" "$LINENO" 5
|
${CC_BUILD} conftest.c || as_fn_error $? "native C compiler is not working" "$LINENO" 5
|
||||||
rm -f conftest.c
|
rm -f conftest.c
|
||||||
if test -x a.out -o -x b.out -o -x conftest; then
|
if test -x a.out -o -x b.out -o -x conftest; then
|
||||||
@@ -13606,21 +13744,6 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
ac_fn_c_check_func "$LINENO" "memcpy" "ac_cv_func_memcpy"
|
|
||||||
if test "x$ac_cv_func_memcpy" = xyes
|
|
||||||
then :
|
|
||||||
printf "%s\n" "#define HAVE_MEMCPY 1" >>confdefs.h
|
|
||||||
|
|
||||||
fi
|
|
||||||
ac_fn_c_check_func "$LINENO" "memmove" "ac_cv_func_memmove"
|
|
||||||
if test "x$ac_cv_func_memmove" = xyes
|
|
||||||
then :
|
|
||||||
printf "%s\n" "#define HAVE_MEMMOVE 1" >>confdefs.h
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# get compiler flags right
|
# get compiler flags right
|
||||||
#
|
#
|
||||||
# We try to make the compiler work for C99-strict source. Even if the
|
# We try to make the compiler work for C99-strict source. Even if the
|
||||||
@@ -14241,19 +14364,54 @@ fi
|
|||||||
have_libpng="yes (LIBPNG_CFLAGS and LIBPNG_LIBS)"
|
have_libpng="yes (LIBPNG_CFLAGS and LIBPNG_LIBS)"
|
||||||
else
|
else
|
||||||
# fall back to config script
|
# fall back to config script
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libpng-config" >&5
|
# Extract the first word of "libpng-config", so it can be a program name with args.
|
||||||
printf %s "checking for libpng-config... " >&6; }
|
set dummy libpng-config; ac_word=$2
|
||||||
if which libpng-config > /dev/null 2>&1; then
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||||
|
printf %s "checking for $ac_word... " >&6; }
|
||||||
|
if test ${ac_cv_prog_have_libpng+y}
|
||||||
|
then :
|
||||||
|
printf %s "(cached) " >&6
|
||||||
|
else $as_nop
|
||||||
|
if test -n "$have_libpng"; then
|
||||||
|
ac_cv_prog_have_libpng="$have_libpng" # Let the user override the test.
|
||||||
|
else
|
||||||
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||||
|
for as_dir in $PATH
|
||||||
|
do
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
case $as_dir in #(((
|
||||||
|
'') as_dir=./ ;;
|
||||||
|
*/) ;;
|
||||||
|
*) as_dir=$as_dir/ ;;
|
||||||
|
esac
|
||||||
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||||
|
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
||||||
|
ac_cv_prog_have_libpng="yes (libpng-config)"
|
||||||
|
printf "%s\n" "$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_have_libpng" && ac_cv_prog_have_libpng="no"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
have_libpng=$ac_cv_prog_have_libpng
|
||||||
|
if test -n "$have_libpng"; then
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_libpng" >&5
|
||||||
|
printf "%s\n" "$have_libpng" >&6; }
|
||||||
|
else
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
|
printf "%s\n" "no" >&6; }
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if test "$have_libpng" != no; then
|
||||||
LIBPNG_CFLAGS=`libpng-config --cflags`
|
LIBPNG_CFLAGS=`libpng-config --cflags`
|
||||||
LIBPNG_LIBS=`libpng-config --ldflags`
|
LIBPNG_LIBS=`libpng-config --ldflags`
|
||||||
libpng_libspriv=`libpng-config --static --ldflags`
|
libpng_libspriv=`libpng-config --static --ldflags`
|
||||||
libpng_libsstaticconf="$libpng_libspriv"
|
libpng_libsstaticconf="$libpng_libspriv"
|
||||||
have_libpng="yes (libpng-config)"
|
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
||||||
printf "%s\n" "yes" >&6; }
|
|
||||||
else
|
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
||||||
printf "%s\n" "no" >&6; }
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@@ -14586,8 +14744,23 @@ then :
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
FT_DEMO_CFLAGS=""
|
||||||
|
FT_DEMO_LDFLAGS="$LIB_CLOCK_GETTIME"
|
||||||
|
|
||||||
# 'librsvg' is needed to demonstrate SVG support.
|
# 'librsvg' is needed to demonstrate SVG support.
|
||||||
|
|
||||||
|
# Check whether --with-librsvg was given.
|
||||||
|
if test ${with_librsvg+y}
|
||||||
|
then :
|
||||||
|
withval=$with_librsvg;
|
||||||
|
else $as_nop
|
||||||
|
with_librsvg=auto
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
have_librsvg=no
|
||||||
|
if test x"$with_librsvg" = xyes -o x"$with_librsvg" = xauto; then
|
||||||
|
|
||||||
pkg_failed=no
|
pkg_failed=no
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBRSVG" >&5
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBRSVG" >&5
|
||||||
printf %s "checking for LIBRSVG... " >&6; }
|
printf %s "checking for LIBRSVG... " >&6; }
|
||||||
@@ -14646,11 +14819,11 @@ fi
|
|||||||
# Put the nasty error message in config.log where it belongs
|
# Put the nasty error message in config.log where it belongs
|
||||||
echo "$LIBRSVG_PKG_ERRORS" >&5
|
echo "$LIBRSVG_PKG_ERRORS" >&5
|
||||||
|
|
||||||
have_librsvg=no
|
:
|
||||||
elif test $pkg_failed = untried; then
|
elif test $pkg_failed = untried; then
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
printf "%s\n" "no" >&6; }
|
printf "%s\n" "no" >&6; }
|
||||||
have_librsvg=no
|
:
|
||||||
else
|
else
|
||||||
LIBRSVG_CFLAGS=$pkg_cv_LIBRSVG_CFLAGS
|
LIBRSVG_CFLAGS=$pkg_cv_LIBRSVG_CFLAGS
|
||||||
LIBRSVG_LIBS=$pkg_cv_LIBRSVG_LIBS
|
LIBRSVG_LIBS=$pkg_cv_LIBRSVG_LIBS
|
||||||
@@ -14659,12 +14832,14 @@ printf "%s\n" "yes" >&6; }
|
|||||||
have_librsvg="yes (pkg-config)"
|
have_librsvg="yes (pkg-config)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
FT_DEMO_CFLAGS=""
|
if test "$have_librsvg" != no; then
|
||||||
FT_DEMO_LDFLAGS="$LIB_CLOCK_GETTIME"
|
FT_DEMO_CFLAGS="$FT_DEMO_CFLAGS $LIBRSVG_CFLAGS -DHAVE_LIBRSVG"
|
||||||
|
FT_DEMO_LDFLAGS="$FT_DEMO_LDFLAGS $LIBRSVG_LIBS"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if test "$have_librsvg" != no; then
|
if test x"$with_librsvg" = xyes -a "$have_librsvg" = no; then
|
||||||
FT_DEMO_CFLAGS="$FT_DEMO_CFLAGS $LIBRSVG_CFLAGS -DHAVE_LIBRSVG"
|
as_fn_error $? "librsvg support requested but library not found" "$LINENO" 5
|
||||||
FT_DEMO_LDFLAGS="$FT_DEMO_LDFLAGS $LIBRSVG_LIBS"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
@@ -16068,7 +16243,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|||||||
|
|
||||||
|
|
||||||
# Check for Python and docwriter
|
# Check for Python and docwriter
|
||||||
|
PYTHON_MIN_VERSION=3.5
|
||||||
have_py3=no
|
have_py3=no
|
||||||
have_docwriter=no
|
have_docwriter=no
|
||||||
PIP=pip
|
PIP=pip
|
||||||
@@ -16129,7 +16304,7 @@ if test "x$PYTHON" != "xmissing"; then
|
|||||||
if test -n "$PYTHON"
|
if test -n "$PYTHON"
|
||||||
then :
|
then :
|
||||||
|
|
||||||
ax_python_version="3.5"
|
ax_python_version="$PYTHON_MIN_VERSION"
|
||||||
|
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python version" >&5
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python version" >&5
|
||||||
printf %s "checking for python version... " >&6; }
|
printf %s "checking for python version... " >&6; }
|
||||||
@@ -16861,7 +17036,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|||||||
# report actual input values of CONFIG_FILES etc. instead of their
|
# report actual input values of CONFIG_FILES etc. instead of their
|
||||||
# values after options handling.
|
# values after options handling.
|
||||||
ac_log="
|
ac_log="
|
||||||
This file was extended by FreeType $as_me 2.12, which was
|
This file was extended by FreeType $as_me 2.13.2, which was
|
||||||
generated by GNU Autoconf 2.71. Invocation command line was
|
generated by GNU Autoconf 2.71. Invocation command line was
|
||||||
|
|
||||||
CONFIG_FILES = $CONFIG_FILES
|
CONFIG_FILES = $CONFIG_FILES
|
||||||
@@ -16929,7 +17104,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
|
|||||||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
||||||
ac_cs_config='$ac_cs_config_escaped'
|
ac_cs_config='$ac_cs_config_escaped'
|
||||||
ac_cs_version="\\
|
ac_cs_version="\\
|
||||||
FreeType config.status 2.12
|
FreeType config.status 2.13.2
|
||||||
configured by $0, generated by GNU Autoconf 2.71,
|
configured by $0, generated by GNU Autoconf 2.71,
|
||||||
with options \\"\$ac_cs_config\\"
|
with options \\"\$ac_cs_config\\"
|
||||||
|
|
||||||
@@ -17094,12 +17269,14 @@ lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_q
|
|||||||
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
|
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
|
||||||
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
|
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
|
||||||
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
|
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
|
||||||
|
FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
|
||||||
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
|
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
|
||||||
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
|
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
|
||||||
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
|
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
|
||||||
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
|
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
|
||||||
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
|
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
|
||||||
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
|
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
|
||||||
|
lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
|
||||||
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
|
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
|
||||||
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
|
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
|
||||||
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
|
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
|
||||||
@@ -17265,13 +17442,13 @@ LN_S \
|
|||||||
lt_SP2NL \
|
lt_SP2NL \
|
||||||
lt_NL2SP \
|
lt_NL2SP \
|
||||||
reload_flag \
|
reload_flag \
|
||||||
|
FILECMD \
|
||||||
deplibs_check_method \
|
deplibs_check_method \
|
||||||
file_magic_cmd \
|
file_magic_cmd \
|
||||||
file_magic_glob \
|
file_magic_glob \
|
||||||
want_nocaseglob \
|
want_nocaseglob \
|
||||||
sharedlib_from_linklib_cmd \
|
sharedlib_from_linklib_cmd \
|
||||||
AR \
|
AR \
|
||||||
AR_FLAGS \
|
|
||||||
archiver_list_spec \
|
archiver_list_spec \
|
||||||
STRIP \
|
STRIP \
|
||||||
RANLIB \
|
RANLIB \
|
||||||
@@ -18126,6 +18303,9 @@ to_host_file_cmd=$lt_cv_to_host_file_cmd
|
|||||||
# convert \$build files to toolchain format.
|
# convert \$build files to toolchain format.
|
||||||
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
|
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
|
||||||
|
|
||||||
|
# A file(cmd) program that detects file types.
|
||||||
|
FILECMD=$lt_FILECMD
|
||||||
|
|
||||||
# Method to check whether dependent libraries are shared objects.
|
# Method to check whether dependent libraries are shared objects.
|
||||||
deplibs_check_method=$lt_deplibs_check_method
|
deplibs_check_method=$lt_deplibs_check_method
|
||||||
|
|
||||||
@@ -18144,8 +18324,11 @@ sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
|
|||||||
# The archiver.
|
# The archiver.
|
||||||
AR=$lt_AR
|
AR=$lt_AR
|
||||||
|
|
||||||
|
# Flags to create an archive (by configure).
|
||||||
|
lt_ar_flags=$lt_ar_flags
|
||||||
|
|
||||||
# Flags to create an archive.
|
# Flags to create an archive.
|
||||||
AR_FLAGS=$lt_AR_FLAGS
|
AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
|
||||||
|
|
||||||
# How to feed a file listing to the archiver.
|
# How to feed a file listing to the archiver.
|
||||||
archiver_list_spec=$lt_archiver_list_spec
|
archiver_list_spec=$lt_archiver_list_spec
|
||||||
@@ -18521,7 +18704,7 @@ ltmain=$ac_aux_dir/ltmain.sh
|
|||||||
# if finds mixed CR/LF and LF-only lines. Since sed operates in
|
# if finds mixed CR/LF and LF-only lines. Since sed operates in
|
||||||
# text mode, it properly converts lines to CR/LF. This bash problem
|
# text mode, it properly converts lines to CR/LF. This bash problem
|
||||||
# is reportedly fixed, but why not run on old versions too?
|
# is reportedly fixed, but why not run on old versions too?
|
||||||
sed '$q' "$ltmain" >> "$cfgfile" \
|
$SED '$q' "$ltmain" >> "$cfgfile" \
|
||||||
|| (rm -f "$cfgfile"; exit 1)
|
|| (rm -f "$cfgfile"; exit 1)
|
||||||
|
|
||||||
mv -f "$cfgfile" "$ofile" ||
|
mv -f "$cfgfile" "$ofile" ||
|
||||||
@@ -18738,13 +18921,13 @@ if test $have_docwriter = no; then
|
|||||||
\`make refdoc' will fail since pip package \`docwriter' is not installed.
|
\`make refdoc' will fail since pip package \`docwriter' is not installed.
|
||||||
To install, run \`$PIP install docwriter', or to use a Python
|
To install, run \`$PIP install docwriter', or to use a Python
|
||||||
virtual environment, run \`make refdoc-venv' (requires pip package
|
virtual environment, run \`make refdoc-venv' (requires pip package
|
||||||
\`virtualenv'). These operations require Python >= 3.5.
|
\`virtualenv'). These operations require Python >= $PYTHON_MIN_VERSION.
|
||||||
" >&5
|
" >&5
|
||||||
printf "%s\n" "$as_me: WARNING:
|
printf "%s\n" "$as_me: WARNING:
|
||||||
\`make refdoc' will fail since pip package \`docwriter' is not installed.
|
\`make refdoc' will fail since pip package \`docwriter' is not installed.
|
||||||
To install, run \`$PIP install docwriter', or to use a Python
|
To install, run \`$PIP install docwriter', or to use a Python
|
||||||
virtual environment, run \`make refdoc-venv' (requires pip package
|
virtual environment, run \`make refdoc-venv' (requires pip package
|
||||||
\`virtualenv'). These operations require Python >= 3.5.
|
\`virtualenv'). These operations require Python >= $PYTHON_MIN_VERSION.
|
||||||
" >&2;}
|
" >&2;}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# Process this file with autoconf to produce a configure script.
|
# Process this file with autoconf to produce a configure script.
|
||||||
#
|
#
|
||||||
# Copyright (C) 2001-2022 by
|
# Copyright (C) 2001-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
@@ -11,13 +11,13 @@
|
|||||||
# indicate that you have read the license and understand and accept it
|
# indicate that you have read the license and understand and accept it
|
||||||
# fully.
|
# fully.
|
||||||
|
|
||||||
AC_INIT([FreeType], [2.12], [freetype@nongnu.org], [freetype])
|
AC_INIT([FreeType], [2.13.2], [freetype@nongnu.org], [freetype])
|
||||||
AC_CONFIG_SRCDIR([ftconfig.h.in])
|
AC_CONFIG_SRCDIR([ftconfig.h.in])
|
||||||
|
|
||||||
|
|
||||||
# Don't forget to update `docs/VERSIONS.TXT'!
|
# Don't forget to update `docs/VERSIONS.TXT'!
|
||||||
|
|
||||||
version_info='24:2:18'
|
version_info='26:1:20'
|
||||||
AC_SUBST([version_info])
|
AC_SUBST([version_info])
|
||||||
ft_version=`echo $version_info | tr : .`
|
ft_version=`echo $version_info | tr : .`
|
||||||
AC_SUBST([ft_version])
|
AC_SUBST([ft_version])
|
||||||
@@ -50,7 +50,7 @@ if test ${cross_compiling} = yes; then
|
|||||||
|
|
||||||
AC_MSG_CHECKING([for suffix of native executables])
|
AC_MSG_CHECKING([for suffix of native executables])
|
||||||
rm -f a.* b.* a_out.exe conftest.*
|
rm -f a.* b.* a_out.exe conftest.*
|
||||||
echo > conftest.c "int main() { return 0;}"
|
echo > conftest.c "int main(void) { return 0;}"
|
||||||
${CC_BUILD} conftest.c || AC_MSG_ERROR([native C compiler is not working])
|
${CC_BUILD} conftest.c || AC_MSG_ERROR([native C compiler is not working])
|
||||||
rm -f conftest.c
|
rm -f conftest.c
|
||||||
if test -x a.out -o -x b.out -o -x conftest; then
|
if test -x a.out -o -x b.out -o -x conftest; then
|
||||||
@@ -163,9 +163,6 @@ fi
|
|||||||
AC_SUBST([FTSYS_SRC])
|
AC_SUBST([FTSYS_SRC])
|
||||||
|
|
||||||
|
|
||||||
AC_CHECK_FUNCS([memcpy memmove])
|
|
||||||
|
|
||||||
|
|
||||||
# get compiler flags right
|
# get compiler flags right
|
||||||
#
|
#
|
||||||
# We try to make the compiler work for C99-strict source. Even if the
|
# We try to make the compiler work for C99-strict source. Even if the
|
||||||
@@ -406,16 +403,12 @@ if test x"$with_png" = xyes -o x"$with_png" = xauto; then
|
|||||||
have_libpng="yes (LIBPNG_CFLAGS and LIBPNG_LIBS)"
|
have_libpng="yes (LIBPNG_CFLAGS and LIBPNG_LIBS)"
|
||||||
else
|
else
|
||||||
# fall back to config script
|
# fall back to config script
|
||||||
AC_MSG_CHECKING([for libpng-config])
|
AC_CHECK_PROG(have_libpng, [libpng-config], [yes (libpng-config)], [no])
|
||||||
if which libpng-config > /dev/null 2>&1; then
|
if test "$have_libpng" != no; then
|
||||||
LIBPNG_CFLAGS=`libpng-config --cflags`
|
LIBPNG_CFLAGS=`libpng-config --cflags`
|
||||||
LIBPNG_LIBS=`libpng-config --ldflags`
|
LIBPNG_LIBS=`libpng-config --ldflags`
|
||||||
libpng_libspriv=`libpng-config --static --ldflags`
|
libpng_libspriv=`libpng-config --static --ldflags`
|
||||||
libpng_libsstaticconf="$libpng_libspriv"
|
libpng_libsstaticconf="$libpng_libspriv"
|
||||||
have_libpng="yes (libpng-config)"
|
|
||||||
AC_MSG_RESULT([yes])
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT([no])
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@@ -530,16 +523,28 @@ AC_SEARCH_LIBS([clock_gettime],
|
|||||||
[test "$ac_cv_search_clock_gettime" = "none required" \
|
[test "$ac_cv_search_clock_gettime" = "none required" \
|
||||||
|| LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime])
|
|| LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime])
|
||||||
|
|
||||||
# 'librsvg' is needed to demonstrate SVG support.
|
|
||||||
PKG_CHECK_MODULES([LIBRSVG], [librsvg-2.0 >= 2.46.0],
|
|
||||||
[have_librsvg="yes (pkg-config)"], [have_librsvg=no])
|
|
||||||
|
|
||||||
FT_DEMO_CFLAGS=""
|
FT_DEMO_CFLAGS=""
|
||||||
FT_DEMO_LDFLAGS="$LIB_CLOCK_GETTIME"
|
FT_DEMO_LDFLAGS="$LIB_CLOCK_GETTIME"
|
||||||
|
|
||||||
if test "$have_librsvg" != no; then
|
# 'librsvg' is needed to demonstrate SVG support.
|
||||||
FT_DEMO_CFLAGS="$FT_DEMO_CFLAGS $LIBRSVG_CFLAGS -DHAVE_LIBRSVG"
|
AC_ARG_WITH([librsvg],
|
||||||
FT_DEMO_LDFLAGS="$FT_DEMO_LDFLAGS $LIBRSVG_LIBS"
|
[AS_HELP_STRING([--with-librsvg=@<:@yes|no|auto@:>@],
|
||||||
|
[support OpenType SVG fonts in FreeType demo programs @<:@default=auto@:>@])],
|
||||||
|
[], [with_librsvg=auto])
|
||||||
|
|
||||||
|
have_librsvg=no
|
||||||
|
if test x"$with_librsvg" = xyes -o x"$with_librsvg" = xauto; then
|
||||||
|
PKG_CHECK_MODULES([LIBRSVG], [librsvg-2.0 >= 2.46.0],
|
||||||
|
[have_librsvg="yes (pkg-config)"], [:])
|
||||||
|
|
||||||
|
if test "$have_librsvg" != no; then
|
||||||
|
FT_DEMO_CFLAGS="$FT_DEMO_CFLAGS $LIBRSVG_CFLAGS -DHAVE_LIBRSVG"
|
||||||
|
FT_DEMO_LDFLAGS="$FT_DEMO_LDFLAGS $LIBRSVG_LIBS"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test x"$with_librsvg" = xyes -a "$have_librsvg" = no; then
|
||||||
|
AC_MSG_ERROR([librsvg support requested but library not found])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_SUBST([FT_DEMO_CFLAGS])
|
AC_SUBST([FT_DEMO_CFLAGS])
|
||||||
@@ -961,14 +966,14 @@ esac
|
|||||||
AX_PTHREAD([have_pthread=yes], [have_pthread=no])
|
AX_PTHREAD([have_pthread=yes], [have_pthread=no])
|
||||||
|
|
||||||
# Check for Python and docwriter
|
# Check for Python and docwriter
|
||||||
|
PYTHON_MIN_VERSION=3.5
|
||||||
have_py3=no
|
have_py3=no
|
||||||
have_docwriter=no
|
have_docwriter=no
|
||||||
PIP=pip
|
PIP=pip
|
||||||
|
|
||||||
AC_CHECK_PROGS([PYTHON], [python3 python], [missing])
|
AC_CHECK_PROGS([PYTHON], [python3 python], [missing])
|
||||||
if test "x$PYTHON" != "xmissing"; then
|
if test "x$PYTHON" != "xmissing"; then
|
||||||
AX_PROG_PYTHON_VERSION([3.5], [have_py3=yes], [])
|
AX_PROG_PYTHON_VERSION([$PYTHON_MIN_VERSION], [have_py3=yes], [])
|
||||||
|
|
||||||
if test "x$have_py3" = "xyes"; then
|
if test "x$have_py3" = "xyes"; then
|
||||||
PIP="$PYTHON -m $PIP"
|
PIP="$PYTHON -m $PIP"
|
||||||
@@ -1157,7 +1162,7 @@ if test $have_docwriter = no; then
|
|||||||
`make refdoc' will fail since pip package `docwriter' is not installed.
|
`make refdoc' will fail since pip package `docwriter' is not installed.
|
||||||
To install, run `$PIP install docwriter', or to use a Python
|
To install, run `$PIP install docwriter', or to use a Python
|
||||||
virtual environment, run `make refdoc-venv' (requires pip package
|
virtual environment, run `make refdoc-venv' (requires pip package
|
||||||
`virtualenv'). These operations require Python >= 3.5.
|
`virtualenv'). These operations require Python >= $PYTHON_MIN_VERSION.
|
||||||
])
|
])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# Process this file with autoconf to produce a configure script.
|
# Process this file with autoconf to produce a configure script.
|
||||||
#
|
#
|
||||||
# Copyright (C) 2001-2022 by
|
# Copyright (C) 2001-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
@@ -17,7 +17,7 @@ AC_CONFIG_SRCDIR([ftconfig.h.in])
|
|||||||
|
|
||||||
# Don't forget to update `docs/VERSIONS.TXT'!
|
# Don't forget to update `docs/VERSIONS.TXT'!
|
||||||
|
|
||||||
version_info='24:2:18'
|
version_info='26:1:20'
|
||||||
AC_SUBST([version_info])
|
AC_SUBST([version_info])
|
||||||
ft_version=`echo $version_info | tr : .`
|
ft_version=`echo $version_info | tr : .`
|
||||||
AC_SUBST([ft_version])
|
AC_SUBST([ft_version])
|
||||||
@@ -50,7 +50,7 @@ if test ${cross_compiling} = yes; then
|
|||||||
|
|
||||||
AC_MSG_CHECKING([for suffix of native executables])
|
AC_MSG_CHECKING([for suffix of native executables])
|
||||||
rm -f a.* b.* a_out.exe conftest.*
|
rm -f a.* b.* a_out.exe conftest.*
|
||||||
echo > conftest.c "int main() { return 0;}"
|
echo > conftest.c "int main(void) { return 0;}"
|
||||||
${CC_BUILD} conftest.c || AC_MSG_ERROR([native C compiler is not working])
|
${CC_BUILD} conftest.c || AC_MSG_ERROR([native C compiler is not working])
|
||||||
rm -f conftest.c
|
rm -f conftest.c
|
||||||
if test -x a.out -o -x b.out -o -x conftest; then
|
if test -x a.out -o -x b.out -o -x conftest; then
|
||||||
@@ -163,9 +163,6 @@ fi
|
|||||||
AC_SUBST([FTSYS_SRC])
|
AC_SUBST([FTSYS_SRC])
|
||||||
|
|
||||||
|
|
||||||
AC_CHECK_FUNCS([memcpy memmove])
|
|
||||||
|
|
||||||
|
|
||||||
# get compiler flags right
|
# get compiler flags right
|
||||||
#
|
#
|
||||||
# We try to make the compiler work for C99-strict source. Even if the
|
# We try to make the compiler work for C99-strict source. Even if the
|
||||||
@@ -406,16 +403,12 @@ if test x"$with_png" = xyes -o x"$with_png" = xauto; then
|
|||||||
have_libpng="yes (LIBPNG_CFLAGS and LIBPNG_LIBS)"
|
have_libpng="yes (LIBPNG_CFLAGS and LIBPNG_LIBS)"
|
||||||
else
|
else
|
||||||
# fall back to config script
|
# fall back to config script
|
||||||
AC_MSG_CHECKING([for libpng-config])
|
AC_CHECK_PROG(have_libpng, [libpng-config], [yes (libpng-config)], [no])
|
||||||
if which libpng-config > /dev/null 2>&1; then
|
if test "$have_libpng" != no; then
|
||||||
LIBPNG_CFLAGS=`libpng-config --cflags`
|
LIBPNG_CFLAGS=`libpng-config --cflags`
|
||||||
LIBPNG_LIBS=`libpng-config --ldflags`
|
LIBPNG_LIBS=`libpng-config --ldflags`
|
||||||
libpng_libspriv=`libpng-config --static --ldflags`
|
libpng_libspriv=`libpng-config --static --ldflags`
|
||||||
libpng_libsstaticconf="$libpng_libspriv"
|
libpng_libsstaticconf="$libpng_libspriv"
|
||||||
have_libpng="yes (libpng-config)"
|
|
||||||
AC_MSG_RESULT([yes])
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT([no])
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@@ -530,16 +523,28 @@ AC_SEARCH_LIBS([clock_gettime],
|
|||||||
[test "$ac_cv_search_clock_gettime" = "none required" \
|
[test "$ac_cv_search_clock_gettime" = "none required" \
|
||||||
|| LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime])
|
|| LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime])
|
||||||
|
|
||||||
# 'librsvg' is needed to demonstrate SVG support.
|
|
||||||
PKG_CHECK_MODULES([LIBRSVG], [librsvg-2.0 >= 2.46.0],
|
|
||||||
[have_librsvg="yes (pkg-config)"], [have_librsvg=no])
|
|
||||||
|
|
||||||
FT_DEMO_CFLAGS=""
|
FT_DEMO_CFLAGS=""
|
||||||
FT_DEMO_LDFLAGS="$LIB_CLOCK_GETTIME"
|
FT_DEMO_LDFLAGS="$LIB_CLOCK_GETTIME"
|
||||||
|
|
||||||
if test "$have_librsvg" != no; then
|
# 'librsvg' is needed to demonstrate SVG support.
|
||||||
FT_DEMO_CFLAGS="$FT_DEMO_CFLAGS $LIBRSVG_CFLAGS -DHAVE_LIBRSVG"
|
AC_ARG_WITH([librsvg],
|
||||||
FT_DEMO_LDFLAGS="$FT_DEMO_LDFLAGS $LIBRSVG_LIBS"
|
[AS_HELP_STRING([--with-librsvg=@<:@yes|no|auto@:>@],
|
||||||
|
[support OpenType SVG fonts in FreeType demo programs @<:@default=auto@:>@])],
|
||||||
|
[], [with_librsvg=auto])
|
||||||
|
|
||||||
|
have_librsvg=no
|
||||||
|
if test x"$with_librsvg" = xyes -o x"$with_librsvg" = xauto; then
|
||||||
|
PKG_CHECK_MODULES([LIBRSVG], [librsvg-2.0 >= 2.46.0],
|
||||||
|
[have_librsvg="yes (pkg-config)"], [:])
|
||||||
|
|
||||||
|
if test "$have_librsvg" != no; then
|
||||||
|
FT_DEMO_CFLAGS="$FT_DEMO_CFLAGS $LIBRSVG_CFLAGS -DHAVE_LIBRSVG"
|
||||||
|
FT_DEMO_LDFLAGS="$FT_DEMO_LDFLAGS $LIBRSVG_LIBS"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test x"$with_librsvg" = xyes -a "$have_librsvg" = no; then
|
||||||
|
AC_MSG_ERROR([librsvg support requested but library not found])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_SUBST([FT_DEMO_CFLAGS])
|
AC_SUBST([FT_DEMO_CFLAGS])
|
||||||
@@ -961,14 +966,14 @@ esac
|
|||||||
AX_PTHREAD([have_pthread=yes], [have_pthread=no])
|
AX_PTHREAD([have_pthread=yes], [have_pthread=no])
|
||||||
|
|
||||||
# Check for Python and docwriter
|
# Check for Python and docwriter
|
||||||
|
PYTHON_MIN_VERSION=3.5
|
||||||
have_py3=no
|
have_py3=no
|
||||||
have_docwriter=no
|
have_docwriter=no
|
||||||
PIP=pip
|
PIP=pip
|
||||||
|
|
||||||
AC_CHECK_PROGS([PYTHON], [python3 python], [missing])
|
AC_CHECK_PROGS([PYTHON], [python3 python], [missing])
|
||||||
if test "x$PYTHON" != "xmissing"; then
|
if test "x$PYTHON" != "xmissing"; then
|
||||||
AX_PROG_PYTHON_VERSION([3.5], [have_py3=yes], [])
|
AX_PROG_PYTHON_VERSION([$PYTHON_MIN_VERSION], [have_py3=yes], [])
|
||||||
|
|
||||||
if test "x$have_py3" = "xyes"; then
|
if test "x$have_py3" = "xyes"; then
|
||||||
PIP="$PYTHON -m $PIP"
|
PIP="$PYTHON -m $PIP"
|
||||||
@@ -1157,7 +1162,7 @@ if test $have_docwriter = no; then
|
|||||||
`make refdoc' will fail since pip package `docwriter' is not installed.
|
`make refdoc' will fail since pip package `docwriter' is not installed.
|
||||||
To install, run `$PIP install docwriter', or to use a Python
|
To install, run `$PIP install docwriter', or to use a Python
|
||||||
virtual environment, run `make refdoc-venv' (requires pip package
|
virtual environment, run `make refdoc-venv' (requires pip package
|
||||||
`virtualenv'). These operations require Python >= 3.5.
|
`virtualenv'). These operations require Python >= $PYTHON_MIN_VERSION.
|
||||||
])
|
])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2000-2022 by
|
# Copyright (C) 2000-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# Configure paths for FreeType2
|
# Configure paths for FreeType2
|
||||||
# Marcelo Magallon 2001-10-26, based on `gtk.m4` by Owen Taylor
|
# Marcelo Magallon 2001-10-26, based on `gtk.m4` by Owen Taylor
|
||||||
#
|
#
|
||||||
# Copyright (C) 2001-2022 by
|
# Copyright (C) 2001-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
# generated by Autoconf, under the same distribution terms as the rest of
|
# generated by Autoconf, under the same distribution terms as the rest of
|
||||||
# that program.
|
# that program.
|
||||||
#
|
#
|
||||||
# serial 6
|
# serial 7
|
||||||
|
|
||||||
# AC_CHECK_FT2([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
|
# AC_CHECK_FT2([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
|
||||||
# Test for FreeType 2, and define FT2_CFLAGS and FT2_LIBS.
|
# Test for FreeType 2, and define FT2_CFLAGS and FT2_LIBS.
|
||||||
@@ -121,7 +121,7 @@ AC_DEFUN([AC_CHECK_FT2],
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
main()
|
main(void)
|
||||||
{
|
{
|
||||||
FT_Library library;
|
FT_Library library;
|
||||||
FT_Error error;
|
FT_Error error;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
## FreeType specific autoconf tests
|
## FreeType specific autoconf tests
|
||||||
#
|
#
|
||||||
# Copyright (C) 2002-2022 by
|
# Copyright (C) 2002-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* UNIX-specific configuration file (specification only).
|
* UNIX-specific configuration file (specification only).
|
||||||
*
|
*
|
||||||
* Copyright (C) 1996-2022 by
|
* Copyright (C) 1996-2023 by
|
||||||
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
*
|
*
|
||||||
* This file is part of the FreeType project, and may only be used,
|
* This file is part of the FreeType project, and may only be used,
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* Unix-specific FreeType low-level system interface (body).
|
* Unix-specific FreeType low-level system interface (body).
|
||||||
*
|
*
|
||||||
* Copyright (C) 1996-2022 by
|
* Copyright (C) 1996-2023 by
|
||||||
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
*
|
*
|
||||||
* This file is part of the FreeType project, and may only be used,
|
* This file is part of the FreeType project, and may only be used,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# install - install a program, script, or datafile
|
# install - install a program, script, or datafile
|
||||||
|
|
||||||
scriptversion=2013-12-25.23; # UTC
|
scriptversion=2020-11-14.01; # UTC
|
||||||
|
|
||||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
||||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
# later released in X11R6 (xc/config/util/install.sh) with the
|
||||||
@@ -69,6 +69,11 @@ posix_mkdir=
|
|||||||
# Desired mode of installed file.
|
# Desired mode of installed file.
|
||||||
mode=0755
|
mode=0755
|
||||||
|
|
||||||
|
# Create dirs (including intermediate dirs) using mode 755.
|
||||||
|
# This is like GNU 'install' as of coreutils 8.32 (2020).
|
||||||
|
mkdir_umask=22
|
||||||
|
|
||||||
|
backupsuffix=
|
||||||
chgrpcmd=
|
chgrpcmd=
|
||||||
chmodcmd=$chmodprog
|
chmodcmd=$chmodprog
|
||||||
chowncmd=
|
chowncmd=
|
||||||
@@ -99,18 +104,28 @@ Options:
|
|||||||
--version display version info and exit.
|
--version display version info and exit.
|
||||||
|
|
||||||
-c (ignored)
|
-c (ignored)
|
||||||
-C install only if different (preserve the last data modification time)
|
-C install only if different (preserve data modification time)
|
||||||
-d create directories instead of installing files.
|
-d create directories instead of installing files.
|
||||||
-g GROUP $chgrpprog installed files to GROUP.
|
-g GROUP $chgrpprog installed files to GROUP.
|
||||||
-m MODE $chmodprog installed files to MODE.
|
-m MODE $chmodprog installed files to MODE.
|
||||||
-o USER $chownprog installed files to USER.
|
-o USER $chownprog installed files to USER.
|
||||||
|
-p pass -p to $cpprog.
|
||||||
-s $stripprog installed files.
|
-s $stripprog installed files.
|
||||||
|
-S SUFFIX attempt to back up existing files, with suffix SUFFIX.
|
||||||
-t DIRECTORY install into DIRECTORY.
|
-t DIRECTORY install into DIRECTORY.
|
||||||
-T report an error if DSTFILE is a directory.
|
-T report an error if DSTFILE is a directory.
|
||||||
|
|
||||||
Environment variables override the default commands:
|
Environment variables override the default commands:
|
||||||
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
|
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
|
||||||
RMPROG STRIPPROG
|
RMPROG STRIPPROG
|
||||||
|
|
||||||
|
By default, rm is invoked with -f; when overridden with RMPROG,
|
||||||
|
it's up to you to specify -f if you want it.
|
||||||
|
|
||||||
|
If -S is not specified, no backups are attempted.
|
||||||
|
|
||||||
|
Email bug reports to bug-automake@gnu.org.
|
||||||
|
Automake home page: https://www.gnu.org/software/automake/
|
||||||
"
|
"
|
||||||
|
|
||||||
while test $# -ne 0; do
|
while test $# -ne 0; do
|
||||||
@@ -137,8 +152,13 @@ while test $# -ne 0; do
|
|||||||
-o) chowncmd="$chownprog $2"
|
-o) chowncmd="$chownprog $2"
|
||||||
shift;;
|
shift;;
|
||||||
|
|
||||||
|
-p) cpprog="$cpprog -p";;
|
||||||
|
|
||||||
-s) stripcmd=$stripprog;;
|
-s) stripcmd=$stripprog;;
|
||||||
|
|
||||||
|
-S) backupsuffix="$2"
|
||||||
|
shift;;
|
||||||
|
|
||||||
-t)
|
-t)
|
||||||
is_target_a_directory=always
|
is_target_a_directory=always
|
||||||
dst_arg=$2
|
dst_arg=$2
|
||||||
@@ -255,6 +275,10 @@ do
|
|||||||
dstdir=$dst
|
dstdir=$dst
|
||||||
test -d "$dstdir"
|
test -d "$dstdir"
|
||||||
dstdir_status=$?
|
dstdir_status=$?
|
||||||
|
# Don't chown directories that already exist.
|
||||||
|
if test $dstdir_status = 0; then
|
||||||
|
chowncmd=""
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
|
|
||||||
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
||||||
@@ -271,15 +295,18 @@ do
|
|||||||
fi
|
fi
|
||||||
dst=$dst_arg
|
dst=$dst_arg
|
||||||
|
|
||||||
# If destination is a directory, append the input filename; won't work
|
# If destination is a directory, append the input filename.
|
||||||
# if double slashes aren't ignored.
|
|
||||||
if test -d "$dst"; then
|
if test -d "$dst"; then
|
||||||
if test "$is_target_a_directory" = never; then
|
if test "$is_target_a_directory" = never; then
|
||||||
echo "$0: $dst_arg: Is a directory" >&2
|
echo "$0: $dst_arg: Is a directory" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
dstdir=$dst
|
dstdir=$dst
|
||||||
dst=$dstdir/`basename "$src"`
|
dstbase=`basename "$src"`
|
||||||
|
case $dst in
|
||||||
|
*/) dst=$dst$dstbase;;
|
||||||
|
*) dst=$dst/$dstbase;;
|
||||||
|
esac
|
||||||
dstdir_status=0
|
dstdir_status=0
|
||||||
else
|
else
|
||||||
dstdir=`dirname "$dst"`
|
dstdir=`dirname "$dst"`
|
||||||
@@ -288,27 +315,16 @@ do
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
case $dstdir in
|
||||||
|
*/) dstdirslash=$dstdir;;
|
||||||
|
*) dstdirslash=$dstdir/;;
|
||||||
|
esac
|
||||||
|
|
||||||
obsolete_mkdir_used=false
|
obsolete_mkdir_used=false
|
||||||
|
|
||||||
if test $dstdir_status != 0; then
|
if test $dstdir_status != 0; then
|
||||||
case $posix_mkdir in
|
case $posix_mkdir in
|
||||||
'')
|
'')
|
||||||
# Create intermediate dirs using mode 755 as modified by the umask.
|
|
||||||
# This is like FreeBSD 'install' as of 1997-10-28.
|
|
||||||
umask=`umask`
|
|
||||||
case $stripcmd.$umask in
|
|
||||||
# Optimize common cases.
|
|
||||||
*[2367][2367]) mkdir_umask=$umask;;
|
|
||||||
.*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
|
|
||||||
|
|
||||||
*[0-7])
|
|
||||||
mkdir_umask=`expr $umask + 22 \
|
|
||||||
- $umask % 100 % 40 + $umask % 20 \
|
|
||||||
- $umask % 10 % 4 + $umask % 2
|
|
||||||
`;;
|
|
||||||
*) mkdir_umask=$umask,go-w;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# With -d, create the new directory with the user-specified mode.
|
# With -d, create the new directory with the user-specified mode.
|
||||||
# Otherwise, rely on $mkdir_umask.
|
# Otherwise, rely on $mkdir_umask.
|
||||||
if test -n "$dir_arg"; then
|
if test -n "$dir_arg"; then
|
||||||
@@ -318,43 +334,49 @@ do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
posix_mkdir=false
|
posix_mkdir=false
|
||||||
case $umask in
|
# The $RANDOM variable is not portable (e.g., dash). Use it
|
||||||
*[123567][0-7][0-7])
|
# here however when possible just to lower collision chance.
|
||||||
# POSIX mkdir -p sets u+wx bits regardless of umask, which
|
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
|
||||||
# is incompatible with FreeBSD 'install' when (umask & 300) != 0.
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
|
|
||||||
trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
|
|
||||||
|
|
||||||
if (umask $mkdir_umask &&
|
trap '
|
||||||
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
|
ret=$?
|
||||||
then
|
rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null
|
||||||
if test -z "$dir_arg" || {
|
exit $ret
|
||||||
# Check for POSIX incompatibilities with -m.
|
' 0
|
||||||
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
|
|
||||||
# other-writable bit of parent directory when it shouldn't.
|
# Because "mkdir -p" follows existing symlinks and we likely work
|
||||||
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
|
# directly in world-writeable /tmp, make sure that the '$tmpdir'
|
||||||
ls_ld_tmpdir=`ls -ld "$tmpdir"`
|
# directory is successfully created first before we actually test
|
||||||
case $ls_ld_tmpdir in
|
# 'mkdir -p'.
|
||||||
d????-?r-*) different_mode=700;;
|
if (umask $mkdir_umask &&
|
||||||
d????-?--*) different_mode=755;;
|
$mkdirprog $mkdir_mode "$tmpdir" &&
|
||||||
*) false;;
|
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
|
||||||
esac &&
|
then
|
||||||
$mkdirprog -m$different_mode -p -- "$tmpdir" && {
|
if test -z "$dir_arg" || {
|
||||||
ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
|
# Check for POSIX incompatibilities with -m.
|
||||||
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
|
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
|
||||||
}
|
# other-writable bit of parent directory when it shouldn't.
|
||||||
}
|
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
|
||||||
then posix_mkdir=:
|
test_tmpdir="$tmpdir/a"
|
||||||
fi
|
ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
|
||||||
rmdir "$tmpdir/d" "$tmpdir"
|
case $ls_ld_tmpdir in
|
||||||
else
|
d????-?r-*) different_mode=700;;
|
||||||
# Remove any dirs left behind by ancient mkdir implementations.
|
d????-?--*) different_mode=755;;
|
||||||
rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
|
*) false;;
|
||||||
fi
|
esac &&
|
||||||
trap '' 0;;
|
$mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
|
||||||
esac;;
|
ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
|
||||||
|
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
then posix_mkdir=:
|
||||||
|
fi
|
||||||
|
rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
|
||||||
|
else
|
||||||
|
# Remove any dirs left behind by ancient mkdir implementations.
|
||||||
|
rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
|
||||||
|
fi
|
||||||
|
trap '' 0;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if
|
if
|
||||||
@@ -365,7 +387,7 @@ do
|
|||||||
then :
|
then :
|
||||||
else
|
else
|
||||||
|
|
||||||
# The umask is ridiculous, or mkdir does not conform to POSIX,
|
# mkdir does not conform to POSIX,
|
||||||
# or it failed possibly due to a race condition. Create the
|
# or it failed possibly due to a race condition. Create the
|
||||||
# directory the slow way, step by step, checking for races as we go.
|
# directory the slow way, step by step, checking for races as we go.
|
||||||
|
|
||||||
@@ -394,7 +416,7 @@ do
|
|||||||
prefixes=
|
prefixes=
|
||||||
else
|
else
|
||||||
if $posix_mkdir; then
|
if $posix_mkdir; then
|
||||||
(umask=$mkdir_umask &&
|
(umask $mkdir_umask &&
|
||||||
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
|
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
|
||||||
# Don't fail if two instances are running concurrently.
|
# Don't fail if two instances are running concurrently.
|
||||||
test -d "$prefix" || exit 1
|
test -d "$prefix" || exit 1
|
||||||
@@ -427,14 +449,25 @@ do
|
|||||||
else
|
else
|
||||||
|
|
||||||
# Make a couple of temp file names in the proper directory.
|
# Make a couple of temp file names in the proper directory.
|
||||||
dsttmp=$dstdir/_inst.$$_
|
dsttmp=${dstdirslash}_inst.$$_
|
||||||
rmtmp=$dstdir/_rm.$$_
|
rmtmp=${dstdirslash}_rm.$$_
|
||||||
|
|
||||||
# Trap to clean up those temp files at exit.
|
# Trap to clean up those temp files at exit.
|
||||||
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
||||||
|
|
||||||
# Copy the file name to the temp name.
|
# Copy the file name to the temp name.
|
||||||
(umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
|
(umask $cp_umask &&
|
||||||
|
{ test -z "$stripcmd" || {
|
||||||
|
# Create $dsttmp read-write so that cp doesn't create it read-only,
|
||||||
|
# which would cause strip to fail.
|
||||||
|
if test -z "$doit"; then
|
||||||
|
: >"$dsttmp" # No need to fork-exec 'touch'.
|
||||||
|
else
|
||||||
|
$doit touch "$dsttmp"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
} &&
|
||||||
|
$doit_exec $cpprog "$src" "$dsttmp") &&
|
||||||
|
|
||||||
# and set any options; do chmod last to preserve setuid bits.
|
# and set any options; do chmod last to preserve setuid bits.
|
||||||
#
|
#
|
||||||
@@ -460,6 +493,13 @@ do
|
|||||||
then
|
then
|
||||||
rm -f "$dsttmp"
|
rm -f "$dsttmp"
|
||||||
else
|
else
|
||||||
|
# If $backupsuffix is set, and the file being installed
|
||||||
|
# already exists, attempt a backup. Don't worry if it fails,
|
||||||
|
# e.g., if mv doesn't support -f.
|
||||||
|
if test -n "$backupsuffix" && test -f "$dst"; then
|
||||||
|
$doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
# Rename the file to the real destination.
|
# Rename the file to the real destination.
|
||||||
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
|
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
|
||||||
|
|
||||||
@@ -474,9 +514,9 @@ do
|
|||||||
# file should still install successfully.
|
# file should still install successfully.
|
||||||
{
|
{
|
||||||
test ! -f "$dst" ||
|
test ! -f "$dst" ||
|
||||||
$doit $rmcmd -f "$dst" 2>/dev/null ||
|
$doit $rmcmd "$dst" 2>/dev/null ||
|
||||||
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
|
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
|
||||||
{ $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
|
{ $doit $rmcmd "$rmtmp" 2>/dev/null; :; }
|
||||||
} ||
|
} ||
|
||||||
{ echo "$0: cannot unlink or rename $dst" >&2
|
{ echo "$0: cannot unlink or rename $dst" >&2
|
||||||
(exit 1); exit 1
|
(exit 1); exit 1
|
||||||
@@ -493,9 +533,9 @@ do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Local variables:
|
# Local variables:
|
||||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
# eval: (add-hook 'before-save-hook 'time-stamp)
|
||||||
# time-stamp-start: "scriptversion="
|
# time-stamp-start: "scriptversion="
|
||||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||||
# time-stamp-time-zone: "UTC"
|
# time-stamp-time-zone: "UTC0"
|
||||||
# time-stamp-end: "; # UTC"
|
# time-stamp-end: "; # UTC"
|
||||||
# End:
|
# End:
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
+574
-285
File diff suppressed because it is too large
Load Diff
@@ -2,7 +2,7 @@
|
|||||||
# FreeType 2 template for Unix-specific compiler definitions
|
# FreeType 2 template for Unix-specific compiler definitions
|
||||||
#
|
#
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
|
|||||||
|
src/tools/apinames -wV include/freetype/*.h > freetype_vms0.opt
|
||||||
|
mv freetype_vms0.opt freetype_vms.opt
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* VMS-specific configuration file (specification only).
|
* VMS-specific configuration file (specification only).
|
||||||
*
|
*
|
||||||
* Copyright (C) 1996-2022 by
|
* Copyright (C) 1996-2023 by
|
||||||
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
*
|
*
|
||||||
* This file is part of the FreeType project, and may only be used,
|
* This file is part of the FreeType project, and may only be used,
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
/* */
|
/* */
|
||||||
/* VMS-specific FreeType low-level system interface (body). */
|
/* VMS-specific FreeType low-level system interface (body). */
|
||||||
/* */
|
/* */
|
||||||
/* Copyright (C) 1996-2022 by */
|
/* Copyright (C) 1996-2023 by */
|
||||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||||
/* */
|
/* */
|
||||||
/* This file is part of the FreeType project, and may only be used, */
|
/* This file is part of the FreeType project, and may only be used, */
|
||||||
|
|||||||
@@ -1,28 +0,0 @@
|
|||||||
!
|
|
||||||
! This is a simple driver file with information used by make.com to
|
|
||||||
! check if external libraries (like t1lib and freetype) are available on
|
|
||||||
! the system.
|
|
||||||
!
|
|
||||||
! Layout of the file:
|
|
||||||
!
|
|
||||||
! - Lines starting with ! are treated as comments
|
|
||||||
! - Elements in a data line are separated by # signs
|
|
||||||
! - The elements need to be listed in the following order
|
|
||||||
! 1.) Name of the Library
|
|
||||||
! 2.) Location where the object library can be found
|
|
||||||
! 3.) Location where the include files for the library can be found
|
|
||||||
! 4.) Include file used to verify library location
|
|
||||||
! 5.) CPP define to pass to the build to indicate availability of
|
|
||||||
! the library
|
|
||||||
!
|
|
||||||
! Example: The following lines show how definitions
|
|
||||||
! might look like. They are site specific and the locations of the
|
|
||||||
! library and include files need almost certainly to be changed.
|
|
||||||
!
|
|
||||||
! Location: All of the libaries can be found at the following addresses
|
|
||||||
!
|
|
||||||
! ZLIB: http://www.decus.de:8080/www/vms/sw/zlib.htmlx
|
|
||||||
!
|
|
||||||
BZ2LIB # sys$library:libbz2.olb # decc$user_include: # bzlib.h # FT_CONFIG_OPTION_SYSTEM_ZLIB
|
|
||||||
PNGLIB # sys$library:libpng.olb # sys$library: # png.h # FT_CONFIG_OPTION_SYSTEM_ZLIB
|
|
||||||
ZLIB # sys$library:libz.olb # sys$library: # zlib.h # FT_CONFIG_OPTION_SYSTEM_ZLIB
|
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* Debugging and logging component for WinCE (body).
|
* Debugging and logging component for WinCE (body).
|
||||||
*
|
*
|
||||||
* Copyright (C) 1996-2022 by
|
* Copyright (C) 1996-2023 by
|
||||||
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
*
|
*
|
||||||
* This file is part of the FreeType project, and may only be used,
|
* This file is part of the FreeType project, and may only be used,
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ the following targets:
|
|||||||
<li>PPC/SP WM6 (Windows Mobile 6)</li>
|
<li>PPC/SP WM6 (Windows Mobile 6)</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
It compiles the following libraries from the FreeType 2.12.0 sources:</p>
|
It compiles the following libraries from the FreeType 2.13.2 sources:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<pre>
|
<pre>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ the following targets:
|
|||||||
<li>PPC/SP WM6 (Windows Mobile 6)</li>
|
<li>PPC/SP WM6 (Windows Mobile 6)</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
It compiles the following libraries from the FreeType 2.12.0 sources:</p>
|
It compiles the following libraries from the FreeType 2.13.2 sources:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<pre>
|
<pre>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* Debugging and logging component for Win32 (body).
|
* Debugging and logging component for Win32 (body).
|
||||||
*
|
*
|
||||||
* Copyright (C) 1996-2022 by
|
* Copyright (C) 1996-2023 by
|
||||||
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
*
|
*
|
||||||
* This file is part of the FreeType project, and may only be used,
|
* This file is part of the FreeType project, and may only be used,
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* Windows-specific FreeType low-level system interface (body).
|
* Windows-specific FreeType low-level system interface (body).
|
||||||
*
|
*
|
||||||
* Copyright (C) 2021-2022 by
|
* Copyright (C) 2021-2023 by
|
||||||
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
*
|
*
|
||||||
* This file is part of the FreeType project, and may only be used,
|
* This file is part of the FreeType project, and may only be used,
|
||||||
@@ -197,8 +197,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/* non-desktop Universal Windows Platform */
|
/* non-desktop Universal Windows Platform */
|
||||||
#if defined( WINAPI_FAMILY_PARTITION ) && \
|
#if defined( WINAPI_FAMILY ) && WINAPI_FAMILY != WINAPI_FAMILY_DESKTOP_APP
|
||||||
!WINAPI_FAMILY_PARTITION( WINAPI_PARTITION_DESKTOP )
|
|
||||||
|
|
||||||
#define PACK_DWORD64( hi, lo ) ( ( (DWORD64)(hi) << 32 ) | (DWORD)(lo) )
|
#define PACK_DWORD64( hi, lo ) ( ( (DWORD64)(hi) << 32 ) | (DWORD)(lo) )
|
||||||
|
|
||||||
|
|||||||
@@ -168,7 +168,7 @@
|
|||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Static|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Static|Win32'" Label="Configuration">
|
||||||
|
|
||||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
|
||||||
<CharacterSet>NotSet</CharacterSet>
|
<CharacterSet>NotSet</CharacterSet>
|
||||||
|
|
||||||
@@ -195,7 +195,7 @@
|
|||||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
|
||||||
<CharacterSet>NotSet</CharacterSet>
|
<CharacterSet>NotSet</CharacterSet>
|
||||||
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
|
||||||
@@ -248,7 +248,7 @@
|
|||||||
|
|
||||||
<OutDir>..\..\..\objs\$(Platform)\$(Configuration)\</OutDir>
|
<OutDir>..\..\..\objs\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
|
||||||
<IntDir>..\..\..\objs\$(Platform)\$(Configuration)\</IntDir>
|
<IntDir>..\..\..\objs\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
|
||||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
|
||||||
@@ -274,7 +274,7 @@
|
|||||||
|
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
|
||||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
|
||||||
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
||||||
|
|
||||||
@@ -328,7 +328,7 @@
|
|||||||
|
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
|
||||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
|
||||||
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
||||||
|
|
||||||
@@ -356,7 +356,7 @@
|
|||||||
|
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
|
|
||||||
<Link>
|
<Link>
|
||||||
|
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
|
||||||
@@ -409,7 +409,7 @@
|
|||||||
<Culture>0x0409</Culture>
|
<Culture>0x0409</Culture>
|
||||||
|
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
|
|
||||||
<Link>
|
<Link>
|
||||||
|
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
@@ -435,7 +435,7 @@
|
|||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;FT_DEBUG_LEVEL_ERROR;FT_DEBUG_LEVEL_TRACE;FT2_BUILD_LIBRARY;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;FT_DEBUG_LEVEL_ERROR;FT_DEBUG_LEVEL_TRACE;FT2_BUILD_LIBRARY;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
|
||||||
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<p>This directory contains solution and project files for
|
<p>This directory contains solution and project files for
|
||||||
Visual C++ 2010 or newer, named <tt>freetype.sln</tt>,
|
Visual C++ 2010 or newer, named <tt>freetype.sln</tt>,
|
||||||
and <tt>freetype.vcxproj</tt>. It compiles the following libraries
|
and <tt>freetype.vcxproj</tt>. It compiles the following libraries
|
||||||
from the FreeType 2.12.0 sources:</p>
|
from the FreeType 2.13.2 sources:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>freetype.dll using 'Release' or 'Debug' configurations</li>
|
<li>freetype.dll using 'Release' or 'Debug' configurations</li>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<p>This directory contains project files <tt>freetype.dsp</tt> for
|
<p>This directory contains project files <tt>freetype.dsp</tt> for
|
||||||
Visual C++ 6.0, and <tt>freetype.vcproj</tt> for Visual C++ 2002
|
Visual C++ 6.0, and <tt>freetype.vcproj</tt> for Visual C++ 2002
|
||||||
through 2008, which you might need to upgrade automatically.
|
through 2008, which you might need to upgrade automatically.
|
||||||
It compiles the following libraries from the FreeType 2.12.0 sources:</p>
|
It compiles the following libraries from the FreeType 2.13.2 sources:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>freetype.dll using 'Release' or 'Debug' configurations</li>
|
<li>freetype.dll using 'Release' or 'Debug' configurations</li>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ the following targets:
|
|||||||
<li>PPC/SP WM6 (Windows Mobile 6)</li>
|
<li>PPC/SP WM6 (Windows Mobile 6)</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
It compiles the following libraries from the FreeType 2.12.0 sources:</p>
|
It compiles the following libraries from the FreeType 2.13.2 sources:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<pre>
|
<pre>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2022 by
|
# Copyright (C) 1996-2023 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user